From 4263d508e1adeda02cb55a3023b327dda232be16 Mon Sep 17 00:00:00 2001 From: lamanufacturetech <99039195+lamanufacturetech@users.noreply.github.com> Date: Fri, 4 Feb 2022 18:28:34 +0100 Subject: [PATCH] 0.0.1 --- assets/js/binary.js | 18683 +++++++++++++++++++++--------------------- assets/version.txt | 2 +- pxt.json | 1 + 3 files changed, 9344 insertions(+), 9342 deletions(-) diff --git a/assets/js/binary.js b/assets/js/binary.js index 58d3f21..d94ff2c 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.7.24/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.0","target":"arcade","targetVersion":"1.7.24"} -// total=1534637 new=5.37% cached=89.26% other=5.37% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.7.24/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.1","target":"arcade","targetVersion":"1.7.24","repo":"lamanufacturetech/demo-xpressvideogame"} +// total=1541495 new=5.38% cached=89.25% other=5.38% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -472,7 +472,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P20699(s) { +function _main___P42132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -482,239 +482,239 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___3905 = (undefined); - globals._pollEventQueue___3914 = (undefined); - globals.minPriority___373 = (1); + globals._intervals___24628 = (undefined); + globals._pollEventQueue___24637 = (undefined); + globals.minPriority___21096 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P3917); - globals.listeners___3918 = (s.tmp_0); - globals.freqs___3967 = (_hex3966); - globals.globalVolume___3971 = (null); - globals.playToneID___3978 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1610_VT); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P24640); + globals.listeners___24641 = (s.tmp_0); + globals.freqs___24690 = (_hex24689); + globals.globalVolume___24694 = (null); + globals.playToneID___24701 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C22333_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1613_mk(s); + s.tmp_1 = music_Melody_constructor__P22336_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___1627 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1610_VT); + globals.wawawawaa___22350 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C22333_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1613_mk(s); + s.tmp_1 = music_Melody_constructor__P22336_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___1630 = (s.tmp_0); - globals.brightness___1748 = (100); + globals.powerUp___22353 = (s.tmp_0); + globals.brightness___22471 = (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", _hex7561); - globals.font8___1770 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex28284); + globals.font8___22493 = (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", _hex7949); - globals.font12___1771 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex28672); + globals.font12___22494 = (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", _hex15083); - globals.font5___1775 = (s.tmp_0); - globals.__updated___4027 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P4030); - r0 = pxsim_pxtcore.setPalette(_hex4041); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex35806); + globals.font5___22498 = (s.tmp_0); + globals.__updated___24750 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P24753); + r0 = pxsim_pxtcore.setPalette(_hex24764); r0 = pxsim.image.create(160, 120); - globals.screen___1827 = (r0); - s.tmp_0 = control___screen_setupUpdate__P1789_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P4048; + globals.screen___22550 = (r0); + s.tmp_0 = control___screen_setupUpdate__P22512_mk(s); + s.tmp_0.arg0 = _screen_internal_inline__P24771; s.callLocIdx = 4; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___396 = (_screen_internal_inline__P4053); - globals.RUN_KEY___4058 = ("#run"); - globals.SCOPE_KEY___4059 = ("#scope"); - s.tmp_0 = settings_initScopes__P4070_mk(s); + globals.control_EventContext_onStats___21119 = (_screen_internal_inline__P24776); + globals.RUN_KEY___24781 = ("#run"); + globals.SCOPE_KEY___24782 = ("#scope"); + s.tmp_0 = settings_initScopes__P24793_mk(s); s.callLocIdx = 5; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1971_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22694_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P1977_mk(s); + s.tmp_1 = controller_Button_constructor__P22700_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.A___1905 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1971_VT); + globals.A___22628 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22694_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P1977_mk(s); + s.tmp_1 = controller_Button_constructor__P22700_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.callLocIdx = 7; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - globals.B___1906 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1971_VT); + globals.B___22629 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22694_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P1977_mk(s); + s.tmp_1 = controller_Button_constructor__P22700_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.callLocIdx = 8; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.left___1907 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1971_VT); + globals.left___22630 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22694_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P1977_mk(s); + s.tmp_1 = controller_Button_constructor__P22700_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.callLocIdx = 9; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.up___1908 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1971_VT); + globals.up___22631 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22694_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P1977_mk(s); + s.tmp_1 = controller_Button_constructor__P22700_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.callLocIdx = 10; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.right___1909 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1971_VT); + globals.right___22632 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22694_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P1977_mk(s); + s.tmp_1 = controller_Button_constructor__P22700_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.callLocIdx = 11; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.down___1910 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1971_VT); + globals.down___22633 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22694_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P1977_mk(s); + s.tmp_1 = controller_Button_constructor__P22700_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.callLocIdx = 12; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.menu___1911 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C4099_VT); + globals.menu___22634 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C24822_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P1977_mk(s); + s.tmp_1 = controller_Button_constructor__P22700_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.callLocIdx = 13; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.anyButton___1958 = (s.tmp_0); - globals._userEventsEnabled___4110 = (true); - globals.defaultRepeatDelay___4112 = (500); - globals.defaultRepeatInterval___4114 = (30); - s.tmp_0 = SpriteKind_create__P2206_mk(s); + globals.anyButton___22681 = (s.tmp_0); + globals._userEventsEnabled___24833 = (true); + globals.defaultRepeatDelay___24835 = (500); + globals.defaultRepeatInterval___24837 = (30); + s.tmp_0 = SpriteKind_create__P22929_mk(s); s.callLocIdx = 14; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___2207 = (r0); - s.tmp_0 = SpriteKind_create__P2206_mk(s); + globals.Player___22930 = (r0); + s.tmp_0 = SpriteKind_create__P22929_mk(s); s.callLocIdx = 15; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___2209 = (r0); - s.tmp_0 = SpriteKind_create__P2206_mk(s); + globals.Food___22932 = (r0); + s.tmp_0 = SpriteKind_create__P22929_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___2210 = (r0); + globals.Enemy___22933 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___2248 = (r0); - globals.infoState___4170 = (undefined); - s.tmp_0 = game_addScenePushHandler__P2623_mk(s); - s.tmp_0.arg0 = info_inline__P4174; + globals.MIN_MOVE_GAP___22971 = (r0); + globals.infoState___24893 = (undefined); + s.tmp_0 = game_addScenePushHandler__P23346_mk(s); + s.tmp_0.arg0 = info_inline__P24897; s.callLocIdx = 18; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P2625_mk(s); - s.tmp_0.arg0 = info_inline__P4189; + s.tmp_0 = game_addScenePopHandler__P23348_mk(s); + s.tmp_0.arg0 = info_inline__P24912; s.callLocIdx = 22; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C2309_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C23032_VT); s.tmp_0 = r0; - s.tmp_1 = info_PlayerInfo_constructor__P2321_mk(s); + s.tmp_1 = info_PlayerInfo_constructor__P23044_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.callLocIdx = 23; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - globals.player1___2340 = (s.tmp_0); + globals.player1___23063 = (s.tmp_0); r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___2516 = (r0); - globals.debug___2605 = (false); - globals.stats___2606 = (false); - globals.winEffect___2607 = (undefined); - globals.loseEffect___2608 = (undefined); - globals.loseSound___4286 = (undefined); - globals.winSound___4288 = (undefined); - globals.__isOver___4296 = (false); - s.tmp_0 = scene_systemMenu_initVolume__P4555_mk(s); + globals.scene_Scene_initializers___23239 = (r0); + globals.debug___23328 = (false); + globals.stats___23329 = (false); + globals.winEffect___23330 = (undefined); + globals.loseEffect___23331 = (undefined); + globals.loseSound___25009 = (undefined); + globals.winSound___25011 = (undefined); + globals.__isOver___25019 = (false); + s.tmp_0 = scene_systemMenu_initVolume__P25278_mk(s); s.callLocIdx = 24; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P4556_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P25279_mk(s); s.callLocIdx = 25; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___2516, scene_systemMenu_register__P2711); - r0 = pxsim.image.ofBuffer(_hex4563); - globals.CARD_NORMAL___2716 = (r0); - r0 = pxsim.image.ofBuffer(_hex4565); - globals.CARD_SELECTED___2717 = (r0); - r0 = pxsim.image.ofBuffer(_hex4567); - globals.CARD_ACTIVE___2718 = (r0); - r0 = pxsim.image.ofBuffer(_hex4569); - globals.VOLUME_UP_ICON___2719 = (r0); - r0 = pxsim.image.ofBuffer(_hex4571); - globals.BRIGHTNESS_DOWN_ICON___2720 = (r0); - r0 = pxsim.image.ofBuffer(_hex4573); - globals.CLOSE_MENU_ICON___2721 = (r0); - r0 = pxsim.image.ofBuffer(_hex4575); - globals.VOLUME_DOWN_ICON___2722 = (r0); - r0 = pxsim.image.ofBuffer(_hex4577); - globals.SLEEP_ICON___2723 = (r0); - r0 = pxsim.image.ofBuffer(_hex4579); - globals.CONSOLE_ICON___2724 = (r0); - r0 = pxsim.image.ofBuffer(_hex4581); - globals.BRIGHTNESS_UP_ICON___2725 = (r0); - r0 = pxsim.image.ofBuffer(_hex4583); - globals.STATS_ICON___2726 = (r0); - globals.consoleColor___4586 = (1); - globals.tabSize___4589 = (8); - globals.consoleFont___4595 = (globals.font5___1775); - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___23239, scene_systemMenu_register__P23434); + r0 = pxsim.image.ofBuffer(_hex25286); + globals.CARD_NORMAL___23439 = (r0); + r0 = pxsim.image.ofBuffer(_hex25288); + globals.CARD_SELECTED___23440 = (r0); + r0 = pxsim.image.ofBuffer(_hex25290); + globals.CARD_ACTIVE___23441 = (r0); + r0 = pxsim.image.ofBuffer(_hex25292); + globals.VOLUME_UP_ICON___23442 = (r0); + r0 = pxsim.image.ofBuffer(_hex25294); + globals.BRIGHTNESS_DOWN_ICON___23443 = (r0); + r0 = pxsim.image.ofBuffer(_hex25296); + globals.CLOSE_MENU_ICON___23444 = (r0); + r0 = pxsim.image.ofBuffer(_hex25298); + globals.VOLUME_DOWN_ICON___23445 = (r0); + r0 = pxsim.image.ofBuffer(_hex25300); + globals.SLEEP_ICON___23446 = (r0); + r0 = pxsim.image.ofBuffer(_hex25302); + globals.CONSOLE_ICON___23447 = (r0); + r0 = pxsim.image.ofBuffer(_hex25304); + globals.BRIGHTNESS_UP_ICON___23448 = (r0); + r0 = pxsim.image.ofBuffer(_hex25306); + globals.STATS_ICON___23449 = (r0); + globals.consoleColor___25309 = (1); + globals.tabSize___25312 = (8); + globals.consoleFont___25318 = (globals.font5___22498); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___4595; + s.tmp_5.arg0 = globals.consoleFont___25318; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -733,13 +733,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___4600 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___1827); + globals.consoleLines___25323 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); 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___4595; + s.tmp_4.arg0 = globals.consoleFont___25318; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -754,22 +754,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___4610 = (r0); - s.tmp_0 = console_addListener__P381_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P4622; + globals.consoleColumns___25333 = (r0); + s.tmp_0 = console_addListener__P21104_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P25345; s.callLocIdx = 28; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P10235; + s.tmp_0.argL = MAX_SOURCES_inline__P30958; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 30; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - globals.MAX_SOURCES___4624 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C2796_VT); + globals.MAX_SOURCES___25347 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C23519_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P2797_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P23520_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -777,142 +777,142 @@ switch (step) { s.callLocIdx = 31; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - globals.defaultFactory___2776 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2664_VT); + globals.defaultFactory___23499 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C23387_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P2666_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P23389_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 32; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.galois___4644 = (s.tmp_0); - globals.angleSlice___4652 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C2871_VT); + globals.galois___25367 = (s.tmp_0); + globals.angleSlice___25375 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C23594_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P2872_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P23595_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__P9867; + s.tmp_1.arg4 = confetti_inline__P30590; s.callLocIdx = 38; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.confetti___2879 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C2867_VT); + globals.confetti___23602 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C23590_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ParticleEffect_constructor__P2868_mk(s); + s.tmp_1 = effects_ParticleEffect_constructor__P23591_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 50; s.tmp_1.arg2 = 5000; - s.tmp_1.arg3 = fire_inline__P14544; + s.tmp_1.arg3 = fire_inline__P35267; s.callLocIdx = 42; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.fire___2883 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C2894_VT); + globals.fire___23606 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C23617_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P2895_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P23618_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P14693; + s.tmp_1.arg2 = dissolve_inline__P35416; s.callLocIdx = 48; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.dissolve___2899 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C2894_VT); + globals.dissolve___23622 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C23617_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P2895_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P23618_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P9759; + s.tmp_1.arg2 = melt_inline__P30482; s.callLocIdx = 51; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.melt___2900 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P2610_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P1985; + globals.melt___23623 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P23333_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P22708; s.callLocIdx = 52; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = game_eventContext__P2612_mk(s); + s.tmp_0 = game_eventContext__P23335_mk(s); s.callLocIdx = 53; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - r0 = pxsim.image.ofBuffer(_hex6308); - globals.transparency16___3852 = (r0); - s.tmp_0 = helpers__registerFactory__P2935_mk(s); + r0 = pxsim.image.ofBuffer(_hex27031); + globals.transparency16___24575 = (r0); + s.tmp_0 = helpers__registerFactory__P23658_mk(s); s.tmp_0.arg0 = "tile"; - s.tmp_0.arg1 = myTiles_inline__P6312; + s.tmp_0.arg1 = myTiles_inline__P27035; s.callLocIdx = 55; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = sprites_onOverlap__P2185_mk(s); - s.tmp_0.arg0 = globals.Enemy___2210; - s.tmp_0.arg1 = globals.Food___2209; - s.tmp_0.arg2 = inline__P6322; + s.tmp_0 = sprites_onOverlap__P22908_mk(s); + s.tmp_0.arg0 = globals.Enemy___22933; + s.tmp_0.arg1 = globals.Food___22932; + s.tmp_0.arg2 = inline__P41892; s.callLocIdx = 57; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = sprites_onOverlap__P2185_mk(s); - s.tmp_0.arg0 = globals.Player___2207; - s.tmp_0.arg1 = globals.Food___2209; - s.tmp_0.arg2 = inline__P6331; + s.tmp_0 = sprites_onOverlap__P22908_mk(s); + s.tmp_0.arg0 = globals.Player___22930; + s.tmp_0.arg1 = globals.Food___22932; + s.tmp_0.arg2 = inline__P41901; s.callLocIdx = 60; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = sprites_onOverlap__P2185_mk(s); - s.tmp_0.arg0 = globals.Player___2207; - s.tmp_0.arg1 = globals.Enemy___2210; - s.tmp_0.arg2 = inline__P6363; + s.tmp_0 = sprites_onOverlap__P22908_mk(s); + s.tmp_0.arg0 = globals.Player___22930; + s.tmp_0.arg1 = globals.Enemy___22933; + s.tmp_0.arg2 = inline__P41936; s.callLocIdx = 69; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - globals.covid___3847 = (null); - globals.masque___3848 = (null); - globals.level___3849 = (1); - s.tmp_0 = sprites_create__P2043_mk(s); - r0 = pxsim.image.ofBuffer(_hex6379); + globals.covid___41947 = (null); + globals.masque___41949 = (null); + globals.level___41951 = (1); + s.tmp_0 = sprites_create__P22766_mk(s); + r0 = pxsim.image.ofBuffer(_hex41956); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.Player___2207; + s.tmp_0.arg1 = globals.Player___22930; s.callLocIdx = 70; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - globals.playette___3850 = (r0); - s.tmp_0 = controller_moveSprite__P1955_mk(s); - s.tmp_0.arg0 = globals.playette___3850; + globals.playette___41953 = (r0); + s.tmp_0 = controller_moveSprite__P22678_mk(s); + s.tmp_0.arg0 = globals.playette___41953; s.tmp_0.arg1 = 100; s.tmp_0.arg2 = 100; s.callLocIdx = 71; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = Sprite_setStayInScreen__P2156_mk(s); - s.tmp_0.arg0 = globals.playette___3850; + s.tmp_0 = Sprite_setStayInScreen__P22879_mk(s); + s.tmp_0.arg0 = globals.playette___41953; s.tmp_0.arg1 = true; s.callLocIdx = 72; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = initLevel__P3846_mk(s); - s.tmp_0.arg0 = globals.level___3849; + s.tmp_0 = initLevel__P41909_mk(s); + s.tmp_0.arg0 = globals.level___41951; s.callLocIdx = 73; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = game_onUpdate__P2628_mk(s); - s.tmp_0.arg0 = inline__P6388; + s.tmp_0 = game_onUpdate__P23351_mk(s); + s.tmp_0.arg0 = inline__P41965; s.callLocIdx = 76; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P2629_mk(s); + s.tmp_0 = game_onUpdateInterval__P23352_mk(s); s.tmp_0.arg0 = 1000; - s.tmp_0.arg1 = inline__P6399; + s.tmp_0.arg1 = inline__P41976; s.callLocIdx = 81; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P2629_mk(s); - r0 = (10000 / globals.level___3849); + s.tmp_0 = game_onUpdateInterval__P23352_mk(s); + r0 = (10000 / globals.level___41951); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P6417; + s.tmp_0.arg1 = inline__P41994; s.callLocIdx = 88; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; @@ -920,13 +920,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -_main___P20699.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -_main___P20699.continuations = [ ] +_main___P42132.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P42132.continuations = [ ] -function _main___P20699_mk(s) { +function _main___P42132_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P20699, depth: s.depth + 1, + parent: s, fn: _main___P42132, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -936,29 +936,29 @@ function _main___P20699_mk(s) { tmp_5: undefined, } } -const _hex3966 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") -const _hex7561 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex7949 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex15083 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex4041 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex4563 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex4565 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex4567 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex4569 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4571 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4573 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4575 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4577 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4579 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4581 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4583 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex6308 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex6379 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000000000f0000000000000ff6fff000000f0ff6666dfff0f001f66fff6dd3f0ff061f6dd3ff333ff5565ff3ffd3553ff5062dfddfd53330f5565dfddfd53330ff061ff3ffd3553fff016f6dd3ff333ff006f61fff6dd3f0f00f0ff6666dfff0f000000ff6fff000000000000f00000000000000000000000") +const _hex24689 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") +const _hex28284 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex28672 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex35806 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex24764 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex25286 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex25288 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex25290 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex25292 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex25294 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex25296 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex25298 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex25300 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex25302 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex25304 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex25306 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex27031 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex41956 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000000000f0000000000000ff6fff000000f0ff6666dfff0f001f66fff6dd3f0ff061f6dd3ff333ff5565ff3ffd3553ff5062dfddfd53330f5565dfddfd53330ff061ff3ffd3553fff016f6dd3ff333ff006f61fff6dd3f0f00f0ff6666dfff0f000000ff6fff000000000000f00000000000000000000000") -function control___screen_inline__P4030(s) { +function control___screen_inline__P24753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -971,23 +971,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___4027 = (false); - s.tmp_0 = pause__P411_mk(s); + globals.__updated___24750 = (false); + s.tmp_0 = pause__P21134_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___4027); + r0 = pxsim_numops_toBoolDecr(globals.__updated___24750); 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__P1788_mk(s); + s.tmp_2 = control___screen_update__P22511_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___4027 = (true); + globals.__updated___24750 = (true); case 2: case 3: { step = 1; continue; } @@ -996,12 +996,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P4030.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__P24753.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__P4030_mk(s) { +function control___screen_inline__P24753_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P4030, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P24753, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1012,7 +1012,7 @@ function control___screen_inline__P4030_mk(s) { -function _screen_internal_inline__P4048(s) { +function _screen_internal_inline__P24771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1022,17 +1022,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___1827); + r0 = pxsim_pxtcore.updateScreen(globals.screen___22550); r0 = undefined; return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4048.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +_screen_internal_inline__P24771.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function _screen_internal_inline__P4048_mk(s) { +function _screen_internal_inline__P24771_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4048, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P24771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1040,7 +1040,7 @@ function _screen_internal_inline__P4048_mk(s) { -function _screen_internal_inline__P4053(s) { +function _screen_internal_inline__P24776(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1059,12 +1059,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4053.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +_screen_internal_inline__P24776.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -function _screen_internal_inline__P4053_mk(s) { +function _screen_internal_inline__P24776_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4053, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P24776, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1073,7 +1073,7 @@ function _screen_internal_inline__P4053_mk(s) { -function info_inline__P4174(s) { +function info_inline__P24897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1087,36 +1087,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___4170); + r0 = pxsim_numops_toBoolDecr(globals.infoState___24893); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___4172); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___24895); 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___4172 = (r0); + globals.infoStateStack___24895 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___4170); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___24893); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___4172, s.tmp_0); - globals.infoState___4170 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___24895, s.tmp_0); + globals.infoState___24893 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P4174.info = {"start":1996,"length":259,"line":75,"column":29,"endLine":84,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +info_inline__P24897.info = {"start":1996,"length":259,"line":75,"column":29,"endLine":84,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function info_inline__P4174_mk(s) { +function info_inline__P24897_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4174, depth: s.depth + 1, + parent: s, fn: info_inline__P24897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1127,7 +1127,7 @@ function info_inline__P4174_mk(s) { -function info_inline__P4189(s) { +function info_inline__P24912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1137,30 +1137,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___4190 = undefined; - s.nextState___4199 = undefined; - s.tmp_0 = game_currentScene__P2609_mk(s); + s.scene___24913 = undefined; + s.nextState___24922 = undefined; + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 19; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___4190 = (r0); - globals.infoState___4170 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___4172; + s.scene___24913 = (r0); + globals.infoState___24893 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___24895; 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___4172); + r0 = pxsim_Array__length(globals.infoStateStack___24895); 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___4172); - s.nextState___4199 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___24895); + s.nextState___24922 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___4199; + s.tmp_2.arg0 = s.nextState___24922; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1172,12 +1172,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___4190); + r0 = (s.tmp_1 == s.scene___24913); 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___4199; + s.tmp_3.arg0 = s.nextState___24922; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1188,10 +1188,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___4170 = (r0); + globals.infoState___24893 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___4172, s.nextState___4199); + r0 = pxsim_Array__push(globals.infoStateStack___24895, s.nextState___24922); case 4: case 5: case 6: @@ -1199,26 +1199,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P4189.info = {"start":2287,"length":376,"line":86,"column":28,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P24912.info = {"start":2287,"length":376,"line":86,"column":28,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_inline__P4189_mk(s) { +function info_inline__P24912_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4189, depth: s.depth + 1, + parent: s, fn: info_inline__P24912, 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___4190: undefined, - nextState___4199: undefined, + scene___24913: undefined, + nextState___24922: undefined, } } -function myTiles_inline__P6312(s) { +function myTiles_inline__P27035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1232,7 +1232,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P123_mk(s); + s.tmp_1 = helpers_stringTrim__P20846_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 54; s.pc = 4; return s.tmp_1; case 4: @@ -1243,7 +1243,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.transparency16___3852; + r0 = globals.transparency16___24575; { step = 3; continue; } case 2: r0 = null; @@ -1251,12 +1251,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -myTiles_inline__P6312.info = {"start":206,"length":161,"line":5,"column":37,"endLine":10,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} +myTiles_inline__P27035.info = {"start":206,"length":161,"line":5,"column":37,"endLine":10,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} -function myTiles_inline__P6312_mk(s) { +function myTiles_inline__P27035_mk(s) { checkStack(s.depth); return { - parent: s, fn: myTiles_inline__P6312, depth: s.depth + 1, + parent: s, fn: myTiles_inline__P27035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1267,7 +1267,7 @@ function myTiles_inline__P6312_mk(s) { -function inline__P6322(s) { +function inline__P41892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1282,9 +1282,9 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_destroy__P2166_mk(s); + s.tmp_0 = Sprite_destroy__P22889_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = globals.fire___2883; + s.tmp_0.arg1 = globals.fire___23606; s.tmp_0.arg2 = 500; s.callLocIdx = 56; s.pc = 1; return s.tmp_0; case 1: @@ -1293,12 +1293,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6322.info = {"start":53,"length":77,"line":0,"column":53,"endLine":2,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","otherSprite"]} +inline__P41892.info = {"start":53,"length":77,"line":0,"column":53,"endLine":2,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","otherSprite"]} -function inline__P6322_mk(s) { +function inline__P41892_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6322, depth: s.depth + 1, + parent: s, fn: inline__P41892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1309,7 +1309,7 @@ function inline__P6322_mk(s) { -function inline__P6331(s) { +function inline__P41901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1324,12 +1324,12 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = info_changeScoreBy__P2290_mk(s); + s.tmp_0 = info_changeScoreBy__P23013_mk(s); s.tmp_0.arg0 = 5; s.callLocIdx = 58; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P2166_mk(s); + s.tmp_0 = Sprite_destroy__P22889_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; @@ -1340,12 +1340,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6331.info = {"start":186,"length":86,"line":3,"column":54,"endLine":6,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","otherSprite"]} +inline__P41901.info = {"start":186,"length":86,"line":3,"column":54,"endLine":6,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","otherSprite"]} -function inline__P6331_mk(s) { +function inline__P41901_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6331, depth: s.depth + 1, + parent: s, fn: inline__P41901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1356,7 +1356,7 @@ function inline__P6331_mk(s) { -function inline__P6363(s) { +function inline__P41936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1371,14 +1371,14 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_destroy__P2166_mk(s); + s.tmp_0 = Sprite_destroy__P22889_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 67; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = info_changeLifeBy__P2294_mk(s); + s.tmp_0 = info_changeLifeBy__P23017_mk(s); s.tmp_0.arg0 = -1; s.callLocIdx = 68; s.pc = 2; return s.tmp_0; case 2: @@ -1387,12 +1387,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6363.info = {"start":1160,"length":86,"line":30,"column":55,"endLine":33,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","otherSprite"]} +inline__P41936.info = {"start":1164,"length":86,"line":30,"column":55,"endLine":33,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","otherSprite"]} -function inline__P6363_mk(s) { +function inline__P41936_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6363, depth: s.depth + 1, + parent: s, fn: inline__P41936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1403,7 +1403,7 @@ function inline__P6363_mk(s) { -function inline__P6388(s) { +function inline__P41965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1413,7 +1413,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_2 = info_score__P2286_mk(s); + s.tmp_2 = info_score__P23009_mk(s); s.callLocIdx = 74; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -1422,10 +1422,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = (globals.level___3849 + 1); - globals.level___3849 = (r0); - s.tmp_0 = initLevel__P3846_mk(s); - s.tmp_0.arg0 = globals.level___3849; + r0 = (globals.level___41951 + 1); + globals.level___41951 = (r0); + s.tmp_0 = initLevel__P41909_mk(s); + s.tmp_0.arg0 = globals.level___41951; s.callLocIdx = 75; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -1435,12 +1435,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6388.info = {"start":2060,"length":95,"line":58,"column":14,"endLine":63,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P41965.info = {"start":2064,"length":95,"line":58,"column":14,"endLine":63,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P6388_mk(s) { +function inline__P41965_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6388, depth: s.depth + 1, + parent: s, fn: inline__P41965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1451,7 +1451,7 @@ function inline__P6388_mk(s) { -function inline__P6399(s) { +function inline__P41976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1461,21 +1461,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = sprites_create__P2043_mk(s); - r0 = pxsim.image.ofBuffer(_hex6403); + s.tmp_0 = sprites_create__P22766_mk(s); + r0 = pxsim.image.ofBuffer(_hex41980); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.Food___2209; + s.tmp_0.arg1 = globals.Food___22932; s.callLocIdx = 77; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - globals.masque___3848 = (r0); - s.tmp_0 = Sprite_setPosition__P2148_mk(s); - s.tmp_0.arg0 = globals.masque___3848; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + globals.masque___41949 = (r0); + s.tmp_0 = Sprite_setPosition__P22871_mk(s); + s.tmp_0.arg0 = globals.masque___41949; + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; r0 = pxsim.Math_.randomRange(0, s.tmp_1); s.tmp_0.arg1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_2 = r0; r0 = pxsim.Math_.randomRange(0, s.tmp_2); s.tmp_0.arg2 = r0; @@ -1486,24 +1486,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6399.info = {"start":2185,"length":576,"line":64,"column":28,"endLine":78,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P41976.info = {"start":2189,"length":576,"line":64,"column":28,"endLine":78,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P6399_mk(s) { +function inline__P41976_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6399, depth: s.depth + 1, + parent: s, fn: inline__P41976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, } } -const _hex6403 = pxsim.BufferMethods.createBufferFromHex("870410000a0000006066666600000000600000606600000060060000600000000099999966000000009996960000000000999696000000000099969600000000009996960000000000999696000000000099969600000000009996960000000000999696000000000099969600000000669999996600000006000000600000006666666666000000") +const _hex41980 = pxsim.BufferMethods.createBufferFromHex("870410000a0000006066666600000000600000606600000060060000600000000099999966000000009996960000000000999696000000000099969600000000009996960000000000999696000000000099969600000000009996960000000000999696000000000099969600000000669999996600000006000000600000006666666666000000") -function inline__P6417(s) { +function inline__P41994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1513,36 +1513,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = sprites_create__P2043_mk(s); - r0 = pxsim.image.ofBuffer(_hex6421); + s.tmp_0 = sprites_create__P22766_mk(s); + r0 = pxsim.image.ofBuffer(_hex41998); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.Enemy___2210; + s.tmp_0.arg1 = globals.Enemy___22933; s.callLocIdx = 82; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - globals.covid___3847 = (r0); - s.tmp_0 = Sprite_setVelocity__P2149_mk(s); - s.tmp_0.arg0 = globals.covid___3847; - r0 = (10 * globals.level___3849); + globals.covid___41947 = (r0); + s.tmp_0 = Sprite_setVelocity__P22872_mk(s); + s.tmp_0.arg0 = globals.covid___41947; + r0 = (10 * globals.level___41951); s.tmp_0.arg1 = r0; - r0 = (10 * globals.level___3849); + r0 = (10 * globals.level___41951); s.tmp_0.arg2 = r0; s.callLocIdx = 83; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_setBounceOnWall__P2157_mk(s); - s.tmp_0.arg0 = globals.covid___3847; + s.tmp_0 = Sprite_setBounceOnWall__P22880_mk(s); + s.tmp_0.arg0 = globals.covid___41947; s.tmp_0.arg1 = true; s.callLocIdx = 84; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_setPosition__P2148_mk(s); - s.tmp_0.arg0 = globals.covid___3847; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + s.tmp_0 = Sprite_setPosition__P22871_mk(s); + s.tmp_0.arg0 = globals.covid___41947; + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; r0 = pxsim.Math_.randomRange(0, s.tmp_1); s.tmp_0.arg1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_2 = r0; r0 = pxsim.Math_.randomRange(0, s.tmp_2); s.tmp_0.arg2 = r0; @@ -1553,24 +1553,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6417.info = {"start":2800,"length":899,"line":79,"column":37,"endLine":101,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P41994.info = {"start":2804,"length":899,"line":79,"column":37,"endLine":101,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P6417_mk(s) { +function inline__P41994_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6417, depth: s.depth + 1, + parent: s, fn: inline__P41994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, } } -const _hex6421 = pxsim.BufferMethods.createBufferFromHex("87041000100000007700000007000070700770777777000700777777767777000077777777777707007777777777770770777777777777077067667777677677706767777767767777676677777777777077777777777777707777777777677770777777777777070777777777777707007777667677770070707776767707070700706676070070") +const _hex41998 = pxsim.BufferMethods.createBufferFromHex("87041000100000007700000007000070700770777777000700777777767777000077777777777707007777777777770770777777777777077067667777677677706767777767767777676677777777777077777777777777707777777777677770777777777777070777777777777707007777667677770070707776767707070700706676070070") -function Sprite_setBounceOnWall__P2157(s) { +function Sprite_setBounceOnWall__P22880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1586,8 +1586,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P2158_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P22881_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 32; s.tmp_0.arg2 = s.arg1; @@ -1598,12 +1598,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setBounceOnWall__P2157.info = {"start":20545,"length":87,"line":667,"column":4,"endLine":669,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setBounceOnWall","argumentNames":["this","on"]} +Sprite_setBounceOnWall__P22880.info = {"start":20545,"length":87,"line":667,"column":4,"endLine":669,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setBounceOnWall","argumentNames":["this","on"]} -function Sprite_setBounceOnWall__P2157_mk(s) { +function Sprite_setBounceOnWall__P22880_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setBounceOnWall__P2157, depth: s.depth + 1, + parent: s, fn: Sprite_setBounceOnWall__P22880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1614,7 +1614,7 @@ function Sprite_setBounceOnWall__P2157_mk(s) { -function Sprite_setFlag__P2158(s) { +function Sprite_setFlag__P22881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1631,7 +1631,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -1657,12 +1657,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P2158.info = {"start":20884,"length":130,"line":679,"column":4,"endLine":682,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P22881.info = {"start":20884,"length":130,"line":679,"column":4,"endLine":682,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P2158_mk(s) { +function Sprite_setFlag__P22881_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P2158, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P22881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1678,7 +1678,7 @@ function Sprite_setFlag__P2158_mk(s) { -function Sprite_setVelocity__P2149(s) { +function Sprite_setVelocity__P22872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1695,14 +1695,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = Sprite_vx__P2106_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = Sprite_vx__P22829_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 345; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_vy__P2108_mk(s); + s.tmp_0 = Sprite_vy__P22831_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 346; s.pc = 2; return s.tmp_0; @@ -1712,12 +1712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setVelocity__P2149.info = {"start":12821,"length":93,"line":456,"column":4,"endLine":459,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setVelocity","argumentNames":["this","vx","vy"]} +Sprite_setVelocity__P22872.info = {"start":12821,"length":93,"line":456,"column":4,"endLine":459,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setVelocity","argumentNames":["this","vx","vy"]} -function Sprite_setVelocity__P2149_mk(s) { +function Sprite_setVelocity__P22872_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setVelocity__P2149, depth: s.depth + 1, + parent: s, fn: Sprite_setVelocity__P22872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1729,7 +1729,7 @@ function Sprite_setVelocity__P2149_mk(s) { -function Sprite_vy__P2108(s) { +function Sprite_vy__P22831(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1745,7 +1745,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -1756,12 +1756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P2108.info = {"start":2988,"length":51,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P22831.info = {"start":2988,"length":51,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P2108_mk(s) { +function Sprite_vy__P22831_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P2108, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P22831, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1774,7 +1774,7 @@ function Sprite_vy__P2108_mk(s) { -function Sprite_vy__P2107(s) { +function Sprite_vy__P22830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1789,20 +1789,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2107.info = {"start":2826,"length":60,"line":109,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P2107.isGetter = true; +Sprite_vy__P22830.info = {"start":2826,"length":60,"line":109,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P22830.isGetter = true; -function Sprite_vy__P2107_mk(s) { +function Sprite_vy__P22830_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P2107, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P22830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1812,7 +1812,7 @@ function Sprite_vy__P2107_mk(s) { -function Fx_toFloat__P171(s) { +function Fx_toFloat__P20894(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1830,12 +1830,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P171.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} +Fx_toFloat__P20894.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} -function Fx_toFloat__P171_mk(s) { +function Fx_toFloat__P20894_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P171, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P20894, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1844,7 +1844,7 @@ function Fx_toFloat__P171_mk(s) { -function Sprite_vx__P2106(s) { +function Sprite_vx__P22829(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1860,7 +1860,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -1871,12 +1871,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P2106.info = {"start":2657,"length":51,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P22829.info = {"start":2657,"length":51,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P2106_mk(s) { +function Sprite_vx__P22829_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P2106, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P22829, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1889,7 +1889,7 @@ function Sprite_vx__P2106_mk(s) { -function Sprite_vx__P2105(s) { +function Sprite_vx__P22828(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1904,20 +1904,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2105.info = {"start":2495,"length":60,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P2105.isGetter = true; +Sprite_vx__P22828.info = {"start":2495,"length":60,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P22828.isGetter = true; -function Sprite_vx__P2105_mk(s) { +function Sprite_vx__P22828_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P2105, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P22828, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1927,7 +1927,7 @@ function Sprite_vx__P2105_mk(s) { -function scene_screenHeight__P2533(s) { +function scene_screenHeight__P23256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1937,16 +1937,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); return leave(s, r0) default: oops() } } } -scene_screenHeight__P2533.info = {"start":876,"length":76,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"screenHeight","argumentNames":[]} +scene_screenHeight__P23256.info = {"start":876,"length":76,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"screenHeight","argumentNames":[]} -function scene_screenHeight__P2533_mk(s) { +function scene_screenHeight__P23256_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_screenHeight__P2533, depth: s.depth + 1, + parent: s, fn: scene_screenHeight__P23256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1954,7 +1954,7 @@ function scene_screenHeight__P2533_mk(s) { -function scene_screenWidth__P2532(s) { +function scene_screenWidth__P23255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1964,16 +1964,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); return leave(s, r0) default: oops() } } } -scene_screenWidth__P2532.info = {"start":604,"length":74,"line":30,"column":4,"endLine":32,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"screenWidth","argumentNames":[]} +scene_screenWidth__P23255.info = {"start":604,"length":74,"line":30,"column":4,"endLine":32,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"screenWidth","argumentNames":[]} -function scene_screenWidth__P2532_mk(s) { +function scene_screenWidth__P23255_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_screenWidth__P2532, depth: s.depth + 1, + parent: s, fn: scene_screenWidth__P23255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1981,7 +1981,7 @@ function scene_screenWidth__P2532_mk(s) { -function Sprite_setPosition__P2148(s) { +function Sprite_setPosition__P22871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1991,7 +1991,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___6503 = undefined; + s.physics___27226 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1999,18 +1999,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2609_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 340; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___6503 = (r0); - s.tmp_0 = PhysicsEngine__C2238_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___6503; + s.physics___27226 = (r0); + s.tmp_0 = PhysicsEngine__C22961_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___27226; s.tmp_0.arg1 = s.arg0; s.tmp_2 = r0 = s.arg1; - s.tmp_4 = Sprite_x__P2101_mk(s); + s.tmp_4 = Sprite_x__P22824_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 341; s.pc = 3; return s.tmp_4; case 3: @@ -2023,7 +2023,7 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_0.arg2 = r0; s.tmp_7 = r0 = s.arg2; - s.tmp_9 = Sprite_y__P2103_mk(s); + s.tmp_9 = Sprite_y__P22826_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 343; s.pc = 4; return s.tmp_9; case 4: @@ -2035,7 +2035,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_10 | 0); s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2238_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C22961_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: @@ -2044,12 +2044,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setPosition__P2148.info = {"start":12257,"length":220,"line":436,"column":4,"endLine":443,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} +Sprite_setPosition__P22871.info = {"start":12257,"length":220,"line":436,"column":4,"endLine":443,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} -function Sprite_setPosition__P2148_mk(s) { +function Sprite_setPosition__P22871_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setPosition__P2148, depth: s.depth + 1, + parent: s, fn: Sprite_setPosition__P22871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2062,7 +2062,7 @@ function Sprite_setPosition__P2148_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - physics___6503: undefined, + physics___27226: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2072,7 +2072,7 @@ function Sprite_setPosition__P2148_mk(s) { -function PhysicsEngine_moveSprite__P2242(s) { +function PhysicsEngine_moveSprite__P22965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2090,17 +2090,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2238_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C22961_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P2242.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__P22965.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__P2242_mk(s) { +function PhysicsEngine_moveSprite__P22965_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P2242, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P22965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -2112,7 +2112,7 @@ function PhysicsEngine_moveSprite__P2242_mk(s) { -function Sprite_y__P2103(s) { +function Sprite_y__P22826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2127,7 +2127,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -2142,13 +2142,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P2103.info = {"start":2132,"length":85,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P2103.isGetter = true; +Sprite_y__P22826.info = {"start":2132,"length":85,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P22826.isGetter = true; -function Sprite_y__P2103_mk(s) { +function Sprite_y__P22826_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P2103, depth: s.depth + 1, + parent: s, fn: Sprite_y__P22826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2162,7 +2162,7 @@ function Sprite_y__P2103_mk(s) { -function Sprite_x__P2101(s) { +function Sprite_x__P22824(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2177,7 +2177,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -2192,13 +2192,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P2101.info = {"start":1784,"length":84,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P2101.isGetter = true; +Sprite_x__P22824.info = {"start":1784,"length":84,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P22824.isGetter = true; -function Sprite_x__P2101_mk(s) { +function Sprite_x__P22824_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P2101, depth: s.depth + 1, + parent: s, fn: Sprite_x__P22824, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2212,7 +2212,7 @@ function Sprite_x__P2101_mk(s) { -function game_onUpdateInterval__P2629(s) { +function game_onUpdateInterval__P23352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2222,7 +2222,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___6551 = undefined; + s.timer___27274 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2247,15 +2247,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___6551 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___6551, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P6555); + s.timer___27274 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___27274, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P27278); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___6551); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___27274); 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__P401_mk(s); - s.tmp_2 = game_eventContext__P2612_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P21124_mk(s); + s.tmp_2 = game_eventContext__P23335_mk(s); s.callLocIdx = 1110; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -2270,17 +2270,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P2629.info = {"start":891,"length":401,"line":28,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +game_onUpdateInterval__P23352.info = {"start":891,"length":401,"line":28,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -function game_onUpdateInterval__P2629_mk(s) { +function game_onUpdateInterval__P23352_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P2629, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P23352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___6551: undefined, + timer___27274: undefined, arg0: undefined, arg1: undefined, } } @@ -2289,7 +2289,7 @@ function game_onUpdateInterval__P2629_mk(s) { -function game_onUpdateInterval_inline__P6555(s) { +function game_onUpdateInterval_inline__P27278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2299,22 +2299,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___6556 = undefined; - s.tmp_1 = game_currentScene__P2609_mk(s); + s.time___27279 = undefined; + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 1111; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___6556 = (r0); + s.time___27279 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___6556); + r0 = (s.tmp_1 <= s.time___27279); 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___6556 + s.caps[1]); + r0 = (s.time___27279 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -2329,25 +2329,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P6555.info = {"start":1105,"length":179,"line":31,"column":81,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} +game_onUpdateInterval_inline__P27278.info = {"start":1105,"length":179,"line":31,"column":81,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} -function game_onUpdateInterval_inline__P6555_mk(s) { +function game_onUpdateInterval_inline__P27278_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P6555, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P27278, 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___6556: undefined, + time___27279: undefined, } } -function scene_Scene_millis__P2520(s) { +function scene_Scene_millis__P23243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2362,17 +2362,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2496_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C23219_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P2520.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P23243.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function scene_Scene_millis__P2520_mk(s) { +function scene_Scene_millis__P23243_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P2520, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P23243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -2381,7 +2381,7 @@ function scene_Scene_millis__P2520_mk(s) { -function control_EventContext_registerFrameHandler__P401(s) { +function control_EventContext_registerFrameHandler__P21124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2391,8 +2391,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___6583 = undefined; - s.i___6592 = undefined; + s.fn___27306 = undefined; + s.i___27315 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2400,7 +2400,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C21116_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -2413,20 +2413,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__P3938_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P24661_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 56; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C390_VT); - s.fn___6583 = (r0); - r0 = (s.fn___6583).fields["order"] = (s.arg1); - r0 = (s.fn___6583).fields["handler"] = (s.arg2); - s.i___6592 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C21113_VT); + s.fn___27306 = (r0); + r0 = (s.fn___27306).fields["order"] = (s.arg1); + r0 = (s.fn___27306).fields["handler"] = (s.arg2); + s.i___27315 = (0); case 3: - s.tmp_1 = r0 = s.i___6592; + s.tmp_1 = r0 = s.i___27315; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -2437,7 +2437,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___6592); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___27315); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -2446,29 +2446,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___6592, s.fn___6583); - r0 = s.fn___6583; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___27315, s.fn___27306); + r0 = s.fn___27306; { step = 7; continue; } case 4: case 5: - r0 = (s.i___6592 + 1); - s.i___6592 = (r0); + r0 = (s.i___27315 + 1); + s.i___27315 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___6583); - r0 = s.fn___6583; + r0 = pxsim_Array__push(s.tmp_0, s.fn___27306); + r0 = s.fn___27306; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P401.info = {"start":4675,"length":643,"line":143,"column":8,"endLine":160,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P21124.info = {"start":4675,"length":643,"line":143,"column":8,"endLine":160,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -function control_EventContext_registerFrameHandler__P401_mk(s) { +function control_EventContext_registerFrameHandler__P21124_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P401, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P21124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2478,8 +2478,8 @@ function control_EventContext_registerFrameHandler__P401_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___6583: undefined, - i___6592: undefined, + fn___27306: undefined, + i___27315: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2489,7 +2489,7 @@ function control_EventContext_registerFrameHandler__P401_mk(s) { -function control_EventContext_registerFrameCallbacks__P3938(s) { +function control_EventContext_registerFrameCallbacks__P24661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2499,13 +2499,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___6626 = undefined; + s.worker___27349 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C21116_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -2518,28 +2518,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___6626 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P6632); + s.worker___27349 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P27355); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___6626); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___27349); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P3938.info = {"start":3481,"length":895,"line":105,"column":8,"endLine":129,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P24661.info = {"start":3481,"length":895,"line":105,"column":8,"endLine":129,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -function control_EventContext_registerFrameCallbacks__P3938_mk(s) { +function control_EventContext_registerFrameCallbacks__P24661_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P3938, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P24661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___6626: undefined, + worker___27349: undefined, arg0: undefined, } } @@ -2547,7 +2547,7 @@ function control_EventContext_registerFrameCallbacks__P3938_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P6632(s) { +function control_EventContext_registerFrameCallbacks_inline__P27355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2557,15 +2557,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___6662 = undefined; + s.delay___27385 = 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__P6638); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P27361); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P365_mk(s); + s.tmp_2 = pauseUntil__P21088_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 50; s.pc = 5; return s.tmp_2; @@ -2588,14 +2588,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__P3937_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P24660_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 51; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___6662 = (r0); - s.tmp_0 = pause__P411_mk(s); - s.tmp_0.arg0 = s.delay___6662; + s.delay___27385 = (r0); + s.tmp_0 = pause__P21134_mk(s); + s.tmp_0.arg0 = s.delay___27385; s.callLocIdx = 52; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -2606,24 +2606,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P6632.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P27355.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P6632_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P27355_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P6632, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P27355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___6662: undefined, + delay___27385: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P6638(s) { +function control_EventContext_registerFrameCallbacks_inline__P27361(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2641,12 +2641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P6638.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P27361.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P6638_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P27361_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P6638, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P27361, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2656,7 +2656,7 @@ function control_EventContext_registerFrameCallbacks_inline__P6638_mk(s) { -function control_EventContext_runCallbacks__P3937(s) { +function control_EventContext_runCallbacks__P24660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2666,42 +2666,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___6671 = undefined; - s.f___6684 = undefined; - s.unnamed48___U2 = undefined; - s.unnamed49___U3 = undefined; - s.runtime___6689 = undefined; - s.fps___6709 = undefined; - s.delay___6771 = undefined; + s.loopStart___27394 = undefined; + s.f___27407 = undefined; + s.unnamed128___U2 = undefined; + s.unnamed129___U3 = undefined; + s.runtime___27412 = undefined; + s.fps___27432 = undefined; + s.delay___27494 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C21116_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___6671 = (r0); + s.loopStart___27394 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___6671 - s.tmp_2); + r0 = (s.loopStart___27394 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___6671); - s.f___6684 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___27394); + s.f___27407 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed48___U2 = (r0); - s.unnamed49___U3 = (0); + s.unnamed128___U2 = (r0); + s.unnamed129___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed49___U3; - r0 = pxsim_Array__length(s.unnamed48___U2); + s.tmp_0 = r0 = s.unnamed129___U3; + r0 = pxsim_Array__length(s.unnamed128___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed48___U2, s.unnamed49___U3); - s.f___6684 = (r0); + r0 = pxsim_Array__getAt(s.unnamed128___U2, s.unnamed129___U3); + s.f___27407 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___6684; + s.tmp_2.arg0 = s.f___27407; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 47; s.pc = 13; return s.tmp_2; @@ -2713,19 +2713,19 @@ switch (step) { } case 13: r0 = s.retval; - r0 = (s.unnamed49___U3 + 1); - s.unnamed49___U3 = (r0); + r0 = (s.unnamed129___U3 + 1); + s.unnamed129___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed48___U2 = (undefined); + s.unnamed128___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___6671); - s.runtime___6689 = (r0); + r0 = (s.tmp_0 - s.loopStart___27394); + s.runtime___27412 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___6689); + r0 = (s.tmp_2 + s.runtime___27412); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -2758,8 +2758,8 @@ switch (step) { r0 = (s.tmp_6 / 1000); s.tmp_5 = r0; r0 = (s.tmp_4 / s.tmp_5); - s.fps___6709 = (r0); - r0 = pxsim.Math_.round(s.fps___6709); + s.fps___27432 = (r0); + r0 = pxsim.Math_.round(s.fps___27432); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 14); @@ -2771,21 +2771,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___395 = (r0); - r0 = (s.fps___6709 < 99); + globals.control_EventContext_lastStats___21118 = (r0); + r0 = (s.fps___27432 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___395) && (globals.control_EventContext_lastStats___395).vtable) { + if ((globals.control_EventContext_lastStats___21118) && (globals.control_EventContext_lastStats___21118).vtable) { setupResume(s, 15); - pxsim_String__stringConv(globals.control_EventContext_lastStats___395); + pxsim_String__stringConv(globals.control_EventContext_lastStats___21118); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___395) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___21118) + ""; } case 15: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___6709 * 10); + r0 = (s.fps___27432 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -2812,10 +2812,10 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___395 = (r0); + globals.control_EventContext_lastStats___21118 = (r0); case 5: case 6: - s.tmp_2 = control_ramSize__P344_mk(s); + s.tmp_2 = control_ramSize__P21067_mk(s); s.callLocIdx = 48; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; @@ -2835,7 +2835,7 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_8 = r0; - r0 = (s.fps___6709 * 100); + r0 = (s.fps___27432 * 100); s.tmp_11 = r0; r0 = (s.tmp_11 | 0); s.tmp_10 = r0; @@ -2876,24 +2876,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 11: case 12: - s.tmp_0 = Math_max__P130_mk(s); + s.tmp_0 = Math_max__P20853_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___6689); + r0 = (20 - s.runtime___27412); s.tmp_0.arg1 = r0; s.callLocIdx = 49; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.delay___6771 = (r0); - r0 = s.delay___6771; + s.delay___27494 = (r0); + r0 = s.delay___27494; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P3937.info = {"start":2182,"length":1246,"line":74,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P24660.info = {"start":2182,"length":1246,"line":74,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_EventContext_runCallbacks__P3937_mk(s) { +function control_EventContext_runCallbacks__P24660_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P3937, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P24660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2909,13 +2909,13 @@ function control_EventContext_runCallbacks__P3937_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - loopStart___6671: undefined, - f___6684: undefined, - unnamed48___U2: undefined, - unnamed49___U3: undefined, - runtime___6689: undefined, - fps___6709: undefined, - delay___6771: undefined, + loopStart___27394: undefined, + f___27407: undefined, + unnamed128___U2: undefined, + unnamed129___U3: undefined, + runtime___27412: undefined, + fps___27432: undefined, + delay___27494: undefined, arg0: undefined, } } @@ -2923,7 +2923,7 @@ function control_EventContext_runCallbacks__P3937_mk(s) { -function control_ramSize__P344(s) { +function control_ramSize__P21067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2948,12 +2948,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P344.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P21067.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__P344_mk(s) { +function control_ramSize__P21067_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P344, depth: s.depth + 1, + parent: s, fn: control_ramSize__P21067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2963,7 +2963,7 @@ function control_ramSize__P344_mk(s) { -function control__ramSize__P3903(s) { +function control__ramSize__P24626(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2977,12 +2977,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P3903.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P24626.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__P3903_mk(s) { +function control__ramSize__P24626_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P3903, depth: s.depth + 1, + parent: s, fn: control__ramSize__P24626, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -2990,7 +2990,7 @@ function control__ramSize__P3903_mk(s) { -function Math_max__P130(s) { +function Math_max__P20853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3018,12 +3018,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P130.info = {"start":16564,"length":105,"line":556,"column":4,"endLine":559,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P20853.info = {"start":16564,"length":105,"line":556,"column":4,"endLine":559,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function Math_max__P130_mk(s) { +function Math_max__P20853_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P130, depth: s.depth + 1, + parent: s, fn: Math_max__P20853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3034,7 +3034,7 @@ function Math_max__P130_mk(s) { -function pauseUntil__P365(s) { +function pauseUntil__P21088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3081,7 +3081,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P364_mk(s); + s.tmp_0 = control___queuePollEvent__P21087_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -3093,12 +3093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P365.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__P21088.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__P365_mk(s) { +function pauseUntil__P21088_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P365, depth: s.depth + 1, + parent: s, fn: pauseUntil__P21088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3114,7 +3114,7 @@ function pauseUntil__P365_mk(s) { -function control___queuePollEvent__P364(s) { +function control___queuePollEvent__P21087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3124,16 +3124,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___6810 = undefined; + s.ev___27533 = 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__C3911_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C24634_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P3912_mk(s); + s.tmp_1 = control_PollEvent_constructor__P24635_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -3149,8 +3149,8 @@ switch (step) { s.callLocIdx = 32; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___6810 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___3914); + s.ev___27533 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___24637); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3158,19 +3158,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___6810); - globals._pollEventQueue___3914 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P3915); + r0 = pxsim_Array__push(s.tmp_2, s.ev___27533); + globals._pollEventQueue___24637 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P24638); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___3914, s.ev___6810); + r0 = pxsim_Array__push(globals._pollEventQueue___24637, s.ev___27533); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P389_mk(s); - r0 = s.ev___6810.fields["eid"]; + s.tmp_0 = control_onEvent__P21112_mk(s); + r0 = s.ev___27533.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___6810.fields["vid"]; + r0 = s.ev___27533.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -3179,9 +3179,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___6810.fields["eid"]; + r0 = s.ev___27533.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___6810.fields["vid"]; + r0 = s.ev___27533.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -3194,17 +3194,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P364.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__P21087.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__P364_mk(s) { +function control___queuePollEvent__P21087_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P364, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P21087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___6810: undefined, + ev___27533: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3214,7 +3214,7 @@ function control___queuePollEvent__P364_mk(s) { -function control_pollEvents__P3915(s) { +function control_pollEvents__P24638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3224,31 +3224,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___6937 = undefined; - s.i___6940 = undefined; - s.ev___6946 = undefined; + s.now___27660 = undefined; + s.i___27663 = undefined; + s.ev___27669 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___3914); + r0 = pxsim_Array__length(globals._pollEventQueue___24637); 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___6937 = (r0); - s.i___6940 = (0); + s.now___27660 = (r0); + s.i___27663 = (0); case 2: - s.tmp_1 = r0 = s.i___6940; - r0 = pxsim_Array__length(globals._pollEventQueue___3914); + s.tmp_1 = r0 = s.i___27663; + r0 = pxsim_Array__length(globals._pollEventQueue___24637); 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___3914, s.i___6940); - s.ev___6946 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___24637, s.i___27663); + s.ev___27669 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___6946; + s.tmp_1.arg0 = s.ev___27669; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 29; s.pc = 13; return s.tmp_1; @@ -3266,7 +3266,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___6946.fields["timeOut"]; + r0 = s.ev___27669.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -3275,11 +3275,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___6946.fields["start"]; + r0 = s.ev___27669.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___6937 - s.tmp_5); + r0 = (s.now___27660 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___6946.fields["timeOut"]; + r0 = s.ev___27669.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -3291,50 +3291,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___6946.fields["eid"]; + r0 = s.ev___27669.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___6946.fields["vid"]; + r0 = s.ev___27669.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___6946.fields["once"]; + r0 = s.ev___27669.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P100_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___3914; - s.tmp_1.arg1 = s.i___6940; + s.tmp_1 = helpers_arraySplice__P20823_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___24637; + s.tmp_1.arg1 = s.i___27663; s.tmp_1.arg2 = 1; s.callLocIdx = 30; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___6940 - 1); - s.i___6940 = (r0); + r0 = (s.i___27663 - 1); + s.i___27663 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___6940 + 1); - s.i___6940 = (r0); + r0 = (s.i___27663 + 1); + s.i___27663 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P411_mk(s); + s.tmp_0 = pause__P21134_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 31; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___3914 = (undefined); + globals._pollEventQueue___24637 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P3915.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P24638.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__P3915_mk(s) { +function control_pollEvents__P24638_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P3915, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P24638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3347,16 +3347,16 @@ function control_pollEvents__P3915_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___6937: undefined, - i___6940: undefined, - ev___6946: undefined, + now___27660: undefined, + i___27663: undefined, + ev___27669: undefined, } } -function helpers_arraySplice__P100(s) { +function helpers_arraySplice__P20823(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3366,7 +3366,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___6994 = undefined; + s.i___27717 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3380,15 +3380,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___6994 = (0); + s.i___27717 = (0); case 3: - r0 = (s.i___6994 < s.arg2); + r0 = (s.i___27717 < 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___6994 + 1); - s.i___6994 = (r0); + r0 = (s.i___27717 + 1); + s.i___27717 = (r0); { step = 3; continue; } case 4: case 5: @@ -3396,15 +3396,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P100.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} +helpers_arraySplice__P20823.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} -function helpers_arraySplice__P100_mk(s) { +function helpers_arraySplice__P20823_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P100, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P20823, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___6994: undefined, + i___27717: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3414,7 +3414,7 @@ function helpers_arraySplice__P100_mk(s) { -function control_PollEvent_constructor__P3912(s) { +function control_PollEvent_constructor__P24635(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3435,7 +3435,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C3911_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C24634_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -3446,12 +3446,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P3912.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__P24635.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__P3912_mk(s) { +function control_PollEvent_constructor__P24635_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P3912, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P24635, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3466,7 +3466,7 @@ function control_PollEvent_constructor__P3912_mk(s) { -function control_onEvent__P389(s) { +function control_onEvent__P21112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3476,7 +3476,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___6853 = undefined; + s.ctx___27576 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3484,12 +3484,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P406_mk(s); + s.tmp_0 = control_eventContext__P21129_mk(s); s.callLocIdx = 44; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___6853 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___6853); + s.ctx___27576 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___27576); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3498,8 +3498,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__P403_mk(s); - s.tmp_0.arg0 = s.ctx___6853; + s.tmp_0 = control_EventContext_registerHandler__P21126_mk(s); + s.tmp_0.arg0 = s.ctx___27576; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -3512,16 +3512,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P389.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__P21112.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__P389_mk(s) { +function control_onEvent__P21112_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P389, depth: s.depth + 1, + parent: s, fn: control_onEvent__P21112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___6853: undefined, + ctx___27576: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3532,7 +3532,7 @@ function control_onEvent__P389_mk(s) { -function control_eventContext__P406(s) { +function control_eventContext__P21129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3542,10 +3542,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3940); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___24663); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___3940; - r0 = pxsim_Array__length(globals.eventContexts___3940); + s.tmp_0 = r0 = globals.eventContexts___24663; + r0 = pxsim_Array__length(globals.eventContexts___24663); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -3560,12 +3560,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P406.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P21129.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P406_mk(s) { +function control_eventContext__P21129_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P406, depth: s.depth + 1, + parent: s, fn: control_eventContext__P21129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3577,7 +3577,7 @@ function control_eventContext__P406_mk(s) { -function control_EventContext_registerHandler__P403(s) { +function control_EventContext_registerHandler__P21126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3587,10 +3587,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___6876 = undefined; - s.unnamed54___U1 = undefined; - s.unnamed55___U2 = undefined; - s.hn___6899 = undefined; + s.h___27599 = undefined; + s.unnamed134___U1 = undefined; + s.unnamed135___U2 = undefined; + s.hn___27622 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3600,20 +3600,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); - s.h___6876 = (undefined); + if (!checkSubtype(r0, control_EventContext__C21116_VT)) failedCast(r0); + s.h___27599 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed54___U1 = (r0); - s.unnamed55___U2 = (0); + s.unnamed134___U1 = (r0); + s.unnamed135___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed55___U2; - r0 = pxsim_Array__length(s.unnamed54___U1); + s.tmp_0 = r0 = s.unnamed135___U2; + r0 = pxsim_Array__length(s.unnamed134___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed54___U1, s.unnamed55___U2); - s.h___6876 = (r0); - r0 = s.h___6876.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed134___U1, s.unnamed135___U2); + s.h___27599 = (r0); + r0 = s.h___27599.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -3622,7 +3622,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___6876.fields["value"]; + r0 = s.h___27599.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -3630,19 +3630,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___6876).fields["flags"] = (s.arg4); - r0 = (s.h___6876).fields["handler"] = (s.arg3); + r0 = (s.h___27599).fields["flags"] = (s.arg4); + r0 = (s.h___27599).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed55___U2 + 1); - s.unnamed55___U2 = (r0); + r0 = (s.unnamed135___U2 + 1); + s.unnamed135___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed54___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C3932_VT); + s.unnamed134___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C24655_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P3935_mk(s); + s.tmp_1 = control_EventHandler_constructor__P24658_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -3651,12 +3651,12 @@ switch (step) { s.callLocIdx = 57; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___6899 = (s.tmp_0); + s.hn___27622 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___6899); - s.tmp_0 = control_EventHandler_register__P3933_mk(s); - s.tmp_0.arg0 = s.hn___6899; + r0 = pxsim_Array__push(s.tmp_0, s.hn___27622); + s.tmp_0 = control_EventHandler_register__P24656_mk(s); + s.tmp_0.arg0 = s.hn___27622; s.callLocIdx = 58; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -3665,12 +3665,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P403.info = {"start":5573,"length":525,"line":169,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P21126.info = {"start":5573,"length":525,"line":169,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function control_EventContext_registerHandler__P403_mk(s) { +function control_EventContext_registerHandler__P21126_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P403, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P21126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3678,10 +3678,10 @@ function control_EventContext_registerHandler__P403_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___6876: undefined, - unnamed54___U1: undefined, - unnamed55___U2: undefined, - hn___6899: undefined, + h___27599: undefined, + unnamed134___U1: undefined, + unnamed135___U2: undefined, + hn___27622: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3693,7 +3693,7 @@ function control_EventContext_registerHandler__P403_mk(s) { -function control_EventHandler_constructor__P3935(s) { +function control_EventHandler_constructor__P24658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3712,7 +3712,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C3932_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C24655_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -3721,12 +3721,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P3935.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__P24658.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__P3935_mk(s) { +function control_EventHandler_constructor__P24658_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P3935, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P24658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3739,7 +3739,7 @@ function control_EventHandler_constructor__P3935_mk(s) { -function control_EventHandler_register__P3933(s) { +function control_EventHandler_register__P24656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3754,8 +3754,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C3932_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P6920); + if (!checkSubtype(r0, control_EventHandler__C24655_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P27643); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -3769,12 +3769,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P3933.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__P24656.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__P3933_mk(s) { +function control_EventHandler_register__P24656_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P3933, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P24656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3787,7 +3787,7 @@ function control_EventHandler_register__P3933_mk(s) { -function control_EventHandler_register_inline__P6920(s) { +function control_EventHandler_register_inline__P27643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3820,12 +3820,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P6920.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__P27643.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__P6920_mk(s) { +function control_EventHandler_register_inline__P27643_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P6920, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P27643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3835,7 +3835,7 @@ function control_EventHandler_register_inline__P6920_mk(s) { -function info_score__P2286(s) { +function info_score__P23009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3845,20 +3845,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = info_PlayerInfo_score__P2324_mk(s); - s.tmp_0.arg0 = globals.player1___2340; + s.tmp_0 = info_PlayerInfo_score__P23047_mk(s); + s.tmp_0.arg0 = globals.player1___23063; s.callLocIdx = 762; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -info_score__P2286.info = {"start":6818,"length":63,"line":225,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":[]} +info_score__P23009.info = {"start":6818,"length":63,"line":225,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":[]} -function info_score__P2286_mk(s) { +function info_score__P23009_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_score__P2286, depth: s.depth + 1, + parent: s, fn: info_score__P23009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3867,7 +3867,7 @@ function info_score__P2286_mk(s) { -function info_PlayerInfo_constructor__P2321(s) { +function info_PlayerInfo_constructor__P23044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3883,7 +3883,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); r0 = (s.arg0).fields["_player"] = (s.arg1); r0 = (s.arg0).fields["border"] = (1); r0 = (s.arg0).fields["fc"] = (1); @@ -3899,7 +3899,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } @@ -3919,7 +3919,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 4; continue; } @@ -3932,7 +3932,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; r0 = (s.tmp_0).fields["x"] = (s.tmp_1); r0 = (s.arg0).fields["y"] = (0); @@ -3943,7 +3943,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } @@ -3957,13 +3957,13 @@ switch (step) { r0 = (s.arg0).fields["bg"] = (s.tmp_2); r0 = (s.arg0).fields["x"] = (0); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["up"] = (true); { step = 12; continue; } case 9: - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -3976,11 +3976,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); 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___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["left"] = (true); @@ -3988,17 +3988,17 @@ switch (step) { case 12: case 13: case 14: - r0 = pxsim_numops_toBoolDecr(globals.players___4171); + r0 = pxsim_numops_toBoolDecr(globals.players___24894); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } r0 = pxsim_Array__mk(); - globals.players___4171 = (r0); + globals.players___24894 = (r0); case 15: case 16: - s.tmp_0 = r0 = globals.players___4171; + s.tmp_0 = r0 = globals.players___24894; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -4008,12 +4008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_constructor__P2321.info = {"start":15637,"length":1370,"line":519,"column":8,"endLine":556,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} +info_PlayerInfo_constructor__P23044.info = {"start":15637,"length":1370,"line":519,"column":8,"endLine":556,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} -function info_PlayerInfo_constructor__P2321_mk(s) { +function info_PlayerInfo_constructor__P23044_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_constructor__P2321, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_constructor__P23044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4027,7 +4027,7 @@ function info_PlayerInfo_constructor__P2321_mk(s) { -function info_PlayerInfo_score__P2324(s) { +function info_PlayerInfo_score__P23047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4037,13 +4037,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___7139 = undefined; + s.state___27862 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); r0 = s.arg0.fields["showScore"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -4062,35 +4062,35 @@ switch (step) { r0 = (s.arg0).fields["showPlayer"] = (true); case 3: case 4: - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 785; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.state___7139 = (r0); - r0 = s.state___7139.fields["score"]; + s.state___27862 = (r0); + r0 = s.state___27862.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.state___7139).fields["score"] = (0); + r0 = (s.state___27862).fields["score"] = (0); case 5: case 6: - r0 = s.state___7139.fields["score"]; + r0 = s.state___27862.fields["score"]; return leave(s, r0) default: oops() } } } -info_PlayerInfo_score__P2324.info = {"start":17683,"length":314,"line":582,"column":8,"endLine":591,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} +info_PlayerInfo_score__P23047.info = {"start":17683,"length":314,"line":582,"column":8,"endLine":591,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} -function info_PlayerInfo_score__P2324_mk(s) { +function info_PlayerInfo_score__P23047_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_score__P2324, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_score__P23047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - state___7139: undefined, + state___27862: undefined, arg0: undefined, } } @@ -4098,7 +4098,7 @@ function info_PlayerInfo_score__P2324_mk(s) { -function info_PlayerInfo_getState__P2322(s) { +function info_PlayerInfo_getState__P23045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4113,13 +4113,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_init__P4222_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_init__P24945_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 784; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.infoState___4170.fields["playerStates"]; + r0 = globals.infoState___24893.fields["playerStates"]; s.tmp_0 = r0; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; @@ -4129,12 +4129,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_getState__P2322.info = {"start":17279,"length":121,"line":566,"column":8,"endLine":569,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} +info_PlayerInfo_getState__P23045.info = {"start":17279,"length":121,"line":566,"column":8,"endLine":569,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} -function info_PlayerInfo_getState__P2322_mk(s) { +function info_PlayerInfo_getState__P23045_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_getState__P2322, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_getState__P23045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4146,7 +4146,7 @@ function info_PlayerInfo_getState__P2322_mk(s) { -function info_PlayerInfo_init__P4222(s) { +function info_PlayerInfo_init__P24945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4161,8 +4161,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_initHUD__P4216_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_initHUD__P24939_mk(s); s.callLocIdx = 781; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -4172,13 +4172,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = info_initMultiHUD__P4217_mk(s); + s.tmp_2 = info_initMultiHUD__P24940_mk(s); s.callLocIdx = 782; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 1: case 2: - r0 = globals.infoState___4170.fields["playerStates"]; + r0 = globals.infoState___24893.fields["playerStates"]; s.tmp_3 = r0; r0 = s.arg0.fields["_player"]; s.tmp_5 = r0; @@ -4192,10 +4192,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C2280_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C23003_VT); s.tmp_6 = r0; r0 = undefined; - r0 = globals.infoState___4170.fields["playerStates"]; + r0 = globals.infoState___24893.fields["playerStates"]; s.tmp_7 = r0; r0 = s.arg0.fields["_player"]; s.tmp_9 = r0; @@ -4208,12 +4208,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_init__P4222.info = {"start":17017,"length":252,"line":558,"column":8,"endLine":564,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} +info_PlayerInfo_init__P24945.info = {"start":17017,"length":252,"line":558,"column":8,"endLine":564,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} -function info_PlayerInfo_init__P4222_mk(s) { +function info_PlayerInfo_init__P24945_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_init__P4222, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_init__P24945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4232,7 +4232,7 @@ function info_PlayerInfo_init__P4222_mk(s) { -function info_initMultiHUD__P4217(s) { +function info_initMultiHUD__P24940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4242,7 +4242,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.infoState___4170.fields["visibilityFlag"]; + r0 = globals.infoState___24893.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; @@ -4251,13 +4251,13 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = r0 = globals.infoState___4170; + s.tmp_2 = r0 = globals.infoState___24893; r0 = s.tmp_2.fields["visibilityFlag"]; s.tmp_4 = r0; r0 = (s.tmp_4 | 16); s.tmp_3 = r0; r0 = (s.tmp_2).fields["visibilityFlag"] = (s.tmp_3); - r0 = globals.infoState___4170.fields["visibilityFlag"]; + r0 = globals.infoState___24893.fields["visibilityFlag"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 32); s.tmp_2 = r0; @@ -4267,8 +4267,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = globals.infoState___4170; - s.tmp_6 = info_defaultMultiplayerHeartImage__P4219_mk(s); + s.tmp_4 = r0 = globals.infoState___24893; + s.tmp_6 = info_defaultMultiplayerHeartImage__P24942_mk(s); s.callLocIdx = 754; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; @@ -4276,8 +4276,8 @@ switch (step) { r0 = (s.tmp_4).fields["heartImage"] = (s.tmp_5); case 3: case 4: - s.tmp_0 = r0 = globals.infoState___4170; - r0 = pxsim.image.ofBuffer(_hex7204); + s.tmp_0 = r0 = globals.infoState___24893; + r0 = pxsim.image.ofBuffer(_hex27927); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); case 5: @@ -4285,12 +4285,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initMultiHUD__P4217.info = {"start":4757,"length":393,"line":151,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} +info_initMultiHUD__P24940.info = {"start":4757,"length":393,"line":151,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} -function info_initMultiHUD__P4217_mk(s) { +function info_initMultiHUD__P24940_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initMultiHUD__P4217, depth: s.depth + 1, + parent: s, fn: info_initMultiHUD__P24940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4301,12 +4301,12 @@ function info_initMultiHUD__P4217_mk(s) { tmp_6: undefined, } } -const _hex7204 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") +const _hex27927 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") -function info_defaultMultiplayerHeartImage__P4219(s) { +function info_defaultMultiplayerHeartImage__P24942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4316,14 +4316,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex7208); + r0 = pxsim.image.ofBuffer(_hex27931); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex7210); + r0 = pxsim.image.ofBuffer(_hex27933); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -4331,24 +4331,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultMultiplayerHeartImage__P4219.info = {"start":5754,"length":503,"line":187,"column":4,"endLine":204,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} +info_defaultMultiplayerHeartImage__P24942.info = {"start":5754,"length":503,"line":187,"column":4,"endLine":204,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} -function info_defaultMultiplayerHeartImage__P4219_mk(s) { +function info_defaultMultiplayerHeartImage__P24942_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultMultiplayerHeartImage__P4219, depth: s.depth + 1, + parent: s, fn: info_defaultMultiplayerHeartImage__P24942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex7208 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") -const _hex7210 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") +const _hex27931 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") +const _hex27933 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") -function info_initHUD__P4216(s) { +function info_initHUD__P24939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4358,22 +4358,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.infoState___4170); + r0 = pxsim_numops_toBoolDecr(globals.infoState___24893); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C4167_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C24890_VT); s.tmp_0 = r0; - s.tmp_1 = info_InfoState_constructor__P4168_mk(s); + s.tmp_1 = info_InfoState_constructor__P24891_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 737; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - globals.infoState___4170 = (s.tmp_0); - s.tmp_0 = scene_createRenderable__P2460_mk(s); + globals.infoState___24893 = (s.tmp_0); + s.tmp_0 = scene_createRenderable__P23183_mk(s); s.tmp_0.arg0 = 100; - s.tmp_0.arg1 = info_initHUD_inline__P7218; + s.tmp_0.arg1 = info_initHUD_inline__P27941; s.tmp_0.arg2 = undefined; s.callLocIdx = 753; s.pc = 5; return s.tmp_0; case 5: @@ -4383,12 +4383,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD__P4216.info = {"start":2671,"length":2080,"line":99,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} +info_initHUD__P24939.info = {"start":2671,"length":2080,"line":99,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} -function info_initHUD__P4216_mk(s) { +function info_initHUD__P24939_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD__P4216, depth: s.depth + 1, + parent: s, fn: info_initHUD__P24939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4398,7 +4398,7 @@ function info_initHUD__P4216_mk(s) { -function info_initHUD_inline__P7218(s) { +function info_initHUD_inline__P27941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4408,12 +4408,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ps___7227 = undefined; - s.p___7248 = undefined; - s.scene___7282 = undefined; - s.elapsed___7285 = undefined; - s.t___7293 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.infoState___4170); + s.ps___27950 = undefined; + s.p___27971 = undefined; + s.scene___28005 = undefined; + s.elapsed___28008 = undefined; + s.t___28016 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.infoState___24893); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4422,36 +4422,36 @@ switch (step) { { step = 23; continue; } case 1: case 2: - r0 = globals.infoState___4170.fields["visibilityFlag"]; + r0 = globals.infoState___24893.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_2.arg0 = globals.players___4171; - s.tmp_2.arg1 = ps_inline__P7229; + s.tmp_2 = helpers_arrayFilter__P20833_mk(s); + s.tmp_2.arg0 = globals.players___24894; + s.tmp_2.arg1 = ps_inline__P27952; s.callLocIdx = 738; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.ps___7227 = (r0); - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.ps___7227; - s.tmp_0.arg1 = info_initHUD_inline__P7238; + s.ps___27950 = (r0); + s.tmp_0 = helpers_arrayForEach__P20832_mk(s); + s.tmp_0.arg0 = s.ps___27950; + s.tmp_0.arg1 = info_initHUD_inline__P27961; s.callLocIdx = 740; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.ps___7227; - s.tmp_0.arg1 = info_initHUD_inline__P7244; + s.tmp_0 = helpers_arrayForEach__P20832_mk(s); + s.tmp_0.arg0 = s.ps___27950; + s.tmp_0.arg1 = info_initHUD_inline__P27967; s.callLocIdx = 742; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 12; continue; } case 3: - s.p___7248 = (globals.player1___2340); - s.tmp_1 = info_PlayerInfo_hasScore__P2327_mk(s); - s.tmp_1.arg0 = s.p___7248; + s.p___27971 = (globals.player1___23063); + s.tmp_1 = info_PlayerInfo_hasScore__P23050_mk(s); + s.tmp_1.arg0 = s.p___27971; s.callLocIdx = 743; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; @@ -4461,7 +4461,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = globals.infoState___4170.fields["visibilityFlag"]; + r0 = globals.infoState___24893.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 2); case 5: @@ -4469,15 +4469,15 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 6; continue; } - s.tmp_4 = info_PlayerInfo_drawScore__P2335_mk(s); - s.tmp_4.arg0 = s.p___7248; + s.tmp_4 = info_PlayerInfo_drawScore__P23058_mk(s); + s.tmp_4.arg0 = s.p___27971; s.callLocIdx = 744; s.pc = 28; return s.tmp_4; case 28: r0 = s.retval; case 6: case 7: - s.tmp_1 = info_PlayerInfo_hasLife__P2331_mk(s); - s.tmp_1.arg0 = s.p___7248; + s.tmp_1 = info_PlayerInfo_hasLife__P23054_mk(s); + s.tmp_1.arg0 = s.p___27971; s.callLocIdx = 745; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; @@ -4487,7 +4487,7 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = globals.infoState___4170.fields["visibilityFlag"]; + r0 = globals.infoState___24893.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 4); case 9: @@ -4495,21 +4495,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_4 = info_PlayerInfo_drawLives__P2336_mk(s); - s.tmp_4.arg0 = s.p___7248; + s.tmp_4 = info_PlayerInfo_drawLives__P23059_mk(s); + s.tmp_4.arg0 = s.p___27971; s.callLocIdx = 746; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 10: case 11: - s.tmp_0 = info_PlayerInfo_raiseLifeZero__P2333_mk(s); - s.tmp_0.arg0 = s.p___7248; + s.tmp_0 = info_PlayerInfo_raiseLifeZero__P23056_mk(s); + s.tmp_0.arg0 = s.p___27971; s.tmp_0.arg1 = true; s.callLocIdx = 747; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; case 12: - r0 = globals.infoState___4170.fields["gameEnd"]; + r0 = globals.infoState___24893.fields["gameEnd"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -4518,7 +4518,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - r0 = globals.infoState___4170.fields["visibilityFlag"]; + r0 = globals.infoState___24893.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 1); case 14: @@ -4526,30 +4526,30 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 21; continue; } - s.tmp_4 = game_currentScene__P2609_mk(s); + s.tmp_4 = game_currentScene__P23332_mk(s); s.callLocIdx = 748; s.pc = 32; return s.tmp_4; case 32: r0 = s.retval; - s.scene___7282 = (r0); - r0 = globals.infoState___4170.fields["gameEnd"]; + s.scene___28005 = (r0); + r0 = globals.infoState___24893.fields["gameEnd"]; s.tmp_0 = r0; - r0 = s.scene___7282.fields["_millis"]; + r0 = s.scene___28005.fields["_millis"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.elapsed___7285 = (r0); - s.tmp_0 = info_drawTimer__P4221_mk(s); - s.tmp_0.arg0 = s.elapsed___7285; + s.elapsed___28008 = (r0); + s.tmp_0 = info_drawTimer__P24944_mk(s); + s.tmp_0.arg0 = s.elapsed___28008; s.callLocIdx = 750; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - r0 = (s.elapsed___7285 / 1000); - s.t___7293 = (r0); - r0 = (s.t___7293 <= 0); + r0 = (s.elapsed___28008 / 1000); + s.t___28016 = (r0); + r0 = (s.t___28016 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.t___7293 = (0); - r0 = globals.infoState___4170.fields["countdownExpired"]; + s.t___28016 = (0); + r0 = globals.infoState___24893.fields["countdownExpired"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -4557,14 +4557,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = (globals.infoState___4170).fields["countdownExpired"] = (true); - r0 = (globals.infoState___4170).fields["gameEnd"] = (undefined); - r0 = globals.infoState___4170.fields["countdownEndHandler"]; + r0 = (globals.infoState___24893).fields["countdownExpired"] = (true); + r0 = (globals.infoState___24893).fields["gameEnd"] = (undefined); + r0 = globals.infoState___24893.fields["countdownEndHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } s.tmp_1 = if_countdownEndHandler_1_mk(s); - s.tmp_1.arg0 = globals.infoState___4170; + s.tmp_1.arg0 = globals.infoState___24893; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "countdownEndHandler"), 1); s.callLocIdx = 751; s.pc = 34; return s.tmp_1; @@ -4578,7 +4578,7 @@ switch (step) { r0 = s.retval; { step = 16; continue; } case 15: - s.tmp_0 = game_over__P2619_mk(s); + s.tmp_0 = game_over__P23342_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = undefined; s.callLocIdx = 752; s.pc = 35; return s.tmp_0; @@ -4596,30 +4596,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD_inline__P7218.info = {"start":2831,"length":1903,"line":106,"column":12,"endLine":147,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_initHUD_inline__P27941.info = {"start":2831,"length":1903,"line":106,"column":12,"endLine":147,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_initHUD_inline__P7218_mk(s) { +function info_initHUD_inline__P27941_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD_inline__P7218, depth: s.depth + 1, + parent: s, fn: info_initHUD_inline__P27941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - ps___7227: undefined, - p___7248: undefined, - scene___7282: undefined, - elapsed___7285: undefined, - t___7293: undefined, + ps___27950: undefined, + p___27971: undefined, + scene___28005: undefined, + elapsed___28008: undefined, + t___28016: undefined, } } -function ps_inline__P7229(s) { +function ps_inline__P27952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4643,12 +4643,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ps_inline__P7229.info = {"start":3079,"length":8,"line":111,"column":46,"endLine":111,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +ps_inline__P27952.info = {"start":3079,"length":8,"line":111,"column":46,"endLine":111,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function ps_inline__P7229_mk(s) { +function ps_inline__P27952_mk(s) { checkStack(s.depth); return { - parent: s, fn: ps_inline__P7229, depth: s.depth + 1, + parent: s, fn: ps_inline__P27952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4660,7 +4660,7 @@ function ps_inline__P7229_mk(s) { -function info_initHUD_inline__P7238(s) { +function info_initHUD_inline__P27961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4674,7 +4674,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_drawPlayer__P2334_mk(s); + s.tmp_0 = info_PlayerInfo_drawPlayer__P23057_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 739; s.pc = 1; return s.tmp_0; case 1: @@ -4683,12 +4683,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD_inline__P7238.info = {"start":3163,"length":19,"line":113,"column":31,"endLine":113,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +info_initHUD_inline__P27961.info = {"start":3163,"length":19,"line":113,"column":31,"endLine":113,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function info_initHUD_inline__P7238_mk(s) { +function info_initHUD_inline__P27961_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD_inline__P7238, depth: s.depth + 1, + parent: s, fn: info_initHUD_inline__P27961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4698,7 +4698,7 @@ function info_initHUD_inline__P7238_mk(s) { -function info_initHUD_inline__P7244(s) { +function info_initHUD_inline__P27967(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4712,7 +4712,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_raiseLifeZero__P2333_mk(s); + s.tmp_0 = info_PlayerInfo_raiseLifeZero__P23056_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 741; s.pc = 1; return s.tmp_0; @@ -4722,12 +4722,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD_inline__P7244.info = {"start":3265,"length":27,"line":115,"column":31,"endLine":115,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +info_initHUD_inline__P27967.info = {"start":3265,"length":27,"line":115,"column":31,"endLine":115,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function info_initHUD_inline__P7244_mk(s) { +function info_initHUD_inline__P27967_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD_inline__P7244, depth: s.depth + 1, + parent: s, fn: info_initHUD_inline__P27967, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4737,7 +4737,7 @@ function info_initHUD_inline__P7244_mk(s) { -function info_drawTimer__P4221(s) { +function info_drawTimer__P24944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4747,18 +4747,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___12183 = undefined; - s.smallFont___12185 = undefined; - s.seconds___12187 = undefined; - s.width___12191 = undefined; - s.left___12196 = undefined; - s.color1___12206 = undefined; - s.color2___12210 = undefined; - s.temp___12223 = undefined; - s.remainder___12259 = undefined; - s.decimalLeft___12278 = undefined; - s.minutes___12296 = undefined; - s.remainder___12300 = undefined; + s.font___32906 = undefined; + s.smallFont___32908 = undefined; + s.seconds___32910 = undefined; + s.width___32914 = undefined; + s.left___32919 = undefined; + s.color1___32929 = undefined; + s.color2___32933 = undefined; + s.temp___32946 = undefined; + s.remainder___32982 = undefined; + s.decimalLeft___33001 = undefined; + s.minutes___33019 = undefined; + s.remainder___33023 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -4772,12 +4772,12 @@ switch (step) { case 2: r0 = (s.arg0 | 0); s.arg0 = (r0); - s.font___12183 = (globals.font8___1770); - s.smallFont___12185 = (globals.font5___1775); + s.font___32906 = (globals.font8___22493); + s.smallFont___32908 = (globals.font5___22498); r0 = pxsim.Math_.idiv(s.arg0, 1000); - s.seconds___12187 = (r0); + s.seconds___32910 = (r0); s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___12183; + s.tmp_2.arg0 = s.font___32906; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -4792,29 +4792,29 @@ switch (step) { r0 = (s.tmp_1 * 5); s.tmp_0 = r0; r0 = (s.tmp_0 - 2); - s.width___12191 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___1827); + s.width___32914 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; - r0 = (s.width___12191 >> 1); + r0 = (s.width___32914 >> 1); s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.left___12196 = (r0); - r0 = globals.infoState___4170.fields["fontColor"]; - s.color1___12206 = (r0); - r0 = globals.infoState___4170.fields["bgColor"]; - s.color2___12210 = (r0); - r0 = (s.seconds___12187 < 10); + s.left___32919 = (r0); + r0 = globals.infoState___24893.fields["fontColor"]; + s.color1___32929 = (r0); + r0 = globals.infoState___24893.fields["bgColor"]; + s.color2___32933 = (r0); + r0 = (s.seconds___32910 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.seconds___12187 & 1); + r0 = (s.seconds___32910 & 1); case 4: // jmp value (already in r0) s.tmp_1 = r0; @@ -4823,7 +4823,7 @@ switch (step) { r0 = s.tmp_1; { step = 6; continue; } case 5: - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -4833,20 +4833,20 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 7; continue; } - s.temp___12223 = (s.color1___12206); - s.color1___12206 = (s.color2___12210); - s.color2___12210 = (s.temp___12223); + s.temp___32946 = (s.color1___32929); + s.color1___32929 = (s.color2___32933); + s.color2___32933 = (s.temp___32946); case 7: case 8: - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - r0 = (s.left___12196 - 3); + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + r0 = (s.left___32919 - 3); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___12191 + 6); + r0 = (s.width___32914 + 6); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___12183; + s.tmp_2.arg0 = s.font___32906; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -4860,20 +4860,20 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4170.fields["borderColor"]; + r0 = globals.infoState___24893.fields["borderColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 770; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - r0 = (s.left___12196 - 2); + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + r0 = (s.left___32919 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___12191 + 4); + r0 = (s.width___32914 + 4); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___12183; + s.tmp_2.arg0 = s.font___32906; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -4887,22 +4887,22 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.color2___12210; + s.tmp_0.arg5 = s.color2___32933; s.callLocIdx = 772; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = (s.seconds___12187 < 60); + r0 = (s.seconds___32910 < 60); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } r0 = (s.arg0 % 1000); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 10); - s.remainder___12259 = (r0); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_3 = info_formatDecimal__P4223_mk(s); - s.tmp_3.arg0 = s.seconds___12187; + s.remainder___32982 = (r0); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_3 = info_formatDecimal__P24946_mk(s); + s.tmp_3.arg0 = s.seconds___32910; s.callLocIdx = 773; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; @@ -4918,17 +4918,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "."); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___12196; + s.tmp_0.arg2 = s.left___32919; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___12206; - s.tmp_0.arg5 = s.font___12183; + s.tmp_0.arg4 = s.color1___32929; + s.tmp_0.arg5 = s.font___32906; s.tmp_0.arg6 = undefined; s.callLocIdx = 774; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.left___12196; + s.tmp_0 = r0 = s.left___32919; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___12183; + s.tmp_3.arg0 = s.font___32906; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -4943,33 +4943,33 @@ switch (step) { r0 = (3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.decimalLeft___12278 = (r0); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_1 = info_formatDecimal__P4223_mk(s); - s.tmp_1.arg0 = s.remainder___12259; + s.decimalLeft___33001 = (r0); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_1 = info_formatDecimal__P24946_mk(s); + s.tmp_1.arg0 = s.remainder___32982; s.callLocIdx = 776; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.decimalLeft___12278; + s.tmp_0.arg2 = s.decimalLeft___33001; s.tmp_0.arg3 = 3; - s.tmp_0.arg4 = s.color1___12206; - s.tmp_0.arg5 = s.smallFont___12185; + s.tmp_0.arg4 = s.color1___32929; + s.tmp_0.arg5 = s.smallFont___32908; s.tmp_0.arg6 = undefined; s.callLocIdx = 777; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim.Math_.idiv(s.seconds___12187, 60); - s.minutes___12296 = (r0); - r0 = (s.seconds___12187 % 60); - s.remainder___12300 = (r0); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_5 = info_formatDecimal__P4223_mk(s); - s.tmp_5.arg0 = s.minutes___12296; + r0 = pxsim.Math_.idiv(s.seconds___32910, 60); + s.minutes___33019 = (r0); + r0 = (s.seconds___32910 % 60); + s.remainder___33023 = (r0); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_5 = info_formatDecimal__P24946_mk(s); + s.tmp_5.arg0 = s.minutes___33019; s.callLocIdx = 778; s.pc = 23; return s.tmp_5; case 23: r0 = s.retval; @@ -4994,8 +4994,8 @@ switch (step) { case 25: r0 = s.retval; s.tmp_1 = r0; - s.tmp_8 = info_formatDecimal__P4223_mk(s); - s.tmp_8.arg0 = s.remainder___12300; + s.tmp_8 = info_formatDecimal__P24946_mk(s); + s.tmp_8.arg0 = s.remainder___33023; s.callLocIdx = 779; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; @@ -5011,10 +5011,10 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___12196; + s.tmp_0.arg2 = s.left___32919; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___12206; - s.tmp_0.arg5 = s.font___12183; + s.tmp_0.arg4 = s.color1___32929; + s.tmp_0.arg5 = s.font___32906; s.tmp_0.arg6 = undefined; s.callLocIdx = 780; s.pc = 22; return s.tmp_0; case 22: @@ -5024,12 +5024,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_drawTimer__P4221.info = {"start":13679,"length":1328,"line":466,"column":4,"endLine":501,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} +info_drawTimer__P24944.info = {"start":13679,"length":1328,"line":466,"column":4,"endLine":501,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} -function info_drawTimer__P4221_mk(s) { +function info_drawTimer__P24944_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_drawTimer__P4221, depth: s.depth + 1, + parent: s, fn: info_drawTimer__P24944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5040,18 +5040,18 @@ function info_drawTimer__P4221_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - font___12183: undefined, - smallFont___12185: undefined, - seconds___12187: undefined, - width___12191: undefined, - left___12196: undefined, - color1___12206: undefined, - color2___12210: undefined, - temp___12223: undefined, - remainder___12259: undefined, - decimalLeft___12278: undefined, - minutes___12296: undefined, - remainder___12300: undefined, + font___32906: undefined, + smallFont___32908: undefined, + seconds___32910: undefined, + width___32914: undefined, + left___32919: undefined, + color1___32929: undefined, + color2___32933: undefined, + temp___32946: undefined, + remainder___32982: undefined, + decimalLeft___33001: undefined, + minutes___33019: undefined, + remainder___33023: undefined, arg0: undefined, } } @@ -5059,7 +5059,7 @@ function info_drawTimer__P4221_mk(s) { -function info_formatDecimal__P4223(s) { +function info_formatDecimal__P24946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5097,12 +5097,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_formatDecimal__P4223.info = {"start":28812,"length":156,"line":924,"column":4,"endLine":930,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} +info_formatDecimal__P24946.info = {"start":28812,"length":156,"line":924,"column":4,"endLine":930,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} -function info_formatDecimal__P4223_mk(s) { +function info_formatDecimal__P24946_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_formatDecimal__P4223, depth: s.depth + 1, + parent: s, fn: info_formatDecimal__P24946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5113,7 +5113,7 @@ function info_formatDecimal__P4223_mk(s) { -function helpers_imagePrint__P1785(s) { +function helpers_imagePrint__P22508(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5123,31 +5123,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___7614 = undefined; - s.cp___7616 = undefined; - s.mult___7617 = undefined; - s.dataW___7622 = undefined; - s.dataH___7628 = undefined; - s.byteHeight___7634 = undefined; - s.charSize___7640 = undefined; - s.dataSize___7644 = undefined; - s.fontdata___7648 = undefined; - s.lastchar___7651 = undefined; - s.imgBuf___7658 = undefined; - s.xOffset___7682 = undefined; - s.yOffset___7683 = undefined; - s.ch___7698 = undefined; - s.l___7717 = undefined; - s.r___7718 = undefined; - s.off___7720 = undefined; - s.guess___7721 = undefined; - s.m___7740 = undefined; - s.v___7749 = undefined; - s.i___7805 = undefined; - s.j___7810 = undefined; - s.mask___7811 = undefined; - s.c___7812 = undefined; - s.n___7829 = undefined; + s.x0___28337 = undefined; + s.cp___28339 = undefined; + s.mult___28340 = undefined; + s.dataW___28345 = undefined; + s.dataH___28351 = undefined; + s.byteHeight___28357 = undefined; + s.charSize___28363 = undefined; + s.dataSize___28367 = undefined; + s.fontdata___28371 = undefined; + s.lastchar___28374 = undefined; + s.imgBuf___28381 = undefined; + s.xOffset___28405 = undefined; + s.yOffset___28406 = undefined; + s.ch___28421 = undefined; + s.l___28440 = undefined; + s.r___28441 = undefined; + s.off___28443 = undefined; + s.guess___28444 = undefined; + s.m___28463 = undefined; + s.v___28472 = undefined; + s.i___28528 = undefined; + s.j___28533 = undefined; + s.mask___28534 = undefined; + s.c___28535 = undefined; + s.n___28552 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5168,7 +5168,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P1772_mk(s); + s.tmp_2 = image_getFontForText__P22495_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 135; s.pc = 39; return s.tmp_2; case 39: @@ -5185,8 +5185,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___7614 = (s.arg2); - s.cp___7616 = (0); + s.x0___28337 = (s.arg2); + s.cp___28339 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -5220,7 +5220,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___7617 = (s.tmp_3); + s.mult___28340 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -5234,8 +5234,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___7617); - s.dataW___7622 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___28340); + s.dataW___28345 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -5249,16 +5249,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___7617); - s.dataH___7628 = (r0); - r0 = (s.dataH___7628 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___28340); + s.dataH___28351 = (r0); + r0 = (s.dataH___28351 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___7634 = (r0); - r0 = (s.byteHeight___7634 * s.dataW___7622); - s.charSize___7640 = (r0); - r0 = (2 + s.charSize___7640); - s.dataSize___7644 = (r0); + s.byteHeight___28357 = (r0); + r0 = (s.byteHeight___28357 * s.dataW___28345); + s.charSize___28363 = (r0); + r0 = (2 + s.charSize___28363); + s.dataSize___28367 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -5271,44 +5271,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___7648 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___7648); + s.fontdata___28371 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___28371); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___7644); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___28367); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___7651 = (r0); - r0 = (s.mult___7617 == 1); + s.lastchar___28374 = (r0); + r0 = (s.mult___28340 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___7640); + r0 = (8 + s.charSize___28363); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___7658 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___7658, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___7658, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___7658, 2, s.dataW___7622); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___7658, 4, s.dataH___7628); + s.imgBuf___28381 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___28381, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___28381, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___28381, 2, s.dataW___28345); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___28381, 4, s.dataH___28351); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___7616; + s.tmp_1 = r0 = s.cp___28339; 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___7682 = (0); - s.yOffset___7683 = (0); + s.xOffset___28405 = (0); + s.yOffset___28406 = (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___7616; + s.tmp_1 = r0 = s.cp___28339; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -5318,7 +5318,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___7616); + r0 = pxsim_Array__getAt(s.arg6, s.cp___28339); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -5330,9 +5330,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___7682 = (r0); + s.xOffset___28405 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___7616); + r0 = pxsim_Array__getAt(s.arg6, s.cp___28339); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -5344,15 +5344,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___7683 = (r0); + s.yOffset___28406 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___7616; + s.tmp_0 = r0 = s.cp___28339; r0 = (s.tmp_0 + 1); - s.cp___7616 = (r0); + s.cp___28339 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___7698 = (r0); - r0 = (s.ch___7698 == 10); + s.ch___28421 = (r0); + r0 = (s.ch___28421 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -5374,89 +5374,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___7614); + s.arg2 = (s.x0___28337); case 14: case 15: - r0 = (s.ch___7698 < 32); + r0 = (s.ch___28421 < 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___7717 = (0); - s.r___7718 = (s.lastchar___7651); - s.off___7720 = (0); - r0 = (s.ch___7698 - 32); + s.l___28440 = (0); + s.r___28441 = (s.lastchar___28374); + s.off___28443 = (0); + r0 = (s.ch___28421 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___7644); - s.guess___7721 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___7648, 4, s.guess___7721); + r0 = (s.tmp_0 * s.dataSize___28367); + s.guess___28444 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___28371, 4, s.guess___28444); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___7698); + r0 = (s.tmp_1 == s.ch___28421); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___7720 = (s.guess___7721); + s.off___28443 = (s.guess___28444); { step = 25; continue; } case 18: case 19: - r0 = (s.l___7717 <= s.r___7718); + r0 = (s.l___28440 <= s.r___28441); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___7717; - r0 = (s.r___7718 - s.l___7717); + s.tmp_1 = r0 = s.l___28440; + r0 = (s.r___28441 - s.l___28440); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___7740 = (r0); - s.tmp_0 = r0 = s.fontdata___7648; - r0 = (s.m___7740 * s.dataSize___7644); + s.m___28463 = (r0); + s.tmp_0 = r0 = s.fontdata___28371; + r0 = (s.m___28463 * s.dataSize___28367); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___7749 = (r0); - r0 = (s.v___7749 == s.ch___7698); + s.v___28472 = (r0); + r0 = (s.v___28472 == s.ch___28421); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___7740 * s.dataSize___7644); - s.off___7720 = (r0); + r0 = (s.m___28463 * s.dataSize___28367); + s.off___28443 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___7749 < s.ch___7698); + r0 = (s.v___28472 < s.ch___28421); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___7740 + 1); - s.l___7717 = (r0); + r0 = (s.m___28463 + 1); + s.l___28440 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___7740 - 1); - s.r___7718 = (r0); + r0 = (s.m___28463 - 1); + s.r___28441 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___7617 == 1); + r0 = (s.mult___28340 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___7658; - s.tmp_3 = r0 = s.fontdata___7648; - r0 = (s.off___7720 + 2); + s.tmp_1 = r0 = s.imgBuf___28381; + s.tmp_3 = r0 = s.fontdata___28371; + r0 = (s.off___28443 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___7640); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___28363); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P1752_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P22475_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___7658; - r0 = (s.arg2 + s.xOffset___7682); + s.tmp_0.arg1 = s.imgBuf___28381; + r0 = (s.arg2 + s.xOffset___28405); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___7683); + r0 = (s.arg3 + s.yOffset___28406); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 144; s.pc = 48; return s.tmp_0; @@ -5480,88 +5480,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___7720 + 2); - s.off___7720 = (r0); - s.i___7805 = (0); + r0 = (s.off___28443 + 2); + s.off___28443 = (r0); + s.i___28528 = (0); case 27: - r0 = (s.i___7805 < s.dataW___7622); + r0 = (s.i___28528 < s.dataW___28345); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___7810 = (0); - s.mask___7811 = (1); - s.tmp_0 = r0 = s.off___7720; + s.j___28533 = (0); + s.mask___28534 = (1); + s.tmp_0 = r0 = s.off___28443; r0 = (s.tmp_0 + 1); - s.off___7720 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___7648, s.tmp_0); - s.c___7812 = (r0); + s.off___28443 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___28371, s.tmp_0); + s.c___28535 = (r0); case 28: - r0 = (s.j___7810 < s.dataH___7628); + r0 = (s.j___28533 < s.dataH___28351); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___7811 == 256); + r0 = (s.mask___28534 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___7720; + s.tmp_2 = r0 = s.off___28443; r0 = (s.tmp_2 + 1); - s.off___7720 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___7648, s.tmp_2); - s.c___7812 = (r0); - s.mask___7811 = (1); + s.off___28443 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___28371, s.tmp_2); + s.c___28535 = (r0); + s.mask___28534 = (1); case 29: case 30: - s.n___7829 = (0); + s.n___28552 = (0); case 31: - r0 = (s.c___7812 & s.mask___7811); + r0 = (s.c___28535 & s.mask___28534); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___7829 + 1); - s.n___7829 = (r0); - r0 = (s.mask___7811 << 1); - s.mask___7811 = (r0); + r0 = (s.n___28552 + 1); + s.n___28552 = (r0); + r0 = (s.mask___28534 << 1); + s.mask___28534 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___7829); + r0 = pxsim_numops_toBoolDecr(s.n___28552); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___7682 * s.mult___7617); + r0 = (s.xOffset___28405 * s.mult___28340); 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___7810 + s.yOffset___7683); + r0 = (s.j___28533 + s.yOffset___28406); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___7617); + r0 = (s.tmp_5 * s.mult___28340); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___7617; - r0 = (s.mult___7617 * s.n___7829); + s.tmp_0.arg3 = s.mult___28340; + r0 = (s.mult___28340 * s.n___28552); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 146; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___7810 + s.n___7829); - s.j___7810 = (r0); + r0 = (s.j___28533 + s.n___28552); + s.j___28533 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___7811 << 1); - s.mask___7811 = (r0); - r0 = (s.j___7810 + 1); - s.j___7810 = (r0); + r0 = (s.mask___28534 << 1); + s.mask___28534 = (r0); + r0 = (s.j___28533 + 1); + s.j___28533 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___7617); + r0 = (s.arg2 + s.mult___28340); s.arg2 = (r0); - r0 = (s.i___7805 + 1); - s.i___7805 = (r0); + r0 = (s.i___28528 + 1); + s.i___28528 = (r0); { step = 27; continue; } case 36: case 37: @@ -5571,12 +5571,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P1785.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__P22508.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__P1785_mk(s) { +function helpers_imagePrint__P22508_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P1785, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P22508, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5584,31 +5584,31 @@ function helpers_imagePrint__P1785_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___7614: undefined, - cp___7616: undefined, - mult___7617: undefined, - dataW___7622: undefined, - dataH___7628: undefined, - byteHeight___7634: undefined, - charSize___7640: undefined, - dataSize___7644: undefined, - fontdata___7648: undefined, - lastchar___7651: undefined, - imgBuf___7658: undefined, - xOffset___7682: undefined, - yOffset___7683: undefined, - ch___7698: undefined, - l___7717: undefined, - r___7718: undefined, - off___7720: undefined, - guess___7721: undefined, - m___7740: undefined, - v___7749: undefined, - i___7805: undefined, - j___7810: undefined, - mask___7811: undefined, - c___7812: undefined, - n___7829: undefined, + x0___28337: undefined, + cp___28339: undefined, + mult___28340: undefined, + dataW___28345: undefined, + dataH___28351: undefined, + byteHeight___28357: undefined, + charSize___28363: undefined, + dataSize___28367: undefined, + fontdata___28371: undefined, + lastchar___28374: undefined, + imgBuf___28381: undefined, + xOffset___28405: undefined, + yOffset___28406: undefined, + ch___28421: undefined, + l___28440: undefined, + r___28441: undefined, + off___28443: undefined, + guess___28444: undefined, + m___28463: undefined, + v___28472: undefined, + i___28528: undefined, + j___28533: undefined, + mask___28534: undefined, + c___28535: undefined, + n___28552: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5622,7 +5622,7 @@ function helpers_imagePrint__P1785_mk(s) { -function image_getFontForText__P1772(s) { +function image_getFontForText__P22495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5632,52 +5632,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___7932 = undefined; + s.i___28655 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___7932 = (0); + s.i___28655 = (0); case 1: - s.tmp_1 = r0 = s.i___7932; + s.tmp_1 = r0 = s.i___28655; 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___7932); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___28655); 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___1771; + r0 = globals.font12___22494; { step = 5; continue; } case 2: case 3: - r0 = (s.i___7932 + 1); - s.i___7932 = (r0); + r0 = (s.i___28655 + 1); + s.i___28655 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___1770; + r0 = globals.font8___22493; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P1772.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__P22495.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__P1772_mk(s) { +function image_getFontForText__P22495_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P1772, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P22495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - i___7932: undefined, + i___28655: undefined, arg0: undefined, } } @@ -5685,7 +5685,7 @@ function image_getFontForText__P1772_mk(s) { -function helpers_imageDrawIcon__P1752(s) { +function helpers_imageDrawIcon__P22475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5705,7 +5705,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P4019_mk(s); + s.tmp_3 = helpers_pack__P24742_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 116; s.pc = 1; return s.tmp_3; @@ -5717,12 +5717,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P1752.info = {"start":4592,"length":145,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P22475.info = {"start":4592,"length":145,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P1752_mk(s) { +function helpers_imageDrawIcon__P22475_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P1752, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P22475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5739,7 +5739,7 @@ function helpers_imageDrawIcon__P1752_mk(s) { -function helpers_pack__P4019(s) { +function helpers_pack__P24742(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5754,7 +5754,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P20850_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -5765,7 +5765,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P127_mk(s); + s.tmp_5 = Math_clamp__P20850_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -5780,12 +5780,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P4019.info = {"start":3636,"length":145,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P24742.info = {"start":3636,"length":145,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P4019_mk(s) { +function helpers_pack__P24742_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P4019, depth: s.depth + 1, + parent: s, fn: helpers_pack__P24742, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5801,7 +5801,7 @@ function helpers_pack__P4019_mk(s) { -function Math_clamp__P127(s) { +function Math_clamp__P20850(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5817,9 +5817,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P131_mk(s); + s.tmp_0 = Math_min__P20854_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P20853_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 19; s.pc = 2; return s.tmp_1; @@ -5832,12 +5832,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P127.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P20850.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P127_mk(s) { +function Math_clamp__P20850_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P127, depth: s.depth + 1, + parent: s, fn: Math_clamp__P20850, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5850,7 +5850,7 @@ function Math_clamp__P127_mk(s) { -function Math_min__P131(s) { +function Math_min__P20854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5878,12 +5878,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P131.info = {"start":16779,"length":105,"line":565,"column":4,"endLine":568,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P20854.info = {"start":16779,"length":105,"line":565,"column":4,"endLine":568,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P131_mk(s) { +function Math_min__P20854_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P131, depth: s.depth + 1, + parent: s, fn: Math_min__P20854, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5894,7 +5894,7 @@ function Math_min__P131_mk(s) { -function helpers_imageFillRect__P1753(s) { +function helpers_imageFillRect__P22476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5914,14 +5914,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4019_mk(s); + s.tmp_2 = helpers_pack__P24742_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 117; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4019_mk(s); + s.tmp_4 = helpers_pack__P24742_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 118; s.pc = 2; return s.tmp_4; @@ -5933,12 +5933,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P1753.info = {"start":4742,"length":159,"line":157,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P22476.info = {"start":4742,"length":159,"line":157,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P1753_mk(s) { +function helpers_imageFillRect__P22476_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P1753, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P22476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5957,7 +5957,7 @@ function helpers_imageFillRect__P1753_mk(s) { -function info_InfoState_constructor__P4168(s) { +function info_InfoState_constructor__P24891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5972,24 +5972,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_InfoState__C4167_VT)) failedCast(r0); + if (!checkSubtype(r0, info_InfoState__C24890_VT)) failedCast(r0); r0 = (s.arg0).fields["visibilityFlag"] = (8); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["playerStates"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = info_defaultHeartImage__P4218_mk(s); + s.tmp_2 = info_defaultHeartImage__P24941_mk(s); s.callLocIdx = 731; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["heartImage"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.ofBuffer(_hex13014); + r0 = pxsim.image.ofBuffer(_hex33737); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -6001,7 +6001,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["bgColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -6013,7 +6013,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["borderColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -6036,12 +6036,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_InfoState_constructor__P4168.info = {"start":1121,"length":674,"line":45,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_InfoState_constructor__P24891.info = {"start":1121,"length":674,"line":45,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_InfoState_constructor__P4168_mk(s) { +function info_InfoState_constructor__P24891_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_InfoState_constructor__P4168, depth: s.depth + 1, + parent: s, fn: info_InfoState_constructor__P24891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6049,12 +6049,12 @@ function info_InfoState_constructor__P4168_mk(s) { arg0: undefined, } } -const _hex13014 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") +const _hex33737 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") -function info_defaultHeartImage__P4218(s) { +function info_defaultHeartImage__P24941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6064,14 +6064,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex13042); + r0 = pxsim.image.ofBuffer(_hex33765); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex13044); + r0 = pxsim.image.ofBuffer(_hex33767); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -6079,24 +6079,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultHeartImage__P4218.info = {"start":5156,"length":592,"line":164,"column":4,"endLine":185,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} +info_defaultHeartImage__P24941.info = {"start":5156,"length":592,"line":164,"column":4,"endLine":185,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} -function info_defaultHeartImage__P4218_mk(s) { +function info_defaultHeartImage__P24941_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultHeartImage__P4218, depth: s.depth + 1, + parent: s, fn: info_defaultHeartImage__P24941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex13042 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") -const _hex13044 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") +const _hex33765 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") +const _hex33767 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") -function game_over__P2619(s) { +function game_over__P23342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6106,29 +6106,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scoreInfo___7330 = undefined; - s.highScore___7334 = undefined; - s.overDialog___7363 = undefined; + s.scoreInfo___28053 = undefined; + s.highScore___28057 = undefined; + s.overDialog___28086 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P4297_mk(s); + s.tmp_0 = game_init__P25020_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1088; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__isOver___4296); + r0 = pxsim_numops_toBoolDecr(globals.__isOver___25019); if (!r0) { step = 1; continue; } { step = 17; continue; } case 1: case 2: - globals.__isOver___4296 = (true); - r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___4294); + globals.__isOver___25019 = (true); + r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___25017); if (!r0) { step = 3; continue; } s.tmp_0 = lambda_2_mk(s); - s.tmp_0.argL = globals.__gameOverHandler___4294; + s.tmp_0.argL = globals.__gameOverHandler___25017; s.tmp_0.arg0 = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1089; s.pc = 19; return s.tmp_0; @@ -6144,85 +6144,85 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 4; continue; } - r0 = globals.winEffect___2607; + r0 = globals.winEffect___23330; { step = 5; continue; } case 4: - r0 = globals.loseEffect___2608; + r0 = globals.loseEffect___23331; case 5: // jmp value (already in r0) s.tmp_2 = r0; s.arg1 = (s.tmp_2); case 6: case 7: - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); - s.tmp_0.arg0 = globals.player1___2340; + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); + s.tmp_0.arg0 = globals.player1___23063; s.callLocIdx = 1090; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.scoreInfo___7330 = (r0); - s.tmp_0 = info_highScore__P2288_mk(s); + s.scoreInfo___28053 = (r0); + s.tmp_0 = info_highScore__P23011_mk(s); s.callLocIdx = 1091; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.highScore___7334 = (r0); - r0 = s.scoreInfo___7330.fields["score"]; + s.highScore___28057 = (r0); + r0 = s.scoreInfo___28053.fields["score"]; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.highScore___7334); + r0 = (s.tmp_1 > s.highScore___28057); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_2 = info_saveHighScore__P2285_mk(s); + s.tmp_2 = info_saveHighScore__P23008_mk(s); s.callLocIdx = 1092; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; case 8: case 9: case 10: - s.tmp_0 = r0 = globals._sceneStack___4290; + s.tmp_0 = r0 = globals._sceneStack___25013; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = pxsim_Array__length(globals._sceneStack___4290); + r0 = pxsim_Array__length(globals._sceneStack___25013); case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = scene_Scene_destroy__P2522_mk(s); - s.tmp_2.arg0 = globals._scene___4289; + s.tmp_2 = scene_Scene_destroy__P23245_mk(s); + s.tmp_2.arg0 = globals._scene___25012; s.callLocIdx = 1093; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; - s.tmp_0 = game_popScene__P2614_mk(s); + s.tmp_0 = game_popScene__P23337_mk(s); s.callLocIdx = 1094; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; { step = 10; continue; } case 13: - s.tmp_0 = game_pushScene__P2613_mk(s); + s.tmp_0 = game_pushScene__P23336_mk(s); s.callLocIdx = 1095; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = scene_setBackgroundImage__P2536_mk(s); - r0 = pxsim_ImageMethods.clone(globals.screen___1827); + s.tmp_0 = scene_setBackgroundImage__P23259_mk(s); + r0 = pxsim_ImageMethods.clone(globals.screen___22550); s.tmp_0.arg0 = r0; s.callLocIdx = 1096; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 14; continue; } - s.tmp_0 = music_Melody_play__P1617_mk(s); - s.tmp_0.arg0 = globals.winSound___4288; + s.tmp_0 = music_Melody_play__P22340_mk(s); + s.tmp_0.arg0 = globals.winSound___25011; s.tmp_0.arg1 = 255; s.callLocIdx = 1097; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; { step = 15; continue; } case 14: - s.tmp_0 = music_Melody_play__P1617_mk(s); - s.tmp_0.arg0 = globals.loseSound___4286; + s.tmp_0 = music_Melody_play__P22340_mk(s); + s.tmp_0.arg0 = globals.loseSound___25009; s.tmp_0.arg1 = 255; s.callLocIdx = 1098; s.pc = 28; return s.tmp_0; case 28: @@ -6241,44 +6241,44 @@ switch (step) { } case 29: r0 = s.retval; - s.tmp_0 = pause__P411_mk(s); + s.tmp_0 = pause__P21134_mk(s); s.tmp_0.arg0 = 400; s.callLocIdx = 1100; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C2593_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C23316_VT); s.tmp_0 = r0; - s.tmp_1 = game_GameOverDialog_constructor__P2594_mk(s); + s.tmp_1 = game_GameOverDialog_constructor__P23317_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - r0 = s.scoreInfo___7330.fields["score"]; + r0 = s.scoreInfo___28053.fields["score"]; s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = s.highScore___7334; + s.tmp_1.arg3 = s.highScore___28057; s.callLocIdx = 1101; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - s.overDialog___7363 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(1, game_over_inline__P7373); + s.overDialog___28086 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(1, game_over_inline__P28096); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___7363); - s.tmp_1 = scene_createRenderable__P2460_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___28086); + s.tmp_1 = scene_createRenderable__P23183_mk(s); s.tmp_1.arg0 = 100; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; s.callLocIdx = 1102; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.tmp_0 = pause__P411_mk(s); + s.tmp_0 = pause__P21134_mk(s); s.tmp_0.arg0 = 500; s.callLocIdx = 1103; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = game_GameOverDialog_displayCursor__P2595_mk(s); - s.tmp_0.arg0 = s.overDialog___7363; + s.tmp_0 = game_GameOverDialog_displayCursor__P23318_mk(s); + s.tmp_0.arg0 = s.overDialog___28086; s.callLocIdx = 1104; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = game_waitAnyButton__P2611_mk(s); + s.tmp_0 = game_waitAnyButton__P23334_mk(s); s.callLocIdx = 1105; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; @@ -6294,19 +6294,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_over__P2619.info = {"start":5382,"length":1774,"line":181,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} +game_over__P23342.info = {"start":5382,"length":1774,"line":181,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} -function game_over__P2619_mk(s) { +function game_over__P23342_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_over__P2619, depth: s.depth + 1, + parent: s, fn: game_over__P23342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scoreInfo___7330: undefined, - highScore___7334: undefined, - overDialog___7363: undefined, + scoreInfo___28053: undefined, + highScore___28057: undefined, + overDialog___28086: undefined, arg0: undefined, arg1: undefined, } } @@ -6315,7 +6315,7 @@ function game_over__P2619_mk(s) { -function game_over_inline__P7373(s) { +function game_over_inline__P28096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6329,9 +6329,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_GameOverDialog__C2593_v0_1_mk(s); + s.tmp_0 = game_GameOverDialog__C23316_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C2593_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C23316_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 1; return s.tmp_0; case 1: @@ -6339,7 +6339,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.caps[0].fields["image"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_4 = r0; r0 = s.caps[0].fields["image"]; s.tmp_6 = r0; @@ -6354,12 +6354,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_over_inline__P7373.info = {"start":6721,"length":254,"line":218,"column":48,"endLine":225,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} +game_over_inline__P28096.info = {"start":6721,"length":254,"line":218,"column":48,"endLine":225,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} -function game_over_inline__P7373_mk(s) { +function game_over_inline__P28096_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_over_inline__P7373, depth: s.depth + 1, + parent: s, fn: game_over_inline__P28096, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6375,7 +6375,7 @@ function game_over_inline__P7373_mk(s) { -function game_init__P4297(s) { +function game_init__P25020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6389,7 +6389,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___4289); + r0 = pxsim_numops_toBoolDecr(globals._scene___25012); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -6404,73 +6404,73 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C2496_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C23219_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P2517_mk(s); + s.tmp_4 = scene_Scene_constructor__P23240_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P407_mk(s); + s.tmp_5 = control_pushEventContext__P21130_mk(s); s.callLocIdx = 1073; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___4289; + s.tmp_4.arg2 = globals._scene___25012; s.callLocIdx = 1074; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___4289 = (s.tmp_3); + globals._scene___25012 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P2518_mk(s); - s.tmp_0.arg0 = globals._scene___4289; + s.tmp_0 = scene_Scene_init__P23241_mk(s); + s.tmp_0.arg0 = globals._scene___25012; s.callLocIdx = 1075; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___2607); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___23330); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - globals.winEffect___2607 = (globals.confetti___2879); + globals.winEffect___23330 = (globals.confetti___23602); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___2608); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___23331); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - globals.loseEffect___2608 = (globals.melt___2900); + globals.loseEffect___23331 = (globals.melt___23623); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___4288); + r0 = pxsim_numops_toBoolDecr(globals.winSound___25011); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - globals.winSound___4288 = (globals.powerUp___1630); + globals.winSound___25011 = (globals.powerUp___22353); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___4286); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___25009); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - globals.loseSound___4286 = (globals.wawawawaa___1627); + globals.loseSound___25009 = (globals.wawawawaa___22350); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P4297.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P25020.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function game_init__P4297_mk(s) { +function game_init__P25020_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P4297, depth: s.depth + 1, + parent: s, fn: game_init__P25020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6485,7 +6485,7 @@ function game_init__P4297_mk(s) { -function melt_inline__P9759(s) { +function melt_inline__P30482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6495,11 +6495,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___9762 = undefined; - s.j___9770 = undefined; - s.x___9775 = undefined; - s.y___9781 = undefined; - s.c___9787 = undefined; + s.rounds___30485 = undefined; + s.j___30493 = undefined; + s.x___30498 = undefined; + s.y___30504 = undefined; + s.c___30510 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6512,14 +6512,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___9762 = (r0); - s.j___9770 = (0); + s.rounds___30485 = (r0); + s.j___30493 = (0); case 1: - r0 = (s.j___9770 < s.rounds___9762); + r0 = (s.j___30493 < s.rounds___30485); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P2668_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P23391_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -6529,8 +6529,8 @@ switch (step) { s.callLocIdx = 49; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___9775 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P2668_mk(s); + s.x___30498 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P23391_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -6540,42 +6540,42 @@ switch (step) { s.callLocIdx = 50; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___9781 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___9775, s.y___9781); - s.c___9787 = (r0); + s.y___30504 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___30498, s.y___30504); + s.c___30510 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___9775; - r0 = (s.y___9781 + 1); + s.tmp_1 = r0 = s.x___30498; + r0 = (s.y___30504 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___9787); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___30510); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___9775; - r0 = (s.y___9781 + 2); + s.tmp_1 = r0 = s.x___30498; + r0 = (s.y___30504 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___9787); - r0 = (s.j___9770 + 1); - s.j___9770 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___30510); + r0 = (s.j___30493 + 1); + s.j___30493 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P9759.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__P30482.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__P9759_mk(s) { +function melt_inline__P30482_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P9759, depth: s.depth + 1, + parent: s, fn: melt_inline__P30482, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___9762: undefined, - j___9770: undefined, - x___9775: undefined, - y___9781: undefined, - c___9787: undefined, + rounds___30485: undefined, + j___30493: undefined, + x___30498: undefined, + y___30504: undefined, + c___30510: undefined, arg0: undefined, arg1: undefined, } } @@ -6584,7 +6584,7 @@ function melt_inline__P9759_mk(s) { -function Math_FastRandom_randomRange__P2668(s) { +function Math_FastRandom_randomRange__P23391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6601,12 +6601,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2664_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C23387_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__P2667_mk(s); + s.tmp_2 = Math_FastRandom_next__P23390_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1115; s.pc = 3; return s.tmp_2; case 3: @@ -6627,12 +6627,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P2668.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__P23391.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__P2668_mk(s) { +function Math_FastRandom_randomRange__P23391_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P2668, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P23391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6649,7 +6649,7 @@ function Math_FastRandom_randomRange__P2668_mk(s) { -function Math_FastRandom_next__P2667(s) { +function Math_FastRandom_next__P23390(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6664,7 +6664,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2664_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C23387_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -6685,12 +6685,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P2667.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__P23390.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__P2667_mk(s) { +function Math_FastRandom_next__P23390_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P2667, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P23390, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6707,7 +6707,7 @@ function Math_FastRandom_next__P2667_mk(s) { -function effects_ImageEffect_constructor__P2895(s) { +function effects_ImageEffect_constructor__P23618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6724,11 +6724,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C2894_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C23617_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2664_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C23387_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P2666_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P23389_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1447; s.pc = 1; return s.tmp_1; @@ -6741,12 +6741,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P2895.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__P23618.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__P2895_mk(s) { +function effects_ImageEffect_constructor__P23618_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P2895, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P23618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6759,7 +6759,7 @@ function effects_ImageEffect_constructor__P2895_mk(s) { -function confetti_inline__P9867(s) { +function confetti_inline__P30590(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6769,13 +6769,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___9870 = undefined; + s.factory___30593 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C2823_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C23546_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -6810,27 +6810,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P2824_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P23547_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 35; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___9870 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P2800_mk(s); - s.tmp_0.arg0 = s.factory___9870; + s.factory___30593 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P23523_mk(s); + s.tmp_0.arg0 = s.factory___30593; s.tmp_0.arg1 = 30; s.callLocIdx = 36; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C2756_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C23479_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P2761_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P23484_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___9870; + s.tmp_1.arg3 = s.factory___30593; s.callLocIdx = 37; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -6838,12 +6838,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -confetti_inline__P9867.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__P30590.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__P9867_mk(s) { +function confetti_inline__P30590_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P9867, depth: s.depth + 1, + parent: s, fn: confetti_inline__P30590, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6851,7 +6851,7 @@ function confetti_inline__P9867_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___9870: undefined, + factory___30593: undefined, arg0: undefined, arg1: undefined, } } @@ -6860,7 +6860,7 @@ function confetti_inline__P9867_mk(s) { -function particles_ParticleSource_constructor__P2761(s) { +function particles_ParticleSource_constructor__P23484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6870,8 +6870,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9891 = undefined; - s.removedSource___9900 = undefined; + s.sources___30614 = undefined; + s.removedSource___30623 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6880,62 +6880,62 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P1888_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P22611_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1286; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P4632_mk(s); + s.tmp_0 = particles_init__P25355_mk(s); s.callLocIdx = 1287; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P4638_mk(s); + s.tmp_0 = particles_particleSources__P25361_mk(s); s.callLocIdx = 1288; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___9891 = (r0); - r0 = pxsim_Array__length(s.sources___9891); + s.sources___30614 = (r0); + r0 = pxsim_Array__length(s.sources___30614); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___4624); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___25347); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P4635_mk(s); - s.tmp_2.arg0 = s.sources___9891; + s.tmp_2 = particles_sortSources__P25358_mk(s); + s.tmp_2.arg0 = s.sources___30614; s.callLocIdx = 1289; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___9891, 0); - s.removedSource___9900 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P2771_mk(s); - s.tmp_0.arg0 = s.removedSource___9900; + r0 = pxsim_Array_.removeAt(s.sources___30614, 0); + s.removedSource___30623 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P23494_mk(s); + s.tmp_0.arg0 = s.removedSource___30623; s.callLocIdx = 1291; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P2770_mk(s); - s.tmp_0.arg0 = s.removedSource___9900; + s.tmp_0 = particles_ParticleSource_destroy__P23493_mk(s); + s.tmp_0.arg0 = s.removedSource___30623; s.callLocIdx = 1292; 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__P2773_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P23496_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1293; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P2765_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P23488_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.callLocIdx = 1294; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P2772_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P23495_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1295; s.pc = 13; return s.tmp_0; @@ -6950,18 +6950,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___2776; + r0 = globals.defaultFactory___23499; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P2775_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P23498_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 1296; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___9891, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P2769_mk(s); + r0 = pxsim_Array__push(s.sources___30614, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P23492_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1297; s.pc = 15; return s.tmp_0; @@ -6971,18 +6971,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P2761.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__P23484.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__P2761_mk(s) { +function particles_ParticleSource_constructor__P23484_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P2761, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P23484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___9891: undefined, - removedSource___9900: undefined, + sources___30614: undefined, + removedSource___30623: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6993,7 +6993,7 @@ function particles_ParticleSource_constructor__P2761_mk(s) { -function particles_particleSources__P4638(s) { +function particles_particleSources__P25361(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7003,33 +7003,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9300 = undefined; - s.tmp_0 = game_currentScene__P2609_mk(s); + s.sources___30023 = undefined; + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 1353; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___9300 = (r0); - r0 = s.sources___9300; + s.sources___30023 = (r0); + r0 = s.sources___30023; return leave(s, r0) default: oops() } } } -particles_particleSources__P4638.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P25361.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__P4638_mk(s) { +function particles_particleSources__P25361_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P4638, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P25361, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___9300: undefined, + sources___30023: undefined, } } -function particles_sortSources__P4635(s) { +function particles_sortSources__P25358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7043,9 +7043,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P105_mk(s); + s.tmp_0 = helpers_arraySort__P20828_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P10104; + s.tmp_0.arg1 = particles_sortSources_inline__P30827; s.callLocIdx = 1335; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -7053,12 +7053,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources__P4635.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__P25358.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__P4635_mk(s) { +function particles_sortSources__P25358_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P4635, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P25358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7068,7 +7068,7 @@ function particles_sortSources__P4635_mk(s) { -function particles_sortSources_inline__P10104(s) { +function particles_sortSources_inline__P30827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7106,12 +7106,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P10104.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__P30827.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__P10104_mk(s) { +function particles_sortSources_inline__P30827_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P10104, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P30827, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7127,7 +7127,7 @@ function particles_sortSources_inline__P10104_mk(s) { -function helpers_arraySort__P105(s) { +function helpers_arraySort__P20828(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7159,10 +7159,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P10127); + s.arg1 = (helpers_arraySort_inline__P30850); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P3861_mk(s); + s.tmp_0 = helpers_sortHelper__P24584_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 3; s.pc = 5; return s.tmp_0; @@ -7171,12 +7171,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P105.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} +helpers_arraySort__P20828.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} -function helpers_arraySort__P105_mk(s) { +function helpers_arraySort__P20828_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P105, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P20828, 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 helpers_arraySort__P105_mk(s) { -function helpers_arraySort_inline__P10127(s) { +function helpers_arraySort_inline__P30850(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7200,26 +7200,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___10130 = undefined; - s.bIsUndef___10134 = undefined; - s.aIsNull___10145 = undefined; - s.bIsNull___10149 = undefined; + s.aIsUndef___30853 = undefined; + s.bIsUndef___30857 = undefined; + s.aIsNull___30868 = undefined; + s.bIsNull___30872 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___10130 = (r0); + s.aIsUndef___30853 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___10134 = (r0); - s.tmp_0 = r0 = s.aIsUndef___10130; + s.bIsUndef___30857 = (r0); + s.tmp_0 = r0 = s.aIsUndef___30853; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___10134; + r0 = s.bIsUndef___30857; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -7229,13 +7229,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___10130); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___30853); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___10134); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___30857); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -7244,16 +7244,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___10145 = (r0); + s.aIsNull___30868 = (r0); r0 = (s.arg1 === null); - s.bIsNull___10149 = (r0); - s.tmp_0 = r0 = s.aIsNull___10145; + s.bIsNull___30872 = (r0); + s.tmp_0 = r0 = s.aIsNull___30868; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___10149; + r0 = s.bIsNull___30872; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -7263,13 +7263,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___10145); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___30868); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___10149); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___30872); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -7308,12 +7308,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P10127.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__P30850.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__P10127_mk(s) { +function helpers_arraySort_inline__P30850_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P10127, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P30850, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7323,10 +7323,10 @@ function helpers_arraySort_inline__P10127_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___10130: undefined, - bIsUndef___10134: undefined, - aIsNull___10145: undefined, - bIsNull___10149: undefined, + aIsUndef___30853: undefined, + bIsUndef___30857: undefined, + aIsNull___30868: undefined, + bIsNull___30872: undefined, arg0: undefined, arg1: undefined, } } @@ -7335,7 +7335,7 @@ function helpers_arraySort_inline__P10127_mk(s) { -function helpers_sortHelper__P3861(s) { +function helpers_sortHelper__P24584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7345,9 +7345,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___10184 = undefined; - s.i___10187 = undefined; - s.j___10193 = undefined; + s.len___30907 = undefined; + s.i___30910 = undefined; + s.j___30916 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7375,28 +7375,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___10184 = (r0); - s.i___10187 = (0); + s.len___30907 = (r0); + s.i___30910 = (0); case 5: - s.tmp_1 = r0 = s.i___10187; - r0 = (s.len___10184 - 1); + s.tmp_1 = r0 = s.i___30910; + r0 = (s.len___30907 - 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___10187 + 1); - s.j___10193 = (r0); + r0 = (s.i___30910 + 1); + s.j___30916 = (r0); case 6: - r0 = (s.j___10193 < s.len___10184); + r0 = (s.j___30916 < s.len___30907); 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___10187); + r0 = pxsim_Array__getAt(s.arg0, s.i___30910); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___10193); + r0 = pxsim_Array__getAt(s.arg0, s.j___30916); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 1; s.pc = 12; return s.tmp_3; @@ -7407,21 +7407,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P3860_mk(s); + s.tmp_4 = helpers_swap__P24583_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___10187; - s.tmp_4.arg2 = s.j___10193; + s.tmp_4.arg1 = s.i___30910; + s.tmp_4.arg2 = s.j___30916; s.callLocIdx = 2; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___10193 + 1); - s.j___10193 = (r0); + r0 = (s.j___30916 + 1); + s.j___30916 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___10187 + 1); - s.i___10187 = (r0); + r0 = (s.i___30910 + 1); + s.i___30910 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -7429,21 +7429,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P3861.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__P24584.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__P3861_mk(s) { +function helpers_sortHelper__P24584_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P3861, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P24584, 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___10184: undefined, - i___10187: undefined, - j___10193: undefined, + len___30907: undefined, + i___30910: undefined, + j___30916: undefined, arg0: undefined, arg1: undefined, } } @@ -7452,7 +7452,7 @@ function helpers_sortHelper__P3861_mk(s) { -function helpers_swap__P3860(s) { +function helpers_swap__P24583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7462,7 +7462,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___10222 = undefined; + s.temp___30945 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7470,28 +7470,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___10222 = (r0); + s.temp___30945 = (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___10222); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___30945); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P3860.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__P24583.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__P3860_mk(s) { +function helpers_swap__P24583_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P3860, depth: s.depth + 1, + parent: s, fn: helpers_swap__P24583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___10222: undefined, + temp___30945: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7501,7 +7501,7 @@ function helpers_swap__P3860_mk(s) { -function particles_init__P4632(s) { +function particles_init__P25355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7511,33 +7511,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___10249 = undefined; - s.tmp_0 = game_currentScene__P2609_mk(s); + s.scene___30972 = undefined; + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 1325; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___10249 = (r0); - r0 = s.scene___10249.fields["particleSources"]; + s.scene___30972 = (r0); + r0 = s.scene___30972.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___10249; + s.tmp_1 = r0 = s.scene___30972; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___4627 = (r0); - s.tmp_0 = game_onUpdate__P2628_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P4633; + globals.lastUpdate___25350 = (r0); + s.tmp_0 = game_onUpdate__P23351_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P25356; s.callLocIdx = 1326; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P2629_mk(s); + s.tmp_0 = game_onUpdateInterval__P23352_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P4634; + s.tmp_0.arg1 = particles_pruneParticles__P25357; s.callLocIdx = 1327; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -7546,24 +7546,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P4632.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P25355.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__P4632_mk(s) { +function particles_init__P25355_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P4632, depth: s.depth + 1, + parent: s, fn: particles_init__P25355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___10249: undefined, + scene___30972: undefined, } } -function particles_pruneParticles__P4634(s) { +function particles_pruneParticles__P25357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7573,25 +7573,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9137 = undefined; - s.tmp_0 = particles_particleSources__P4638_mk(s); + s.sources___29860 = undefined; + s.tmp_0 = particles_particleSources__P25361_mk(s); s.callLocIdx = 1331; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___9137 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___9137); + s.sources___29860 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___29860); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_1 = helpers_arraySlice__P115_mk(s); - s.tmp_1.arg0 = s.sources___9137; + s.tmp_0 = helpers_arrayForEach__P20832_mk(s); + s.tmp_1 = helpers_arraySlice__P20838_mk(s); + s.tmp_1.arg0 = s.sources___29860; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___9137); + r0 = pxsim_Array__length(s.sources___29860); s.tmp_1.arg2 = r0; s.callLocIdx = 1332; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P9146; + s.tmp_0.arg1 = particles_pruneParticles_inline__P29869; s.callLocIdx = 1334; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -7601,23 +7601,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P4634.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P25357.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__P4634_mk(s) { +function particles_pruneParticles__P25357_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P4634, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P25357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___9137: undefined, + sources___29860: undefined, } } -function particles_pruneParticles_inline__P9146(s) { +function particles_pruneParticles_inline__P29869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7631,7 +7631,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P2764_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P23487_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1333; s.pc = 1; return s.tmp_0; case 1: @@ -7640,12 +7640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P9146.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__P29869.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__P9146_mk(s) { +function particles_pruneParticles_inline__P29869_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P9146, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P29869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7655,7 +7655,7 @@ function particles_pruneParticles_inline__P9146_mk(s) { -function particles_ParticleSource__prune__P2764(s) { +function particles_ParticleSource__prune__P23487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7665,15 +7665,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___9176 = undefined; - s.sources___9184 = undefined; - s.current___9198 = undefined; + s.scene___29899 = undefined; + s.sources___29907 = undefined; + s.current___29921 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -7716,36 +7716,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P2609_mk(s); + s.tmp_5 = game_currentScene__P23332_mk(s); s.callLocIdx = 1306; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___9176 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___9176); + s.scene___29899 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___29899); if (!r0) { step = 7; continue; } - r0 = s.scene___9176.fields["allSprites"]; + r0 = s.scene___29899.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P4638_mk(s); + s.tmp_0 = particles_particleSources__P25361_mk(s); s.callLocIdx = 1307; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___9184 = (r0); - s.tmp_0 = r0 = s.sources___9184; + s.sources___29907 = (r0); + s.tmp_0 = r0 = s.sources___29907; 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___9184); + r0 = pxsim_Array__length(s.sources___29907); 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___9184, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___29907, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -7754,35 +7754,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___9198 = (r0); + s.current___29921 = (r0); case 15: - s.tmp_0 = r0 = s.current___9198; + s.tmp_0 = r0 = s.current___29921; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___9198.fields["next"]; + r0 = s.current___29921.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___9198.fields["next"]; + r0 = s.current___29921.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___9198.fields["next"]; + r0 = s.current___29921.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___9198).fields["next"] = (s.tmp_4); + r0 = (s.current___29921).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___9198.fields["next"]; - s.current___9198 = (r0); + r0 = s.current___29921.fields["next"]; + s.current___29921 = (r0); case 19: { step = 15; continue; } case 20: @@ -7790,12 +7790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P2764.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__P23487.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__P2764_mk(s) { +function particles_ParticleSource__prune__P23487_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P2764, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P23487, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7803,9 +7803,9 @@ function particles_ParticleSource__prune__P2764_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___9176: undefined, - sources___9184: undefined, - current___9198: undefined, + scene___29899: undefined, + sources___29907: undefined, + current___29921: undefined, arg0: undefined, } } @@ -7813,7 +7813,7 @@ function particles_ParticleSource__prune__P2764_mk(s) { -function helpers_arraySlice__P115(s) { +function helpers_arraySlice__P20838(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7823,9 +7823,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___9221 = undefined; - s.len___9223 = undefined; - s.i___9257 = undefined; + s.res___29944 = undefined; + s.len___29946 = undefined; + s.i___29980 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7833,9 +7833,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___9221 = (r0); + s.res___29944 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___9223 = (r0); + s.len___29946 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -7847,8 +7847,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P130_mk(s); - r0 = (s.len___9223 + s.arg1); + s.tmp_1 = Math_max__P20853_mk(s); + r0 = (s.len___29946 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 10; s.pc = 16; return s.tmp_1; @@ -7858,11 +7858,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___9223); + r0 = (s.arg1 > s.len___29946); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___9221; + r0 = s.res___29944; { step = 15; continue; } case 5: case 6: @@ -7870,57 +7870,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___9223); + s.arg2 = (s.len___29946); { 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___9223 + s.arg2); + r0 = (s.len___29946 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___9223); + r0 = (s.arg2 > s.len___29946); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___9223); + s.arg2 = (s.len___29946); case 11: case 12: - s.i___9257 = (s.arg1); + s.i___29980 = (s.arg1); case 13: - r0 = (s.i___9257 < s.arg2); + r0 = (s.i___29980 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___9221; - r0 = pxsim_Array__getAt(s.arg0, s.i___9257); + s.tmp_1 = r0 = s.res___29944; + r0 = pxsim_Array__getAt(s.arg0, s.i___29980); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___9257 + 1); - s.i___9257 = (r0); + r0 = (s.i___29980 + 1); + s.i___29980 = (r0); { step = 13; continue; } case 14: - r0 = s.res___9221; + r0 = s.res___29944; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P115.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +helpers_arraySlice__P20838.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} -function helpers_arraySlice__P115_mk(s) { +function helpers_arraySlice__P20838_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P115, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P20838, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___9221: undefined, - len___9223: undefined, - i___9257: undefined, + res___29944: undefined, + len___29946: undefined, + i___29980: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7930,7 +7930,7 @@ function helpers_arraySlice__P115_mk(s) { -function particles_updateParticles__P4633(s) { +function particles_updateParticles__P25356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7940,16 +7940,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___10264 = undefined; - s.time___10271 = undefined; - s.dt___10274 = undefined; - s.i___10280 = undefined; - s.tmp_0 = particles_particleSources__P4638_mk(s); + s.sources___30987 = undefined; + s.time___30994 = undefined; + s.dt___30997 = undefined; + s.i___31003 = undefined; + s.tmp_0 = particles_particleSources__P25361_mk(s); s.callLocIdx = 1328; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___10264 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___10264); + s.sources___30987 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___30987); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7958,34 +7958,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P4635_mk(s); - s.tmp_2.arg0 = s.sources___10264; + s.tmp_2 = particles_sortSources__P25358_mk(s); + s.tmp_2.arg0 = s.sources___30987; s.callLocIdx = 1329; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___10271 = (r0); - r0 = (s.time___10271 - globals.lastUpdate___4627); - s.dt___10274 = (r0); - globals.lastUpdate___4627 = (s.time___10271); - s.i___10280 = (0); + s.time___30994 = (r0); + r0 = (s.time___30994 - globals.lastUpdate___25350); + s.dt___30997 = (r0); + globals.lastUpdate___25350 = (s.time___30994); + s.i___31003 = (0); case 3: - s.tmp_1 = r0 = s.i___10280; - r0 = pxsim_Array__length(s.sources___10264); + s.tmp_1 = r0 = s.i___31003; + r0 = pxsim_Array__length(s.sources___30987); 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__P2763_mk(s); - r0 = pxsim_Array__getAt(s.sources___10264, s.i___10280); + s.tmp_3 = particles_ParticleSource__update__P23486_mk(s); + r0 = pxsim_Array__getAt(s.sources___30987, s.i___31003); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___10274; + s.tmp_3.arg1 = s.dt___30997; s.callLocIdx = 1330; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___10280 + 1); - s.i___10280 = (r0); + r0 = (s.i___31003 + 1); + s.i___31003 = (r0); { step = 3; continue; } case 4: case 5: @@ -7993,28 +7993,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P4633.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P25356.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__P4633_mk(s) { +function particles_updateParticles__P25356_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P4633, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P25356, 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___10264: undefined, - time___10271: undefined, - dt___10274: undefined, - i___10280: undefined, + sources___30987: undefined, + time___30994: undefined, + dt___30997: undefined, + i___31003: undefined, } } -function particles_ParticleSource__update__P2763(s) { +function particles_ParticleSource__update__P23486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8024,16 +8024,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___10343 = undefined; - s.current___10362 = undefined; - s.fixedDt___10370 = undefined; + s.p___31066 = undefined; + s.current___31085 = undefined; + s.fixedDt___31093 = 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__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -8059,7 +8059,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__P2770_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P23493_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1301; s.pc = 28; return s.tmp_0; case 28: @@ -8132,7 +8132,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P2768_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P23491_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1304; s.pc = 31; return s.tmp_2; case 31: @@ -8150,18 +8150,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__C2792_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C23515_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__C2792_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C23515_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___10343 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___10343); + s.p___31066 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___31066); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -8172,8 +8172,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___10343).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___10343); + r0 = (s.p___31066).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___31066); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -8188,7 +8188,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___10362 = (r0); + s.current___31085 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -8200,36 +8200,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___10370 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___10370); + s.fixedDt___31093 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___31093); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___10362.fields["lifespan"]; + r0 = s.current___31085.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___10362; + s.tmp_2 = r0 = s.current___31085; 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__C2756_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C23479_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___10362; - s.tmp_0.arg2 = s.fixedDt___10370; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C2756_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___31085; + s.tmp_0.arg2 = s.fixedDt___31093; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C23479_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___10362.fields["next"]; + r0 = s.current___31085.fields["next"]; s.tmp_0 = r0; - s.current___10362 = (r0); + s.current___31085 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -8238,15 +8238,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___10362; + s.tmp_0 = r0 = s.current___31085; 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___10362.fields["next"]; + r0 = s.current___31085.fields["next"]; s.tmp_0 = r0; - s.current___10362 = (r0); + s.current___31085 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -8257,12 +8257,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P2763.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__P23486.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__P2763_mk(s) { +function particles_ParticleSource__update__P23486_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P2763, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P23486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8272,9 +8272,9 @@ function particles_ParticleSource__update__P2763_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___10343: undefined, - current___10362: undefined, - fixedDt___10370: undefined, + p___31066: undefined, + current___31085: undefined, + fixedDt___31093: undefined, arg0: undefined, arg1: undefined, } } @@ -8283,7 +8283,7 @@ function particles_ParticleSource__update__P2763_mk(s) { -function particles_ParticleSource_updateParticle__P4629(s) { +function particles_ParticleSource_updateParticle__P25352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8300,7 +8300,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -8355,12 +8355,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P4629.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__P25352.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__P4629_mk(s) { +function particles_ParticleSource_updateParticle__P25352_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P4629, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P25352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8377,7 +8377,7 @@ function particles_ParticleSource_updateParticle__P4629_mk(s) { -function Fx_rightShift__P169(s) { +function Fx_rightShift__P20892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8396,12 +8396,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P169.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} +Fx_rightShift__P20892.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} -function Fx_rightShift__P169_mk(s) { +function Fx_rightShift__P20892_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P169, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P20892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8411,7 +8411,7 @@ function Fx_rightShift__P169_mk(s) { -function Fx_mul__P160(s) { +function Fx_mul__P20883(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8432,12 +8432,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P160.info = {"start":872,"length":133,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"mul","argumentNames":["a","b"]} +Fx_mul__P20883.info = {"start":872,"length":133,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"mul","argumentNames":["a","b"]} -function Fx_mul__P160_mk(s) { +function Fx_mul__P20883_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P160, depth: s.depth + 1, + parent: s, fn: Fx_mul__P20883, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8448,7 +8448,7 @@ function Fx_mul__P160_mk(s) { -function Fx_add__P157(s) { +function Fx_add__P20880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8467,12 +8467,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P157.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} +Fx_add__P20880.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} -function Fx_add__P157_mk(s) { +function Fx_add__P20880_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P157, depth: s.depth + 1, + parent: s, fn: Fx_add__P20880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8482,7 +8482,7 @@ function Fx_add__P157_mk(s) { -function particles_ParticleFactory_createParticle__P2794(s) { +function particles_ParticleFactory_createParticle__P23517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8492,17 +8492,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___10467 = undefined; + s.p___31190 = 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__C2792_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C2737_VT); - s.p___10467 = (r0); - s.tmp_0 = r0 = s.p___10467; + if (!checkSubtype(r0, particles_ParticleFactory__C23515_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C23460_VT); + s.p___31190 = (r0); + s.tmp_0 = r0 = s.p___31190; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -8521,7 +8521,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___10467; + s.tmp_0 = r0 = s.p___31190; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -8540,26 +8540,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___10467).fields["vx"] = (0); - r0 = (s.p___10467).fields["vy"] = (0); - r0 = (s.p___10467).fields["lifespan"] = (500); - r0 = s.p___10467; + r0 = (s.p___31190).fields["vx"] = (0); + r0 = (s.p___31190).fields["vy"] = (0); + r0 = (s.p___31190).fields["lifespan"] = (500); + r0 = s.p___31190; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P2794.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__P23517.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__P2794_mk(s) { +function particles_ParticleFactory_createParticle__P23517_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P2794, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P23517, 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___10467: undefined, + p___31190: undefined, arg0: undefined, arg1: undefined, } } @@ -8568,7 +8568,7 @@ function particles_ParticleFactory_createParticle__P2794_mk(s) { -function MAX_SOURCES_inline__P10235(s) { +function MAX_SOURCES_inline__P30958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8578,13 +8578,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___10236 = undefined; - s.tmp_0 = control_ramSize__P344_mk(s); + s.sz___30959 = undefined; + s.tmp_0 = control_ramSize__P21067_mk(s); s.callLocIdx = 29; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___10236 = (r0); - r0 = (s.sz___10236 <= 102400); + s.sz___30959 = (r0); + r0 = (s.sz___30959 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -8592,7 +8592,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___10236 <= 204800); + r0 = (s.sz___30959 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -8609,23 +8609,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P10235.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__P30958.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__P10235_mk(s) { +function MAX_SOURCES_inline__P30958_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P10235, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P30958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___10236: undefined, + sz___30959: undefined, } } -function particles_SprayFactory_constructor__P2797(s) { +function particles_SprayFactory_constructor__P23520(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8643,19 +8643,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C2796_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C23519_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P4653_mk(s); + s.tmp_0 = particles_initTrig__P25376_mk(s); s.callLocIdx = 1367; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P2800_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P23523_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1368; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P2801_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P23524_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -8666,12 +8666,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P2797.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__P23520.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__P2797_mk(s) { +function particles_SprayFactory_constructor__P23520_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P2797, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P23520, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8684,7 +8684,7 @@ function particles_SprayFactory_constructor__P2797_mk(s) { -function particles_initTrig__P4653(s) { +function particles_initTrig__P25376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8694,36 +8694,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___4639); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___25362); 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__P2790_mk(s); + s.tmp_2 = particles_cacheSin__P23513_mk(s); s.tmp_2.arg0 = 100; s.callLocIdx = 1355; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___4639 = (r0); - s.tmp_0 = particles_cacheCos__P2791_mk(s); + globals.cachedSin___25362 = (r0); + s.tmp_0 = particles_cacheCos__P23514_mk(s); s.tmp_0.arg0 = 100; s.callLocIdx = 1356; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___4640 = (r0); + globals.cachedCos___25363 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P4653.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P25376.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__P4653_mk(s) { +function particles_initTrig__P25376_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P4653, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P25376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8734,7 +8734,7 @@ function particles_initTrig__P4653_mk(s) { -function particles_cacheCos__P2791(s) { +function particles_cacheCos__P23514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8744,25 +8744,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___10000 = undefined; - s.anglePerSlice___10002 = undefined; - s.i___10008 = undefined; + s.cos___30723 = undefined; + s.anglePerSlice___30725 = undefined; + s.i___30731 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___10000 = (r0); + s.cos___30723 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___10002 = (r0); - s.i___10008 = (0); + s.anglePerSlice___30725 = (r0); + s.i___30731 = (0); case 1: - r0 = (s.i___10008 < s.arg0); + r0 = (s.i___30731 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___10000; - r0 = (s.i___10008 * s.anglePerSlice___10002); + s.tmp_1 = r0 = s.cos___30723; + r0 = (s.i___30731 * s.anglePerSlice___30725); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -8771,20 +8771,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___10008 + 1); - s.i___10008 = (r0); + r0 = (s.i___30731 + 1); + s.i___30731 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___10000; + r0 = s.cos___30723; return leave(s, r0) default: oops() } } } -particles_cacheCos__P2791.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__P23514.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__P2791_mk(s) { +function particles_cacheCos__P23514_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P2791, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P23514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8792,9 +8792,9 @@ function particles_cacheCos__P2791_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___10000: undefined, - anglePerSlice___10002: undefined, - i___10008: undefined, + cos___30723: undefined, + anglePerSlice___30725: undefined, + i___30731: undefined, arg0: undefined, } } @@ -8802,7 +8802,7 @@ function particles_cacheCos__P2791_mk(s) { -function particles_cacheSin__P2790(s) { +function particles_cacheSin__P23513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8812,25 +8812,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___10026 = undefined; - s.anglePerSlice___10028 = undefined; - s.i___10034 = undefined; + s.sin___30749 = undefined; + s.anglePerSlice___30751 = undefined; + s.i___30757 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___10026 = (r0); + s.sin___30749 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___10028 = (r0); - s.i___10034 = (0); + s.anglePerSlice___30751 = (r0); + s.i___30757 = (0); case 1: - r0 = (s.i___10034 < s.arg0); + r0 = (s.i___30757 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___10026; - r0 = (s.i___10034 * s.anglePerSlice___10028); + s.tmp_1 = r0 = s.sin___30749; + r0 = (s.i___30757 * s.anglePerSlice___30751); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -8839,20 +8839,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___10034 + 1); - s.i___10034 = (r0); + r0 = (s.i___30757 + 1); + s.i___30757 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___10026; + r0 = s.sin___30749; return leave(s, r0) default: oops() } } } -particles_cacheSin__P2790.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__P23513.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__P2790_mk(s) { +function particles_cacheSin__P23513_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P2790, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P23513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8860,9 +8860,9 @@ function particles_cacheSin__P2790_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___10026: undefined, - anglePerSlice___10028: undefined, - i___10034: undefined, + sin___30749: undefined, + anglePerSlice___30751: undefined, + i___30757: undefined, arg0: undefined, } } @@ -8870,7 +8870,7 @@ function particles_cacheSin__P2790_mk(s) { -function particles_SprayFactory_setDirection__P2801(s) { +function particles_SprayFactory_setDirection__P23524(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8887,9 +8887,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C2796_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C23519_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P4658_mk(s); + s.tmp_4 = particles_toRadians__P25381_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -8899,19 +8899,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___4652); + r0 = (s.tmp_3 / globals.angleSlice___25375); 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__P4658_mk(s); + s.tmp_4 = particles_toRadians__P25381_mk(s); s.tmp_4.arg0 = s.arg2; s.callLocIdx = 1378; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___4652); + r0 = (s.tmp_3 / globals.angleSlice___25375); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -8920,12 +8920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P2801.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__P23524.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__P2801_mk(s) { +function particles_SprayFactory_setDirection__P23524_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P2801, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P23524, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8943,7 +8943,7 @@ function particles_SprayFactory_setDirection__P2801_mk(s) { -function particles_toRadians__P4658(s) { +function particles_toRadians__P25381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8961,7 +8961,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P128_mk(s); + s.tmp_3 = Math_abs__P20851_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1359; s.pc = 3; return s.tmp_3; case 3: @@ -8980,12 +8980,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P4658.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__P25381.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__P4658_mk(s) { +function particles_toRadians__P25381_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P4658, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P25381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8998,7 +8998,7 @@ function particles_toRadians__P4658_mk(s) { -function Math_abs__P128(s) { +function Math_abs__P20851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9027,12 +9027,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P128.info = {"start":16095,"length":77,"line":538,"column":4,"endLine":540,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P20851.info = {"start":16095,"length":77,"line":538,"column":4,"endLine":540,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P128_mk(s) { +function Math_abs__P20851_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P128, depth: s.depth + 1, + parent: s, fn: Math_abs__P20851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9043,7 +9043,7 @@ function Math_abs__P128_mk(s) { -function particles_ParticleFactory_constructor__P2793(s) { +function particles_ParticleFactory_constructor__P23516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9058,17 +9058,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C2792_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C23515_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P2793.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__P23516.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__P2793_mk(s) { +function particles_ParticleFactory_constructor__P23516_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P2793, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P23516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9077,7 +9077,7 @@ function particles_ParticleFactory_constructor__P2793_mk(s) { -function particles_ParticleSource_setFactory__P2775(s) { +function particles_ParticleSource_setFactory__P23498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9093,7 +9093,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -9103,12 +9103,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P2775.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__P23498.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__P2775_mk(s) { +function particles_ParticleSource_setFactory__P23498_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P2775, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P23498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9118,7 +9118,7 @@ function particles_ParticleSource_setFactory__P2775_mk(s) { -function particles_ParticleSource_setRate__P2773(s) { +function particles_ParticleSource_setRate__P23496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9134,7 +9134,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -9146,12 +9146,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P2773.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__P23496.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__P2773_mk(s) { +function particles_ParticleSource_setRate__P23496_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P2773, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P23496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9164,7 +9164,7 @@ function particles_ParticleSource_setRate__P2773_mk(s) { -function particles_ParticleSource_setAnchor__P2772(s) { +function particles_ParticleSource_setAnchor__P23495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9180,18 +9180,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P2772.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__P23495.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__P2772_mk(s) { +function particles_ParticleSource_setAnchor__P23495_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P2772, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P23495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9201,7 +9201,7 @@ function particles_ParticleSource_setAnchor__P2772_mk(s) { -function particles_ParticleSource_clear__P2771(s) { +function particles_ParticleSource_clear__P23494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9216,18 +9216,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P2771.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__P23494.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__P2771_mk(s) { +function particles_ParticleSource_clear__P23494_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P2771, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P23494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9236,7 +9236,7 @@ function particles_ParticleSource_clear__P2771_mk(s) { -function particles_ParticleSource_destroy__P2770(s) { +function particles_ParticleSource_destroy__P23493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9251,8 +9251,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P2769_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P23492_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1311; s.pc = 1; return s.tmp_0; @@ -9264,7 +9264,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__P2764_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P23487_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1312; s.pc = 2; return s.tmp_0; case 2: @@ -9273,12 +9273,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P2770.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__P23493.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__P2770_mk(s) { +function particles_ParticleSource_destroy__P23493_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P2770, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P23493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9290,7 +9290,7 @@ function particles_ParticleSource_destroy__P2770_mk(s) { -function particles_ParticleSource_enabled__P2769(s) { +function particles_ParticleSource_enabled__P23492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9306,9 +9306,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P2768_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P23491_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1310; s.pc = 5; return s.tmp_3; case 5: @@ -9339,12 +9339,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P2769.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__P23492.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__P2769_mk(s) { +function particles_ParticleSource_enabled__P23492_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P2769, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P23492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9361,7 +9361,7 @@ function particles_ParticleSource_enabled__P2769_mk(s) { -function particles_ParticleSource_enabled__P2768(s) { +function particles_ParticleSource_enabled__P23491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9376,7 +9376,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -9391,13 +9391,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P2768.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__P2768.isGetter = true; +particles_ParticleSource_enabled__P23491.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__P23491.isGetter = true; -function particles_ParticleSource_enabled__P2768_mk(s) { +function particles_ParticleSource_enabled__P23491_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P2768, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P23491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9411,7 +9411,7 @@ function particles_ParticleSource_enabled__P2768_mk(s) { -function particles_ParticleSource_setAcceleration__P2765(s) { +function particles_ParticleSource_setAcceleration__P23488(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9428,7 +9428,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9445,12 +9445,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P2765.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__P23488.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__P2765_mk(s) { +function particles_ParticleSource_setAcceleration__P23488_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P2765, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P23488, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9464,7 +9464,7 @@ function particles_ParticleSource_setAcceleration__P2765_mk(s) { -function sprites_BaseSprite_constructor__P1888(s) { +function sprites_BaseSprite_constructor__P22611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9480,15 +9480,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1886_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P1891_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C22609_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P22614_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 165; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P2521_mk(s); - s.tmp_1 = game_currentScene__P2609_mk(s); + s.tmp_0 = scene_Scene_addSprite__P23244_mk(s); + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 166; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -9501,12 +9501,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P1888.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__P22611.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__P1888_mk(s) { +function sprites_BaseSprite_constructor__P22611_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P1888, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P22611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9518,7 +9518,7 @@ function sprites_BaseSprite_constructor__P1888_mk(s) { -function scene_Scene_addSprite__P2521(s) { +function scene_Scene_addSprite__P23244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9534,7 +9534,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2496_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C23219_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -9561,12 +9561,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P2521.info = {"start":6859,"length":128,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P23244.info = {"start":6859,"length":128,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function scene_Scene_addSprite__P2521_mk(s) { +function scene_Scene_addSprite__P23244_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P2521, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P23244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9580,7 +9580,7 @@ function scene_Scene_addSprite__P2521_mk(s) { -function sprites_BaseSprite_z__P1891(s) { +function sprites_BaseSprite_z__P22614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9596,7 +9596,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1886_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C22609_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -9604,7 +9604,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__P2609_mk(s); + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 168; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -9620,12 +9620,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P1891.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__P22614.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__P1891_mk(s) { +function sprites_BaseSprite_z__P22614_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P1891, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P22614, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9639,7 +9639,7 @@ function sprites_BaseSprite_z__P1891_mk(s) { -function sprites_BaseSprite_z__P1890(s) { +function sprites_BaseSprite_z__P22613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9654,18 +9654,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1886_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C22609_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P1890.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__P1890.isGetter = true; +sprites_BaseSprite_z__P22613.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__P22613.isGetter = true; -function sprites_BaseSprite_z__P1890_mk(s) { +function sprites_BaseSprite_z__P22613_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P1890, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P22613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9674,7 +9674,7 @@ function sprites_BaseSprite_z__P1890_mk(s) { -function helpers_arrayShift__P102(s) { +function helpers_arrayShift__P20825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9692,12 +9692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P102.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} +helpers_arrayShift__P20825.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} -function helpers_arrayShift__P102_mk(s) { +function helpers_arrayShift__P20825_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P102, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P20825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9706,7 +9706,7 @@ function helpers_arrayShift__P102_mk(s) { -function particles_SprayFactory_setSpeed__P2800(s) { +function particles_SprayFactory_setSpeed__P23523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9722,7 +9722,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C2796_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C23519_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9733,12 +9733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P2800.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__P23523.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__P2800_mk(s) { +function particles_SprayFactory_setSpeed__P23523_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P2800, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P23523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9751,7 +9751,7 @@ function particles_SprayFactory_setSpeed__P2800_mk(s) { -function particles_ConfettiFactory_constructor__P2824(s) { +function particles_ConfettiFactory_constructor__P23547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9761,8 +9761,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___10536 = undefined; - s.i___10552 = undefined; + s.confetti___31259 = undefined; + s.i___31275 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9770,52 +9770,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C2823_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C23546_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex10539); + r0 = pxsim.image.ofBuffer(_hex31262); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex10541); + r0 = pxsim.image.ofBuffer(_hex31264); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex10543); + r0 = pxsim.image.ofBuffer(_hex31266); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex10545); + r0 = pxsim.image.ofBuffer(_hex31268); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex10547); + r0 = pxsim.image.ofBuffer(_hex31270); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___10536 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P2819_mk(s); + s.confetti___31259 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P23542_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___10536, 0); + r0 = pxsim_Array__getAt(s.confetti___31259, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1401; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___10552 = (1); + s.i___31275 = (1); case 1: - s.tmp_1 = r0 = s.i___10552; - r0 = pxsim_Array__length(s.confetti___10536); + s.tmp_1 = r0 = s.i___31275; + r0 = pxsim_Array__length(s.confetti___31259); 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__P2820_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P23543_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___10536, s.i___10552); + r0 = pxsim_Array__getAt(s.confetti___31259, s.i___31275); s.tmp_3.arg1 = r0; s.callLocIdx = 1402; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___10552 + 1); - s.i___10552 = (r0); + r0 = (s.i___31275 + 1); + s.i___31275 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -9824,12 +9824,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P2824.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__P23547.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__P2824_mk(s) { +function particles_ConfettiFactory_constructor__P23547_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P2824, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P23547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9837,23 +9837,23 @@ function particles_ConfettiFactory_constructor__P2824_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___10536: undefined, - i___10552: undefined, + confetti___31259: undefined, + i___31275: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex10539 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex10541 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex10543 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex10545 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex10547 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex31262 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex31264 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex31266 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex31268 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex31270 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P2820(s) { +function particles_ShapeFactory_addShape__P23543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9869,7 +9869,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C2818_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C23541_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -9881,12 +9881,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P2820.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__P23543.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__P2820_mk(s) { +function particles_ShapeFactory_addShape__P23543_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P2820, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P23543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9897,7 +9897,7 @@ function particles_ShapeFactory_addShape__P2820_mk(s) { -function particles_ShapeFactory_constructor__P2819(s) { +function particles_ShapeFactory_constructor__P23542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9915,8 +9915,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C2818_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P2807_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C23541_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P23530_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -9953,12 +9953,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P2819.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__P23542.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__P2819_mk(s) { +function particles_ShapeFactory_constructor__P23542_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P2819, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P23542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9975,7 +9975,7 @@ function particles_ShapeFactory_constructor__P2819_mk(s) { -function particles_AreaFactory_constructor__P2807(s) { +function particles_AreaFactory_constructor__P23530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9994,8 +9994,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C2802_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P2797_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C23525_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P23520_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -10025,9 +10025,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__C2664_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C23387_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P2666_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P23389_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1380; s.pc = 6; return s.tmp_1; @@ -10038,12 +10038,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P2807.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__P23530.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__P2807_mk(s) { +function particles_AreaFactory_constructor__P23530_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P2807, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P23530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10058,7 +10058,7 @@ function particles_AreaFactory_constructor__P2807_mk(s) { -function effects_ScreenEffect_constructor__P2872(s) { +function effects_ScreenEffect_constructor__P23595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10077,8 +10077,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C2871_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P2868_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C23594_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P23591_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -10091,12 +10091,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P2872.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__P23595.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__P2872_mk(s) { +function effects_ScreenEffect_constructor__P23595_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P2872, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P23595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10110,7 +10110,7 @@ function effects_ScreenEffect_constructor__P2872_mk(s) { -function effects_ParticleEffect_constructor__P2868(s) { +function effects_ParticleEffect_constructor__P23591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10128,7 +10128,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C2867_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C23590_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -10136,12 +10136,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P2868.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__P23591.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__P2868_mk(s) { +function effects_ParticleEffect_constructor__P23591_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P2868, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P23591, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10153,7 +10153,7 @@ function effects_ParticleEffect_constructor__P2868_mk(s) { -function scene_Scene_init__P2518(s) { +function scene_Scene_init__P23241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10168,7 +10168,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2496_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C23219_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10176,7 +10176,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P1728_mk(s); + s.tmp_1 = power_poke__P22451_mk(s); s.callLocIdx = 938; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -10185,10 +10185,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__P10671); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P31394); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P21124_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -10196,18 +10196,18 @@ switch (step) { s.callLocIdx = 941; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P401_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P21124_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P1925; + s.tmp_0.arg2 = controller__moveSprites__P22648; s.callLocIdx = 942; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P10694); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P31417); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P21124_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -10215,10 +10215,10 @@ switch (step) { s.callLocIdx = 944; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P10707); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P31430); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P21124_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -10226,10 +10226,10 @@ switch (step) { s.callLocIdx = 948; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P10728); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P31451); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P21124_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -10237,10 +10237,10 @@ switch (step) { s.callLocIdx = 950; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P10736); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P31459); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P21124_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -10248,19 +10248,19 @@ switch (step) { s.callLocIdx = 954; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P401_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P21124_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P1788; + s.tmp_0.arg2 = control___screen_update__P22511; s.callLocIdx = 955; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P10765); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P31488); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___2516; + s.tmp_1 = helpers_arrayForEach__P20832_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___23239; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 957; s.pc = 12; return s.tmp_1; case 12: @@ -10270,12 +10270,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P2518.info = {"start":4168,"length":2477,"line":122,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P23241.info = {"start":4168,"length":2477,"line":122,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -function scene_Scene_init__P2518_mk(s) { +function scene_Scene_init__P23241_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P2518, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P23241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10286,7 +10286,7 @@ function scene_Scene_init__P2518_mk(s) { -function scene_Scene_init_inline__P10671(s) { +function scene_Scene_init_inline__P31394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10305,7 +10305,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__P1953_mk(s); + s.tmp_0 = controller___update__P22676_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -10319,12 +10319,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P10671.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P31394.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P10671_mk(s) { +function scene_Scene_init_inline__P31394_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P10671, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P31394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10336,7 +10336,7 @@ function scene_Scene_init_inline__P10671_mk(s) { -function scene_Scene_init_inline__P10694(s) { +function scene_Scene_init_inline__P31417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10346,7 +10346,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C2238_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C22961_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -10355,7 +10355,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2238_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C22961_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: @@ -10364,12 +10364,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P10694.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P31417.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P10694_mk(s) { +function scene_Scene_init_inline__P31417_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P10694, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P31417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10380,7 +10380,7 @@ function scene_Scene_init_inline__P10694_mk(s) { -function scene_Scene_init_inline__P10707(s) { +function scene_Scene_init_inline__P31430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10390,39 +10390,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___10708 = undefined; - s.s___10716 = undefined; - s.unnamed74___U2 = undefined; - s.unnamed75___U3 = undefined; + s.dt___31431 = undefined; + s.s___31439 = undefined; + s.unnamed154___U2 = undefined; + s.unnamed155___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___10708 = (r0); - s.tmp_0 = scene_Camera_update__P2453_mk(s); + s.dt___31431 = (r0); + s.tmp_0 = scene_Camera_update__P23176_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 946; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___10716 = (undefined); + s.s___31439 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed74___U2 = (r0); - s.unnamed75___U3 = (0); + s.unnamed154___U2 = (r0); + s.unnamed155___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed75___U3; - r0 = pxsim_Array__length(s.unnamed74___U2); + s.tmp_0 = r0 = s.unnamed155___U3; + r0 = pxsim_Array__length(s.unnamed154___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed74___U2, s.unnamed75___U3); - s.s___10716 = (r0); + r0 = pxsim_Array__getAt(s.unnamed154___U2, s.unnamed155___U3); + s.s___31439 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___10716; + s.tmp_2.arg0 = s.s___31439; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___10708; + s.tmp_2.arg2 = s.dt___31431; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 947; s.pc = 4; return s.tmp_2; @@ -10434,36 +10434,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed75___U3 + 1); - s.unnamed75___U3 = (r0); + r0 = (s.unnamed155___U3 + 1); + s.unnamed155___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed74___U2 = (undefined); + s.unnamed154___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P10707.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P31430.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P10707_mk(s) { +function scene_Scene_init_inline__P31430_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P10707, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P31430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___10708: undefined, - s___10716: undefined, - unnamed74___U2: undefined, - unnamed75___U3: undefined, + dt___31431: undefined, + s___31439: undefined, + unnamed154___U2: undefined, + unnamed155___U3: undefined, } } -function scene_Scene_init_inline__P10728(s) { +function scene_Scene_init_inline__P31451(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10473,7 +10473,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P2523_mk(s); + s.tmp_0 = scene_Scene_render__P23246_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 949; s.pc = 1; return s.tmp_0; case 1: @@ -10482,12 +10482,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P10728.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P31451.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P10728_mk(s) { +function scene_Scene_init_inline__P31451_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P10728, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P31451, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -10496,7 +10496,7 @@ function scene_Scene_init_inline__P10728_mk(s) { -function scene_Scene_init_inline__P10736(s) { +function scene_Scene_init_inline__P31459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10506,26 +10506,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___2606; + s.tmp_0 = r0 = globals.stats___23329; 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___396; + r0 = globals.control_EventContext_onStats___21119; 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___396; - if ((globals.control_EventContext_lastStats___395) && (globals.control_EventContext_lastStats___395).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___21119; + if ((globals.control_EventContext_lastStats___21118) && (globals.control_EventContext_lastStats___21118).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___395); + pxsim_String__stringConv(globals.control_EventContext_lastStats___21118); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___395) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___21118) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -10561,23 +10561,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___2605); + r0 = pxsim_numops_toBoolDecr(globals.debug___23328); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C2238_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C22961_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2238_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C22961_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__P2732_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P23455_mk(s); s.callLocIdx = 952; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P1729_mk(s); + s.tmp_0 = power_checkDeepSleep__P22452_mk(s); s.callLocIdx = 953; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -10585,12 +10585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P10736.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P31459.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P10736_mk(s) { +function scene_Scene_init_inline__P31459_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P10736, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P31459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10607,7 +10607,7 @@ function scene_Scene_init_inline__P10736_mk(s) { -function scene_Scene_init_inline__P10765(s) { +function scene_Scene_init_inline__P31488(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10632,12 +10632,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P10765.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +scene_Scene_init_inline__P31488.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function scene_Scene_init_inline__P10765_mk(s) { +function scene_Scene_init_inline__P31488_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P10765, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P31488, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10647,7 +10647,7 @@ function scene_Scene_init_inline__P10765_mk(s) { -function game_consoleOverlay_draw__P2732(s) { +function game_consoleOverlay_draw__P23455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10657,16 +10657,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___10814 = undefined; - s.top___10819 = undefined; - s.i___10825 = undefined; - s.t___10838 = undefined; - s.tOff___10845 = undefined; - s.tab___10847 = undefined; - s.unnamed78___U6 = undefined; - s.unnamed79___U7 = undefined; - s.padding___10849 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4587); + s.height___31537 = undefined; + s.top___31542 = undefined; + s.i___31548 = undefined; + s.t___31561 = undefined; + s.tOff___31568 = undefined; + s.tab___31570 = undefined; + s.unnamed158___U6 = undefined; + s.unnamed159___U7 = undefined; + s.padding___31572 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___25310); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10675,7 +10675,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___4541); + r0 = pxsim_numops_toBoolDecr(globals.instance___25264); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -10691,7 +10691,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___4595; + s.tmp_7.arg0 = globals.consoleFont___25318; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -10704,10 +10704,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___10814 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___2606); + s.height___31537 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___23329); if (!r0) { step = 5; continue; } - r0 = s.height___10814; + r0 = s.height___31537; { step = 6; continue; } case 5: r0 = 0; @@ -10715,17 +10715,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___10819 = (r0); - s.i___10825 = (0); + s.top___31542 = (r0); + s.i___31548 = (0); case 7: - s.tmp_1 = r0 = s.i___10825; - r0 = pxsim_Array__length(globals.consoleStrings___4587); + s.tmp_1 = r0 = s.i___31548; + r0 = pxsim_Array__length(globals.consoleStrings___25310); 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___4587, s.i___10825); + r0 = pxsim_Array__getAt(globals.consoleStrings___25310, s.i___31548); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -10733,43 +10733,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P122_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___4587, s.i___10825); + s.tmp_6 = helpers_stringSplit__P20845_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___25310, s.i___31548); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.callLocIdx = 1280; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___10838 = (r0); - s.tOff___10845 = (0); - s.tab___10847 = (undefined); - s.unnamed78___U6 = (s.t___10838); - s.unnamed79___U7 = (0); + s.t___31561 = (r0); + s.tOff___31568 = (0); + s.tab___31570 = (undefined); + s.unnamed158___U6 = (s.t___31561); + s.unnamed159___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed79___U7; - r0 = pxsim_Array__length(s.unnamed78___U6); + s.tmp_0 = r0 = s.unnamed159___U7; + r0 = pxsim_Array__length(s.unnamed158___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed78___U6, s.unnamed79___U7); - s.tab___10847 = (r0); - s.tmp_2 = r0 = globals.tabSize___4589; - s.tmp_5 = r0 = s.tOff___10845; - r0 = pxsim_String_.length(s.tab___10847); + r0 = pxsim_Array__getAt(s.unnamed158___U6, s.unnamed159___U7); + s.tab___31570 = (r0); + s.tmp_2 = r0 = globals.tabSize___25312; + s.tmp_5 = r0 = s.tOff___31568; + r0 = pxsim_String_.length(s.tab___31570); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___4589); + r0 = (s.tmp_4 % globals.tabSize___25312); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___10849 = (r0); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_0.arg1 = s.tab___10847; - s.tmp_2 = r0 = s.tOff___10845; + s.padding___31572 = (r0); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_0.arg1 = s.tab___31570; + s.tmp_2 = r0 = s.tOff___31568; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___4595; + s.tmp_4.arg0 = globals.consoleFont___25318; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -10785,50 +10785,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___10819; - r0 = (s.i___10825 * s.height___10814); + s.tmp_5 = r0 = s.top___31542; + r0 = (s.i___31548 * s.height___31537); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___4586; - s.tmp_0.arg5 = globals.consoleFont___4595; + s.tmp_0.arg4 = globals.consoleColor___25309; + s.tmp_0.arg5 = globals.consoleFont___25318; s.tmp_0.arg6 = undefined; s.callLocIdx = 1282; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___10845; - r0 = pxsim_String_.length(s.tab___10847); + s.tmp_0 = r0 = s.tOff___31568; + r0 = pxsim_String_.length(s.tab___31570); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___10849); + r0 = (s.tmp_2 + s.padding___31572); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___10845 = (r0); - r0 = (s.unnamed79___U7 + 1); - s.unnamed79___U7 = (r0); + s.tOff___31568 = (r0); + r0 = (s.unnamed159___U7 + 1); + s.unnamed159___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed78___U6 = (undefined); + s.unnamed158___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - r0 = pxsim_Array__getAt(globals.consoleStrings___4587, s.i___10825); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + r0 = pxsim_Array__getAt(globals.consoleStrings___25310, s.i___31548); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___10819; - r0 = (s.i___10825 * s.height___10814); + s.tmp_1 = r0 = s.top___31542; + r0 = (s.i___31548 * s.height___31537); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___4586; - s.tmp_0.arg5 = globals.consoleFont___4595; + s.tmp_0.arg4 = globals.consoleColor___25309; + s.tmp_0.arg5 = globals.consoleFont___25318; s.tmp_0.arg6 = undefined; s.callLocIdx = 1283; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___10825 + 1); - s.i___10825 = (r0); + r0 = (s.i___31548 + 1); + s.i___31548 = (r0); { step = 7; continue; } case 12: case 13: @@ -10836,12 +10836,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P2732.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__P23455.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__P2732_mk(s) { +function game_consoleOverlay_draw__P23455_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P2732, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P23455, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10851,22 +10851,22 @@ function game_consoleOverlay_draw__P2732_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___10814: undefined, - top___10819: undefined, - i___10825: undefined, - t___10838: undefined, - tOff___10845: undefined, - tab___10847: undefined, - unnamed78___U6: undefined, - unnamed79___U7: undefined, - padding___10849: undefined, + height___31537: undefined, + top___31542: undefined, + i___31548: undefined, + t___31561: undefined, + tOff___31568: undefined, + tab___31570: undefined, + unnamed158___U6: undefined, + unnamed159___U7: undefined, + padding___31572: undefined, } } -function scene_systemMenu_isVisible__P2713(s) { +function scene_systemMenu_isVisible__P23436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10876,7 +10876,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___4541); + r0 = pxsim_numops_toBoolDecr(globals.instance___25264); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -10886,12 +10886,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P2713.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__P23436.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__P2713_mk(s) { +function scene_systemMenu_isVisible__P23436_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P2713, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P23436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10902,7 +10902,7 @@ function scene_systemMenu_isVisible__P2713_mk(s) { -function helpers_stringSplit__P122(s) { +function helpers_stringSplit__P20845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10912,15 +10912,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___10903 = undefined; - s.lim___10905 = undefined; - s.s___10921 = undefined; - s.p___10924 = undefined; - s.R___10925 = undefined; - s.z___10939 = undefined; - s.T___10952 = undefined; - s.q___10953 = undefined; - s.e___10959 = undefined; + s.A___31626 = undefined; + s.lim___31628 = undefined; + s.s___31644 = undefined; + s.p___31647 = undefined; + s.R___31648 = undefined; + s.z___31662 = undefined; + s.T___31675 = undefined; + s.q___31676 = undefined; + s.e___31682 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10928,36 +10928,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___10903 = (r0); - s.lim___10905 = (0); + s.A___31626 = (r0); + s.lim___31628 = (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___10905 = (r0); + s.lim___31628 = (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___10905 = (0); + s.lim___31628 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___10905 = (r0); + s.lim___31628 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___10921 = (r0); - s.p___10924 = (0); - s.R___10925 = (s.arg1); - r0 = (s.lim___10905 == 0); + s.s___31644 = (r0); + s.p___31647 = (0); + s.R___31648 = (s.arg1); + r0 = (s.lim___31628 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___10903; + r0 = s.A___31626; { step = 21; continue; } case 5: case 6: @@ -10965,123 +10965,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___10903, 0, s.arg0); - r0 = s.A___10903; + r0 = pxsim_Array_.setAt(s.A___31626, 0, s.arg0); + r0 = s.A___31626; { step = 21; continue; } case 7: case 8: - r0 = (s.s___10921 == 0); + r0 = (s.s___31644 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P3863_mk(s); + s.tmp_1 = helpers_splitMatch__P24586_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___10925; + s.tmp_1.arg2 = s.R___31648; s.callLocIdx = 12; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___10939 = (r0); - r0 = (s.z___10939 > -1); + s.z___31662 = (r0); + r0 = (s.z___31662 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___10903; + r0 = s.A___31626; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___10903, 0, s.arg0); - r0 = s.A___10903; + r0 = pxsim_Array_.setAt(s.A___31626, 0, s.arg0); + r0 = s.A___31626; { step = 21; continue; } case 11: case 12: - s.q___10953 = (s.p___10924); + s.q___31676 = (s.p___31647); case 13: - r0 = (s.q___10953 != s.s___10921); + r0 = (s.q___31676 != s.s___31644); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P3863_mk(s); + s.tmp_1 = helpers_splitMatch__P24586_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___10953; - s.tmp_1.arg2 = s.R___10925; + s.tmp_1.arg1 = s.q___31676; + s.tmp_1.arg2 = s.R___31648; s.callLocIdx = 13; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___10959 = (r0); - r0 = (s.e___10959 < 0); + s.e___31682 = (r0); + r0 = (s.e___31682 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___10953 + 1); - s.q___10953 = (r0); + r0 = (s.q___31676 + 1); + s.q___31676 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___10959 == s.p___10924); + r0 = (s.e___31682 == s.p___31647); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___10953 + 1); - s.q___10953 = (r0); + r0 = (s.q___31676 + 1); + s.q___31676 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P20842_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___10924; - s.tmp_0.arg2 = s.q___10953; + s.tmp_0.arg1 = s.p___31647; + s.tmp_0.arg2 = s.q___31676; s.callLocIdx = 14; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___10952 = (r0); - r0 = pxsim_Array__push(s.A___10903, s.T___10952); - r0 = pxsim_Array__length(s.A___10903); + s.T___31675 = (r0); + r0 = pxsim_Array__push(s.A___31626, s.T___31675); + r0 = pxsim_Array__length(s.A___31626); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___10905); + r0 = (s.tmp_1 == s.lim___31628); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___10903; + r0 = s.A___31626; { step = 21; continue; } case 16: case 17: - s.p___10924 = (s.e___10959); - s.q___10953 = (s.p___10924); + s.p___31647 = (s.e___31682); + s.q___31676 = (s.p___31647); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P20842_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___10924; - s.tmp_0.arg2 = s.q___10953; + s.tmp_0.arg1 = s.p___31647; + s.tmp_0.arg2 = s.q___31676; s.callLocIdx = 15; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___10952 = (r0); - r0 = pxsim_Array__push(s.A___10903, s.T___10952); - r0 = s.A___10903; + s.T___31675 = (r0); + r0 = pxsim_Array__push(s.A___31626, s.T___31675); + r0 = s.A___31626; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P122.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P20845.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P122_mk(s) { +function helpers_stringSplit__P20845_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P122, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P20845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___10903: undefined, - lim___10905: undefined, - s___10921: undefined, - p___10924: undefined, - R___10925: undefined, - z___10939: undefined, - T___10952: undefined, - q___10953: undefined, - e___10959: undefined, + A___31626: undefined, + lim___31628: undefined, + s___31644: undefined, + p___31647: undefined, + R___31648: undefined, + z___31662: undefined, + T___31675: undefined, + q___31676: undefined, + e___31682: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11091,7 +11091,7 @@ function helpers_stringSplit__P122_mk(s) { -function helpers_splitMatch__P3863(s) { +function helpers_splitMatch__P24586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11101,9 +11101,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___11039 = undefined; - s.s___11042 = undefined; - s.i___11052 = undefined; + s.r___31762 = undefined; + s.s___31765 = undefined; + s.i___31775 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11111,12 +11111,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___11039 = (r0); + s.r___31762 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___11042 = (r0); - r0 = (s.arg1 + s.r___11039); + s.s___31765 = (r0); + r0 = (s.arg1 + s.r___31762); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___11042); + r0 = (s.tmp_1 > s.s___31765); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -11124,18 +11124,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___11052 = (0); + s.i___31775 = (0); case 3: - r0 = (s.i___11052 < s.r___11039); + r0 = (s.i___31775 < s.r___31762); 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___11052); + r0 = (s.arg1 + s.i___31775); 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___11052); + r0 = pxsim_String_.charAt(s.arg2, s.i___31775); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -11145,21 +11145,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___11052 + 1); - s.i___11052 = (r0); + r0 = (s.i___31775 + 1); + s.i___31775 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___11039); + r0 = (s.arg1 + s.r___31762); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P3863.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__P24586.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__P3863_mk(s) { +function helpers_splitMatch__P24586_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P3863, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P24586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11167,9 +11167,9 @@ function helpers_splitMatch__P3863_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___11039: undefined, - s___11042: undefined, - i___11052: undefined, + r___31762: undefined, + s___31765: undefined, + i___31775: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11179,7 +11179,7 @@ function helpers_splitMatch__P3863_mk(s) { -function helpers_stringSlice__P119(s) { +function helpers_stringSlice__P20842(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11189,7 +11189,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___11004 = undefined; + s.len___31727 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11197,13 +11197,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___11004 = (r0); + s.len___31727 = (r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Math_max__P130_mk(s); - r0 = (s.len___11004 + s.arg1); + s.tmp_1 = Math_max__P20853_mk(s); + r0 = (s.len___31727 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 11; s.pc = 9; return s.tmp_1; @@ -11216,7 +11216,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___11004); + s.arg2 = (s.len___31727); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -11231,7 +11231,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___11004 + s.arg2); + r0 = (s.len___31727 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -11243,17 +11243,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P119.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P20842.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P119_mk(s) { +function helpers_stringSlice__P20842_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P119, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P20842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___11004: undefined, + len___31727: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11263,7 +11263,7 @@ function helpers_stringSlice__P119_mk(s) { -function scene_Scene_render__P2523(s) { +function scene_Scene_render__P23246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11273,15 +11273,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___11136 = undefined; - s.unnamed76___U1 = undefined; - s.unnamed77___U2 = undefined; + s.s___31859 = undefined; + s.unnamed156___U1 = undefined; + s.unnamed157___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2496_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C23219_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -11312,7 +11312,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__P2523_mk(s); + s.tmp_3 = scene_Scene_render__P23246_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.callLocIdx = 959; s.pc = 12; return s.tmp_3; @@ -11320,7 +11320,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P2357_mk(s); + s.tmp_0 = scene_Background_draw__P23080_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 960; s.pc = 13; return s.tmp_0; @@ -11333,10 +11333,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P105_mk(s); + s.tmp_2 = helpers_arraySort__P20828_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scene_Scene_render_inline__P11113; + s.tmp_2.arg1 = scene_Scene_render_inline__P31836; s.callLocIdx = 965; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -11348,20 +11348,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___11136 = (undefined); + s.s___31859 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed76___U1 = (r0); - s.unnamed77___U2 = (0); + s.unnamed156___U1 = (r0); + s.unnamed157___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed77___U2; - r0 = pxsim_Array__length(s.unnamed76___U1); + s.tmp_0 = r0 = s.unnamed157___U2; + r0 = pxsim_Array__length(s.unnamed156___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); - s.s___11136 = (r0); + r0 = pxsim_Array__getAt(s.unnamed156___U1, s.unnamed157___U2); + s.s___31859 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___11136; + s.tmp_2.arg0 = s.s___31859; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -11375,11 +11375,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed77___U2 + 1); - s.unnamed77___U2 = (r0); + r0 = (s.unnamed157___U2 + 1); + s.unnamed157___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed76___U1 = (undefined); + s.unnamed156___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -11391,21 +11391,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P2523.info = {"start":7844,"length":917,"line":221,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P23246.info = {"start":7844,"length":917,"line":221,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -function scene_Scene_render__P2523_mk(s) { +function scene_Scene_render__P23246_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P2523, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P23246, 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___11136: undefined, - unnamed76___U1: undefined, - unnamed77___U2: undefined, + s___31859: undefined, + unnamed156___U1: undefined, + unnamed157___U2: undefined, arg0: undefined, } } @@ -11413,7 +11413,7 @@ function scene_Scene_render__P2523_mk(s) { -function scene_Scene_render_inline__P11113(s) { +function scene_Scene_render_inline__P31836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11495,12 +11495,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P11113.info = {"start":8422,"length":52,"line":235,"column":37,"endLine":235,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +scene_Scene_render_inline__P31836.info = {"start":8422,"length":52,"line":235,"column":37,"endLine":235,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function scene_Scene_render_inline__P11113_mk(s) { +function scene_Scene_render_inline__P31836_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P11113, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P31836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11520,7 +11520,7 @@ function scene_Scene_render_inline__P11113_mk(s) { -function scene_Background_draw__P2357(s) { +function scene_Background_draw__P23080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11535,27 +11535,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2348_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C23071_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___1827, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___22550, 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___1827, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___22550, 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__P11168); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P31891); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_2 = helpers_arrayForEach__P20832_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -11568,12 +11568,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P2357.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__P23080.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__P2357_mk(s) { +function scene_Background_draw__P23080_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P2357, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P23080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11585,7 +11585,7 @@ function scene_Background_draw__P2357_mk(s) { -function scene_Background_draw_inline__P11168(s) { +function scene_Background_draw_inline__P31891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11595,8 +11595,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___11170 = undefined; - s.oy___11181 = undefined; + s.ox___31893 = undefined; + s.oy___31904 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -11611,7 +11611,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___11170 = (r0); + s.ox___31893 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -11622,11 +11622,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___11181 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P2366_mk(s); + s.oy___31904 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P23089_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___11170; - s.tmp_0.arg2 = s.oy___11181; + s.tmp_0.arg1 = s.ox___31893; + s.tmp_0.arg2 = s.oy___31904; s.callLocIdx = 835; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -11634,19 +11634,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P11168.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__P31891.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__P11168_mk(s) { +function scene_Background_draw_inline__P31891_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P11168, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P31891, 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___11170: undefined, - oy___11181: undefined, + ox___31893: undefined, + oy___31904: undefined, arg0: undefined, } } @@ -11654,7 +11654,7 @@ function scene_Background_draw_inline__P11168_mk(s) { -function scene_BackgroundLayer_draw__P2366(s) { +function scene_BackgroundLayer_draw__P23089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11664,19 +11664,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___11199 = undefined; - s.h___11202 = undefined; - s.pw___11205 = undefined; - s.ph___11209 = undefined; - s.rx___11218 = undefined; - s.ry___11221 = undefined; - s.y___11290 = undefined; - s.py___11291 = undefined; - s.dh___11300 = undefined; - s.x___11308 = undefined; - s.rxl___11309 = undefined; - s.px___11315 = undefined; - s.dw___11319 = undefined; + s.w___31922 = undefined; + s.h___31925 = undefined; + s.pw___31928 = undefined; + s.ph___31932 = undefined; + s.rx___31941 = undefined; + s.ry___31944 = undefined; + s.y___32013 = undefined; + s.py___32014 = undefined; + s.dh___32023 = undefined; + s.x___32031 = undefined; + s.rxl___32032 = undefined; + s.px___32038 = undefined; + s.dw___32042 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11684,20 +11684,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C2358_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___1827); - s.w___11199 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___1827); - s.h___11202 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C23081_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); + s.w___31922 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___22550); + s.h___31925 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___11205 = (r0); + s.pw___31928 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___11209 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___11205); + s.ph___31932 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___31928); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -11706,7 +11706,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___11209); + r0 = pxsim_numops_toBoolDecr(s.ph___31932); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -11718,9 +11718,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___11218 = (r0); + s.rx___31941 = (r0); r0 = (0 - s.arg2); - s.ry___11221 = (r0); + s.ry___31944 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -11730,20 +11730,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___11218; - r0 = (s.w___11199 + s.pw___11205); + s.tmp_1 = r0 = s.rx___31941; + r0 = (s.w___31922 + s.pw___31928); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___11218 = (r0); + s.rx___31941 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___11218; - r0 = (s.w___11199 + s.pw___11205); + s.tmp_0 = r0 = s.rx___31941; + r0 = (s.w___31922 + s.pw___31928); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___11218 = (r0); + s.rx___31941 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -11754,120 +11754,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___11221; - r0 = (s.h___11202 + s.ph___11209); + s.tmp_1 = r0 = s.ry___31944; + r0 = (s.h___31925 + s.ph___31932); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___11221 = (r0); + s.ry___31944 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___11221; - r0 = (s.h___11202 + s.ph___11209); + s.tmp_0 = r0 = s.ry___31944; + r0 = (s.h___31925 + s.ph___31932); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___11221 = (r0); + s.ry___31944 = (r0); case 10: - r0 = (s.rx___11218 % s.w___11199); - s.rx___11218 = (r0); - r0 = (s.rx___11218 < 0); + r0 = (s.rx___31941 % s.w___31922); + s.rx___31941 = (r0); + r0 = (s.rx___31941 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___11218 + s.w___11199); - s.rx___11218 = (r0); + r0 = (s.rx___31941 + s.w___31922); + s.rx___31941 = (r0); case 11: case 12: - r0 = (s.ry___11221 % s.h___11202); - s.ry___11221 = (r0); - r0 = (s.ry___11221 < 0); + r0 = (s.ry___31944 % s.h___31925); + s.ry___31944 = (r0); + r0 = (s.ry___31944 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___11221 + s.h___11202); - s.ry___11221 = (r0); + r0 = (s.ry___31944 + s.h___31925); + s.ry___31944 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___11218); - s.rx___11218 = (r0); - r0 = pxsim.Math_.floor(s.ry___11221); - s.ry___11221 = (r0); - s.y___11290 = (0); - s.py___11291 = (0); + r0 = pxsim.Math_.floor(s.rx___31941); + s.rx___31941 = (r0); + r0 = pxsim.Math_.floor(s.ry___31944); + s.ry___31944 = (r0); + s.y___32013 = (0); + s.py___32014 = (0); case 15: - r0 = (s.y___11290 < s.h___11202); + r0 = (s.y___32013 < s.h___31925); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___11290 % s.ph___11209); - s.py___11291 = (r0); - s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.ph___11209 - s.py___11291); + r0 = (s.y___32013 % s.ph___31932); + s.py___32014 = (r0); + s.tmp_0 = Math_min__P20854_mk(s); + r0 = (s.ph___31932 - s.py___32014); s.tmp_0.arg0 = r0; - r0 = (s.h___11202 - s.ry___11221); + r0 = (s.h___31925 - s.ry___31944); s.tmp_0.arg1 = r0; s.callLocIdx = 838; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___11300 = (r0); - s.x___11308 = (0); - s.rxl___11309 = (s.rx___11218); + s.dh___32023 = (r0); + s.x___32031 = (0); + s.rxl___32032 = (s.rx___31941); case 16: - r0 = (s.x___11308 < s.w___11199); + r0 = (s.x___32031 < s.w___31922); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___11308 % s.pw___11205); - s.px___11315 = (r0); - s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.pw___11205 - s.px___11315); + r0 = (s.x___32031 % s.pw___31928); + s.px___32038 = (r0); + s.tmp_0 = Math_min__P20854_mk(s); + r0 = (s.pw___31928 - s.px___32038); s.tmp_0.arg0 = r0; - r0 = (s.w___11199 - s.rxl___11309); + r0 = (s.w___31922 - s.rxl___32032); s.tmp_0.arg1 = r0; s.callLocIdx = 839; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___11319 = (r0); + s.dw___32042 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___1827, s.tmp_0, s.rxl___11309, s.ry___11221); - r0 = (s.rxl___11309 + s.dw___11319); + r0 = pxsim_ImageMethods.drawImage(globals.screen___22550, s.tmp_0, s.rxl___32032, s.ry___31944); + r0 = (s.rxl___32032 + s.dw___32042); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___11199); - s.rxl___11309 = (r0); + r0 = (s.tmp_0 % s.w___31922); + s.rxl___32032 = (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___11319; + r0 = s.dw___32042; { step = 18; continue; } case 17: - r0 = s.w___11199; + r0 = s.w___31922; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___11308 + s.tmp_1); - s.x___11308 = (r0); + r0 = (s.x___32031 + s.tmp_1); + s.x___32031 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___11221 + s.dh___11300); + r0 = (s.ry___31944 + s.dh___32023); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___11202); - s.ry___11221 = (r0); + r0 = (s.tmp_0 % s.h___31925); + s.ry___31944 = (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___11300; + r0 = s.dh___32023; { step = 21; continue; } case 20: - r0 = s.h___11202; + r0 = s.h___31925; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___11290 + s.tmp_1); - s.y___11290 = (r0); + r0 = (s.y___32013 + s.tmp_1); + s.y___32013 = (r0); { step = 15; continue; } case 22: case 23: @@ -11875,30 +11875,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P2366.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__P23089.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__P2366_mk(s) { +function scene_BackgroundLayer_draw__P23089_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P2366, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P23089, 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___11199: undefined, - h___11202: undefined, - pw___11205: undefined, - ph___11209: undefined, - rx___11218: undefined, - ry___11221: undefined, - y___11290: undefined, - py___11291: undefined, - dh___11300: undefined, - x___11308: undefined, - rxl___11309: undefined, - px___11315: undefined, - dw___11319: undefined, + w___31922: undefined, + h___31925: undefined, + pw___31928: undefined, + ph___31932: undefined, + rx___31941: undefined, + ry___31944: undefined, + y___32013: undefined, + py___32014: undefined, + dh___32023: undefined, + x___32031: undefined, + rxl___32032: undefined, + px___32038: undefined, + dw___32042: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11908,7 +11908,7 @@ function scene_BackgroundLayer_draw__P2366_mk(s) { -function scene_Camera_update__P2453(s) { +function scene_Camera_update__P23176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11918,32 +11918,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___11400 = undefined; - s.percentComplete___11414 = undefined; - s.damp___11421 = undefined; - s.f___11430 = undefined; - s.x___11436 = undefined; - s.y___11443 = undefined; + s.elapsed___32123 = undefined; + s.percentComplete___32137 = undefined; + s.damp___32144 = undefined; + s.f___32153 = undefined; + s.x___32159 = undefined; + s.y___32166 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2437_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = scene_Camera_offsetX__P2443_mk(s); + s.tmp_1 = scene_Camera_offsetX__P23166_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P2101_mk(s); + s.tmp_3 = Sprite_x__P22824_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 920; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; @@ -11952,16 +11952,16 @@ switch (step) { s.callLocIdx = 921; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P2445_mk(s); + s.tmp_0 = scene_Camera_offsetY__P23168_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P2103_mk(s); + s.tmp_2 = Sprite_y__P22826_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 922; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -11972,7 +11972,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P2443_mk(s); + s.tmp_0 = scene_Camera_offsetX__P23166_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; @@ -11982,7 +11982,7 @@ switch (step) { s.callLocIdx = 925; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P2445_mk(s); + s.tmp_0 = scene_Camera_offsetY__P23168_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; @@ -12011,10 +12011,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___11400 = (r0); + s.elapsed___32123 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___11400 >= s.tmp_1); + r0 = (s.elapsed___32123 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -12023,49 +12023,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___11400 / s.tmp_0); - s.percentComplete___11414 = (r0); - s.damp___11421 = (1); - r0 = (s.percentComplete___11414 >= 0.75); + r0 = (s.elapsed___32123 / s.tmp_0); + s.percentComplete___32137 = (r0); + s.damp___32144 = (1); + r0 = (s.percentComplete___32137 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P20853_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___11414); + r0 = (1 - s.percentComplete___32137); s.tmp_1.arg1 = r0; s.callLocIdx = 930; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___11421 = (r0); + s.damp___32144 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___11421); - s.f___11430 = (r0); + r0 = (s.tmp_0 * s.damp___32144); + s.f___32153 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___11430); + r0 = (s.tmp_1 * s.f___32153); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___11436 = (r0); + s.x___32159 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___11430); + r0 = (s.tmp_1 * s.f___32153); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___11443 = (r0); + s.y___32166 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___11436); + r0 = (s.tmp_2 + s.x___32159); 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___11443); + r0 = (s.tmp_2 + s.y___32166); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -12075,12 +12075,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P2453.info = {"start":2297,"length":1397,"line":77,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P23176.info = {"start":2297,"length":1397,"line":77,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P2453_mk(s) { +function scene_Camera_update__P23176_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P2453, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P23176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12088,12 +12088,12 @@ function scene_Camera_update__P2453_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___11400: undefined, - percentComplete___11414: undefined, - damp___11421: undefined, - f___11430: undefined, - x___11436: undefined, - y___11443: undefined, + elapsed___32123: undefined, + percentComplete___32137: undefined, + damp___32144: undefined, + f___32153: undefined, + x___32159: undefined, + y___32166: undefined, arg0: undefined, } } @@ -12101,7 +12101,7 @@ function scene_Camera_update__P2453_mk(s) { -function scene_Camera_offsetY__P2445(s) { +function scene_Camera_offsetY__P23168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12111,27 +12111,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___11462 = undefined; + s.scene___32185 = 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__C2437_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2609_mk(s); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 917; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___11462 = (r0); - r0 = s.scene___11462.fields["tileMap"]; + s.scene___32185 = (r0); + r0 = s.scene___32185.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___11462.fields["tileMap"]; + r0 = s.scene___32185.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -12148,8 +12148,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_9 = tiles_TileMap_offsetY__P2406_mk(s); - r0 = s.scene___11462.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P23129_mk(s); + r0 = s.scene___32185.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 919; s.pc = 6; return s.tmp_9; @@ -12165,12 +12165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P2445.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} +scene_Camera_offsetY__P23168.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} -function scene_Camera_offsetY__P2445_mk(s) { +function scene_Camera_offsetY__P23168_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P2445, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P23168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12182,7 +12182,7 @@ function scene_Camera_offsetY__P2445_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___11462: undefined, + scene___32185: undefined, arg0: undefined, arg1: undefined, } } @@ -12191,7 +12191,7 @@ function scene_Camera_offsetY__P2445_mk(s) { -function tiles_TileMap_enabled__P2411(s) { +function tiles_TileMap_enabled__P23134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12206,7 +12206,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -12219,13 +12219,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P2411.info = {"start":7163,"length":66,"line":262,"column":8,"endLine":264,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P2411.isGetter = true; +tiles_TileMap_enabled__P23134.info = {"start":7163,"length":66,"line":262,"column":8,"endLine":264,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P23134.isGetter = true; -function tiles_TileMap_enabled__P2411_mk(s) { +function tiles_TileMap_enabled__P23134_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P2411, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P23134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12238,7 +12238,7 @@ function tiles_TileMap_enabled__P2411_mk(s) { -function tiles_TileMap_offsetY__P2406(s) { +function tiles_TileMap_offsetY__P23129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12254,17 +12254,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P20850_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P2408_mk(s); + s.tmp_1 = Math_max__P20853_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P23131_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 856; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -12280,12 +12280,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P2406.info = {"start":6616,"length":123,"line":240,"column":8,"endLine":242,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P23129.info = {"start":6616,"length":123,"line":240,"column":8,"endLine":242,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_TileMap_offsetY__P2406_mk(s) { +function tiles_TileMap_offsetY__P23129_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P2406, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P23129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12300,7 +12300,7 @@ function tiles_TileMap_offsetY__P2406_mk(s) { -function tiles_TileMap_areaHeight__P2408(s) { +function tiles_TileMap_areaHeight__P23131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12315,7 +12315,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12337,12 +12337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P2408.info = {"start":6850,"length":93,"line":248,"column":8,"endLine":250,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P23131.info = {"start":6850,"length":93,"line":248,"column":8,"endLine":250,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_TileMap_areaHeight__P2408_mk(s) { +function tiles_TileMap_areaHeight__P23131_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P2408, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P23131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12356,7 +12356,7 @@ function tiles_TileMap_areaHeight__P2408_mk(s) { -function tiles_TileMap_scale__P2403(s) { +function tiles_TileMap_scale__P23126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12371,18 +12371,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P2403.info = {"start":6181,"length":55,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P2403.isGetter = true; +tiles_TileMap_scale__P23126.info = {"start":6181,"length":55,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P23126.isGetter = true; -function tiles_TileMap_scale__P2403_mk(s) { +function tiles_TileMap_scale__P23126_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P2403, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P23126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12391,7 +12391,7 @@ function tiles_TileMap_scale__P2403_mk(s) { -function tiles_TileMapData_height__P2390(s) { +function tiles_TileMapData_height__P23113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12406,18 +12406,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2387_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C23110_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P2390.info = {"start":3734,"length":65,"line":139,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} -tiles_TileMapData_height__P2390.isGetter = true; +tiles_TileMapData_height__P23113.info = {"start":3734,"length":65,"line":139,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P23113.isGetter = true; -function tiles_TileMapData_height__P2390_mk(s) { +function tiles_TileMapData_height__P23113_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P2390, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P23113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12426,7 +12426,7 @@ function tiles_TileMapData_height__P2390_mk(s) { -function scene_Camera_offsetY__P2444(s) { +function scene_Camera_offsetY__P23167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12441,18 +12441,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2437_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P2444.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} -scene_Camera_offsetY__P2444.isGetter = true; +scene_Camera_offsetY__P23167.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} +scene_Camera_offsetY__P23167.isGetter = true; -function scene_Camera_offsetY__P2444_mk(s) { +function scene_Camera_offsetY__P23167_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P2444, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P23167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12461,7 +12461,7 @@ function scene_Camera_offsetY__P2444_mk(s) { -function scene_Camera_offsetX__P2443(s) { +function scene_Camera_offsetX__P23166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12471,27 +12471,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___11518 = undefined; + s.scene___32241 = 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__C2437_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2609_mk(s); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 914; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___11518 = (r0); - r0 = s.scene___11518.fields["tileMap"]; + s.scene___32241 = (r0); + r0 = s.scene___32241.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___11518.fields["tileMap"]; + r0 = s.scene___32241.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -12508,8 +12508,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_9 = tiles_TileMap_offsetX__P2405_mk(s); - r0 = s.scene___11518.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P23128_mk(s); + r0 = s.scene___32241.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 916; s.pc = 6; return s.tmp_9; @@ -12525,12 +12525,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P2443.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} +scene_Camera_offsetX__P23166.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} -function scene_Camera_offsetX__P2443_mk(s) { +function scene_Camera_offsetX__P23166_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P2443, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P23166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12542,7 +12542,7 @@ function scene_Camera_offsetX__P2443_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___11518: undefined, + scene___32241: undefined, arg0: undefined, arg1: undefined, } } @@ -12551,7 +12551,7 @@ function scene_Camera_offsetX__P2443_mk(s) { -function tiles_TileMap_offsetX__P2405(s) { +function tiles_TileMap_offsetX__P23128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12567,17 +12567,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P20850_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P2407_mk(s); + s.tmp_1 = Math_max__P20853_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P23130_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 853; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -12593,12 +12593,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P2405.info = {"start":6485,"length":121,"line":236,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P23128.info = {"start":6485,"length":121,"line":236,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_TileMap_offsetX__P2405_mk(s) { +function tiles_TileMap_offsetX__P23128_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P2405, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P23128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12613,7 +12613,7 @@ function tiles_TileMap_offsetX__P2405_mk(s) { -function tiles_TileMap_areaWidth__P2407(s) { +function tiles_TileMap_areaWidth__P23130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12628,7 +12628,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12650,12 +12650,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P2407.info = {"start":6749,"length":91,"line":244,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P23130.info = {"start":6749,"length":91,"line":244,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_TileMap_areaWidth__P2407_mk(s) { +function tiles_TileMap_areaWidth__P23130_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P2407, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P23130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12669,7 +12669,7 @@ function tiles_TileMap_areaWidth__P2407_mk(s) { -function tiles_TileMapData_width__P2389(s) { +function tiles_TileMapData_width__P23112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12684,18 +12684,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2387_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C23110_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P2389.info = {"start":3661,"length":63,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} -tiles_TileMapData_width__P2389.isGetter = true; +tiles_TileMapData_width__P23112.info = {"start":3661,"length":63,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P23112.isGetter = true; -function tiles_TileMapData_width__P2389_mk(s) { +function tiles_TileMapData_width__P23112_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P2389, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P23112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12704,7 +12704,7 @@ function tiles_TileMapData_width__P2389_mk(s) { -function scene_Camera_offsetX__P2442(s) { +function scene_Camera_offsetX__P23165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12719,18 +12719,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2437_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P2442.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} -scene_Camera_offsetX__P2442.isGetter = true; +scene_Camera_offsetX__P23165.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} +scene_Camera_offsetX__P23165.isGetter = true; -function scene_Camera_offsetX__P2442_mk(s) { +function scene_Camera_offsetX__P23165_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P2442, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P23165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12739,7 +12739,7 @@ function scene_Camera_offsetX__P2442_mk(s) { -function PhysicsEngine_move__P2244(s) { +function PhysicsEngine_move__P22967(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12755,17 +12755,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2238_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C22961_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P2244.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__P22967.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__P2244_mk(s) { +function PhysicsEngine_move__P22967_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P2244, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P22967, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12775,7 +12775,7 @@ function PhysicsEngine_move__P2244_mk(s) { -function PhysicsEngine_draw__P2243(s) { +function PhysicsEngine_draw__P22966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12790,17 +12790,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2238_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C22961_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P2243.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__P22966.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__P2243_mk(s) { +function PhysicsEngine_draw__P22966_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P2243, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P22966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12809,7 +12809,7 @@ function PhysicsEngine_draw__P2243_mk(s) { -function controller___update__P1953(s) { +function controller___update__P22676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12819,7 +12819,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___11896 = undefined; + s.dtms___32619 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -12827,12 +12827,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___11896 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P11903); + s.dtms___32619 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P32626); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___11896); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = controller_players__P1921_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___32619); + s.tmp_1 = helpers_arrayForEach__P20832_mk(s); + s.tmp_2 = controller_players__P22644_mk(s); s.callLocIdx = 226; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -12845,17 +12845,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P1953.info = {"start":11751,"length":137,"line":361,"column":4,"endLine":364,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P22676.info = {"start":11751,"length":137,"line":361,"column":4,"endLine":364,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} -function controller___update__P1953_mk(s) { +function controller___update__P22676_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P1953, depth: s.depth + 1, + parent: s, fn: controller___update__P22676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___11896: undefined, + dtms___32619: undefined, arg0: undefined, } } @@ -12863,7 +12863,7 @@ function controller___update__P1953_mk(s) { -function controller___update_inline__P11903(s) { +function controller___update_inline__P32626(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12877,7 +12877,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P1951_mk(s); + s.tmp_0 = controller_Controller___update__P22674_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 227; s.pc = 1; return s.tmp_0; @@ -12887,12 +12887,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update_inline__P11903.info = {"start":11853,"length":27,"line":363,"column":26,"endLine":363,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller___update_inline__P32626.info = {"start":11853,"length":27,"line":363,"column":26,"endLine":363,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller___update_inline__P11903_mk(s) { +function controller___update_inline__P32626_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P11903, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P32626, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12902,7 +12902,7 @@ function controller___update_inline__P11903_mk(s) { -function controller_Controller___update__P1951(s) { +function controller_Controller___update__P22674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12918,7 +12918,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -12929,10 +12929,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__P11916); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P32639); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = helpers_arrayForEach__P20832_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -12943,12 +12943,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P1951.info = {"start":11229,"length":124,"line":343,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P22674.info = {"start":11229,"length":124,"line":343,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Controller___update__P1951_mk(s) { +function controller_Controller___update__P22674_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P1951, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P22674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12962,7 +12962,7 @@ function controller_Controller___update__P1951_mk(s) { -function controller_Controller___update_inline__P11916(s) { +function controller_Controller___update_inline__P32639(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12976,7 +12976,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P1983_mk(s); + s.tmp_0 = controller_Button___update__P22706_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -12987,12 +12987,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P11916.info = {"start":11316,"length":25,"line":345,"column":33,"endLine":345,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +controller_Controller___update_inline__P32639.info = {"start":11316,"length":25,"line":345,"column":33,"endLine":345,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} -function controller_Controller___update_inline__P11916_mk(s) { +function controller_Controller___update_inline__P32639_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P11916, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P32639, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13002,7 +13002,7 @@ function controller_Controller___update_inline__P11916_mk(s) { -function controller_Button___update__P1983(s) { +function controller_Button___update__P22706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13012,16 +13012,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___11932 = undefined; - s.interval___11941 = undefined; - s.count___11954 = undefined; + s.delay___32655 = undefined; + s.interval___32664 = undefined; + s.count___32677 = 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__C1971_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C22694_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -13045,31 +13045,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___4112; + r0 = globals.defaultRepeatDelay___24835; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___11932 = (s.tmp_2); + s.delay___32655 = (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___4114; + r0 = globals.defaultRepeatInterval___24837; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___11941 = (s.tmp_2); + s.interval___32664 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___11932); + r0 = (s.tmp_1 < s.delay___32655); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -13078,26 +13078,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___11932); + r0 = (s.tmp_5 - s.delay___32655); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___11941); + r0 = (s.tmp_4 - s.interval___32664); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___11941); + r0 = (s.tmp_3 / s.interval___32664); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___11954 = (r0); + s.count___32677 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___11954 != s.tmp_1); + r0 = (s.count___32677 != 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__P4103_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P24826_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 241; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___11954); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___32677); case 9: case 10: case 11: @@ -13105,12 +13105,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P1983.info = {"start":4995,"length":704,"line":156,"column":8,"endLine":173,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Button___update__P22706.info = {"start":4995,"length":704,"line":156,"column":8,"endLine":173,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Button___update__P1983_mk(s) { +function controller_Button___update__P22706_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P1983, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P22706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13118,9 +13118,9 @@ function controller_Button___update__P1983_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___11932: undefined, - interval___11941: undefined, - count___11954: undefined, + delay___32655: undefined, + interval___32664: undefined, + count___32677: undefined, arg0: undefined, arg1: undefined, } } @@ -13129,7 +13129,7 @@ function controller_Button___update__P1983_mk(s) { -function controller_Button_raiseButtonRepeat__P4103(s) { +function controller_Button_raiseButtonRepeat__P24826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13144,8 +13144,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C1971_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4110); + if (!checkSubtype(r0, controller_Button__C22694_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___24833); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -13160,12 +13160,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P4103.info = {"start":2765,"length":211,"line":91,"column":8,"endLine":96,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P24826.info = {"start":2765,"length":211,"line":91,"column":8,"endLine":96,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -function controller_Button_raiseButtonRepeat__P4103_mk(s) { +function controller_Button_raiseButtonRepeat__P24826_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P4103, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P24826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13175,7 +13175,7 @@ function controller_Button_raiseButtonRepeat__P4103_mk(s) { -function controller_players__P1921(s) { +function controller_players__P22644(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13185,25 +13185,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P1920_mk(s); + s.tmp_0 = controller__player1__P22643_mk(s); s.callLocIdx = 177; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P110_mk(s); - s.tmp_0.arg0 = globals._players___4096; - s.tmp_0.arg1 = controller_players_inline__P11773; + s.tmp_0 = helpers_arrayFilter__P20833_mk(s); + s.tmp_0.arg0 = globals._players___24819; + s.tmp_0.arg1 = controller_players_inline__P32496; s.callLocIdx = 178; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P1921.info = {"start":748,"length":144,"line":29,"column":4,"endLine":32,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P22644.info = {"start":748,"length":144,"line":29,"column":4,"endLine":32,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} -function controller_players__P1921_mk(s) { +function controller_players__P22644_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P1921, depth: s.depth + 1, + parent: s, fn: controller_players__P22644, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13212,7 +13212,7 @@ function controller_players__P1921_mk(s) { -function controller_players_inline__P11773(s) { +function controller_players_inline__P32496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13236,12 +13236,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P11773.info = {"start":870,"length":14,"line":31,"column":31,"endLine":31,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller_players_inline__P32496.info = {"start":870,"length":14,"line":31,"column":31,"endLine":31,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller_players_inline__P11773_mk(s) { +function controller_players_inline__P32496_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P11773, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P32496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13253,7 +13253,7 @@ function controller_players_inline__P11773_mk(s) { -function controller__player1__P1920(s) { +function controller__player1__P22643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13263,7 +13263,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___4096); + r0 = pxsim_numops_toBoolDecr(globals._players___24819); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13272,7 +13272,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___4096, 0); + r0 = pxsim_Array__getAt(globals._players___24819, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -13282,18 +13282,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__C1926_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C22649_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___1907); - r0 = pxsim_Array__push(s.tmp_6, globals.up___1908); - r0 = pxsim_Array__push(s.tmp_6, globals.right___1909); - r0 = pxsim_Array__push(s.tmp_6, globals.down___1910); - r0 = pxsim_Array__push(s.tmp_6, globals.A___1905); - r0 = pxsim_Array__push(s.tmp_6, globals.B___1906); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___1911); - s.tmp_7 = controller_Controller_constructor__P1930_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___22630); + r0 = pxsim_Array__push(s.tmp_6, globals.up___22631); + r0 = pxsim_Array__push(s.tmp_6, globals.right___22632); + r0 = pxsim_Array__push(s.tmp_6, globals.down___22633); + r0 = pxsim_Array__push(s.tmp_6, globals.A___22628); + r0 = pxsim_Array__push(s.tmp_6, globals.B___22629); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___22634); + s.tmp_7 = controller_Controller_constructor__P22653_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -13302,16 +13302,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___4096, 0); + r0 = pxsim_Array__getAt(globals._players___24819, 0); return leave(s, r0) default: oops() } } } -controller__player1__P1920.info = {"start":484,"length":258,"line":23,"column":4,"endLine":27,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P22643.info = {"start":484,"length":258,"line":23,"column":4,"endLine":27,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} -function controller__player1__P1920_mk(s) { +function controller__player1__P22643_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P1920, depth: s.depth + 1, + parent: s, fn: controller__player1__P22643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13327,7 +13327,7 @@ function controller__player1__P1920_mk(s) { -function controller_Controller_constructor__P1930(s) { +function controller_Controller_constructor__P22653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13337,9 +13337,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___11838 = undefined; - s.i___11846 = undefined; - s.i___11864 = undefined; + s.leftId___32561 = undefined; + s.i___32569 = undefined; + s.i___32587 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13347,7 +13347,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -13371,18 +13371,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___11838 = (r0); - s.i___11846 = (0); + s.leftId___32561 = (r0); + s.i___32569 = (0); case 2: - r0 = (s.i___11846 < 7); + r0 = (s.i___32569 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1971_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22694_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P1977_mk(s); + s.tmp_2 = controller_Button_constructor__P22700_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___11838 + s.i___11846); + r0 = (s.leftId___32561 + s.i___32569); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 182; s.pc = 7; return s.tmp_2; @@ -13391,14 +13391,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___11846 + 1); - s.i___11846 = (r0); + r0 = (s.i___32569 + 1); + s.i___32569 = (r0); { step = 2; continue; } case 3: case 4: - s.i___11864 = (0); + s.i___32587 = (0); case 5: - s.tmp_1 = r0 = s.i___11864; + s.tmp_1 = r0 = s.i___32587; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -13409,14 +13409,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___11864); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___32587); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___11864 + 1); - s.i___11864 = (r0); + r0 = (s.i___32587 + 1); + s.i___32587 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P4097_mk(s); + s.tmp_0 = controller_addController__P24820_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 183; s.pc = 8; return s.tmp_0; case 8: @@ -13425,12 +13425,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P1930.info = {"start":1555,"length":696,"line":58,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} +controller_Controller_constructor__P22653.info = {"start":1555,"length":696,"line":58,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} -function controller_Controller_constructor__P1930_mk(s) { +function controller_Controller_constructor__P22653_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P1930, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P22653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13438,9 +13438,9 @@ function controller_Controller_constructor__P1930_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___11838: undefined, - i___11846: undefined, - i___11864: undefined, + leftId___32561: undefined, + i___32569: undefined, + i___32587: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13450,7 +13450,7 @@ function controller_Controller_constructor__P1930_mk(s) { -function controller_addController__P4097(s) { +function controller_addController__P24820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13464,17 +13464,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___4096); + r0 = pxsim_numops_toBoolDecr(globals._players___24819); 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___4096 = (r0); + globals._players___24819 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___4096; + s.tmp_0 = r0 = globals._players___24819; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -13484,12 +13484,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P4097.info = {"start":321,"length":157,"line":16,"column":4,"endLine":21,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P24820.info = {"start":321,"length":157,"line":16,"column":4,"endLine":21,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -function controller_addController__P4097_mk(s) { +function controller_addController__P24820_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P4097, depth: s.depth + 1, + parent: s, fn: controller_addController__P24820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13501,7 +13501,7 @@ function controller_addController__P4097_mk(s) { -function controller__moveSprites__P1925(s) { +function controller__moveSprites__P22648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13511,13 +13511,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_1 = controller_players__P1921_mk(s); + s.tmp_0 = helpers_arrayForEach__P20832_mk(s); + s.tmp_1 = controller_players__P22644_mk(s); s.callLocIdx = 179; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = controller__moveSprites_inline__P11568; + s.tmp_0.arg1 = controller__moveSprites_inline__P32291; s.callLocIdx = 181; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -13525,12 +13525,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P1925.info = {"start":1108,"length":180,"line":43,"column":4,"endLine":47,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P22648.info = {"start":1108,"length":180,"line":43,"column":4,"endLine":47,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} -function controller__moveSprites__P1925_mk(s) { +function controller__moveSprites__P22648_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P1925, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P22648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13540,7 +13540,7 @@ function controller__moveSprites__P1925_mk(s) { -function controller__moveSprites_inline__P11568(s) { +function controller__moveSprites_inline__P32291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13554,7 +13554,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P1950_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P22673_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 180; s.pc = 1; return s.tmp_0; case 1: @@ -13563,12 +13563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P11568.info = {"start":1254,"length":26,"line":46,"column":26,"endLine":46,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller__moveSprites_inline__P32291.info = {"start":1254,"length":26,"line":46,"column":26,"endLine":46,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller__moveSprites_inline__P11568_mk(s) { +function controller__moveSprites_inline__P32291_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P11568, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P32291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13578,7 +13578,7 @@ function controller__moveSprites_inline__P11568_mk(s) { -function controller_Controller___preUpdate__P1950(s) { +function controller_Controller___preUpdate__P22673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13588,20 +13588,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___11575 = undefined; - s.svx___11576 = undefined; - s.svy___11577 = undefined; - s.svxInCricle___11612 = undefined; - s.svyInCircle___11614 = undefined; - s.sq___11616 = undefined; - s.scale___11631 = undefined; + s.deadSprites___32298 = undefined; + s.svx___32299 = undefined; + s.svy___32300 = undefined; + s.svxInCricle___32335 = undefined; + s.svyInCircle___32337 = undefined; + s.sq___32339 = undefined; + s.scale___32354 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P1931_mk(s); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P22654_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 199; s.pc = 18; return s.tmp_3; case 18: @@ -13617,21 +13617,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___11575 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___11575, false); + s.deadSprites___32298 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___32298, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___11576 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___11576, 0); + s.svx___32299 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___32299, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___11577 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___11577, 0); + s.svy___32300 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___32300, 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___11576; - s.tmp_5 = controller_Button_pressureLevel__P1981_mk(s); - s.tmp_6 = controller_Controller_right__P1936_mk(s); + s.tmp_1 = r0 = s.svx___32299; + s.tmp_5 = controller_Button_pressureLevel__P22704_mk(s); + s.tmp_6 = controller_Controller_right__P22659_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 200; s.pc = 20; return s.tmp_6; case 20: @@ -13641,8 +13641,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P1981_mk(s); - s.tmp_9 = controller_Controller_left__P1935_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P22704_mk(s); + s.tmp_9 = controller_Controller_left__P22658_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 202; s.pc = 22; return s.tmp_9; case 22: @@ -13657,9 +13657,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___11577; - s.tmp_4 = controller_Button_pressureLevel__P1981_mk(s); - s.tmp_5 = controller_Controller_down__P1938_mk(s); + s.tmp_0 = r0 = s.svy___32300; + s.tmp_4 = controller_Button_pressureLevel__P22704_mk(s); + s.tmp_5 = controller_Controller_down__P22661_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 204; s.pc = 24; return s.tmp_5; case 24: @@ -13669,8 +13669,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P1981_mk(s); - s.tmp_8 = controller_Controller_up__P1937_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P22704_mk(s); + s.tmp_8 = controller_Controller_up__P22660_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 206; s.pc = 26; return s.tmp_8; case 26: @@ -13687,14 +13687,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C1971_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P1936_mk(s); + s.tmp_1 = controller_Button__C22694_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P22659_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 208; 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__C1971_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C22694_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: @@ -13709,14 +13709,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C1971_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P1935_mk(s); + s.tmp_5 = controller_Button__C22694_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P22658_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 209; 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__C1971_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C22694_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: @@ -13731,18 +13731,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___11576; + s.tmp_8 = r0 = s.svx___32299; 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__C1971_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P1938_mk(s); + s.tmp_1 = controller_Button__C22694_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P22661_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 210; 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__C1971_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C22694_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: @@ -13757,14 +13757,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C1971_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P1937_mk(s); + s.tmp_5 = controller_Button__C22694_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P22660_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 211; 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__C1971_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C22694_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: @@ -13779,57 +13779,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___11577; + s.tmp_8 = r0 = s.svy___32300; 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___11612 = (r0); - s.tmp_0 = r0 = s.svxInCricle___11612; - r0 = pxsim_pxtrt_ldlocRef(s.svx___11576); + s.svxInCricle___32335 = (r0); + s.tmp_0 = r0 = s.svxInCricle___32335; + r0 = pxsim_pxtrt_ldlocRef(s.svx___32299); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___11614 = (r0); - s.tmp_0 = r0 = s.svyInCircle___11614; - r0 = pxsim_pxtrt_ldlocRef(s.svy___11577); + s.svyInCircle___32337 = (r0); + s.tmp_0 = r0 = s.svyInCircle___32337; + r0 = pxsim_pxtrt_ldlocRef(s.svy___32300); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___11576); + r0 = pxsim_pxtrt_ldlocRef(s.svx___32299); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___11576); + r0 = pxsim_pxtrt_ldlocRef(s.svx___32299); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___11577); + r0 = pxsim_pxtrt_ldlocRef(s.svy___32300); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___11577); + r0 = pxsim_pxtrt_ldlocRef(s.svy___32300); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___11616 = (r0); - r0 = (s.sq___11616 > 65536); + s.sq___32339 = (r0); + r0 = (s.sq___32339 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___11616); + r0 = (65536 / s.sq___32339); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___11631 = (r0); - s.tmp_0 = r0 = s.svxInCricle___11612; - s.tmp_3 = r0 = s.scale___11631; - r0 = pxsim_pxtrt_ldlocRef(s.svx___11576); + s.scale___32354 = (r0); + s.tmp_0 = r0 = s.svxInCricle___32335; + s.tmp_3 = r0 = s.scale___32354; + r0 = pxsim_pxtrt_ldlocRef(s.svx___32299); 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___11614; - s.tmp_3 = r0 = s.scale___11631; - r0 = pxsim_pxtrt_ldlocRef(s.svy___11577); + s.tmp_0 = r0 = s.svyInCircle___32337; + s.tmp_3 = r0 = s.scale___32354; + r0 = pxsim_pxtrt_ldlocRef(s.svy___32300); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -13838,15 +13838,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__P11649); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___11575); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___11576); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___11577); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___11612); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___11614); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P1931_mk(s); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P32372); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___32298); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___32299); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___32300); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___32335); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___32337); + s.tmp_1 = helpers_arrayForEach__P20832_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P22654_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 212; s.pc = 36; return s.tmp_2; case 36: @@ -13856,20 +13856,20 @@ switch (step) { s.callLocIdx = 220; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___11575); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___32298); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P1932_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P22655_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P1931_mk(s); + s.tmp_2 = helpers_arrayFilter__P20833_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P22654_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 221; 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__P11706; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P32429; s.callLocIdx = 222; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -13884,12 +13884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P1950.info = {"start":8684,"length":2535,"line":277,"column":8,"endLine":341,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P22673.info = {"start":8684,"length":2535,"line":277,"column":8,"endLine":341,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -function controller_Controller___preUpdate__P1950_mk(s) { +function controller_Controller___preUpdate__P22673_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P1950, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P22673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13901,13 +13901,13 @@ function controller_Controller___preUpdate__P1950_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___11575: undefined, - svx___11576: undefined, - svy___11577: undefined, - svxInCricle___11612: undefined, - svyInCircle___11614: undefined, - sq___11616: undefined, - scale___11631: undefined, + deadSprites___32298: undefined, + svx___32299: undefined, + svy___32300: undefined, + svxInCricle___32335: undefined, + svyInCircle___32337: undefined, + sq___32339: undefined, + scale___32354: undefined, arg0: undefined, } } @@ -13915,7 +13915,7 @@ function controller_Controller___preUpdate__P1950_mk(s) { -function controller_Controller___preUpdate_inline__P11649(s) { +function controller_Controller___preUpdate_inline__P32372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13925,9 +13925,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___11652 = undefined; - s.vx___11653 = undefined; - s.vy___11654 = undefined; + s.s___32375 = undefined; + s.vx___32376 = undefined; + s.vy___32377 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -13945,7 +13945,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___11652 = (r0); + s.s___32375 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -13958,7 +13958,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___11653 = (r0); + s.vx___32376 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -13971,8 +13971,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___11654 = (r0); - r0 = s.s___11652.fields["flags"]; + s.vy___32377 = (r0); + r0 = s.s___32375.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -13986,14 +13986,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___11653); + r0 = pxsim_numops_toBoolDecr(s.vx___32376); if (!r0) { step = 3; continue; } - r0 = (s.s___11652).fields["_vx"] = (0); + r0 = (s.s___32375).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___11654); + r0 = pxsim_numops_toBoolDecr(s.vy___32377); if (!r0) { step = 5; continue; } - r0 = (s.s___11652).fields["_vy"] = (0); + r0 = (s.s___32375).fields["_vy"] = (0); case 5: case 6: case 7: @@ -14011,48 +14011,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___11653; + s.tmp_2 = r0 = s.vx___32376; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___11654; + r0 = s.vy___32377; 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___11652; + s.tmp_4 = r0 = s.s___32375; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___11653); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___32376); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___11652; + s.tmp_0 = r0 = s.s___32375; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___11654); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___32377); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___11653); + r0 = pxsim_numops_toBoolDecr(s.vx___32376); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___11652; + s.tmp_0 = r0 = s.s___32375; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___11653); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___32376); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___11654); + r0 = pxsim_numops_toBoolDecr(s.vy___32377); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___11652; + s.tmp_0 = r0 = s.s___32375; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___11654); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___32377); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -14069,12 +14069,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P11649.info = {"start":9867,"length":1171,"line":308,"column":44,"endLine":336,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +controller_Controller___preUpdate_inline__P32372.info = {"start":9867,"length":1171,"line":308,"column":44,"endLine":336,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -function controller_Controller___preUpdate_inline__P11649_mk(s) { +function controller_Controller___preUpdate_inline__P32372_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P11649, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P32372, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14083,9 +14083,9 @@ function controller_Controller___preUpdate_inline__P11649_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___11652: undefined, - vx___11653: undefined, - vy___11654: undefined, + s___32375: undefined, + vx___32376: undefined, + vy___32377: undefined, arg0: undefined, } } @@ -14093,7 +14093,7 @@ function controller_Controller___preUpdate_inline__P11649_mk(s) { -function controller_Controller___preUpdate_inline__P11706(s) { +function controller_Controller___preUpdate_inline__P32429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14118,12 +14118,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P11706.info = {"start":11165,"length":42,"line":340,"column":28,"endLine":340,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +controller_Controller___preUpdate_inline__P32429.info = {"start":11165,"length":42,"line":340,"column":28,"endLine":340,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} -function controller_Controller___preUpdate_inline__P11706_mk(s) { +function controller_Controller___preUpdate_inline__P32429_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P11706, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P32429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14135,7 +14135,7 @@ function controller_Controller___preUpdate_inline__P11706_mk(s) { -function controller_Button_pressureLevel__P1981(s) { +function controller_Button_pressureLevel__P22704(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14150,16 +14150,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C1971_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C22694_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__C1971_v0_1_mk(s); + s.tmp_3 = controller_Button__C22694_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C1971_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C22694_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: @@ -14188,12 +14188,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P1981.info = {"start":4157,"length":311,"line":131,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} +controller_Button_pressureLevel__P22704.info = {"start":4157,"length":311,"line":131,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} -function controller_Button_pressureLevel__P1981_mk(s) { +function controller_Button_pressureLevel__P22704_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P1981, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P22704, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14208,7 +14208,7 @@ function controller_Button_pressureLevel__P1981_mk(s) { -function controller_Button_isPressed__P1980(s) { +function controller_Button_isPressed__P22703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14223,17 +14223,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C1971_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C22694_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P1980.info = {"start":4007,"length":57,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} +controller_Button_isPressed__P22703.info = {"start":4007,"length":57,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_Button_isPressed__P1980_mk(s) { +function controller_Button_isPressed__P22703_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P1980, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P22703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14242,7 +14242,7 @@ function controller_Button_isPressed__P1980_mk(s) { -function controller_Controller_down__P1938(s) { +function controller_Controller_down__P22661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14257,7 +14257,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -14266,13 +14266,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P1938.info = {"start":3234,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} -controller_Controller_down__P1938.isGetter = true; +controller_Controller_down__P22661.info = {"start":3234,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} +controller_Controller_down__P22661.isGetter = true; -function controller_Controller_down__P1938_mk(s) { +function controller_Controller_down__P22661_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P1938, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P22661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14283,7 +14283,7 @@ function controller_Controller_down__P1938_mk(s) { -function controller_Controller_button__P4098(s) { +function controller_Controller_button__P24821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14299,7 +14299,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -14308,12 +14308,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P4098.info = {"start":5274,"length":105,"line":184,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P24821.info = {"start":5274,"length":105,"line":184,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} -function controller_Controller_button__P4098_mk(s) { +function controller_Controller_button__P24821_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P4098, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P24821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14325,7 +14325,7 @@ function controller_Controller_button__P4098_mk(s) { -function controller_Controller_up__P1937(s) { +function controller_Controller_up__P22660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14340,7 +14340,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -14349,13 +14349,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P1937.info = {"start":3082,"length":73,"line":113,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} -controller_Controller_up__P1937.isGetter = true; +controller_Controller_up__P22660.info = {"start":3082,"length":73,"line":113,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} +controller_Controller_up__P22660.isGetter = true; -function controller_Controller_up__P1937_mk(s) { +function controller_Controller_up__P22660_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P1937, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P22660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14366,7 +14366,7 @@ function controller_Controller_up__P1937_mk(s) { -function controller_Controller_right__P1936(s) { +function controller_Controller_right__P22659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14381,7 +14381,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -14390,13 +14390,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P1936.info = {"start":2926,"length":79,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} -controller_Controller_right__P1936.isGetter = true; +controller_Controller_right__P22659.info = {"start":2926,"length":79,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} +controller_Controller_right__P22659.isGetter = true; -function controller_Controller_right__P1936_mk(s) { +function controller_Controller_right__P22659_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P1936, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P22659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14407,7 +14407,7 @@ function controller_Controller_right__P1936_mk(s) { -function controller_Controller_left__P1935(s) { +function controller_Controller_left__P22658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14422,7 +14422,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -14431,13 +14431,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P1935.info = {"start":2769,"length":77,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} -controller_Controller_left__P1935.isGetter = true; +controller_Controller_left__P22658.info = {"start":2769,"length":77,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} +controller_Controller_left__P22658.isGetter = true; -function controller_Controller_left__P1935_mk(s) { +function controller_Controller_left__P22658_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P1935, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P22658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14448,7 +14448,7 @@ function controller_Controller_left__P1935_mk(s) { -function controller_Controller__controlledSprites__P1932(s) { +function controller_Controller__controlledSprites__P22655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14464,8 +14464,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P2609_mk(s); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 185; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -14478,12 +14478,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P1932.info = {"start":2403,"length":134,"line":81,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} +controller_Controller__controlledSprites__P22655.info = {"start":2403,"length":134,"line":81,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} -function controller_Controller__controlledSprites__P1932_mk(s) { +function controller_Controller__controlledSprites__P22655_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P1932, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P22655, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14496,7 +14496,7 @@ function controller_Controller__controlledSprites__P1932_mk(s) { -function controller_Controller__controlledSprites__P1931(s) { +function controller_Controller__controlledSprites__P22654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14511,8 +14511,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P2609_mk(s); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 184; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -14524,13 +14524,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P1931.info = {"start":2261,"length":132,"line":77,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} -controller_Controller__controlledSprites__P1931.isGetter = true; +controller_Controller__controlledSprites__P22654.info = {"start":2261,"length":132,"line":77,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} +controller_Controller__controlledSprites__P22654.isGetter = true; -function controller_Controller__controlledSprites__P1931_mk(s) { +function controller_Controller__controlledSprites__P22654_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P1931, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P22654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14542,7 +14542,7 @@ function controller_Controller__controlledSprites__P1931_mk(s) { -function Fx_imul__P161(s) { +function Fx_imul__P20884(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14561,12 +14561,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P161.info = {"start":1010,"length":130,"line":32,"column":4,"endLine":34,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"imul","argumentNames":["a","b"]} +Fx_imul__P20884.info = {"start":1010,"length":130,"line":32,"column":4,"endLine":34,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"imul","argumentNames":["a","b"]} -function Fx_imul__P161_mk(s) { +function Fx_imul__P20884_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P161, depth: s.depth + 1, + parent: s, fn: Fx_imul__P20884, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -14576,7 +14576,7 @@ function Fx_imul__P161_mk(s) { -function power_checkDeepSleep__P1729(s) { +function power_checkDeepSleep__P22452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14586,13 +14586,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___10769 = undefined; - s.to___10772 = undefined; - s.tmp_0 = power_init__P4009_mk(s); + s.p___31492 = undefined; + s.to___31495 = undefined; + s.tmp_0 = power_init__P24732_mk(s); s.callLocIdx = 113; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___4007; + s.tmp_0 = r0 = globals._poked___24730; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -14602,8 +14602,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___10769 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___4008; + s.p___31492 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___24731; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -14613,8 +14613,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___10772 = (s.tmp_1); - r0 = (s.to___10772 > 0); + s.to___31495 = (s.tmp_1); + r0 = (s.to___31495 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -14623,9 +14623,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___10769); + r0 = (s.tmp_2 - s.p___31492); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___10772); + r0 = (s.tmp_1 > s.to___31495); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -14651,12 +14651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P1729.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P22452.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__P1729_mk(s) { +function power_checkDeepSleep__P22452_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P1729, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P22452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14665,15 +14665,15 @@ function power_checkDeepSleep__P1729_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___10769: undefined, - to___10772: undefined, + p___31492: undefined, + to___31495: undefined, } } -function power_init__P4009(s) { +function power_init__P24732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14683,7 +14683,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___4008 !== undefined); + r0 = (globals._timeout___24731 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -14693,21 +14693,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___4008 = (r0); - r0 = (globals._timeout___4008 > 0); + globals._timeout___24731 = (r0); + r0 = (globals._timeout___24731 > 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___4008 < 300000); + r0 = (globals._timeout___24731 < 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___4008 = (300000); + globals._timeout___24731 = (300000); case 5: case 6: case 7: @@ -14715,12 +14715,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P4009.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P24732.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__P4009_mk(s) { +function power_init__P24732_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P4009, depth: s.depth + 1, + parent: s, fn: power_init__P24732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14730,7 +14730,7 @@ function power_init__P4009_mk(s) { -function power_poke__P1728(s) { +function power_poke__P22451(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14740,22 +14740,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P4009_mk(s); + s.tmp_0 = power_init__P24732_mk(s); s.callLocIdx = 112; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___4007 = (r0); + globals._poked___24730 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P1728.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P22451.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__P1728_mk(s) { +function power_poke__P22451_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P1728, depth: s.depth + 1, + parent: s, fn: power_poke__P22451, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14764,7 +14764,7 @@ function power_poke__P1728_mk(s) { -function control_EventContext_deltaTime__P398(s) { +function control_EventContext_deltaTime__P21121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14779,20 +14779,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C21116_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__P398.info = {"start":2097,"length":75,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P398.isGetter = true; +control_EventContext_deltaTime__P21121.info = {"start":2097,"length":75,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} +control_EventContext_deltaTime__P21121.isGetter = true; -function control_EventContext_deltaTime__P398_mk(s) { +function control_EventContext_deltaTime__P21121_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P398, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P21121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14802,7 +14802,7 @@ function control_EventContext_deltaTime__P398_mk(s) { -function scene_Scene_constructor__P2517(s) { +function scene_Scene_constructor__P23240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14819,13 +14819,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2496_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C23219_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__C2254_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C22977_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P2255_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P22978_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -14834,17 +14834,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C2437_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C23160_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P2441_mk(s); + s.tmp_1 = scene_Camera_constructor__P23164_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 936; 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__C2348_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C23071_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P2352_mk(s); + s.tmp_1 = scene_Background_constructor__P23075_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -14901,12 +14901,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P2517.info = {"start":3365,"length":793,"line":102,"column":8,"endLine":120,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P23240.info = {"start":3365,"length":793,"line":102,"column":8,"endLine":120,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -function scene_Scene_constructor__P2517_mk(s) { +function scene_Scene_constructor__P23240_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P2517, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P23240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14919,7 +14919,7 @@ function scene_Scene_constructor__P2517_mk(s) { -function scene_Camera_constructor__P2441(s) { +function scene_Camera_constructor__P23164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14934,7 +14934,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2437_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -14943,12 +14943,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P2441.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} +scene_Camera_constructor__P23164.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} -function scene_Camera_constructor__P2441_mk(s) { +function scene_Camera_constructor__P23164_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P2441, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P23164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14957,7 +14957,7 @@ function scene_Camera_constructor__P2441_mk(s) { -function scene_Background_constructor__P2352(s) { +function scene_Background_constructor__P23075(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14973,7 +14973,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2348_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C23071_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -14984,12 +14984,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P2352.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__P23075.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__P2352_mk(s) { +function scene_Background_constructor__P23075_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P2352, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P23075, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15001,7 +15001,7 @@ function scene_Background_constructor__P2352_mk(s) { -function ArcadePhysicsEngine_constructor__P2255(s) { +function ArcadePhysicsEngine_constructor__P22978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15019,33 +15019,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_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__C2173_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C22896_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P2174_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P22897_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 499; 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__P2257_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P22980_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 500; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P2261_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P22984_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 501; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P2259_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P22982_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 502; s.pc = 4; return s.tmp_0; @@ -15055,12 +15055,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P2255.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__P22978.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__P2255_mk(s) { +function ArcadePhysicsEngine_constructor__P22978_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P2255, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P22978, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15074,7 +15074,7 @@ function ArcadePhysicsEngine_constructor__P2255_mk(s) { -function ArcadePhysicsEngine_maxStep__P2261(s) { +function ArcadePhysicsEngine_maxStep__P22984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15090,7 +15090,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -15101,12 +15101,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P2261.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__P22984.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__P2261_mk(s) { +function ArcadePhysicsEngine_maxStep__P22984_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P2261, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P22984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15119,7 +15119,7 @@ function ArcadePhysicsEngine_maxStep__P2261_mk(s) { -function ArcadePhysicsEngine_maxStep__P2260(s) { +function ArcadePhysicsEngine_maxStep__P22983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15134,7 +15134,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -15143,13 +15143,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P2260.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__P2260.isGetter = true; +ArcadePhysicsEngine_maxStep__P22983.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__P22983.isGetter = true; -function ArcadePhysicsEngine_maxStep__P2260_mk(s) { +function ArcadePhysicsEngine_maxStep__P22983_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P2260, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P22983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15160,7 +15160,7 @@ function ArcadePhysicsEngine_maxStep__P2260_mk(s) { -function Fx_toInt__P170(s) { +function Fx_toInt__P20893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15180,12 +15180,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P170.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} +Fx_toInt__P20893.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} -function Fx_toInt__P170_mk(s) { +function Fx_toInt__P20893_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P170, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P20893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15195,7 +15195,7 @@ function Fx_toInt__P170_mk(s) { -function ArcadePhysicsEngine_minStep__P2259(s) { +function ArcadePhysicsEngine_minStep__P22982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15211,7 +15211,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -15222,12 +15222,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P2259.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__P22982.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__P2259_mk(s) { +function ArcadePhysicsEngine_minStep__P22982_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P2259, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P22982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15240,7 +15240,7 @@ function ArcadePhysicsEngine_minStep__P2259_mk(s) { -function ArcadePhysicsEngine_minStep__P2258(s) { +function ArcadePhysicsEngine_minStep__P22981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15255,7 +15255,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -15264,13 +15264,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P2258.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__P2258.isGetter = true; +ArcadePhysicsEngine_minStep__P22981.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__P22981.isGetter = true; -function ArcadePhysicsEngine_minStep__P2258_mk(s) { +function ArcadePhysicsEngine_minStep__P22981_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P2258, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P22981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15281,7 +15281,7 @@ function ArcadePhysicsEngine_minStep__P2258_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P2257(s) { +function ArcadePhysicsEngine_maxSpeed__P22980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15297,7 +15297,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -15314,12 +15314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P2257.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__P22980.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__P2257_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P22980_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2257, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P22980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15332,7 +15332,7 @@ function ArcadePhysicsEngine_maxSpeed__P2257_mk(s) { -function Fx_neg__P155(s) { +function Fx_neg__P20878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15350,12 +15350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P155.info = {"start":311,"length":88,"line":14,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"neg","argumentNames":["a"]} +Fx_neg__P20878.info = {"start":311,"length":88,"line":14,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"neg","argumentNames":["a"]} -function Fx_neg__P155_mk(s) { +function Fx_neg__P20878_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P155, depth: s.depth + 1, + parent: s, fn: Fx_neg__P20878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15364,7 +15364,7 @@ function Fx_neg__P155_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P2256(s) { +function ArcadePhysicsEngine_maxSpeed__P22979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15379,7 +15379,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -15388,13 +15388,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P2256.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__P2256.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P22979.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__P22979.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P2256_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P22979_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2256, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P22979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15405,7 +15405,7 @@ function ArcadePhysicsEngine_maxSpeed__P2256_mk(s) { -function PhysicsEngine_constructor__P2239(s) { +function PhysicsEngine_constructor__P22962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15420,17 +15420,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2238_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C22961_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P2239.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__P22962.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__P2239_mk(s) { +function PhysicsEngine_constructor__P22962_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P2239, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P22962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15439,7 +15439,7 @@ function PhysicsEngine_constructor__P2239_mk(s) { -function sprites_SpriteMap_constructor__P2174(s) { +function sprites_SpriteMap_constructor__P22897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15454,7 +15454,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2173_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -15463,12 +15463,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P2174.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__P22897.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__P2174_mk(s) { +function sprites_SpriteMap_constructor__P22897_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P2174, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P22897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15479,7 +15479,7 @@ function sprites_SpriteMap_constructor__P2174_mk(s) { -function music_Melody_constructor__P1613(s) { +function music_Melody_constructor__P22336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15495,18 +15495,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1610_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C22333_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P1613.info = {"start":6328,"length":67,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P22336.info = {"start":6328,"length":67,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} -function music_Melody_constructor__P1613_mk(s) { +function music_Melody_constructor__P22336_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P1613, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P22336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15516,7 +15516,7 @@ function music_Melody_constructor__P1613_mk(s) { -function control_pushEventContext__P407(s) { +function control_pushEventContext__P21130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15526,63 +15526,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___11995 = undefined; - s.n___12001 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3940); + s.ctx___32718 = undefined; + s.n___32724 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___24663); 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___3940 = (r0); + globals.eventContexts___24663 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P406_mk(s); + s.tmp_0 = control_eventContext__P21129_mk(s); s.callLocIdx = 59; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___11995 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___11995); + s.ctx___32718 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___32718); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P400_mk(s); - s.tmp_0.arg0 = s.ctx___11995; + s.tmp_0 = control_EventContext_unregister__P21123_mk(s); + s.tmp_0.arg0 = s.ctx___32718; s.callLocIdx = 60; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C393_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C21116_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P397_mk(s); + s.tmp_1 = control_EventContext_constructor__P21120_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 61; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___12001 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___3940, s.n___12001); - r0 = s.n___12001; + s.n___32724 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___24663, s.n___32724); + r0 = s.n___32724; return leave(s, r0) default: oops() } } } -control_pushEventContext__P407.info = {"start":7123,"length":340,"line":216,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P21130.info = {"start":7123,"length":340,"line":216,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -function control_pushEventContext__P407_mk(s) { +function control_pushEventContext__P21130_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P407, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P21130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___11995: undefined, - n___12001: undefined, + ctx___32718: undefined, + n___32724: undefined, } } -function control_EventContext_unregister__P400(s) { +function control_EventContext_unregister__P21123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15592,37 +15592,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___9387 = undefined; - s.unnamed52___U1 = undefined; - s.unnamed53___U2 = undefined; + s.h___30110 = undefined; + s.unnamed132___U1 = undefined; + s.unnamed133___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); - s.h___9387 = (undefined); + if (!checkSubtype(r0, control_EventContext__C21116_VT)) failedCast(r0); + s.h___30110 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed52___U1 = (r0); - s.unnamed53___U2 = (0); + s.unnamed132___U1 = (r0); + s.unnamed133___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed53___U2; - r0 = pxsim_Array__length(s.unnamed52___U1); + s.tmp_0 = r0 = s.unnamed133___U2; + r0 = pxsim_Array__length(s.unnamed132___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed52___U1, s.unnamed53___U2); - s.h___9387 = (r0); - s.tmp_2 = control_EventHandler_unregister__P3934_mk(s); - s.tmp_2.arg0 = s.h___9387; + r0 = pxsim_Array__getAt(s.unnamed132___U1, s.unnamed133___U2); + s.h___30110 = (r0); + s.tmp_2 = control_EventHandler_unregister__P24657_mk(s); + s.tmp_2.arg0 = s.h___30110; s.callLocIdx = 55; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed53___U2 + 1); - s.unnamed53___U2 = (r0); + r0 = (s.unnamed133___U2 + 1); + s.unnamed133___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed52___U1 = (undefined); + s.unnamed132___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -15633,19 +15633,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P400.info = {"start":4534,"length":131,"line":137,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P21123.info = {"start":4534,"length":131,"line":137,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventContext_unregister__P400_mk(s) { +function control_EventContext_unregister__P21123_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P400, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P21123, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___9387: undefined, - unnamed52___U1: undefined, - unnamed53___U2: undefined, + h___30110: undefined, + unnamed132___U1: undefined, + unnamed133___U2: undefined, arg0: undefined, } } @@ -15653,7 +15653,7 @@ function control_EventContext_unregister__P400_mk(s) { -function control_EventHandler_unregister__P3934(s) { +function control_EventHandler_unregister__P24657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15668,24 +15668,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C3932_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C24655_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__P3936, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P24659, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P3934.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__P24657.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__P3934_mk(s) { +function control_EventHandler_unregister__P24657_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P3934, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P24657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15697,7 +15697,7 @@ function control_EventHandler_unregister__P3934_mk(s) { -function control_doNothing__P3936(s) { +function control_doNothing__P24659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15711,12 +15711,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P3936.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P24659.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__P3936_mk(s) { +function control_doNothing__P24659_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P3936, depth: s.depth + 1, + parent: s, fn: control_doNothing__P24659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -15724,7 +15724,7 @@ function control_doNothing__P3936_mk(s) { -function control_EventContext_constructor__P397(s) { +function control_EventContext_constructor__P21120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15739,7 +15739,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C21116_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -15749,26 +15749,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___395); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___21118); 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___395 = (r0); + globals.control_EventContext_lastStats___21118 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P397.info = {"start":1740,"length":347,"line":58,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P21120.info = {"start":1740,"length":347,"line":58,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -function control_EventContext_constructor__P397_mk(s) { +function control_EventContext_constructor__P21120_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P397, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P21120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15779,7 +15779,7 @@ function control_EventContext_constructor__P397_mk(s) { -function game_popScene__P2614(s) { +function game_popScene__P23337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15789,57 +15789,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___9320 = undefined; - s.tmp_0 = game_currentScene__P2609_mk(s); + s.oldScene___30043 = undefined; + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 1082; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___9320 = (r0); - s.tmp_0 = r0 = globals._sceneStack___4290; + s.oldScene___30043 = (r0); + s.tmp_0 = r0 = globals._sceneStack___25013; 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___4290); + r0 = pxsim_Array__length(globals._sceneStack___25013); 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___4290); - globals._scene___4289 = (r0); - s.tmp_0 = control_popEventContext__P408_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___25013); + globals._scene___25012 = (r0); + s.tmp_0 = control_popEventContext__P21131_mk(s); s.callLocIdx = 1083; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___4289); + r0 = pxsim_numops_toBoolDecr(globals._scene___25012); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P408_mk(s); + s.tmp_0 = control_popEventContext__P21131_mk(s); s.callLocIdx = 1084; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___4289 = (undefined); + globals._scene___25012 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___4289); + r0 = pxsim_numops_toBoolDecr(globals._scene___25012); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P2788_mk(s); + s.tmp_0 = particles_enableAll__P23511_mk(s); s.callLocIdx = 1085; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___4292); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___25015); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P9341); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P30064); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___9320); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___4292; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___30043); + s.tmp_1 = helpers_arrayForEach__P20832_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___25015; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1087; s.pc = 15; return s.tmp_1; case 15: @@ -15850,23 +15850,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P2614.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P23337.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} -function game_popScene__P2614_mk(s) { +function game_popScene__P23337_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P2614, depth: s.depth + 1, + parent: s, fn: game_popScene__P23337, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___9320: undefined, + oldScene___30043: undefined, } } -function game_popScene_inline__P9341(s) { +function game_popScene_inline__P30064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15891,12 +15891,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene_inline__P9341.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_popScene_inline__P30064.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_popScene_inline__P9341_mk(s) { +function game_popScene_inline__P30064_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P9341, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P30064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15906,7 +15906,7 @@ function game_popScene_inline__P9341_mk(s) { -function particles_enableAll__P2788(s) { +function particles_enableAll__P23511(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15916,21 +15916,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9345 = undefined; - s.tmp_0 = particles_particleSources__P4638_mk(s); + s.sources___30068 = undefined; + s.tmp_0 = particles_particleSources__P25361_mk(s); s.callLocIdx = 1349; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___9345 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___9345); + s.sources___30068 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___30068); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___9345; - s.tmp_0.arg1 = particles_enableAll_inline__P9351; + s.tmp_0 = helpers_arrayForEach__P20832_mk(s); + s.tmp_0.arg0 = s.sources___30068; + s.tmp_0.arg1 = particles_enableAll_inline__P30074; s.callLocIdx = 1351; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P4634_mk(s); + s.tmp_0 = particles_pruneParticles__P25357_mk(s); s.callLocIdx = 1352; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -15940,22 +15940,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P2788.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P23511.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__P2788_mk(s) { +function particles_enableAll__P23511_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P2788, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P23511, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___9345: undefined, + sources___30068: undefined, } } -function particles_enableAll_inline__P9351(s) { +function particles_enableAll_inline__P30074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15969,7 +15969,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P2769_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P23492_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1350; s.pc = 1; return s.tmp_0; @@ -15979,12 +15979,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P9351.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__P30074.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__P9351_mk(s) { +function particles_enableAll_inline__P30074_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P9351, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P30074, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15994,7 +15994,7 @@ function particles_enableAll_inline__P9351_mk(s) { -function control_popEventContext__P408(s) { +function control_popEventContext__P21131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16004,9 +16004,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___9358 = undefined; - s.context___9366 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3940); + s.ctx___30081 = undefined; + s.context___30089 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___24663); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -16015,9 +16015,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___3940); - s.ctx___9358 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___9358); + r0 = pxsim_Array_.pop(globals.eventContexts___24663); + s.ctx___30081 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___30081); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -16026,53 +16026,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P400_mk(s); - s.tmp_2.arg0 = s.ctx___9358; + s.tmp_2 = control_EventContext_unregister__P21123_mk(s); + s.tmp_2.arg0 = s.ctx___30081; s.callLocIdx = 62; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___3940; - r0 = pxsim_Array__length(globals.eventContexts___3940); + s.tmp_0 = r0 = globals.eventContexts___24663; + r0 = pxsim_Array__length(globals.eventContexts___24663); 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___9366 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___9366); + s.context___30089 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___30089); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P399_mk(s); - s.tmp_0.arg0 = s.context___9366; + s.tmp_0 = control_EventContext_register__P21122_mk(s); + s.tmp_0.arg0 = s.context___30089; s.callLocIdx = 63; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___3940 = (undefined); + globals.eventContexts___24663 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P408.info = {"start":7568,"length":413,"line":232,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P21131.info = {"start":7568,"length":413,"line":232,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -function control_popEventContext__P408_mk(s) { +function control_popEventContext__P21131_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P408, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P21131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___9358: undefined, - context___9366: undefined, + ctx___30081: undefined, + context___30089: undefined, } } -function control_EventContext_register__P399(s) { +function control_EventContext_register__P21122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16082,38 +16082,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___9379 = undefined; - s.unnamed50___U1 = undefined; - s.unnamed51___U2 = undefined; + s.h___30102 = undefined; + s.unnamed130___U1 = undefined; + s.unnamed131___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); - s.h___9379 = (undefined); + if (!checkSubtype(r0, control_EventContext__C21116_VT)) failedCast(r0); + s.h___30102 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed50___U1 = (r0); - s.unnamed51___U2 = (0); + s.unnamed130___U1 = (r0); + s.unnamed131___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed51___U2; - r0 = pxsim_Array__length(s.unnamed50___U1); + s.tmp_0 = r0 = s.unnamed131___U2; + r0 = pxsim_Array__length(s.unnamed130___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed50___U1, s.unnamed51___U2); - s.h___9379 = (r0); - s.tmp_2 = control_EventHandler_register__P3933_mk(s); - s.tmp_2.arg0 = s.h___9379; + r0 = pxsim_Array__getAt(s.unnamed130___U1, s.unnamed131___U2); + s.h___30102 = (r0); + s.tmp_2 = control_EventHandler_register__P24656_mk(s); + s.tmp_2.arg0 = s.h___30102; s.callLocIdx = 53; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed51___U2 + 1); - s.unnamed51___U2 = (r0); + r0 = (s.unnamed131___U2 + 1); + s.unnamed131___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed50___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P3938_mk(s); + s.unnamed130___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P24661_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 54; s.pc = 4; return s.tmp_0; case 4: @@ -16122,19 +16122,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P399.info = {"start":4386,"length":138,"line":131,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P21122.info = {"start":4386,"length":138,"line":131,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventContext_register__P399_mk(s) { +function control_EventContext_register__P21122_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P399, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P21122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___9379: undefined, - unnamed50___U1: undefined, - unnamed51___U2: undefined, + h___30102: undefined, + unnamed130___U1: undefined, + unnamed131___U2: undefined, arg0: undefined, } } @@ -16142,7 +16142,7 @@ function control_EventContext_register__P399_mk(s) { -function game_pushScene__P2613(s) { +function game_pushScene__P23336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16152,43 +16152,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___9105 = undefined; - s.tmp_0 = game_currentScene__P2609_mk(s); + s.oldScene___29828 = undefined; + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 1076; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___9105 = (r0); - s.tmp_0 = particles_clearAll__P2786_mk(s); + s.oldScene___29828 = (r0); + s.tmp_0 = particles_clearAll__P23509_mk(s); s.callLocIdx = 1077; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P2787_mk(s); + s.tmp_0 = particles_disableAll__P23510_mk(s); s.callLocIdx = 1078; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___4290); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___25013); 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___4290 = (r0); + globals._sceneStack___25013 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___4290, globals._scene___4289); - s.tmp_0 = game_init__P4297_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___25013, globals._scene___25012); + s.tmp_0 = game_init__P25020_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1079; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___4291); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___25014); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P9122); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P29845); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___9105); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___4291; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___29828); + s.tmp_1 = helpers_arrayForEach__P20832_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___25014; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1081; s.pc = 9; return s.tmp_1; case 9: @@ -16199,23 +16199,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P2613.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P23336.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} -function game_pushScene__P2613_mk(s) { +function game_pushScene__P23336_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P2613, depth: s.depth + 1, + parent: s, fn: game_pushScene__P23336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___9105: undefined, + oldScene___29828: undefined, } } -function game_pushScene_inline__P9122(s) { +function game_pushScene_inline__P29845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16240,12 +16240,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene_inline__P9122.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_pushScene_inline__P29845.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_pushScene_inline__P9122_mk(s) { +function game_pushScene_inline__P29845_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P9122, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P29845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16255,7 +16255,7 @@ function game_pushScene_inline__P9122_mk(s) { -function particles_disableAll__P2787(s) { +function particles_disableAll__P23510(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16265,21 +16265,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9126 = undefined; - s.tmp_0 = particles_particleSources__P4638_mk(s); + s.sources___29849 = undefined; + s.tmp_0 = particles_particleSources__P25361_mk(s); s.callLocIdx = 1345; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___9126 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___9126); + s.sources___29849 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___29849); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___9126; - s.tmp_0.arg1 = particles_disableAll_inline__P9132; + s.tmp_0 = helpers_arrayForEach__P20832_mk(s); + s.tmp_0.arg0 = s.sources___29849; + s.tmp_0.arg1 = particles_disableAll_inline__P29855; s.callLocIdx = 1347; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P4634_mk(s); + s.tmp_0 = particles_pruneParticles__P25357_mk(s); s.callLocIdx = 1348; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -16289,22 +16289,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P2787.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P23510.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__P2787_mk(s) { +function particles_disableAll__P23510_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P2787, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P23510, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___9126: undefined, + sources___29849: undefined, } } -function particles_disableAll_inline__P9132(s) { +function particles_disableAll_inline__P29855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16318,7 +16318,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P2769_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P23492_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1346; s.pc = 1; return s.tmp_0; @@ -16328,12 +16328,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P9132.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__P29855.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__P9132_mk(s) { +function particles_disableAll_inline__P29855_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P9132, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P29855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16343,7 +16343,7 @@ function particles_disableAll_inline__P9132_mk(s) { -function particles_clearAll__P2786(s) { +function particles_clearAll__P23509(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16353,21 +16353,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9305 = undefined; - s.tmp_0 = particles_particleSources__P4638_mk(s); + s.sources___30028 = undefined; + s.tmp_0 = particles_particleSources__P25361_mk(s); s.callLocIdx = 1341; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___9305 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___9305); + s.sources___30028 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___30028); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___9305; - s.tmp_0.arg1 = particles_clearAll_inline__P9311; + s.tmp_0 = helpers_arrayForEach__P20832_mk(s); + s.tmp_0.arg0 = s.sources___30028; + s.tmp_0.arg1 = particles_clearAll_inline__P30034; s.callLocIdx = 1343; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P4634_mk(s); + s.tmp_0 = particles_pruneParticles__P25357_mk(s); s.callLocIdx = 1344; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -16377,22 +16377,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P2786.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P23509.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__P2786_mk(s) { +function particles_clearAll__P23509_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P2786, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P23509, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___9305: undefined, + sources___30028: undefined, } } -function particles_clearAll_inline__P9311(s) { +function particles_clearAll_inline__P30034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16406,7 +16406,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P2771_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P23494_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1342; s.pc = 1; return s.tmp_0; case 1: @@ -16415,12 +16415,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P9311.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__P30034.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__P9311_mk(s) { +function particles_clearAll_inline__P30034_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P9311, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P30034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16430,7 +16430,7 @@ function particles_clearAll_inline__P9311_mk(s) { -function game_waitAnyButton__P2611(s) { +function game_waitAnyButton__P23334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16440,17 +16440,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___4293); + r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___25016); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__waitAnyButton___4293; + s.tmp_0.argL = globals.__waitAnyButton___25016; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1070; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = pause__P411_mk(s); + s.tmp_0 = pause__P21134_mk(s); s.tmp_0.arg0 = 3000; s.callLocIdx = 1071; s.pc = 4; return s.tmp_0; case 4: @@ -16460,12 +16460,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_waitAnyButton__P2611.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} +game_waitAnyButton__P23334.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} -function game_waitAnyButton__P2611_mk(s) { +function game_waitAnyButton__P23334_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_waitAnyButton__P2611, depth: s.depth + 1, + parent: s, fn: game_waitAnyButton__P23334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16474,7 +16474,7 @@ function game_waitAnyButton__P2611_mk(s) { -function game_GameOverDialog_update__P2596(s) { +function game_GameOverDialog_update__P23319(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16489,15 +16489,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2593_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P4264_mk(s); + if (!checkSubtype(r0, game_GameOverDialog__C23316_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P24987_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1028; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = game_GameOverDialog__C2593_v2_1_mk(s); + s.tmp_0 = game_GameOverDialog__C23316_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C2593_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C23316_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 4; return s.tmp_0; case 4: @@ -16506,7 +16506,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_BaseDialog_drawCursorRow__P2570_mk(s); + s.tmp_1 = game_BaseDialog_drawCursorRow__P23293_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1029; s.pc = 5; return s.tmp_1; case 5: @@ -16517,12 +16517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_update__P2596.info = {"start":11515,"length":173,"line":352,"column":8,"endLine":359,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_GameOverDialog_update__P23319.info = {"start":11515,"length":173,"line":352,"column":8,"endLine":359,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_GameOverDialog_update__P2596_mk(s) { +function game_GameOverDialog_update__P23319_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_update__P2596, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_update__P23319, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16533,7 +16533,7 @@ function game_GameOverDialog_update__P2596_mk(s) { -function game_BaseDialog_clearInterior__P4264(s) { +function game_BaseDialog_clearInterior__P24987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16543,21 +16543,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___7961 = undefined; - s.s___7968 = undefined; + s.d___28684 = undefined; + s.s___28691 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P4263_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P24986_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 4; s.tmp_2.arg2 = 1; @@ -16576,9 +16576,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.d___7961 = (1); + s.d___28684 = (1); case 3: - s.tmp_1 = r0 = s.d___7961; + s.tmp_1 = r0 = s.d___28684; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -16587,9 +16587,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.s___7968 = (1); + s.s___28691 = (1); case 4: - s.tmp_1 = r0 = s.s___7968; + s.tmp_1 = r0 = s.s___28691; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -16598,20 +16598,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P4265_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P24988_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 4; - s.tmp_4.arg2 = s.d___7961; - s.tmp_4.arg3 = s.s___7968; + s.tmp_4.arg2 = s.d___28684; + s.tmp_4.arg3 = s.s___28691; s.callLocIdx = 999; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; - r0 = (s.s___7968 + 1); - s.s___7968 = (r0); + r0 = (s.s___28691 + 1); + s.s___28691 = (r0); { step = 4; continue; } case 5: - r0 = (s.d___7961 + 1); - s.d___7961 = (r0); + r0 = (s.d___28684 + 1); + s.d___28684 = (r0); { step = 3; continue; } case 6: case 7: @@ -16619,20 +16619,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_clearInterior__P4264.info = {"start":3942,"length":342,"line":133,"column":8,"endLine":142,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} +game_BaseDialog_clearInterior__P24987.info = {"start":3942,"length":342,"line":133,"column":8,"endLine":142,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} -function game_BaseDialog_clearInterior__P4264_mk(s) { +function game_BaseDialog_clearInterior__P24987_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_clearInterior__P4264, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_clearInterior__P24987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___7961: undefined, - s___7968: undefined, + d___28684: undefined, + s___28691: undefined, arg0: undefined, } } @@ -16640,7 +16640,7 @@ function game_BaseDialog_clearInterior__P4264_mk(s) { -function game_BaseDialog_drawPartial__P4265(s) { +function game_BaseDialog_drawPartial__P24988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16650,12 +16650,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___7986 = undefined; - s.y0___7994 = undefined; - s.xf___8002 = undefined; - s.yf___8009 = undefined; - s.e___8016 = undefined; - s.t___8022 = undefined; + s.x0___28709 = undefined; + s.y0___28717 = undefined; + s.xf___28725 = undefined; + s.yf___28732 = undefined; + s.e___28739 = undefined; + s.t___28745 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16664,7 +16664,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = s.arg0.fields["innerLeft"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -16672,7 +16672,7 @@ switch (step) { r0 = (s.arg2 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.x0___7986 = (r0); + s.x0___28709 = (r0); r0 = s.arg0.fields["innerTop"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -16680,68 +16680,68 @@ switch (step) { r0 = (s.arg3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y0___7994 = (r0); + s.y0___28717 = (r0); r0 = (s.arg1 % 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.xf___8002 = (r0); + s.xf___28725 = (r0); r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.yf___8009 = (r0); - s.e___8016 = (0); + s.yf___28732 = (r0); + s.e___28739 = (0); case 1: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.e___8016 < s.tmp_1); + r0 = (s.e___28739 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.t___8022 = (0); + s.t___28745 = (0); case 2: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.t___8022 < s.tmp_1); + r0 = (s.t___28745 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["image"]; s.tmp_2 = r0; - r0 = (s.x0___7986 + s.e___8016); + r0 = (s.x0___28709 + s.e___28739); s.tmp_3 = r0; - r0 = (s.y0___7994 + s.t___8022); + r0 = (s.y0___28717 + s.t___28745); s.tmp_4 = r0; r0 = s.arg0.fields["frame"]; s.tmp_6 = r0; - r0 = (s.xf___8002 + s.e___8016); + r0 = (s.xf___28725 + s.e___28739); s.tmp_7 = r0; - r0 = (s.yf___8009 + s.t___8022); + r0 = (s.yf___28732 + s.t___28745); s.tmp_8 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_6, s.tmp_7, s.tmp_8); s.tmp_5 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_2, s.tmp_3, s.tmp_4, s.tmp_5); - r0 = (s.t___8022 + 1); - s.t___8022 = (r0); + r0 = (s.t___28745 + 1); + s.t___28745 = (r0); { step = 2; continue; } case 3: - r0 = (s.e___8016 + 1); - s.e___8016 = (r0); + r0 = (s.e___28739 + 1); + s.e___28739 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawPartial__P4265.info = {"start":4294,"length":604,"line":144,"column":8,"endLine":159,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} +game_BaseDialog_drawPartial__P24988.info = {"start":4294,"length":604,"line":144,"column":8,"endLine":159,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} -function game_BaseDialog_drawPartial__P4265_mk(s) { +function game_BaseDialog_drawPartial__P24988_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawPartial__P4265, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawPartial__P24988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16752,12 +16752,12 @@ function game_BaseDialog_drawPartial__P4265_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - x0___7986: undefined, - y0___7994: undefined, - xf___8002: undefined, - yf___8009: undefined, - e___8016: undefined, - t___8022: undefined, + x0___28709: undefined, + y0___28717: undefined, + xf___28725: undefined, + yf___28732: undefined, + e___28739: undefined, + t___28745: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16768,7 +16768,7 @@ function game_BaseDialog_drawPartial__P4265_mk(s) { -function game_BaseDialog_fastFill__P4263(s) { +function game_BaseDialog_fastFill__P24986(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16778,7 +16778,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.color___8058 = undefined; + s.color___28781 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16789,7 +16789,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = s.arg0.fields["frame"]; s.tmp_0 = r0; r0 = (s.arg1 % 3); @@ -16797,8 +16797,8 @@ switch (step) { r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_2 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_2); - s.color___8058 = (r0); - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); + s.color___28781 = (r0); + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["innerLeft"]; @@ -16811,7 +16811,7 @@ switch (step) { s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg4; s.tmp_0.arg4 = s.arg5; - s.tmp_0.arg5 = s.color___8058; + s.tmp_0.arg5 = s.color___28781; s.callLocIdx = 997; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -16819,17 +16819,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_fastFill__P4263.info = {"start":3683,"length":249,"line":128,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} +game_BaseDialog_fastFill__P24986.info = {"start":3683,"length":249,"line":128,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} -function game_BaseDialog_fastFill__P4263_mk(s) { +function game_BaseDialog_fastFill__P24986_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_fastFill__P4263, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_fastFill__P24986, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - color___8058: undefined, + color___28781: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16842,7 +16842,7 @@ function game_BaseDialog_fastFill__P4263_mk(s) { -function game_GameOverDialog_drawTextCore__P2597(s) { +function game_GameOverDialog_drawTextCore__P23320(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16852,13 +16852,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scoreColor___7522 = undefined; + s.scoreColor___28245 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2593_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C23316_VT)) failedCast(r0); r0 = s.arg0.fields["win"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -16870,7 +16870,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } @@ -16881,13 +16881,13 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = helpers_imagePrintCenter__P1784_mk(s); + s.tmp_4 = helpers_imagePrintCenter__P22507_mk(s); r0 = s.arg0.fields["image"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.tmp_1; s.tmp_4.arg2 = 8; s.tmp_4.arg3 = s.tmp_3; - s.tmp_4.arg4 = globals.font8___1770; + s.tmp_4.arg4 = globals.font8___22493; s.callLocIdx = 1030; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; @@ -16897,7 +16897,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } @@ -16908,8 +16908,8 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.scoreColor___7522 = (s.tmp_3); - s.tmp_0 = helpers_imagePrintCenter__P1784_mk(s); + s.scoreColor___28245 = (s.tmp_3); + s.tmp_0 = helpers_imagePrintCenter__P22507_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["score"]; @@ -16926,8 +16926,8 @@ switch (step) { r0 = pxsim_String__concat("Score:", s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 23; - s.tmp_0.arg3 = s.scoreColor___7522; - s.tmp_0.arg4 = globals.font8___1770; + s.tmp_0.arg3 = s.scoreColor___28245; + s.tmp_0.arg4 = globals.font8___22493; s.callLocIdx = 1031; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; @@ -16935,19 +16935,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_imagePrintCenter__P1784_mk(s); + s.tmp_1 = helpers_imagePrintCenter__P22507_mk(s); r0 = s.arg0.fields["image"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = "New High Score!"; s.tmp_1.arg2 = 34; - s.tmp_1.arg3 = s.scoreColor___7522; - s.tmp_1.arg4 = globals.font5___1775; + s.tmp_1.arg3 = s.scoreColor___28245; + s.tmp_1.arg4 = globals.font5___22498; s.callLocIdx = 1032; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = helpers_imagePrintCenter__P1784_mk(s); + s.tmp_0 = helpers_imagePrintCenter__P22507_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["highScore"]; @@ -16964,8 +16964,8 @@ switch (step) { r0 = pxsim_String__concat("HI", s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 34; - s.tmp_0.arg3 = s.scoreColor___7522; - s.tmp_0.arg4 = globals.font8___1770; + s.tmp_0.arg3 = s.scoreColor___28245; + s.tmp_0.arg4 = globals.font8___22493; s.callLocIdx = 1033; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; @@ -16976,19 +16976,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_drawTextCore__P2597.info = {"start":11698,"length":1200,"line":361,"column":8,"endLine":398,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_GameOverDialog_drawTextCore__P23320.info = {"start":11698,"length":1200,"line":361,"column":8,"endLine":398,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_GameOverDialog_drawTextCore__P2597_mk(s) { +function game_GameOverDialog_drawTextCore__P23320_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_drawTextCore__P2597, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_drawTextCore__P23320, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - scoreColor___7522: undefined, + scoreColor___28245: undefined, arg0: undefined, } } @@ -16996,7 +16996,7 @@ function game_GameOverDialog_drawTextCore__P2597_mk(s) { -function helpers_imagePrintCenter__P1784(s) { +function helpers_imagePrintCenter__P22507(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17006,8 +17006,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___7572 = undefined; - s.x___7578 = undefined; + s.w___28295 = undefined; + s.x___28301 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17022,7 +17022,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P1772_mk(s); + s.tmp_2 = image_getFontForText__P22495_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 132; s.pc = 3; return s.tmp_2; case 3: @@ -17046,17 +17046,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___7572 = (r0); + s.w___28295 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___7572); + r0 = (s.tmp_1 - s.w___28295); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___7578 = (r0); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); + s.x___28301 = (r0); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___7578; + s.tmp_0.arg2 = s.x___28301; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -17068,18 +17068,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P1784.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__P22507.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__P1784_mk(s) { +function helpers_imagePrintCenter__P22507_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P1784, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P22507, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___7572: undefined, - x___7578: undefined, + w___28295: undefined, + x___28301: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17091,7 +17091,7 @@ function helpers_imagePrintCenter__P1784_mk(s) { -function game_BaseDialog_drawCursorRow__P2570(s) { +function game_BaseDialog_drawCursorRow__P23293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17101,21 +17101,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.offset___7410 = undefined; + s.offset___28133 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); - s.offset___7410 = (0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); + s.offset___28133 = (0); r0 = s.arg0.fields["cursorCount"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 20); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offset___7410 = (1); + s.offset___28133 = (1); case 1: case 2: s.tmp_0 = r0 = s.arg0; @@ -17132,7 +17132,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_6 = r0; - s.tmp_8 = game_BaseDialog_textAreaWidth__P4268_mk(s); + s.tmp_8 = game_BaseDialog_textAreaWidth__P24991_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 978; s.pc = 3; return s.tmp_8; case 3: @@ -17144,7 +17144,7 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_5 + s.tmp_9); s.tmp_4 = r0; - r0 = (s.tmp_4 + s.offset___7410); + r0 = (s.tmp_4 + s.offset___28133); s.tmp_3 = r0; r0 = s.arg0.fields["cursor"]; s.tmp_11 = r0; @@ -17158,7 +17158,7 @@ switch (step) { s.tmp_17 = r0; r0 = (s.tmp_16 + s.tmp_17); s.tmp_15 = r0; - s.tmp_19 = game_BaseDialog_textAreaHeight__P4269_mk(s); + s.tmp_19 = game_BaseDialog_textAreaHeight__P24992_mk(s); s.tmp_19.arg0 = s.arg0; s.callLocIdx = 979; s.pc = 4; return s.tmp_19; case 4: @@ -17181,12 +17181,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawCursorRow__P2570.info = {"start":1863,"length":479,"line":75,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} +game_BaseDialog_drawCursorRow__P23293.info = {"start":1863,"length":479,"line":75,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} -function game_BaseDialog_drawCursorRow__P2570_mk(s) { +function game_BaseDialog_drawCursorRow__P23293_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawCursorRow__P2570, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawCursorRow__P23293, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17211,7 +17211,7 @@ function game_BaseDialog_drawCursorRow__P2570_mk(s) { tmp_20: undefined, tmp_21: undefined, tmp_22: undefined, - offset___7410: undefined, + offset___28133: undefined, arg0: undefined, } } @@ -17219,7 +17219,7 @@ function game_BaseDialog_drawCursorRow__P2570_mk(s) { -function game_BaseDialog_textAreaHeight__P4269(s) { +function game_BaseDialog_textAreaHeight__P24992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17234,14 +17234,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerTop"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P131_mk(s); + s.tmp_7 = Math_min__P20854_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; @@ -17259,12 +17259,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaHeight__P4269.info = {"start":5240,"length":143,"line":173,"column":8,"endLine":175,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} +game_BaseDialog_textAreaHeight__P24992.info = {"start":5240,"length":143,"line":173,"column":8,"endLine":175,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} -function game_BaseDialog_textAreaHeight__P4269_mk(s) { +function game_BaseDialog_textAreaHeight__P24992_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaHeight__P4269, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaHeight__P24992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17281,7 +17281,7 @@ function game_BaseDialog_textAreaHeight__P4269_mk(s) { -function game_BaseDialog_textAreaWidth__P4268(s) { +function game_BaseDialog_textAreaWidth__P24991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17296,14 +17296,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.width(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P131_mk(s); + s.tmp_7 = Math_min__P20854_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; @@ -17321,12 +17321,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaWidth__P4268.info = {"start":5088,"length":142,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} +game_BaseDialog_textAreaWidth__P24991.info = {"start":5088,"length":142,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} -function game_BaseDialog_textAreaWidth__P4268_mk(s) { +function game_BaseDialog_textAreaWidth__P24991_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaWidth__P4268, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaWidth__P24991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17343,7 +17343,7 @@ function game_BaseDialog_textAreaWidth__P4268_mk(s) { -function game_BaseDialog_cursorRowHeight__P4266(s) { +function game_BaseDialog_cursorRowHeight__P24989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17358,7 +17358,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = s.arg0.fields["cursor"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.height(s.tmp_1); @@ -17367,12 +17367,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_cursorRowHeight__P4266.info = {"start":4908,"length":82,"line":161,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} +game_BaseDialog_cursorRowHeight__P24989.info = {"start":4908,"length":82,"line":161,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} -function game_BaseDialog_cursorRowHeight__P4266_mk(s) { +function game_BaseDialog_cursorRowHeight__P24989_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_cursorRowHeight__P4266, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_cursorRowHeight__P24989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17383,7 +17383,7 @@ function game_BaseDialog_cursorRowHeight__P4266_mk(s) { -function game_GameOverDialog_displayCursor__P2595(s) { +function game_GameOverDialog_displayCursor__P23318(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17398,18 +17398,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2593_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C23316_VT)) failedCast(r0); r0 = (s.arg0).fields["cursorOn"] = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverDialog_displayCursor__P2595.info = {"start":11444,"length":61,"line":348,"column":8,"endLine":350,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} +game_GameOverDialog_displayCursor__P23318.info = {"start":11444,"length":61,"line":348,"column":8,"endLine":350,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} -function game_GameOverDialog_displayCursor__P2595_mk(s) { +function game_GameOverDialog_displayCursor__P23318_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_displayCursor__P2595, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_displayCursor__P23318, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17418,7 +17418,7 @@ function game_GameOverDialog_displayCursor__P2595_mk(s) { -function game_GameOverDialog_constructor__P2594(s) { +function game_GameOverDialog_constructor__P23317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17436,16 +17436,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2593_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C23316_VT)) failedCast(r0); r0 = (s.arg0).fields["win"] = (s.arg1); r0 = (s.arg0).fields["score"] = (s.arg2); r0 = (s.arg0).fields["highScore"] = (s.arg3); - s.tmp_0 = game_BaseDialog_constructor__P2566_mk(s); + s.tmp_0 = game_BaseDialog_constructor__P23289_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 46; - s.tmp_1 = game_defaultSplashFrame__P4276_mk(s); + s.tmp_1 = game_defaultSplashFrame__P24999_mk(s); s.callLocIdx = 1026; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -17468,12 +17468,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_constructor__P2594.info = {"start":11128,"length":306,"line":338,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} +game_GameOverDialog_constructor__P23317.info = {"start":11128,"length":306,"line":338,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} -function game_GameOverDialog_constructor__P2594_mk(s) { +function game_GameOverDialog_constructor__P23317_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_constructor__P2594, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_constructor__P23317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17489,7 +17489,7 @@ function game_GameOverDialog_constructor__P2594_mk(s) { -function game_defaultSplashFrame__P4276(s) { +function game_defaultSplashFrame__P24999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17499,14 +17499,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex8101); + r0 = pxsim.image.ofBuffer(_hex28824); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex8103); + r0 = pxsim.image.ofBuffer(_hex28826); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -17514,24 +17514,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultSplashFrame__P4276.info = {"start":17077,"length":220,"line":533,"column":4,"endLine":546,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} +game_defaultSplashFrame__P24999.info = {"start":17077,"length":220,"line":533,"column":4,"endLine":546,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} -function game_defaultSplashFrame__P4276_mk(s) { +function game_defaultSplashFrame__P24999_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultSplashFrame__P4276, depth: s.depth + 1, + parent: s, fn: game_defaultSplashFrame__P24999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex8101 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") -const _hex8103 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") +const _hex28824 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") +const _hex28826 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") -function game_BaseDialog_constructor__P2566(s) { +function game_BaseDialog_constructor__P23289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17551,7 +17551,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.image.create(s.arg1, s.arg2); s.tmp_1 = r0; @@ -17562,7 +17562,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.dialogFrame___4257; + r0 = globals.dialogFrame___24980; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -17571,12 +17571,12 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - s.tmp_3 = game_defaultFrame__P4275_mk(s); + s.tmp_3 = game_defaultFrame__P24998_mk(s); s.callLocIdx = 972; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; - globals.dialogFrame___4257 = (r0); + globals.dialogFrame___24980 = (r0); r0 = s.tmp_2; case 4: // jmp value (already in r0) @@ -17588,7 +17588,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = globals.font8___1770; + r0 = globals.font8___22493; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -17599,7 +17599,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = globals.dialogCursor___4258; + r0 = globals.dialogCursor___24981; case 8: // jmp value (already in r0) s.tmp_1 = r0; @@ -17608,26 +17608,26 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 9: - s.tmp_3 = game_defaultCursorImage__P4277_mk(s); + s.tmp_3 = game_defaultCursorImage__P25000_mk(s); s.callLocIdx = 973; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; s.tmp_2 = r0; - globals.dialogCursor___4258 = (r0); + globals.dialogCursor___24981 = (r0); r0 = s.tmp_2; case 10: // jmp value (already in r0) s.tmp_4 = r0; r0 = (s.arg0).fields["cursor"] = (s.tmp_4); - r0 = (globals.dialogTextColor___4259 == undefined); + r0 = (globals.dialogTextColor___24982 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - globals.dialogTextColor___4259 = (15); + globals.dialogTextColor___24982 = (15); r0 = 15; { step = 12; continue; } case 11: - r0 = globals.dialogTextColor___4259; + r0 = globals.dialogTextColor___24982; case 12: // jmp value (already in r0) s.tmp_1 = r0; @@ -17685,12 +17685,12 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["innerTop"] = (s.tmp_1); r0 = (s.arg0).fields["cursorCount"] = (0); - s.tmp_0 = game_BaseDialog_drawBorder__P4262_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P24985_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 974; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_clearInterior__P4264_mk(s); + s.tmp_0 = game_BaseDialog_clearInterior__P24987_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 975; s.pc = 16; return s.tmp_0; case 16: @@ -17699,12 +17699,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_constructor__P2566.info = {"start":665,"length":895,"line":37,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_constructor__P23289.info = {"start":665,"length":895,"line":37,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -function game_BaseDialog_constructor__P2566_mk(s) { +function game_BaseDialog_constructor__P23289_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_constructor__P2566, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_constructor__P23289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17725,7 +17725,7 @@ function game_BaseDialog_constructor__P2566_mk(s) { -function game_defaultCursorImage__P4277(s) { +function game_defaultCursorImage__P25000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17735,14 +17735,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex8287); + r0 = pxsim.image.ofBuffer(_hex29010); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex8289); + r0 = pxsim.image.ofBuffer(_hex29012); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -17750,24 +17750,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultCursorImage__P4277.info = {"start":17303,"length":690,"line":548,"column":4,"endLine":574,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} +game_defaultCursorImage__P25000.info = {"start":17303,"length":690,"line":548,"column":4,"endLine":574,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} -function game_defaultCursorImage__P4277_mk(s) { +function game_defaultCursorImage__P25000_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultCursorImage__P4277, depth: s.depth + 1, + parent: s, fn: game_defaultCursorImage__P25000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex8287 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") -const _hex8289 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") +const _hex29010 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") +const _hex29012 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") -function game_defaultFrame__P4275(s) { +function game_defaultFrame__P24998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17777,14 +17777,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1827); + r0 = pxsim_ImageMethods.isMono(globals.screen___22550); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex8293); + r0 = pxsim.image.ofBuffer(_hex29016); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex8295); + r0 = pxsim.image.ofBuffer(_hex29018); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -17792,24 +17792,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultFrame__P4275.info = {"start":16515,"length":556,"line":509,"column":4,"endLine":531,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} +game_defaultFrame__P24998.info = {"start":16515,"length":556,"line":509,"column":4,"endLine":531,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} -function game_defaultFrame__P4275_mk(s) { +function game_defaultFrame__P24998_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultFrame__P4275, depth: s.depth + 1, + parent: s, fn: game_defaultFrame__P24998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex8293 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") -const _hex8295 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") +const _hex29016 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") +const _hex29018 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") -function game_BaseDialog_drawBorder__P4262(s) { +function game_BaseDialog_drawBorder__P24985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17819,22 +17819,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.y___8218 = undefined; - s.c___8234 = undefined; - s.r___8268 = undefined; + s.y___28941 = undefined; + s.c___28957 = undefined; + s.r___28991 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P4263_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P24986_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; @@ -17844,7 +17844,7 @@ switch (step) { s.callLocIdx = 981; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4263_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P24986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; @@ -17857,7 +17857,7 @@ switch (step) { s.callLocIdx = 982; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4263_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P24986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; r0 = s.arg0.fields["columns"]; @@ -17870,7 +17870,7 @@ switch (step) { s.callLocIdx = 983; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4263_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P24986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 0; @@ -17883,7 +17883,7 @@ switch (step) { s.callLocIdx = 984; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4263_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P24986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; @@ -17902,22 +17902,22 @@ switch (step) { r0 = s.arg0.fields["rows"]; s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.y___8218 = (r0); - s.tmp_0 = game_BaseDialog_fastFill__P4263_mk(s); + s.y___28941 = (r0); + s.tmp_0 = game_BaseDialog_fastFill__P24986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.y___8218; + s.tmp_0.arg3 = s.y___28941; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; s.callLocIdx = 986; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4263_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P24986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = s.y___8218; + s.tmp_0.arg3 = s.y___28941; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 2); @@ -17926,14 +17926,14 @@ switch (step) { s.callLocIdx = 987; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4263_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P24986_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.y___8218; + s.tmp_0.arg3 = s.y___28941; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; s.callLocIdx = 988; s.pc = 19; return s.tmp_0; @@ -17942,19 +17942,19 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.c___8234 = (0); + s.c___28957 = (0); case 3: r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; - r0 = (s.c___8234 < s.tmp_1); + r0 = (s.c___28957 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.c___8234 == 0); + r0 = (s.c___28957 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = game_BaseDialog_drawPartial__P4265_mk(s); + s.tmp_3 = game_BaseDialog_drawPartial__P24988_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; @@ -17962,7 +17962,7 @@ switch (step) { s.callLocIdx = 989; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4265_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P24988_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; @@ -17975,7 +17975,7 @@ switch (step) { r0 = s.retval; { step = 7; continue; } case 4: - s.tmp_1 = r0 = s.c___8234; + s.tmp_1 = r0 = s.c___28957; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -17984,18 +17984,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P4265_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P24988_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; - s.tmp_4.arg2 = s.c___8234; + s.tmp_4.arg2 = s.c___28957; s.tmp_4.arg3 = 0; s.callLocIdx = 991; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4265_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P24988_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; - s.tmp_0.arg2 = s.c___8234; + s.tmp_0.arg2 = s.c___28957; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); @@ -18005,18 +18005,18 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = game_BaseDialog_drawPartial__P4265_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P24988_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.tmp_0.arg2 = s.c___8234; + s.tmp_0.arg2 = s.c___28957; s.tmp_0.arg3 = 0; s.callLocIdx = 993; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4265_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P24988_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; - s.tmp_0.arg2 = s.c___8234; + s.tmp_0.arg2 = s.c___28957; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); @@ -18026,13 +18026,13 @@ switch (step) { r0 = s.retval; case 6: case 7: - r0 = (s.c___8234 + 1); - s.c___8234 = (r0); + r0 = (s.c___28957 + 1); + s.c___28957 = (r0); { step = 3; continue; } case 8: - s.r___8268 = (1); + s.r___28991 = (1); case 9: - s.tmp_1 = r0 = s.r___8268; + s.tmp_1 = r0 = s.r___28991; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -18041,27 +18041,27 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P4265_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P24988_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 3; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.r___8268; + s.tmp_4.arg3 = s.r___28991; s.callLocIdx = 995; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4265_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P24988_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.r___8268; + s.tmp_0.arg3 = s.r___28991; s.callLocIdx = 996; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - r0 = (s.r___8268 + 1); - s.r___8268 = (r0); + r0 = (s.r___28991 + 1); + s.r___28991 = (r0); { step = 9; continue; } case 10: case 11: @@ -18069,21 +18069,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawBorder__P4262.info = {"start":2352,"length":1321,"line":90,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} +game_BaseDialog_drawBorder__P24985.info = {"start":2352,"length":1321,"line":90,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} -function game_BaseDialog_drawBorder__P4262_mk(s) { +function game_BaseDialog_drawBorder__P24985_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawBorder__P4262, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawBorder__P24985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - y___8218: undefined, - c___8234: undefined, - r___8268: undefined, + y___28941: undefined, + c___28957: undefined, + r___28991: undefined, arg0: undefined, } } @@ -18091,7 +18091,7 @@ function game_BaseDialog_drawBorder__P4262_mk(s) { -function scene_setBackgroundImage__P2536(s) { +function scene_setBackgroundImage__P23259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18101,18 +18101,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___9079 = undefined; + s.scene___29802 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2609_mk(s); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 968; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___9079 = (r0); - s.tmp_0 = scene_Background_image__P2355_mk(s); - r0 = s.scene___9079.fields["background"]; + s.scene___29802 = (r0); + s.tmp_0 = scene_Background_image__P23078_mk(s); + r0 = s.scene___29802.fields["background"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 969; s.pc = 2; return s.tmp_0; @@ -18122,15 +18122,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_setBackgroundImage__P2536.info = {"start":1938,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} +scene_setBackgroundImage__P23259.info = {"start":1938,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -function scene_setBackgroundImage__P2536_mk(s) { +function scene_setBackgroundImage__P23259_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundImage__P2536, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundImage__P23259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___9079: undefined, + scene___29802: undefined, arg0: undefined, } } @@ -18138,7 +18138,7 @@ function scene_setBackgroundImage__P2536_mk(s) { -function scene_Background_image__P2355(s) { +function scene_Background_image__P23078(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18154,18 +18154,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2348_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C23071_VT)) failedCast(r0); r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_image__P2355.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} +scene_Background_image__P23078.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} -function scene_Background_image__P2355_mk(s) { +function scene_Background_image__P23078_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P2355, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P23078, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18175,7 +18175,7 @@ function scene_Background_image__P2355_mk(s) { -function scene_Background_image__P2354(s) { +function scene_Background_image__P23077(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18190,7 +18190,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2348_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C23071_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18200,9 +18200,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_3 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_6 = r0; r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; @@ -18213,13 +18213,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Background_image__P2354.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} -scene_Background_image__P2354.isGetter = true; +scene_Background_image__P23077.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} +scene_Background_image__P23077.isGetter = true; -function scene_Background_image__P2354_mk(s) { +function scene_Background_image__P23077_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P2354, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P23077, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18235,7 +18235,7 @@ function scene_Background_image__P2354_mk(s) { -function scene_Scene_destroy__P2522(s) { +function scene_Scene_destroy__P23245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18250,7 +18250,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2496_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C23219_VT)) failedCast(r0); r0 = (s.arg0).fields["eventContext"] = (undefined); r0 = (s.arg0).fields["background"] = (undefined); r0 = (s.arg0).fields["tileMap"] = (undefined); @@ -18272,12 +18272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_destroy__P2522.info = {"start":6997,"length":764,"line":198,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} +scene_Scene_destroy__P23245.info = {"start":6997,"length":764,"line":198,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} -function scene_Scene_destroy__P2522_mk(s) { +function scene_Scene_destroy__P23245_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_destroy__P2522, depth: s.depth + 1, + parent: s, fn: scene_Scene_destroy__P23245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18286,7 +18286,7 @@ function scene_Scene_destroy__P2522_mk(s) { -function info_highScore__P2288(s) { +function info_highScore__P23011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18296,7 +18296,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P1861_mk(s); + s.tmp_1 = settings_readNumber__P22584_mk(s); s.tmp_1.arg0 = "high-score"; s.callLocIdx = 763; s.pc = 3; return s.tmp_1; case 3: @@ -18315,12 +18315,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_highScore__P2288.info = {"start":7162,"length":98,"line":242,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} +info_highScore__P23011.info = {"start":7162,"length":98,"line":242,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} -function info_highScore__P2288_mk(s) { +function info_highScore__P23011_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_highScore__P2288, depth: s.depth + 1, + parent: s, fn: info_highScore__P23011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18331,7 +18331,7 @@ function info_highScore__P2288_mk(s) { -function settings_readNumber__P1861(s) { +function settings_readNumber__P22584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18341,15 +18341,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___9638 = undefined; - s.nums___9645 = undefined; + s.buf___30361 = undefined; + s.nums___30368 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___9638 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___9638); + s.buf___30361 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___30361); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -18359,20 +18359,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P181_mk(s); - s.tmp_2.arg0 = s.buf___9638; + s.tmp_2 = msgpack_unpackNumberArray__P20904_mk(s); + s.tmp_2.arg0 = s.buf___30361; s.tmp_2.arg1 = 0; s.callLocIdx = 164; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___9645 = (r0); - s.tmp_0 = r0 = s.nums___9645; + s.nums___30368 = (r0); + s.tmp_0 = r0 = s.nums___30368; 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___9645); + r0 = pxsim_Array__length(s.nums___30368); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -18380,7 +18380,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___9645, 0); + r0 = pxsim_Array__getAt(s.nums___30368, 0); { step = 7; continue; } case 4: case 5: @@ -18392,18 +18392,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P1861.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__P22584.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__P1861_mk(s) { +function settings_readNumber__P22584_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P1861, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P22584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___9638: undefined, - nums___9645: undefined, + buf___30361: undefined, + nums___30368: undefined, arg0: undefined, } } @@ -18411,7 +18411,7 @@ function settings_readNumber__P1861_mk(s) { -function settings_readBuffer__P1858(s) { +function settings_readBuffer__P22581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18429,12 +18429,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P1858.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__P22581.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__P1858_mk(s) { +function settings_readBuffer__P22581_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P1858, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P22581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18443,7 +18443,7 @@ function settings_readBuffer__P1858_mk(s) { -function msgpack_unpackNumberArray__P181(s) { +function msgpack_unpackNumberArray__P20904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18453,16 +18453,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___9658 = undefined; - s.fmt___9665 = undefined; - s.v___9674 = undefined; + s.res___30381 = undefined; + s.fmt___30388 = undefined; + s.v___30397 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___9658 = (r0); + s.res___30381 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -18474,14 +18474,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P3876_mk(s); + s.tmp_4 = msgpack_tagFormat__P24599_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 24; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___9665 = (r0); - r0 = (s.fmt___9665 === null); + s.fmt___30388 = (r0); + r0 = (s.fmt___30388 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -18489,21 +18489,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___9674 = (r0); - r0 = (-31 <= s.v___9674); + s.v___30397 = (r0); + r0 = (-31 <= s.v___30397); 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___9674 <= 127); + r0 = (s.v___30397 <= 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___9658, s.v___9674); + r0 = pxsim_Array__push(s.res___30381, s.v___30397); { step = 5; continue; } case 4: r0 = null; @@ -18511,13 +18511,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___9658; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___9665, s.arg1); + s.tmp_0 = r0 = s.res___30381; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___30388, 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__P173_mk(s); - s.tmp_2.arg0 = s.fmt___9665; + s.tmp_2 = pins_sizeOf__P20896_mk(s); + s.tmp_2.arg0 = s.fmt___30388; s.callLocIdx = 25; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -18538,26 +18538,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___9658; + r0 = s.res___30381; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P181.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__P20904.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__P181_mk(s) { +function msgpack_unpackNumberArray__P20904_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P181, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P20904, 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___9658: undefined, - fmt___9665: undefined, - v___9674: undefined, + res___30381: undefined, + fmt___30388: undefined, + v___30397: undefined, arg0: undefined, arg1: undefined, } } @@ -18566,7 +18566,7 @@ function msgpack_unpackNumberArray__P181_mk(s) { -function msgpack_tagFormat__P3876(s) { +function msgpack_tagFormat__P24599(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18626,12 +18626,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P3876.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__P24599.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__P3876_mk(s) { +function msgpack_tagFormat__P24599_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P3876, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P24599, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18641,7 +18641,7 @@ function msgpack_tagFormat__P3876_mk(s) { -function pins_sizeOf__P173(s) { +function pins_sizeOf__P20896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18655,7 +18655,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P213_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P20936_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 21; s.pc = 1; return s.tmp_0; case 1: @@ -18663,12 +18663,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P173.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__P20896.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__P173_mk(s) { +function pins_sizeOf__P20896_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P173, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P20896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18678,7 +18678,7 @@ function pins_sizeOf__P173_mk(s) { -function Buffer_sizeOfNumberFormat__P213(s) { +function Buffer_sizeOfNumberFormat__P20936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18757,12 +18757,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P213.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__P20936.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__P213_mk(s) { +function Buffer_sizeOfNumberFormat__P20936_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P213, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P20936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18772,7 +18772,7 @@ function Buffer_sizeOfNumberFormat__P213_mk(s) { -function info_saveHighScore__P2285(s) { +function info_saveHighScore__P23008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18782,20 +18782,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hs___9460 = undefined; - s.curr___9477 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.players___4171); + s.hs___30183 = undefined; + s.curr___30200 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.players___24894); if (!r0) { step = 5; continue; } r0 = pxsim_pxtrt.mklocRef(); - s.hs___9460 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hs___9460, 0); - r0 = pxsim_pxtcore_mkAction(1, info_saveHighScore_inline__P9470); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___9460); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_2.arg0 = globals.players___4171; - s.tmp_2.arg1 = forEach_inline__P9464; + s.hs___30183 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hs___30183, 0); + r0 = pxsim_pxtcore_mkAction(1, info_saveHighScore_inline__P30193); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___30183); + s.tmp_1 = helpers_arrayForEach__P20832_mk(s); + s.tmp_2 = helpers_arrayFilter__P20833_mk(s); + s.tmp_2.arg0 = globals.players___24894; + s.tmp_2.arg1 = forEach_inline__P30187; s.callLocIdx = 756; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -18804,30 +18804,30 @@ switch (step) { s.callLocIdx = 759; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.tmp_0 = settings_readNumber__P1861_mk(s); + s.tmp_0 = settings_readNumber__P22584_mk(s); s.tmp_0.arg0 = "high-score"; s.callLocIdx = 760; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.curr___9477 = (r0); - r0 = (s.curr___9477 == null); + s.curr___30200 = (r0); + r0 = (s.curr___30200 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_pxtrt_ldlocRef(s.hs___9460); + r0 = pxsim_pxtrt_ldlocRef(s.hs___30183); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.curr___9477); + r0 = (s.tmp_1 > s.curr___30200); case 2: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_3 = settings_writeNumber__P1856_mk(s); + s.tmp_3 = settings_writeNumber__P22579_mk(s); s.tmp_3.arg0 = "high-score"; - r0 = pxsim_pxtrt_ldlocRef(s.hs___9460); + r0 = pxsim_pxtrt_ldlocRef(s.hs___30183); s.tmp_3.arg1 = r0; s.callLocIdx = 761; s.pc = 10; return s.tmp_3; case 10: @@ -18840,26 +18840,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_saveHighScore__P2285.info = {"start":6263,"length":383,"line":206,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} +info_saveHighScore__P23008.info = {"start":6263,"length":383,"line":206,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} -function info_saveHighScore__P2285_mk(s) { +function info_saveHighScore__P23008_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveHighScore__P2285, depth: s.depth + 1, + parent: s, fn: info_saveHighScore__P23008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - hs___9460: undefined, - curr___9477: undefined, + hs___30183: undefined, + curr___30200: undefined, } } -function forEach_inline__P9464(s) { +function forEach_inline__P30187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18879,7 +18879,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = info_PlayerInfo_hasScore__P2327_mk(s); + s.tmp_1 = info_PlayerInfo_hasScore__P23050_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 755; s.pc = 3; return s.tmp_1; case 3: @@ -18891,12 +18891,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P9464.info = {"start":6388,"length":22,"line":210,"column":24,"endLine":210,"endColumn":46,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +forEach_inline__P30187.info = {"start":6388,"length":22,"line":210,"column":24,"endLine":210,"endColumn":46,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function forEach_inline__P9464_mk(s) { +function forEach_inline__P30187_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P9464, depth: s.depth + 1, + parent: s, fn: forEach_inline__P30187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18908,7 +18908,7 @@ function forEach_inline__P9464_mk(s) { -function info_saveHighScore_inline__P9470(s) { +function info_saveHighScore_inline__P30193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18923,10 +18923,10 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P20853_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_2.arg0 = r0; - s.tmp_3 = info_PlayerInfo_score__P2324_mk(s); + s.tmp_3 = info_PlayerInfo_score__P23047_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 757; s.pc = 2; return s.tmp_3; case 2: @@ -18941,12 +18941,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_saveHighScore_inline__P9470.info = {"start":6437,"length":33,"line":211,"column":25,"endLine":211,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +info_saveHighScore_inline__P30193.info = {"start":6437,"length":33,"line":211,"column":25,"endLine":211,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function info_saveHighScore_inline__P9470_mk(s) { +function info_saveHighScore_inline__P30193_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveHighScore_inline__P9470, depth: s.depth + 1, + parent: s, fn: info_saveHighScore_inline__P30193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18959,7 +18959,7 @@ function info_saveHighScore_inline__P9470_mk(s) { -function settings_writeNumber__P1856(s) { +function settings_writeNumber__P22579(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18977,9 +18977,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__P1853_mk(s); + s.tmp_1 = settings_writeBuffer__P22576_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P182_mk(s); + s.tmp_2 = msgpack_packNumberArray__P20905_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 160; s.pc = 2; return s.tmp_2; case 2: @@ -18992,12 +18992,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P1856.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__P22579.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__P1856_mk(s) { +function settings_writeNumber__P22579_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P1856, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P22579, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19010,7 +19010,7 @@ function settings_writeNumber__P1856_mk(s) { -function settings_writeBuffer__P1853(s) { +function settings_writeBuffer__P22576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19037,12 +19037,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P1853.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__P22576.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__P1853_mk(s) { +function settings_writeBuffer__P22576_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P1853, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P22576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19053,7 +19053,7 @@ function settings_writeBuffer__P1853_mk(s) { -function msgpack_packNumberArray__P182(s) { +function msgpack_packNumberArray__P20905(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19063,100 +19063,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___9498 = undefined; - s.n___9500 = undefined; - s.unnamed44___U2 = undefined; - s.unnamed45___U3 = undefined; - s.buf___9510 = undefined; - s.n___9516 = undefined; - s.unnamed46___U6 = undefined; - s.unnamed47___U7 = undefined; + s.off___30221 = undefined; + s.n___30223 = undefined; + s.unnamed124___U2 = undefined; + s.unnamed125___U3 = undefined; + s.buf___30233 = undefined; + s.n___30239 = undefined; + s.unnamed126___U6 = undefined; + s.unnamed127___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___9498 = (0); - s.n___9500 = (undefined); - s.unnamed44___U2 = (s.arg0); - s.unnamed45___U3 = (0); + s.off___30221 = (0); + s.n___30223 = (undefined); + s.unnamed124___U2 = (s.arg0); + s.unnamed125___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed45___U3; - r0 = pxsim_Array__length(s.unnamed44___U2); + s.tmp_0 = r0 = s.unnamed125___U3; + r0 = pxsim_Array__length(s.unnamed124___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed44___U2, s.unnamed45___U3); - s.n___9500 = (r0); - s.tmp_2 = r0 = s.off___9498; - s.tmp_4 = msgpack_packNumberCore__P3877_mk(s); + r0 = pxsim_Array__getAt(s.unnamed124___U2, s.unnamed125___U3); + s.n___30223 = (r0); + s.tmp_2 = r0 = s.off___30221; + s.tmp_4 = msgpack_packNumberCore__P24600_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___9498; - s.tmp_4.arg2 = s.n___9500; + s.tmp_4.arg1 = s.off___30221; + s.tmp_4.arg2 = s.n___30223; s.callLocIdx = 26; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___9498 = (r0); - r0 = (s.unnamed45___U3 + 1); - s.unnamed45___U3 = (r0); + s.off___30221 = (r0); + r0 = (s.unnamed125___U3 + 1); + s.unnamed125___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed44___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___9498); - s.buf___9510 = (r0); - s.off___9498 = (0); - s.n___9516 = (undefined); - s.unnamed46___U6 = (s.arg0); - s.unnamed47___U7 = (0); + s.unnamed124___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___30221); + s.buf___30233 = (r0); + s.off___30221 = (0); + s.n___30239 = (undefined); + s.unnamed126___U6 = (s.arg0); + s.unnamed127___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed47___U7; - r0 = pxsim_Array__length(s.unnamed46___U6); + s.tmp_0 = r0 = s.unnamed127___U7; + r0 = pxsim_Array__length(s.unnamed126___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed46___U6, s.unnamed47___U7); - s.n___9516 = (r0); - s.tmp_2 = r0 = s.off___9498; - s.tmp_4 = msgpack_packNumberCore__P3877_mk(s); - s.tmp_4.arg0 = s.buf___9510; - s.tmp_4.arg1 = s.off___9498; - s.tmp_4.arg2 = s.n___9516; + r0 = pxsim_Array__getAt(s.unnamed126___U6, s.unnamed127___U7); + s.n___30239 = (r0); + s.tmp_2 = r0 = s.off___30221; + s.tmp_4 = msgpack_packNumberCore__P24600_mk(s); + s.tmp_4.arg0 = s.buf___30233; + s.tmp_4.arg1 = s.off___30221; + s.tmp_4.arg2 = s.n___30239; s.callLocIdx = 27; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___9498 = (r0); - r0 = (s.unnamed47___U7 + 1); - s.unnamed47___U7 = (r0); + s.off___30221 = (r0); + r0 = (s.unnamed127___U7 + 1); + s.unnamed127___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed46___U6 = (undefined); - r0 = s.buf___9510; + s.unnamed126___U6 = (undefined); + r0 = s.buf___30233; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P182.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__P20905.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__P182_mk(s) { +function msgpack_packNumberArray__P20905_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P182, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P20905, 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___9498: undefined, - n___9500: undefined, - unnamed44___U2: undefined, - unnamed45___U3: undefined, - buf___9510: undefined, - n___9516: undefined, - unnamed46___U6: undefined, - unnamed47___U7: undefined, + off___30221: undefined, + n___30223: undefined, + unnamed124___U2: undefined, + unnamed125___U3: undefined, + buf___30233: undefined, + n___30239: undefined, + unnamed126___U6: undefined, + unnamed127___U7: undefined, arg0: undefined, } } @@ -19164,7 +19164,7 @@ function msgpack_packNumberArray__P182_mk(s) { -function msgpack_packNumberCore__P3877(s) { +function msgpack_packNumberCore__P24600(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19174,15 +19174,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___9530 = undefined; - s.fmt___9573 = undefined; + s.tag___30253 = undefined; + s.fmt___30296 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___9530 = (203); + s.tag___30253 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -19232,17 +19232,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___9530 = (204); + s.tag___30253 = (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___9530 = (205); + s.tag___30253 = (205); { step = 10; continue; } case 9: - s.tag___9530 = (206); + s.tag___30253 = (206); case 10: case 11: { step = 17; continue; } @@ -19251,41 +19251,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___9530 = (208); + s.tag___30253 = (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___9530 = (209); + s.tag___30253 = (209); { step = 15; continue; } case 14: - s.tag___9530 = (210); + s.tag___30253 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P3876_mk(s); - s.tmp_0.arg0 = s.tag___9530; + s.tmp_0 = msgpack_tagFormat__P24599_mk(s); + s.tmp_0.arg0 = s.tag___30253; s.callLocIdx = 22; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___9573 = (r0); + s.fmt___30296 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___9530); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___30253); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___9573; + s.tmp_1 = r0 = s.fmt___30296; 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__P173_mk(s); - s.tmp_1.arg0 = s.fmt___9573; + s.tmp_1 = pins_sizeOf__P20896_mk(s); + s.tmp_1.arg0 = s.fmt___30296; s.callLocIdx = 23; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -19295,12 +19295,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P3877.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__P24600.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__P3877_mk(s) { +function msgpack_packNumberCore__P24600_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P3877, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P24600, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19310,8 +19310,8 @@ function msgpack_packNumberCore__P3877_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___9530: undefined, - fmt___9573: undefined, + tag___30253: undefined, + fmt___30296: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19321,7 +19321,7 @@ function msgpack_packNumberCore__P3877_mk(s) { -function music_Melody_play__P1617(s) { +function music_Melody_play__P22340(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19337,8 +19337,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1610_VT)) failedCast(r0); - s.tmp_0 = music_Melody_playCore__P3981_mk(s); + if (!checkSubtype(r0, music_Melody__C22333_VT)) failedCast(r0); + s.tmp_0 = music_Melody_playCore__P24704_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = false; @@ -19349,12 +19349,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_play__P1617.info = {"start":9239,"length":71,"line":285,"column":8,"endLine":287,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_Melody_play__P22340.info = {"start":9239,"length":71,"line":285,"column":8,"endLine":287,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_Melody_play__P1617_mk(s) { +function music_Melody_play__P22340_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_play__P1617, depth: s.depth + 1, + parent: s, fn: music_Melody_play__P22340, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19365,7 +19365,7 @@ function music_Melody_play__P1617_mk(s) { -function music_Melody_playCore__P3981(s) { +function music_Melody_playCore__P24704(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19375,7 +19375,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___8304 = undefined; + s.p___29027 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19383,31 +19383,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1610_VT)) failedCast(r0); - s.tmp_0 = music_Melody_stop__P1615_mk(s); + if (!checkSubtype(r0, music_Melody__C22333_VT)) failedCast(r0); + s.tmp_0 = music_Melody_stop__P22338_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 79; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C1620_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C22343_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayer_constructor__P1623_mk(s); + s.tmp_1 = music_MelodyPlayer_constructor__P22346_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 80; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["_player"] = (s.tmp_0); - s.p___8304 = (s.tmp_0); - s.tmp_0 = music_Melody_registerMelody__P3979_mk(s); + s.p___29027 = (s.tmp_0); + s.tmp_0 = music_Melody_registerMelody__P24702_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 81; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(4, music_Melody_playCore_inline__P8314); + r0 = pxsim_pxtcore_mkAction(4, music_Melody_playCore_inline__P29037); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___8304); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___29027); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg2); r0 = pxsim.control.runInParallel(s.tmp_0); @@ -19415,16 +19415,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playCore__P3981.info = {"start":7682,"length":815,"line":242,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} +music_Melody_playCore__P24704.info = {"start":7682,"length":815,"line":242,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} -function music_Melody_playCore__P3981_mk(s) { +function music_Melody_playCore__P24704_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playCore__P3981, depth: s.depth + 1, + parent: s, fn: music_Melody_playCore__P24704, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___8304: undefined, + p___29027: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19434,7 +19434,7 @@ function music_Melody_playCore__P3981_mk(s) { -function music_Melody_playCore_inline__P8314(s) { +function music_Melody_playCore_inline__P29037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19451,7 +19451,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_2 = music_MelodyPlayer_play__P1625_mk(s); + s.tmp_2 = music_MelodyPlayer_play__P22348_mk(s); s.tmp_2.arg0 = s.caps[1]; s.tmp_2.arg1 = s.caps[2]; s.callLocIdx = 82; s.pc = 7; return s.tmp_2; @@ -19469,7 +19469,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_4 = music_Melody_unregisterMelody__P3980_mk(s); + s.tmp_4 = music_Melody_unregisterMelody__P24703_mk(s); s.tmp_4.arg0 = s.caps[0]; s.callLocIdx = 83; s.pc = 8; return s.tmp_4; case 8: @@ -19485,12 +19485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playCore_inline__P8314.info = {"start":7885,"length":601,"line":246,"column":34,"endLine":260,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_Melody_playCore_inline__P29037.info = {"start":7885,"length":601,"line":246,"column":34,"endLine":260,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function music_Melody_playCore_inline__P8314_mk(s) { +function music_Melody_playCore_inline__P29037_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playCore_inline__P8314, depth: s.depth + 1, + parent: s, fn: music_Melody_playCore_inline__P29037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19503,7 +19503,7 @@ function music_Melody_playCore_inline__P8314_mk(s) { -function music_Melody_unregisterMelody__P3980(s) { +function music_Melody_unregisterMelody__P24703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19518,22 +19518,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1610_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___3982); + if (!checkSubtype(r0, music_Melody__C22333_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___24705); if (!r0) { step = 1; continue; } - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___3982, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___24705, s.arg0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_unregisterMelody__P3980.info = {"start":7471,"length":201,"line":235,"column":8,"endLine":240,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} +music_Melody_unregisterMelody__P24703.info = {"start":7471,"length":201,"line":235,"column":8,"endLine":240,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} -function music_Melody_unregisterMelody__P3980_mk(s) { +function music_Melody_unregisterMelody__P24703_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_unregisterMelody__P3980, depth: s.depth + 1, + parent: s, fn: music_Melody_unregisterMelody__P24703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19542,7 +19542,7 @@ function music_Melody_unregisterMelody__P3980_mk(s) { -function music_Melody_registerMelody__P3979(s) { +function music_Melody_registerMelody__P24702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19557,26 +19557,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1610_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___3982); + if (!checkSubtype(r0, music_Melody__C22333_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___24705); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals.music_Melody_playingMelodies___3982 = (r0); + globals.music_Melody_playingMelodies___24705 = (r0); case 1: case 2: - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___3982); + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___24705); s.tmp_1 = r0; r0 = (s.tmp_1 > 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_Melody_stop__P1615_mk(s); - s.tmp_3 = r0 = globals.music_Melody_playingMelodies___3982; - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___3982); + s.tmp_2 = music_Melody_stop__P22338_mk(s); + s.tmp_3 = r0 = globals.music_Melody_playingMelodies___24705; + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___24705); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; @@ -19587,18 +19587,18 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___3982, s.arg0); - r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___3982, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___24705, s.arg0); + r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___24705, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_registerMelody__P3979.info = {"start":6889,"length":573,"line":223,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} +music_Melody_registerMelody__P24702.info = {"start":6889,"length":573,"line":223,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} -function music_Melody_registerMelody__P3979_mk(s) { +function music_Melody_registerMelody__P24702_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_registerMelody__P3979, depth: s.depth + 1, + parent: s, fn: music_Melody_registerMelody__P24702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19613,7 +19613,7 @@ function music_Melody_registerMelody__P3979_mk(s) { -function music_MelodyPlayer_play__P1625(s) { +function music_MelodyPlayer_play__P22348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19623,46 +19623,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.notes___8347 = undefined; - s.pos___8351 = undefined; - s.duration___8352 = undefined; - s.octave___8353 = undefined; - s.tempo___8354 = undefined; - s.hz___8355 = undefined; - s.endHz___8356 = undefined; - s.ms___8359 = undefined; - s.timePos___8360 = undefined; - s.startTime___8361 = undefined; - s.now___8364 = undefined; - s.envA___8365 = undefined; - s.envD___8366 = undefined; - s.envS___8367 = undefined; - s.envR___8368 = undefined; - s.soundWave___8369 = undefined; - s.sndInstr___8370 = undefined; - s.sndInstrPtr___8376 = undefined; - s.addForm___8377 = undefined; - s.scanNextWord___8437 = undefined; - s.token___8494 = undefined; - s.tokenKind___8495 = undefined; - s.consumeToken___8498 = undefined; - s.currNote___8574 = undefined; - s.prevNote___8576 = undefined; - s.timeLeft___8579 = undefined; - s.note___8593 = undefined; - s.i___8597 = undefined; - s.noteChar___8603 = undefined; - s.keyNumber___8677 = undefined; - s.currMs___8694 = undefined; - s.beat___8698 = undefined; - s.timeLeft___8755 = undefined; + s.notes___29070 = undefined; + s.pos___29074 = undefined; + s.duration___29075 = undefined; + s.octave___29076 = undefined; + s.tempo___29077 = undefined; + s.hz___29078 = undefined; + s.endHz___29079 = undefined; + s.ms___29082 = undefined; + s.timePos___29083 = undefined; + s.startTime___29084 = undefined; + s.now___29087 = undefined; + s.envA___29088 = undefined; + s.envD___29089 = undefined; + s.envS___29090 = undefined; + s.envR___29091 = undefined; + s.soundWave___29092 = undefined; + s.sndInstr___29093 = undefined; + s.sndInstrPtr___29099 = undefined; + s.addForm___29100 = undefined; + s.scanNextWord___29160 = undefined; + s.token___29217 = undefined; + s.tokenKind___29218 = undefined; + s.consumeToken___29221 = undefined; + s.currNote___29297 = undefined; + s.prevNote___29299 = undefined; + s.timeLeft___29302 = undefined; + s.note___29316 = undefined; + s.i___29320 = undefined; + s.noteChar___29326 = undefined; + s.keyNumber___29400 = undefined; + s.currMs___29417 = undefined; + s.beat___29421 = undefined; + s.timeLeft___29478 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1620_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C22343_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -19679,12 +19679,12 @@ switch (step) { case 1: case 2: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_clamp__P127_mk(s); + s.tmp_6 = Math_clamp__P20850_mk(s); s.tmp_6.arg0 = 0; s.tmp_6.arg1 = 255; r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_8 = r0; - s.tmp_10 = music_volume__P1605_mk(s); + s.tmp_10 = music_volume__P22328_mk(s); s.callLocIdx = 85; s.pc = 61; return s.tmp_10; case 61: r0 = s.retval; @@ -19700,121 +19700,121 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_4, s.tmp_5); r0 = s.arg0.fields["melody"]; r0 = r0.fields["_text"]; - s.notes___8347 = (r0); + s.notes___29070 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pos___8351 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pos___8351, 0); + s.pos___29074 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pos___29074, 0); r0 = pxsim_pxtrt.mklocRef(); - s.duration___8352 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.duration___8352, 4); + s.duration___29075 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.duration___29075, 4); r0 = pxsim_pxtrt.mklocRef(); - s.octave___8353 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.octave___8353, 4); + s.octave___29076 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.octave___29076, 4); r0 = pxsim_pxtrt.mklocRef(); - s.tempo___8354 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tempo___8354, 120); + s.tempo___29077 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tempo___29077, 120); r0 = pxsim_pxtrt.mklocRef(); - s.hz___8355 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hz___8355, 0); + s.hz___29078 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hz___29078, 0); r0 = pxsim_pxtrt.mklocRef(); - s.endHz___8356 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.endHz___8356, -1); + s.endHz___29079 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___29079, -1); r0 = pxsim_pxtrt.mklocRef(); - s.ms___8359 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.ms___8359, 0); - s.timePos___8360 = (0); + s.ms___29082 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.ms___29082, 0); + s.timePos___29083 = (0); r0 = pxsim.control.millis(); - s.startTime___8361 = (r0); - s.now___8364 = (0); + s.startTime___29084 = (r0); + s.now___29087 = (0); r0 = pxsim_pxtrt.mklocRef(); - s.envA___8365 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envA___8365, 0); + s.envA___29088 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envA___29088, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envD___8366 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envD___8366, 0); + s.envD___29089 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envD___29089, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envS___8367 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envS___8367, 255); + s.envS___29090 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envS___29090, 255); r0 = pxsim_pxtrt.mklocRef(); - s.envR___8368 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envR___8368, 0); + s.envR___29091 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envR___29091, 0); r0 = pxsim_pxtrt.mklocRef(); - s.soundWave___8369 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.soundWave___8369, 1); + s.soundWave___29092 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.soundWave___29092, 1); r0 = pxsim.control.createBuffer(60); - s.sndInstr___8370 = (r0); + s.sndInstr___29093 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.sndInstrPtr___8376 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___8376, 0); - r0 = pxsim_pxtcore_mkAction(10, addForm_inline__P8378); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___8355); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___8356); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___8359); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___8352); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___8354); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___8368); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___8376); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___8370); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___8369); + s.sndInstrPtr___29099 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___29099, 0); + r0 = pxsim_pxtcore_mkAction(10, addForm_inline__P29101); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___29078); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___29079); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___29082); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___29075); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___29077); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___29091); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___29099); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___29093); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___29092); r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.arg1); - s.addForm___8377 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, scanNextWord_inline__P8438); + s.addForm___29100 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, scanNextWord_inline__P29161); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___8351); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___8347); - s.scanNextWord___8437 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___29074); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___29070); + s.scanNextWord___29160 = (s.tmp_0); r0 = pxsim_pxtrt.mklocRef(); - s.token___8494 = (r0); - s.tmp_0 = r0 = s.token___8494; + s.token___29217 = (r0); + s.tmp_0 = r0 = s.token___29217; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.tokenKind___8495 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___8495, 0); - r0 = pxsim_pxtcore_mkAction(13, consumeToken_inline__P8499); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___8494); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___8495); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___8353); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___8352); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___8359); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___8354); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___8355); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___8369); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___8365); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___8366); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___8367); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___8368); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___8356); - s.consumeToken___8498 = (s.tmp_0); + s.tokenKind___29218 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___29218, 0); + r0 = pxsim_pxtcore_mkAction(13, consumeToken_inline__P29222); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___29217); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___29218); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___29076); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___29075); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___29082); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___29077); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___29078); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___29092); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___29088); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___29089); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___29090); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___29091); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___29079); + s.consumeToken___29221 = (s.tmp_0); case 3: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 58; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.scanNextWord___8437; + s.tmp_0.argL = s.scanNextWord___29160; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 94; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.currNote___8574 = (r0); - s.prevNote___8576 = (false); - r0 = pxsim_numops_toBoolDecr(s.currNote___8574); + s.currNote___29297 = (r0); + s.prevNote___29299 = (false); + r0 = pxsim_numops_toBoolDecr(s.currNote___29297); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.timePos___8360 - s.now___8364); - s.timeLeft___8579 = (r0); - r0 = (s.timeLeft___8579 > 0); + r0 = (s.timePos___29083 - s.now___29087); + s.timeLeft___29302 = (r0); + r0 = (s.timeLeft___29302 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = pause__P411_mk(s); - s.tmp_1.arg0 = s.timeLeft___8579; + s.tmp_1 = pause__P21134_mk(s); + s.tmp_1.arg0 = s.timeLeft___29302; s.callLocIdx = 95; s.pc = 63; return s.tmp_1; case 63: r0 = s.retval; @@ -19842,25 +19842,25 @@ switch (step) { { step = 59; continue; } case 8: case 9: - r0 = pxsim_pxtrt_stlocRef(s.hz___8355, -1); - s.note___8593 = (0); - s.tmp_0 = r0 = s.token___8494; + r0 = pxsim_pxtrt_stlocRef(s.hz___29078, -1); + s.note___29316 = (0); + s.tmp_0 = r0 = s.token___29217; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___8495, 0); - s.i___8597 = (0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___29218, 0); + s.i___29320 = (0); case 10: - s.tmp_1 = r0 = s.i___8597; - r0 = pxsim_String_.length(s.currNote___8574); + s.tmp_1 = r0 = s.i___29320; + r0 = pxsim_String_.length(s.currNote___29297); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_String_.charAt(s.currNote___8574, s.i___8597); - s.noteChar___8603 = (r0); - s.tmp_0 = r0 = s.noteChar___8603; + r0 = pxsim_String_.charAt(s.currNote___29297, s.i___29320); + s.noteChar___29326 = (r0); + s.tmp_0 = r0 = s.noteChar___29326; r0 = pxsim_pxtcore.switch_eq("c", s.tmp_0); if (r0) { step = 11; continue; } r0 = pxsim_pxtcore.switch_eq("C", s.tmp_0); @@ -19913,133 +19913,133 @@ switch (step) { { step = 37; continue; } case 11: case 12: - s.note___8593 = (1); - s.prevNote___8576 = (true); + s.note___29316 = (1); + s.prevNote___29299 = (true); { step = 40; continue; } case 13: case 14: - s.note___8593 = (3); - s.prevNote___8576 = (true); + s.note___29316 = (3); + s.prevNote___29299 = (true); { step = 40; continue; } case 15: case 16: - s.note___8593 = (5); - s.prevNote___8576 = (true); + s.note___29316 = (5); + s.prevNote___29299 = (true); { step = 40; continue; } case 17: case 18: - s.note___8593 = (6); - s.prevNote___8576 = (true); + s.note___29316 = (6); + s.prevNote___29299 = (true); { step = 40; continue; } case 19: case 20: - s.note___8593 = (8); - s.prevNote___8576 = (true); + s.note___29316 = (8); + s.prevNote___29299 = (true); { step = 40; continue; } case 21: case 22: - s.note___8593 = (10); - s.prevNote___8576 = (true); + s.note___29316 = (10); + s.prevNote___29299 = (true); { step = 40; continue; } case 23: - s.note___8593 = (12); - s.prevNote___8576 = (true); + s.note___29316 = (12); + s.prevNote___29299 = (true); { step = 40; continue; } case 24: case 25: - r0 = pxsim_pxtrt_stlocRef(s.hz___8355, 0); - s.prevNote___8576 = (false); + r0 = pxsim_pxtrt_stlocRef(s.hz___29078, 0); + s.prevNote___29299 = (false); { step = 40; continue; } case 26: - r0 = (s.note___8593 + 1); - s.note___8593 = (r0); - s.prevNote___8576 = (false); + r0 = (s.note___29316 + 1); + s.note___29316 = (r0); + s.prevNote___29299 = (false); { step = 40; continue; } case 27: - r0 = pxsim_numops_toBoolDecr(s.prevNote___8576); + r0 = pxsim_numops_toBoolDecr(s.prevNote___29299); if (!r0) { step = 28; continue; } - r0 = (s.note___8593 - 1); - s.note___8593 = (r0); + r0 = (s.note___29316 - 1); + s.note___29316 = (r0); { step = 29; continue; } case 28: - s.note___8593 = (12); - s.prevNote___8576 = (true); + s.note___29316 = (12); + s.prevNote___29299 = (true); case 29: { step = 40; continue; } case 30: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___8498; + s.tmp_0.argL = s.consumeToken___29221; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 97; s.pc = 65; return s.tmp_0; case 65: r0 = s.retval; - s.prevNote___8576 = (false); + s.prevNote___29299 = (false); { step = 40; continue; } case 31: - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___8495, 4); - s.prevNote___8576 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___29218, 4); + s.prevNote___29299 = (false); { step = 40; continue; } case 32: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___8498; + s.tmp_0.argL = s.consumeToken___29221; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 98; s.pc = 66; return s.tmp_0; case 66: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___8495, 8); - s.prevNote___8576 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___29218, 8); + s.prevNote___29299 = (false); { step = 40; continue; } case 33: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___8498; + s.tmp_0.argL = s.consumeToken___29221; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 99; s.pc = 67; return s.tmp_0; case 67: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___8495, 7); - s.prevNote___8576 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___29218, 7); + s.prevNote___29299 = (false); { step = 40; continue; } case 34: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___8498; + s.tmp_0.argL = s.consumeToken___29221; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 100; s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___8495, 2); - s.prevNote___8576 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___29218, 2); + s.prevNote___29299 = (false); { step = 40; continue; } case 35: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___8498; + s.tmp_0.argL = s.consumeToken___29221; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 101; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___8495, 3); - s.prevNote___8576 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___29218, 3); + s.prevNote___29299 = (false); { step = 40; continue; } case 36: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___8498; + s.tmp_0.argL = s.consumeToken___29221; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 102; s.pc = 70; return s.tmp_0; case 70: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___8495, 5); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___29218, 5); { step = 40; continue; } case 37: - r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___8495); + r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___29218); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 38; continue; } - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___8495, 1); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___29218, 1); case 38: case 39: - s.tmp_0 = r0 = s.token___8494; - r0 = pxsim_pxtrt_ldlocRef(s.token___8494); + s.tmp_0 = r0 = s.token___29217; + r0 = pxsim_pxtrt_ldlocRef(s.token___29217); s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 71); @@ -20050,37 +20050,37 @@ switch (step) { case 71: r0 = s.retval; s.tmp_2 = r0; - if ((s.noteChar___8603) && (s.noteChar___8603).vtable) { + if ((s.noteChar___29326) && (s.noteChar___29326).vtable) { setupResume(s, 72); - pxsim_String__stringConv(s.noteChar___8603); + pxsim_String__stringConv(s.noteChar___29326); checkResumeConsumed(); return; - } else { s.retval = (s.noteChar___8603) + ""; } + } else { s.retval = (s.noteChar___29326) + ""; } case 72: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_4); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.prevNote___8576 = (false); + s.prevNote___29299 = (false); case 40: - r0 = (s.i___8597 + 1); - s.i___8597 = (r0); + r0 = (s.i___29320 + 1); + s.i___29320 = (r0); { step = 10; continue; } case 41: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___8498; + s.tmp_0.argL = s.consumeToken___29221; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 103; s.pc = 73; return s.tmp_0; case 73: r0 = s.retval; - s.tmp_0 = r0 = s.note___8593; + s.tmp_0 = r0 = s.note___29316; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 42; continue; } r0 = s.tmp_0; { step = 43; continue; } case 42: - r0 = pxsim_pxtrt_ldlocRef(s.hz___8355); + r0 = pxsim_pxtrt_ldlocRef(s.hz___29078); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); case 43: @@ -20088,17 +20088,17 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 46; continue; } - s.tmp_3 = r0 = s.note___8593; - r0 = pxsim_pxtrt_ldlocRef(s.octave___8353); + s.tmp_3 = r0 = s.note___29316; + r0 = pxsim_pxtrt_ldlocRef(s.octave___29076); s.tmp_6 = r0; r0 = (s.tmp_6 - 1); s.tmp_5 = r0; r0 = (12 * s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); - s.keyNumber___8677 = (r0); - s.tmp_1 = r0 = globals.freqs___3967; - r0 = (s.keyNumber___8677 * 2); + s.keyNumber___29400 = (r0); + s.tmp_1 = r0 = globals.freqs___24690; + r0 = (s.keyNumber___29400 * 2); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 4, s.tmp_2); s.tmp_0 = r0; @@ -20111,26 +20111,26 @@ switch (step) { case 45: // jmp value (already in r0) s.tmp_3 = r0; - r0 = pxsim_pxtrt_stlocRef(s.hz___8355, s.tmp_3); + r0 = pxsim_pxtrt_stlocRef(s.hz___29078, s.tmp_3); case 46: case 47: - r0 = pxsim_pxtrt_ldlocRef(s.ms___8359); - s.currMs___8694 = (r0); - r0 = (s.currMs___8694 <= 0); + r0 = pxsim_pxtrt_ldlocRef(s.ms___29082); + s.currMs___29417 = (r0); + r0 = (s.currMs___29417 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.tempo___8354); + r0 = pxsim_pxtrt_ldlocRef(s.tempo___29077); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(15000, s.tmp_1); - s.beat___8698 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.duration___8352); + s.beat___29421 = (r0); + r0 = pxsim_pxtrt_ldlocRef(s.duration___29075); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.beat___8698); - s.currMs___8694 = (r0); + r0 = (s.tmp_0 * s.beat___29421); + s.currMs___29417 = (r0); case 48: case 49: - r0 = pxsim_pxtrt_ldlocRef(s.hz___8355); + r0 = pxsim_pxtrt_ldlocRef(s.hz___29078); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -20138,32 +20138,32 @@ switch (step) { if (!r0) { step = 50; continue; } { step = 55; continue; } case 50: - r0 = pxsim_pxtrt_ldlocRef(s.hz___8355); + r0 = pxsim_pxtrt_ldlocRef(s.hz___29078); s.tmp_3 = r0; r0 = (s.tmp_3 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 51; continue; } - r0 = (s.timePos___8360 + s.currMs___8694); - s.timePos___8360 = (r0); + r0 = (s.timePos___29083 + s.currMs___29417); + s.timePos___29083 = (r0); { step = 54; continue; } case 51: - r0 = pxsim_pxtrt_ldlocRef(s.endHz___8356); + r0 = pxsim_pxtrt_ldlocRef(s.endHz___29079); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } - s.tmp_2 = r0 = s.endHz___8356; - r0 = pxsim_pxtrt_ldlocRef(s.hz___8355); + s.tmp_2 = r0 = s.endHz___29079; + r0 = pxsim_pxtrt_ldlocRef(s.hz___29078); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); case 52: case 53: - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___8376, 0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___29099, 0); s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___8377; - r0 = pxsim_pxtrt_ldlocRef(s.envA___8365); + s.tmp_0.argL = s.addForm___29100; + r0 = pxsim_pxtrt_ldlocRef(s.envA___29088); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 255; @@ -20173,36 +20173,36 @@ switch (step) { case 74: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___8377; - r0 = pxsim_pxtrt_ldlocRef(s.envD___8366); + s.tmp_0.argL = s.addForm___29100; + r0 = pxsim_pxtrt_ldlocRef(s.envD___29089); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 255; - r0 = pxsim_pxtrt_ldlocRef(s.envS___8367); + r0 = pxsim_pxtrt_ldlocRef(s.envS___29090); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___8365); + r0 = pxsim_pxtrt_ldlocRef(s.envA___29088); s.tmp_0.arg3 = r0; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 105; s.pc = 75; return s.tmp_0; case 75: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___8377; - s.tmp_1 = r0 = s.currMs___8694; - r0 = pxsim_pxtrt_ldlocRef(s.envA___8365); + s.tmp_0.argL = s.addForm___29100; + s.tmp_1 = r0 = s.currMs___29417; + r0 = pxsim_pxtrt_ldlocRef(s.envA___29088); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___8366); + r0 = pxsim_pxtrt_ldlocRef(s.envD___29089); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___8367); + r0 = pxsim_pxtrt_ldlocRef(s.envS___29090); s.tmp_0.arg1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___8367); + r0 = pxsim_pxtrt_ldlocRef(s.envS___29090); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___8366); + r0 = pxsim_pxtrt_ldlocRef(s.envD___29089); s.tmp_5 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___8365); + r0 = pxsim_pxtrt_ldlocRef(s.envA___29088); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; @@ -20211,50 +20211,50 @@ switch (step) { case 76: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___8377; - r0 = pxsim_pxtrt_ldlocRef(s.envR___8368); + s.tmp_0.argL = s.addForm___29100; + r0 = pxsim_pxtrt_ldlocRef(s.envR___29091); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___8367); + r0 = pxsim_pxtrt_ldlocRef(s.envS___29090); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.currMs___8694; + s.tmp_0.arg3 = s.currMs___29417; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 107; s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P3984_mk(s); + s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P24707_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.timePos___8360 - s.now___8364); + r0 = (s.timePos___29083 - s.now___29087); s.tmp_0.arg1 = r0; - s.tmp_1 = r0 = s.sndInstr___8370; - r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___8376); + s.tmp_1 = r0 = s.sndInstr___29093; + r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___29099); s.tmp_2 = r0; r0 = pxsim.BufferMethods.slice(s.tmp_1, 0, s.tmp_2); s.tmp_0.arg2 = r0; s.callLocIdx = 108; s.pc = 78; return s.tmp_0; case 78: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.endHz___8356, -1); - r0 = (s.timePos___8360 + s.currMs___8694); - s.timePos___8360 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___29079, -1); + r0 = (s.timePos___29083 + s.currMs___29417); + s.timePos___29083 = (r0); case 54: case 55: - r0 = (s.timePos___8360 - s.now___8364); - s.timeLeft___8755 = (r0); - r0 = (s.timeLeft___8755 > 200); + r0 = (s.timePos___29083 - s.now___29087); + s.timeLeft___29478 = (r0); + r0 = (s.timeLeft___29478 > 200); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 56; continue; } - s.tmp_1 = pause__P411_mk(s); - r0 = (s.timeLeft___8755 - 100); + s.tmp_1 = pause__P21134_mk(s); + r0 = (s.timeLeft___29478 - 100); s.tmp_1.arg0 = r0; s.callLocIdx = 109; s.pc = 79; return s.tmp_1; case 79: r0 = s.retval; r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.startTime___8361); - s.now___8364 = (r0); + r0 = (s.tmp_0 - s.startTime___29084); + s.now___29087 = (r0); case 56: case 57: { step = 3; continue; } @@ -20264,12 +20264,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_MelodyPlayer_play__P1625.info = {"start":11361,"length":9259,"line":348,"column":8,"endLine":582,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_MelodyPlayer_play__P22348.info = {"start":11361,"length":9259,"line":348,"column":8,"endLine":582,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_MelodyPlayer_play__P1625_mk(s) { +function music_MelodyPlayer_play__P22348_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_play__P1625, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_play__P22348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20282,39 +20282,39 @@ function music_MelodyPlayer_play__P1625_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - notes___8347: undefined, - pos___8351: undefined, - duration___8352: undefined, - octave___8353: undefined, - tempo___8354: undefined, - hz___8355: undefined, - endHz___8356: undefined, - ms___8359: undefined, - timePos___8360: undefined, - startTime___8361: undefined, - now___8364: undefined, - envA___8365: undefined, - envD___8366: undefined, - envS___8367: undefined, - envR___8368: undefined, - soundWave___8369: undefined, - sndInstr___8370: undefined, - sndInstrPtr___8376: undefined, - addForm___8377: undefined, - scanNextWord___8437: undefined, - token___8494: undefined, - tokenKind___8495: undefined, - consumeToken___8498: undefined, - currNote___8574: undefined, - prevNote___8576: undefined, - timeLeft___8579: undefined, - note___8593: undefined, - i___8597: undefined, - noteChar___8603: undefined, - keyNumber___8677: undefined, - currMs___8694: undefined, - beat___8698: undefined, - timeLeft___8755: undefined, + notes___29070: undefined, + pos___29074: undefined, + duration___29075: undefined, + octave___29076: undefined, + tempo___29077: undefined, + hz___29078: undefined, + endHz___29079: undefined, + ms___29082: undefined, + timePos___29083: undefined, + startTime___29084: undefined, + now___29087: undefined, + envA___29088: undefined, + envD___29089: undefined, + envS___29090: undefined, + envR___29091: undefined, + soundWave___29092: undefined, + sndInstr___29093: undefined, + sndInstrPtr___29099: undefined, + addForm___29100: undefined, + scanNextWord___29160: undefined, + token___29217: undefined, + tokenKind___29218: undefined, + consumeToken___29221: undefined, + currNote___29297: undefined, + prevNote___29299: undefined, + timeLeft___29302: undefined, + note___29316: undefined, + i___29320: undefined, + noteChar___29326: undefined, + keyNumber___29400: undefined, + currMs___29417: undefined, + beat___29421: undefined, + timeLeft___29478: undefined, arg0: undefined, arg1: undefined, } } @@ -20323,7 +20323,7 @@ function music_MelodyPlayer_play__P1625_mk(s) { -function addForm_inline__P8378(s) { +function addForm_inline__P29101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20333,10 +20333,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.freqStart___8383 = undefined; - s.freqEnd___8385 = undefined; - s.envelopeWidth___8387 = undefined; - s.slope___8405 = undefined; + s.freqStart___29106 = undefined; + s.freqEnd___29108 = undefined; + s.envelopeWidth___29110 = undefined; + s.slope___29128 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20345,9 +20345,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.freqStart___8383 = (r0); + s.freqStart___29106 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.freqEnd___8385 = (r0); + s.freqEnd___29108 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -20371,7 +20371,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_7 = r0; - s.envelopeWidth___8387 = (s.tmp_7); + s.envelopeWidth___29110 = (s.tmp_7); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); @@ -20383,35 +20383,35 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.envelopeWidth___8387 != 0); + r0 = (s.envelopeWidth___29110 != 0); case 4: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } - r0 = (s.freqEnd___8385 - s.freqStart___8383); + r0 = (s.freqEnd___29108 - s.freqStart___29106); s.tmp_4 = r0; - r0 = (s.tmp_4 / s.envelopeWidth___8387); - s.slope___8405 = (r0); + r0 = (s.tmp_4 / s.envelopeWidth___29110); + s.slope___29128 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - r0 = (s.slope___8405 * s.arg3); + r0 = (s.slope___29128 * s.arg3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqStart___8383 = (r0); + s.freqStart___29106 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - s.tmp_2 = r0 = s.slope___8405; + s.tmp_2 = r0 = s.slope___29128; r0 = (s.arg3 + s.arg0); s.tmp_3 = r0; r0 = (s.tmp_2 * s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqEnd___8385 = (r0); + s.freqEnd___29108 = (r0); case 5: case 6: s.tmp_0 = r0 = s.caps[6]; - s.tmp_2 = music_addNote__P3983_mk(s); + s.tmp_2 = music_addNote__P24706_mk(s); s.tmp_2.arg0 = s.caps[7]; r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); s.tmp_2.arg1 = r0; @@ -20420,10 +20420,10 @@ switch (step) { s.tmp_2.arg4 = s.arg2; r0 = pxsim_pxtrt_ldlocRef(s.caps[8]); s.tmp_2.arg5 = r0; - s.tmp_2.arg6 = s.freqStart___8383; + s.tmp_2.arg6 = s.freqStart___29106; r0 = pxsim_pxtrt_ldlocRef(s.caps[9]); s.tmp_2.arg7 = r0; - s.tmp_2.arg8 = s.freqEnd___8385; + s.tmp_2.arg8 = s.freqEnd___29108; s.callLocIdx = 87; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -20433,12 +20433,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -addForm_inline__P8378.info = {"start":12169,"length":643,"line":374,"column":28,"endLine":385,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} +addForm_inline__P29101.info = {"start":12169,"length":643,"line":374,"column":28,"endLine":385,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} -function addForm_inline__P8378_mk(s) { +function addForm_inline__P29101_mk(s) { checkStack(s.depth); return { - parent: s, fn: addForm_inline__P8378, depth: s.depth + 1, + parent: s, fn: addForm_inline__P29101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20448,10 +20448,10 @@ function addForm_inline__P8378_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - freqStart___8383: undefined, - freqEnd___8385: undefined, - envelopeWidth___8387: undefined, - slope___8405: undefined, + freqStart___29106: undefined, + freqEnd___29108: undefined, + envelopeWidth___29110: undefined, + slope___29128: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20462,7 +20462,7 @@ function addForm_inline__P8378_mk(s) { -function scanNextWord_inline__P8438(s) { +function scanNextWord_inline__P29161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20472,9 +20472,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___8447 = undefined; - s.note___8464 = undefined; - s.c___8470 = undefined; + s.c___29170 = undefined; + s.note___29187 = undefined; + s.c___29193 = undefined; r0 = s.caps[0].fields["melody"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20500,15 +20500,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_7 = r0; r0 = pxsim_String_.charAt(s.tmp_6, s.tmp_7); - s.c___8447 = (r0); - r0 = (s.c___8447 != " "); + s.c___29170 = (r0); + r0 = (s.c___29170 != " "); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 4; continue; } r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = (s.c___8447 != "\r"); + r0 = (s.c___29170 != "\r"); case 5: // jmp value (already in r0) s.tmp_1 = r0; @@ -20517,7 +20517,7 @@ switch (step) { r0 = s.tmp_1; { step = 7; continue; } case 6: - r0 = (s.c___8447 != "\n"); + r0 = (s.c___29170 != "\n"); case 7: // jmp value (already in r0) s.tmp_2 = r0; @@ -20526,7 +20526,7 @@ switch (step) { r0 = s.tmp_2; { step = 9; continue; } case 8: - r0 = (s.c___8447 != "\t"); + r0 = (s.c___29170 != "\t"); case 9: // jmp value (already in r0) s.tmp_3 = r0; @@ -20544,7 +20544,7 @@ switch (step) { { step = 3; continue; } case 12: r0 = pxsim_String_.mkEmpty(); - s.note___8464 = (r0); + s.note___29187 = (r0); case 13: r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; @@ -20558,15 +20558,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); - s.c___8470 = (r0); - r0 = (s.c___8470 == " "); + s.c___29193 = (r0); + r0 = (s.c___29193 == " "); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 14; continue; } r0 = s.tmp_0; { step = 15; continue; } case 14: - r0 = (s.c___8470 == "\r"); + r0 = (s.c___29193 == "\r"); case 15: // jmp value (already in r0) s.tmp_1 = r0; @@ -20575,7 +20575,7 @@ switch (step) { r0 = s.tmp_1; { step = 17; continue; } case 16: - r0 = (s.c___8470 == "\n"); + r0 = (s.c___29193 == "\n"); case 17: // jmp value (already in r0) s.tmp_2 = r0; @@ -20584,7 +20584,7 @@ switch (step) { r0 = s.tmp_2; { step = 19; continue; } case 18: - r0 = (s.c___8470 == "\t"); + r0 = (s.c___29193 == "\t"); case 19: // jmp value (already in r0) s.tmp_3 = r0; @@ -20593,26 +20593,26 @@ switch (step) { { step = 22; continue; } case 20: case 21: - if ((s.note___8464) && (s.note___8464).vtable) { + if ((s.note___29187) && (s.note___29187).vtable) { setupResume(s, 24); - pxsim_String__stringConv(s.note___8464); + pxsim_String__stringConv(s.note___29187); checkResumeConsumed(); return; - } else { s.retval = (s.note___8464) + ""; } + } else { s.retval = (s.note___29187) + ""; } case 24: r0 = s.retval; s.tmp_4 = r0; - if ((s.c___8470) && (s.c___8470).vtable) { + if ((s.c___29193) && (s.c___29193).vtable) { setupResume(s, 25); - pxsim_String__stringConv(s.c___8470); + pxsim_String__stringConv(s.c___29193); checkResumeConsumed(); return; - } else { s.retval = (s.c___8470) + ""; } + } else { s.retval = (s.c___29193) + ""; } case 25: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_String__concat(s.tmp_4, s.tmp_5); - s.note___8464 = (r0); + s.note___29187 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; @@ -20621,17 +20621,17 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 13; continue; } case 22: - r0 = s.note___8464; + r0 = s.note___29187; case 23: return leave(s, r0) default: oops() } } } -scanNextWord_inline__P8438.info = {"start":12847,"length":708,"line":387,"column":33,"endLine":409,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +scanNextWord_inline__P29161.info = {"start":12847,"length":708,"line":387,"column":33,"endLine":409,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function scanNextWord_inline__P8438_mk(s) { +function scanNextWord_inline__P29161_mk(s) { checkStack(s.depth); return { - parent: s, fn: scanNextWord_inline__P8438, depth: s.depth + 1, + parent: s, fn: scanNextWord_inline__P29161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20641,16 +20641,16 @@ function scanNextWord_inline__P8438_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - c___8447: undefined, - note___8464: undefined, - c___8470: undefined, + c___29170: undefined, + note___29187: undefined, + c___29193: undefined, } } -function consumeToken_inline__P8499(s) { +function consumeToken_inline__P29222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20660,7 +20660,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___8505 = undefined; + s.d___29228 = undefined; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -20676,14 +20676,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 15; continue; } - s.tmp_3 = parseInt__P97_mk(s); + s.tmp_3 = parseInt__P20820_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = undefined; s.callLocIdx = 88; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; - s.d___8505 = (r0); + s.d___29228 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); @@ -20711,15 +20711,15 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 3: - r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___8505); + r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___29228); { step = 14; continue; } case 4: s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P20853_mk(s); s.tmp_2.arg0 = 1; - s.tmp_3 = Math_min__P131_mk(s); + s.tmp_3 = Math_min__P20854_mk(s); s.tmp_3.arg0 = 16; - s.tmp_3.arg1 = s.d___8505; + s.tmp_3.arg1 = s.d___29228; s.callLocIdx = 89; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; @@ -20733,9 +20733,9 @@ switch (step) { { step = 14; continue; } case 5: s.tmp_0 = r0 = s.caps[5]; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P20853_mk(s); s.tmp_2.arg0 = 1; - s.tmp_2.arg1 = s.d___8505; + s.tmp_2.arg1 = s.d___29228; s.callLocIdx = 91; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; @@ -20743,18 +20743,18 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 6: - r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___8505); + r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___29228); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 6); { step = 14; continue; } case 7: - r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___8505); + r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___29228); { step = 14; continue; } case 8: s.tmp_0 = r0 = s.caps[7]; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P20850_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = 18; - s.tmp_2.arg2 = s.d___8505; + s.tmp_2.arg2 = s.d___29228; s.callLocIdx = 92; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; @@ -20762,19 +20762,19 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 9: - r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___8505); + r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___29228); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 9); { step = 14; continue; } case 10: - r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___8505); + r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___29228); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 10); { step = 14; continue; } case 11: s.tmp_0 = r0 = s.caps[10]; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P20850_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 255; - s.tmp_2.arg2 = s.d___8505; + s.tmp_2.arg2 = s.d___29228; s.callLocIdx = 93; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; @@ -20783,10 +20783,10 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.caps[1], 11); { step = 14; continue; } case 12: - r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___8505); + r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___29228); { step = 14; continue; } case 13: - r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___8505); + r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___29228); case 14: s.tmp_0 = r0 = s.caps[0]; r0 = pxsim_String_.mkEmpty(); @@ -20798,25 +20798,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -consumeToken_inline__P8499.info = {"start":14841,"length":1189,"line":448,"column":33,"endLine":469,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +consumeToken_inline__P29222.info = {"start":14841,"length":1189,"line":448,"column":33,"endLine":469,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function consumeToken_inline__P8499_mk(s) { +function consumeToken_inline__P29222_mk(s) { checkStack(s.depth); return { - parent: s, fn: consumeToken_inline__P8499, depth: s.depth + 1, + parent: s, fn: consumeToken_inline__P29222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - d___8505: undefined, + d___29228: undefined, } } -function music_MelodyPlayer_queuePlayInstructions__P3984(s) { +function music_MelodyPlayer_queuePlayInstructions__P24707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20833,18 +20833,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1620_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C22343_VT)) failedCast(r0); r0 = pxsim.music.queuePlayInstructions(s.arg1, s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_queuePlayInstructions__P3984.info = {"start":11226,"length":125,"line":344,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"queuePlayInstructions","argumentNames":["this","timeDelta","buf"]} +music_MelodyPlayer_queuePlayInstructions__P24707.info = {"start":11226,"length":125,"line":344,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"queuePlayInstructions","argumentNames":["this","timeDelta","buf"]} -function music_MelodyPlayer_queuePlayInstructions__P3984_mk(s) { +function music_MelodyPlayer_queuePlayInstructions__P24707_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P3984, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P24707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20855,7 +20855,7 @@ function music_MelodyPlayer_queuePlayInstructions__P3984_mk(s) { -function music_addNote__P3983(s) { +function music_addNote__P24706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20923,12 +20923,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P3983.info = {"start":10086,"length":904,"line":315,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P24706.info = {"start":10086,"length":904,"line":315,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -function music_addNote__P3983_mk(s) { +function music_addNote__P24706_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P3983, depth: s.depth + 1, + parent: s, fn: music_addNote__P24706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20949,7 +20949,7 @@ function music_addNote__P3983_mk(s) { -function music_volume__P1605(s) { +function music_volume__P22328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20959,20 +20959,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P3975_mk(s); + s.tmp_0 = music_initVolume__P24698_mk(s); s.callLocIdx = 67; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___3971; + r0 = globals.globalVolume___24694; return leave(s, r0) default: oops() } } } -music_volume__P1605.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P22328.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__P1605_mk(s) { +function music_volume__P22328_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P1605, depth: s.depth + 1, + parent: s, fn: music_volume__P22328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20981,7 +20981,7 @@ function music_volume__P1605_mk(s) { -function music_initVolume__P3975(s) { +function music_initVolume__P24698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20991,12 +20991,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___3971 === null); + r0 = (globals.globalVolume___24694 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___3971 = (0); - s.tmp_0 = music_setVolume__P1604_mk(s); + globals.globalVolume___24694 = (0); + s.tmp_0 = music_setVolume__P22327_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 64; s.pc = 3; return s.tmp_0; @@ -21008,12 +21008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P3975.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P24698.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__P3975_mk(s) { +function music_initVolume__P24698_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P3975, depth: s.depth + 1, + parent: s, fn: music_initVolume__P24698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -21022,7 +21022,7 @@ function music_initVolume__P3975_mk(s) { -function music_setVolume__P1604(s) { +function music_setVolume__P22327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21036,7 +21036,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P127_mk(s); + s.tmp_0 = Math_clamp__P20850_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -21044,8 +21044,8 @@ switch (step) { s.callLocIdx = 65; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___3971 = (r0); - r0 = (globals.globalVolume___3971 > 0); + globals.globalVolume___24694 = (r0); + r0 = (globals.globalVolume___24694 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -21061,12 +21061,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P1604.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__P22327.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__P1604_mk(s) { +function music_setVolume__P22327_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P1604, depth: s.depth + 1, + parent: s, fn: music_setVolume__P22327, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21077,7 +21077,7 @@ function music_setVolume__P1604_mk(s) { -function music_enableAmp__P3974(s) { +function music_enableAmp__P24697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21095,12 +21095,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P3974.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__P24697.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__P3974_mk(s) { +function music_enableAmp__P24697_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P3974, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P24697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21109,7 +21109,7 @@ function music_enableAmp__P3974_mk(s) { -function parseInt__P97(s) { +function parseInt__P20820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21119,13 +21119,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___8792 = undefined; - s.sign___8822 = undefined; - s.output___8867 = undefined; - s.hasDigit___8868 = undefined; - s.i___8869 = undefined; - s.code___8876 = undefined; - s.val___8883 = undefined; + s.start___29515 = undefined; + s.sign___29545 = undefined; + s.output___29590 = undefined; + s.hasDigit___29591 = undefined; + s.i___29592 = undefined; + s.code___29599 = undefined; + s.val___29606 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21172,9 +21172,9 @@ switch (step) { { step = 46; continue; } case 7: case 8: - s.start___8792 = (0); + s.start___29515 = (0); case 9: - s.tmp_1 = r0 = s.start___8792; + s.tmp_1 = r0 = s.start___29515; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -21184,8 +21184,8 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - s.tmp_3 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___8792); + s.tmp_3 = helpers_isWhitespace__P20847_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___29515); s.tmp_3.arg0 = r0; s.callLocIdx = 0; s.pc = 47; return s.tmp_3; case 47: @@ -21195,11 +21195,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - r0 = (s.start___8792 + 1); - s.start___8792 = (r0); + r0 = (s.start___29515 + 1); + s.start___29515 = (r0); { step = 9; continue; } case 12: - s.tmp_1 = r0 = s.start___8792; + s.tmp_1 = r0 = s.start___29515; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); @@ -21210,8 +21210,8 @@ switch (step) { { step = 46; continue; } case 13: case 14: - s.sign___8822 = (1); - r0 = pxsim_String_.charAt(s.arg0, s.start___8792); + s.sign___29545 = (1); + r0 = pxsim_String_.charAt(s.arg0, s.start___29515); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq("-", s.tmp_0); if (r0) { step = 15; continue; } @@ -21220,10 +21220,10 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 15: - s.sign___8822 = (-1); + s.sign___29545 = (-1); case 16: - r0 = (s.start___8792 + 1); - s.start___8792 = (r0); + r0 = (s.start___29515 + 1); + s.start___29515 = (r0); case 17: r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; @@ -21243,7 +21243,7 @@ switch (step) { r0 = s.tmp_2; { step = 21; continue; } case 20: - r0 = pxsim_String_.charAt(s.arg0, s.start___8792); + r0 = pxsim_String_.charAt(s.arg0, s.start___29515); s.tmp_3 = r0; r0 = ("0" === s.tmp_3); case 21: @@ -21255,7 +21255,7 @@ switch (step) { { step = 25; continue; } case 22: s.tmp_7 = r0 = s.arg0; - r0 = (s.start___8792 + 1); + r0 = (s.start___29515 + 1); s.tmp_8 = r0; r0 = pxsim_String_.charAt(s.tmp_7, s.tmp_8); s.tmp_6 = r0; @@ -21267,7 +21267,7 @@ switch (step) { { step = 24; continue; } case 23: s.tmp_10 = r0 = s.arg0; - r0 = (s.start___8792 + 1); + r0 = (s.start___29515 + 1); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -21282,8 +21282,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_13); if (!r0) { step = 26; continue; } s.arg1 = (16); - r0 = (s.start___8792 + 2); - s.start___8792 = (r0); + r0 = (s.start___29515 + 2); + s.start___29515 = (r0); { step = 29; continue; } case 26: r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -21296,73 +21296,73 @@ switch (step) { case 27: case 28: case 29: - s.output___8867 = (0); - s.hasDigit___8868 = (false); - s.i___8869 = (s.start___8792); + s.output___29590 = (0); + s.hasDigit___29591 = (false); + s.i___29592 = (s.start___29515); case 30: - s.tmp_1 = r0 = s.i___8869; + s.tmp_1 = r0 = s.i___29592; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_String_.charCodeAt(s.arg0, s.i___8869); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___29592); s.tmp_3 = r0; r0 = (s.tmp_3 | 32); - s.code___8876 = (r0); - s.val___8883 = (undefined); - r0 = (s.code___8876 >= 48); + s.code___29599 = (r0); + s.val___29606 = (undefined); + r0 = (s.code___29599 >= 48); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 31; continue; } r0 = s.tmp_0; { step = 32; continue; } case 31: - r0 = (s.code___8876 < 58); + r0 = (s.code___29599 < 58); case 32: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 33; continue; } - r0 = (s.code___8876 - 48); - s.val___8883 = (r0); + r0 = (s.code___29599 - 48); + s.val___29606 = (r0); { step = 38; continue; } case 33: - r0 = (s.code___8876 >= 97); + r0 = (s.code___29599 >= 97); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 34; continue; } r0 = s.tmp_0; { step = 35; continue; } case 34: - r0 = (s.code___8876 < 123); + r0 = (s.code___29599 < 123); case 35: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 36; continue; } - r0 = (10 + s.code___8876); + r0 = (10 + s.code___29599); s.tmp_2 = r0; r0 = (s.tmp_2 - 97); - s.val___8883 = (r0); + s.val___29606 = (r0); case 36: case 37: case 38: - r0 = (s.val___8883 == undefined); + r0 = (s.val___29606 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 39; continue; } r0 = s.tmp_0; { step = 40; continue; } case 39: - r0 = (s.val___8883 >= s.arg1); + r0 = (s.val___29606 >= s.arg1); case 40: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_numops_toBoolDecr(s.hasDigit___8868); + r0 = pxsim_numops_toBoolDecr(s.hasDigit___29591); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -21375,26 +21375,26 @@ switch (step) { { step = 45; continue; } case 43: case 44: - s.hasDigit___8868 = (true); - r0 = (s.output___8867 * s.arg1); + s.hasDigit___29591 = (true); + r0 = (s.output___29590 * s.arg1); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.val___8883); - s.output___8867 = (r0); - r0 = (s.i___8869 + 1); - s.i___8869 = (r0); + r0 = (s.tmp_0 + s.val___29606); + s.output___29590 = (r0); + r0 = (s.i___29592 + 1); + s.i___29592 = (r0); { step = 30; continue; } case 45: - r0 = (s.sign___8822 * s.output___8867); + r0 = (s.sign___29545 * s.output___29590); case 46: return leave(s, r0) default: oops() } } } -parseInt__P97.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} +parseInt__P20820.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} -function parseInt__P97_mk(s) { +function parseInt__P20820_mk(s) { checkStack(s.depth); return { - parent: s, fn: parseInt__P97, depth: s.depth + 1, + parent: s, fn: parseInt__P20820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21410,13 +21410,13 @@ function parseInt__P97_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - start___8792: undefined, - sign___8822: undefined, - output___8867: undefined, - hasDigit___8868: undefined, - i___8869: undefined, - code___8876: undefined, - val___8883: undefined, + start___29515: undefined, + sign___29545: undefined, + output___29590: undefined, + hasDigit___29591: undefined, + i___29592: undefined, + code___29599: undefined, + val___29606: undefined, arg0: undefined, arg1: undefined, } } @@ -21425,7 +21425,7 @@ function parseInt__P97_mk(s) { -function helpers_isWhitespace__P124(s) { +function helpers_isWhitespace__P20847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21482,12 +21482,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_isWhitespace__P124.info = {"start":14864,"length":674,"line":503,"column":4,"endLine":520,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} +helpers_isWhitespace__P20847.info = {"start":14864,"length":674,"line":503,"column":4,"endLine":520,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} -function helpers_isWhitespace__P124_mk(s) { +function helpers_isWhitespace__P20847_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_isWhitespace__P124, depth: s.depth + 1, + parent: s, fn: helpers_isWhitespace__P20847, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21497,7 +21497,7 @@ function helpers_isWhitespace__P124_mk(s) { -function music_MelodyPlayer_constructor__P1623(s) { +function music_MelodyPlayer_constructor__P22346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21513,18 +21513,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1620_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C22343_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_constructor__P1623.info = {"start":11095,"length":62,"line":336,"column":8,"endLine":338,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} +music_MelodyPlayer_constructor__P22346.info = {"start":11095,"length":62,"line":336,"column":8,"endLine":338,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} -function music_MelodyPlayer_constructor__P1623_mk(s) { +function music_MelodyPlayer_constructor__P22346_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_constructor__P1623, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_constructor__P22346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21534,7 +21534,7 @@ function music_MelodyPlayer_constructor__P1623_mk(s) { -function music_Melody_stop__P1615(s) { +function music_Melody_stop__P22338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21549,12 +21549,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1610_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C22333_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_MelodyPlayer_stop__P1624_mk(s); + s.tmp_1 = music_MelodyPlayer_stop__P22347_mk(s); r0 = s.arg0.fields["_player"]; s.tmp_1.arg0 = r0; s.callLocIdx = 76; s.pc = 3; return s.tmp_1; @@ -21563,7 +21563,7 @@ switch (step) { r0 = (s.arg0).fields["_player"] = (null); case 1: case 2: - s.tmp_0 = music_Melody_unregisterMelody__P3980_mk(s); + s.tmp_0 = music_Melody_unregisterMelody__P24703_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 77; s.pc = 4; return s.tmp_0; case 4: @@ -21572,12 +21572,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_stop__P1615.info = {"start":6706,"length":173,"line":215,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} +music_Melody_stop__P22338.info = {"start":6706,"length":173,"line":215,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} -function music_Melody_stop__P1615_mk(s) { +function music_Melody_stop__P22338_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_stop__P1615, depth: s.depth + 1, + parent: s, fn: music_Melody_stop__P22338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21588,7 +21588,7 @@ function music_Melody_stop__P1615_mk(s) { -function music_MelodyPlayer_stop__P1624(s) { +function music_MelodyPlayer_stop__P22347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21603,18 +21603,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1620_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C22343_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (null); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_stop__P1624.info = {"start":11167,"length":49,"line":340,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} +music_MelodyPlayer_stop__P22347.info = {"start":11167,"length":49,"line":340,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} -function music_MelodyPlayer_stop__P1624_mk(s) { +function music_MelodyPlayer_stop__P22347_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_stop__P1624, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_stop__P22347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21623,7 +21623,7 @@ function music_MelodyPlayer_stop__P1624_mk(s) { -function scene_createRenderable__P2460(s) { +function scene_createRenderable__P23183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21633,14 +21633,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___12986 = undefined; + s.renderable___33709 = 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__C2455_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C23178_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -21648,11 +21648,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P12992; + r0 = renderable_inline__P33715; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P2456_mk(s); + s.tmp_3 = scene_Renderable_constructor__P23179_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -21660,23 +21660,23 @@ switch (step) { s.callLocIdx = 934; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___12986 = (s.tmp_0); - r0 = s.renderable___12986; + s.renderable___33709 = (s.tmp_0); + r0 = s.renderable___33709; return leave(s, r0) default: oops() } } } -scene_createRenderable__P2460.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__P23183.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__P2460_mk(s) { +function scene_createRenderable__P23183_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P2460, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P23183, 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___12986: undefined, + renderable___33709: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21686,7 +21686,7 @@ function scene_createRenderable__P2460_mk(s) { -function renderable_inline__P12992(s) { +function renderable_inline__P33715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21700,12 +21700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P12992.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P33715.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__P12992_mk(s) { +function renderable_inline__P33715_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P12992, depth: s.depth + 1, + parent: s, fn: renderable_inline__P33715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -21713,7 +21713,7 @@ function renderable_inline__P12992_mk(s) { -function scene_Renderable_constructor__P2456(s) { +function scene_Renderable_constructor__P23179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21731,10 +21731,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2455_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C23178_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P1888_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P22611_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 931; s.pc = 1; return s.tmp_0; @@ -21744,12 +21744,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P2456.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__P23179.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__P2456_mk(s) { +function scene_Renderable_constructor__P23179_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P2456, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P23179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21762,7 +21762,7 @@ function scene_Renderable_constructor__P2456_mk(s) { -function info_PlayerInfo_drawLives__P2336(s) { +function info_PlayerInfo_drawLives__P23059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21772,25 +21772,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___12337 = undefined; - s.font___12343 = undefined; - s.i___12386 = undefined; - s.num___12408 = undefined; - s.textWidth___12415 = undefined; - s.mult___12467 = undefined; + s.state___33060 = undefined; + s.font___33066 = undefined; + s.i___33109 = undefined; + s.num___33131 = undefined; + s.textWidth___33138 = undefined; + s.mult___33190 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 826; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.state___12337 = (r0); - r0 = s.state___12337.fields["life"]; + s.state___33060 = (r0); + r0 = s.state___33060.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -21799,20 +21799,20 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.font___12343 = (globals.font8___1770); - r0 = s.state___12337.fields["life"]; + s.font___33066 = (globals.font8___22493); + r0 = s.state___33060.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_imageFillRect__P1753_mk(s); - s.tmp_2.arg0 = globals.screen___1827; + s.tmp_2 = helpers_imageFillRect__P22476_mk(s); + s.tmp_2.arg0 = globals.screen___22550; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; - r0 = s.state___12337.fields["life"]; + r0 = s.state___33060.fields["life"]; s.tmp_4 = r0; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -21822,24 +21822,24 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_2.arg3 = r0; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); s.tmp_8 = r0; r0 = (s.tmp_8 + 4); s.tmp_2.arg4 = r0; - r0 = globals.infoState___4170.fields["borderColor"]; + r0 = globals.infoState___24893.fields["borderColor"]; s.tmp_2.arg5 = r0; s.callLocIdx = 827; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = s.state___12337.fields["life"]; + r0 = s.state___33060.fields["life"]; s.tmp_2 = r0; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; @@ -21849,30 +21849,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg3 = r0; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.height(s.tmp_7); s.tmp_6 = r0; r0 = (s.tmp_6 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4170.fields["bgColor"]; + r0 = globals.infoState___24893.fields["bgColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 828; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.i___12386 = (0); + s.i___33109 = (0); case 3: - r0 = s.state___12337.fields["life"]; + r0 = s.state___33060.fields["life"]; s.tmp_1 = r0; - r0 = (s.i___12386 < s.tmp_1); + r0 = (s.i___33109 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = r0 = globals.screen___1827; - r0 = globals.infoState___4170.fields["heartImage"]; + s.tmp_2 = r0 = globals.screen___22550; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_3 = r0; - s.tmp_6 = r0 = s.i___12386; - r0 = globals.infoState___4170.fields["heartImage"]; + s.tmp_6 = r0 = s.i___33109; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.width(s.tmp_9); s.tmp_8 = r0; @@ -21883,13 +21883,13 @@ switch (step) { r0 = (1 + s.tmp_5); s.tmp_4 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_2, s.tmp_3, s.tmp_4, 1); - r0 = (s.i___12386 + 1); - s.i___12386 = (r0); + r0 = (s.i___33109 + 1); + s.i___33109 = (r0); { step = 3; continue; } case 4: { step = 6; continue; } case 5: - r0 = s.state___12337.fields["life"]; + r0 = s.state___33060.fields["life"]; s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 11); @@ -21903,11 +21903,11 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_2); - s.num___12408 = (r0); - r0 = pxsim_String_.length(s.num___12408); + s.num___33131 = (r0); + r0 = pxsim_String_.length(s.num___33131); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___12343; + s.tmp_3.arg0 = s.font___33066; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -21922,85 +21922,85 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.textWidth___12415 = (r0); - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; + s.textWidth___33138 = (r0); + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___4170.fields["multiplierImage"]; + r0 = globals.infoState___24893.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___12415); + r0 = (s.tmp_2 + s.textWidth___33138); s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg3 = r0; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 4); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4170.fields["borderColor"]; + r0 = globals.infoState___24893.fields["borderColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 830; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___4170.fields["multiplierImage"]; + r0 = globals.infoState___24893.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___12415); + r0 = (s.tmp_2 + s.textWidth___33138); s.tmp_1 = r0; r0 = (s.tmp_1 + 4); s.tmp_0.arg3 = r0; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4170.fields["bgColor"]; + r0 = globals.infoState___24893.fields["bgColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 831; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1827, s.tmp_0, 1, 1); - r0 = globals.infoState___4170.fields["multiplierImage"]; + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___22550, s.tmp_0, 1, 1); + r0 = globals.infoState___24893.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___12467 = (r0); - r0 = globals.infoState___4170.fields["fontColor"]; + s.mult___33190 = (r0); + r0 = globals.infoState___24893.fields["fontColor"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___12467, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___1827; - s.tmp_1 = r0 = s.mult___12467; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___33190, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___22550; + s.tmp_1 = r0 = s.mult___33190; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_2 = r0; s.tmp_8 = if_charHeight_1_mk(s); - s.tmp_8.arg0 = s.font___12343; + s.tmp_8.arg0 = s.font___33066; if (!s.tmp_8.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_8.arg0, "charHeight"); } else { @@ -22012,7 +22012,7 @@ switch (step) { case 15: r0 = s.retval; s.tmp_7 = r0; - r0 = globals.infoState___4170.fields["multiplierImage"]; + r0 = globals.infoState___24893.fields["multiplierImage"]; s.tmp_10 = r0; r0 = pxsim_ImageMethods.height(s.tmp_10); s.tmp_9 = r0; @@ -22021,25 +22021,25 @@ switch (step) { r0 = (s.tmp_6 - 1); s.tmp_5 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_5); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_0.arg1 = s.num___12408; - r0 = globals.infoState___4170.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_0.arg1 = s.num___33131; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_2 + 3); s.tmp_1 = r0; - r0 = globals.infoState___4170.fields["multiplierImage"]; + r0 = globals.infoState___24893.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_1 + s.tmp_4); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; - r0 = globals.infoState___4170.fields["fontColor"]; + r0 = globals.infoState___24893.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___12343; + s.tmp_0.arg5 = s.font___33066; s.tmp_0.arg6 = undefined; s.callLocIdx = 833; s.pc = 16; return s.tmp_0; case 16: @@ -22050,12 +22050,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawLives__P2336.info = {"start":26342,"length":2458,"line":855,"column":8,"endLine":921,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} +info_PlayerInfo_drawLives__P23059.info = {"start":26342,"length":2458,"line":855,"column":8,"endLine":921,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} -function info_PlayerInfo_drawLives__P2336_mk(s) { +function info_PlayerInfo_drawLives__P23059_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawLives__P2336, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawLives__P23059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22068,12 +22068,12 @@ function info_PlayerInfo_drawLives__P2336_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - state___12337: undefined, - font___12343: undefined, - i___12386: undefined, - num___12408: undefined, - textWidth___12415: undefined, - mult___12467: undefined, + state___33060: undefined, + font___33066: undefined, + i___33109: undefined, + num___33131: undefined, + textWidth___33138: undefined, + mult___33190: undefined, arg0: undefined, } } @@ -22081,7 +22081,7 @@ function info_PlayerInfo_drawLives__P2336_mk(s) { -function info_PlayerInfo_drawScore__P2335(s) { +function info_PlayerInfo_drawScore__P23058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22091,42 +22091,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___12523 = undefined; - s.font___12527 = undefined; - s.offsetY___12528 = undefined; - s.num___12537 = undefined; - s.width___12541 = undefined; + s.s___33246 = undefined; + s.font___33250 = undefined; + s.offsetY___33251 = undefined; + s.num___33260 = undefined; + s.width___33264 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_1 = info_PlayerInfo_score__P2324_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_1 = info_PlayerInfo_score__P23047_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 819; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.s___12523 = (r0); - r0 = (s.s___12523 >= 1000000); + s.s___33246 = (r0); + r0 = (s.s___33246 >= 1000000); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offsetY___12528 = (2); - s.font___12527 = (globals.font5___1775); + s.offsetY___33251 = (2); + s.font___33250 = (globals.font5___22498); { step = 2; continue; } case 1: - s.offsetY___12528 = (1); - s.font___12527 = (globals.font8___1770); + s.offsetY___33251 = (1); + s.font___33250 = (globals.font8___22493); case 2: - r0 = pxsim_numops.toString(s.s___12523); - s.num___12537 = (r0); - r0 = pxsim_String_.length(s.num___12537); + r0 = pxsim_numops.toString(s.s___33246); + s.num___33260 = (r0); + r0 = pxsim_String_.length(s.num___33260); s.tmp_0 = r0; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___12527; + s.tmp_2.arg0 = s.font___33250; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -22139,20 +22139,20 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.width___12541 = (r0); - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + s.width___33264 = (r0); + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___12541); + r0 = (s.tmp_2 - s.width___33264); s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___1770; + s.tmp_4.arg0 = globals.font8___22493; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { @@ -22166,24 +22166,24 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4170.fields["borderColor"]; + r0 = globals.infoState___24893.fields["borderColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 822; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___12541); + r0 = (s.tmp_2 - s.width___33264); s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___1770; + s.tmp_4.arg0 = globals.font8___22493; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { @@ -22197,22 +22197,22 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4170.fields["bgColor"]; + r0 = globals.infoState___24893.fields["bgColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 824; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_0.arg1 = s.num___12537; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_0.arg1 = s.num___33260; + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___12541); + r0 = (s.tmp_1 - s.width___33264); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.offsetY___12528; - r0 = globals.infoState___4170.fields["fontColor"]; + s.tmp_0.arg3 = s.offsetY___33251; + r0 = globals.infoState___24893.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___12527; + s.tmp_0.arg5 = s.font___33250; s.tmp_0.arg6 = undefined; s.callLocIdx = 825; s.pc = 9; return s.tmp_0; case 9: @@ -22221,23 +22221,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawScore__P2335.info = {"start":25284,"length":1048,"line":815,"column":8,"endLine":853,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} +info_PlayerInfo_drawScore__P23058.info = {"start":25284,"length":1048,"line":815,"column":8,"endLine":853,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} -function info_PlayerInfo_drawScore__P2335_mk(s) { +function info_PlayerInfo_drawScore__P23058_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawScore__P2335, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawScore__P23058, 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___12523: undefined, - font___12527: undefined, - offsetY___12528: undefined, - num___12537: undefined, - width___12541: undefined, + s___33246: undefined, + font___33250: undefined, + offsetY___33251: undefined, + num___33260: undefined, + width___33264: undefined, arg0: undefined, } } @@ -22245,7 +22245,7 @@ function info_PlayerInfo_drawScore__P2335_mk(s) { -function info_PlayerInfo_drawPlayer__P2334(s) { +function info_PlayerInfo_drawPlayer__P23057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22255,44 +22255,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___12621 = undefined; - s.font___12624 = undefined; - s.score___12626 = undefined; - s.life___12627 = undefined; - s.height___12628 = undefined; - s.scoreWidth___12629 = undefined; - s.lifeWidth___12630 = undefined; - s.offsetY___12633 = undefined; - s.showScore___12634 = undefined; - s.showLife___12642 = undefined; - s.width___12710 = undefined; - s.x___12720 = undefined; - s.y___12727 = undefined; - s.bump___12760 = undefined; - s.xLoc___12785 = undefined; - s.mult___12796 = undefined; - s.pNum___12858 = undefined; - s.iconWidth___12865 = undefined; - s.iconHeight___12873 = undefined; - s.iconX___12881 = undefined; - s.iconY___12893 = undefined; + s.state___33344 = undefined; + s.font___33347 = undefined; + s.score___33349 = undefined; + s.life___33350 = undefined; + s.height___33351 = undefined; + s.scoreWidth___33352 = undefined; + s.lifeWidth___33353 = undefined; + s.offsetY___33356 = undefined; + s.showScore___33357 = undefined; + s.showLife___33365 = undefined; + s.width___33433 = undefined; + s.x___33443 = undefined; + s.y___33450 = undefined; + s.bump___33483 = undefined; + s.xLoc___33508 = undefined; + s.mult___33519 = undefined; + s.pNum___33581 = undefined; + s.iconWidth___33588 = undefined; + s.iconHeight___33596 = undefined; + s.iconX___33604 = undefined; + s.iconY___33616 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 802; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.state___12621 = (r0); - s.font___12624 = (globals.font5___1775); - s.height___12628 = (4); - s.scoreWidth___12629 = (0); - s.lifeWidth___12630 = (0); - s.offsetY___12633 = (2); + s.state___33344 = (r0); + s.font___33347 = (globals.font5___22498); + s.height___33351 = (4); + s.scoreWidth___33352 = (0); + s.lifeWidth___33353 = (0); + s.offsetY___33356 = (2); r0 = s.arg0.fields["showScore"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -22300,13 +22300,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___12621.fields["score"]; + r0 = s.state___33344.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.showScore___12634 = (s.tmp_2); + s.showScore___33357 = (s.tmp_2); r0 = s.arg0.fields["showLife"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -22314,18 +22314,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.state___12621.fields["life"]; + r0 = s.state___33344.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.showLife___12642 = (s.tmp_2); - r0 = pxsim_numops_toBoolDecr(s.showScore___12634); + s.showLife___33365 = (s.tmp_2); + r0 = pxsim_numops_toBoolDecr(s.showScore___33357); if (!r0) { step = 5; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_0 = r0; - r0 = s.state___12621.fields["score"]; + r0 = s.state___33344.fields["score"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 44); @@ -22337,11 +22337,11 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.score___12626 = (r0); - r0 = pxsim_String_.length(s.score___12626); + s.score___33349 = (r0); + r0 = pxsim_String_.length(s.score___33349); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___12624; + s.tmp_3.arg0 = s.font___33347; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -22356,10 +22356,10 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.scoreWidth___12629 = (r0); - s.tmp_0 = r0 = s.height___12628; + s.scoreWidth___33352 = (r0); + s.tmp_0 = r0 = s.height___33351; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___12624; + s.tmp_2.arg0 = s.font___33347; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -22372,10 +22372,10 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___12628 = (r0); - s.tmp_0 = r0 = s.offsetY___12633; + s.height___33351 = (r0); + s.tmp_0 = r0 = s.offsetY___33356; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.font___12624; + s.tmp_3.arg0 = s.font___33347; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { @@ -22390,12 +22390,12 @@ switch (step) { r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.offsetY___12633 = (r0); + s.offsetY___33356 = (r0); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(s.showLife___12642); + r0 = pxsim_numops_toBoolDecr(s.showLife___33365); if (!r0) { step = 9; continue; } - r0 = s.state___12621.fields["life"]; + r0 = s.state___33344.fields["life"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 7; continue; } @@ -22418,21 +22418,21 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.life___12627 = (r0); - r0 = globals.infoState___4170.fields["heartImage"]; + s.life___33350 = (r0); + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; - r0 = globals.infoState___4170.fields["multiplierImage"]; + r0 = globals.infoState___24893.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - r0 = pxsim_String_.length(s.life___12627); + r0 = pxsim_String_.length(s.life___33350); s.tmp_7 = r0; s.tmp_9 = if_charWidth_1_mk(s); - s.tmp_9.arg0 = s.font___12624; + s.tmp_9.arg0 = s.font___33347; if (!s.tmp_9.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "charWidth"); } else { @@ -22449,44 +22449,44 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_6); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.lifeWidth___12630 = (r0); - s.tmp_0 = r0 = s.height___12628; - r0 = globals.infoState___4170.fields["heartImage"]; + s.lifeWidth___33353 = (r0); + s.tmp_0 = r0 = s.height___33351; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___12628 = (r0); + s.height___33351 = (r0); case 9: case 10: - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_0.arg0 = s.scoreWidth___12629; - s.tmp_0.arg1 = s.lifeWidth___12630; + s.tmp_0 = Math_max__P20853_mk(s); + s.tmp_0.arg0 = s.scoreWidth___33352; + s.tmp_0.arg1 = s.lifeWidth___33353; s.callLocIdx = 807; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.width___12710 = (r0); - s.tmp_0 = r0 = s.showScore___12634; + s.width___33433 = (r0); + s.tmp_0 = r0 = s.showScore___33357; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = s.showLife___12642; + r0 = s.showLife___33365; case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - r0 = (s.height___12628 + 1); - s.height___12628 = (r0); + r0 = (s.height___33351 + 1); + s.height___33351 = (r0); case 13: case 14: r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = s.width___12710; + r0 = s.width___33433; { step = 16; continue; } case 15: r0 = 0; @@ -22496,12 +22496,12 @@ switch (step) { r0 = s.arg0.fields["x"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.x___12720 = (r0); + s.x___33443 = (r0); r0 = s.arg0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = s.height___12628; + r0 = s.height___33351; { step = 18; continue; } case 17: r0 = 0; @@ -22511,39 +22511,39 @@ switch (step) { r0 = s.arg0.fields["y"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.y___12727 = (r0); - s.tmp_0 = r0 = s.showScore___12634; + s.y___33450 = (r0); + s.tmp_0 = r0 = s.showScore___33357; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 19; continue; } r0 = s.tmp_0; { step = 20; continue; } case 19: - r0 = s.showLife___12642; + r0 = s.showLife___33365; case 20: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 21; continue; } - s.tmp_2 = helpers_imageFillRect__P1753_mk(s); - s.tmp_2.arg0 = globals.screen___1827; - s.tmp_2.arg1 = s.x___12720; - s.tmp_2.arg2 = s.y___12727; - s.tmp_2.arg3 = s.width___12710; - s.tmp_2.arg4 = s.height___12628; + s.tmp_2 = helpers_imageFillRect__P22476_mk(s); + s.tmp_2.arg0 = globals.screen___22550; + s.tmp_2.arg1 = s.x___33443; + s.tmp_2.arg2 = s.y___33450; + s.tmp_2.arg3 = s.width___33433; + s.tmp_2.arg4 = s.height___33351; r0 = s.arg0.fields["border"]; s.tmp_2.arg5 = r0; s.callLocIdx = 808; s.pc = 51; return s.tmp_2; case 51: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - r0 = (s.x___12720 + 1); + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + r0 = (s.x___33443 + 1); s.tmp_0.arg1 = r0; - r0 = (s.y___12727 + 1); + r0 = (s.y___33450 + 1); s.tmp_0.arg2 = r0; - r0 = (s.width___12710 - 2); + r0 = (s.width___33433 - 2); s.tmp_0.arg3 = r0; - r0 = (s.height___12628 - 2); + r0 = (s.height___33351 - 2); s.tmp_0.arg4 = r0; r0 = s.arg0.fields["bg"]; s.tmp_0.arg5 = r0; @@ -22552,84 +22552,84 @@ switch (step) { r0 = s.retval; case 21: case 22: - r0 = pxsim_numops_toBoolDecr(s.showScore___12634); + r0 = pxsim_numops_toBoolDecr(s.showScore___33357); if (!r0) { step = 25; continue; } r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - r0 = (s.width___12710 - s.scoreWidth___12629); + r0 = (s.width___33433 - s.scoreWidth___33352); { step = 24; continue; } case 23: r0 = 0; case 24: // jmp value (already in r0) s.tmp_1 = r0; - s.bump___12760 = (s.tmp_1); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_0.arg1 = s.score___12626; - r0 = (s.x___12720 + 1); + s.bump___33483 = (s.tmp_1); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_0.arg1 = s.score___33349; + r0 = (s.x___33443 + 1); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.bump___12760); + r0 = (s.tmp_2 + s.bump___33483); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___12727 + 2); + r0 = (s.y___33450 + 2); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___12624; + s.tmp_0.arg5 = s.font___33347; s.tmp_0.arg6 = undefined; s.callLocIdx = 810; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; case 25: case 26: - r0 = pxsim_numops_toBoolDecr(s.showLife___12642); + r0 = pxsim_numops_toBoolDecr(s.showLife___33365); if (!r0) { step = 29; continue; } r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - r0 = (s.width___12710 - s.lifeWidth___12630); + r0 = (s.width___33433 - s.lifeWidth___33353); { step = 28; continue; } case 27: r0 = 0; case 28: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___12720 + 1); + r0 = (s.x___33443 + 1); s.tmp_2 = r0; r0 = (s.tmp_2 + s.tmp_1); - s.xLoc___12785 = (r0); - r0 = globals.infoState___4170.fields["multiplierImage"]; + s.xLoc___33508 = (r0); + r0 = globals.infoState___24893.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___12796 = (r0); + s.mult___33519 = (r0); r0 = s.arg0.fields["fc"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___12796, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___1827; - r0 = globals.infoState___4170.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___33519, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___22550; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_1 = r0; - s.tmp_2 = r0 = s.xLoc___12785; - r0 = (s.y___12727 + s.offsetY___12633); + s.tmp_2 = r0 = s.xLoc___33508; + r0 = (s.y___33450 + s.offsetY___33356); s.tmp_3 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_3); - s.tmp_0 = r0 = globals.screen___1827; - s.tmp_1 = r0 = s.mult___12796; - s.tmp_3 = r0 = s.xLoc___12785; - r0 = globals.infoState___4170.fields["heartImage"]; + s.tmp_0 = r0 = globals.screen___22550; + s.tmp_1 = r0 = s.mult___33519; + s.tmp_3 = r0 = s.xLoc___33508; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = (s.y___12727 + s.offsetY___12633); + r0 = (s.y___33450 + s.offsetY___33356); s.tmp_9 = r0; s.tmp_11 = if_charHeight_1_mk(s); - s.tmp_11.arg0 = s.font___12624; + s.tmp_11.arg0 = s.font___33347; if (!s.tmp_11.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_11.arg0, "charHeight"); } else { @@ -22643,7 +22643,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_9 + s.tmp_10); s.tmp_8 = r0; - r0 = globals.infoState___4170.fields["multiplierImage"]; + r0 = globals.infoState___24893.fields["multiplierImage"]; s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(s.tmp_13); s.tmp_12 = r0; @@ -22652,17 +22652,17 @@ switch (step) { r0 = (s.tmp_7 - 1); s.tmp_6 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_6); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_0.arg1 = s.life___12627; - s.tmp_3 = r0 = s.xLoc___12785; - r0 = globals.infoState___4170.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_0.arg1 = s.life___33350; + s.tmp_3 = r0 = s.xLoc___33508; + r0 = globals.infoState___24893.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = globals.infoState___4170.fields["multiplierImage"]; + r0 = globals.infoState___24893.fields["multiplierImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -22670,11 +22670,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___12727 + s.offsetY___12633); + r0 = (s.y___33450 + s.offsetY___33356); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___12624; + s.tmp_0.arg5 = s.font___33347; s.tmp_0.arg6 = undefined; s.callLocIdx = 812; s.pc = 55; return s.tmp_0; case 55: @@ -22699,11 +22699,11 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - s.pNum___12858 = (r0); - r0 = pxsim_String_.length(s.pNum___12858); + s.pNum___33581 = (r0); + r0 = pxsim_String_.length(s.pNum___33581); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___12624; + s.tmp_3.arg0 = s.font___33347; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -22718,11 +22718,11 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.iconWidth___12865 = (r0); - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_0.arg0 = s.height___12628; + s.iconWidth___33588 = (r0); + s.tmp_0 = Math_max__P20853_mk(s); + s.tmp_0.arg0 = s.height___33351; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___12624; + s.tmp_2.arg0 = s.font___33347; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -22739,25 +22739,25 @@ switch (step) { s.callLocIdx = 815; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.iconHeight___12873 = (r0); + s.iconHeight___33596 = (r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = (s.x___12720 - s.iconWidth___12865); + r0 = (s.x___33443 - s.iconWidth___33588); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); { step = 32; continue; } case 31: - r0 = (s.x___12720 + s.width___12710); + r0 = (s.x___33443 + s.width___33433); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); case 32: // jmp value (already in r0) s.tmp_3 = r0; - s.iconX___12881 = (s.tmp_3); - s.iconY___12893 = (s.y___12727); - r0 = pxsim_numops_toBoolDecr(s.showScore___12634); + s.iconX___33604 = (s.tmp_3); + s.iconY___33616 = (s.y___33450); + r0 = pxsim_numops_toBoolDecr(s.showScore___33357); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -22766,7 +22766,7 @@ switch (step) { r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = pxsim_numops_toBoolDecr(s.showLife___12642); + r0 = pxsim_numops_toBoolDecr(s.showLife___33365); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 34: @@ -22785,41 +22785,41 @@ switch (step) { case 36: // jmp value (already in r0) s.tmp_5 = r0; - r0 = (s.iconX___12881 + s.tmp_5); - s.iconX___12881 = (r0); + r0 = (s.iconX___33604 + s.tmp_5); + s.iconX___33604 = (r0); r0 = s.arg0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = (s.iconY___12893 - 3); - s.iconY___12893 = (r0); + r0 = (s.iconY___33616 - 3); + s.iconY___33616 = (r0); case 37: case 38: case 39: case 40: - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_0.arg1 = s.iconX___12881; - s.tmp_0.arg2 = s.iconY___12893; - s.tmp_0.arg3 = s.iconWidth___12865; - s.tmp_0.arg4 = s.iconHeight___12873; + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_0.arg1 = s.iconX___33604; + s.tmp_0.arg2 = s.iconY___33616; + s.tmp_0.arg3 = s.iconWidth___33588; + s.tmp_0.arg4 = s.iconHeight___33596; r0 = s.arg0.fields["border"]; s.tmp_0.arg5 = r0; s.callLocIdx = 816; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_0.arg1 = s.pNum___12858; - r0 = (s.iconX___12881 + 1); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_0.arg1 = s.pNum___33581; + r0 = (s.iconX___33604 + 1); s.tmp_0.arg2 = r0; - s.tmp_2 = r0 = s.iconY___12893; - r0 = (s.iconHeight___12873 >> 1); + s.tmp_2 = r0 = s.iconY___33616; + r0 = (s.iconHeight___33596 >> 1); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; s.tmp_6 = if_charHeight_1_mk(s); - s.tmp_6.arg0 = s.font___12624; + s.tmp_6.arg0 = s.font___33347; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "charHeight"); } else { @@ -22837,7 +22837,7 @@ switch (step) { s.tmp_0.arg3 = r0; r0 = s.arg0.fields["bg"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___12624; + s.tmp_0.arg5 = s.font___33347; s.tmp_0.arg6 = undefined; s.callLocIdx = 818; s.pc = 61; return s.tmp_0; case 61: @@ -22848,12 +22848,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawPlayer__P2334.info = {"start":21639,"length":3635,"line":710,"column":8,"endLine":813,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} +info_PlayerInfo_drawPlayer__P23057.info = {"start":21639,"length":3635,"line":710,"column":8,"endLine":813,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} -function info_PlayerInfo_drawPlayer__P2334_mk(s) { +function info_PlayerInfo_drawPlayer__P23057_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawPlayer__P2334, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawPlayer__P23057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22869,27 +22869,27 @@ function info_PlayerInfo_drawPlayer__P2334_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - state___12621: undefined, - font___12624: undefined, - score___12626: undefined, - life___12627: undefined, - height___12628: undefined, - scoreWidth___12629: undefined, - lifeWidth___12630: undefined, - offsetY___12633: undefined, - showScore___12634: undefined, - showLife___12642: undefined, - width___12710: undefined, - x___12720: undefined, - y___12727: undefined, - bump___12760: undefined, - xLoc___12785: undefined, - mult___12796: undefined, - pNum___12858: undefined, - iconWidth___12865: undefined, - iconHeight___12873: undefined, - iconX___12881: undefined, - iconY___12893: undefined, + state___33344: undefined, + font___33347: undefined, + score___33349: undefined, + life___33350: undefined, + height___33351: undefined, + scoreWidth___33352: undefined, + lifeWidth___33353: undefined, + offsetY___33356: undefined, + showScore___33357: undefined, + showLife___33365: undefined, + width___33433: undefined, + x___33443: undefined, + y___33450: undefined, + bump___33483: undefined, + xLoc___33508: undefined, + mult___33519: undefined, + pNum___33581: undefined, + iconWidth___33588: undefined, + iconHeight___33596: undefined, + iconX___33604: undefined, + iconY___33616: undefined, arg0: undefined, } } @@ -22897,7 +22897,7 @@ function info_PlayerInfo_drawPlayer__P2334_mk(s) { -function info_PlayerInfo_raiseLifeZero__P2333(s) { +function info_PlayerInfo_raiseLifeZero__P23056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22907,21 +22907,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___12599 = undefined; + s.state___33322 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 799; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.state___12599 = (r0); - r0 = s.state___12599.fields["life"]; + s.state___33322 = (r0); + r0 = s.state___33322.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== null); s.tmp_0 = r0; @@ -22930,7 +22930,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___12599.fields["life"]; + r0 = s.state___33322.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 <= 0); case 2: @@ -22938,13 +22938,13 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - r0 = (s.state___12599).fields["life"] = (null); - r0 = s.state___12599.fields["lifeZeroHandler"]; + r0 = (s.state___33322).fields["life"] = (null); + r0 = s.state___33322.fields["lifeZeroHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = if_lifeZeroHandler_1_mk(s); - s.tmp_1.arg0 = s.state___12599; + s.tmp_1.arg0 = s.state___33322; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "lifeZeroHandler"), 1); s.callLocIdx = 800; s.pc = 10; return s.tmp_1; @@ -22960,7 +22960,7 @@ switch (step) { case 3: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 4; continue; } - s.tmp_0 = game_over__P2619_mk(s); + s.tmp_0 = game_over__P23342_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = undefined; s.callLocIdx = 801; s.pc = 11; return s.tmp_0; @@ -22975,18 +22975,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_raiseLifeZero__P2333.info = {"start":21255,"length":374,"line":698,"column":8,"endLine":708,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} +info_PlayerInfo_raiseLifeZero__P23056.info = {"start":21255,"length":374,"line":698,"column":8,"endLine":708,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} -function info_PlayerInfo_raiseLifeZero__P2333_mk(s) { +function info_PlayerInfo_raiseLifeZero__P23056_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_raiseLifeZero__P2333, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_raiseLifeZero__P23056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - state___12599: undefined, + state___33322: undefined, arg0: undefined, arg1: undefined, } } @@ -22995,7 +22995,7 @@ function info_PlayerInfo_raiseLifeZero__P2333_mk(s) { -function info_PlayerInfo_hasLife__P2331(s) { +function info_PlayerInfo_hasLife__P23054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23005,20 +23005,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___12510 = undefined; + s.state___33233 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 798; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.state___12510 = (r0); - r0 = s.state___12510.fields["life"]; + s.state___33233 = (r0); + r0 = s.state___33233.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -23027,7 +23027,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___12510.fields["life"]; + r0 = s.state___33233.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 !== null); case 2: @@ -23037,18 +23037,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_hasLife__P2331.info = {"start":20732,"length":141,"line":681,"column":8,"endLine":684,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} +info_PlayerInfo_hasLife__P23054.info = {"start":20732,"length":141,"line":681,"column":8,"endLine":684,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} -function info_PlayerInfo_hasLife__P2331_mk(s) { +function info_PlayerInfo_hasLife__P23054_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_hasLife__P2331, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_hasLife__P23054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - state___12510: undefined, + state___33233: undefined, arg0: undefined, } } @@ -23056,7 +23056,7 @@ function info_PlayerInfo_hasLife__P2331_mk(s) { -function info_PlayerInfo_hasScore__P2327(s) { +function info_PlayerInfo_hasScore__P23050(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23066,34 +23066,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___12590 = undefined; + s.state___33313 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 791; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___12590 = (r0); - r0 = s.state___12590.fields["score"]; + s.state___33313 = (r0); + r0 = s.state___33313.fields["score"]; s.tmp_0 = r0; r0 = (s.tmp_0 !== undefined); return leave(s, r0) default: oops() } } } -info_PlayerInfo_hasScore__P2327.info = {"start":18908,"length":111,"line":622,"column":8,"endLine":625,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} +info_PlayerInfo_hasScore__P23050.info = {"start":18908,"length":111,"line":622,"column":8,"endLine":625,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} -function info_PlayerInfo_hasScore__P2327_mk(s) { +function info_PlayerInfo_hasScore__P23050_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_hasScore__P2327, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_hasScore__P23050, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - state___12590: undefined, + state___33313: undefined, arg0: undefined, } } @@ -23101,7 +23101,7 @@ function info_PlayerInfo_hasScore__P2327_mk(s) { -function helpers_arrayFilter__P110(s) { +function helpers_arrayFilter__P20833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23111,31 +23111,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___12959 = undefined; - s.len___12961 = undefined; - s.i___12964 = undefined; - s.v___12969 = undefined; + s.res___33682 = undefined; + s.len___33684 = undefined; + s.i___33687 = undefined; + s.v___33692 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___12959 = (r0); + s.res___33682 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___12961 = (r0); - s.i___12964 = (0); + s.len___33684 = (r0); + s.i___33687 = (0); case 1: - r0 = (s.i___12964 < s.len___12961); + r0 = (s.i___33687 < s.len___33684); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___12964); - s.v___12969 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___33687); + s.v___33692 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___12969; - s.tmp_1.arg1 = s.i___12964; + s.tmp_1.arg0 = s.v___33692; + s.tmp_1.arg1 = s.i___33687; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 5; return s.tmp_1; case 5: @@ -23143,30 +23143,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___12959, s.v___12969); + r0 = pxsim_Array__push(s.res___33682, s.v___33692); case 2: case 3: - r0 = (s.i___12964 + 1); - s.i___12964 = (r0); + r0 = (s.i___33687 + 1); + s.i___33687 = (r0); { step = 1; continue; } case 4: - r0 = s.res___12959; + r0 = s.res___33682; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P110.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} +helpers_arrayFilter__P20833.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} -function helpers_arrayFilter__P110_mk(s) { +function helpers_arrayFilter__P20833_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P110, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P20833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___12959: undefined, - len___12961: undefined, - i___12964: undefined, - v___12969: undefined, + res___33682: undefined, + len___33684: undefined, + i___33687: undefined, + v___33692: undefined, arg0: undefined, arg1: undefined, } } @@ -23175,7 +23175,7 @@ function helpers_arrayFilter__P110_mk(s) { -function helpers_arrayForEach__P109(s) { +function helpers_arrayForEach__P20832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23185,49 +23185,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___12942 = undefined; - s.i___12945 = undefined; + s.len___33665 = undefined; + s.i___33668 = 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___12942 = (r0); - s.i___12945 = (0); + s.len___33665 = (r0); + s.i___33668 = (0); case 1: - r0 = (s.i___12945 < s.len___12942); + r0 = (s.i___33668 < s.len___33665); 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___12945); + r0 = pxsim_Array__getAt(s.arg0, s.i___33668); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___12945; + s.tmp_1.arg1 = s.i___33668; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___12945 + 1); - s.i___12945 = (r0); + r0 = (s.i___33668 + 1); + s.i___33668 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P109.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} +helpers_arrayForEach__P20832.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} -function helpers_arrayForEach__P109_mk(s) { +function helpers_arrayForEach__P20832_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P109, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P20832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___12942: undefined, - i___12945: undefined, + len___33665: undefined, + i___33668: undefined, arg0: undefined, arg1: undefined, } } @@ -23236,7 +23236,7 @@ function helpers_arrayForEach__P109_mk(s) { -function info_PlayerState_constructor__P2284(s) { +function info_PlayerState_constructor__P23007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23251,17 +23251,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerState__C2280_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerState__C23003_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -info_PlayerState_constructor__P2284.info = {"start":684,"length":17,"line":29,"column":8,"endLine":29,"endColumn":25,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_PlayerState_constructor__P23007.info = {"start":684,"length":17,"line":29,"column":8,"endLine":29,"endColumn":25,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_PlayerState_constructor__P2284_mk(s) { +function info_PlayerState_constructor__P23007_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerState_constructor__P2284, depth: s.depth + 1, + parent: s, fn: info_PlayerState_constructor__P23007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23270,7 +23270,7 @@ function info_PlayerState_constructor__P2284_mk(s) { -function game_onUpdate__P2628(s) { +function game_onUpdate__P23351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23293,8 +23293,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P401_mk(s); - s.tmp_3 = game_eventContext__P2612_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P21124_mk(s); + s.tmp_3 = game_eventContext__P23335_mk(s); s.callLocIdx = 1108; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; @@ -23309,12 +23309,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P2628.info = {"start":405,"length":153,"line":15,"column":4,"endLine":18,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P23351.info = {"start":405,"length":153,"line":15,"column":4,"endLine":18,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} -function game_onUpdate__P2628_mk(s) { +function game_onUpdate__P23351_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P2628, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P23351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23327,7 +23327,7 @@ function game_onUpdate__P2628_mk(s) { -function initLevel__P3846(s) { +function initLevel__P41909(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23341,28 +23341,29 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_setScore__P2289_mk(s); + s.tmp_0 = info_setScore__P23012_mk(s); s.tmp_0.arg0 = 0; s.callLocIdx = 61; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_setBackgroundColor__P2534_mk(s); - s.tmp_0.arg0 = s.arg0; + s.tmp_0 = scene_setBackgroundColor__P23257_mk(s); + r0 = (s.arg0 + 1); + s.tmp_0.arg0 = r0; s.callLocIdx = 62; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_setDialogTextColor__P2601_mk(s); + s.tmp_0 = game_setDialogTextColor__P23324_mk(s); s.tmp_0.arg0 = 15; s.callLocIdx = 63; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = game_setDialogFrame__P2599_mk(s); - r0 = pxsim.image.ofBuffer(_hex6346); + s.tmp_0 = game_setDialogFrame__P23322_mk(s); + r0 = pxsim.image.ofBuffer(_hex41919); s.tmp_0.arg0 = r0; s.callLocIdx = 64; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_showLongText__P2598_mk(s); + s.tmp_0 = game_showLongText__P23321_mk(s); r0 = pxsim_String_.mkEmpty(); s.tmp_5 = r0; if ((s.arg0) && (s.arg0).vtable) { @@ -23406,12 +23407,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -initLevel__P3846.info = {"start":274,"length":830,"line":7,"column":0,"endLine":29,"endColumn":1,"fileName":"main.ts","functionName":"initLevel","argumentNames":["lvl"]} +initLevel__P41909.info = {"start":274,"length":834,"line":7,"column":0,"endLine":29,"endColumn":1,"fileName":"main.ts","functionName":"initLevel","argumentNames":["lvl"]} -function initLevel__P3846_mk(s) { +function initLevel__P41909_mk(s) { checkStack(s.depth); return { - parent: s, fn: initLevel__P3846, depth: s.depth + 1, + parent: s, fn: initLevel__P41909, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23423,12 +23424,12 @@ function initLevel__P3846_mk(s) { arg0: undefined, } } -const _hex6346 = pxsim.BufferMethods.createBufferFromHex("87040f000f000000cccccccccccccc0cacaaaaaaaaaaaa0cacccccccccccac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacccccccccccac0cacaaaaaaaaaaaa0ccccccccccccccc0c") +const _hex41919 = pxsim.BufferMethods.createBufferFromHex("87040f000f000000cccccccccccccc0cacaaaaaaaaaaaa0cacccccccccccac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacacaaaaaaaaac0cacccccccccccac0cacaaaaaaaaaaaa0ccccccccccccccc0c") -function convertToText__P346(s) { +function convertToText__P21069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23457,12 +23458,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -convertToText__P346.info = {"start":5426,"length":69,"line":187,"column":0,"endLine":189,"endColumn":1,"fileName":"pxt_modules/base/control.ts","functionName":"convertToText","argumentNames":["value"]} +convertToText__P21069.info = {"start":5426,"length":69,"line":187,"column":0,"endLine":189,"endColumn":1,"fileName":"pxt_modules/base/control.ts","functionName":"convertToText","argumentNames":["value"]} -function convertToText__P346_mk(s) { +function convertToText__P21069_mk(s) { checkStack(s.depth); return { - parent: s, fn: convertToText__P346, depth: s.depth + 1, + parent: s, fn: convertToText__P21069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23473,7 +23474,7 @@ function convertToText__P346_mk(s) { -function game_showLongText__P2598(s) { +function game_showLongText__P23321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23483,37 +23484,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.width___13729 = undefined; - s.height___13730 = undefined; - s.top___13731 = undefined; - s.left___13732 = undefined; - s.dialog___13843 = undefined; - s.s___13851 = undefined; - s.pressed___13867 = undefined; - s.done___13868 = undefined; - s.upPressed___13869 = undefined; + s.width___34452 = undefined; + s.height___34453 = undefined; + s.top___34454 = undefined; + s.left___34455 = undefined; + s.dialog___34566 = undefined; + s.s___34574 = undefined; + s.pressed___34590 = undefined; + s.done___34591 = undefined; + s.upPressed___34592 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = console_inspect__P380_mk(s); + s.tmp_0 = console_inspect__P21103_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 20; s.callLocIdx = 1034; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.arg0 = (r0); - s.tmp_0 = controller__setUserEventsEnabled__P1986_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P22709_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 1035; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = game_pushScene__P2613_mk(s); + s.tmp_0 = game_pushScene__P23336_mk(s); s.callLocIdx = 1036; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_1 = game_currentScene__P2609_mk(s); + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 1037; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -23539,178 +23540,178 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 1: - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; r0 = (s.tmp_1 - 4); - s.width___13729 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___1827); + s.width___34452 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 3); s.tmp_0 = r0; r0 = (s.tmp_0 + 5); - s.height___13730 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___1827); + s.height___34453 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.height___13730); - s.top___13731 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = (s.tmp_0 - s.height___34453); + s.top___34454 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___13729); + r0 = (s.tmp_1 - s.width___34452); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.left___13732 = (r0); + s.left___34455 = (r0); { step = 7; continue; } case 2: - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_0 = r0; r0 = (s.tmp_0 - 4); - s.width___13729 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___1827); + s.width___34452 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 3); s.tmp_0 = r0; r0 = (s.tmp_0 + 5); - s.height___13730 = (r0); - s.top___13731 = (0); - r0 = pxsim_ImageMethods.width(globals.screen___1827); + s.height___34453 = (r0); + s.top___34454 = (0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___13729); + r0 = (s.tmp_1 - s.width___34452); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.left___13732 = (r0); + s.left___34455 = (r0); { step = 7; continue; } case 3: - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 3); s.tmp_0 = r0; r0 = (s.tmp_0 + 5); - s.width___13729 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___1827); - s.height___13730 = (r0); - s.top___13731 = (0); - s.left___13732 = (0); + s.width___34452 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___22550); + s.height___34453 = (r0); + s.top___34454 = (0); + s.left___34455 = (0); { step = 7; continue; } case 4: - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 3); s.tmp_0 = r0; r0 = (s.tmp_0 + 5); - s.width___13729 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___1827); - s.height___13730 = (r0); - s.top___13731 = (0); - r0 = pxsim_ImageMethods.width(globals.screen___1827); - s.tmp_0 = r0; - r0 = (s.tmp_0 - s.width___13729); - s.left___13732 = (r0); + s.width___34452 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___22550); + s.height___34453 = (r0); + s.top___34454 = (0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); + s.tmp_0 = r0; + r0 = (s.tmp_0 - s.width___34452); + s.left___34455 = (r0); { step = 7; continue; } case 5: - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; r0 = (s.tmp_1 << 1); s.tmp_0 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, 3); - s.width___13729 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___1827); + s.width___34452 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; r0 = (s.tmp_1 << 1); s.tmp_0 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, 3); - s.height___13730 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___1827); + s.height___34453 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.height___13730); + r0 = (s.tmp_1 - s.height___34453); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.top___13731 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___1827); + s.top___34454 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___13729); + r0 = (s.tmp_1 - s.width___34452); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.left___13732 = (r0); + s.left___34455 = (r0); { step = 7; continue; } case 6: - r0 = pxsim_ImageMethods.width(globals.screen___1827); - s.width___13729 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___1827); - s.height___13730 = (r0); - s.top___13731 = (0); - s.left___13732 = (0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); + s.width___34452 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___22550); + s.height___34453 = (r0); + s.top___34454 = (0); + s.left___34455 = (0); case 7: - r0 = pxsim_pxtcore_mkClassInstance(game_Dialog__C2571_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_Dialog__C23294_VT); s.tmp_0 = r0; - s.tmp_1 = game_Dialog_constructor__P2574_mk(s); + s.tmp_1 = game_Dialog_constructor__P23297_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.width___13729; - s.tmp_1.arg2 = s.height___13730; + s.tmp_1.arg1 = s.width___34452; + s.tmp_1.arg2 = s.height___34453; s.tmp_1.arg3 = undefined; s.tmp_1.arg4 = undefined; s.tmp_1.arg5 = undefined; s.callLocIdx = 1038; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - s.dialog___13843 = (s.tmp_0); - s.tmp_0 = sprites_create__P2043_mk(s); - r0 = s.dialog___13843.fields["image"]; + s.dialog___34566 = (s.tmp_0); + s.tmp_0 = sprites_create__P22766_mk(s); + r0 = s.dialog___34566.fields["image"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = -1; s.callLocIdx = 1039; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.s___13851 = (r0); - s.tmp_0 = Sprite_top__P2143_mk(s); - s.tmp_0.arg0 = s.s___13851; - s.tmp_0.arg1 = s.top___13731; + s.s___34574 = (r0); + s.tmp_0 = Sprite_top__P22866_mk(s); + s.tmp_0.arg0 = s.s___34574; + s.tmp_0.arg1 = s.top___34454; s.callLocIdx = 1040; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_left__P2139_mk(s); - s.tmp_0.arg0 = s.s___13851; - s.tmp_0.arg1 = s.left___13732; + s.tmp_0 = Sprite_left__P22862_mk(s); + s.tmp_0.arg0 = s.s___34574; + s.tmp_0.arg1 = s.left___34455; s.callLocIdx = 1041; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_Dialog__C2571_v1_2_mk(s); - s.tmp_0.arg0 = s.dialog___13843; + s.tmp_0 = game_Dialog__C23294_v1_2_mk(s); + s.tmp_0.arg0 = s.dialog___34566; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_Dialog__C2571_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_Dialog__C23294_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setText; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.pressed___13867 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pressed___13867, true); + s.pressed___34590 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pressed___34590, true); r0 = pxsim_pxtrt.mklocRef(); - s.done___13868 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.done___13868, false); + s.done___34591 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.done___34591, false); r0 = pxsim_pxtrt.mklocRef(); - s.upPressed___13869 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.upPressed___13869, true); - r0 = pxsim_pxtcore_mkAction(4, game_showLongText_inline__P13871); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___13843); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___13867); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___13868); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.upPressed___13869); - s.tmp_1 = game_onUpdate__P2628_mk(s); + s.upPressed___34592 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.upPressed___34592, true); + r0 = pxsim_pxtcore_mkAction(4, game_showLongText_inline__P34594); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___34566); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___34590); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___34591); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.upPressed___34592); + s.tmp_1 = game_onUpdate__P23351_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1048; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, game_showLongText_inline__P13919); + r0 = pxsim_pxtcore_mkAction(1, game_showLongText_inline__P34642); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___13868); - s.tmp_1 = pauseUntil__P365_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___34591); + s.tmp_1 = pauseUntil__P21088_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1049; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.tmp_0 = controller__setUserEventsEnabled__P1986_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P22709_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1050; s.pc = 19; return s.tmp_0; case 19: @@ -23719,26 +23720,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_showLongText__P2598.info = {"start":13437,"length":3072,"line":414,"column":4,"endLine":507,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"showLongText","argumentNames":["str","layout"]} +game_showLongText__P23321.info = {"start":13437,"length":3072,"line":414,"column":4,"endLine":507,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"showLongText","argumentNames":["str","layout"]} -function game_showLongText__P2598_mk(s) { +function game_showLongText__P23321_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showLongText__P2598, depth: s.depth + 1, + parent: s, fn: game_showLongText__P23321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - width___13729: undefined, - height___13730: undefined, - top___13731: undefined, - left___13732: undefined, - dialog___13843: undefined, - s___13851: undefined, - pressed___13867: undefined, - done___13868: undefined, - upPressed___13869: undefined, + width___34452: undefined, + height___34453: undefined, + top___34454: undefined, + left___34455: undefined, + dialog___34566: undefined, + s___34574: undefined, + pressed___34590: undefined, + done___34591: undefined, + upPressed___34592: undefined, arg0: undefined, arg1: undefined, } } @@ -23747,7 +23748,7 @@ function game_showLongText__P2598_mk(s) { -function game_showLongText_inline__P13871(s) { +function game_showLongText_inline__P34594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23757,18 +23758,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentState___13874 = undefined; - s.moveBack___13899 = undefined; - s.tmp_0 = game_BaseDialog__C2554_v0_1_mk(s); + s.currentState___34597 = undefined; + s.moveBack___34622 = undefined; + s.tmp_0 = game_BaseDialog__C23277_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C2554_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C23277_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_1 = controller_Button__C1971_v0_1_mk(s); - s.tmp_1.arg0 = globals.A___1905; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C1971_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C22694_v0_1_mk(s); + s.tmp_1.arg0 = globals.A___22628; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C22694_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 24; return s.tmp_1; case 24: @@ -23779,9 +23780,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = controller_Button__C1971_v0_1_mk(s); - s.tmp_2.arg0 = globals.down___1910; - if (!checkSubtype(s.tmp_2.arg0, controller_Button__C1971_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2 = controller_Button__C22694_v0_1_mk(s); + s.tmp_2.arg0 = globals.down___22633; + if (!checkSubtype(s.tmp_2.arg0, controller_Button__C22694_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.isPressed; s.pc = 25; return s.tmp_2; case 25: @@ -23789,8 +23790,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.currentState___13874 = (s.tmp_3); - s.tmp_0 = r0 = s.currentState___13874; + s.currentState___34597 = (s.tmp_3); + s.tmp_0 = r0 = s.currentState___34597; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; @@ -23807,7 +23808,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } r0 = pxsim_pxtrt_stlocRef(s.caps[1], true); - s.tmp_1 = game_Dialog_hasNext__P2575_mk(s); + s.tmp_1 = game_Dialog_hasNext__P23298_mk(s); s.tmp_1.arg0 = s.caps[0]; s.callLocIdx = 1042; s.pc = 26; return s.tmp_1; case 26: @@ -23815,19 +23816,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = game_Dialog_nextPage__P2577_mk(s); + s.tmp_2 = game_Dialog_nextPage__P23300_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 1043; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_setBackgroundImage__P2536_mk(s); + s.tmp_0 = scene_setBackgroundImage__P23259_mk(s); s.tmp_0.arg0 = null; s.callLocIdx = 1044; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.tmp_0 = game_popScene__P2614_mk(s); + s.tmp_0 = game_popScene__P23337_mk(s); s.callLocIdx = 1045; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; @@ -23842,7 +23843,7 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(s.currentState___13874); + r0 = pxsim_numops_toBoolDecr(s.currentState___34597); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 9: @@ -23854,15 +23855,15 @@ switch (step) { case 10: case 11: case 12: - s.tmp_0 = controller_Button__C1971_v0_1_mk(s); - s.tmp_0.arg0 = globals.up___1908; - if (!checkSubtype(s.tmp_0.arg0, controller_Button__C1971_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = controller_Button__C22694_v0_1_mk(s); + s.tmp_0.arg0 = globals.up___22631; + if (!checkSubtype(s.tmp_0.arg0, controller_Button__C22694_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.isPressed; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.moveBack___13899 = (r0); - s.tmp_0 = r0 = s.moveBack___13899; + s.moveBack___34622 = (r0); + s.tmp_0 = r0 = s.moveBack___34622; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 13; continue; } r0 = s.tmp_0; @@ -23879,7 +23880,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 17; continue; } r0 = pxsim_pxtrt_stlocRef(s.caps[3], true); - s.tmp_1 = game_Dialog_hasPrev__P2576_mk(s); + s.tmp_1 = game_Dialog_hasPrev__P23299_mk(s); s.tmp_1.arg0 = s.caps[0]; s.callLocIdx = 1046; s.pc = 31; return s.tmp_1; case 31: @@ -23887,7 +23888,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_2 = game_Dialog_prevPage__P2578_mk(s); + s.tmp_2 = game_Dialog_prevPage__P23301_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 1047; s.pc = 32; return s.tmp_2; case 32: @@ -23903,7 +23904,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = pxsim_numops_toBoolDecr(s.moveBack___13899); + r0 = pxsim_numops_toBoolDecr(s.moveBack___34622); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 19: @@ -23919,26 +23920,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_showLongText_inline__P13871.info = {"start":15490,"length":931,"line":475,"column":22,"endLine":503,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_showLongText_inline__P34594.info = {"start":15490,"length":931,"line":475,"column":22,"endLine":503,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_showLongText_inline__P13871_mk(s) { +function game_showLongText_inline__P34594_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showLongText_inline__P13871, depth: s.depth + 1, + parent: s, fn: game_showLongText_inline__P34594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - currentState___13874: undefined, - moveBack___13899: undefined, + currentState___34597: undefined, + moveBack___34622: undefined, } } -function game_showLongText_inline__P13919(s) { +function game_showLongText_inline__P34642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23952,12 +23953,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_showLongText_inline__P13919.info = {"start":16443,"length":10,"line":505,"column":19,"endLine":505,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_showLongText_inline__P34642.info = {"start":16443,"length":10,"line":505,"column":19,"endLine":505,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_showLongText_inline__P13919_mk(s) { +function game_showLongText_inline__P34642_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showLongText_inline__P13919, depth: s.depth + 1, + parent: s, fn: game_showLongText_inline__P34642, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -23965,7 +23966,7 @@ function game_showLongText_inline__P13919_mk(s) { -function game_Dialog_setText__P2580(s) { +function game_Dialog_setText__P23303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23981,10 +23982,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2571_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_setFont__P4270_mk(s); + if (!checkSubtype(r0, game_Dialog__C23294_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_setFont__P24993_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = image_getFontForText__P1772_mk(s); + s.tmp_1 = image_getFontForText__P22495_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 1013; s.pc = 2; return s.tmp_1; case 2: @@ -23994,7 +23995,7 @@ switch (step) { case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_Dialog_chunkText__P2579_mk(s); + s.tmp_2 = game_Dialog_chunkText__P23302_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 1015; s.pc = 3; return s.tmp_2; @@ -24007,12 +24008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_setText__P2580.info = {"start":7073,"length":183,"line":228,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} +game_Dialog_setText__P23303.info = {"start":7073,"length":183,"line":228,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} -function game_Dialog_setText__P2580_mk(s) { +function game_Dialog_setText__P23303_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_setText__P2580, depth: s.depth + 1, + parent: s, fn: game_Dialog_setText__P23303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24025,7 +24026,7 @@ function game_Dialog_setText__P2580_mk(s) { -function game_BaseDialog_setFont__P4270(s) { +function game_BaseDialog_setFont__P24993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24041,18 +24042,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = (s.arg0).fields["font"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setFont__P4270.info = {"start":5393,"length":77,"line":177,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} +game_BaseDialog_setFont__P24993.info = {"start":5393,"length":77,"line":177,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} -function game_BaseDialog_setFont__P4270_mk(s) { +function game_BaseDialog_setFont__P24993_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setFont__P4270, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setFont__P24993, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24062,7 +24063,7 @@ function game_BaseDialog_setFont__P4270_mk(s) { -function game_Dialog_chunkText__P2579(s) { +function game_Dialog_chunkText__P23302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24072,21 +24073,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.charactersPerRow___13978 = undefined; - s.charactersPerCursorRow___13987 = undefined; - s.rowsOfCharacters___13999 = undefined; - s.rowsWithCursor___14006 = undefined; - s.lineLengths___14014 = undefined; - s.i___14016 = undefined; - s.i___14029 = undefined; + s.charactersPerRow___34701 = undefined; + s.charactersPerCursorRow___34710 = undefined; + s.rowsOfCharacters___34722 = undefined; + s.rowsWithCursor___34729 = undefined; + s.lineLengths___34737 = undefined; + s.i___34739 = undefined; + s.i___34752 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2571_VT)) failedCast(r0); - s.tmp_2 = game_BaseDialog_textAreaWidth__P4268_mk(s); + if (!checkSubtype(r0, game_Dialog__C23294_VT)) failedCast(r0); + s.tmp_2 = game_BaseDialog_textAreaWidth__P24991_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1006; s.pc = 5; return s.tmp_2; case 5: @@ -24109,8 +24110,8 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.charactersPerRow___13978 = (r0); - s.tmp_1 = r0 = s.charactersPerRow___13978; + s.charactersPerRow___34701 = (r0); + s.tmp_1 = r0 = s.charactersPerRow___34701; r0 = s.arg0.fields["cursor"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); @@ -24134,14 +24135,14 @@ switch (step) { r0 = (s.tmp_1 - s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.charactersPerCursorRow___13987 = (r0); - s.tmp_2 = game_BaseDialog_textAreaHeight__P4269_mk(s); + s.charactersPerCursorRow___34710 = (r0); + s.tmp_2 = game_BaseDialog_textAreaHeight__P24992_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1009; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = game_BaseDialog_rowHeight__P4267_mk(s); + s.tmp_4 = game_BaseDialog_rowHeight__P24990_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1010; s.pc = 9; return s.tmp_4; case 9: @@ -24150,12 +24151,12 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.rowsOfCharacters___13999 = (r0); + s.rowsOfCharacters___34722 = (r0); r0 = s.arg0.fields["cursor"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - s.tmp_4 = game_BaseDialog_rowHeight__P4267_mk(s); + s.tmp_4 = game_BaseDialog_rowHeight__P24990_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1011; s.pc = 10; return s.tmp_4; case 10: @@ -24164,49 +24165,49 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.ceil(s.tmp_0); - s.rowsWithCursor___14006 = (r0); + s.rowsWithCursor___34729 = (r0); r0 = pxsim_Array__mk(); - s.lineLengths___14014 = (r0); - s.i___14016 = (0); + s.lineLengths___34737 = (r0); + s.i___34739 = (0); case 1: - s.tmp_1 = r0 = s.i___14016; - r0 = (s.rowsOfCharacters___13999 - s.rowsWithCursor___14006); + s.tmp_1 = r0 = s.i___34739; + r0 = (s.rowsOfCharacters___34722 - s.rowsWithCursor___34729); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.lineLengths___14014, s.charactersPerRow___13978); - r0 = (s.i___14016 + 1); - s.i___14016 = (r0); + r0 = pxsim_Array__push(s.lineLengths___34737, s.charactersPerRow___34701); + r0 = (s.i___34739 + 1); + s.i___34739 = (r0); { step = 1; continue; } case 2: - s.i___14029 = (0); + s.i___34752 = (0); case 3: - r0 = (s.i___14029 < s.rowsWithCursor___14006); + r0 = (s.i___34752 < s.rowsWithCursor___34729); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__push(s.lineLengths___14014, s.charactersPerCursorRow___13987); - r0 = (s.i___14029 + 1); - s.i___14029 = (r0); + r0 = pxsim_Array__push(s.lineLengths___34737, s.charactersPerCursorRow___34710); + r0 = (s.i___34752 + 1); + s.i___34752 = (r0); { step = 3; continue; } case 4: - s.tmp_0 = game_breakIntoPages__P4279_mk(s); + s.tmp_0 = game_breakIntoPages__P25002_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.lineLengths___14014; + s.tmp_0.arg1 = s.lineLengths___34737; s.callLocIdx = 1012; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; return leave(s, r0) default: oops() } } } -game_Dialog_chunkText__P2579.info = {"start":6328,"length":735,"line":214,"column":8,"endLine":226,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"chunkText","argumentNames":["this","str"]} +game_Dialog_chunkText__P23302.info = {"start":6328,"length":735,"line":214,"column":8,"endLine":226,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"chunkText","argumentNames":["this","str"]} -function game_Dialog_chunkText__P2579_mk(s) { +function game_Dialog_chunkText__P23302_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_chunkText__P2579, depth: s.depth + 1, + parent: s, fn: game_Dialog_chunkText__P23302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24215,13 +24216,13 @@ function game_Dialog_chunkText__P2579_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - charactersPerRow___13978: undefined, - charactersPerCursorRow___13987: undefined, - rowsOfCharacters___13999: undefined, - rowsWithCursor___14006: undefined, - lineLengths___14014: undefined, - i___14016: undefined, - i___14029: undefined, + charactersPerRow___34701: undefined, + charactersPerCursorRow___34710: undefined, + rowsOfCharacters___34722: undefined, + rowsWithCursor___34729: undefined, + lineLengths___34737: undefined, + i___34739: undefined, + i___34752: undefined, arg0: undefined, arg1: undefined, } } @@ -24230,7 +24231,7 @@ function game_Dialog_chunkText__P2579_mk(s) { -function game_breakIntoPages__P4279(s) { +function game_breakIntoPages__P25002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24240,64 +24241,64 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.result___14045 = undefined; - s.currentPage___14047 = undefined; - s.lastBreakLocation___14049 = undefined; - s.lastBreak___14050 = undefined; - s.line___14051 = undefined; - s.lineLength___14052 = undefined; - s.nextLine___14055 = undefined; - s.index___14061 = undefined; + s.result___34768 = undefined; + s.currentPage___34770 = undefined; + s.lastBreakLocation___34772 = undefined; + s.lastBreak___34773 = undefined; + s.line___34774 = undefined; + s.lineLength___34775 = undefined; + s.nextLine___34778 = undefined; + s.index___34784 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.result___14045 = (r0); + s.result___34768 = (r0); r0 = pxsim_Array__mk(); - s.currentPage___14047 = (r0); - s.lastBreakLocation___14049 = (0); - s.lastBreak___14050 = (0); + s.currentPage___34770 = (r0); + s.lastBreakLocation___34772 = (0); + s.lastBreak___34773 = (0); r0 = pxsim_pxtrt.mklocRef(); - s.line___14051 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.line___14051, 0); + s.line___34774 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.line___34774, 0); r0 = pxsim_pxtrt.mklocRef(); - s.lineLength___14052 = (r0); - s.tmp_0 = r0 = s.lineLength___14052; + s.lineLength___34775 = (r0); + s.tmp_0 = r0 = s.lineLength___34775; s.tmp_2 = r0 = s.arg1; - r0 = pxsim_pxtrt_ldlocRef(s.line___14051); + r0 = pxsim_pxtrt_ldlocRef(s.line___34774); s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtcore_mkAction(3, nextLine__P14055); + r0 = pxsim_pxtcore_mkAction(3, nextLine__P34778); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.line___14051); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.lineLength___14052); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.line___34774); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.lineLength___34775); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); - s.nextLine___14055 = (s.tmp_0); - s.index___14061 = (0); + s.nextLine___34778 = (s.tmp_0); + s.index___34784 = (0); case 1: - s.tmp_1 = r0 = s.index___14061; + s.tmp_1 = r0 = s.index___34784; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - r0 = pxsim_String_.charAt(s.arg0, s.index___14061); + r0 = pxsim_String_.charAt(s.arg0, s.index___34784); s.tmp_4 = r0; r0 = (s.tmp_4 === "\n"); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - s.tmp_5 = r0 = s.currentPage___14047; - s.tmp_7 = game_formatLine__P4280_mk(s); - s.tmp_8 = helpers_stringSubstr__P118_mk(s); + s.tmp_5 = r0 = s.currentPage___34770; + s.tmp_7 = game_formatLine__P25003_mk(s); + s.tmp_8 = helpers_stringSubstr__P20841_mk(s); s.tmp_8.arg0 = s.arg0; - s.tmp_8.arg1 = s.lastBreak___14050; - r0 = (s.index___14061 - s.lastBreak___14050); + s.tmp_8.arg1 = s.lastBreak___34773; + r0 = (s.index___34784 - s.lastBreak___34773); s.tmp_8.arg2 = r0; s.callLocIdx = 1053; s.pc = 24; return s.tmp_8; case 24: @@ -24308,18 +24309,18 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_6); - r0 = (s.index___14061 + 1); - s.index___14061 = (r0); - s.lastBreak___14050 = (s.index___14061); + r0 = (s.index___34784 + 1); + s.index___34784 = (r0); + s.lastBreak___34773 = (s.index___34784); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___14055; + s.tmp_0.argL = s.nextLine___34778; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1055; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; { step = 9; continue; } case 2: - r0 = pxsim_String_.charAt(s.arg0, s.index___14061); + r0 = pxsim_String_.charAt(s.arg0, s.index___34784); s.tmp_1 = r0; r0 = (s.tmp_1 === "\\"); s.tmp_0 = r0; @@ -24329,7 +24330,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_3 = r0 = s.arg0; - r0 = (s.index___14061 + 1); + r0 = (s.index___34784 + 1); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); s.tmp_2 = r0; @@ -24339,12 +24340,12 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } - s.tmp_6 = r0 = s.currentPage___14047; - s.tmp_8 = game_formatLine__P4280_mk(s); - s.tmp_9 = helpers_stringSubstr__P118_mk(s); + s.tmp_6 = r0 = s.currentPage___34770; + s.tmp_8 = game_formatLine__P25003_mk(s); + s.tmp_9 = helpers_stringSubstr__P20841_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_9.arg1 = s.lastBreak___14050; - r0 = (s.index___14061 - s.lastBreak___14050); + s.tmp_9.arg1 = s.lastBreak___34773; + r0 = (s.index___34784 - s.lastBreak___34773); s.tmp_9.arg2 = r0; s.callLocIdx = 1056; s.pc = 27; return s.tmp_9; case 27: @@ -24355,19 +24356,19 @@ switch (step) { r0 = s.retval; s.tmp_7 = r0; r0 = pxsim_Array__push(s.tmp_6, s.tmp_7); - r0 = (s.index___14061 + 2); - s.index___14061 = (r0); - s.lastBreak___14050 = (s.index___14061); + r0 = (s.index___34784 + 2); + s.index___34784 = (r0); + s.lastBreak___34773 = (s.index___34784); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___14055; + s.tmp_0.argL = s.nextLine___34778; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1058; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; { step = 8; continue; } case 5: - s.tmp_1 = game_isBreakCharacter__P4278_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.index___14061); + s.tmp_1 = game_isBreakCharacter__P25001_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.index___34784); s.tmp_1.arg0 = r0; s.callLocIdx = 1059; s.pc = 29; return s.tmp_1; case 29: @@ -24375,38 +24376,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.lastBreakLocation___14049 = (s.index___14061); + s.lastBreakLocation___34772 = (s.index___34784); case 6: case 7: case 8: case 9: - r0 = (s.index___14061 - s.lastBreak___14050); + r0 = (s.index___34784 - s.lastBreak___34773); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.lineLength___14052); + r0 = pxsim_pxtrt_ldlocRef(s.lineLength___34775); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.lastBreakLocation___14049 === s.index___14061); + r0 = (s.lastBreakLocation___34772 === s.index___34784); s.tmp_3 = r0; r0 = pxsim_numops_toBool(s.tmp_3); if (!r0) { step = 10; continue; } r0 = s.tmp_3; { step = 11; continue; } case 10: - r0 = (s.lastBreakLocation___14049 < s.lastBreak___14050); + r0 = (s.lastBreakLocation___34772 < s.lastBreak___34773); case 11: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - s.tmp_5 = r0 = s.currentPage___14047; - s.tmp_7 = game_formatLine__P4280_mk(s); - s.tmp_8 = helpers_stringSubstr__P118_mk(s); + s.tmp_5 = r0 = s.currentPage___34770; + s.tmp_7 = game_formatLine__P25003_mk(s); + s.tmp_8 = helpers_stringSubstr__P20841_mk(s); s.tmp_8.arg0 = s.arg0; - s.tmp_8.arg1 = s.lastBreak___14050; - r0 = pxsim_pxtrt_ldlocRef(s.lineLength___14052); + s.tmp_8.arg1 = s.lastBreak___34773; + r0 = pxsim_pxtrt_ldlocRef(s.lineLength___34775); s.tmp_8.arg2 = r0; s.callLocIdx = 1060; s.pc = 31; return s.tmp_8; case 31: @@ -24417,21 +24418,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_6); - s.lastBreak___14050 = (s.index___14061); + s.lastBreak___34773 = (s.index___34784); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___14055; + s.tmp_0.argL = s.nextLine___34778; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1062; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; { step = 13; continue; } case 12: - s.tmp_0 = r0 = s.currentPage___14047; - s.tmp_2 = game_formatLine__P4280_mk(s); - s.tmp_3 = helpers_stringSubstr__P118_mk(s); + s.tmp_0 = r0 = s.currentPage___34770; + s.tmp_2 = game_formatLine__P25003_mk(s); + s.tmp_3 = helpers_stringSubstr__P20841_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.lastBreak___14050; - r0 = (s.lastBreakLocation___14049 - s.lastBreak___14050); + s.tmp_3.arg1 = s.lastBreak___34773; + r0 = (s.lastBreakLocation___34772 - s.lastBreak___34773); s.tmp_3.arg2 = r0; s.callLocIdx = 1063; s.pc = 34; return s.tmp_3; case 34: @@ -24442,9 +24443,9 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.lastBreak___14050 = (s.lastBreakLocation___14049); + s.lastBreak___34773 = (s.lastBreakLocation___34772); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___14055; + s.tmp_0.argL = s.nextLine___34778; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1065; s.pc = 35; return s.tmp_0; case 35: @@ -24452,7 +24453,7 @@ switch (step) { case 13: case 14: case 15: - r0 = pxsim_pxtrt_ldlocRef(s.line___14051); + r0 = pxsim_pxtrt_ldlocRef(s.line___34774); s.tmp_1 = r0; r0 = pxsim_Array__length(s.arg1); s.tmp_2 = r0; @@ -24460,31 +24461,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = pxsim_pxtrt_stlocRef(s.line___14051, 0); - s.tmp_0 = r0 = s.lineLength___14052; + r0 = pxsim_pxtrt_stlocRef(s.line___34774, 0); + s.tmp_0 = r0 = s.lineLength___34775; s.tmp_2 = r0 = s.arg1; - r0 = pxsim_pxtrt_ldlocRef(s.line___14051); + r0 = pxsim_pxtrt_ldlocRef(s.line___34774); s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_Array__push(s.result___14045, s.currentPage___14047); + r0 = pxsim_Array__push(s.result___34768, s.currentPage___34770); r0 = pxsim_Array__mk(); - s.currentPage___14047 = (r0); + s.currentPage___34770 = (r0); case 16: case 17: - r0 = (s.index___14061 + 1); - s.index___14061 = (r0); + r0 = (s.index___34784 + 1); + s.index___34784 = (r0); { step = 1; continue; } case 18: - s.tmp_0 = r0 = s.currentPage___14047; - s.tmp_2 = game_formatLine__P4280_mk(s); - s.tmp_3 = helpers_stringSubstr__P118_mk(s); + s.tmp_0 = r0 = s.currentPage___34770; + s.tmp_2 = game_formatLine__P25003_mk(s); + s.tmp_3 = helpers_stringSubstr__P20841_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.lastBreak___14050; + s.tmp_3.arg1 = s.lastBreak___34773; r0 = pxsim_String_.length(s.arg0); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.lastBreak___14050); + r0 = (s.tmp_4 - s.lastBreak___34773); s.tmp_3.arg2 = r0; s.callLocIdx = 1066; s.pc = 37; return s.tmp_3; case 37: @@ -24495,7 +24496,7 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim_Array__length(s.currentPage___14047); + r0 = pxsim_Array__length(s.currentPage___34770); s.tmp_1 = r0; r0 = (s.tmp_1 > 1); s.tmp_0 = r0; @@ -24504,7 +24505,7 @@ switch (step) { r0 = s.tmp_0; { step = 20; continue; } case 19: - r0 = pxsim_Array__getAt(s.currentPage___14047, 0); + r0 = pxsim_Array__getAt(s.currentPage___34770, 0); s.tmp_2 = r0; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; @@ -24514,19 +24515,19 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 21; continue; } - r0 = pxsim_Array__push(s.result___14045, s.currentPage___14047); + r0 = pxsim_Array__push(s.result___34768, s.currentPage___34770); case 21: case 22: - r0 = s.result___14045; + r0 = s.result___34768; return leave(s, r0) default: oops() } } } -game_breakIntoPages__P4279.info = {"start":21243,"length":2187,"line":673,"column":4,"endLine":734,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"breakIntoPages","argumentNames":["text","lineLengths"]} +game_breakIntoPages__P25002.info = {"start":21243,"length":2187,"line":673,"column":4,"endLine":734,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"breakIntoPages","argumentNames":["text","lineLengths"]} -function game_breakIntoPages__P4279_mk(s) { +function game_breakIntoPages__P25002_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_breakIntoPages__P4279, depth: s.depth + 1, + parent: s, fn: game_breakIntoPages__P25002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24538,14 +24539,14 @@ function game_breakIntoPages__P4279_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - result___14045: undefined, - currentPage___14047: undefined, - lastBreakLocation___14049: undefined, - lastBreak___14050: undefined, - line___14051: undefined, - lineLength___14052: undefined, - nextLine___14055: undefined, - index___14061: undefined, + result___34768: undefined, + currentPage___34770: undefined, + lastBreakLocation___34772: undefined, + lastBreak___34773: undefined, + line___34774: undefined, + lineLength___34775: undefined, + nextLine___34778: undefined, + index___34784: undefined, arg0: undefined, arg1: undefined, } } @@ -24554,7 +24555,7 @@ function game_breakIntoPages__P4279_mk(s) { -function nextLine__P14055(s) { +function nextLine__P34778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24581,12 +24582,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -nextLine__P14055.info = {"start":21536,"length":95,"line":683,"column":8,"endLine":686,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"nextLine","argumentNames":[]} +nextLine__P34778.info = {"start":21536,"length":95,"line":683,"column":8,"endLine":686,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"nextLine","argumentNames":[]} -function nextLine__P14055_mk(s) { +function nextLine__P34778_mk(s) { checkStack(s.depth); return { - parent: s, fn: nextLine__P14055, depth: s.depth + 1, + parent: s, fn: nextLine__P34778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24598,7 +24599,7 @@ function nextLine__P14055_mk(s) { -function game_formatLine__P4280(s) { +function game_formatLine__P25003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24608,26 +24609,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___14249 = undefined; + s.i___34972 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___14249 = (0); + s.i___34972 = (0); case 1: - r0 = pxsim_String_.charAt(s.arg0, s.i___14249); + r0 = pxsim_String_.charAt(s.arg0, s.i___34972); s.tmp_1 = r0; r0 = (s.tmp_1 === " "); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = (s.i___14249 + 1); - s.i___14249 = (r0); + r0 = (s.i___34972 + 1); + s.i___34972 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = helpers_stringSubstr__P118_mk(s); + s.tmp_0 = helpers_stringSubstr__P20841_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___14249; + s.tmp_0.arg1 = s.i___34972; r0 = pxsim_String_.length(s.arg0); s.tmp_0.arg2 = r0; s.callLocIdx = 1068; s.pc = 3; return s.tmp_0; @@ -24636,16 +24637,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_formatLine__P4280.info = {"start":23436,"length":148,"line":736,"column":4,"endLine":740,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"formatLine","argumentNames":["text"]} +game_formatLine__P25003.info = {"start":23436,"length":148,"line":736,"column":4,"endLine":740,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"formatLine","argumentNames":["text"]} -function game_formatLine__P4280_mk(s) { +function game_formatLine__P25003_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_formatLine__P4280, depth: s.depth + 1, + parent: s, fn: game_formatLine__P25003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___14249: undefined, + i___34972: undefined, arg0: undefined, } } @@ -24653,7 +24654,7 @@ function game_formatLine__P4280_mk(s) { -function game_isBreakCharacter__P4278(s) { +function game_isBreakCharacter__P25001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24771,12 +24772,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_isBreakCharacter__P4278.info = {"start":20879,"length":358,"line":663,"column":4,"endLine":671,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isBreakCharacter","argumentNames":["charCode"]} +game_isBreakCharacter__P25001.info = {"start":20879,"length":358,"line":663,"column":4,"endLine":671,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isBreakCharacter","argumentNames":["charCode"]} -function game_isBreakCharacter__P4278_mk(s) { +function game_isBreakCharacter__P25001_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_isBreakCharacter__P4278, depth: s.depth + 1, + parent: s, fn: game_isBreakCharacter__P25001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24800,7 +24801,7 @@ function game_isBreakCharacter__P4278_mk(s) { -function helpers_stringSubstr__P118(s) { +function helpers_stringSubstr__P20841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24842,12 +24843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSubstr__P118.info = {"start":11286,"length":204,"line":379,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSubstr","argumentNames":["s","start","length"]} +helpers_stringSubstr__P20841.info = {"start":11286,"length":204,"line":379,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSubstr","argumentNames":["s","start","length"]} -function helpers_stringSubstr__P118_mk(s) { +function helpers_stringSubstr__P20841_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSubstr__P118, depth: s.depth + 1, + parent: s, fn: helpers_stringSubstr__P20841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24862,7 +24863,7 @@ function helpers_stringSubstr__P118_mk(s) { -function game_BaseDialog_rowHeight__P4267(s) { +function game_BaseDialog_rowHeight__P24990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24877,7 +24878,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); s.tmp_1 = if_charHeight_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_1.arg0 = r0; @@ -24896,12 +24897,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_rowHeight__P4267.info = {"start":5000,"length":78,"line":165,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"rowHeight","argumentNames":["this"]} +game_BaseDialog_rowHeight__P24990.info = {"start":5000,"length":78,"line":165,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"rowHeight","argumentNames":["this"]} -function game_BaseDialog_rowHeight__P4267_mk(s) { +function game_BaseDialog_rowHeight__P24990_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_rowHeight__P4267, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_rowHeight__P24990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24912,7 +24913,7 @@ function game_BaseDialog_rowHeight__P4267_mk(s) { -function game_Dialog_prevPage__P2578(s) { +function game_Dialog_prevPage__P23301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24927,8 +24928,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2571_VT)) failedCast(r0); - s.tmp_1 = game_Dialog_hasPrev__P2576_mk(s); + if (!checkSubtype(r0, game_Dialog__C23294_VT)) failedCast(r0); + s.tmp_1 = game_Dialog_hasPrev__P23299_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1005; s.pc = 3; return s.tmp_1; case 3: @@ -24948,12 +24949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_prevPage__P2578.info = {"start":6213,"length":105,"line":208,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"prevPage","argumentNames":["this"]} +game_Dialog_prevPage__P23301.info = {"start":6213,"length":105,"line":208,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"prevPage","argumentNames":["this"]} -function game_Dialog_prevPage__P2578_mk(s) { +function game_Dialog_prevPage__P23301_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_prevPage__P2578, depth: s.depth + 1, + parent: s, fn: game_Dialog_prevPage__P23301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24967,7 +24968,7 @@ function game_Dialog_prevPage__P2578_mk(s) { -function game_Dialog_nextPage__P2577(s) { +function game_Dialog_nextPage__P23300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24982,8 +24983,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2571_VT)) failedCast(r0); - s.tmp_1 = game_Dialog_hasNext__P2575_mk(s); + if (!checkSubtype(r0, game_Dialog__C23294_VT)) failedCast(r0); + s.tmp_1 = game_Dialog_hasNext__P23298_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1004; s.pc = 3; return s.tmp_1; case 3: @@ -25003,12 +25004,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_nextPage__P2577.info = {"start":6098,"length":105,"line":202,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"nextPage","argumentNames":["this"]} +game_Dialog_nextPage__P23300.info = {"start":6098,"length":105,"line":202,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"nextPage","argumentNames":["this"]} -function game_Dialog_nextPage__P2577_mk(s) { +function game_Dialog_nextPage__P23300_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_nextPage__P2577, depth: s.depth + 1, + parent: s, fn: game_Dialog_nextPage__P23300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25022,7 +25023,7 @@ function game_Dialog_nextPage__P2577_mk(s) { -function game_Dialog_hasPrev__P2576(s) { +function game_Dialog_hasPrev__P23299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25037,7 +25038,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2571_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Dialog__C23294_VT)) failedCast(r0); r0 = s.arg0.fields["chunks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -25070,12 +25071,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_hasPrev__P2576.info = {"start":5955,"length":133,"line":197,"column":8,"endLine":200,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasPrev","argumentNames":["this"]} +game_Dialog_hasPrev__P23299.info = {"start":5955,"length":133,"line":197,"column":8,"endLine":200,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasPrev","argumentNames":["this"]} -function game_Dialog_hasPrev__P2576_mk(s) { +function game_Dialog_hasPrev__P23299_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_hasPrev__P2576, depth: s.depth + 1, + parent: s, fn: game_Dialog_hasPrev__P23299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25091,7 +25092,7 @@ function game_Dialog_hasPrev__P2576_mk(s) { -function game_Dialog_hasNext__P2575(s) { +function game_Dialog_hasNext__P23298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25106,7 +25107,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2571_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Dialog__C23294_VT)) failedCast(r0); r0 = s.arg0.fields["chunks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -25145,12 +25146,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_hasNext__P2575.info = {"start":5791,"length":154,"line":192,"column":8,"endLine":195,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasNext","argumentNames":["this"]} +game_Dialog_hasNext__P23298.info = {"start":5791,"length":154,"line":192,"column":8,"endLine":195,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasNext","argumentNames":["this"]} -function game_Dialog_hasNext__P2575_mk(s) { +function game_Dialog_hasNext__P23298_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_hasNext__P2575, depth: s.depth + 1, + parent: s, fn: game_Dialog_hasNext__P23298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25169,7 +25170,7 @@ function game_Dialog_hasNext__P2575_mk(s) { -function game_Dialog_constructor__P2574(s) { +function game_Dialog_constructor__P23297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25189,8 +25190,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2571_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_constructor__P2566_mk(s); + if (!checkSubtype(r0, game_Dialog__C23294_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_constructor__P23289_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -25205,12 +25206,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_constructor__P2574.info = {"start":5588,"length":193,"line":186,"column":8,"endLine":190,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_Dialog_constructor__P23297.info = {"start":5588,"length":193,"line":186,"column":8,"endLine":190,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -function game_Dialog_constructor__P2574_mk(s) { +function game_Dialog_constructor__P23297_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_constructor__P2574, depth: s.depth + 1, + parent: s, fn: game_Dialog_constructor__P23297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25225,7 +25226,7 @@ function game_Dialog_constructor__P2574_mk(s) { -function game_BaseDialog_update__P2567(s) { +function game_BaseDialog_update__P23290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25240,20 +25241,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P4264_mk(s); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P24987_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 976; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_BaseDialog__C2554_v2_1_mk(s); + s.tmp_0 = game_BaseDialog__C23277_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C2554_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C23277_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawCursorRow__P2570_mk(s); + s.tmp_0 = game_BaseDialog_drawCursorRow__P23293_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 977; s.pc = 3; return s.tmp_0; case 3: @@ -25262,12 +25263,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_update__P2567.info = {"start":1570,"length":121,"line":61,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_BaseDialog_update__P23290.info = {"start":1570,"length":121,"line":61,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_BaseDialog_update__P2567_mk(s) { +function game_BaseDialog_update__P23290_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_update__P2567, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_update__P23290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25277,7 +25278,7 @@ function game_BaseDialog_update__P2567_mk(s) { -function game_BaseDialog_drawTextCore__P2569(s) { +function game_BaseDialog_drawTextCore__P23292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25292,17 +25293,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawTextCore__P2569.info = {"start":1788,"length":65,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_BaseDialog_drawTextCore__P23292.info = {"start":1788,"length":65,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_BaseDialog_drawTextCore__P2569_mk(s) { +function game_BaseDialog_drawTextCore__P23292_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawTextCore__P2569, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawTextCore__P23292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25311,7 +25312,7 @@ function game_BaseDialog_drawTextCore__P2569_mk(s) { -function Sprite_top__P2143(s) { +function Sprite_top__P22866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25321,22 +25322,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___14294 = undefined; + s.physics___35017 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2609_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 328; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___14294 = (r0); - s.tmp_0 = PhysicsEngine__C2238_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___14294; + s.physics___35017 = (r0); + s.tmp_0 = PhysicsEngine__C22961_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___35017; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -25347,7 +25348,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__C2238_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C22961_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: @@ -25356,18 +25357,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P2143.info = {"start":10028,"length":256,"line":361,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P22866.info = {"start":10028,"length":256,"line":361,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P2143_mk(s) { +function Sprite_top__P22866_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P2143, depth: s.depth + 1, + parent: s, fn: Sprite_top__P22866, 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___14294: undefined, + physics___35017: undefined, arg0: undefined, arg1: undefined, } } @@ -25376,7 +25377,7 @@ function Sprite_top__P2143_mk(s) { -function Fx_sub__P159(s) { +function Fx_sub__P20882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25395,12 +25396,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P159.info = {"start":749,"length":118,"line":26,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"sub","argumentNames":["a","b"]} +Fx_sub__P20882.info = {"start":749,"length":118,"line":26,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"sub","argumentNames":["a","b"]} -function Fx_sub__P159_mk(s) { +function Fx_sub__P20882_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P159, depth: s.depth + 1, + parent: s, fn: Fx_sub__P20882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25410,7 +25411,7 @@ function Fx_sub__P159_mk(s) { -function Sprite_top__P2142(s) { +function Sprite_top__P22865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25425,20 +25426,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2142.info = {"start":9885,"length":53,"line":356,"column":4,"endLine":358,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P2142.isGetter = true; +Sprite_top__P22865.info = {"start":9885,"length":53,"line":356,"column":4,"endLine":358,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P22865.isGetter = true; -function Sprite_top__P2142_mk(s) { +function Sprite_top__P22865_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P2142, depth: s.depth + 1, + parent: s, fn: Sprite_top__P22865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25448,7 +25449,7 @@ function Sprite_top__P2142_mk(s) { -function Sprite_left__P2139(s) { +function Sprite_left__P22862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25458,22 +25459,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___14276 = undefined; + s.physics___34999 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2609_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 320; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___14276 = (r0); - s.tmp_0 = PhysicsEngine__C2238_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___14276; + s.physics___34999 = (r0); + s.tmp_0 = PhysicsEngine__C22961_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___34999; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25484,7 +25485,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__C2238_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C22961_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: @@ -25493,18 +25494,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P2139.info = {"start":9224,"length":257,"line":331,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P22862.info = {"start":9224,"length":257,"line":331,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P2139_mk(s) { +function Sprite_left__P22862_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P2139, depth: s.depth + 1, + parent: s, fn: Sprite_left__P22862, 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___14276: undefined, + physics___34999: undefined, arg0: undefined, arg1: undefined, } } @@ -25513,7 +25514,7 @@ function Sprite_left__P2139_mk(s) { -function Sprite_left__P2138(s) { +function Sprite_left__P22861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25528,20 +25529,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2138.info = {"start":9080,"length":53,"line":326,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P2138.isGetter = true; +Sprite_left__P22861.info = {"start":9080,"length":53,"line":326,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P22861.isGetter = true; -function Sprite_left__P2138_mk(s) { +function Sprite_left__P22861_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P2138, depth: s.depth + 1, + parent: s, fn: Sprite_left__P22861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25551,7 +25552,7 @@ function Sprite_left__P2138_mk(s) { -function controller__setUserEventsEnabled__P1986(s) { +function controller__setUserEventsEnabled__P22709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25565,17 +25566,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___4110 = (s.arg0); + globals._userEventsEnabled___24833 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P1986.info = {"start":6390,"length":101,"line":194,"column":4,"endLine":196,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} +controller__setUserEventsEnabled__P22709.info = {"start":6390,"length":101,"line":194,"column":4,"endLine":196,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -function controller__setUserEventsEnabled__P1986_mk(s) { +function controller__setUserEventsEnabled__P22709_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P1986, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P22709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25584,7 +25585,7 @@ function controller__setUserEventsEnabled__P1986_mk(s) { -function console_inspect__P380(s) { +function console_inspect__P21103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25594,10 +25595,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___14344 = undefined; - s.asString___14362 = undefined; - s.keys___14374 = undefined; - s.snipped___14378 = undefined; + s.asArr___35067 = undefined; + s.asString___35085 = undefined; + s.keys___35097 = undefined; + s.snipped___35101 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25638,15 +25639,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___14344 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___14344); + s.asArr___35067 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___35067); s.tmp_1 = r0; r0 = (s.tmp_1 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_arrayJoin__P103_mk(s); - s.tmp_2.arg0 = s.asArr___14344; + s.tmp_2 = helpers_arrayJoin__P20826_mk(s); + s.tmp_2.arg0 = s.asArr___35067; s.tmp_2.arg1 = ","; s.callLocIdx = 39; s.pc = 19; return s.tmp_2; case 19: @@ -25656,9 +25657,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P103_mk(s); - s.tmp_8 = helpers_arraySlice__P115_mk(s); - s.tmp_8.arg0 = s.asArr___14344; + s.tmp_7 = helpers_arrayJoin__P20826_mk(s); + s.tmp_8 = helpers_arraySlice__P20838_mk(s); + s.tmp_8.arg0 = s.asArr___35067; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 40; s.pc = 21; return s.tmp_8; @@ -25698,46 +25699,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___14362 = (r0); - r0 = (s.asString___14362 != "[object Object]"); + s.asString___35085 = (r0); + r0 = (s.asString___35085 != "[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___14362 != "[Object]"); + r0 = (s.asString___35085 != "[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___14362; + r0 = s.asString___35085; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___14374 = (r0); - r0 = pxsim_Array__length(s.keys___14374); + s.keys___35097 = (r0); + r0 = pxsim_Array__length(s.keys___35097); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___14378 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___14378); + s.snipped___35101 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___35101); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P115_mk(s); - s.tmp_0.arg0 = s.keys___14374; + s.tmp_0 = helpers_arraySlice__P20838_mk(s); + s.tmp_0.arg0 = s.keys___35097; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 42; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___14374 = (r0); + s.keys___35097 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P14395); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P35118); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___14378); + r0 = pxsim_numops_toBoolDecr(s.snipped___35101); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -25746,8 +25747,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P112_mk(s); - s.tmp_7.arg0 = s.keys___14374; + s.tmp_7 = helpers_arrayReduce__P20835_mk(s); + s.tmp_7.arg0 = s.keys___35097; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -25796,12 +25797,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P380.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__P21103.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__P380_mk(s) { +function console_inspect__P21103_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P380, depth: s.depth + 1, + parent: s, fn: console_inspect__P21103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25814,10 +25815,10 @@ function console_inspect__P380_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___14344: undefined, - asString___14362: undefined, - keys___14374: undefined, - snipped___14378: undefined, + asArr___35067: undefined, + asString___35085: undefined, + keys___35097: undefined, + snipped___35101: undefined, arg0: undefined, arg1: undefined, } } @@ -25826,7 +25827,7 @@ function console_inspect__P380_mk(s) { -function console_inspect_inline__P14395(s) { +function console_inspect_inline__P35118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25889,12 +25890,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P14395.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__P35118.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__P14395_mk(s) { +function console_inspect_inline__P35118_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P14395, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P35118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25912,7 +25913,7 @@ function console_inspect_inline__P14395_mk(s) { -function helpers_arrayReduce__P112(s) { +function helpers_arrayReduce__P20835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25922,8 +25923,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___14422 = undefined; - s.i___14425 = undefined; + s.len___35145 = undefined; + s.i___35148 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25931,43 +25932,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___14422 = (r0); - s.i___14425 = (0); + s.len___35145 = (r0); + s.i___35148 = (0); case 1: - r0 = (s.i___14425 < s.len___14422); + r0 = (s.i___35148 < s.len___35145); 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___14425); + r0 = pxsim_Array__getAt(s.arg0, s.i___35148); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___14425; + s.tmp_1.arg2 = s.i___35148; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 9; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___14425 + 1); - s.i___14425 = (r0); + r0 = (s.i___35148 + 1); + s.i___35148 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P112.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} +helpers_arrayReduce__P20835.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} -function helpers_arrayReduce__P112_mk(s) { +function helpers_arrayReduce__P20835_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P112, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P20835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___14422: undefined, - i___14425: undefined, + len___35145: undefined, + i___35148: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25977,7 +25978,7 @@ function helpers_arrayReduce__P112_mk(s) { -function helpers_arrayJoin__P103(s) { +function helpers_arrayJoin__P20826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25987,9 +25988,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___14450 = undefined; - s.len___14451 = undefined; - s.i___14454 = undefined; + s.r___35173 = undefined; + s.len___35174 = undefined; + s.i___35177 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26012,16 +26013,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___14450 = (r0); + s.r___35173 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___14451 = (r0); - s.i___14454 = (0); + s.len___35174 = (r0); + s.i___35177 = (0); case 5: - r0 = (s.i___14454 < s.len___14451); + r0 = (s.i___35177 < s.len___35174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___14454 > 0); + r0 = (s.i___35177 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -26034,12 +26035,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___14450) && (s.r___14450).vtable) { + if ((s.r___35173) && (s.r___35173).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___14450); + pxsim_String__stringConv(s.r___35173); checkResumeConsumed(); return; - } else { s.retval = (s.r___14450) + ""; } + } else { s.retval = (s.r___35173) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -26053,10 +26054,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___14450 = (r0); + s.r___35173 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___14454); + r0 = pxsim_Array__getAt(s.arg0, s.i___35177); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -26065,7 +26066,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___14454); + r0 = pxsim_Array__getAt(s.arg0, s.i___35177); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -26076,16 +26077,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___14454); + r0 = pxsim_Array__getAt(s.arg0, s.i___35177); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___14450) && (s.r___14450).vtable) { + if ((s.r___35173) && (s.r___35173).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___14450); + pxsim_String__stringConv(s.r___35173); checkResumeConsumed(); return; - } else { s.retval = (s.r___14450) + ""; } + } else { s.retval = (s.r___35173) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -26099,21 +26100,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___14450 = (r0); - r0 = (s.i___14454 + 1); - s.i___14454 = (r0); + s.r___35173 = (r0); + r0 = (s.i___35177 + 1); + s.i___35177 = (r0); { step = 5; continue; } case 14: - r0 = s.r___14450; + r0 = s.r___35173; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P103.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} +helpers_arrayJoin__P20826.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} -function helpers_arrayJoin__P103_mk(s) { +function helpers_arrayJoin__P20826_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P103, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P20826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26122,9 +26123,9 @@ function helpers_arrayJoin__P103_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___14450: undefined, - len___14451: undefined, - i___14454: undefined, + r___35173: undefined, + len___35174: undefined, + i___35177: undefined, arg0: undefined, arg1: undefined, } } @@ -26133,7 +26134,7 @@ function helpers_arrayJoin__P103_mk(s) { -function game_setDialogFrame__P2599(s) { +function game_setDialogFrame__P23322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26147,17 +26148,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.dialogFrame___4257 = (s.arg0); + globals.dialogFrame___24980 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setDialogFrame__P2599.info = {"start":18439,"length":81,"line":586,"column":4,"endLine":588,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setDialogFrame","argumentNames":["frame"]} +game_setDialogFrame__P23322.info = {"start":18439,"length":81,"line":586,"column":4,"endLine":588,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setDialogFrame","argumentNames":["frame"]} -function game_setDialogFrame__P2599_mk(s) { +function game_setDialogFrame__P23322_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setDialogFrame__P2599, depth: s.depth + 1, + parent: s, fn: game_setDialogFrame__P23322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26166,7 +26167,7 @@ function game_setDialogFrame__P2599_mk(s) { -function game_setDialogTextColor__P2601(s) { +function game_setDialogTextColor__P23324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26180,9 +26181,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P20854_mk(s); s.tmp_1.arg0 = 15; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P20853_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; s.callLocIdx = 1051; s.pc = 2; return s.tmp_2; @@ -26194,17 +26195,17 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.dialogTextColor___4259 = (r0); + globals.dialogTextColor___24982 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setDialogTextColor__P2601.info = {"start":19247,"length":129,"line":611,"column":4,"endLine":613,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setDialogTextColor","argumentNames":["color"]} +game_setDialogTextColor__P23324.info = {"start":19247,"length":129,"line":611,"column":4,"endLine":613,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setDialogTextColor","argumentNames":["color"]} -function game_setDialogTextColor__P2601_mk(s) { +function game_setDialogTextColor__P23324_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setDialogTextColor__P2601, depth: s.depth + 1, + parent: s, fn: game_setDialogTextColor__P23324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26216,7 +26217,7 @@ function game_setDialogTextColor__P2601_mk(s) { -function scene_setBackgroundColor__P2534(s) { +function scene_setBackgroundColor__P23257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26226,32 +26227,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14503 = undefined; + s.scene___35226 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2609_mk(s); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 967; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___14503 = (r0); - r0 = s.scene___14503.fields["background"]; + s.scene___35226 = (r0); + r0 = s.scene___35226.fields["background"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["color"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setBackgroundColor__P2534.info = {"start":1207,"length":140,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundColor","argumentNames":["color"]} +scene_setBackgroundColor__P23257.info = {"start":1207,"length":140,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundColor","argumentNames":["color"]} -function scene_setBackgroundColor__P2534_mk(s) { +function scene_setBackgroundColor__P23257_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundColor__P2534, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundColor__P23257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___14503: undefined, + scene___35226: undefined, arg0: undefined, } } @@ -26259,7 +26260,7 @@ function scene_setBackgroundColor__P2534_mk(s) { -function info_setScore__P2289(s) { +function info_setScore__P23012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26273,8 +26274,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_setScore__P2325_mk(s); - s.tmp_0.arg0 = globals.player1___2340; + s.tmp_0 = info_PlayerInfo_setScore__P23048_mk(s); + s.tmp_0.arg0 = globals.player1___23063; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 764; s.pc = 1; return s.tmp_0; case 1: @@ -26283,12 +26284,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_setScore__P2289.info = {"start":7438,"length":80,"line":253,"column":4,"endLine":255,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"setScore","argumentNames":["value"]} +info_setScore__P23012.info = {"start":7438,"length":80,"line":253,"column":4,"endLine":255,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"setScore","argumentNames":["value"]} -function info_setScore__P2289_mk(s) { +function info_setScore__P23012_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_setScore__P2289, depth: s.depth + 1, + parent: s, fn: info_setScore__P23012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26298,7 +26299,7 @@ function info_setScore__P2289_mk(s) { -function info_PlayerInfo_setScore__P2325(s) { +function info_PlayerInfo_setScore__P23048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26308,21 +26309,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___14516 = undefined; + s.state___35239 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 786; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.state___14516 = (r0); - r0 = globals.infoState___4170.fields["visibilityFlag"]; + s.state___35239 = (r0); + r0 = globals.infoState___24893.fields["visibilityFlag"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 64); s.tmp_2 = r0; @@ -26332,7 +26333,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = info_updateFlag__P4220_mk(s); + s.tmp_4 = info_updateFlag__P24943_mk(s); s.tmp_4.arg0 = 2; s.tmp_4.arg1 = true; s.callLocIdx = 787; s.pc = 4; return s.tmp_4; @@ -26340,12 +26341,12 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = info_PlayerInfo_score__P2324_mk(s); + s.tmp_0 = info_PlayerInfo_score__P23047_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 788; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = r0 = s.state___14516; + s.tmp_0 = r0 = s.state___35239; r0 = (s.arg1 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["score"] = (s.tmp_1); @@ -26353,19 +26354,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_setScore__P2325.info = {"start":18219,"length":318,"line":600,"column":8,"endLine":608,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"setScore","argumentNames":["this","value"]} +info_PlayerInfo_setScore__P23048.info = {"start":18219,"length":318,"line":600,"column":8,"endLine":608,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"setScore","argumentNames":["this","value"]} -function info_PlayerInfo_setScore__P2325_mk(s) { +function info_PlayerInfo_setScore__P23048_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_setScore__P2325, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_setScore__P23048, 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___14516: undefined, + state___35239: undefined, arg0: undefined, arg1: undefined, } } @@ -26374,7 +26375,7 @@ function info_PlayerInfo_setScore__P2325_mk(s) { -function info_updateFlag__P4220(s) { +function info_updateFlag__P24943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26389,13 +26390,13 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = info_initHUD__P4216_mk(s); + s.tmp_0 = info_initHUD__P24939_mk(s); s.callLocIdx = 767; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.infoState___4170; + s.tmp_0 = r0 = globals.infoState___24893; r0 = s.tmp_0.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 | s.arg0); @@ -26403,8 +26404,8 @@ switch (step) { r0 = (s.tmp_0).fields["visibilityFlag"] = (s.tmp_1); { step = 2; continue; } case 1: - s.tmp_0 = r0 = globals.infoState___4170; - r0 = globals.infoState___4170.fields["visibilityFlag"]; + s.tmp_0 = r0 = globals.infoState___24893; + r0 = globals.infoState___24893.fields["visibilityFlag"]; s.tmp_4 = r0; r0 = (~ s.tmp_4); s.tmp_3 = r0; @@ -26418,12 +26419,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_updateFlag__P4220.info = {"start":11646,"length":204,"line":397,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"updateFlag","argumentNames":["flag","on"]} +info_updateFlag__P24943.info = {"start":11646,"length":204,"line":397,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"updateFlag","argumentNames":["flag","on"]} -function info_updateFlag__P4220_mk(s) { +function info_updateFlag__P24943_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_updateFlag__P4220, depth: s.depth + 1, + parent: s, fn: info_updateFlag__P24943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26438,7 +26439,7 @@ function info_updateFlag__P4220_mk(s) { -function Sprite_setStayInScreen__P2156(s) { +function Sprite_setStayInScreen__P22879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26454,8 +26455,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P2158_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P22881_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; s.tmp_0.arg2 = s.arg1; @@ -26466,12 +26467,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setStayInScreen__P2156.info = {"start":20144,"length":87,"line":655,"column":4,"endLine":657,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setStayInScreen","argumentNames":["this","on"]} +Sprite_setStayInScreen__P22879.info = {"start":20144,"length":87,"line":655,"column":4,"endLine":657,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setStayInScreen","argumentNames":["this","on"]} -function Sprite_setStayInScreen__P2156_mk(s) { +function Sprite_setStayInScreen__P22879_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setStayInScreen__P2156, depth: s.depth + 1, + parent: s, fn: Sprite_setStayInScreen__P22879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26482,7 +26483,7 @@ function Sprite_setStayInScreen__P2156_mk(s) { -function controller_moveSprite__P1955(s) { +function controller_moveSprite__P22678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26498,8 +26499,8 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller_moveSprite__P1942_mk(s); - s.tmp_1 = controller__player1__P1920_mk(s); + s.tmp_0 = controller_Controller_moveSprite__P22665_mk(s); + s.tmp_1 = controller__player1__P22643_mk(s); s.callLocIdx = 229; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -26514,12 +26515,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_moveSprite__P1955.info = {"start":12781,"length":133,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} +controller_moveSprite__P22678.info = {"start":12781,"length":133,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} -function controller_moveSprite__P1955_mk(s) { +function controller_moveSprite__P22678_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_moveSprite__P1955, depth: s.depth + 1, + parent: s, fn: controller_moveSprite__P22678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26532,7 +26533,7 @@ function controller_moveSprite__P1955_mk(s) { -function controller_Controller_moveSprite__P1942(s) { +function controller_Controller_moveSprite__P22665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26542,7 +26543,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cp___13076 = undefined; + s.cp___33799 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26551,7 +26552,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -26561,7 +26562,7 @@ switch (step) { { step = 15; continue; } case 1: case 2: - s.tmp_5 = controller_Controller__controlledSprites__P1931_mk(s); + s.tmp_5 = controller_Controller__controlledSprites__P22654_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 190; s.pc = 16; return s.tmp_5; case 16: @@ -26573,7 +26574,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_6 = controller_Controller__controlledSprites__P1932_mk(s); + s.tmp_6 = controller_Controller__controlledSprites__P22655_mk(s); s.tmp_6.arg0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_6.arg1 = r0; @@ -26582,11 +26583,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkAction(1, cp_inline__P13079); + r0 = pxsim_pxtcore_mkAction(1, cp_inline__P33802); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFind__P111_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P1931_mk(s); + s.tmp_1 = helpers_arrayFind__P20834_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P22654_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 192; s.pc = 19; return s.tmp_2; case 19: @@ -26596,16 +26597,16 @@ switch (step) { s.callLocIdx = 193; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.cp___13076 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cp___13076); + s.cp___33799 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cp___33799); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C1922_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C22645_VT); s.tmp_2 = r0; - s.tmp_3 = controller_ControlledSprite_constructor__P1924_mk(s); + s.tmp_3 = controller_ControlledSprite_constructor__P22647_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; @@ -26613,17 +26614,17 @@ switch (step) { s.callLocIdx = 194; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.cp___13076 = (s.tmp_2); - s.tmp_1 = controller_Controller__controlledSprites__P1931_mk(s); + s.cp___33799 = (s.tmp_2); + s.tmp_1 = controller_Controller__controlledSprites__P22654_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 195; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.cp___13076); + r0 = pxsim_Array__push(s.tmp_0, s.cp___33799); case 5: case 6: - r0 = s.cp___13076.fields["vx"]; + r0 = s.cp___33799.fields["vx"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } @@ -26636,8 +26637,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - s.tmp_2 = Sprite_vx__P2106_mk(s); - r0 = s.cp___13076.fields["s"]; + s.tmp_2 = Sprite_vx__P22829_mk(s); + r0 = s.cp___33799.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 196; s.pc = 22; return s.tmp_2; @@ -26645,7 +26646,7 @@ switch (step) { r0 = s.retval; case 9: case 10: - r0 = s.cp___13076.fields["vy"]; + r0 = s.cp___33799.fields["vy"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } @@ -26658,8 +26659,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = Sprite_vy__P2108_mk(s); - r0 = s.cp___13076.fields["s"]; + s.tmp_2 = Sprite_vy__P22831_mk(s); + r0 = s.cp___33799.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 197; s.pc = 23; return s.tmp_2; @@ -26667,19 +26668,19 @@ switch (step) { r0 = s.retval; case 13: case 14: - r0 = (s.cp___13076).fields["vx"] = (s.arg2); - r0 = (s.cp___13076).fields["vy"] = (s.arg3); + r0 = (s.cp___33799).fields["vx"] = (s.arg2); + r0 = (s.cp___33799).fields["vy"] = (s.arg3); case 15: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller_moveSprite__P1942.info = {"start":4656,"length":608,"line":166,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["this","sprite","vx","vy"]} +controller_Controller_moveSprite__P22665.info = {"start":4656,"length":608,"line":166,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["this","sprite","vx","vy"]} -function controller_Controller_moveSprite__P1942_mk(s) { +function controller_Controller_moveSprite__P22665_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_moveSprite__P1942, depth: s.depth + 1, + parent: s, fn: controller_Controller_moveSprite__P22665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26688,7 +26689,7 @@ function controller_Controller_moveSprite__P1942_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - cp___13076: undefined, + cp___33799: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26699,7 +26700,7 @@ function controller_Controller_moveSprite__P1942_mk(s) { -function cp_inline__P13079(s) { +function cp_inline__P33802(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26722,12 +26723,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -cp_inline__P13079.info = {"start":4876,"length":26,"line":169,"column":50,"endLine":169,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} +cp_inline__P33802.info = {"start":4876,"length":26,"line":169,"column":50,"endLine":169,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} -function cp_inline__P13079_mk(s) { +function cp_inline__P33802_mk(s) { checkStack(s.depth); return { - parent: s, fn: cp_inline__P13079, depth: s.depth + 1, + parent: s, fn: cp_inline__P33802, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26738,7 +26739,7 @@ function cp_inline__P13079_mk(s) { -function controller_ControlledSprite_constructor__P1924(s) { +function controller_ControlledSprite_constructor__P22647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26756,7 +26757,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ControlledSprite__C1922_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ControlledSprite__C22645_VT)) failedCast(r0); r0 = (s.arg0).fields["s"] = (s.arg1); r0 = (s.arg0).fields["vx"] = (s.arg2); r0 = (s.arg0).fields["vy"] = (s.arg3); @@ -26764,12 +26765,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_ControlledSprite_constructor__P1924.info = {"start":979,"length":117,"line":36,"column":8,"endLine":40,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} +controller_ControlledSprite_constructor__P22647.info = {"start":979,"length":117,"line":36,"column":8,"endLine":40,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} -function controller_ControlledSprite_constructor__P1924_mk(s) { +function controller_ControlledSprite_constructor__P22647_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ControlledSprite_constructor__P1924, depth: s.depth + 1, + parent: s, fn: controller_ControlledSprite_constructor__P22647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26781,7 +26782,7 @@ function controller_ControlledSprite_constructor__P1924_mk(s) { -function helpers_arrayFind__P111(s) { +function helpers_arrayFind__P20834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26791,28 +26792,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___13126 = undefined; - s.i___13129 = undefined; - s.v___13134 = undefined; + s.len___33849 = undefined; + s.i___33852 = undefined; + s.v___33857 = 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___13126 = (r0); - s.i___13129 = (0); + s.len___33849 = (r0); + s.i___33852 = (0); case 1: - r0 = (s.i___13129 < s.len___13126); + r0 = (s.i___33852 < s.len___33849); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___13129); - s.v___13134 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___33852); + s.v___33857 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___13134; - s.tmp_1.arg1 = s.i___13129; + s.tmp_1.arg0 = s.v___33857; + s.tmp_1.arg1 = s.i___33852; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 8; s.pc = 6; return s.tmp_1; case 6: @@ -26820,12 +26821,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = s.v___13134; + r0 = s.v___33857; { step = 5; continue; } case 2: case 3: - r0 = (s.i___13129 + 1); - s.i___13129 = (r0); + r0 = (s.i___33852 + 1); + s.i___33852 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -26833,18 +26834,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayFind__P111.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} +helpers_arrayFind__P20834.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} -function helpers_arrayFind__P111_mk(s) { +function helpers_arrayFind__P20834_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFind__P111, depth: s.depth + 1, + parent: s, fn: helpers_arrayFind__P20834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___13126: undefined, - i___13129: undefined, - v___13134: undefined, + len___33849: undefined, + i___33852: undefined, + v___33857: undefined, arg0: undefined, arg1: undefined, } } @@ -26853,7 +26854,7 @@ function helpers_arrayFind__P111_mk(s) { -function sprites_create__P2043(s) { +function sprites_create__P22766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26863,51 +26864,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___13147 = undefined; - s.sprite___13150 = undefined; + s.scene___33870 = undefined; + s.sprite___33873 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2609_mk(s); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 265; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___13147 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C2092_VT); + s.scene___33870 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C22815_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P2129_mk(s); + s.tmp_1 = Sprite_constructor__P22852_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 266; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___13150 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P2147_mk(s); - s.tmp_0.arg0 = s.sprite___13150; + s.sprite___33873 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P22870_mk(s); + s.tmp_0.arg0 = s.sprite___33873; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 267; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C2238_v0_2_mk(s); - r0 = s.scene___13147.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C22961_v0_2_mk(s); + r0 = s.scene___33870.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___13150; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2238_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___33873; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C22961_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__P13165); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P33888); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P13172); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P33895); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___13150); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___13147.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___33873); + s.tmp_2 = helpers_arrayForEach__P20832_mk(s); + s.tmp_3 = helpers_arrayFilter__P20833_mk(s); + r0 = s.scene___33870.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 268; s.pc = 6; return s.tmp_3; @@ -26918,23 +26919,23 @@ switch (step) { s.callLocIdx = 270; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___13150; + r0 = s.sprite___33873; return leave(s, r0) default: oops() } } } -sprites_create__P2043.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__P22766.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__P2043_mk(s) { +function sprites_create__P22766_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P2043, depth: s.depth + 1, + parent: s, fn: sprites_create__P22766, 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___13147: undefined, - sprite___13150: undefined, + scene___33870: undefined, + sprite___33873: undefined, arg0: undefined, arg1: undefined, } } @@ -26943,7 +26944,7 @@ function sprites_create__P2043_mk(s) { -function forEach_inline__P13165(s) { +function forEach_inline__P33888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26963,12 +26964,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P13165.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__P33888.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__P13165_mk(s) { +function forEach_inline__P33888_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P13165, depth: s.depth + 1, + parent: s, fn: forEach_inline__P33888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26978,7 +26979,7 @@ function forEach_inline__P13165_mk(s) { -function sprites_create_inline__P13172(s) { +function sprites_create_inline__P33895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27010,12 +27011,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P13172.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__P33895.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__P13172_mk(s) { +function sprites_create_inline__P33895_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P13172, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P33895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27025,7 +27026,7 @@ function sprites_create_inline__P13172_mk(s) { -function PhysicsEngine_addSprite__P2240(s) { +function PhysicsEngine_addSprite__P22963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27041,17 +27042,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2238_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C22961_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P2240.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__P22963.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__P2240_mk(s) { +function PhysicsEngine_addSprite__P22963_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P2240, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P22963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27061,7 +27062,7 @@ function PhysicsEngine_addSprite__P2240_mk(s) { -function Sprite_setKind__P2147(s) { +function Sprite_setKind__P22870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27071,15 +27072,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___13191 = undefined; - s.overlapMap___13220 = undefined; + s.spritesByKind___33914 = undefined; + s.overlapMap___33943 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -27098,12 +27099,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P2609_mk(s); + s.tmp_3 = game_currentScene__P23332_mk(s); s.callLocIdx = 335; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___13191 = (r0); + s.spritesByKind___33914 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -27115,16 +27116,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___13191, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___33914, 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__P2197_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P22920_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___13191, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___33914, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 336; s.pc = 17; return s.tmp_4; @@ -27136,7 +27137,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___13191, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___33914, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -27144,18 +27145,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__C2190_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C22913_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P2192_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P22915_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 337; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___13191, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___33914, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P2195_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___13191, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P22918_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___33914, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 338; s.pc = 19; return s.tmp_0; @@ -27163,13 +27164,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P2609_mk(s); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 339; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___13220 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___13220, s.arg1); + s.overlapMap___33943 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___33943, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -27177,7 +27178,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___13220; + s.tmp_3 = r0 = s.overlapMap___33943; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -27185,7 +27186,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___13220, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___33943, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -27194,12 +27195,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P2147.info = {"start":11167,"length":663,"line":404,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P22870.info = {"start":11167,"length":663,"line":404,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P2147_mk(s) { +function Sprite_setKind__P22870_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P2147, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P22870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27207,8 +27208,8 @@ function Sprite_setKind__P2147_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___13191: undefined, - overlapMap___13220: undefined, + spritesByKind___33914: undefined, + overlapMap___33943: undefined, arg0: undefined, arg1: undefined, } } @@ -27217,7 +27218,7 @@ function Sprite_setKind__P2147_mk(s) { -function sprites_SpriteSet_remove__P2197(s) { +function sprites_SpriteSet_remove__P22920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27227,26 +27228,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___13268 = undefined; + s.i___33991 = 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__C2190_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C22913_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___13268 = (r0); - r0 = (s.i___13268 > -1); + s.i___33991 = (r0); + r0 = (s.i___33991 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P100_mk(s); + s.tmp_1 = helpers_arraySplice__P20823_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___13268; + s.tmp_1.arg1 = s.i___33991; s.tmp_1.arg2 = 1; s.callLocIdx = 490; s.pc = 4; return s.tmp_1; case 4: @@ -27260,16 +27261,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P2197.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__P22920.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__P2197_mk(s) { +function sprites_SpriteSet_remove__P22920_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P2197, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P22920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___13268: undefined, + i___33991: undefined, arg0: undefined, arg1: undefined, } } @@ -27278,7 +27279,7 @@ function sprites_SpriteSet_remove__P2197_mk(s) { -function sprites_SpriteSet_add__P2195(s) { +function sprites_SpriteSet_add__P22918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27294,7 +27295,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2190_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C22913_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -27325,12 +27326,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P2195.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__P22918.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__P2195_mk(s) { +function sprites_SpriteSet_add__P22918_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P2195, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P22918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27346,7 +27347,7 @@ function sprites_SpriteSet_add__P2195_mk(s) { -function sprites_SpriteSet_contains__P2198(s) { +function sprites_SpriteSet_contains__P22921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27362,7 +27363,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2190_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C22913_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -27371,12 +27372,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P2198.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__P22921.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__P2198_mk(s) { +function sprites_SpriteSet_contains__P22921_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P2198, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P22921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27388,7 +27389,7 @@ function sprites_SpriteSet_contains__P2198_mk(s) { -function sprites_SpriteSet_constructor__P2192(s) { +function sprites_SpriteSet_constructor__P22915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27403,7 +27404,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2190_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C22913_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -27412,12 +27413,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P2192.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__P22915.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__P2192_mk(s) { +function sprites_SpriteSet_constructor__P22915_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P2192, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P22915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27428,7 +27429,7 @@ function sprites_SpriteSet_constructor__P2192_mk(s) { -function Sprite_constructor__P2129(s) { +function Sprite_constructor__P22852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27444,15 +27445,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P1888_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P22611_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 289; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -27466,7 +27467,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___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -27485,50 +27486,50 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P2106_mk(s); + s.tmp_0 = Sprite_vx__P22829_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 292; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P2108_mk(s); + s.tmp_0 = Sprite_vy__P22831_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 293; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P2110_mk(s); + s.tmp_0 = Sprite_ax__P22833_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 294; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P2112_mk(s); + s.tmp_0 = Sprite_ay__P22835_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 295; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P2114_mk(s); + s.tmp_0 = Sprite_fx__P22837_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 296; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P2116_mk(s); + s.tmp_0 = Sprite_fy__P22839_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 297; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P2132_mk(s); + s.tmp_0 = Sprite_setImage__P22855_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 298; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P2147_mk(s); + s.tmp_0 = Sprite_setKind__P22870_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 299; s.pc = 9; return s.tmp_0; @@ -27548,12 +27549,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P2129.info = {"start":5445,"length":618,"line":208,"column":4,"endLine":228,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P22852.info = {"start":5445,"length":618,"line":208,"column":4,"endLine":228,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P2129_mk(s) { +function Sprite_constructor__P22852_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P2129, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P22852, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27570,7 +27571,7 @@ function Sprite_constructor__P2129_mk(s) { -function Sprite_setImage__P2132(s) { +function Sprite_setImage__P22855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27586,7 +27587,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -27597,7 +27598,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite_setHitbox__P2133_mk(s); + s.tmp_0 = Sprite_setHitbox__P22856_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 300; s.pc = 4; return s.tmp_0; case 4: @@ -27607,12 +27608,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P2132.info = {"start":7092,"length":133,"line":258,"column":4,"endLine":262,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P22855.info = {"start":7092,"length":133,"line":258,"column":4,"endLine":262,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P2132_mk(s) { +function Sprite_setImage__P22855_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P2132, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P22855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27624,7 +27625,7 @@ function Sprite_setImage__P2132_mk(s) { -function Sprite_setHitbox__P2133(s) { +function Sprite_setHitbox__P22856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27634,29 +27635,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___13347 = undefined; - s.oMinX___13361 = undefined; - s.oMinY___13365 = undefined; - s.oMaxX___13369 = undefined; - s.oMaxY___13376 = undefined; - s.nMinX___13383 = undefined; - s.nMinY___13386 = undefined; - s.nMaxX___13389 = undefined; - s.nMaxY___13395 = undefined; - s.xDiff___13401 = undefined; - s.yDiff___13412 = undefined; + s.newHitBox___34070 = undefined; + s.oMinX___34084 = undefined; + s.oMinY___34088 = undefined; + s.oMaxX___34092 = undefined; + s.oMaxY___34099 = undefined; + s.nMinX___34106 = undefined; + s.nMinY___34109 = undefined; + s.nMaxX___34112 = undefined; + s.nMaxY___34118 = undefined; + s.xDiff___34124 = undefined; + s.yDiff___34135 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = game_calculateHitBox__P2002_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = game_calculateHitBox__P22725_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 301; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.newHitBox___13347 = (r0); + s.newHitBox___34070 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -27668,7 +27669,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_3 = game_Hitbox_isValid__P2001_mk(s); + s.tmp_3 = game_Hitbox_isValid__P22724_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 302; s.pc = 11; return s.tmp_3; @@ -27679,95 +27680,95 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___13347); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___34070); { step = 9; continue; } case 3: case 4: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___13361 = (r0); + s.oMinX___34084 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___13365 = (r0); + s.oMinY___34088 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___13361 + s.tmp_0); - s.oMaxX___13369 = (r0); + r0 = (s.oMinX___34084 + s.tmp_0); + s.oMaxX___34092 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___13365 + s.tmp_0); - s.oMaxY___13376 = (r0); - r0 = s.newHitBox___13347.fields["ox"]; - s.nMinX___13383 = (r0); - r0 = s.newHitBox___13347.fields["oy"]; - s.nMinY___13386 = (r0); - r0 = s.newHitBox___13347.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___13383 + s.tmp_0); - s.nMaxX___13389 = (r0); - r0 = s.newHitBox___13347.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___13386 + s.tmp_0); - s.nMaxY___13395 = (r0); - s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinX___13361 - s.nMinX___13383); + r0 = (s.oMinY___34088 + s.tmp_0); + s.oMaxY___34099 = (r0); + r0 = s.newHitBox___34070.fields["ox"]; + s.nMinX___34106 = (r0); + r0 = s.newHitBox___34070.fields["oy"]; + s.nMinY___34109 = (r0); + r0 = s.newHitBox___34070.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___34106 + s.tmp_0); + s.nMaxX___34112 = (r0); + r0 = s.newHitBox___34070.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___34109 + s.tmp_0); + s.nMaxY___34118 = (r0); + s.tmp_1 = Fx_abs__P20888_mk(s); + r0 = (s.oMinX___34084 - s.nMinX___34106); s.tmp_1.arg0 = r0; s.callLocIdx = 308; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P165_mk(s); - r0 = (s.oMaxX___13369 - s.nMaxX___13389); + s.tmp_3 = Fx_abs__P20888_mk(s); + r0 = (s.oMaxX___34092 - s.nMaxX___34112); s.tmp_3.arg0 = r0; s.callLocIdx = 310; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___13401 = (r0); - s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinY___13365 - s.nMinY___13386); + s.xDiff___34124 = (r0); + s.tmp_1 = Fx_abs__P20888_mk(s); + r0 = (s.oMinY___34088 - s.nMinY___34109); s.tmp_1.arg0 = r0; s.callLocIdx = 313; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P165_mk(s); - r0 = (s.oMaxY___13376 - s.nMaxY___13395); + s.tmp_3 = Fx_abs__P20888_mk(s); + r0 = (s.oMaxY___34099 - s.nMaxY___34118); s.tmp_3.arg0 = r0; s.callLocIdx = 315; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___13412 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___13347); - r0 = (s.xDiff___13401 <= 512); + s.yDiff___34135 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___34070); + r0 = (s.xDiff___34124 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["ox"] = (s.oMinX___13361); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___34084); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___13369 - s.oMinX___13361); + r0 = (s.oMaxX___34092 - s.oMinX___34084); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 5: case 6: - r0 = (s.yDiff___13412 <= 512); + r0 = (s.yDiff___34135 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["oy"] = (s.oMinY___13365); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___34088); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___13376 - s.oMinY___13365); + r0 = (s.oMaxY___34099 - s.oMinY___34088); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 7: @@ -27777,29 +27778,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P2133.info = {"start":7231,"length":1324,"line":264,"column":4,"endLine":303,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P22856.info = {"start":7231,"length":1324,"line":264,"column":4,"endLine":303,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P2133_mk(s) { +function Sprite_setHitbox__P22856_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P2133, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P22856, 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, - newHitBox___13347: undefined, - oMinX___13361: undefined, - oMinY___13365: undefined, - oMaxX___13369: undefined, - oMaxY___13376: undefined, - nMinX___13383: undefined, - nMinY___13386: undefined, - nMaxX___13389: undefined, - nMaxY___13395: undefined, - xDiff___13401: undefined, - yDiff___13412: undefined, + newHitBox___34070: undefined, + oMinX___34084: undefined, + oMinY___34088: undefined, + oMaxX___34092: undefined, + oMaxY___34099: undefined, + nMinX___34106: undefined, + nMinY___34109: undefined, + nMaxX___34112: undefined, + nMaxY___34118: undefined, + xDiff___34124: undefined, + yDiff___34135: undefined, arg0: undefined, } } @@ -27807,7 +27808,7 @@ function Sprite_setHitbox__P2133_mk(s) { -function game_calculateHitBox__P2002(s) { +function game_calculateHitBox__P22725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27817,15 +27818,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___13494 = undefined; - s.minX___13497 = undefined; - s.minY___13500 = undefined; - s.maxX___13503 = undefined; - s.maxY___13504 = undefined; - s.c___13505 = undefined; - s.r___13511 = undefined; - s.width___13542 = undefined; - s.height___13548 = undefined; + s.i___34217 = undefined; + s.minX___34220 = undefined; + s.minY___34223 = undefined; + s.maxX___34226 = undefined; + s.maxY___34227 = undefined; + s.c___34228 = undefined; + s.r___34234 = undefined; + s.width___34265 = undefined; + s.height___34271 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -27837,7 +27838,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = game_Hitbox_isValid__P2001_mk(s); + s.tmp_1 = game_Hitbox_isValid__P22724_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 258; s.pc = 12; return s.tmp_1; @@ -27853,90 +27854,90 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___13494 = (r0); - r0 = pxsim_ImageMethods.width(s.i___13494); - s.minX___13497 = (r0); - r0 = pxsim_ImageMethods.height(s.i___13494); - s.minY___13500 = (r0); - s.maxX___13503 = (0); - s.maxY___13504 = (0); - s.c___13505 = (0); + s.i___34217 = (r0); + r0 = pxsim_ImageMethods.width(s.i___34217); + s.minX___34220 = (r0); + r0 = pxsim_ImageMethods.height(s.i___34217); + s.minY___34223 = (r0); + s.maxX___34226 = (0); + s.maxY___34227 = (0); + s.c___34228 = (0); case 5: - s.tmp_1 = r0 = s.c___13505; - r0 = pxsim_ImageMethods.width(s.i___13494); + s.tmp_1 = r0 = s.c___34228; + r0 = pxsim_ImageMethods.width(s.i___34217); 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___13511 = (0); + s.r___34234 = (0); case 6: - s.tmp_1 = r0 = s.r___13511; - r0 = pxsim_ImageMethods.height(s.i___13494); + s.tmp_1 = r0 = s.r___34234; + r0 = pxsim_ImageMethods.height(s.i___34217); 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___13494, s.c___13505, s.r___13511); + r0 = pxsim_ImageMethods.getPixel(s.i___34217, s.c___34228, s.r___34234); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Math_min__P131_mk(s); - s.tmp_4.arg0 = s.minX___13497; - s.tmp_4.arg1 = s.c___13505; + s.tmp_4 = Math_min__P20854_mk(s); + s.tmp_4.arg0 = s.minX___34220; + s.tmp_4.arg1 = s.c___34228; s.callLocIdx = 260; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___13497 = (r0); - s.tmp_0 = Math_min__P131_mk(s); - s.tmp_0.arg0 = s.minY___13500; - s.tmp_0.arg1 = s.r___13511; + s.minX___34220 = (r0); + s.tmp_0 = Math_min__P20854_mk(s); + s.tmp_0.arg0 = s.minY___34223; + s.tmp_0.arg1 = s.r___34234; s.callLocIdx = 261; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___13500 = (r0); - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_0.arg0 = s.maxX___13503; - s.tmp_0.arg1 = s.c___13505; + s.minY___34223 = (r0); + s.tmp_0 = Math_max__P20853_mk(s); + s.tmp_0.arg0 = s.maxX___34226; + s.tmp_0.arg1 = s.c___34228; s.callLocIdx = 262; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___13503 = (r0); - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_0.arg0 = s.maxY___13504; - s.tmp_0.arg1 = s.r___13511; + s.maxX___34226 = (r0); + s.tmp_0 = Math_max__P20853_mk(s); + s.tmp_0.arg0 = s.maxY___34227; + s.tmp_0.arg1 = s.r___34234; s.callLocIdx = 263; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___13504 = (r0); + s.maxY___34227 = (r0); case 7: case 8: - r0 = (s.r___13511 + 1); - s.r___13511 = (r0); + r0 = (s.r___34234 + 1); + s.r___34234 = (r0); { step = 6; continue; } case 9: - r0 = (s.c___13505 + 1); - s.c___13505 = (r0); + r0 = (s.c___34228 + 1); + s.c___34228 = (r0); { step = 5; continue; } case 10: - r0 = (s.maxX___13503 - s.minX___13497); + r0 = (s.maxX___34226 - s.minX___34220); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___13542 = (r0); - r0 = (s.maxY___13504 - s.minY___13500); + s.width___34265 = (r0); + r0 = (s.maxY___34227 - s.minY___34223); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___13548 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C1988_VT); + s.height___34271 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C22711_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P1996_mk(s); + s.tmp_1 = game_Hitbox_constructor__P22719_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___13542; - s.tmp_1.arg3 = s.height___13548; - s.tmp_1.arg4 = s.minX___13497; - s.tmp_1.arg5 = s.minY___13500; + s.tmp_1.arg2 = s.width___34265; + s.tmp_1.arg3 = s.height___34271; + s.tmp_1.arg4 = s.minX___34220; + s.tmp_1.arg5 = s.minY___34223; s.callLocIdx = 264; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; @@ -27945,27 +27946,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P2002.info = {"start":1147,"length":761,"line":48,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} +game_calculateHitBox__P22725.info = {"start":1147,"length":761,"line":48,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} -function game_calculateHitBox__P2002_mk(s) { +function game_calculateHitBox__P22725_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P2002, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P22725, 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___13494: undefined, - minX___13497: undefined, - minY___13500: undefined, - maxX___13503: undefined, - maxY___13504: undefined, - c___13505: undefined, - r___13511: undefined, - width___13542: undefined, - height___13548: undefined, + i___34217: undefined, + minX___34220: undefined, + minY___34223: undefined, + maxX___34226: undefined, + maxY___34227: undefined, + c___34228: undefined, + r___34234: undefined, + width___34265: undefined, + height___34271: undefined, arg0: undefined, } } @@ -27973,7 +27974,7 @@ function game_calculateHitBox__P2002_mk(s) { -function Sprite_image__P2131(s) { +function Sprite_image__P22854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27988,18 +27989,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P2131.info = {"start":6816,"length":54,"line":248,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P2131.isGetter = true; +Sprite_image__P22854.info = {"start":6816,"length":54,"line":248,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P22854.isGetter = true; -function Sprite_image__P2131_mk(s) { +function Sprite_image__P22854_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P2131, depth: s.depth + 1, + parent: s, fn: Sprite_image__P22854, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28008,7 +28009,7 @@ function Sprite_image__P2131_mk(s) { -function game_Hitbox_constructor__P1996(s) { +function game_Hitbox_constructor__P22719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28028,7 +28029,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C1988_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C22711_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg1.fields["_image"]; s.tmp_1 = r0; @@ -28068,12 +28069,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P1996.info = {"start":192,"length":351,"line":10,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} +game_Hitbox_constructor__P22719.info = {"start":192,"length":351,"line":10,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} -function game_Hitbox_constructor__P1996_mk(s) { +function game_Hitbox_constructor__P22719_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P1996, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P22719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28090,7 +28091,7 @@ function game_Hitbox_constructor__P1996_mk(s) { -function game_Hitbox_isValid__P2001(s) { +function game_Hitbox_isValid__P22724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28105,7 +28106,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C1988_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C22711_VT)) failedCast(r0); r0 = s.arg0.fields["img"]; s.tmp_1 = r0; r0 = s.arg0.fields["parent"]; @@ -28135,12 +28136,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_isValid__P2001.info = {"start":1017,"length":117,"line":42,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} +game_Hitbox_isValid__P22724.info = {"start":1017,"length":117,"line":42,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} -function game_Hitbox_isValid__P2001_mk(s) { +function game_Hitbox_isValid__P22724_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_isValid__P2001, depth: s.depth + 1, + parent: s, fn: game_Hitbox_isValid__P22724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28158,7 +28159,7 @@ function game_Hitbox_isValid__P2001_mk(s) { -function Fx_abs__P165(s) { +function Fx_abs__P20888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28188,12 +28189,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P165.info = {"start":1506,"length":164,"line":44,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"abs","argumentNames":["a"]} +Fx_abs__P20888.info = {"start":1506,"length":164,"line":44,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"abs","argumentNames":["a"]} -function Fx_abs__P165_mk(s) { +function Fx_abs__P20888_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P165, depth: s.depth + 1, + parent: s, fn: Fx_abs__P20888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28203,7 +28204,7 @@ function Fx_abs__P165_mk(s) { -function Sprite_fy__P2116(s) { +function Sprite_fy__P22839(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28219,9 +28220,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P130_mk(s); + s.tmp_3 = Math_max__P20853_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 287; s.pc = 1; return s.tmp_3; @@ -28237,12 +28238,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P2116.info = {"start":4340,"length":64,"line":157,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P22839.info = {"start":4340,"length":64,"line":157,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P2116_mk(s) { +function Sprite_fy__P22839_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P2116, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P22839, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28257,7 +28258,7 @@ function Sprite_fy__P2116_mk(s) { -function Sprite_fy__P2115(s) { +function Sprite_fy__P22838(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28272,20 +28273,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2115.info = {"start":4178,"length":60,"line":152,"column":4,"endLine":154,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P2115.isGetter = true; +Sprite_fy__P22838.info = {"start":4178,"length":60,"line":152,"column":4,"endLine":154,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P22838.isGetter = true; -function Sprite_fy__P2115_mk(s) { +function Sprite_fy__P22838_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P2115, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P22838, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28295,7 +28296,7 @@ function Sprite_fy__P2115_mk(s) { -function Sprite_fx__P2114(s) { +function Sprite_fx__P22837(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28311,9 +28312,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P130_mk(s); + s.tmp_3 = Math_max__P20853_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 284; s.pc = 1; return s.tmp_3; @@ -28329,12 +28330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P2114.info = {"start":3997,"length":64,"line":147,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P22837.info = {"start":3997,"length":64,"line":147,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P2114_mk(s) { +function Sprite_fx__P22837_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P2114, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P22837, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28349,7 +28350,7 @@ function Sprite_fx__P2114_mk(s) { -function Sprite_fx__P2113(s) { +function Sprite_fx__P22836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28364,20 +28365,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2113.info = {"start":3835,"length":60,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P2113.isGetter = true; +Sprite_fx__P22836.info = {"start":3835,"length":60,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P22836.isGetter = true; -function Sprite_fx__P2113_mk(s) { +function Sprite_fx__P22836_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P2113, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P22836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28387,7 +28388,7 @@ function Sprite_fx__P2113_mk(s) { -function Sprite_ay__P2112(s) { +function Sprite_ay__P22835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28403,7 +28404,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -28414,12 +28415,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P2112.info = {"start":3666,"length":51,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P22835.info = {"start":3666,"length":51,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P2112_mk(s) { +function Sprite_ay__P22835_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P2112, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P22835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28432,7 +28433,7 @@ function Sprite_ay__P2112_mk(s) { -function Sprite_ay__P2111(s) { +function Sprite_ay__P22834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28447,20 +28448,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2111.info = {"start":3500,"length":60,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P2111.isGetter = true; +Sprite_ay__P22834.info = {"start":3500,"length":60,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P22834.isGetter = true; -function Sprite_ay__P2111_mk(s) { +function Sprite_ay__P22834_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P2111, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P22834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28470,7 +28471,7 @@ function Sprite_ay__P2111_mk(s) { -function Sprite_ax__P2110(s) { +function Sprite_ax__P22833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28486,7 +28487,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -28497,12 +28498,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P2110.info = {"start":3327,"length":51,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P22833.info = {"start":3327,"length":51,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P2110_mk(s) { +function Sprite_ax__P22833_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P2110, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P22833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28515,7 +28516,7 @@ function Sprite_ax__P2110_mk(s) { -function Sprite_ax__P2109(s) { +function Sprite_ax__P22832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28530,20 +28531,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2109.info = {"start":3161,"length":60,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P2109.isGetter = true; +Sprite_ax__P22832.info = {"start":3161,"length":60,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P22832.isGetter = true; -function Sprite_ax__P2109_mk(s) { +function Sprite_ax__P22832_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P2109, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P22832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28553,7 +28554,7 @@ function Sprite_ax__P2109_mk(s) { -function info_changeLifeBy__P2294(s) { +function info_changeLifeBy__P23017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28567,8 +28568,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_changeLifeBy__P2330_mk(s); - s.tmp_0.arg0 = globals.player1___2340; + s.tmp_0 = info_PlayerInfo_changeLifeBy__P23053_mk(s); + s.tmp_0.arg0 = globals.player1___23063; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 766; s.pc = 1; return s.tmp_0; case 1: @@ -28577,12 +28578,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_changeLifeBy__P2294.info = {"start":8735,"length":88,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"changeLifeBy","argumentNames":["value"]} +info_changeLifeBy__P23017.info = {"start":8735,"length":88,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"changeLifeBy","argumentNames":["value"]} -function info_changeLifeBy__P2294_mk(s) { +function info_changeLifeBy__P23017_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_changeLifeBy__P2294, depth: s.depth + 1, + parent: s, fn: info_changeLifeBy__P23017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28592,7 +28593,7 @@ function info_changeLifeBy__P2294_mk(s) { -function info_PlayerInfo_changeLifeBy__P2330(s) { +function info_PlayerInfo_changeLifeBy__P23053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28608,10 +28609,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_setLife__P2329_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_setLife__P23052_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = info_PlayerInfo_life__P2328_mk(s); + s.tmp_2 = info_PlayerInfo_life__P23051_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 796; s.pc = 2; return s.tmp_2; case 2: @@ -28626,12 +28627,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_changeLifeBy__P2330.info = {"start":20326,"length":92,"line":669,"column":8,"endLine":671,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"changeLifeBy","argumentNames":["this","value"]} +info_PlayerInfo_changeLifeBy__P23053.info = {"start":20326,"length":92,"line":669,"column":8,"endLine":671,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"changeLifeBy","argumentNames":["this","value"]} -function info_PlayerInfo_changeLifeBy__P2330_mk(s) { +function info_PlayerInfo_changeLifeBy__P23053_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_changeLifeBy__P2330, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_changeLifeBy__P23053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28644,7 +28645,7 @@ function info_PlayerInfo_changeLifeBy__P2330_mk(s) { -function info_PlayerInfo_setLife__P2329(s) { +function info_PlayerInfo_setLife__P23052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28654,21 +28655,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___13676 = undefined; + s.state___34399 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 793; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.state___13676 = (r0); - r0 = globals.infoState___4170.fields["visibilityFlag"]; + s.state___34399 = (r0); + r0 = globals.infoState___24893.fields["visibilityFlag"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 128); s.tmp_2 = r0; @@ -28678,7 +28679,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = info_updateFlag__P4220_mk(s); + s.tmp_4 = info_updateFlag__P24943_mk(s); s.tmp_4.arg0 = 4; s.tmp_4.arg1 = true; s.callLocIdx = 794; s.pc = 4; return s.tmp_4; @@ -28686,12 +28687,12 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = info_PlayerInfo_life__P2328_mk(s); + s.tmp_0 = info_PlayerInfo_life__P23051_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 795; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = r0 = s.state___13676; + s.tmp_0 = r0 = s.state___34399; r0 = (s.arg1 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["life"] = (s.tmp_1); @@ -28699,19 +28700,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_setLife__P2329.info = {"start":19744,"length":319,"line":651,"column":8,"endLine":659,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"setLife","argumentNames":["this","value"]} +info_PlayerInfo_setLife__P23052.info = {"start":19744,"length":319,"line":651,"column":8,"endLine":659,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"setLife","argumentNames":["this","value"]} -function info_PlayerInfo_setLife__P2329_mk(s) { +function info_PlayerInfo_setLife__P23052_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_setLife__P2329, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_setLife__P23052, 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___13676: undefined, + state___34399: undefined, arg0: undefined, arg1: undefined, } } @@ -28720,7 +28721,7 @@ function info_PlayerInfo_setLife__P2329_mk(s) { -function info_PlayerInfo_life__P2328(s) { +function info_PlayerInfo_life__P23051(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28730,19 +28731,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___13650 = undefined; + s.state___34373 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2322_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P23045_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 792; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.state___13650 = (r0); + s.state___34373 = (r0); r0 = s.arg0.fields["showLife"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -28761,16 +28762,16 @@ switch (step) { r0 = (s.arg0).fields["showPlayer"] = (true); case 3: case 4: - r0 = s.state___13650.fields["life"]; + r0 = s.state___34373.fields["life"]; 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 = (s.state___13650).fields["life"] = (3); + r0 = (s.state___34373).fields["life"] = (3); case 5: case 6: - r0 = s.state___13650.fields["life"]; + r0 = s.state___34373.fields["life"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 7; continue; } @@ -28785,16 +28786,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_life__P2328.info = {"start":19192,"length":334,"line":633,"column":8,"endLine":642,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"life","argumentNames":["this"]} +info_PlayerInfo_life__P23051.info = {"start":19192,"length":334,"line":633,"column":8,"endLine":642,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"life","argumentNames":["this"]} -function info_PlayerInfo_life__P2328_mk(s) { +function info_PlayerInfo_life__P23051_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_life__P2328, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_life__P23051, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - state___13650: undefined, + state___34373: undefined, arg0: undefined, } } @@ -28802,7 +28803,7 @@ function info_PlayerInfo_life__P2328_mk(s) { -function info_changeScoreBy__P2290(s) { +function info_changeScoreBy__P23013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28816,8 +28817,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_changeScoreBy__P2326_mk(s); - s.tmp_0.arg0 = globals.player1___2340; + s.tmp_0 = info_PlayerInfo_changeScoreBy__P23049_mk(s); + s.tmp_0.arg0 = globals.player1___23063; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 765; s.pc = 1; return s.tmp_0; case 1: @@ -28826,12 +28827,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_changeScoreBy__P2290.info = {"start":7770,"length":90,"line":265,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"changeScoreBy","argumentNames":["value"]} +info_changeScoreBy__P23013.info = {"start":7770,"length":90,"line":265,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"changeScoreBy","argumentNames":["value"]} -function info_changeScoreBy__P2290_mk(s) { +function info_changeScoreBy__P23013_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_changeScoreBy__P2290, depth: s.depth + 1, + parent: s, fn: info_changeScoreBy__P23013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28841,7 +28842,7 @@ function info_changeScoreBy__P2290_mk(s) { -function info_PlayerInfo_changeScoreBy__P2326(s) { +function info_PlayerInfo_changeScoreBy__P23049(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28857,10 +28858,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_setScore__P2325_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_setScore__P23048_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = info_PlayerInfo_score__P2324_mk(s); + s.tmp_2 = info_PlayerInfo_score__P23047_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 789; s.pc = 2; return s.tmp_2; case 2: @@ -28875,12 +28876,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_changeScoreBy__P2326.info = {"start":18803,"length":95,"line":618,"column":8,"endLine":620,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"changeScoreBy","argumentNames":["this","value"]} +info_PlayerInfo_changeScoreBy__P23049.info = {"start":18803,"length":95,"line":618,"column":8,"endLine":620,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"changeScoreBy","argumentNames":["this","value"]} -function info_PlayerInfo_changeScoreBy__P2326_mk(s) { +function info_PlayerInfo_changeScoreBy__P23049_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_changeScoreBy__P2326, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_changeScoreBy__P23049, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28893,7 +28894,7 @@ function info_PlayerInfo_changeScoreBy__P2326_mk(s) { -function fire_inline__P14544(s) { +function fire_inline__P35267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28903,55 +28904,55 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___14547 = undefined; - s.src___14550 = undefined; + s.factory___35270 = undefined; + s.src___35273 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_FireFactory__C2825_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_FireFactory__C23548_VT); s.tmp_0 = r0; - s.tmp_1 = particles_FireFactory_constructor__P2826_mk(s); + s.tmp_1 = particles_FireFactory_constructor__P23549_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.callLocIdx = 39; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.factory___14547 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(particles_FireSource__C2778_VT); + s.factory___35270 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(particles_FireSource__C23501_VT); s.tmp_0 = r0; - s.tmp_1 = particles_FireSource_constructor__P2779_mk(s); + s.tmp_1 = particles_FireSource_constructor__P23502_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___14547; + s.tmp_1.arg3 = s.factory___35270; s.callLocIdx = 40; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.src___14550 = (s.tmp_0); - s.tmp_0 = particles_ParticleSource_setAcceleration__P2765_mk(s); - s.tmp_0.arg0 = s.src___14550; + s.src___35273 = (s.tmp_0); + s.tmp_0 = particles_ParticleSource_setAcceleration__P23488_mk(s); + s.tmp_0.arg0 = s.src___35273; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = -20; s.callLocIdx = 41; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = s.src___14550; + r0 = s.src___35273; return leave(s, r0) default: oops() } } } -fire_inline__P14544.info = {"start":9582,"length":273,"line":248,"column":53,"endLine":253,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +fire_inline__P35267.info = {"start":9582,"length":273,"line":248,"column":53,"endLine":253,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} -function fire_inline__P14544_mk(s) { +function fire_inline__P35267_mk(s) { checkStack(s.depth); return { - parent: s, fn: fire_inline__P14544, depth: s.depth + 1, + parent: s, fn: fire_inline__P35267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - factory___14547: undefined, - src___14550: undefined, + factory___35270: undefined, + src___35273: undefined, arg0: undefined, arg1: undefined, } } @@ -28960,7 +28961,7 @@ function fire_inline__P14544_mk(s) { -function particles_FireSource_constructor__P2779(s) { +function particles_FireSource_constructor__P23502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28978,8 +28979,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireSource__C2778_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_constructor__P2761_mk(s); + if (!checkSubtype(r0, particles_FireSource__C23501_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_constructor__P23484_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -28987,16 +28988,16 @@ switch (step) { s.callLocIdx = 1336; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2664_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C23387_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P2666_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P23389_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1337; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); - s.tmp_0 = sprites_BaseSprite_z__P1891_mk(s); + s.tmp_0 = sprites_BaseSprite_z__P22614_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 20; s.callLocIdx = 1338; s.pc = 3; return s.tmp_0; @@ -29006,12 +29007,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_FireSource_constructor__P2779.info = {"start":10378,"length":232,"line":342,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} +particles_FireSource_constructor__P23502.info = {"start":10378,"length":232,"line":342,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} -function particles_FireSource_constructor__P2779_mk(s) { +function particles_FireSource_constructor__P23502_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireSource_constructor__P2779, depth: s.depth + 1, + parent: s, fn: particles_FireSource_constructor__P23502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29025,7 +29026,7 @@ function particles_FireSource_constructor__P2779_mk(s) { -function particles_FireFactory_constructor__P2826(s) { +function particles_FireFactory_constructor__P23549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29041,15 +29042,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireFactory__C2825_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_FireFactory__C23548_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P4653_mk(s); + s.tmp_0 = particles_initTrig__P25376_mk(s); s.callLocIdx = 1404; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2664_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C23387_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P2666_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P23389_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1405; s.pc = 2; return s.tmp_1; @@ -29065,12 +29066,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_FireFactory_constructor__P2826.info = {"start":8654,"length":212,"line":282,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","radius"]} +particles_FireFactory_constructor__P23549.info = {"start":8654,"length":212,"line":282,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","radius"]} -function particles_FireFactory_constructor__P2826_mk(s) { +function particles_FireFactory_constructor__P23549_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireFactory_constructor__P2826, depth: s.depth + 1, + parent: s, fn: particles_FireFactory_constructor__P23549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29082,7 +29083,7 @@ function particles_FireFactory_constructor__P2826_mk(s) { -function Sprite_destroy__P2166(s) { +function Sprite_destroy__P22889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29099,7 +29100,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -29117,7 +29118,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__P2870_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P23593_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -29127,7 +29128,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P2167_mk(s); + s.tmp_0 = Sprite__destroyCore__P22890_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 430; s.pc = 7; return s.tmp_0; case 7: @@ -29138,12 +29139,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P2166.info = {"start":25184,"length":293,"line":802,"column":4,"endLine":811,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P22889.info = {"start":25184,"length":293,"line":802,"column":4,"endLine":811,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P2166_mk(s) { +function Sprite_destroy__P22889_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P2166, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P22889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29159,7 +29160,7 @@ function Sprite_destroy__P2166_mk(s) { -function effects_ParticleEffect_destroy__P2870(s) { +function effects_ParticleEffect_destroy__P23593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29177,15 +29178,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C2867_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P2158_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C23590_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P22881_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; s.callLocIdx = 1425; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P2869_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P23592_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -29217,8 +29218,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__P2896_mk(s); - s.tmp_0.arg0 = globals.dissolve___2899; + s.tmp_0 = effects_ImageEffect_applyTo__P23619_mk(s); + s.tmp_0.arg0 = globals.dissolve___23622; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1427; s.pc = 5; return s.tmp_0; case 5: @@ -29227,12 +29228,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P2870.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__P23593.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__P2870_mk(s) { +function effects_ParticleEffect_destroy__P23593_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P2870, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P23593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29250,7 +29251,7 @@ function effects_ParticleEffect_destroy__P2870_mk(s) { -function dissolve_inline__P14693(s) { +function dissolve_inline__P35416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29260,11 +29261,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___14696 = undefined; - s.x___14707 = undefined; - s.y___14713 = undefined; - s.w___14719 = undefined; - s.h___14723 = undefined; + s.i___35419 = undefined; + s.x___35430 = undefined; + s.y___35436 = undefined; + s.w___35442 = undefined; + s.h___35446 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29277,13 +29278,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___14696 = (r0); + s.i___35419 = (r0); case 1: - r0 = (s.i___14696 > 0); + r0 = (s.i___35419 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P2668_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P23391_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -29291,8 +29292,8 @@ switch (step) { s.callLocIdx = 43; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___14707 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P2668_mk(s); + s.x___35430 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P23391_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -29300,56 +29301,56 @@ switch (step) { s.callLocIdx = 44; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___14713 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P2668_mk(s); + s.y___35436 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P23391_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 45; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___14719 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P2668_mk(s); + s.w___35442 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P23391_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 46; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___14723 = (r0); - s.tmp_0 = helpers_imageDrawRect__P1756_mk(s); + s.h___35446 = (r0); + s.tmp_0 = helpers_imageDrawRect__P22479_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___14707; - s.tmp_0.arg2 = s.y___14713; - s.tmp_0.arg3 = s.w___14719; - s.tmp_0.arg4 = s.h___14723; + s.tmp_0.arg1 = s.x___35430; + s.tmp_0.arg2 = s.y___35436; + s.tmp_0.arg3 = s.w___35442; + s.tmp_0.arg4 = s.h___35446; s.tmp_0.arg5 = 0; s.callLocIdx = 47; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___14696 - 1); - s.i___14696 = (r0); + r0 = (s.i___35419 - 1); + s.i___35419 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P14693.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__P35416.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__P14693_mk(s) { +function dissolve_inline__P35416_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P14693, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P35416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___14696: undefined, - x___14707: undefined, - y___14713: undefined, - w___14719: undefined, - h___14723: undefined, + i___35419: undefined, + x___35430: undefined, + y___35436: undefined, + w___35442: undefined, + h___35446: undefined, arg0: undefined, arg1: undefined, } } @@ -29358,7 +29359,7 @@ function dissolve_inline__P14693_mk(s) { -function helpers_imageDrawRect__P1756(s) { +function helpers_imageDrawRect__P22479(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29397,7 +29398,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P1755_mk(s); + s.tmp_0 = helpers_imageDrawLine__P22478_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -29408,7 +29409,7 @@ switch (step) { s.callLocIdx = 121; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1755_mk(s); + s.tmp_0 = helpers_imageDrawLine__P22478_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -29419,7 +29420,7 @@ switch (step) { s.callLocIdx = 122; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1755_mk(s); + s.tmp_0 = helpers_imageDrawLine__P22478_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -29432,7 +29433,7 @@ switch (step) { s.callLocIdx = 123; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1755_mk(s); + s.tmp_0 = helpers_imageDrawLine__P22478_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -29450,12 +29451,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P1756.info = {"start":5233,"length":370,"line":166,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P22479.info = {"start":5233,"length":370,"line":166,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P1756_mk(s) { +function helpers_imageDrawRect__P22479_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P1756, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P22479, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29471,7 +29472,7 @@ function helpers_imageDrawRect__P1756_mk(s) { -function helpers_imageDrawLine__P1755(s) { +function helpers_imageDrawLine__P22478(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29491,14 +29492,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4019_mk(s); + s.tmp_2 = helpers_pack__P24742_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 119; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4019_mk(s); + s.tmp_4 = helpers_pack__P24742_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 120; s.pc = 2; return s.tmp_4; @@ -29510,12 +29511,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P1755.info = {"start":5069,"length":159,"line":163,"column":4,"endLine":165,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P22478.info = {"start":5069,"length":159,"line":163,"column":4,"endLine":165,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P1755_mk(s) { +function helpers_imageDrawLine__P22478_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P1755, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P22478, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29534,7 +29535,7 @@ function helpers_imageDrawLine__P1755_mk(s) { -function effects_ImageEffect_applyTo__P2896(s) { +function effects_ImageEffect_applyTo__P23619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29544,14 +29545,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___14819 = undefined; + s.clonedImage___35542 = 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__C2894_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C23617_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -29577,16 +29578,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___14819 = (r0); - s.tmp_0 = effects_ImageEffect_change__P2897_mk(s); + s.clonedImage___35542 = (r0); + s.tmp_0 = effects_ImageEffect_change__P23620_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___14819; + s.tmp_0.arg1 = s.clonedImage___35542; s.callLocIdx = 1450; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P2132_mk(s); + s.tmp_0 = Sprite_setImage__P22855_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___14819; + s.tmp_0.arg1 = s.clonedImage___35542; s.callLocIdx = 1451; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -29595,12 +29596,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P2896.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__P23619.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__P2896_mk(s) { +function effects_ImageEffect_applyTo__P23619_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P2896, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P23619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29608,7 +29609,7 @@ function effects_ImageEffect_applyTo__P2896_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___14819: undefined, + clonedImage___35542: undefined, arg0: undefined, arg1: undefined, } } @@ -29617,7 +29618,7 @@ function effects_ImageEffect_applyTo__P2896_mk(s) { -function effects_ImageEffect_change__P2897(s) { +function effects_ImageEffect_change__P23620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29633,7 +29634,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C2894_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C23617_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -29654,12 +29655,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P2897.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__P23620.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__P2897_mk(s) { +function effects_ImageEffect_change__P23620_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P2897, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P23620, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29670,7 +29671,7 @@ function effects_ImageEffect_change__P2897_mk(s) { -function effects_ParticleEffect_start__P2869(s) { +function effects_ParticleEffect_start__P23592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29680,7 +29681,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___14843 = undefined; + s.src___35566 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29690,7 +29691,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C2867_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C23590_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -29726,9 +29727,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___14843 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P2767_mk(s); - s.tmp_0.arg0 = s.src___14843; + s.src___35566 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P23490_mk(s); + s.tmp_0.arg0 = s.src___35566; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -29753,7 +29754,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___14843).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___35566).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -29761,19 +29762,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P2869.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__P23592.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__P2869_mk(s) { +function effects_ParticleEffect_start__P23592_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P2869, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P23592, 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___14843: undefined, + src___35566: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29785,7 +29786,7 @@ function effects_ParticleEffect_start__P2869_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P2767(s) { +function particles_ParticleSource_setRelativeToCamera__P23490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29801,7 +29802,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -29827,12 +29828,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P2767.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__P23490.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__P2767_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P23490_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P2767, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P23490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29847,7 +29848,7 @@ function particles_ParticleSource_setRelativeToCamera__P2767_mk(s) { -function Sprite__destroyCore__P2167(s) { +function Sprite__destroyCore__P22890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29857,25 +29858,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14619 = undefined; + s.scene___35342 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2609_mk(s); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 431; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___14619 = (r0); - r0 = s.scene___14619.fields["allSprites"]; + s.scene___35342 = (r0); + r0 = s.scene___35342.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -29887,7 +29888,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___14619.fields["spritesByKind"]; + r0 = s.scene___35342.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -29897,8 +29898,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__P2197_mk(s); - r0 = s.scene___14619.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P22920_mk(s); + r0 = s.scene___35342.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -29910,11 +29911,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = PhysicsEngine__C2238_v1_2_mk(s); - r0 = s.scene___14619.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C22961_v1_2_mk(s); + r0 = s.scene___35342.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2238_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C22961_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: @@ -29938,15 +29939,15 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P14648); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P35371); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P14654); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P35377); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___14619.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P20832_mk(s); + s.tmp_3 = helpers_arrayFilter__P20833_mk(s); + r0 = s.scene___35342.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 438; s.pc = 12; return s.tmp_3; @@ -29961,12 +29962,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P2167.info = {"start":25483,"length":522,"line":813,"column":4,"endLine":825,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P22890.info = {"start":25483,"length":522,"line":813,"column":4,"endLine":825,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P2167_mk(s) { +function Sprite__destroyCore__P22890_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P2167, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P22890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29976,7 +29977,7 @@ function Sprite__destroyCore__P2167_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___14619: undefined, + scene___35342: undefined, arg0: undefined, } } @@ -29984,7 +29985,7 @@ function Sprite__destroyCore__P2167_mk(s) { -function forEach_inline__P14648(s) { +function forEach_inline__P35371(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30006,12 +30007,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P14648.info = {"start":25928,"length":26,"line":823,"column":20,"endLine":823,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P35371.info = {"start":25928,"length":26,"line":823,"column":20,"endLine":823,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P14648_mk(s) { +function forEach_inline__P35371_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P14648, depth: s.depth + 1, + parent: s, fn: forEach_inline__P35371, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30022,7 +30023,7 @@ function forEach_inline__P14648_mk(s) { -function Sprite__destroyCore_inline__P14654(s) { +function Sprite__destroyCore_inline__P35377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30054,12 +30055,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P14654.info = {"start":25977,"length":20,"line":824,"column":21,"endLine":824,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite__destroyCore_inline__P35377.info = {"start":25977,"length":20,"line":824,"column":21,"endLine":824,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite__destroyCore_inline__P14654_mk(s) { +function Sprite__destroyCore_inline__P35377_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P14654, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P35377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30069,7 +30070,7 @@ function Sprite__destroyCore_inline__P14654_mk(s) { -function PhysicsEngine_removeSprite__P2241(s) { +function PhysicsEngine_removeSprite__P22964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30085,17 +30086,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2238_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C22961_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P2241.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__P22964.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__P2241_mk(s) { +function PhysicsEngine_removeSprite__P22964_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P2241, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P22964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30105,7 +30106,7 @@ function PhysicsEngine_removeSprite__P2241_mk(s) { -function Sprite_kind__P2146(s) { +function Sprite_kind__P22869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30120,17 +30121,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P2146.info = {"start":10899,"length":41,"line":393,"column":4,"endLine":395,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P22869.info = {"start":10899,"length":41,"line":393,"column":4,"endLine":395,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P2146_mk(s) { +function Sprite_kind__P22869_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P2146, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P22869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30139,7 +30140,7 @@ function Sprite_kind__P2146_mk(s) { -function sprites_onOverlap__P2185(s) { +function sprites_onOverlap__P22908(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30149,10 +30150,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sc___14895 = undefined; - s.overlapHandlers___14898 = undefined; - s.overlapMap___14901 = undefined; - s.associate___14904 = undefined; + s.sc___35618 = undefined; + s.overlapHandlers___35621 = undefined; + s.overlapMap___35624 = undefined; + s.associate___35627 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30186,21 +30187,21 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_4 = game_currentScene__P2609_mk(s); + s.tmp_4 = game_currentScene__P23332_mk(s); s.callLocIdx = 485; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - s.sc___14895 = (r0); - r0 = s.sc___14895.fields["overlapHandlers"]; - s.overlapHandlers___14898 = (r0); - r0 = s.sc___14895.fields["overlapMap"]; - s.overlapMap___14901 = (r0); - r0 = pxsim_pxtcore_mkAction(1, associate__P14904); + s.sc___35618 = (r0); + r0 = s.sc___35618.fields["overlapHandlers"]; + s.overlapHandlers___35621 = (r0); + r0 = s.sc___35618.fields["overlapMap"]; + s.overlapMap___35624 = (r0); + r0 = pxsim_pxtcore_mkAction(1, associate__P35627); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overlapMap___14901); - s.associate___14904 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overlapMap___35624); + s.associate___35627 = (s.tmp_0); s.tmp_1 = lambda_3_mk(s); - s.tmp_1.argL = s.associate___14904; + s.tmp_1.argL = s.associate___35627; s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; setupLambda(s.tmp_1, s.tmp_1.argL); @@ -30208,16 +30209,16 @@ switch (step) { case 9: r0 = s.retval; s.tmp_0 = lambda_3_mk(s); - s.tmp_0.argL = s.associate___14904; + s.tmp_0.argL = s.associate___35627; s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 487; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_OverlapHandler__C2469_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_OverlapHandler__C23192_VT); s.tmp_0 = r0; - s.tmp_1 = scene_OverlapHandler_constructor__P2470_mk(s); + s.tmp_1 = scene_OverlapHandler_constructor__P23193_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -30225,28 +30226,28 @@ switch (step) { s.callLocIdx = 488; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.overlapHandlers___14898, s.tmp_0); + r0 = pxsim_Array__push(s.overlapHandlers___35621, s.tmp_0); case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_onOverlap__P2185.info = {"start":1605,"length":755,"line":50,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlap","argumentNames":["kind","otherKind","handler"]} +sprites_onOverlap__P22908.info = {"start":1605,"length":755,"line":50,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlap","argumentNames":["kind","otherKind","handler"]} -function sprites_onOverlap__P2185_mk(s) { +function sprites_onOverlap__P22908_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_onOverlap__P2185, depth: s.depth + 1, + parent: s, fn: sprites_onOverlap__P22908, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - sc___14895: undefined, - overlapHandlers___14898: undefined, - overlapMap___14901: undefined, - associate___14904: undefined, + sc___35618: undefined, + overlapHandlers___35621: undefined, + overlapMap___35624: undefined, + associate___35627: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30256,7 +30257,7 @@ function sprites_onOverlap__P2185_mk(s) { -function associate__P14904(s) { +function associate__P35627(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30293,12 +30294,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -associate__P14904.info = {"start":1942,"length":172,"line":56,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"associate","argumentNames":["a","b"]} +associate__P35627.info = {"start":1942,"length":172,"line":56,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"associate","argumentNames":["a","b"]} -function associate__P14904_mk(s) { +function associate__P35627_mk(s) { checkStack(s.depth); return { - parent: s, fn: associate__P14904, depth: s.depth + 1, + parent: s, fn: associate__P35627, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30314,7 +30315,7 @@ function associate__P14904_mk(s) { -function scene_OverlapHandler_constructor__P2470(s) { +function scene_OverlapHandler_constructor__P23193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30332,7 +30333,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_OverlapHandler__C2469_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_OverlapHandler__C23192_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg1); r0 = (s.arg0).fields["otherKind"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -30340,12 +30341,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_OverlapHandler_constructor__P2470.info = {"start":655,"length":171,"line":22,"column":8,"endLine":26,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","kind","otherKind","handler"]} +scene_OverlapHandler_constructor__P23193.info = {"start":655,"length":171,"line":22,"column":8,"endLine":26,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","kind","otherKind","handler"]} -function scene_OverlapHandler_constructor__P2470_mk(s) { +function scene_OverlapHandler_constructor__P23193_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_OverlapHandler_constructor__P2470, depth: s.depth + 1, + parent: s, fn: scene_OverlapHandler_constructor__P23193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30357,7 +30358,7 @@ function scene_OverlapHandler_constructor__P2470_mk(s) { -function helpers_stringTrim__P123(s) { +function helpers_stringTrim__P20846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30367,27 +30368,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___14939 = undefined; - s.end___14940 = undefined; + s.start___35662 = undefined; + s.end___35663 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.start___14939 = (0); + s.start___35662 = (0); r0 = pxsim_String_.length(s.arg0); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.end___14940 = (r0); + s.end___35663 = (r0); case 1: - r0 = (s.start___14939 <= s.end___14940); + r0 = (s.start___35662 <= s.end___35663); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 3; continue; } case 2: - s.tmp_1 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___14939); + s.tmp_1 = helpers_isWhitespace__P20847_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___35662); s.tmp_1.arg0 = r0; s.callLocIdx = 16; s.pc = 9; return s.tmp_1; case 9: @@ -30397,20 +30398,20 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - r0 = (s.start___14939 + 1); - s.start___14939 = (r0); + r0 = (s.start___35662 + 1); + s.start___35662 = (r0); { step = 1; continue; } case 4: case 5: - r0 = (s.end___14940 > s.start___14939); + r0 = (s.end___35663 > s.start___35662); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_1 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.end___14940); + s.tmp_1 = helpers_isWhitespace__P20847_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.end___35663); s.tmp_1.arg0 = r0; s.callLocIdx = 17; s.pc = 10; return s.tmp_1; case 10: @@ -30420,14 +30421,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - r0 = (s.end___14940 - 1); - s.end___14940 = (r0); + r0 = (s.end___35663 - 1); + s.end___35663 = (r0); { step = 5; continue; } case 8: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P20842_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.start___14939; - r0 = (s.end___14940 + 1); + s.tmp_0.arg1 = s.start___35662; + r0 = (s.end___35663 + 1); s.tmp_0.arg2 = r0; s.callLocIdx = 18; s.pc = 11; return s.tmp_0; case 11: @@ -30435,18 +30436,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringTrim__P123.info = {"start":14539,"length":319,"line":491,"column":4,"endLine":501,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} +helpers_stringTrim__P20846.info = {"start":14539,"length":319,"line":491,"column":4,"endLine":501,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} -function helpers_stringTrim__P123_mk(s) { +function helpers_stringTrim__P20846_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringTrim__P123, depth: s.depth + 1, + parent: s, fn: helpers_stringTrim__P20846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - start___14939: undefined, - end___14940: undefined, + start___35662: undefined, + end___35663: undefined, arg0: undefined, } } @@ -30454,7 +30455,7 @@ function helpers_stringTrim__P123_mk(s) { -function helpers__registerFactory__P2935(s) { +function helpers__registerFactory__P23658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30469,31 +30470,31 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___4706); + r0 = pxsim_numops_toBoolDecr(globals.factories___25429); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals.factories___4706 = (r0); + globals.factories___25429 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "kind", s.arg0); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "factory", s.arg1); - r0 = pxsim_Array__push(globals.factories___4706, s.tmp_0); + r0 = pxsim_Array__push(globals.factories___25429, s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers__registerFactory__P2935.info = {"start":1690,"length":201,"line":50,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_registerFactory","argumentNames":["kind","factory"]} +helpers__registerFactory__P23658.info = {"start":1690,"length":201,"line":50,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_registerFactory","argumentNames":["kind","factory"]} -function helpers__registerFactory__P2935_mk(s) { +function helpers__registerFactory__P23658_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers__registerFactory__P2935, depth: s.depth + 1, + parent: s, fn: helpers__registerFactory__P23658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30505,7 +30506,7 @@ function helpers__registerFactory__P2935_mk(s) { -function game_eventContext__P2612(s) { +function game_eventContext__P23335(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30515,21 +30516,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P4297_mk(s); + s.tmp_0 = game_init__P25020_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1072; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___4289.fields["eventContext"]; + r0 = globals._scene___25012.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P2612.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P23335.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function game_eventContext__P2612_mk(s) { +function game_eventContext__P23335_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P2612, depth: s.depth + 1, + parent: s, fn: game_eventContext__P23335, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -30538,7 +30539,7 @@ function game_eventContext__P2612_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P1985(s) { +function controller_pauseUntilAnyButtonIsPressed__P22708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30558,12 +30559,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P1985.info = {"start":6288,"length":96,"line":190,"column":4,"endLine":192,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P22708.info = {"start":6288,"length":96,"line":190,"column":4,"endLine":192,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} -function controller_pauseUntilAnyButtonIsPressed__P1985_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P22708_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P1985, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P22708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -30571,7 +30572,7 @@ function controller_pauseUntilAnyButtonIsPressed__P1985_mk(s) { -function game_setWaitAnyButton__P2610(s) { +function game_setWaitAnyButton__P23333(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30585,17 +30586,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___4293 = (s.arg0); + globals.__waitAnyButton___25016 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P2610.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P23333.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -function game_setWaitAnyButton__P2610_mk(s) { +function game_setWaitAnyButton__P23333_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P2610, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P23333, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30604,7 +30605,7 @@ function game_setWaitAnyButton__P2610_mk(s) { -function Math_FastRandom_constructor__P2666(s) { +function Math_FastRandom_constructor__P23389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30620,7 +30621,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2664_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C23387_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -30635,12 +30636,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P2666.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__P23389.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__P2666_mk(s) { +function Math_FastRandom_constructor__P23389_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P2666, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P23389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30651,7 +30652,7 @@ function Math_FastRandom_constructor__P2666_mk(s) { -function game_consoleOverlay_listener__P4622(s) { +function game_consoleOverlay_listener__P25345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30666,7 +30667,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4587); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___25310); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -30686,9 +30687,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P109_mk(s); - s.tmp_5 = helpers_arrayFilter__P110_mk(s); - s.tmp_6 = helpers_stringSplit__P122_mk(s); + s.tmp_4 = helpers_arrayForEach__P20832_mk(s); + s.tmp_5 = helpers_arrayFilter__P20833_mk(s); + s.tmp_6 = helpers_stringSplit__P20845_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -30696,27 +30697,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P15023; + s.tmp_5.arg1 = forEach_inline__P35746; s.callLocIdx = 1274; 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__P15028; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P35751; s.callLocIdx = 1276; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___4587); + r0 = pxsim_Array__length(globals.consoleStrings___25310); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___4600); + r0 = (s.tmp_1 > globals.consoleLines___25323); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P100_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___4587; + s.tmp_2 = helpers_arraySplice__P20823_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___25310; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___4587); + r0 = pxsim_Array__length(globals.consoleStrings___25310); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___4600); + r0 = (s.tmp_3 - globals.consoleLines___25323); s.tmp_2.arg2 = r0; s.callLocIdx = 1277; s.pc = 11; return s.tmp_2; case 11: @@ -30728,12 +30729,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P4622.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__P25345.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__P4622_mk(s) { +function game_consoleOverlay_listener__P25345_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P4622, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P25345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30750,7 +30751,7 @@ function game_consoleOverlay_listener__P4622_mk(s) { -function forEach_inline__P15023(s) { +function forEach_inline__P35746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30774,12 +30775,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P15023.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__P35746.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__P15023_mk(s) { +function forEach_inline__P35746_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P15023, depth: s.depth + 1, + parent: s, fn: forEach_inline__P35746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30791,7 +30792,7 @@ function forEach_inline__P15023_mk(s) { -function game_consoleOverlay_listener_inline__P15028(s) { +function game_consoleOverlay_listener_inline__P35751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30801,45 +30802,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___15030 = undefined; + s.j___35753 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___15030 = (0); + s.j___35753 = (0); case 1: - s.tmp_1 = r0 = s.j___15030; + s.tmp_1 = r0 = s.j___35753; 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___4587; - s.tmp_5 = helpers_stringSlice__P119_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___25310; + s.tmp_5 = helpers_stringSlice__P20842_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___15030; - r0 = (s.j___15030 + globals.consoleColumns___4610); + s.tmp_5.arg1 = s.j___35753; + r0 = (s.j___35753 + globals.consoleColumns___25333); s.tmp_5.arg2 = r0; s.callLocIdx = 1275; 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___15030 + globals.consoleColumns___4610); - s.j___15030 = (r0); + r0 = (s.j___35753 + globals.consoleColumns___25333); + s.j___35753 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P15028.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__P35751.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__P15028_mk(s) { +function game_consoleOverlay_listener_inline__P35751_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P15028, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P35751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30847,7 +30848,7 @@ function game_consoleOverlay_listener_inline__P15028_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___15030: undefined, + j___35753: undefined, arg0: undefined, } } @@ -30855,7 +30856,7 @@ function game_consoleOverlay_listener_inline__P15028_mk(s) { -function console_addListener__P381(s) { +function console_addListener__P21104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30878,7 +30879,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___3918, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___24641, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -30889,18 +30890,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___3918, s.arg0); + r0 = pxsim_Array__push(globals.listeners___24641, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P381.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__P21104.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__P381_mk(s) { +function console_addListener__P21104_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P381, depth: s.depth + 1, + parent: s, fn: console_addListener__P21104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30913,7 +30914,7 @@ function console_addListener__P381_mk(s) { -function listeners_inline__P3917(s) { +function listeners_inline__P24640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30933,12 +30934,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P3917.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__P24640.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__P3917_mk(s) { +function listeners_inline__P24640_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P3917, depth: s.depth + 1, + parent: s, fn: listeners_inline__P24640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30948,7 +30949,7 @@ function listeners_inline__P3917_mk(s) { -function scene_systemMenu_register__P2711(s) { +function scene_systemMenu_register__P23434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30958,15 +30959,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___4541); + r0 = pxsim_numops_toBoolDecr(globals.instance___25264); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P1978_mk(s); - s.tmp_0.arg0 = globals.menu___1911; + s.tmp_0 = controller_Button_onEvent__P22701_mk(s); + s.tmp_0.arg0 = globals.menu___22634; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P2712; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P23435; s.callLocIdx = 1260; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -30975,12 +30976,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P2711.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__P23434.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__P2711_mk(s) { +function scene_systemMenu_register__P23434_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P2711, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P23434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -30989,7 +30990,7 @@ function scene_systemMenu_register__P2711_mk(s) { -function scene_systemMenu_showSystemMenu__P2712(s) { +function scene_systemMenu_showSystemMenu__P23435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30999,27 +31000,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___4541); + r0 = pxsim_numops_toBoolDecr(globals.instance___25264); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P2613_mk(s); + s.tmp_0 = game_pushScene__P23336_mk(s); s.callLocIdx = 1261; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C2700_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C23423_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P2701_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P23424_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P2708; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P23431; s.tmp_1.arg2 = undefined; s.callLocIdx = 1262; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___4541 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P2702_mk(s); - s.tmp_0.arg0 = globals.instance___4541; + globals.instance___25264 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P23425_mk(s); + s.tmp_0.arg0 = globals.instance___25264; s.callLocIdx = 1263; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -31028,12 +31029,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P2712.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__P23435.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__P2712_mk(s) { +function scene_systemMenu_showSystemMenu__P23435_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P2712, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P23435, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31043,7 +31044,7 @@ function scene_systemMenu_showSystemMenu__P2712_mk(s) { -function scene_systemMenu_buildOptionList__P2708(s) { +function scene_systemMenu_buildOptionList__P23431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31053,136 +31054,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___15707 = undefined; + s.options___36430 = undefined; r0 = pxsim_Array__mk(); - s.options___15707 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2692_VT); + s.options___36430 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23415_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2693_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23416_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___2722; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P15715; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P4547; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___23445; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36438; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P25270; s.callLocIdx = 1243; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___15707, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2692_VT); + r0 = pxsim_Array__push(s.options___36430, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23415_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2693_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23416_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___2719; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P15729; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P4546; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___23442; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36452; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P25269; s.callLocIdx = 1245; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___15707, s.tmp_0); + r0 = pxsim_Array__push(s.options___36430, 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__C2692_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23415_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P2693_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P23416_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___2720; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P15744; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P4549; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___23443; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P36467; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P25272; s.callLocIdx = 1248; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___15707, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2692_VT); + r0 = pxsim_Array__push(s.options___36430, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23415_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2693_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23416_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___2725; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P15759; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P4548; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___23448; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36482; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P25271; s.callLocIdx = 1250; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___15707, s.tmp_0); + r0 = pxsim_Array__push(s.options___36430, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2692_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23415_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2693_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23416_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___2726; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P15774; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P4551; + s.tmp_1.arg1 = globals.STATS_ICON___23449; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36497; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P25274; s.callLocIdx = 1251; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___15707, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2692_VT); + r0 = pxsim_Array__push(s.options___36430, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23415_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2693_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23416_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___2724; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P15783; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P4552; + s.tmp_1.arg1 = globals.CONSOLE_ICON___23447; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36506; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P25275; s.callLocIdx = 1253; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___15707, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2692_VT); + r0 = pxsim_Array__push(s.options___36430, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23415_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2693_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23416_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___2723; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P15792; - s.tmp_1.arg3 = scene_systemMenu_sleep__P4553; + s.tmp_1.arg1 = globals.SLEEP_ICON___23446; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36515; + s.tmp_1.arg3 = scene_systemMenu_sleep__P25276; s.callLocIdx = 1254; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___15707, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___4542); + r0 = pxsim_Array__push(s.options___36430, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___25265); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P113_mk(s); - s.tmp_0.arg0 = s.options___15707; - s.tmp_0.arg1 = globals.customMenuOptions___4542; + s.tmp_0 = helpers_arrayConcat__P20836_mk(s); + s.tmp_0.arg0 = s.options___36430; + s.tmp_0.arg1 = globals.customMenuOptions___25265; s.callLocIdx = 1255; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___15707 = (r0); + s.options___36430 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2692_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23415_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2693_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23416_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___2721; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P15805; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P2707; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___23444; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36528; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P23430; s.callLocIdx = 1256; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___15707, s.tmp_0); - r0 = s.options___15707; + r0 = pxsim_Array__push(s.options___36430, s.tmp_0); + r0 = s.options___36430; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P2708.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__P23431.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__P2708_mk(s) { +function scene_systemMenu_buildOptionList__P23431_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P2708, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P23431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___15707: undefined, + options___36430: undefined, } } -function scene_systemMenu_buildOptionList_inline__P15715(s) { +function scene_systemMenu_buildOptionList_inline__P36438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31192,7 +31193,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P1605_mk(s); + s.tmp_3 = music_volume__P22328_mk(s); s.callLocIdx = 1242; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -31212,12 +31213,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P15715.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__P36438.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__P15715_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36438_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P15715, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31229,7 +31230,7 @@ function scene_systemMenu_buildOptionList_inline__P15715_mk(s) { -function scene_systemMenu_buildOptionList_inline__P15729(s) { +function scene_systemMenu_buildOptionList_inline__P36452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31239,7 +31240,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P1605_mk(s); + s.tmp_3 = music_volume__P22328_mk(s); s.callLocIdx = 1244; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -31259,12 +31260,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P15729.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__P36452.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__P15729_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36452_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P15729, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31276,7 +31277,7 @@ function scene_systemMenu_buildOptionList_inline__P15729_mk(s) { -function scene_systemMenu_buildOptionList_inline__P15744(s) { +function scene_systemMenu_buildOptionList_inline__P36467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31286,7 +31287,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___1748; + r0 = globals.brightness___22471; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -31303,12 +31304,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P15744.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__P36467.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__P15744_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36467_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P15744, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31319,7 +31320,7 @@ function scene_systemMenu_buildOptionList_inline__P15744_mk(s) { -function scene_systemMenu_buildOptionList_inline__P15759(s) { +function scene_systemMenu_buildOptionList_inline__P36482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31329,7 +31330,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___1748; + r0 = globals.brightness___22471; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -31346,12 +31347,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P15759.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__P36482.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__P15759_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36482_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P15759, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36482, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31362,7 +31363,7 @@ function scene_systemMenu_buildOptionList_inline__P15759_mk(s) { -function scene_systemMenu_buildOptionList_inline__P15774(s) { +function scene_systemMenu_buildOptionList_inline__P36497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31372,7 +31373,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___2606); + r0 = pxsim_numops_toBoolDecr(globals.stats___23329); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -31385,12 +31386,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P15774.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__P36497.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__P15774_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36497_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P15774, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31399,7 +31400,7 @@ function scene_systemMenu_buildOptionList_inline__P15774_mk(s) { -function scene_systemMenu_buildOptionList_inline__P15783(s) { +function scene_systemMenu_buildOptionList_inline__P36506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31409,7 +31410,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4587); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___25310); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -31430,12 +31431,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P15783.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__P36506.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__P15783_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36506_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P15783, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31448,7 +31449,7 @@ function scene_systemMenu_buildOptionList_inline__P15783_mk(s) { -function scene_systemMenu_buildOptionList_inline__P15792(s) { +function scene_systemMenu_buildOptionList_inline__P36515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31462,12 +31463,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P15792.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__P36515.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__P15792_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36515_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P15792, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -31475,7 +31476,7 @@ function scene_systemMenu_buildOptionList_inline__P15792_mk(s) { -function scene_systemMenu_buildOptionList_inline__P15805(s) { +function scene_systemMenu_buildOptionList_inline__P36528(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31489,12 +31490,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P15805.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__P36528.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__P15805_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36528_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P15805, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36528, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -31502,7 +31503,7 @@ function scene_systemMenu_buildOptionList_inline__P15805_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P4554(s) { +function scene_systemMenu_setScreenBrightnessSupported__P25277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31516,12 +31517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P4554.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__P25277.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__P4554_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P25277_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P4554, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P25277, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -31529,7 +31530,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P4554_mk(s) { -function scene_systemMenu_sleep__P4553(s) { +function scene_systemMenu_sleep__P25276(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31544,12 +31545,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P4553.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__P25276.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__P4553_mk(s) { +function scene_systemMenu_sleep__P25276_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P4553, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P25276, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -31557,7 +31558,7 @@ function scene_systemMenu_sleep__P4553_mk(s) { -function scene_systemMenu_toggleConsole__P4552(s) { +function scene_systemMenu_toggleConsole__P25275(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31567,7 +31568,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4587); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___25310); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -31577,7 +31578,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__P2731_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P23454_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.callLocIdx = 1236; s.pc = 3; return s.tmp_4; @@ -31585,13 +31586,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P2731_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P23454_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.callLocIdx = 1237; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P378_mk(s); + s.tmp_0 = console_log__P21101_mk(s); s.tmp_0.arg0 = "console"; s.callLocIdx = 1238; s.pc = 5; return s.tmp_0; case 5: @@ -31601,12 +31602,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P4552.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__P25275.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__P4552_mk(s) { +function scene_systemMenu_toggleConsole__P25275_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P4552, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P25275, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31619,7 +31620,7 @@ function scene_systemMenu_toggleConsole__P4552_mk(s) { -function game_consoleOverlay_setVisible__P2731(s) { +function game_consoleOverlay_setVisible__P23454(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31635,7 +31636,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4587); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___25310); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -31656,26 +31657,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___4587 = (s.tmp_6); + globals.consoleStrings___25310 = (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___4586 = (s.arg1); + globals.consoleColor___25309 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P2731.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__P23454.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__P2731_mk(s) { +function game_consoleOverlay_setVisible__P23454_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P2731, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P23454, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31692,7 +31693,7 @@ function game_consoleOverlay_setVisible__P2731_mk(s) { -function console_log__P378(s) { +function console_log__P21101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31706,7 +31707,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P374_mk(s); + s.tmp_0 = console_add__P21097_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 38; s.pc = 1; return s.tmp_0; @@ -31716,12 +31717,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P378.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__P21101.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__P378_mk(s) { +function console_log__P21101_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P378, depth: s.depth + 1, + parent: s, fn: console_log__P21101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31731,7 +31732,7 @@ function console_log__P378_mk(s) { -function console_add__P374(s) { +function console_add__P21097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31741,58 +31742,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___15844 = undefined; - s.i___15853 = undefined; + s.text___36567 = undefined; + s.i___36576 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___373); + r0 = (s.arg0 < globals.minPriority___21096); 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__P380_mk(s); + s.tmp_1 = console_inspect__P21103_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 36; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___15844 = (r0); - if ((s.text___15844) && (s.text___15844).vtable) { + s.text___36567 = (r0); + if ((s.text___36567) && (s.text___36567).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___15844); + pxsim_String__stringConv(s.text___36567); checkResumeConsumed(); return; - } else { s.retval = (s.text___15844) + ""; } + } else { s.retval = (s.text___36567) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___15844 = (r0); - s.i___15853 = (0); + s.text___36567 = (r0); + s.i___36576 = (0); case 3: - s.tmp_1 = r0 = s.i___15853; - r0 = pxsim_Array__length(globals.listeners___3918); + s.tmp_1 = r0 = s.i___36576; + r0 = pxsim_Array__length(globals.listeners___24641); 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___3918, s.i___15853); + r0 = pxsim_Array__getAt(globals.listeners___24641, s.i___36576); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___15844; + s.tmp_3.arg1 = s.text___36567; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 37; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___15853 + 1); - s.i___15853 = (r0); + r0 = (s.i___36576 + 1); + s.i___36576 = (r0); { step = 3; continue; } case 4: case 5: @@ -31800,19 +31801,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P374.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__P21097.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__P374_mk(s) { +function console_add__P21097_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P374, depth: s.depth + 1, + parent: s, fn: console_add__P21097, 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___15844: undefined, - i___15853: undefined, + text___36567: undefined, + i___36576: undefined, arg0: undefined, arg1: undefined, } } @@ -31821,7 +31822,7 @@ function console_add__P374_mk(s) { -function scene_systemMenu_toggleStats__P4551(s) { +function scene_systemMenu_toggleStats__P25274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31831,11 +31832,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___2606); + r0 = pxsim_numops_toBoolDecr(globals.stats___23329); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___2606 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___2606); + globals.stats___23329 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___23329); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -31844,14 +31845,14 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___396; + r0 = globals.control_EventContext_onStats___21119; 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___396; + s.tmp_3.argL = globals.control_EventContext_onStats___21119; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); @@ -31864,12 +31865,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P4551.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__P25274.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__P4551_mk(s) { +function scene_systemMenu_toggleStats__P25274_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P4551, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P25274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31881,7 +31882,7 @@ function scene_systemMenu_toggleStats__P4551_mk(s) { -function scene_systemMenu_brightnessDown__P4549(s) { +function scene_systemMenu_brightnessDown__P25272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31891,8 +31892,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P4550_mk(s); - r0 = globals.brightness___1748; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P25273_mk(s); + r0 = globals.brightness___22471; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; @@ -31903,12 +31904,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P4549.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__P25272.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__P4549_mk(s) { +function scene_systemMenu_brightnessDown__P25272_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P4549, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P25272, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31918,7 +31919,7 @@ function scene_systemMenu_brightnessDown__P4549_mk(s) { -function scene_systemMenu_setScreenBrightness__P4550(s) { +function scene_systemMenu_setScreenBrightness__P25273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31932,15 +31933,15 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P1760_mk(s); - s.tmp_0.arg0 = globals.screen___1827; + s.tmp_0 = helpers_setScreenBrightness__P22483_mk(s); + s.tmp_0.arg0 = globals.screen___22550; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1231; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P1856_mk(s); + s.tmp_0 = settings_writeNumber__P22579_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___1748; + r0 = globals.brightness___22471; s.tmp_0.arg1 = r0; s.callLocIdx = 1233; s.pc = 2; return s.tmp_0; case 2: @@ -31949,12 +31950,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P4550.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__P25273.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__P4550_mk(s) { +function scene_systemMenu_setScreenBrightness__P25273_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P4550, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P25273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31964,7 +31965,7 @@ function scene_systemMenu_setScreenBrightness__P4550_mk(s) { -function helpers_setScreenBrightness__P1760(s) { +function helpers_setScreenBrightness__P22483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31979,7 +31980,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P127_mk(s); + s.tmp_0 = Math_clamp__P20850_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -31988,18 +31989,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___1748 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___1748); + globals.brightness___22471 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___22471); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P1760.info = {"start":7335,"length":210,"line":237,"column":4,"endLine":241,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P22483.info = {"start":7335,"length":210,"line":237,"column":4,"endLine":241,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P1760_mk(s) { +function helpers_setScreenBrightness__P22483_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P1760, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P22483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32010,7 +32011,7 @@ function helpers_setScreenBrightness__P1760_mk(s) { -function scene_systemMenu_brightnessUp__P4548(s) { +function scene_systemMenu_brightnessUp__P25271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32020,8 +32021,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P4550_mk(s); - r0 = globals.brightness___1748; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P25273_mk(s); + r0 = globals.brightness___22471; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; @@ -32032,12 +32033,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P4548.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__P25271.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__P4548_mk(s) { +function scene_systemMenu_brightnessUp__P25271_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P4548, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P25271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32047,7 +32048,7 @@ function scene_systemMenu_brightnessUp__P4548_mk(s) { -function scene_systemMenu_volumeDown__P4547(s) { +function scene_systemMenu_volumeDown__P25270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32057,29 +32058,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___16025 = undefined; - s.remainder___16028 = undefined; - s.newVolume___16031 = undefined; - s.tmp_0 = music_volume__P1605_mk(s); + s.v___36748 = undefined; + s.remainder___36751 = undefined; + s.newVolume___36754 = undefined; + s.tmp_0 = music_volume__P22328_mk(s); s.callLocIdx = 1225; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___16025 = (r0); - r0 = (s.v___16025 % 32); - s.remainder___16028 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___16028); + s.v___36748 = (r0); + r0 = (s.v___36748 % 32); + s.remainder___36751 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___36751); if (!r0) { step = 1; continue; } - r0 = s.remainder___16028; + r0 = s.remainder___36751; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___16025 - s.tmp_0); - s.newVolume___16031 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P4545_mk(s); - s.tmp_0.arg0 = s.newVolume___16031; + r0 = (s.v___36748 - s.tmp_0); + s.newVolume___36754 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P25268_mk(s); + s.tmp_0.arg0 = s.newVolume___36754; s.callLocIdx = 1226; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -32087,24 +32088,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P4547.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__P25270.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__P4547_mk(s) { +function scene_systemMenu_volumeDown__P25270_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P4547, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P25270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___16025: undefined, - remainder___16028: undefined, - newVolume___16031: undefined, + v___36748: undefined, + remainder___36751: undefined, + newVolume___36754: undefined, } } -function scene_systemMenu_setVolume__P4545(s) { +function scene_systemMenu_setVolume__P25268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32118,18 +32119,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P1604_mk(s); + s.tmp_0 = music_setVolume__P22327_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1220; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P1606_mk(s); + s.tmp_0 = music_playTone__P22329_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; s.callLocIdx = 1221; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P1856_mk(s); + s.tmp_0 = settings_writeNumber__P22579_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1222; s.pc = 3; return s.tmp_0; @@ -32139,12 +32140,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P4545.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__P25268.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__P4545_mk(s) { +function scene_systemMenu_setVolume__P25268_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P4545, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P25268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32154,7 +32155,7 @@ function scene_systemMenu_setVolume__P4545_mk(s) { -function music_playTone__P1606(s) { +function music_playTone__P22329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32164,7 +32165,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___15957 = undefined; + s.id___36680 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32189,7 +32190,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P3976_mk(s); + s.tmp_2 = music_playNoteCore__P24699_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -32197,7 +32198,7 @@ switch (step) { s.callLocIdx = 70; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P411_mk(s); + s.tmp_0 = pause__P21134_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 71; s.pc = 6; return s.tmp_0; @@ -32205,13 +32206,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___3978 + 1); + r0 = (globals.playToneID___24701 + 1); s.tmp_0 = r0; - globals.playToneID___3978 = (r0); - s.id___15957 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P15963); + globals.playToneID___24701 = (r0); + s.id___36680 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P36686); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___15957); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___36680); 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); @@ -32220,17 +32221,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P1606.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} +music_playTone__P22329.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -function music_playTone__P1606_mk(s) { +function music_playTone__P22329_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P1606, depth: s.depth + 1, + parent: s, fn: music_playTone__P22329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___15957: undefined, + id___36680: undefined, arg0: undefined, arg1: undefined, } } @@ -32239,7 +32240,7 @@ function music_playTone__P1606_mk(s) { -function music_playTone_inline__P15963(s) { +function music_playTone_inline__P36686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32249,14 +32250,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___15964 = undefined; - s.now___15974 = undefined; - s.d___15977 = undefined; - s.t___15981 = undefined; + s.pos___36687 = undefined; + s.now___36697 = undefined; + s.d___36700 = undefined; + s.t___36704 = undefined; r0 = pxsim.control.millis(); - s.pos___15964 = (r0); + s.pos___36687 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___3978); + r0 = (s.caps[0] == globals.playToneID___24701); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -32272,30 +32273,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___15974 = (r0); - r0 = (s.pos___15964 - s.now___15974); - s.d___15977 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.now___36697 = (r0); + r0 = (s.pos___36687 - s.now___36697); + s.d___36700 = (r0); + s.tmp_0 = Math_min__P20854_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 72; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___15981 = (r0); + s.t___36704 = (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___15981); + r0 = (s.tmp_2 - s.t___36704); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___15964 + s.t___15981); - s.pos___15964 = (r0); - s.tmp_0 = music_playNoteCore__P3976_mk(s); - r0 = (s.d___15977 - 1); + r0 = (s.pos___36687 + s.t___36704); + s.pos___36687 = (r0); + s.tmp_0 = music_playNoteCore__P24699_mk(s); + r0 = (s.d___36700 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___15981; + s.tmp_0.arg2 = s.t___36704; s.callLocIdx = 73; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -32305,16 +32306,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P411_mk(s); - r0 = (s.d___15977 + s.t___15981); + s.tmp_2 = pause__P21134_mk(s); + r0 = (s.d___36700 + s.t___36704); s.tmp_2.arg0 = r0; s.callLocIdx = 74; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P411_mk(s); - r0 = (s.d___15977 + s.t___15981); + s.tmp_0 = pause__P21134_mk(s); + r0 = (s.d___36700 + s.t___36704); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -32328,27 +32329,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P15963.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_playTone_inline__P36686.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function music_playTone_inline__P15963_mk(s) { +function music_playTone_inline__P36686_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P15963, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P36686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___15964: undefined, - now___15974: undefined, - d___15977: undefined, - t___15981: undefined, + pos___36687: undefined, + now___36697: undefined, + d___36700: undefined, + t___36704: undefined, } } -function music_playNoteCore__P3976(s) { +function music_playNoteCore__P24699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32358,7 +32359,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___16011 = undefined; + s.buf___36734 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32366,16 +32367,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___16011 = (r0); - s.tmp_0 = music_addNote__P3983_mk(s); - s.tmp_0.arg0 = s.buf___16011; + s.buf___36734 = (r0); + s.tmp_0 = music_addNote__P24706_mk(s); + s.tmp_0.arg0 = s.buf___36734; 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__P1605_mk(s); + s.tmp_1 = music_volume__P22328_mk(s); s.callLocIdx = 68; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -32384,21 +32385,21 @@ switch (step) { s.callLocIdx = 69; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___16011); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___36734); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P3976.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__P24699.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__P3976_mk(s) { +function music_playNoteCore__P24699_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P3976, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P24699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___16011: undefined, + buf___36734: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32408,7 +32409,7 @@ function music_playNoteCore__P3976_mk(s) { -function scene_systemMenu_volumeUp__P4546(s) { +function scene_systemMenu_volumeUp__P25269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32418,22 +32419,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___15925 = undefined; - s.remainder___15928 = undefined; - s.newVolume___15931 = undefined; - s.tmp_0 = music_volume__P1605_mk(s); + s.v___36648 = undefined; + s.remainder___36651 = undefined; + s.newVolume___36654 = undefined; + s.tmp_0 = music_volume__P22328_mk(s); s.callLocIdx = 1223; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___15925 = (r0); - r0 = (s.v___15925 % 32); - s.remainder___15928 = (r0); - r0 = (s.v___15925 + 32); + s.v___36648 = (r0); + r0 = (s.v___36648 % 32); + s.remainder___36651 = (r0); + r0 = (s.v___36648 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___15928); - s.newVolume___15931 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P4545_mk(s); - s.tmp_0.arg0 = s.newVolume___15931; + r0 = (s.tmp_0 - s.remainder___36651); + s.newVolume___36654 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P25268_mk(s); + s.tmp_0.arg0 = s.newVolume___36654; s.callLocIdx = 1224; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -32441,24 +32442,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P4546.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__P25269.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__P4546_mk(s) { +function scene_systemMenu_volumeUp__P25269_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P4546, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P25269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___15925: undefined, - remainder___15928: undefined, - newVolume___15931: undefined, + v___36648: undefined, + remainder___36651: undefined, + newVolume___36654: undefined, } } -function game_consoleOverlay_isVisible__P2729(s) { +function game_consoleOverlay_isVisible__P23452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32468,7 +32469,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4587); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___25310); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -32478,12 +32479,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P2729.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__P23452.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__P2729_mk(s) { +function game_consoleOverlay_isVisible__P23452_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P2729, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P23452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32494,7 +32495,7 @@ function game_consoleOverlay_isVisible__P2729_mk(s) { -function scene_systemMenu_closeMenu__P2707(s) { +function scene_systemMenu_closeMenu__P23430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32504,20 +32505,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___4541); + r0 = pxsim_numops_toBoolDecr(globals.instance___25264); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P2706_mk(s); - s.tmp_0.arg0 = globals.instance___4541; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P23429_mk(s); + s.tmp_0.arg0 = globals.instance___25264; s.callLocIdx = 1239; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___4541 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P1986_mk(s); + globals.instance___25264 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P22709_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1240; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P2614_mk(s); + s.tmp_0 = game_popScene__P23337_mk(s); s.callLocIdx = 1241; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -32527,12 +32528,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P2707.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__P23430.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__P2707_mk(s) { +function scene_systemMenu_closeMenu__P23430_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P2707, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P23430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32541,7 +32542,7 @@ function scene_systemMenu_closeMenu__P2707_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P2706(s) { +function scene_systemMenu_PauseMenu_dispose__P23429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32556,15 +32557,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2700_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23423_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = helpers_arrayForEach__P20832_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P15561; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P36284; s.callLocIdx = 1216; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -32575,12 +32576,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P2706.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__P23429.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__P2706_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P23429_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P2706, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P23429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32591,7 +32592,7 @@ function scene_systemMenu_PauseMenu_dispose__P2706_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P15561(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P36284(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32605,7 +32606,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P2699_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P23422_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1215; s.pc = 1; return s.tmp_0; case 1: @@ -32614,12 +32615,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose_inline__P15561.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__P36284.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__P15561_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P36284_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P15561, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P36284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32629,7 +32630,7 @@ function scene_systemMenu_PauseMenu_dispose_inline__P15561_mk(s) { -function scene_systemMenu_MenuOption_dispose__P2699(s) { +function scene_systemMenu_MenuOption_dispose__P23422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32644,12 +32645,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2692_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23415_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__P2166_mk(s); + s.tmp_1 = Sprite_destroy__P22889_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -32657,7 +32658,7 @@ switch (step) { s.callLocIdx = 1135; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P2166_mk(s); + s.tmp_0 = Sprite_destroy__P22889_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -32673,12 +32674,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P2699.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__P23422.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__P2699_mk(s) { +function scene_systemMenu_MenuOption_dispose__P23422_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P2699, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P23422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32689,7 +32690,7 @@ function scene_systemMenu_MenuOption_dispose__P2699_mk(s) { -function scene_systemMenu_MenuOption_constructor__P2693(s) { +function scene_systemMenu_MenuOption_constructor__P23416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32707,7 +32708,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2692_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23415_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -32715,12 +32716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P2693.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__P23416.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__P2693_mk(s) { +function scene_systemMenu_MenuOption_constructor__P23416_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P2693, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P23416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32732,7 +32733,7 @@ function scene_systemMenu_MenuOption_constructor__P2693_mk(s) { -function helpers_screenBrightness__P1761(s) { +function helpers_screenBrightness__P22484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32746,16 +32747,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___1748; + r0 = globals.brightness___22471; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P1761.info = {"start":7551,"length":98,"line":243,"column":4,"endLine":245,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P22484.info = {"start":7551,"length":98,"line":243,"column":4,"endLine":245,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P1761_mk(s) { +function helpers_screenBrightness__P22484_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P1761, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P22484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -32764,7 +32765,7 @@ function helpers_screenBrightness__P1761_mk(s) { -function helpers_arrayConcat__P113(s) { +function helpers_arrayConcat__P20836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32774,74 +32775,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___15810 = undefined; - s.value___15813 = undefined; - s.unnamed40___U2 = undefined; - s.unnamed41___U3 = undefined; - s.value___15820 = undefined; - s.unnamed42___U5 = undefined; - s.unnamed43___U6 = undefined; + s.out___36533 = undefined; + s.value___36536 = undefined; + s.unnamed120___U2 = undefined; + s.unnamed121___U3 = undefined; + s.value___36543 = undefined; + s.unnamed122___U5 = undefined; + s.unnamed123___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___15810 = (r0); - s.value___15813 = (undefined); - s.unnamed40___U2 = (s.arg0); - s.unnamed41___U3 = (0); + s.out___36533 = (r0); + s.value___36536 = (undefined); + s.unnamed120___U2 = (s.arg0); + s.unnamed121___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed41___U3; - r0 = pxsim_Array__length(s.unnamed40___U2); + s.tmp_0 = r0 = s.unnamed121___U3; + r0 = pxsim_Array__length(s.unnamed120___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed40___U2, s.unnamed41___U3); - s.value___15813 = (r0); - r0 = pxsim_Array__push(s.out___15810, s.value___15813); - r0 = (s.unnamed41___U3 + 1); - s.unnamed41___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed120___U2, s.unnamed121___U3); + s.value___36536 = (r0); + r0 = pxsim_Array__push(s.out___36533, s.value___36536); + r0 = (s.unnamed121___U3 + 1); + s.unnamed121___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed40___U2 = (undefined); - s.value___15820 = (undefined); - s.unnamed42___U5 = (s.arg1); - s.unnamed43___U6 = (0); + s.unnamed120___U2 = (undefined); + s.value___36543 = (undefined); + s.unnamed122___U5 = (s.arg1); + s.unnamed123___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed43___U6; - r0 = pxsim_Array__length(s.unnamed42___U5); + s.tmp_0 = r0 = s.unnamed123___U6; + r0 = pxsim_Array__length(s.unnamed122___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed42___U5, s.unnamed43___U6); - s.value___15820 = (r0); - r0 = pxsim_Array__push(s.out___15810, s.value___15820); - r0 = (s.unnamed43___U6 + 1); - s.unnamed43___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed122___U5, s.unnamed123___U6); + s.value___36543 = (r0); + r0 = pxsim_Array__push(s.out___36533, s.value___36543); + r0 = (s.unnamed123___U6 + 1); + s.unnamed123___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed42___U5 = (undefined); - r0 = s.out___15810; + s.unnamed122___U5 = (undefined); + r0 = s.out___36533; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P113.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} +helpers_arrayConcat__P20836.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} -function helpers_arrayConcat__P113_mk(s) { +function helpers_arrayConcat__P20836_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P113, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P20836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___15810: undefined, - value___15813: undefined, - unnamed40___U2: undefined, - unnamed41___U3: undefined, - value___15820: undefined, - unnamed42___U5: undefined, - unnamed43___U6: undefined, + out___36533: undefined, + value___36536: undefined, + unnamed120___U2: undefined, + unnamed121___U3: undefined, + value___36543: undefined, + unnamed122___U5: undefined, + unnamed123___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -32850,7 +32851,7 @@ function helpers_arrayConcat__P113_mk(s) { -function scene_systemMenu_PauseMenu_show__P2702(s) { +function scene_systemMenu_PauseMenu_show__P23425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32860,14 +32861,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___15108 = undefined; - s.i___15109 = undefined; + s.current___35831 = undefined; + s.i___35832 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2700_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23423_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -32885,9 +32886,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___15109 = (0); + s.i___35832 = (0); case 1: - s.tmp_1 = r0 = s.i___15109; + s.tmp_1 = r0 = s.i___35832; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -32898,22 +32899,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___15109); - s.current___15108 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P2694_mk(s); - s.tmp_0.arg0 = s.current___15108; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___35832); + s.current___35831 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P23417_mk(s); + s.tmp_0.arg0 = s.current___35831; s.callLocIdx = 1149; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P2697_mk(s); - s.tmp_0.arg0 = s.current___15108; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P23420_mk(s); + s.tmp_0.arg0 = s.current___35831; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.callLocIdx = 1150; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P2695_mk(s); - s.tmp_0.arg0 = s.current___15108; + s.tmp_0 = scene_systemMenu_MenuOption_position__P23418_mk(s); + s.tmp_0.arg0 = s.current___35831; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -32928,7 +32929,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___15109; + s.tmp_5 = r0 = s.i___35832; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -32993,7 +32994,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___15109; + s.tmp_17 = r0 = s.i___35832; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -33047,98 +33048,98 @@ switch (step) { s.callLocIdx = 1159; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___15109 + 1); - s.i___15109 = (r0); + r0 = (s.i___35832 + 1); + s.i___35832 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P1986_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P22709_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 1160; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P15172); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35895); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P1978_mk(s); - s.tmp_1.arg0 = globals.A___1905; + s.tmp_1 = controller_Button_onEvent__P22701_mk(s); + s.tmp_1.arg0 = globals.A___22628; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1162; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P15192); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35915); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P1978_mk(s); - s.tmp_1.arg0 = globals.A___1905; + s.tmp_1 = controller_Button_onEvent__P22701_mk(s); + s.tmp_1.arg0 = globals.A___22628; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1164; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P1978_mk(s); - s.tmp_0.arg0 = globals.B___1906; + s.tmp_0 = controller_Button_onEvent__P22701_mk(s); + s.tmp_0.arg0 = globals.B___22629; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P15221; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P35944; s.callLocIdx = 1166; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P1978_mk(s); - s.tmp_0.arg0 = globals.menu___1911; + s.tmp_0 = controller_Button_onEvent__P22701_mk(s); + s.tmp_0.arg0 = globals.menu___22634; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P15226; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P35949; s.callLocIdx = 1168; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P15231); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35954); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P1978_mk(s); - s.tmp_1.arg0 = globals.up___1908; + s.tmp_1 = controller_Button_onEvent__P22701_mk(s); + s.tmp_1.arg0 = globals.up___22631; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1172; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P15243); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35966); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P1978_mk(s); - s.tmp_1.arg0 = globals.left___1907; + s.tmp_1 = controller_Button_onEvent__P22701_mk(s); + s.tmp_1.arg0 = globals.left___22630; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1175; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P15252); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35975); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P1978_mk(s); - s.tmp_1.arg0 = globals.down___1910; + s.tmp_1 = controller_Button_onEvent__P22701_mk(s); + s.tmp_1.arg0 = globals.down___22633; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1179; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P15268); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35991); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P1978_mk(s); - s.tmp_1.arg0 = globals.right___1909; + s.tmp_1 = controller_Button_onEvent__P22701_mk(s); + s.tmp_1.arg0 = globals.right___22632; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1182; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P15280); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P36003); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P2622_mk(s); + s.tmp_1 = game_onShade__P23345_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1185; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2704_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23427_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1186; s.pc = 25; return s.tmp_0; @@ -33148,12 +33149,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P2702.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__P23425.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__P2702_mk(s) { +function scene_systemMenu_PauseMenu_show__P23425_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P2702, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P23425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33180,8 +33181,8 @@ function scene_systemMenu_PauseMenu_show__P2702_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___15108: undefined, - i___15109: undefined, + current___35831: undefined, + i___35832: undefined, arg0: undefined, } } @@ -33189,7 +33190,7 @@ function scene_systemMenu_PauseMenu_show__P2702_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P15172(s) { +function scene_systemMenu_PauseMenu_show_inline__P35895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33227,7 +33228,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P2698_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P23421_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -33243,12 +33244,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P15172.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__P35895.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__P15172_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35895_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P15172, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33267,7 +33268,7 @@ function scene_systemMenu_PauseMenu_show_inline__P15172_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P15192(s) { +function scene_systemMenu_PauseMenu_show_inline__P35915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33305,7 +33306,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P2698_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P23421_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -33329,12 +33330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P15192.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__P35915.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__P15192_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35915_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P15192, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33353,7 +33354,7 @@ function scene_systemMenu_PauseMenu_show_inline__P15192_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P15221(s) { +function scene_systemMenu_PauseMenu_show_inline__P35944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33363,7 +33364,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P2707_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P23430_mk(s); s.callLocIdx = 1165; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -33371,12 +33372,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P15221.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__P35944.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__P15221_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35944_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P15221, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -33385,7 +33386,7 @@ function scene_systemMenu_PauseMenu_show_inline__P15221_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P15226(s) { +function scene_systemMenu_PauseMenu_show_inline__P35949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33395,7 +33396,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P2707_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P23430_mk(s); s.callLocIdx = 1167; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -33403,12 +33404,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P15226.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__P35949.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__P15226_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35949_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P15226, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -33417,7 +33418,7 @@ function scene_systemMenu_PauseMenu_show_inline__P15226_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P15231(s) { +function scene_systemMenu_PauseMenu_show_inline__P35954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33427,9 +33428,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2704_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23427_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P20853_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -33460,12 +33461,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P15231.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__P35954.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__P15231_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35954_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P15231, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33478,7 +33479,7 @@ function scene_systemMenu_PauseMenu_show_inline__P15231_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P15243(s) { +function scene_systemMenu_PauseMenu_show_inline__P35966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33488,9 +33489,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2704_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23427_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P20853_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -33507,12 +33508,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P15243.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__P35966.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__P15243_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35966_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P15243, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33523,7 +33524,7 @@ function scene_systemMenu_PauseMenu_show_inline__P15243_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P15252(s) { +function scene_systemMenu_PauseMenu_show_inline__P35975(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33533,9 +33534,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2704_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23427_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P20854_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -33571,12 +33572,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P15252.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__P35975.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__P15252_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35975_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P15252, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35975, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33591,7 +33592,7 @@ function scene_systemMenu_PauseMenu_show_inline__P15252_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P15268(s) { +function scene_systemMenu_PauseMenu_show_inline__P35991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33601,9 +33602,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2704_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23427_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P20854_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -33625,12 +33626,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P15268.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__P35991.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__P15268_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35991_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P15268, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33643,7 +33644,7 @@ function scene_systemMenu_PauseMenu_show_inline__P15268_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P15280(s) { +function scene_systemMenu_PauseMenu_show_inline__P36003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33653,12 +33654,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P2703_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P23426_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1183; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P2705_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P23428_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1184; s.pc = 2; return s.tmp_0; case 2: @@ -33667,12 +33668,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P15280.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__P36003.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__P15280_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P36003_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P15280, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -33681,7 +33682,7 @@ function scene_systemMenu_PauseMenu_show_inline__P15280_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P2705(s) { +function scene_systemMenu_PauseMenu_drawText__P23428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33696,7 +33697,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2700_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23423_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33708,11 +33709,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P1753_mk(s); - s.tmp_3.arg0 = globals.screen___1827; + s.tmp_3 = helpers_imageFillRect__P22476_mk(s); + s.tmp_3.arg0 = globals.screen___22550; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -33734,8 +33735,8 @@ switch (step) { s.callLocIdx = 1198; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P1784_mk(s); - s.tmp_0.arg0 = globals.screen___1827; + s.tmp_0 = helpers_imagePrintCenter__P22507_mk(s); + s.tmp_0.arg0 = globals.screen___22550; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -33769,8 +33770,8 @@ switch (step) { s.callLocIdx = 1201; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -33788,9 +33789,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -33814,8 +33815,8 @@ switch (step) { s.callLocIdx = 1204; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1753_mk(s); - s.tmp_0.arg0 = globals.screen___1827; + s.tmp_0 = helpers_imageFillRect__P22476_mk(s); + s.tmp_0.arg0 = globals.screen___22550; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -33844,7 +33845,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -33896,8 +33897,8 @@ switch (step) { s.callLocIdx = 1210; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P1784_mk(s); - s.tmp_0.arg0 = globals.screen___1827; + s.tmp_0 = helpers_imagePrintCenter__P22507_mk(s); + s.tmp_0.arg0 = globals.screen___22550; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -33956,12 +33957,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P2705.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__P23428.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__P2705_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P23428_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P2705, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P23428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33980,7 +33981,7 @@ function scene_systemMenu_PauseMenu_drawText__P2705_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P2704(s) { +function scene_systemMenu_PauseMenu_setSelection__P23427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33996,7 +33997,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2700_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23423_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -34016,7 +34017,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__P2698_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P23421_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -34038,9 +34039,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C1971_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___1905; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C1971_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C22694_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___22628; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C22694_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: @@ -34055,7 +34056,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P2698_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P23421_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -34068,7 +34069,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P4544_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P25267_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1196; s.pc = 13; return s.tmp_0; case 13: @@ -34078,12 +34079,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P2704.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__P23427.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__P2704_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P23427_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P2704, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P23427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34102,7 +34103,7 @@ function scene_systemMenu_PauseMenu_setSelection__P2704_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P4544(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P25267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34112,13 +34113,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___15507 = undefined; + s.row___36230 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2700_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23423_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -34136,17 +34137,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___15507 = (r0); + s.row___36230 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___15507 === s.tmp_1); + r0 = (s.row___36230 === 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___15507 - 1); + r0 = (s.row___36230 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -34161,7 +34162,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___15507 > s.tmp_6); + r0 = (s.row___36230 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -34221,12 +34222,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P4544.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__P25267.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__P4544_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P25267_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P4544, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P25267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34238,7 +34239,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P4544_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___15507: undefined, + row___36230: undefined, arg0: undefined, } } @@ -34246,7 +34247,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P4544_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P2703(s) { +function scene_systemMenu_PauseMenu_onUpdate__P23426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34256,22 +34257,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___15358 = undefined; - s.i___15362 = undefined; - s.dt___15391 = undefined; + s.t___36081 = undefined; + s.i___36085 = undefined; + s.dt___36114 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2700_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23423_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___15358 = (r0); - s.i___15362 = (0); + s.t___36081 = (r0); + s.i___36085 = (0); case 1: - s.tmp_1 = r0 = s.i___15362; + s.tmp_1 = r0 = s.i___36085; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -34280,13 +34281,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__P2696_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P23419_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___15362); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___36085); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___15358; - s.tmp_11 = r0 = s.i___15362; + s.tmp_8 = r0 = s.t___36081; + s.tmp_11 = r0 = s.i___36085; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -34314,11 +34315,11 @@ switch (step) { s.callLocIdx = 1188; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___15362 + 1); - s.i___15362 = (r0); + r0 = (s.i___36085 + 1); + s.i___36085 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P2609_mk(s); + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 1189; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -34327,7 +34328,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___15391 = (r0); + s.dt___36114 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -34339,7 +34340,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___15391 * 100); + r0 = (s.dt___36114 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -34357,7 +34358,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___15391 * 100); + r0 = (s.dt___36114 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -34367,7 +34368,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P128_mk(s); + s.tmp_2 = Math_abs__P20851_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -34387,8 +34388,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P2445_mk(s); - s.tmp_1 = game_currentScene__P2609_mk(s); + s.tmp_0 = scene_Camera_offsetY__P23168_mk(s); + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 1192; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -34404,12 +34405,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P2703.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__P23426.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__P2703_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P23426_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P2703, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P23426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34425,9 +34426,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P2703_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___15358: undefined, - i___15362: undefined, - dt___15391: undefined, + t___36081: undefined, + i___36085: undefined, + dt___36114: undefined, arg0: undefined, } } @@ -34435,7 +34436,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P2703_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P2696(s) { +function scene_systemMenu_MenuOption_setOffset__P23419(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34451,8 +34452,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2692_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2143_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23415_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P22866_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -34462,10 +34463,10 @@ switch (step) { s.callLocIdx = 1130; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P2104_mk(s); + s.tmp_0 = Sprite_y__P22827_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2103_mk(s); + s.tmp_1 = Sprite_y__P22826_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1131; s.pc = 3; return s.tmp_1; @@ -34479,12 +34480,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P2696.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__P23419.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__P2696_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P23419_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P2696, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P23419, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34496,7 +34497,7 @@ function scene_systemMenu_MenuOption_setOffset__P2696_mk(s) { -function Sprite_y__P2104(s) { +function Sprite_y__P22827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34512,8 +34513,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2143_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P22866_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -34531,12 +34532,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P2104.info = {"start":2305,"length":72,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P22827.info = {"start":2305,"length":72,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P2104_mk(s) { +function Sprite_y__P22827_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P2104, depth: s.depth + 1, + parent: s, fn: Sprite_y__P22827, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34551,7 +34552,7 @@ function Sprite_y__P2104_mk(s) { -function scene_systemMenu_MenuOption_setState__P2698(s) { +function scene_systemMenu_MenuOption_setState__P23421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34567,7 +34568,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2692_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23415_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -34578,7 +34579,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4543_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P25266_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1134; s.pc = 4; return s.tmp_0; case 4: @@ -34588,12 +34589,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P2698.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__P23421.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__P2698_mk(s) { +function scene_systemMenu_MenuOption_setState__P23421_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P2698, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P23421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34605,7 +34606,7 @@ function scene_systemMenu_MenuOption_setState__P2698_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P4543(s) { +function scene_systemMenu_MenuOption_updateCard__P25266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34620,7 +34621,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2692_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23415_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -34643,7 +34644,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P2132_mk(s); + s.tmp_4 = Sprite_setImage__P22855_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -34665,7 +34666,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P2132_mk(s); + s.tmp_0 = Sprite_setImage__P22855_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -34687,7 +34688,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P2132_mk(s); + s.tmp_0 = Sprite_setImage__P22855_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -34708,10 +34709,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P2102_mk(s); + s.tmp_0 = Sprite_x__P22825_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P2101_mk(s); + s.tmp_1 = Sprite_x__P22824_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1143; s.pc = 15; return s.tmp_1; @@ -34721,10 +34722,10 @@ switch (step) { s.callLocIdx = 1144; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P2104_mk(s); + s.tmp_0 = Sprite_y__P22827_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2103_mk(s); + s.tmp_1 = Sprite_y__P22826_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1145; s.pc = 17; return s.tmp_1; @@ -34739,12 +34740,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P4543.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__P25266.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__P4543_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P25266_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P4543, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P25266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34759,7 +34760,7 @@ function scene_systemMenu_MenuOption_updateCard__P4543_mk(s) { -function Sprite_x__P2102(s) { +function Sprite_x__P22825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34775,8 +34776,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2139_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P22862_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -34794,12 +34795,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P2102.info = {"start":1956,"length":72,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P22825.info = {"start":1956,"length":72,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P2102_mk(s) { +function Sprite_x__P22825_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P2102, depth: s.depth + 1, + parent: s, fn: Sprite_x__P22825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34814,7 +34815,7 @@ function Sprite_x__P2102_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P2697(s) { +function scene_systemMenu_MenuOption_setTheme__P23420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34830,9 +34831,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2692_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23415_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4543_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P25266_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1133; s.pc = 1; return s.tmp_0; case 1: @@ -34841,12 +34842,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P2697.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__P23420.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__P2697_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P23420_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P2697, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P23420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34857,7 +34858,7 @@ function scene_systemMenu_MenuOption_setTheme__P2697_mk(s) { -function scene_systemMenu_MenuOption_position__P2695(s) { +function scene_systemMenu_MenuOption_position__P23418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34874,26 +34875,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2692_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23415_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P2139_mk(s); + s.tmp_0 = Sprite_left__P22862_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1124; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P2143_mk(s); + s.tmp_0 = Sprite_top__P22866_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1125; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P2102_mk(s); + s.tmp_0 = Sprite_x__P22825_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P2101_mk(s); + s.tmp_1 = Sprite_x__P22824_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1126; s.pc = 4; return s.tmp_1; @@ -34903,10 +34904,10 @@ switch (step) { s.callLocIdx = 1127; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P2104_mk(s); + s.tmp_0 = Sprite_y__P22827_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2103_mk(s); + s.tmp_1 = Sprite_y__P22826_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1128; s.pc = 6; return s.tmp_1; @@ -34920,12 +34921,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P2695.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__P23418.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__P2695_mk(s) { +function scene_systemMenu_MenuOption_position__P23418_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P2695, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P23418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34938,7 +34939,7 @@ function scene_systemMenu_MenuOption_position__P2695_mk(s) { -function scene_systemMenu_MenuOption_show__P2694(s) { +function scene_systemMenu_MenuOption_show__P23417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34953,7 +34954,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2692_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23415_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -34973,12 +34974,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___2716; + r0 = globals.CARD_NORMAL___23439; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P2043_mk(s); + s.tmp_5 = sprites_create__P22766_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; s.callLocIdx = 1120; s.pc = 4; return s.tmp_5; @@ -35001,7 +35002,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P2043_mk(s); + s.tmp_2 = sprites_create__P22766_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -35029,12 +35030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P2694.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__P23417.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__P2694_mk(s) { +function scene_systemMenu_MenuOption_show__P23417_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P2694, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P23417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35049,7 +35050,7 @@ function scene_systemMenu_MenuOption_show__P2694_mk(s) { -function game_onShade__P2622(s) { +function game_onShade__P23345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35063,7 +35064,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P4297_mk(s); + s.tmp_0 = game_init__P25020_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1106; s.pc = 4; return s.tmp_0; case 4: @@ -35077,7 +35078,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P2460_mk(s); + s.tmp_2 = scene_createRenderable__P23183_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -35089,12 +35090,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P2622.info = {"start":8745,"length":145,"line":286,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P23345.info = {"start":8745,"length":145,"line":286,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P2622_mk(s) { +function game_onShade__P23345_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P2622, depth: s.depth + 1, + parent: s, fn: game_onShade__P23345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35106,7 +35107,7 @@ function game_onShade__P2622_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P2701(s) { +function scene_systemMenu_PauseMenu_constructor__P23424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35123,7 +35124,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2700_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23423_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -35131,8 +35132,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P2709_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___2716); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P23432_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___23439); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -35151,12 +35152,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P2701.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__P23424.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__P2701_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P23424_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P2701, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P23424, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35170,7 +35171,7 @@ function scene_systemMenu_PauseMenu_constructor__P2701_mk(s) { -function scene_systemMenu_buildMenuTheme__P2709(s) { +function scene_systemMenu_buildMenuTheme__P23432(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35180,7 +35181,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___16060 = undefined; + s.cardsPerRow___36783 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35188,19 +35189,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); 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___16060 = (r0); + s.cardsPerRow___36783 = (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___1770; + r0 = globals.font8___22493; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -35211,7 +35212,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P1773_mk(s); + s.tmp_1 = image_doubledFont__P22496_mk(s); s.tmp_1.arg0 = s.arg2; s.callLocIdx = 1257; s.pc = 5; return s.tmp_1; case 5: @@ -35224,12 +35225,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___16060); - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___36783); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_3 = r0; - r0 = (s.cardsPerRow___16060 * s.arg0); + r0 = (s.cardsPerRow___36783 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___16060 - 1); + r0 = (s.cardsPerRow___36783 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -35260,7 +35261,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___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -35281,19 +35282,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___2717); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___2718); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___2716); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___23440); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___23441); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___23439); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P2709.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__P23432.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__P2709_mk(s) { +function scene_systemMenu_buildMenuTheme__P23432_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P2709, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P23432, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35312,7 +35313,7 @@ function scene_systemMenu_buildMenuTheme__P2709_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___16060: undefined, + cardsPerRow___36783: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35323,7 +35324,7 @@ function scene_systemMenu_buildMenuTheme__P2709_mk(s) { -function image_doubledFont__P1773(s) { +function image_doubledFont__P22496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35337,7 +35338,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P1774_mk(s); + s.tmp_0 = image_scaledFont__P22497_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 126; s.pc = 1; return s.tmp_0; @@ -35346,12 +35347,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P1773.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__P22496.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__P1773_mk(s) { +function image_doubledFont__P22496_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P1773, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P22496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35361,7 +35362,7 @@ function image_doubledFont__P1773_mk(s) { -function image_scaledFont__P1774(s) { +function image_scaledFont__P22497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35476,12 +35477,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P1774.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__P22497.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__P1774_mk(s) { +function image_scaledFont__P22497_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P1774, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P22497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35507,7 +35508,7 @@ function image_scaledFont__P1774_mk(s) { -function controller_Button_onEvent__P1978(s) { +function controller_Button_onEvent__P22701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35524,8 +35525,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C1971_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P389_mk(s); + if (!checkSubtype(r0, controller_Button__C22694_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P21112_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -35538,12 +35539,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P1978.info = {"start":3246,"length":124,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} +controller_Button_onEvent__P22701.info = {"start":3246,"length":124,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} -function controller_Button_onEvent__P1978_mk(s) { +function controller_Button_onEvent__P22701_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P1978, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P22701, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35555,7 +35556,7 @@ function controller_Button_onEvent__P1978_mk(s) { -function scene_systemMenu_initScreen__P4556(s) { +function scene_systemMenu_initScreen__P25279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35565,20 +35566,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___16148 = undefined; - s.tmp_0 = settings_readNumber__P1861_mk(s); + s.brightness___36871 = undefined; + s.tmp_0 = settings_readNumber__P22584_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 1266; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___16148 = (r0); - r0 = (s.brightness___16148 !== undefined); + s.brightness___36871 = (r0); + r0 = (s.brightness___36871 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P1760_mk(s); - s.tmp_1.arg0 = globals.screen___1827; - s.tmp_1.arg1 = s.brightness___16148; + s.tmp_1 = helpers_setScreenBrightness__P22483_mk(s); + s.tmp_1.arg0 = globals.screen___22550; + s.tmp_1.arg1 = s.brightness___36871; s.callLocIdx = 1267; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -35588,23 +35589,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P4556.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__P25279.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__P4556_mk(s) { +function scene_systemMenu_initScreen__P25279_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P4556, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P25279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___16148: undefined, + brightness___36871: undefined, } } -function scene_systemMenu_initVolume__P4555(s) { +function scene_systemMenu_initVolume__P25278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35614,19 +35615,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___16158 = undefined; - s.tmp_0 = settings_readNumber__P1861_mk(s); + s.vol___36881 = undefined; + s.tmp_0 = settings_readNumber__P22584_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 1264; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___16158 = (r0); - r0 = (s.vol___16158 !== undefined); + s.vol___36881 = (r0); + r0 = (s.vol___36881 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P1604_mk(s); - s.tmp_1.arg0 = s.vol___16158; + s.tmp_1 = music_setVolume__P22327_mk(s); + s.tmp_1.arg0 = s.vol___36881; s.callLocIdx = 1265; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -35636,23 +35637,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P4555.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__P25278.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__P4555_mk(s) { +function scene_systemMenu_initVolume__P25278_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P4555, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P25278, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___16158: undefined, + vol___36881: undefined, } } -function game_currentScene__P2609(s) { +function game_currentScene__P23332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35662,21 +35663,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P4297_mk(s); + s.tmp_0 = game_init__P25020_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1069; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___4289; + r0 = globals._scene___25012; return leave(s, r0) default: oops() } } } -game_currentScene__P2609.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P23332.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function game_currentScene__P2609_mk(s) { +function game_currentScene__P23332_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P2609, depth: s.depth + 1, + parent: s, fn: game_currentScene__P23332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35685,7 +35686,7 @@ function game_currentScene__P2609_mk(s) { -function game_addScenePopHandler__P2625(s) { +function game_addScenePopHandler__P23348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35699,35 +35700,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___4292); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___25015); 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___4292 = (r0); + globals._scenePopHandlers___25015 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___4292, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___25015, 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___4292, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___25015, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P2625.info = {"start":10273,"length":237,"line":325,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P23348.info = {"start":10273,"length":237,"line":325,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P2625_mk(s) { +function game_addScenePopHandler__P23348_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P2625, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P23348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35738,7 +35739,7 @@ function game_addScenePopHandler__P2625_mk(s) { -function game_addScenePushHandler__P2623(s) { +function game_addScenePushHandler__P23346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35752,35 +35753,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___4291); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___25014); 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___4291 = (r0); + globals._scenePushHandlers___25014 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___4291, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___25014, 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___4291, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___25014, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P2623.info = {"start":9272,"length":242,"line":301,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P23346.info = {"start":9272,"length":242,"line":301,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P2623_mk(s) { +function game_addScenePushHandler__P23346_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P2623, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P23346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35791,7 +35792,7 @@ function game_addScenePushHandler__P2623_mk(s) { -function Fx8__P149(s) { +function Fx8__P20872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35811,12 +35812,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P149.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P20872.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} -function Fx8__P149_mk(s) { +function Fx8__P20872_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P149, depth: s.depth + 1, + parent: s, fn: Fx8__P20872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35826,7 +35827,7 @@ function Fx8__P149_mk(s) { -function SpriteKind_create__P2206(s) { +function SpriteKind_create__P22929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35836,26 +35837,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___4127 === undefined); + r0 = (globals.nextKind___24850 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___4127 = (1000); + globals.nextKind___24850 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___4127; + s.tmp_0 = r0 = globals.nextKind___24850; r0 = (s.tmp_0 + 1); - globals.nextKind___4127 = (r0); + globals.nextKind___24850 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P2206.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P22929.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} -function SpriteKind_create__P2206_mk(s) { +function SpriteKind_create__P22929_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P2206, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P22929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35864,7 +35865,7 @@ function SpriteKind_create__P2206_mk(s) { -function controller_Button_constructor__P1977(s) { +function controller_Button_constructor__P22700(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35881,7 +35882,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C1971_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C22694_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -35891,13 +35892,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__P16234); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P36957); 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__P16241); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P36964); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -35916,12 +35917,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P1977.info = {"start":1467,"length":863,"line":59,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} +controller_Button_constructor__P22700.info = {"start":1467,"length":863,"line":59,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -function controller_Button_constructor__P1977_mk(s) { +function controller_Button_constructor__P22700_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P1977, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P22700, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35935,7 +35936,7 @@ function controller_Button_constructor__P1977_mk(s) { -function controller_Button_inline__P16234(s) { +function controller_Button_inline__P36957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35945,7 +35946,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P1982_mk(s); + s.tmp_0 = controller_Button_setPressed__P22705_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 233; s.pc = 1; return s.tmp_0; @@ -35955,12 +35956,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P16234.info = {"start":2089,"length":28,"line":69,"column":66,"endLine":69,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P36957.info = {"start":2089,"length":28,"line":69,"column":66,"endLine":69,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P16234_mk(s) { +function controller_Button_inline__P36957_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P16234, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P36957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35969,7 +35970,7 @@ function controller_Button_inline__P16234_mk(s) { -function controller_Button_inline__P16241(s) { +function controller_Button_inline__P36964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35979,7 +35980,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P1982_mk(s); + s.tmp_0 = controller_Button_setPressed__P22705_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 234; s.pc = 1; return s.tmp_0; @@ -35989,12 +35990,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P16241.info = {"start":2191,"length":27,"line":70,"column":68,"endLine":70,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P36964.info = {"start":2191,"length":27,"line":70,"column":68,"endLine":70,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P16241_mk(s) { +function controller_Button_inline__P36964_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P16241, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P36964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36003,7 +36004,7 @@ function controller_Button_inline__P16241_mk(s) { -function controller_setupButton__P4116(s) { +function controller_setupButton__P24839(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36022,12 +36023,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P4116.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__P24839.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__P4116_mk(s) { +function controller_setupButton__P24839_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P4116, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P24839, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36037,7 +36038,7 @@ function controller_setupButton__P4116_mk(s) { -function controller_Button_setPressed__P1982(s) { +function controller_Button_setPressed__P22705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36053,14 +36054,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C1971_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C22694_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__P1728_mk(s); + s.tmp_2 = power_poke__P22451_mk(s); s.callLocIdx = 237; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -36068,7 +36069,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__P1946_mk(s); + s.tmp_1 = controller_Controller_connected__P22669_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -36083,7 +36084,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__P4102_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P24825_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 239; s.pc = 9; return s.tmp_0; case 9: @@ -36091,7 +36092,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P4101_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P24824_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 240; s.pc = 10; return s.tmp_0; case 10: @@ -36103,12 +36104,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P1982.info = {"start":4478,"length":507,"line":140,"column":8,"endLine":154,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} +controller_Button_setPressed__P22705.info = {"start":4478,"length":507,"line":140,"column":8,"endLine":154,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -function controller_Button_setPressed__P1982_mk(s) { +function controller_Button_setPressed__P22705_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P1982, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P22705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36121,7 +36122,7 @@ function controller_Button_setPressed__P1982_mk(s) { -function controller_Button_raiseButtonDown__P4102(s) { +function controller_Button_raiseButtonDown__P24825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36136,8 +36137,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C1971_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4110); + if (!checkSubtype(r0, controller_Button__C22694_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___24833); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -36152,12 +36153,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P4102.info = {"start":2550,"length":205,"line":84,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} +controller_Button_raiseButtonDown__P24825.info = {"start":2550,"length":205,"line":84,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function controller_Button_raiseButtonDown__P4102_mk(s) { +function controller_Button_raiseButtonDown__P24825_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P4102, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P24825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36167,7 +36168,7 @@ function controller_Button_raiseButtonDown__P4102_mk(s) { -function controller_Button_raiseButtonUp__P4101(s) { +function controller_Button_raiseButtonUp__P24824(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36182,8 +36183,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C1971_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4110); + if (!checkSubtype(r0, controller_Button__C22694_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___24833); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -36198,12 +36199,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P4101.info = {"start":2340,"length":200,"line":77,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} +controller_Button_raiseButtonUp__P24824.info = {"start":2340,"length":200,"line":77,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function controller_Button_raiseButtonUp__P4101_mk(s) { +function controller_Button_raiseButtonUp__P24824_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P4101, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P24824, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36213,7 +36214,7 @@ function controller_Button_raiseButtonUp__P4101_mk(s) { -function controller_Controller_connected__P1946(s) { +function controller_Controller_connected__P22669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36229,7 +36230,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -36257,12 +36258,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P1946.info = {"start":6340,"length":261,"line":216,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} +controller_Controller_connected__P22669.info = {"start":6340,"length":261,"line":216,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} -function controller_Controller_connected__P1946_mk(s) { +function controller_Controller_connected__P22669_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P1946, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P22669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36275,7 +36276,7 @@ function controller_Controller_connected__P1946_mk(s) { -function controller_Controller_id__P1933(s) { +function controller_Controller_id__P22656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36290,18 +36291,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P1933.info = {"start":2547,"length":49,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} -controller_Controller_id__P1933.isGetter = true; +controller_Controller_id__P22656.info = {"start":2547,"length":49,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} +controller_Controller_id__P22656.isGetter = true; -function controller_Controller_id__P1933_mk(s) { +function controller_Controller_id__P22656_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P1933, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P22656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36310,7 +36311,7 @@ function controller_Controller_id__P1933_mk(s) { -function controller_Controller_connected__P1945(s) { +function controller_Controller_connected__P22668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36325,18 +36326,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C22649_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P1945.info = {"start":6267,"length":63,"line":212,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} -controller_Controller_connected__P1945.isGetter = true; +controller_Controller_connected__P22668.info = {"start":6267,"length":63,"line":212,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} +controller_Controller_connected__P22668.isGetter = true; -function controller_Controller_connected__P1945_mk(s) { +function controller_Controller_connected__P22668_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P1945, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P22668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36345,7 +36346,7 @@ function controller_Controller_connected__P1945_mk(s) { -function settings_initScopes__P4070(s) { +function settings_initScopes__P24793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36355,17 +36356,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___16319 = undefined; - s.tmp_1 = settings_runNumber__P1851_mk(s); + s.rn___37042 = undefined; + s.tmp_1 = settings_runNumber__P22574_mk(s); s.callLocIdx = 155; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___16319 = (r0); - s.tmp_0 = settings_writeNumber__P1856_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___4058; - s.tmp_0.arg1 = s.rn___16319; + s.rn___37042 = (r0); + s.tmp_0 = settings_writeNumber__P22579_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___24781; + s.tmp_0.arg1 = s.rn___37042; s.callLocIdx = 156; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -36374,8 +36375,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___16319); - s.tmp_0 = settings_setScope__P4069_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___37042); + s.tmp_0 = settings_setScope__P24792_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 157; s.pc = 3; return s.tmp_0; @@ -36385,23 +36386,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P4070.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P24793.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__P4070_mk(s) { +function settings_initScopes__P24793_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P4070, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P24793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___16319: undefined, + rn___37042: undefined, } } -function settings_setScope__P4069(s) { +function settings_setScope__P24792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36411,7 +36412,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___16348 = undefined; + s.currScope___37071 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -36436,19 +36437,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P1859_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4059; + s.tmp_0 = settings_readString__P22582_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___24782; s.callLocIdx = 153; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___16348 = (r0); - r0 = (s.currScope___16348 != s.arg0); + s.currScope___37071 = (r0); + r0 = (s.currScope___37071 != 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__P1854_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4059; + s.tmp_0 = settings_writeString__P22577_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___24782; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 154; s.pc = 8; return s.tmp_0; case 8: @@ -36459,18 +36460,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P4069.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__P24792.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__P4069_mk(s) { +function settings_setScope__P24792_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P4069, depth: s.depth + 1, + parent: s, fn: settings_setScope__P24792, 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___16348: undefined, + currScope___37071: undefined, arg0: undefined, } } @@ -36478,7 +36479,7 @@ function settings_setScope__P4069_mk(s) { -function settings_readString__P1859(s) { +function settings_readString__P22582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36488,14 +36489,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___16369 = undefined; + s.buf___37092 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___16369 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___16369); + s.buf___37092 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___37092); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -36505,7 +36506,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___16369); + r0 = pxsim.BufferMethods.toString(s.buf___37092); { step = 3; continue; } case 2: r0 = undefined; @@ -36513,16 +36514,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P1859.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__P22582.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__P1859_mk(s) { +function settings_readString__P22582_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P1859, depth: s.depth + 1, + parent: s, fn: settings_readString__P22582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___16369: undefined, + buf___37092: undefined, arg0: undefined, } } @@ -36530,7 +36531,7 @@ function settings_readString__P1859_mk(s) { -function settings_writeString__P1854(s) { +function settings_writeString__P22577(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36545,7 +36546,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P1853_mk(s); + s.tmp_0 = settings_writeBuffer__P22576_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -36556,12 +36557,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P1854.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__P22577.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__P1854_mk(s) { +function settings_writeString__P22577_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P1854, depth: s.depth + 1, + parent: s, fn: settings_writeString__P22577, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36572,7 +36573,7 @@ function settings_writeString__P1854_mk(s) { -function settings_runNumber__P1851(s) { +function settings_runNumber__P22574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36582,8 +36583,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P1861_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___4058; + s.tmp_1 = settings_readNumber__P22584_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___24781; s.callLocIdx = 152; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -36601,12 +36602,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P1851.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P22574.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__P1851_mk(s) { +function settings_runNumber__P22574_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P1851, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P22574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36617,7 +36618,7 @@ function settings_runNumber__P1851_mk(s) { -function control___screen_setupUpdate__P1789(s) { +function control___screen_setupUpdate__P22512(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36631,8 +36632,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___4027 = (true); - globals.__update___4025 = (s.arg0); + globals.__updated___24750 = (true); + globals.__update___24748 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -36643,12 +36644,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P1789.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__P22512.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__P1789_mk(s) { +function control___screen_setupUpdate__P22512_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P1789, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P22512, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36658,7 +36659,7 @@ function control___screen_setupUpdate__P1789_mk(s) { -function control___screen_update__P1788(s) { +function control___screen_update__P22511(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36668,27 +36669,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___4025); + r0 = pxsim_numops_toBoolDecr(globals.__update___24748); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___4025; + s.tmp_0.argL = globals.__update___24748; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 147; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___4027 = (true); + globals.__updated___24750 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P1788.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__P22511.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__P1788_mk(s) { +function control___screen_update__P22511_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P1788, depth: s.depth + 1, + parent: s, fn: control___screen_update__P22511, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36697,7 +36698,7 @@ function control___screen_update__P1788_mk(s) { -function pause__P411(s) { +function pause__P21134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36721,12 +36722,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P411.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P21134.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__P411_mk(s) { +function pause__P21134_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P411, depth: s.depth + 1, + parent: s, fn: pause__P21134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36735,7 +36736,7 @@ function pause__P411_mk(s) { -function particles_FireSource_updateParticle__P2780(s) { +function particles_FireSource_updateParticle__P23503(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36752,8 +36753,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireSource__C2778_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_updateParticle__P4629_mk(s); + if (!checkSubtype(r0, particles_FireSource__C23501_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_updateParticle__P25352_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -36767,7 +36768,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = Math_FastRandom_percentChance__P2671_mk(s); + s.tmp_1 = Math_FastRandom_percentChance__P23394_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 30; @@ -36793,12 +36794,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_FireSource_updateParticle__P2780.info = {"start":10620,"length":240,"line":348,"column":8,"endLine":354,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} +particles_FireSource_updateParticle__P23503.info = {"start":10620,"length":240,"line":348,"column":8,"endLine":354,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} -function particles_FireSource_updateParticle__P2780_mk(s) { +function particles_FireSource_updateParticle__P23503_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireSource_updateParticle__P2780, depth: s.depth + 1, + parent: s, fn: particles_FireSource_updateParticle__P23503, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36813,7 +36814,7 @@ function particles_FireSource_updateParticle__P2780_mk(s) { -function Math_FastRandom_percentChance__P2671(s) { +function Math_FastRandom_percentChance__P23394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36829,8 +36830,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2664_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_randomRange__P2668_mk(s); + if (!checkSubtype(r0, Math_FastRandom__C23387_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_randomRange__P23391_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = 100; @@ -36842,12 +36843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_percentChance__P2671.info = {"start":2925,"length":106,"line":88,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"percentChance","argumentNames":["this","percent"]} +Math_FastRandom_percentChance__P23394.info = {"start":2925,"length":106,"line":88,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"percentChance","argumentNames":["this","percent"]} -function Math_FastRandom_percentChance__P2671_mk(s) { +function Math_FastRandom_percentChance__P23394_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_percentChance__P2671, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_percentChance__P23394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36859,7 +36860,7 @@ function Math_FastRandom_percentChance__P2671_mk(s) { -function particles_FireFactory_createParticle__P2827(s) { +function particles_FireFactory_createParticle__P23550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36869,24 +36870,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16425 = undefined; - s.i___16437 = undefined; - s.r___16444 = undefined; + s.p___37148 = undefined; + s.i___37160 = undefined; + s.r___37167 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireFactory__C2825_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P2794_mk(s); + if (!checkSubtype(r0, particles_FireFactory__C23548_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P23517_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1406; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.p___16425 = (r0); - s.tmp_1 = Math_FastRandom_randomBool__P2670_mk(s); + s.p___37148 = (r0); + s.tmp_1 = Math_FastRandom_randomBool__P23393_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1407; s.pc = 6; return s.tmp_1; @@ -36898,7 +36899,7 @@ switch (step) { r0 = 2; { step = 4; continue; } case 1: - s.tmp_3 = Math_FastRandom_randomBool__P2670_mk(s); + s.tmp_3 = Math_FastRandom_randomBool__P23393_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; s.callLocIdx = 1408; s.pc = 7; return s.tmp_3; @@ -36918,18 +36919,18 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - r0 = (s.p___16425).fields["color"] = (s.tmp_5); - s.tmp_0 = Math_FastRandom_randomRange__P2668_mk(s); + r0 = (s.p___37148).fields["color"] = (s.tmp_5); + s.tmp_0 = Math_FastRandom_randomRange__P23391_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - r0 = pxsim_Array__length(globals.cachedCos___4640); + r0 = pxsim_Array__length(globals.cachedCos___25363); s.tmp_0.arg2 = r0; s.callLocIdx = 1409; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.i___16437 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P2668_mk(s); + s.i___37160 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P23391_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["minRadius"]; @@ -36939,8 +36940,8 @@ switch (step) { s.callLocIdx = 1410; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.r___16444 = (r0); - s.tmp_0 = r0 = s.p___16425; + s.r___37167 = (r0); + s.tmp_0 = r0 = s.p___37148; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -36954,11 +36955,11 @@ switch (step) { case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.r___16444 * 256); + r0 = (s.r___37167 * 256); s.tmp_6 = r0; r0 = (s.tmp_6 | 0); s.tmp_5 = r0; - r0 = pxsim_Array__getAt(globals.cachedCos___4640, s.i___16437); + r0 = pxsim_Array__getAt(globals.cachedCos___25363, s.i___37160); s.tmp_7 = r0; r0 = pxsim.Math_.imul(s.tmp_5, s.tmp_7); s.tmp_8 = r0; @@ -36969,7 +36970,7 @@ switch (step) { r0 = (s.tmp_9 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___16425; + s.tmp_0 = r0 = s.p___37148; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -36983,11 +36984,11 @@ switch (step) { case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.r___16444 * 256); + r0 = (s.r___37167 * 256); s.tmp_6 = r0; r0 = (s.tmp_6 | 0); s.tmp_5 = r0; - r0 = pxsim_Array__getAt(globals.cachedSin___4639, s.i___16437); + r0 = pxsim_Array__getAt(globals.cachedSin___25362, s.i___37160); s.tmp_7 = r0; r0 = pxsim.Math_.imul(s.tmp_5, s.tmp_7); s.tmp_8 = r0; @@ -36998,7 +36999,7 @@ switch (step) { r0 = (s.tmp_9 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___16425; + s.tmp_0 = r0 = s.p___37148; r0 = pxsim.Math_.randomRange(0, 10); s.tmp_2 = r0; r0 = (s.tmp_2 * 256); @@ -37006,7 +37007,7 @@ switch (step) { r0 = (s.tmp_3 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___16425; + s.tmp_0 = r0 = s.p___37148; r0 = pxsim.Math_.randomRange(-5, 5); s.tmp_2 = r0; r0 = (s.tmp_2 * 256); @@ -37014,17 +37015,17 @@ switch (step) { r0 = (s.tmp_3 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vx"] = (s.tmp_1); - r0 = (s.p___16425).fields["lifespan"] = (1500); - r0 = s.p___16425; + r0 = (s.p___37148).fields["lifespan"] = (1500); + r0 = s.p___37148; return leave(s, r0) default: oops() } } } -particles_FireFactory_createParticle__P2827.info = {"start":8876,"length":662,"line":290,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_FireFactory_createParticle__P23550.info = {"start":8876,"length":662,"line":290,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function particles_FireFactory_createParticle__P2827_mk(s) { +function particles_FireFactory_createParticle__P23550_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireFactory_createParticle__P2827, depth: s.depth + 1, + parent: s, fn: particles_FireFactory_createParticle__P23550, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37036,9 +37037,9 @@ function particles_FireFactory_createParticle__P2827_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - p___16425: undefined, - i___16437: undefined, - r___16444: undefined, + p___37148: undefined, + i___37160: undefined, + r___37167: undefined, arg0: undefined, arg1: undefined, } } @@ -37047,7 +37048,7 @@ function particles_FireFactory_createParticle__P2827_mk(s) { -function Math_FastRandom_randomBool__P2670(s) { +function Math_FastRandom_randomBool__P23393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37062,8 +37063,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2664_VT)) failedCast(r0); - s.tmp_3 = Math_FastRandom_next__P2667_mk(s); + if (!checkSubtype(r0, Math_FastRandom__C23387_VT)) failedCast(r0); + s.tmp_3 = Math_FastRandom_next__P23390_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1117; s.pc = 1; return s.tmp_3; case 1: @@ -37077,12 +37078,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomBool__P2670.info = {"start":2627,"length":72,"line":80,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomBool","argumentNames":["this"]} +Math_FastRandom_randomBool__P23393.info = {"start":2627,"length":72,"line":80,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomBool","argumentNames":["this"]} -function Math_FastRandom_randomBool__P2670_mk(s) { +function Math_FastRandom_randomBool__P23393_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomBool__P2670, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomBool__P23393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37095,7 +37096,7 @@ function Math_FastRandom_randomBool__P2670_mk(s) { -function Fx_iadd__P158(s) { +function Fx_iadd__P20881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37116,12 +37117,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P158.info = {"start":634,"length":110,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"iadd","argumentNames":["a","b"]} +Fx_iadd__P20881.info = {"start":634,"length":110,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"iadd","argumentNames":["a","b"]} -function Fx_iadd__P158_mk(s) { +function Fx_iadd__P20881_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P158, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P20881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37132,7 +37133,7 @@ function Fx_iadd__P158_mk(s) { -function sprites_SpriteSet_toString__P2201(s) { +function sprites_SpriteSet_toString__P22924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37147,7 +37148,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2190_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C22913_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -37169,12 +37170,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P2201.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__P22924.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__P2201_mk(s) { +function sprites_SpriteSet_toString__P22924_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P2201, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P22924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37188,7 +37189,7 @@ function sprites_SpriteSet_toString__P2201_mk(s) { -function sprites_SpriteSet_length__P2193(s) { +function sprites_SpriteSet_length__P22916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37203,20 +37204,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2190_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C22913_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__P2193.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__P2193.isGetter = true; +sprites_SpriteSet_length__P22916.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__P22916.isGetter = true; -function sprites_SpriteSet_length__P2193_mk(s) { +function sprites_SpriteSet_length__P22916_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P2193, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P22916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37226,7 +37227,7 @@ function sprites_SpriteSet_length__P2193_mk(s) { -function game_Dialog_drawTextCore__P2581(s) { +function game_Dialog_drawTextCore__P23304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37236,20 +37237,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.lines___16511 = undefined; - s.availableWidth___16517 = undefined; - s.availableHeight___16520 = undefined; - s.charactersPerRow___16523 = undefined; - s.rowsOfCharacters___16531 = undefined; - s.textLeft___16542 = undefined; - s.textTop___16564 = undefined; - s.row___16579 = undefined; + s.lines___37234 = undefined; + s.availableWidth___37240 = undefined; + s.availableHeight___37243 = undefined; + s.charactersPerRow___37246 = undefined; + s.rowsOfCharacters___37254 = undefined; + s.textLeft___37265 = undefined; + s.textTop___37287 = undefined; + s.row___37302 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2571_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Dialog__C23294_VT)) failedCast(r0); r0 = s.arg0.fields["chunks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -37279,20 +37280,20 @@ switch (step) { r0 = s.arg0.fields["chunkIndex"]; s.tmp_7 = r0; r0 = pxsim_Array__getAt(s.tmp_6, s.tmp_7); - s.lines___16511 = (r0); - s.tmp_0 = game_BaseDialog_textAreaWidth__P4268_mk(s); + s.lines___37234 = (r0); + s.tmp_0 = game_BaseDialog_textAreaWidth__P24991_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1016; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.availableWidth___16517 = (r0); - s.tmp_0 = game_BaseDialog_textAreaHeight__P4269_mk(s); + s.availableWidth___37240 = (r0); + s.tmp_0 = game_BaseDialog_textAreaHeight__P24992_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1017; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.availableHeight___16520 = (r0); - s.tmp_1 = r0 = s.availableWidth___16517; + s.availableHeight___37243 = (r0); + s.tmp_1 = r0 = s.availableWidth___37240; s.tmp_3 = if_charWidth_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_3.arg0 = r0; @@ -37310,9 +37311,9 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.charactersPerRow___16523 = (r0); - s.tmp_1 = r0 = s.availableHeight___16520; - s.tmp_3 = game_BaseDialog_rowHeight__P4267_mk(s); + s.charactersPerRow___37246 = (r0); + s.tmp_1 = r0 = s.availableHeight___37243; + s.tmp_3 = game_BaseDialog_rowHeight__P24990_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1019; s.pc = 13; return s.tmp_3; case 13: @@ -37321,14 +37322,14 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.rowsOfCharacters___16531 = (r0); + s.rowsOfCharacters___37254 = (r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 12); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = game_BaseDialog_drawBorder__P4262_mk(s); + s.tmp_2 = game_BaseDialog_drawBorder__P24985_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1020; s.pc = 14; return s.tmp_2; case 14: @@ -37339,7 +37340,7 @@ switch (step) { s.tmp_2 = r0; r0 = (1 + s.tmp_2); s.tmp_1 = r0; - s.tmp_4 = Math_min__P131_mk(s); + s.tmp_4 = Math_min__P20854_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 12; @@ -37349,8 +37350,8 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_1 + s.tmp_3); s.tmp_0 = r0; - s.tmp_7 = r0 = s.availableWidth___16517; - s.tmp_9 = r0 = s.charactersPerRow___16523; + s.tmp_7 = r0 = s.availableWidth___37240; + s.tmp_9 = r0 = s.charactersPerRow___37246; s.tmp_11 = if_charWidth_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_11.arg0 = r0; @@ -37372,7 +37373,7 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_0 + s.tmp_5); - s.textLeft___16542 = (r0); + s.textLeft___37265 = (r0); r0 = s.arg0.fields["image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -37381,9 +37382,9 @@ switch (step) { s.tmp_1 = r0; r0 = (1 + s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_Array__length(s.lines___16511); + r0 = pxsim_Array__length(s.lines___37234); s.tmp_6 = r0; - s.tmp_8 = game_BaseDialog_rowHeight__P4267_mk(s); + s.tmp_8 = game_BaseDialog_rowHeight__P24990_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 1023; s.pc = 17; return s.tmp_8; case 17: @@ -37394,25 +37395,25 @@ switch (step) { r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; r0 = (s.tmp_0 - s.tmp_4); - s.textTop___16564 = (r0); - s.row___16579 = (0); + s.textTop___37287 = (r0); + s.row___37302 = (0); case 7: - s.tmp_1 = r0 = s.row___16579; - r0 = pxsim_Array__length(s.lines___16511); + s.tmp_1 = r0 = s.row___37302; + r0 = pxsim_Array__length(s.lines___37234); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_3 = helpers_imagePrint__P1785_mk(s); + s.tmp_3 = helpers_imagePrint__P22508_mk(s); r0 = s.arg0.fields["image"]; s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.lines___16511, s.row___16579); + r0 = pxsim_Array__getAt(s.lines___37234, s.row___37302); s.tmp_3.arg1 = r0; - s.tmp_3.arg2 = s.textLeft___16542; - s.tmp_4 = r0 = s.textTop___16564; - s.tmp_6 = r0 = s.row___16579; - s.tmp_8 = game_BaseDialog_rowHeight__P4267_mk(s); + s.tmp_3.arg2 = s.textLeft___37265; + s.tmp_4 = r0 = s.textTop___37287; + s.tmp_6 = r0 = s.row___37302; + s.tmp_8 = game_BaseDialog_rowHeight__P24990_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 1024; s.pc = 19; return s.tmp_8; case 19: @@ -37430,8 +37431,8 @@ switch (step) { s.callLocIdx = 1025; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; - r0 = (s.row___16579 + 1); - s.row___16579 = (r0); + r0 = (s.row___37302 + 1); + s.row___37302 = (r0); { step = 7; continue; } case 8: case 9: @@ -37439,12 +37440,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_drawTextCore__P2581.info = {"start":7266,"length":1045,"line":234,"column":8,"endLine":256,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_Dialog_drawTextCore__P23304.info = {"start":7266,"length":1045,"line":234,"column":8,"endLine":256,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_Dialog_drawTextCore__P2581_mk(s) { +function game_Dialog_drawTextCore__P23304_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_drawTextCore__P2581, depth: s.depth + 1, + parent: s, fn: game_Dialog_drawTextCore__P23304, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37458,14 +37459,14 @@ function game_Dialog_drawTextCore__P2581_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - lines___16511: undefined, - availableWidth___16517: undefined, - availableHeight___16520: undefined, - charactersPerRow___16523: undefined, - rowsOfCharacters___16531: undefined, - textLeft___16542: undefined, - textTop___16564: undefined, - row___16579: undefined, + lines___37234: undefined, + availableWidth___37240: undefined, + availableHeight___37243: undefined, + charactersPerRow___37246: undefined, + rowsOfCharacters___37254: undefined, + textLeft___37265: undefined, + textTop___37287: undefined, + row___37302: undefined, arg0: undefined, } } @@ -37473,7 +37474,7 @@ function game_Dialog_drawTextCore__P2581_mk(s) { -function game_BaseDialog_setText__P2568(s) { +function game_BaseDialog_setText__P23291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37489,17 +37490,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2554_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C23277_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setText__P2568.info = {"start":1701,"length":77,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} +game_BaseDialog_setText__P23291.info = {"start":1701,"length":77,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} -function game_BaseDialog_setText__P2568_mk(s) { +function game_BaseDialog_setText__P23291_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setText__P2568, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setText__P23291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37509,7 +37510,7 @@ function game_BaseDialog_setText__P2568_mk(s) { -function sprites_SpriteMap_toString__P2181(s) { +function sprites_SpriteMap_toString__P22904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37524,7 +37525,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2173_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -37544,10 +37545,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P110_mk(s); + s.tmp_10 = helpers_arrayFilter__P20833_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P16630; + s.tmp_10.arg1 = length_inline__P37353; s.callLocIdx = 484; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -37569,12 +37570,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P2181.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__P22904.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__P2181_mk(s) { +function sprites_SpriteMap_toString__P22904_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P2181, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P22904, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37594,7 +37595,7 @@ function sprites_SpriteMap_toString__P2181_mk(s) { -function length_inline__P16630(s) { +function length_inline__P37353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37618,12 +37619,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P16630.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__P37353.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__P16630_mk(s) { +function length_inline__P37353_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P16630, depth: s.depth + 1, + parent: s, fn: length_inline__P37353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37635,7 +37636,7 @@ function length_inline__P16630_mk(s) { -function ArcadePhysicsEngine_moveSprite__P2268(s) { +function ArcadePhysicsEngine_moveSprite__P22991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37645,9 +37646,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___16662 = undefined; - s.maxDist___16670 = undefined; - s.ms___16690 = undefined; + s.tm___37385 = undefined; + s.maxDist___37393 = undefined; + s.ms___37413 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37656,7 +37657,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -37675,19 +37676,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__P2609_mk(s); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 694; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___16662 = (r0); - s.tmp_0 = r0 = s.tm___16662; + s.tm___37385 = (r0); + s.tmp_0 = r0 = s.tm___37385; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___16662.fields["_map"]; + r0 = s.tm___37385.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -37706,8 +37707,8 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___16670 = (r0); - s.tmp_2 = Math_abs__P128_mk(s); + s.maxDist___37393 = (r0); + s.tmp_2 = Math_abs__P20851_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -37716,14 +37717,14 @@ switch (step) { case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___16670); + r0 = (s.tmp_1 <= s.maxDist___37393); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_5 = Math_abs__P128_mk(s); + s.tmp_5 = Math_abs__P20851_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -37732,15 +37733,15 @@ switch (step) { case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___16670); + r0 = (s.tmp_4 <= s.maxDist___37393); 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__C2252_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C22975_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P2253_mk(s); + s.tmp_9 = MovingSprite_constructor__P22976_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -37754,18 +37755,18 @@ switch (step) { s.callLocIdx = 701; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___16690 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4163_mk(s); + s.ms___37413 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P24886_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___16690; - s.tmp_0.arg2 = s.tm___16662; + s.tmp_0.arg1 = s.ms___37413; + s.tmp_0.arg2 = s.tm___37385; s.callLocIdx = 702; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P2422_mk(s); - s.tmp_1.arg0 = s.tm___16662; + s.tmp_1 = tiles_TileMap_isOnWall__P23145_mk(s); + s.tmp_1.arg0 = s.tm___37385; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 703; s.pc = 18; return s.tmp_1; case 18: @@ -37776,10 +37777,10 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4165_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P24888_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___16662; + s.tmp_4.arg2 = s.tm___37385; s.callLocIdx = 704; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; @@ -37814,12 +37815,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P2268.info = {"start":22603,"length":1208,"line":623,"column":4,"endLine":654,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P22991.info = {"start":22603,"length":1208,"line":623,"column":4,"endLine":654,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P2268_mk(s) { +function ArcadePhysicsEngine_moveSprite__P22991_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P2268, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P22991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37831,9 +37832,9 @@ function ArcadePhysicsEngine_moveSprite__P2268_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___16662: undefined, - maxDist___16670: undefined, - ms___16690: undefined, + tm___37385: undefined, + maxDist___37393: undefined, + ms___37413: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37844,7 +37845,7 @@ function ArcadePhysicsEngine_moveSprite__P2268_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P4165(s) { +function ArcadePhysicsEngine_canResolveClipping__P24888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37854,19 +37855,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___16735 = undefined; - s.sz___16738 = undefined; - s.maxMove___16743 = undefined; - s.origY___16745 = undefined; - s.origX___16748 = undefined; - s.l___16751 = undefined; - s.r___16756 = undefined; - s.t___16761 = undefined; - s.b___16766 = undefined; - s.offset___16771 = undefined; - s.offset___16796 = undefined; - s.offset___16827 = undefined; - s.offset___16852 = undefined; + s.hbox___37458 = undefined; + s.sz___37461 = undefined; + s.maxMove___37466 = undefined; + s.origY___37468 = undefined; + s.origX___37471 = undefined; + s.l___37474 = undefined; + s.r___37479 = undefined; + s.t___37484 = undefined; + s.b___37489 = undefined; + s.offset___37494 = undefined; + s.offset___37519 = undefined; + s.offset___37550 = undefined; + s.offset___37575 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37874,7 +37875,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -37885,7 +37886,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_setHitbox__P2133_mk(s); + s.tmp_4 = Sprite_setHitbox__P22856_mk(s); s.tmp_4.arg0 = s.arg1; s.callLocIdx = 706; s.pc = 20; return s.tmp_4; case 20: @@ -37893,23 +37894,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___16735 = (r0); + s.hbox___37458 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___16738 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P2260_mk(s); + s.sz___37461 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P22983_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 708; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___16743 = (r0); + s.maxMove___37466 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___16745 = (r0); + s.origY___37468 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___16748 = (r0); - s.tmp_1 = game_Hitbox_left__P1997_mk(s); - s.tmp_1.arg0 = s.hbox___16735; + s.origX___37471 = (r0); + s.tmp_1 = game_Hitbox_left__P22720_mk(s); + s.tmp_1.arg0 = s.hbox___37458; s.callLocIdx = 709; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -37917,9 +37918,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___16751 = (r0); - s.tmp_1 = game_Hitbox_right__P1999_mk(s); - s.tmp_1.arg0 = s.hbox___16735; + s.l___37474 = (r0); + s.tmp_1 = game_Hitbox_right__P22722_mk(s); + s.tmp_1.arg0 = s.hbox___37458; s.callLocIdx = 711; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -37927,9 +37928,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___16756 = (r0); - s.tmp_1 = game_Hitbox_top__P1998_mk(s); - s.tmp_1.arg0 = s.hbox___16735; + s.r___37479 = (r0); + s.tmp_1 = game_Hitbox_top__P22721_mk(s); + s.tmp_1.arg0 = s.hbox___37458; s.callLocIdx = 713; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -37937,9 +37938,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___16761 = (r0); - s.tmp_1 = game_Hitbox_bottom__P2000_mk(s); - s.tmp_1.arg0 = s.hbox___16735; + s.t___37484 = (r0); + s.tmp_1 = game_Hitbox_bottom__P22723_mk(s); + s.tmp_1.arg0 = s.hbox___37458; s.callLocIdx = 715; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -37947,26 +37948,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___16766 = (r0); - r0 = (s.b___16766 + 1); + s.b___37489 = (r0); + r0 = (s.b___37489 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___16738); - s.offset___16771 = (r0); - r0 = (s.offset___16771 <= s.maxMove___16743); + r0 = (s.tmp_0 % s.sz___37461); + s.offset___37494 = (r0); + r0 = (s.offset___37494 <= s.maxMove___37466); 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___16771 * 256); + r0 = (s.offset___37494 * 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__P2422_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P23145_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 719; s.pc = 26; return s.tmp_3; @@ -37983,35 +37984,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___16745); + r0 = (s.arg1).fields["_y"] = (s.origY___37468); case 4: case 5: case 6: - r0 = (s.t___16761 / s.sz___16738); + r0 = (s.t___37484 / s.sz___37461); 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___16738); + r0 = (s.tmp_1 * s.sz___37461); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___16761); - s.offset___16796 = (r0); - r0 = (s.offset___16796 <= s.maxMove___16743); + r0 = (s.tmp_0 - s.t___37484); + s.offset___37519 = (r0); + r0 = (s.offset___37519 <= s.maxMove___37466); 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___16796 * 256); + r0 = (s.offset___37519 * 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__P2422_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P23145_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 722; s.pc = 27; return s.tmp_3; @@ -38028,29 +38029,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___16745); + r0 = (s.arg1).fields["_y"] = (s.origY___37468); case 8: case 9: case 10: - r0 = (s.r___16756 + 1); + r0 = (s.r___37479 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___16738); - s.offset___16827 = (r0); - r0 = (s.offset___16827 <= s.maxMove___16743); + r0 = (s.tmp_0 % s.sz___37461); + s.offset___37550 = (r0); + r0 = (s.offset___37550 <= s.maxMove___37466); 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___16827 * 256); + r0 = (s.offset___37550 * 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__P2422_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P23145_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 725; s.pc = 28; return s.tmp_3; @@ -38067,35 +38068,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___16748); + r0 = (s.arg1).fields["_x"] = (s.origX___37471); case 12: case 13: case 14: - r0 = (s.l___16751 / s.sz___16738); + r0 = (s.l___37474 / s.sz___37461); 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___16738); + r0 = (s.tmp_1 * s.sz___37461); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___16751); - s.offset___16852 = (r0); - r0 = (s.offset___16852 <= s.maxMove___16743); + r0 = (s.tmp_0 - s.l___37474); + s.offset___37575 = (r0); + r0 = (s.offset___37575 <= s.maxMove___37466); 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___16852 * 256); + r0 = (s.offset___37575 * 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__P2422_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P23145_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 728; s.pc = 29; return s.tmp_3; @@ -38112,7 +38113,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___16748); + r0 = (s.arg1).fields["_x"] = (s.origX___37471); case 16: case 17: case 18: @@ -38121,12 +38122,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P4165.info = {"start":23907,"length":2135,"line":657,"column":4,"endLine":728,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P24888.info = {"start":23907,"length":2135,"line":657,"column":4,"endLine":728,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P4165_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P24888_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P4165, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P24888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38134,19 +38135,19 @@ function ArcadePhysicsEngine_canResolveClipping__P4165_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___16735: undefined, - sz___16738: undefined, - maxMove___16743: undefined, - origY___16745: undefined, - origX___16748: undefined, - l___16751: undefined, - r___16756: undefined, - t___16761: undefined, - b___16766: undefined, - offset___16771: undefined, - offset___16796: undefined, - offset___16827: undefined, - offset___16852: undefined, + hbox___37458: undefined, + sz___37461: undefined, + maxMove___37466: undefined, + origY___37468: undefined, + origX___37471: undefined, + l___37474: undefined, + r___37479: undefined, + t___37484: undefined, + b___37489: undefined, + offset___37494: undefined, + offset___37519: undefined, + offset___37550: undefined, + offset___37575: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38156,7 +38157,7 @@ function ArcadePhysicsEngine_canResolveClipping__P4165_mk(s) { -function Sprite_isStatic__P2134(s) { +function Sprite_isStatic__P22857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38171,19 +38172,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2134.info = {"start":8561,"length":57,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P22857.info = {"start":8561,"length":57,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P2134_mk(s) { +function Sprite_isStatic__P22857_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P2134, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P22857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38193,7 +38194,7 @@ function Sprite_isStatic__P2134_mk(s) { -function game_Hitbox_bottom__P2000(s) { +function game_Hitbox_bottom__P22723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38208,10 +38209,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C1988_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C22711_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P1998_mk(s); + s.tmp_3 = game_Hitbox_top__P22721_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 253; s.pc = 1; return s.tmp_3; case 1: @@ -38223,13 +38224,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P2000.info = {"start":868,"length":139,"line":35,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} -game_Hitbox_bottom__P2000.isGetter = true; +game_Hitbox_bottom__P22723.info = {"start":868,"length":139,"line":35,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} +game_Hitbox_bottom__P22723.isGetter = true; -function game_Hitbox_bottom__P2000_mk(s) { +function game_Hitbox_bottom__P22723_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P2000, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P22723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38242,7 +38243,7 @@ function game_Hitbox_bottom__P2000_mk(s) { -function game_Hitbox_right__P1999(s) { +function game_Hitbox_right__P22722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38257,10 +38258,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C1988_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C22711_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P1997_mk(s); + s.tmp_3 = game_Hitbox_left__P22720_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 250; s.pc = 1; return s.tmp_3; case 1: @@ -38272,13 +38273,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P1999.info = {"start":720,"length":138,"line":28,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} -game_Hitbox_right__P1999.isGetter = true; +game_Hitbox_right__P22722.info = {"start":720,"length":138,"line":28,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} +game_Hitbox_right__P22722.isGetter = true; -function game_Hitbox_right__P1999_mk(s) { +function game_Hitbox_right__P22722_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P1999, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P22722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38291,7 +38292,7 @@ function game_Hitbox_right__P1999_mk(s) { -function game_Hitbox_top__P1998(s) { +function game_Hitbox_top__P22721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38306,7 +38307,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C1988_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C22711_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -38316,13 +38317,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P1998.info = {"start":637,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} -game_Hitbox_top__P1998.isGetter = true; +game_Hitbox_top__P22721.info = {"start":637,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} +game_Hitbox_top__P22721.isGetter = true; -function game_Hitbox_top__P1998_mk(s) { +function game_Hitbox_top__P22721_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P1998, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P22721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38333,7 +38334,7 @@ function game_Hitbox_top__P1998_mk(s) { -function game_Hitbox_left__P1997(s) { +function game_Hitbox_left__P22720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38348,7 +38349,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C1988_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C22711_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -38358,13 +38359,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P1997.info = {"start":553,"length":74,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} -game_Hitbox_left__P1997.isGetter = true; +game_Hitbox_left__P22720.info = {"start":553,"length":74,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} +game_Hitbox_left__P22720.isGetter = true; -function game_Hitbox_left__P1997_mk(s) { +function game_Hitbox_left__P22720_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P1997, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P22720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38375,7 +38376,7 @@ function game_Hitbox_left__P1997_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P4163(s) { +function ArcadePhysicsEngine_tilemapCollisions__P24886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38385,37 +38386,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___17020 = undefined; - s.hbox___17045 = undefined; - s.tileScale___17048 = undefined; - s.tileSize___17051 = undefined; - s.xDiff___17055 = undefined; - s.yDiff___17062 = undefined; - s.right___17078 = undefined; - s.x0___17082 = undefined; - s.collidedTiles___17097 = undefined; - s.y___17099 = undefined; - s.y0___17113 = undefined; - s.obstacle___17129 = undefined; - s.collisionDirection___17156 = undefined; - s.tile___17182 = undefined; - s.unnamed68___U14 = undefined; - s.unnamed69___U15 = undefined; - s.down___17266 = undefined; - s.y0___17270 = undefined; - s.collidedTiles___17285 = undefined; - s.x___17287 = undefined; - s.x0___17297 = undefined; - s.obstacle___17311 = undefined; - s.collisionDirection___17338 = undefined; - s.tile___17364 = undefined; - s.unnamed70___U24 = undefined; - s.unnamed71___U25 = undefined; - s.overlappedTiles___17451 = undefined; - s.x___17453 = undefined; - s.x0___17463 = undefined; - s.y___17473 = undefined; - s.y0___17483 = undefined; + s.s___37743 = undefined; + s.hbox___37768 = undefined; + s.tileScale___37771 = undefined; + s.tileSize___37774 = undefined; + s.xDiff___37778 = undefined; + s.yDiff___37785 = undefined; + s.right___37801 = undefined; + s.x0___37805 = undefined; + s.collidedTiles___37820 = undefined; + s.y___37822 = undefined; + s.y0___37836 = undefined; + s.obstacle___37852 = undefined; + s.collisionDirection___37879 = undefined; + s.tile___37905 = undefined; + s.unnamed148___U14 = undefined; + s.unnamed149___U15 = undefined; + s.down___37989 = undefined; + s.y0___37993 = undefined; + s.collidedTiles___38008 = undefined; + s.x___38010 = undefined; + s.x0___38020 = undefined; + s.obstacle___38034 = undefined; + s.collisionDirection___38061 = undefined; + s.tile___38087 = undefined; + s.unnamed150___U24 = undefined; + s.unnamed151___U25 = undefined; + s.overlappedTiles___38174 = undefined; + s.x___38176 = undefined; + s.x0___38186 = undefined; + s.y___38196 = undefined; + s.y0___38206 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38423,18 +38424,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___17020 = (r0); - r0 = s.s___17020.fields["flags"]; + s.s___37743 = (r0); + r0 = s.s___37743.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__P2422_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P23145_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___17020; + s.tmp_5.arg1 = s.s___37743; s.callLocIdx = 589; s.pc = 93; return s.tmp_5; case 93: r0 = s.retval; @@ -38445,7 +38446,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___17020; + s.tmp_6 = r0 = s.s___37743; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -38455,7 +38456,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___17020.fields["_image"]; + r0 = s.s___37743.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -38465,32 +38466,32 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_setHitbox__P2133_mk(s); - s.tmp_4.arg0 = s.s___17020; + s.tmp_4 = Sprite_setHitbox__P22856_mk(s); + s.tmp_4.arg0 = s.s___37743; s.callLocIdx = 591; s.pc = 94; return s.tmp_4; case 94: r0 = s.retval; case 5: case 6: - r0 = s.s___17020.fields["_hitbox"]; - s.hbox___17045 = (r0); + r0 = s.s___37743.fields["_hitbox"]; + s.hbox___37768 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___17048 = (r0); - r0 = (1 << s.tileScale___17048); - s.tileSize___17051 = (r0); - r0 = s.s___17020.fields["_x"]; + s.tileScale___37771 = (r0); + r0 = (1 << s.tileScale___37771); + s.tileSize___37774 = (r0); + r0 = s.s___37743.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___17020.fields["_lastX"]; + r0 = s.s___37743.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___17055 = (r0); - r0 = s.s___17020.fields["_y"]; + s.xDiff___37778 = (r0); + r0 = s.s___37743.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___17020.fields["_lastY"]; + r0 = s.s___37743.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___17062 = (r0); - r0 = s.s___17020.fields["flags"]; + s.yDiff___37785 = (r0); + r0 = s.s___37743.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -38500,16 +38501,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = (s.xDiff___17055 !== 0); + r0 = (s.xDiff___37778 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 41; continue; } - r0 = (s.xDiff___17055 > 0); - s.right___17078 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___17078); + r0 = (s.xDiff___37778 > 0); + s.right___37801 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___37801); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P1999_mk(s); - s.tmp_1.arg0 = s.hbox___17045; + s.tmp_1 = game_Hitbox_right__P22722_mk(s); + s.tmp_1.arg0 = s.hbox___37768; s.callLocIdx = 595; s.pc = 95; return s.tmp_1; case 95: r0 = s.retval; @@ -38517,8 +38518,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P1997_mk(s); - s.tmp_3.arg0 = s.hbox___17045; + s.tmp_3 = game_Hitbox_left__P22720_mk(s); + s.tmp_3.arg0 = s.hbox___37768; s.callLocIdx = 597; s.pc = 96; return s.tmp_3; case 96: r0 = s.retval; @@ -38529,30 +38530,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___17048 + 8); + r0 = (s.tileScale___37771 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___17082 = (r0); + s.x0___37805 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___17097 = (r0); - s.tmp_1 = game_Hitbox_top__P1998_mk(s); - s.tmp_1.arg0 = s.hbox___17045; + s.collidedTiles___37820 = (r0); + s.tmp_1 = game_Hitbox_top__P22721_mk(s); + s.tmp_1.arg0 = s.hbox___37768; s.callLocIdx = 601; s.pc = 97; return s.tmp_1; case 97: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___17062); - s.y___17099 = (r0); + r0 = (s.tmp_0 - s.yDiff___37785); + s.y___37822 = (r0); case 9: - s.tmp_1 = r0 = s.y___17099; - s.tmp_3 = r0 = s.tileSize___17051; - s.tmp_6 = game_Hitbox_bottom__P2000_mk(s); - s.tmp_6.arg0 = s.hbox___17045; + s.tmp_1 = r0 = s.y___37822; + s.tmp_3 = r0 = s.tileSize___37774; + s.tmp_6 = game_Hitbox_bottom__P22723_mk(s); + s.tmp_6.arg0 = s.hbox___37768; s.callLocIdx = 603; s.pc = 98; return s.tmp_6; case 98: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___17062); + r0 = (s.tmp_5 - s.yDiff___37785); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -38562,15 +38563,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P166_mk(s); - s.tmp_10.arg0 = s.y___17099; - s.tmp_12 = game_Hitbox_bottom__P2000_mk(s); - s.tmp_12.arg0 = s.hbox___17045; + s.tmp_10 = Fx_min__P20889_mk(s); + s.tmp_10.arg0 = s.y___37822; + s.tmp_12 = game_Hitbox_bottom__P22723_mk(s); + s.tmp_12.arg0 = s.hbox___37768; s.callLocIdx = 606; s.pc = 100; return s.tmp_12; case 100: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___17062); + r0 = (s.tmp_11 - s.yDiff___37785); s.tmp_10.arg1 = r0; s.callLocIdx = 608; s.pc = 99; return s.tmp_10; case 99: @@ -38578,33 +38579,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___17048 + 8); + r0 = (s.tileScale___37771 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___17113 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P2420_mk(s); + s.y0___37836 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P23143_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___17082; - s.tmp_1.arg2 = s.y0___17113; + s.tmp_1.arg1 = s.x0___37805; + s.tmp_1.arg2 = s.y0___37836; s.callLocIdx = 611; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P2421_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P23144_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___17082; - s.tmp_2.arg2 = s.y0___17113; + s.tmp_2.arg1 = s.x0___37805; + s.tmp_2.arg2 = s.y0___37836; s.callLocIdx = 612; s.pc = 102; return s.tmp_2; case 102: r0 = s.retval; - s.obstacle___17129 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17137); + s.obstacle___37852 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P37860); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17129); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___17097; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___37852); + s.tmp_4 = helpers_arraySome__P20830_mk(s); + s.tmp_4.arg0 = s.collidedTiles___37820; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 613; s.pc = 103; return s.tmp_4; case 103: @@ -38616,22 +38617,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___17097, s.obstacle___17129); + r0 = pxsim_Array__push(s.collidedTiles___37820, s.obstacle___37852); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___17051 << 8); + r0 = (s.tileSize___37774 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___17099); - s.y___17099 = (r0); + r0 = (s.tmp_0 + s.y___37822); + s.y___37822 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___17097); + r0 = pxsim_Array__length(s.collidedTiles___37820); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___17078); + r0 = pxsim_numops_toBoolDecr(s.right___37801); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -38640,23 +38641,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___17156 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___17078); + s.collisionDirection___37879 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___37801); if (!r0) { step = 17; continue; } - r0 = (s.x0___17082 << s.tileScale___17048); + r0 = (s.x0___37805 << s.tileScale___37771); 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___17045.fields["width"]; + r0 = s.hbox___37768.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___17082 + 1); + r0 = (s.x0___37805 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___17048); + r0 = (s.tmp_5 << s.tileScale___37771); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -38664,24 +38665,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___17020; - r0 = s.hbox___17045.fields["ox"]; + s.tmp_8 = r0 = s.s___37743; + r0 = s.hbox___37768.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___17182 = (undefined); - s.unnamed68___U14 = (s.collidedTiles___17097); - s.unnamed69___U15 = (0); + s.tile___37905 = (undefined); + s.unnamed148___U14 = (s.collidedTiles___37820); + s.unnamed149___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed69___U15; - r0 = pxsim_Array__length(s.unnamed68___U14); + s.tmp_0 = r0 = s.unnamed149___U15; + r0 = pxsim_Array__length(s.unnamed148___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed68___U14, s.unnamed69___U15); - s.tile___17182 = (r0); - r0 = s.s___17020.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed148___U14, s.unnamed149___U15); + s.tile___37905 = (r0); + r0 = s.s___37743.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -38691,29 +38692,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_6 = Sprite_registerObstacle__P2164_mk(s); - s.tmp_6.arg0 = s.s___17020; - s.tmp_6.arg1 = s.collisionDirection___17156; - s.tmp_6.arg2 = s.tile___17182; + s.tmp_6 = Sprite_registerObstacle__P22887_mk(s); + s.tmp_6.arg0 = s.s___37743; + s.tmp_6.arg1 = s.collisionDirection___37879; + s.tmp_6.arg2 = s.tile___37905; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 619; s.pc = 104; return s.tmp_6; case 104: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed69___U15 + 1); - s.unnamed69___U15 = (r0); + r0 = (s.unnamed149___U15 + 1); + s.unnamed149___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed68___U14 = (undefined); - r0 = s.s___17020.fields["flags"]; + s.unnamed148___U14 = (undefined); + r0 = s.s___37743.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__P2166_mk(s); - s.tmp_2.arg0 = s.s___17020; + s.tmp_2 = Sprite_destroy__P22889_mk(s); + s.tmp_2.arg0 = s.s___37743; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 620; s.pc = 105; return s.tmp_2; @@ -38721,7 +38722,7 @@ switch (step) { r0 = s.retval; { step = 38; continue; } case 23: - r0 = s.s___17020.fields["_vx"]; + r0 = s.s___37743.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -38729,13 +38730,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 34; continue; } - r0 = s.s___17020.fields["flags"]; + r0 = s.s___37743.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 32); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 32; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___17078); + r0 = pxsim_numops_toBoolDecr(s.right___37801); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -38744,8 +38745,8 @@ switch (step) { r0 = s.tmp_5; { step = 25; continue; } case 24: - s.tmp_8 = Sprite_vx__P2105_mk(s); - s.tmp_8.arg0 = s.s___17020; + s.tmp_8 = Sprite_vx__P22828_mk(s); + s.tmp_8.arg0 = s.s___37743; s.callLocIdx = 621; s.pc = 106; return s.tmp_8; case 106: r0 = s.retval; @@ -38759,14 +38760,14 @@ switch (step) { r0 = s.tmp_9; { step = 29; continue; } case 26: - s.tmp_10 = r0 = s.right___17078; + s.tmp_10 = r0 = s.right___37801; r0 = pxsim_numops_toBool(s.tmp_10); if (r0) { step = 27; continue; } r0 = s.tmp_10; { step = 28; continue; } case 27: - s.tmp_12 = Sprite_vx__P2105_mk(s); - s.tmp_12.arg0 = s.s___17020; + s.tmp_12 = Sprite_vx__P22828_mk(s); + s.tmp_12.arg0 = s.s___37743; s.callLocIdx = 622; s.pc = 107; return s.tmp_12; case 107: r0 = s.retval; @@ -38781,8 +38782,8 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 30; continue; } - s.tmp_15 = r0 = s.s___17020; - r0 = s.s___17020.fields["_vx"]; + s.tmp_15 = r0 = s.s___37743; + r0 = s.s___37743.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -38804,12 +38805,12 @@ switch (step) { { step = 33; continue; } case 32: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___17020).fields["_vx"] = (0); + r0 = (s.s___37743).fields["_vx"] = (0); case 33: { step = 37; continue; } case 34: - s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___17020.fields["_vx"]; + s.tmp_2 = Math_sign__P20852_mk(s); + r0 = s.s___37743.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -38819,7 +38820,7 @@ switch (step) { case 108: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P129_mk(s); + s.tmp_6 = Math_sign__P20852_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -38843,16 +38844,16 @@ switch (step) { case 40: case 41: case 42: - r0 = (s.yDiff___17062 !== 0); + r0 = (s.yDiff___37785 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 77; continue; } - r0 = (s.yDiff___17062 > 0); - s.down___17266 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___17266); + r0 = (s.yDiff___37785 > 0); + s.down___37989 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___37989); if (!r0) { step = 43; continue; } - s.tmp_1 = game_Hitbox_bottom__P2000_mk(s); - s.tmp_1.arg0 = s.hbox___17045; + s.tmp_1 = game_Hitbox_bottom__P22723_mk(s); + s.tmp_1.arg0 = s.hbox___37768; s.callLocIdx = 630; s.pc = 110; return s.tmp_1; case 110: r0 = s.retval; @@ -38860,8 +38861,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 44; continue; } case 43: - s.tmp_3 = game_Hitbox_top__P1998_mk(s); - s.tmp_3.arg0 = s.hbox___17045; + s.tmp_3 = game_Hitbox_top__P22721_mk(s); + s.tmp_3.arg0 = s.hbox___37768; s.callLocIdx = 632; s.pc = 111; return s.tmp_3; case 111: r0 = s.retval; @@ -38872,23 +38873,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___17048 + 8); + r0 = (s.tileScale___37771 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___17270 = (r0); + s.y0___37993 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___17285 = (r0); - s.tmp_0 = game_Hitbox_left__P1997_mk(s); - s.tmp_0.arg0 = s.hbox___17045; + s.collidedTiles___38008 = (r0); + s.tmp_0 = game_Hitbox_left__P22720_mk(s); + s.tmp_0.arg0 = s.hbox___37768; s.callLocIdx = 636; s.pc = 112; return s.tmp_0; case 112: r0 = s.retval; - s.x___17287 = (r0); + s.x___38010 = (r0); case 45: - s.tmp_1 = r0 = s.x___17287; - s.tmp_3 = r0 = s.tileSize___17051; - s.tmp_5 = game_Hitbox_right__P1999_mk(s); - s.tmp_5.arg0 = s.hbox___17045; + s.tmp_1 = r0 = s.x___38010; + s.tmp_3 = r0 = s.tileSize___37774; + s.tmp_5 = game_Hitbox_right__P22722_mk(s); + s.tmp_5.arg0 = s.hbox___37768; s.callLocIdx = 637; s.pc = 113; return s.tmp_5; case 113: r0 = s.retval; @@ -38901,10 +38902,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 50; continue; } - s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.x___17287; - s.tmp_10 = game_Hitbox_right__P1999_mk(s); - s.tmp_10.arg0 = s.hbox___17045; + s.tmp_9 = Fx_min__P20889_mk(s); + s.tmp_9.arg0 = s.x___38010; + s.tmp_10 = game_Hitbox_right__P22722_mk(s); + s.tmp_10.arg0 = s.hbox___37768; s.callLocIdx = 639; s.pc = 115; return s.tmp_10; case 115: r0 = s.retval; @@ -38915,33 +38916,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___17048 + 8); + r0 = (s.tileScale___37771 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___17297 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P2420_mk(s); + s.x0___38020 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P23143_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___17297; - s.tmp_1.arg2 = s.y0___17270; + s.tmp_1.arg1 = s.x0___38020; + s.tmp_1.arg2 = s.y0___37993; s.callLocIdx = 643; s.pc = 116; return s.tmp_1; case 116: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P2421_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P23144_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___17297; - s.tmp_2.arg2 = s.y0___17270; + s.tmp_2.arg1 = s.x0___38020; + s.tmp_2.arg2 = s.y0___37993; s.callLocIdx = 644; s.pc = 117; return s.tmp_2; case 117: r0 = s.retval; - s.obstacle___17311 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17319); + s.obstacle___38034 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P38042); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17311); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___17285; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___38034); + s.tmp_4 = helpers_arraySome__P20830_mk(s); + s.tmp_4.arg0 = s.collidedTiles___38008; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 645; s.pc = 118; return s.tmp_4; case 118: @@ -38953,22 +38954,22 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 46; continue; } - r0 = pxsim_Array__push(s.collidedTiles___17285, s.obstacle___17311); + r0 = pxsim_Array__push(s.collidedTiles___38008, s.obstacle___38034); case 46: case 47: case 48: case 49: - r0 = (s.tileSize___17051 << 8); + r0 = (s.tileSize___37774 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___17287); - s.x___17287 = (r0); + r0 = (s.tmp_0 + s.x___38010); + s.x___38010 = (r0); { step = 45; continue; } case 50: - r0 = pxsim_Array__length(s.collidedTiles___17285); + r0 = pxsim_Array__length(s.collidedTiles___38008); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 75; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___17266); + r0 = pxsim_numops_toBoolDecr(s.down___37989); if (!r0) { step = 51; continue; } r0 = 3; { step = 52; continue; } @@ -38977,23 +38978,23 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___17338 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___17266); + s.collisionDirection___38061 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___37989); if (!r0) { step = 53; continue; } - r0 = (s.y0___17270 << s.tileScale___17048); + r0 = (s.y0___37993 << s.tileScale___37771); 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___17045.fields["height"]; + r0 = s.hbox___37768.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 54; continue; } case 53: - r0 = (s.y0___17270 + 1); + r0 = (s.y0___37993 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___17048); + r0 = (s.tmp_5 << s.tileScale___37771); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -39001,24 +39002,24 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___17020; - r0 = s.hbox___17045.fields["oy"]; + s.tmp_8 = r0 = s.s___37743; + r0 = s.hbox___37768.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___17364 = (undefined); - s.unnamed70___U24 = (s.collidedTiles___17285); - s.unnamed71___U25 = (0); + s.tile___38087 = (undefined); + s.unnamed150___U24 = (s.collidedTiles___38008); + s.unnamed151___U25 = (0); case 55: - s.tmp_0 = r0 = s.unnamed71___U25; - r0 = pxsim_Array__length(s.unnamed70___U24); + s.tmp_0 = r0 = s.unnamed151___U25; + r0 = pxsim_Array__length(s.unnamed150___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 58; continue; } - r0 = pxsim_Array__getAt(s.unnamed70___U24, s.unnamed71___U25); - s.tile___17364 = (r0); - r0 = s.s___17020.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed150___U24, s.unnamed151___U25); + s.tile___38087 = (r0); + r0 = s.s___37743.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -39028,29 +39029,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 56; continue; } - s.tmp_6 = Sprite_registerObstacle__P2164_mk(s); - s.tmp_6.arg0 = s.s___17020; - s.tmp_6.arg1 = s.collisionDirection___17338; - s.tmp_6.arg2 = s.tile___17364; + s.tmp_6 = Sprite_registerObstacle__P22887_mk(s); + s.tmp_6.arg0 = s.s___37743; + s.tmp_6.arg1 = s.collisionDirection___38061; + s.tmp_6.arg2 = s.tile___38087; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 651; s.pc = 119; return s.tmp_6; case 119: r0 = s.retval; case 56: case 57: - r0 = (s.unnamed71___U25 + 1); - s.unnamed71___U25 = (r0); + r0 = (s.unnamed151___U25 + 1); + s.unnamed151___U25 = (r0); { step = 55; continue; } case 58: - s.unnamed70___U24 = (undefined); - r0 = s.s___17020.fields["flags"]; + s.unnamed150___U24 = (undefined); + r0 = s.s___37743.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 59; continue; } - s.tmp_2 = Sprite_destroy__P2166_mk(s); - s.tmp_2.arg0 = s.s___17020; + s.tmp_2 = Sprite_destroy__P22889_mk(s); + s.tmp_2.arg0 = s.s___37743; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 652; s.pc = 120; return s.tmp_2; @@ -39058,7 +39059,7 @@ switch (step) { r0 = s.retval; { step = 74; continue; } case 59: - r0 = s.s___17020.fields["_vy"]; + r0 = s.s___37743.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -39066,13 +39067,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 70; continue; } - r0 = s.s___17020.fields["flags"]; + r0 = s.s___37743.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 32); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 68; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___17266); + r0 = pxsim_numops_toBoolDecr(s.down___37989); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -39081,8 +39082,8 @@ switch (step) { r0 = s.tmp_5; { step = 61; continue; } case 60: - s.tmp_8 = Sprite_vy__P2107_mk(s); - s.tmp_8.arg0 = s.s___17020; + s.tmp_8 = Sprite_vy__P22830_mk(s); + s.tmp_8.arg0 = s.s___37743; s.callLocIdx = 653; s.pc = 121; return s.tmp_8; case 121: r0 = s.retval; @@ -39096,14 +39097,14 @@ switch (step) { r0 = s.tmp_9; { step = 65; continue; } case 62: - s.tmp_10 = r0 = s.down___17266; + s.tmp_10 = r0 = s.down___37989; r0 = pxsim_numops_toBool(s.tmp_10); if (r0) { step = 63; continue; } r0 = s.tmp_10; { step = 64; continue; } case 63: - s.tmp_12 = Sprite_vy__P2107_mk(s); - s.tmp_12.arg0 = s.s___17020; + s.tmp_12 = Sprite_vy__P22830_mk(s); + s.tmp_12.arg0 = s.s___37743; s.callLocIdx = 654; s.pc = 122; return s.tmp_12; case 122: r0 = s.retval; @@ -39118,8 +39119,8 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 66; continue; } - s.tmp_15 = r0 = s.s___17020; - r0 = s.s___17020.fields["_vy"]; + s.tmp_15 = r0 = s.s___37743; + r0 = s.s___37743.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -39141,12 +39142,12 @@ switch (step) { { step = 69; continue; } case 68: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___17020).fields["_vy"] = (0); + r0 = (s.s___37743).fields["_vy"] = (0); case 69: { step = 73; continue; } case 70: - s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___17020.fields["_vy"]; + s.tmp_2 = Math_sign__P20852_mk(s); + r0 = s.s___37743.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -39156,7 +39157,7 @@ switch (step) { case 123: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P129_mk(s); + s.tmp_6 = Math_sign__P20852_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -39182,7 +39183,7 @@ switch (step) { case 78: case 79: case 80: - r0 = s.s___17020.fields["flags"]; + r0 = s.s___37743.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -39193,18 +39194,18 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 91; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___17451 = (r0); - s.tmp_0 = game_Hitbox_left__P1997_mk(s); - s.tmp_0.arg0 = s.hbox___17045; + s.overlappedTiles___38174 = (r0); + s.tmp_0 = game_Hitbox_left__P22720_mk(s); + s.tmp_0.arg0 = s.hbox___37768; s.callLocIdx = 662; s.pc = 125; return s.tmp_0; case 125: r0 = s.retval; - s.x___17453 = (r0); + s.x___38176 = (r0); case 81: - s.tmp_1 = r0 = s.x___17453; - s.tmp_3 = r0 = s.tileSize___17051; - s.tmp_5 = game_Hitbox_right__P1999_mk(s); - s.tmp_5.arg0 = s.hbox___17045; + s.tmp_1 = r0 = s.x___38176; + s.tmp_3 = r0 = s.tileSize___37774; + s.tmp_5 = game_Hitbox_right__P22722_mk(s); + s.tmp_5.arg0 = s.hbox___37768; s.callLocIdx = 663; s.pc = 126; return s.tmp_5; case 126: r0 = s.retval; @@ -39217,10 +39218,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 88; continue; } - s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.x___17453; - s.tmp_10 = game_Hitbox_right__P1999_mk(s); - s.tmp_10.arg0 = s.hbox___17045; + s.tmp_9 = Fx_min__P20889_mk(s); + s.tmp_9.arg0 = s.x___38176; + s.tmp_10 = game_Hitbox_right__P22722_mk(s); + s.tmp_10.arg0 = s.hbox___37768; s.callLocIdx = 665; s.pc = 128; return s.tmp_10; case 128: r0 = s.retval; @@ -39231,21 +39232,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___17048 + 8); + r0 = (s.tileScale___37771 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___17463 = (r0); - s.tmp_0 = game_Hitbox_top__P1998_mk(s); - s.tmp_0.arg0 = s.hbox___17045; + s.x0___38186 = (r0); + s.tmp_0 = game_Hitbox_top__P22721_mk(s); + s.tmp_0.arg0 = s.hbox___37768; s.callLocIdx = 669; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.y___17473 = (r0); + s.y___38196 = (r0); case 82: - s.tmp_1 = r0 = s.y___17473; - s.tmp_3 = r0 = s.tileSize___17051; - s.tmp_5 = game_Hitbox_bottom__P2000_mk(s); - s.tmp_5.arg0 = s.hbox___17045; + s.tmp_1 = r0 = s.y___38196; + s.tmp_3 = r0 = s.tileSize___37774; + s.tmp_5 = game_Hitbox_bottom__P22723_mk(s); + s.tmp_5.arg0 = s.hbox___37768; s.callLocIdx = 670; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; @@ -39258,10 +39259,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 87; continue; } - s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.y___17473; - s.tmp_10 = game_Hitbox_bottom__P2000_mk(s); - s.tmp_10.arg0 = s.hbox___17045; + s.tmp_9 = Fx_min__P20889_mk(s); + s.tmp_9.arg0 = s.y___38196; + s.tmp_10 = game_Hitbox_bottom__P22723_mk(s); + s.tmp_10.arg0 = s.hbox___37768; s.callLocIdx = 672; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; @@ -39272,14 +39273,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___17048 + 8); + r0 = (s.tileScale___37771 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___17483 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P2420_mk(s); + s.y0___38206 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P23143_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___17463; - s.tmp_3.arg2 = s.y0___17483; + s.tmp_3.arg1 = s.x0___38186; + s.tmp_3.arg2 = s.y0___38206; s.callLocIdx = 676; s.pc = 133; return s.tmp_3; case 133: r0 = s.retval; @@ -39293,7 +39294,7 @@ switch (step) { r0 = s.tmp_0; { step = 84; continue; } case 83: - r0 = s.s___17020.fields["flags"]; + r0 = s.s___37743.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -39309,11 +39310,11 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 85; continue; } - s.tmp_10 = r0 = s.overlappedTiles___17451; - s.tmp_12 = tiles_TileMap_getTile__P2413_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___38174; + s.tmp_12 = tiles_TileMap_getTile__P23136_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___17463; - s.tmp_12.arg2 = s.y0___17483; + s.tmp_12.arg1 = s.x0___38186; + s.tmp_12.arg2 = s.y0___38206; s.callLocIdx = 677; s.pc = 134; return s.tmp_12; case 134: r0 = s.retval; @@ -39321,26 +39322,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 85: case 86: - r0 = (s.tileSize___17051 << 8); + r0 = (s.tileSize___37774 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___17473); - s.y___17473 = (r0); + r0 = (s.tmp_0 + s.y___38196); + s.y___38196 = (r0); { step = 82; continue; } case 87: - r0 = (s.tileSize___17051 << 8); + r0 = (s.tileSize___37774 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___17453); - s.x___17453 = (r0); + r0 = (s.tmp_0 + s.x___38176); + s.x___38176 = (r0); { step = 81; continue; } case 88: - r0 = pxsim_Array__length(s.overlappedTiles___17451); + r0 = pxsim_Array__length(s.overlappedTiles___38174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 89; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P4164_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P24887_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___17020; - s.tmp_1.arg2 = s.overlappedTiles___17451; + s.tmp_1.arg1 = s.s___37743; + s.tmp_1.arg2 = s.overlappedTiles___38174; s.callLocIdx = 680; s.pc = 135; return s.tmp_1; case 135: r0 = s.retval; @@ -39352,12 +39353,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P4163.info = {"start":11722,"length":9572,"line":348,"column":4,"endLine":587,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P24886.info = {"start":11722,"length":9572,"line":348,"column":4,"endLine":587,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P4163_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P24886_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P4163, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P24886, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39377,37 +39378,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P4163_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___17020: undefined, - hbox___17045: undefined, - tileScale___17048: undefined, - tileSize___17051: undefined, - xDiff___17055: undefined, - yDiff___17062: undefined, - right___17078: undefined, - x0___17082: undefined, - collidedTiles___17097: undefined, - y___17099: undefined, - y0___17113: undefined, - obstacle___17129: undefined, - collisionDirection___17156: undefined, - tile___17182: undefined, - unnamed68___U14: undefined, - unnamed69___U15: undefined, - down___17266: undefined, - y0___17270: undefined, - collidedTiles___17285: undefined, - x___17287: undefined, - x0___17297: undefined, - obstacle___17311: undefined, - collisionDirection___17338: undefined, - tile___17364: undefined, - unnamed70___U24: undefined, - unnamed71___U25: undefined, - overlappedTiles___17451: undefined, - x___17453: undefined, - x0___17463: undefined, - y___17473: undefined, - y0___17483: undefined, + s___37743: undefined, + hbox___37768: undefined, + tileScale___37771: undefined, + tileSize___37774: undefined, + xDiff___37778: undefined, + yDiff___37785: undefined, + right___37801: undefined, + x0___37805: undefined, + collidedTiles___37820: undefined, + y___37822: undefined, + y0___37836: undefined, + obstacle___37852: undefined, + collisionDirection___37879: undefined, + tile___37905: undefined, + unnamed148___U14: undefined, + unnamed149___U15: undefined, + down___37989: undefined, + y0___37993: undefined, + collidedTiles___38008: undefined, + x___38010: undefined, + x0___38020: undefined, + obstacle___38034: undefined, + collisionDirection___38061: undefined, + tile___38087: undefined, + unnamed150___U24: undefined, + unnamed151___U25: undefined, + overlappedTiles___38174: undefined, + x___38176: undefined, + x0___38186: undefined, + y___38196: undefined, + y0___38206: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39417,7 +39418,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P4163_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P17137(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P37860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39439,12 +39440,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P17137.info = {"start":13940,"length":39,"line":410,"column":48,"endLine":410,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P37860.info = {"start":13940,"length":39,"line":410,"column":48,"endLine":410,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P17137_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P37860_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17137, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P37860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39455,7 +39456,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P17137_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P17319(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P38042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39477,12 +39478,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P17319.info = {"start":17420,"length":39,"line":491,"column":48,"endLine":491,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P38042.info = {"start":17420,"length":39,"line":491,"column":48,"endLine":491,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P17319_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P38042_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17319, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P38042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39493,7 +39494,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P17319_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P4164(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P24887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39503,11 +39504,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___17530 = undefined; - s.tile___17533 = undefined; - s.unnamed72___U2 = undefined; - s.unnamed73___U3 = undefined; - s.tileOverlapHandlers___17554 = undefined; + s.alreadyHandled___38253 = undefined; + s.tile___38256 = undefined; + s.unnamed152___U2 = undefined; + s.unnamed153___U3 = undefined; + s.tileOverlapHandlers___38277 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39515,25 +39516,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___17530 = (r0); - s.tile___17533 = (undefined); - s.unnamed72___U2 = (s.arg2); - s.unnamed73___U3 = (0); + s.alreadyHandled___38253 = (r0); + s.tile___38256 = (undefined); + s.unnamed152___U2 = (s.arg2); + s.unnamed153___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed73___U3; - r0 = pxsim_Array__length(s.unnamed72___U2); + s.tmp_0 = r0 = s.unnamed153___U3; + r0 = pxsim_Array__length(s.unnamed152___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed72___U2, s.unnamed73___U3); - s.tile___17533 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P17537); + r0 = pxsim_Array__getAt(s.unnamed152___U2, s.unnamed153___U3); + s.tile___38256 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P38260); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___17533); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___17530; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___38256); + s.tmp_4 = helpers_arraySome__P20830_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___38253; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 685; s.pc = 8; return s.tmp_4; case 8: @@ -39544,26 +39545,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___17530, s.tile___17533); - s.tmp_0 = game_currentScene__P2609_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___38253, s.tile___38256); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 686; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___17554 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___17554); + s.tileOverlapHandlers___38277 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___38277); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P17562); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P38285); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___17533); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P17578); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___38256); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P38301); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___17533); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___17554; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___38256); + s.tmp_2 = helpers_arrayForEach__P20832_mk(s); + s.tmp_3 = helpers_arrayFilter__P20833_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___38277; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 689; s.pc = 11; return s.tmp_3; case 11: @@ -39576,32 +39577,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed73___U3 + 1); - s.unnamed73___U3 = (r0); + r0 = (s.unnamed153___U3 + 1); + s.unnamed153___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed72___U2 = (undefined); + s.unnamed152___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P4164.info = {"start":21571,"length":701,"line":595,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P24887.info = {"start":21571,"length":701,"line":595,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P4164_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P24887_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P4164, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P24887, 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___17530: undefined, - tile___17533: undefined, - unnamed72___U2: undefined, - unnamed73___U3: undefined, - tileOverlapHandlers___17554: undefined, + alreadyHandled___38253: undefined, + tile___38256: undefined, + unnamed152___U2: undefined, + unnamed153___U3: undefined, + tileOverlapHandlers___38277: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39611,7 +39612,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P4164_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17537(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P38260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39648,12 +39649,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P17537.info = {"start":21786,"length":45,"line":599,"column":36,"endLine":599,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P38260.info = {"start":21786,"length":45,"line":599,"column":36,"endLine":599,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17537_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P38260_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17537, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P38260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39668,7 +39669,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P17537_mk(s) { -function forEach_inline__P17562(s) { +function forEach_inline__P38285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39695,7 +39696,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P2429_mk(s); + s.tmp_5 = tiles_getTileImage__P23152_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 688; s.pc = 3; return s.tmp_5; case 3: @@ -39709,12 +39710,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P17562.info = {"start":22100,"length":81,"line":607,"column":28,"endLine":607,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P38285.info = {"start":22100,"length":81,"line":607,"column":28,"endLine":607,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P17562_mk(s) { +function forEach_inline__P38285_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P17562, depth: s.depth + 1, + parent: s, fn: forEach_inline__P38285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39730,7 +39731,7 @@ function forEach_inline__P17562_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17578(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P38301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39763,12 +39764,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P17578.info = {"start":22212,"length":28,"line":608,"column":29,"endLine":608,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P38301.info = {"start":22212,"length":28,"line":608,"column":29,"endLine":608,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17578_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P38301_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17578, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P38301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39778,7 +39779,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P17578_mk(s) { -function tiles_getTileImage__P2429(s) { +function tiles_getTileImage__P23152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39788,16 +39789,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___17586 = undefined; + s.scene___38309 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2609_mk(s); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 911; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___17586 = (r0); + s.scene___38309 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -39807,7 +39808,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___17586.fields["tileMap"]; + r0 = s.scene___38309.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -39817,14 +39818,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex17596); + r0 = pxsim.image.ofBuffer(_hex38319); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P2423_mk(s); - r0 = s.scene___17586.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P23146_mk(s); + r0 = s.scene___38309.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P2378_mk(s); + s.tmp_6 = tiles_Location_tileSet__P23101_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 912; s.pc = 8; return s.tmp_6; case 8: @@ -39837,12 +39838,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P2429.info = {"start":16692,"length":207,"line":526,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P23152.info = {"start":16692,"length":207,"line":526,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P2429_mk(s) { +function tiles_getTileImage__P23152_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P2429, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P23152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39851,16 +39852,16 @@ function tiles_getTileImage__P2429_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___17586: undefined, + scene___38309: undefined, arg0: undefined, } } -const _hex17596 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex38319 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P2423(s) { +function tiles_TileMap_getTileImage__P23146(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39876,8 +39877,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P2396_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P23119_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -39887,12 +39888,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P2423.info = {"start":13755,"length":96,"line":443,"column":8,"endLine":445,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P23146.info = {"start":13755,"length":96,"line":443,"column":8,"endLine":445,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P2423_mk(s) { +function tiles_TileMap_getTileImage__P23146_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P2423, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P23146, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39903,7 +39904,7 @@ function tiles_TileMap_getTileImage__P2423_mk(s) { -function tiles_TileMapData_getTileImage__P2396(s) { +function tiles_TileMapData_getTileImage__P23119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39913,25 +39914,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___17649 = undefined; - s.cachedImage___17653 = undefined; - s.originalImage___17660 = undefined; + s.size___38372 = undefined; + s.cachedImage___38376 = undefined; + s.originalImage___38383 = 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__C2387_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C23110_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___17649 = (r0); + s.size___38372 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___17653 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___17653); + s.cachedImage___38376 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___38376); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -39940,58 +39941,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___17660 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___17660); + s.originalImage___38383 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___38383); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___17660); + r0 = pxsim_ImageMethods.width(s.originalImage___38383); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___17649); + r0 = (s.tmp_1 <= s.size___38372); 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___17660); + r0 = pxsim_ImageMethods.height(s.originalImage___38383); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___17649); + r0 = (s.tmp_2 <= s.size___38372); 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___17653 = (s.originalImage___17660); + s.cachedImage___38376 = (s.originalImage___38383); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___17649, s.size___17649); - s.cachedImage___17653 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___17653, s.originalImage___17660, 0, 0); + r0 = pxsim.image.create(s.size___38372, s.size___38372); + s.cachedImage___38376 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___38376, s.originalImage___38383, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___17653); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___38376); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___17653; + r0 = s.cachedImage___38376; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P2396.info = {"start":4599,"length":717,"line":172,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P23119.info = {"start":4599,"length":717,"line":172,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMapData_getTileImage__P2396_mk(s) { +function tiles_TileMapData_getTileImage__P23119_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P2396, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P23119, 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___17649: undefined, - cachedImage___17653: undefined, - originalImage___17660: undefined, + size___38372: undefined, + cachedImage___38376: undefined, + originalImage___38383: undefined, arg0: undefined, arg1: undefined, } } @@ -40000,7 +40001,7 @@ function tiles_TileMapData_getTileImage__P2396_mk(s) { -function tiles_TileMapData_scale__P2391(s) { +function tiles_TileMapData_scale__P23114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40015,18 +40016,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2387_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C23110_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P2391.info = {"start":3809,"length":66,"line":143,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMapData_scale__P2391.isGetter = true; +tiles_TileMapData_scale__P23114.info = {"start":3809,"length":66,"line":143,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P23114.isGetter = true; -function tiles_TileMapData_scale__P2391_mk(s) { +function tiles_TileMapData_scale__P23114_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P2391, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P23114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40035,7 +40036,7 @@ function tiles_TileMapData_scale__P2391_mk(s) { -function tiles_Location_tileSet__P2378(s) { +function tiles_Location_tileSet__P23101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40050,8 +40051,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2372_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P2414_mk(s); + if (!checkSubtype(r0, tiles_Location__C23095_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P23137_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; @@ -40064,13 +40065,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P2378.info = {"start":981,"length":101,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -tiles_Location_tileSet__P2378.isGetter = true; +tiles_Location_tileSet__P23101.info = {"start":981,"length":101,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P23101.isGetter = true; -function tiles_Location_tileSet__P2378_mk(s) { +function tiles_Location_tileSet__P23101_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P2378, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P23101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40080,7 +40081,7 @@ function tiles_Location_tileSet__P2378_mk(s) { -function tiles_TileMap_getTileIndex__P2414(s) { +function tiles_TileMap_getTileIndex__P23137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40097,8 +40098,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P2393_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P23116_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -40109,12 +40110,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P2414.info = {"start":7436,"length":105,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P23137.info = {"start":7436,"length":105,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_TileMap_getTileIndex__P2414_mk(s) { +function tiles_TileMap_getTileIndex__P23137_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P2414, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P23137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40126,7 +40127,7 @@ function tiles_TileMap_getTileIndex__P2414_mk(s) { -function tiles_TileMapData_getTile__P2393(s) { +function tiles_TileMapData_getTile__P23116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40143,8 +40144,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2387_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P2399_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C23110_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P23122_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -40177,12 +40178,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P2393.info = {"start":3997,"length":200,"line":152,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P23116.info = {"start":3997,"length":200,"line":152,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMapData_getTile__P2393_mk(s) { +function tiles_TileMapData_getTile__P23116_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P2393, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P23116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40202,7 +40203,7 @@ function tiles_TileMapData_getTile__P2393_mk(s) { -function tiles_TileMapData_isOutsideMap__P2399(s) { +function tiles_TileMapData_isOutsideMap__P23122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40219,7 +40220,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2387_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C23110_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -40259,12 +40260,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P2399.info = {"start":5580,"length":132,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P23122.info = {"start":5580,"length":132,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_TileMapData_isOutsideMap__P2399_mk(s) { +function tiles_TileMapData_isOutsideMap__P23122_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P2399, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P23122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40283,7 +40284,7 @@ function tiles_TileMapData_isOutsideMap__P2399_mk(s) { -function tiles_Location_row__P2374(s) { +function tiles_Location_row__P23097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40298,18 +40299,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2372_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C23095_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P2374.info = {"start":467,"length":51,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} -tiles_Location_row__P2374.isGetter = true; +tiles_Location_row__P23097.info = {"start":467,"length":51,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} +tiles_Location_row__P23097.isGetter = true; -function tiles_Location_row__P2374_mk(s) { +function tiles_Location_row__P23097_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P2374, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P23097, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40318,7 +40319,7 @@ function tiles_Location_row__P2374_mk(s) { -function tiles_Location_col__P2373(s) { +function tiles_Location_col__P23096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40333,18 +40334,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2372_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C23095_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_col__P2373.info = {"start":406,"length":51,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} -tiles_Location_col__P2373.isGetter = true; +tiles_Location_col__P23096.info = {"start":406,"length":51,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} +tiles_Location_col__P23096.isGetter = true; -function tiles_Location_col__P2373_mk(s) { +function tiles_Location_col__P23096_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P2373, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P23096, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40353,7 +40354,7 @@ function tiles_Location_col__P2373_mk(s) { -function tiles_TileMap_getObstacle__P2421(s) { +function tiles_TileMap_getObstacle__P23144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40363,8 +40364,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___17826 = undefined; - s.tile___17838 = undefined; + s.index___38549 = undefined; + s.tile___38561 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40372,8 +40373,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P2399_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P23122_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -40387,7 +40388,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P2393_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P23116_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -40398,20 +40399,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___17826 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P2396_mk(s); + s.index___38549 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P23119_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___17826; + s.tmp_0.arg1 = s.index___38549; s.callLocIdx = 891; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___17838 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2225_VT); + s.tile___38561 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C22948_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P2231_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P22954_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___17838; + s.tmp_1.arg1 = s.tile___38561; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -40424,7 +40425,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___17826; + s.tmp_1.arg5 = s.index___38549; s.callLocIdx = 895; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -40432,12 +40433,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P2421.info = {"start":12698,"length":410,"line":412,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P23144.info = {"start":12698,"length":410,"line":412,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P2421_mk(s) { +function tiles_TileMap_getObstacle__P23144_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P2421, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P23144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40445,8 +40446,8 @@ function tiles_TileMap_getObstacle__P2421_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___17826: undefined, - tile___17838: undefined, + index___38549: undefined, + tile___38561: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40456,7 +40457,7 @@ function tiles_TileMap_getObstacle__P2421_mk(s) { -function tiles_TileMap_layer__P2409(s) { +function tiles_TileMap_layer__P23132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40471,18 +40472,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P2409.info = {"start":6953,"length":63,"line":252,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P2409.isGetter = true; +tiles_TileMap_layer__P23132.info = {"start":6953,"length":63,"line":252,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P23132.isGetter = true; -function tiles_TileMap_layer__P2409_mk(s) { +function tiles_TileMap_layer__P23132_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P2409, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P23132, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40491,7 +40492,7 @@ function tiles_TileMap_layer__P2409_mk(s) { -function sprites_StaticObstacle_constructor__P2231(s) { +function sprites_StaticObstacle_constructor__P22954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40511,7 +40512,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C22948_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -40521,12 +40522,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P2231.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__P22954.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__P2231_mk(s) { +function sprites_StaticObstacle_constructor__P22954_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P2231, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P22954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -40540,7 +40541,7 @@ function sprites_StaticObstacle_constructor__P2231_mk(s) { -function tiles_TileMap_isObstacle__P2420(s) { +function tiles_TileMap_isObstacle__P23143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40557,7 +40558,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -40578,7 +40579,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P2399_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P23122_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -40604,12 +40605,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P2420.info = {"start":12477,"length":211,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P23143.info = {"start":12477,"length":211,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P2420_mk(s) { +function tiles_TileMap_isObstacle__P23143_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P2420, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P23143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40632,7 +40633,7 @@ function tiles_TileMap_isObstacle__P2420_mk(s) { -function tiles_TileMapData_isWall__P2398(s) { +function tiles_TileMapData_isWall__P23121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40649,7 +40650,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2387_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C23110_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -40658,12 +40659,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P2398.info = {"start":5463,"length":107,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P23121.info = {"start":5463,"length":107,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -function tiles_TileMapData_isWall__P2398_mk(s) { +function tiles_TileMapData_isWall__P23121_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P2398, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P23121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40676,7 +40677,7 @@ function tiles_TileMapData_isWall__P2398_mk(s) { -function tiles_TileMap_getTile__P2413(s) { +function tiles_TileMap_getTile__P23136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40693,10 +40694,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2372_VT); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C23095_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P2375_mk(s); + s.tmp_1 = tiles_Location_constructor__P23098_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -40708,12 +40709,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P2413.info = {"start":7315,"length":111,"line":270,"column":8,"endLine":272,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P23136.info = {"start":7315,"length":111,"line":270,"column":8,"endLine":272,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMap_getTile__P2413_mk(s) { +function tiles_TileMap_getTile__P23136_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P2413, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P23136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40726,7 +40727,7 @@ function tiles_TileMap_getTile__P2413_mk(s) { -function tiles_Location_constructor__P2375(s) { +function tiles_Location_constructor__P23098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40744,7 +40745,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2372_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C23095_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -40752,12 +40753,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P2375.info = {"start":528,"length":153,"line":27,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P23098.info = {"start":528,"length":153,"line":27,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -function tiles_Location_constructor__P2375_mk(s) { +function tiles_Location_constructor__P23098_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P2375, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P23098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -40769,7 +40770,7 @@ function tiles_Location_constructor__P2375_mk(s) { -function Sprite_registerObstacle__P2164(s) { +function Sprite_registerObstacle__P22887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40779,10 +40780,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___17739 = undefined; - s.wallCollisionHandlers___17746 = undefined; - s.wallHandlersToRun___17771 = undefined; - s.asTileLocation___17784 = undefined; + s.collisionHandlers___38462 = undefined; + s.wallCollisionHandlers___38469 = undefined; + s.wallHandlersToRun___38494 = undefined; + s.asTileLocation___38507 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40791,11 +40792,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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__P2609_mk(s); + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 412; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -40815,24 +40816,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___17739 = (r0); - s.tmp_0 = game_currentScene__P2609_mk(s); + s.collisionHandlers___38462 = (r0); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 414; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___17746 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___17739); + s.wallCollisionHandlers___38469 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___38462); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P17754); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P38477); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P17760); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P38483); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___17739; + s.tmp_2 = helpers_arrayForEach__P20832_mk(s); + s.tmp_3 = helpers_arrayFilter__P20833_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___38462; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 416; s.pc = 13; return s.tmp_3; case 13: @@ -40844,7 +40845,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___17746); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___38469); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -40852,7 +40853,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P2609_mk(s); + s.tmp_1 = game_currentScene__P23332_mk(s); s.callLocIdx = 419; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -40861,21 +40862,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P17773); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P38496); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P110_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___17746; + s.tmp_1 = helpers_arrayFilter__P20833_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___38469; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 421; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___17771 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___17771); + s.wallHandlersToRun___38494 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___38494); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P2413_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P23136_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -40914,13 +40915,13 @@ switch (step) { s.callLocIdx = 426; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___17784 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P17800); + s.asTileLocation___38507 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P38523); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___17784); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___17771; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___38507); + s.tmp_1 = helpers_arrayForEach__P20832_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___38494; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 428; s.pc = 19; return s.tmp_1; case 19: @@ -40933,12 +40934,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P2164.info = {"start":23704,"length":965,"line":761,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P22887.info = {"start":23704,"length":965,"line":761,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P2164_mk(s) { +function Sprite_registerObstacle__P22887_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P2164, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P22887, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40948,10 +40949,10 @@ function Sprite_registerObstacle__P2164_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___17739: undefined, - wallCollisionHandlers___17746: undefined, - wallHandlersToRun___17771: undefined, - asTileLocation___17784: undefined, + collisionHandlers___38462: undefined, + wallCollisionHandlers___38469: undefined, + wallHandlersToRun___38494: undefined, + asTileLocation___38507: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40962,7 +40963,7 @@ function Sprite_registerObstacle__P2164_mk(s) { -function forEach_inline__P17754(s) { +function forEach_inline__P38477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40984,12 +40985,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P17754.info = {"start":24102,"length":26,"line":768,"column":24,"endLine":768,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P38477.info = {"start":24102,"length":26,"line":768,"column":24,"endLine":768,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P17754_mk(s) { +function forEach_inline__P38477_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P17754, depth: s.depth + 1, + parent: s, fn: forEach_inline__P38477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41000,7 +41001,7 @@ function forEach_inline__P17754_mk(s) { -function Sprite_registerObstacle_inline__P17760(s) { +function Sprite_registerObstacle_inline__P38483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41032,12 +41033,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P17760.info = {"start":24155,"length":20,"line":769,"column":25,"endLine":769,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P38483.info = {"start":24155,"length":20,"line":769,"column":25,"endLine":769,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P17760_mk(s) { +function Sprite_registerObstacle_inline__P38483_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P17760, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P38483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41047,7 +41048,7 @@ function Sprite_registerObstacle_inline__P17760_mk(s) { -function wallHandlersToRun_inline__P17773(s) { +function wallHandlersToRun_inline__P38496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41069,12 +41070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P17773.info = {"start":24361,"length":32,"line":774,"column":24,"endLine":774,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +wallHandlersToRun_inline__P38496.info = {"start":24361,"length":32,"line":774,"column":24,"endLine":774,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function wallHandlersToRun_inline__P17773_mk(s) { +function wallHandlersToRun_inline__P38496_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P17773, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P38496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41085,7 +41086,7 @@ function wallHandlersToRun_inline__P17773_mk(s) { -function Sprite_registerObstacle_inline__P17800(s) { +function Sprite_registerObstacle_inline__P38523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41118,12 +41119,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P17800.info = {"start":24601,"length":36,"line":778,"column":29,"endLine":778,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P38523.info = {"start":24601,"length":36,"line":778,"column":29,"endLine":778,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P17800_mk(s) { +function Sprite_registerObstacle_inline__P38523_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P17800, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P38523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41133,7 +41134,7 @@ function Sprite_registerObstacle_inline__P17800_mk(s) { -function Fx_min__P166(s) { +function Fx_min__P20889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41164,12 +41165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P166.info = {"start":1675,"length":117,"line":50,"column":4,"endLine":55,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"min","argumentNames":["a","b"]} +Fx_min__P20889.info = {"start":1675,"length":117,"line":50,"column":4,"endLine":55,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"min","argumentNames":["a","b"]} -function Fx_min__P166_mk(s) { +function Fx_min__P20889_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P166, depth: s.depth + 1, + parent: s, fn: Fx_min__P20889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41180,7 +41181,7 @@ function Fx_min__P166_mk(s) { -function Fx_toIntShifted__P156(s) { +function Fx_toIntShifted__P20879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41202,12 +41203,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P156.info = {"start":404,"length":102,"line":17,"column":4,"endLine":19,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toIntShifted","argumentNames":["a","n"]} +Fx_toIntShifted__P20879.info = {"start":404,"length":102,"line":17,"column":4,"endLine":19,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toIntShifted","argumentNames":["a","n"]} -function Fx_toIntShifted__P156_mk(s) { +function Fx_toIntShifted__P20879_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P156, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P20879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41219,7 +41220,7 @@ function Fx_toIntShifted__P156_mk(s) { -function Math_sign__P129(s) { +function Math_sign__P20852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41254,12 +41255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P129.info = {"start":16330,"length":125,"line":546,"column":4,"endLine":550,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P20852.info = {"start":16330,"length":125,"line":546,"column":4,"endLine":550,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P129_mk(s) { +function Math_sign__P20852_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P129, depth: s.depth + 1, + parent: s, fn: Math_sign__P20852, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41270,7 +41271,7 @@ function Math_sign__P129_mk(s) { -function helpers_arraySome__P107(s) { +function helpers_arraySome__P20830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41280,26 +41281,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___17808 = undefined; - s.i___17811 = undefined; + s.len___38531 = undefined; + s.i___38534 = 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___17808 = (r0); - s.i___17811 = (0); + s.len___38531 = (r0); + s.i___38534 = (0); case 1: - r0 = (s.i___17811 < s.len___17808); + r0 = (s.i___38534 < s.len___38531); 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___17811); + r0 = pxsim_Array__getAt(s.arg0, s.i___38534); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___17811; + s.tmp_2.arg1 = s.i___38534; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: @@ -41311,8 +41312,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___17811 + 1); - s.i___17811 = (r0); + r0 = (s.i___38534 + 1); + s.i___38534 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -41320,18 +41321,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P107.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} +helpers_arraySome__P20830.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} -function helpers_arraySome__P107_mk(s) { +function helpers_arraySome__P20830_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P107, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P20830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___17808: undefined, - i___17811: undefined, + len___38531: undefined, + i___38534: undefined, arg0: undefined, arg1: undefined, } } @@ -41340,7 +41341,7 @@ function helpers_arraySome__P107_mk(s) { -function tiles_TileMap_isOnWall__P2422(s) { +function tiles_TileMap_isOnWall__P23145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41350,24 +41351,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___16918 = undefined; - s.left___16921 = undefined; - s.right___16927 = undefined; - s.top___16933 = undefined; - s.bottom___16939 = undefined; - s.col___16945 = undefined; - s.row___16951 = undefined; + s.hbox___37641 = undefined; + s.left___37644 = undefined; + s.right___37650 = undefined; + s.top___37656 = undefined; + s.bottom___37662 = undefined; + s.col___37668 = undefined; + s.row___37674 = 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__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___16918 = (r0); - s.tmp_1 = game_Hitbox_left__P1997_mk(s); - s.tmp_1.arg0 = s.hbox___16918; + s.hbox___37641 = (r0); + s.tmp_1 = game_Hitbox_left__P22720_mk(s); + s.tmp_1.arg0 = s.hbox___37641; s.callLocIdx = 896; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -41377,9 +41378,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___16921 = (r0); - s.tmp_1 = game_Hitbox_right__P1999_mk(s); - s.tmp_1.arg0 = s.hbox___16918; + s.left___37644 = (r0); + s.tmp_1 = game_Hitbox_right__P22722_mk(s); + s.tmp_1.arg0 = s.hbox___37641; s.callLocIdx = 899; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -41389,9 +41390,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___16927 = (r0); - s.tmp_1 = game_Hitbox_top__P1998_mk(s); - s.tmp_1.arg0 = s.hbox___16918; + s.right___37650 = (r0); + s.tmp_1 = game_Hitbox_top__P22721_mk(s); + s.tmp_1.arg0 = s.hbox___37641; s.callLocIdx = 902; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -41401,9 +41402,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___16933 = (r0); - s.tmp_1 = game_Hitbox_bottom__P2000_mk(s); - s.tmp_1.arg0 = s.hbox___16918; + s.top___37656 = (r0); + s.tmp_1 = game_Hitbox_bottom__P22723_mk(s); + s.tmp_1.arg0 = s.hbox___37641; s.callLocIdx = 905; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -41413,23 +41414,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___16939 = (r0); - s.col___16945 = (s.left___16921); + s.bottom___37662 = (r0); + s.col___37668 = (s.left___37644); case 1: - r0 = (s.col___16945 <= s.right___16927); + r0 = (s.col___37668 <= s.right___37650); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___16951 = (s.top___16933); + s.row___37674 = (s.top___37656); case 2: - r0 = (s.row___16951 <= s.bottom___16939); + r0 = (s.row___37674 <= s.bottom___37662); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P2420_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P23143_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___16945; - s.tmp_2.arg2 = s.row___16951; + s.tmp_2.arg1 = s.col___37668; + s.tmp_2.arg2 = s.row___37674; s.callLocIdx = 908; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -41440,12 +41441,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___16951 + 1); - s.row___16951 = (r0); + r0 = (s.row___37674 + 1); + s.row___37674 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___16945 + 1); - s.col___16945 = (r0); + r0 = (s.col___37668 + 1); + s.col___37668 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -41453,24 +41454,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P2422.info = {"start":13118,"length":627,"line":424,"column":8,"endLine":441,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P23145.info = {"start":13118,"length":627,"line":424,"column":8,"endLine":441,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P2422_mk(s) { +function tiles_TileMap_isOnWall__P23145_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P2422, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P23145, 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___16918: undefined, - left___16921: undefined, - right___16927: undefined, - top___16933: undefined, - bottom___16939: undefined, - col___16945: undefined, - row___16951: undefined, + hbox___37641: undefined, + left___37644: undefined, + right___37650: undefined, + top___37656: undefined, + bottom___37662: undefined, + col___37668: undefined, + row___37674: undefined, arg0: undefined, arg1: undefined, } } @@ -41479,7 +41480,7 @@ function tiles_TileMap_isOnWall__P2422_mk(s) { -function MovingSprite_constructor__P2253(s) { +function MovingSprite_constructor__P22976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41501,7 +41502,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C2252_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C22975_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -41513,12 +41514,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P2253.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__P22976.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__P2253_mk(s) { +function MovingSprite_constructor__P22976_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P2253, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P22976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -41534,7 +41535,7 @@ function MovingSprite_constructor__P2253_mk(s) { -function ArcadePhysicsEngine_move__P2266(s) { +function ArcadePhysicsEngine_move__P22989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41544,75 +41545,75 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___17890 = undefined; - s.dt2___17896 = undefined; - s.scene___17900 = undefined; - s.tileMap___17903 = undefined; - s.movingSprites___17906 = undefined; - s.MAX_STEP_COUNT___17937 = undefined; - s.overlapHandlers___17949 = undefined; - s.selected___17956 = undefined; - s.buffers___17957 = undefined; - s.count___17961 = undefined; - s.currMovers___17971 = undefined; - s.remainingMovers___17978 = undefined; - s.ms___17983 = undefined; - s.unnamed62___U13 = undefined; - s.unnamed63___U14 = undefined; - s.s___17985 = undefined; - s.stepX___18078 = undefined; - s.stepY___18092 = undefined; + s.dtMs___38613 = undefined; + s.dt2___38619 = undefined; + s.scene___38623 = undefined; + s.tileMap___38626 = undefined; + s.movingSprites___38629 = undefined; + s.MAX_STEP_COUNT___38660 = undefined; + s.overlapHandlers___38672 = undefined; + s.selected___38679 = undefined; + s.buffers___38680 = undefined; + s.count___38684 = undefined; + s.currMovers___38694 = undefined; + s.remainingMovers___38701 = undefined; + s.ms___38706 = undefined; + s.unnamed142___U13 = undefined; + s.unnamed143___U14 = undefined; + s.s___38708 = undefined; + s.stepX___38801 = undefined; + s.stepY___38815 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); - s.tmp_0 = Math_min__P131_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); + s.tmp_0 = Math_min__P20854_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; s.callLocIdx = 513; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtMs___17890 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___17890, 2); - s.dt2___17896 = (r0); - s.tmp_0 = game_currentScene__P2609_mk(s); + s.dtMs___38613 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___38613, 2); + s.dt2___38619 = (r0); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 514; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___17900 = (r0); - r0 = s.scene___17900.fields["tileMap"]; - s.tileMap___17903 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P17908); + s.scene___38623 = (r0); + r0 = s.scene___38623.fields["tileMap"]; + s.tileMap___38626 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P38631); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___17890); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___17896); - s.tmp_1 = helpers_arrayMap__P106_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___38613); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___38619); + s.tmp_1 = helpers_arrayMap__P20829_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 516; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___17906 = (r0); - s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.movingSprites___38629 = (r0); + s.tmp_0 = helpers_arrayForEach__P20832_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P17920; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P38643; s.callLocIdx = 520; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P2179_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P22902_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 521; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P2178_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P22901_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -41628,41 +41629,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___17890); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___38613); 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___17937 = (r0); - s.tmp_0 = helpers_arraySlice__P115_mk(s); - r0 = s.scene___17900.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___38660 = (r0); + s.tmp_0 = helpers_arraySlice__P20838_mk(s); + r0 = s.scene___38623.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 527; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.overlapHandlers___17949 = (r0); - s.selected___17956 = (0); + s.overlapHandlers___38672 = (r0); + s.selected___38679 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___17906); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___38629); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___17957 = (s.tmp_0); - s.count___17961 = (0); + s.buffers___38680 = (s.tmp_0); + s.count___38684 = (0); case 1: - r0 = (s.count___17961 < s.MAX_STEP_COUNT___17937); + r0 = (s.count___38684 < s.MAX_STEP_COUNT___38660); 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___17957, s.selected___17956); + r0 = pxsim_Array__getAt(s.buffers___38680, s.selected___38679); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -41672,43 +41673,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 46; continue; } - r0 = pxsim_Array__getAt(s.buffers___17957, s.selected___17956); - s.currMovers___17971 = (r0); - r0 = (s.selected___17956 ^ 1); - s.selected___17956 = (r0); - r0 = pxsim_Array__getAt(s.buffers___17957, s.selected___17956); - s.remainingMovers___17978 = (r0); - s.ms___17983 = (undefined); - s.unnamed62___U13 = (s.currMovers___17971); - s.unnamed63___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___38680, s.selected___38679); + s.currMovers___38694 = (r0); + r0 = (s.selected___38679 ^ 1); + s.selected___38679 = (r0); + r0 = pxsim_Array__getAt(s.buffers___38680, s.selected___38679); + s.remainingMovers___38701 = (r0); + s.ms___38706 = (undefined); + s.unnamed142___U13 = (s.currMovers___38694); + s.unnamed143___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed63___U14; - r0 = pxsim_Array__length(s.unnamed62___U13); + s.tmp_0 = r0 = s.unnamed143___U14; + r0 = pxsim_Array__length(s.unnamed142___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_Array__getAt(s.unnamed62___U13, s.unnamed63___U14); - s.ms___17983 = (r0); - r0 = s.ms___17983.fields["sprite"]; - s.s___17985 = (r0); - r0 = s.ms___17983.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed142___U13, s.unnamed143___U14); + s.ms___38706 = (r0); + r0 = s.ms___38706.fields["sprite"]; + s.s___38708 = (r0); + r0 = s.ms___38706.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___17985.fields["_vx"]; + r0 = s.s___38708.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___17985.fields["_vx"]; + r0 = s.s___38708.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___17983).fields["dx"] = (0); + r0 = (s.ms___38706).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___17985.fields["_vx"]; + r0 = s.s___38708.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -41717,7 +41718,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___17983.fields["cachedVx"]; + r0 = s.ms___38706.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -41728,7 +41729,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___17985.fields["_vx"]; + r0 = s.s___38708.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -41737,7 +41738,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___17983.fields["cachedVx"]; + r0 = s.ms___38706.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -41749,14 +41750,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___17983; - r0 = s.ms___17983.fields["dx"]; + s.tmp_9 = r0 = s.ms___38706; + r0 = s.ms___38706.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___17983; - r0 = s.ms___17983.fields["xStep"]; + s.tmp_0 = r0 = s.ms___38706; + r0 = s.ms___38706.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -41764,29 +41765,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___17985.fields["_vx"]; + r0 = s.s___38708.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___17983).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___38706).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___17983.fields["cachedVy"]; + r0 = s.ms___38706.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___17985.fields["_vy"]; + r0 = s.s___38708.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___17985.fields["_vy"]; + r0 = s.s___38708.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___17983).fields["dy"] = (0); + r0 = (s.ms___38706).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___17985.fields["_vy"]; + r0 = s.s___38708.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -41795,7 +41796,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___17983.fields["cachedVy"]; + r0 = s.ms___38706.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -41806,7 +41807,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___17985.fields["_vy"]; + r0 = s.s___38708.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -41815,7 +41816,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___17983.fields["cachedVy"]; + r0 = s.ms___38706.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -41827,14 +41828,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___17983; - r0 = s.ms___17983.fields["dy"]; + s.tmp_9 = r0 = s.ms___38706; + r0 = s.ms___38706.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___17983; - r0 = s.ms___17983.fields["yStep"]; + s.tmp_0 = r0 = s.ms___38706; + r0 = s.ms___38706.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -41842,20 +41843,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___17985.fields["_vy"]; + r0 = s.s___38708.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___17983).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___38706).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17983.fields["xStep"]; + s.tmp_2 = Fx_abs__P20888_mk(s); + r0 = s.ms___38706.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 532; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17983.fields["dx"]; + s.tmp_4 = Fx_abs__P20888_mk(s); + r0 = s.ms___38706.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 533; s.pc = 55; return s.tmp_4; case 55: @@ -41865,23 +41866,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___17983.fields["dx"]; + r0 = s.ms___38706.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___17983.fields["xStep"]; + r0 = s.ms___38706.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___18078 = (s.tmp_5); - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17983.fields["yStep"]; + s.stepX___38801 = (s.tmp_5); + s.tmp_2 = Fx_abs__P20888_mk(s); + r0 = s.ms___38706.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 534; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17983.fields["dy"]; + s.tmp_4 = Fx_abs__P20888_mk(s); + r0 = s.ms___38706.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 535; s.pc = 57; return s.tmp_4; case 57: @@ -41891,45 +41892,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___17983.fields["dy"]; + r0 = s.ms___38706.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___17983.fields["yStep"]; + r0 = s.ms___38706.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___18092 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___17983; - r0 = s.ms___17983.fields["dx"]; + s.stepY___38815 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___38706; + r0 = s.ms___38706.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___18078); + r0 = (s.tmp_2 - s.stepX___38801); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___17983; - r0 = s.ms___17983.fields["dy"]; + s.tmp_0 = r0 = s.ms___38706; + r0 = s.ms___38706.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___18092); + r0 = (s.tmp_2 - s.stepY___38815); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___17985.fields["_x"]; + r0 = s.s___38708.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___17985).fields["_lastX"] = (s.tmp_0); - r0 = s.s___17985.fields["_y"]; + r0 = (s.s___38708).fields["_lastX"] = (s.tmp_0); + r0 = s.s___38708.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___17985).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___17985; - r0 = s.s___17985.fields["_x"]; + r0 = (s.s___38708).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___38708; + r0 = s.s___38708.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___18078); + r0 = (s.tmp_2 + s.stepX___38801); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___17985; - r0 = s.s___17985.fields["_y"]; + s.tmp_0 = r0 = s.s___38708; + r0 = s.s___38708.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___18092); + r0 = (s.tmp_2 + s.stepY___38815); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___17985.fields["flags"]; + r0 = s.s___38708.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -41939,22 +41940,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__P2180_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P22903_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___17985; + s.tmp_4.arg1 = s.s___38708; s.callLocIdx = 540; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___17903; + s.tmp_0 = r0 = s.tileMap___38626; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___17903.fields["_map"]; + r0 = s.tileMap___38626.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -41968,79 +41969,79 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P4163_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P24886_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___17983; - s.tmp_6.arg2 = s.tileMap___17903; + s.tmp_6.arg1 = s.ms___38706; + s.tmp_6.arg2 = s.tileMap___38626; s.callLocIdx = 542; s.pc = 59; return s.tmp_6; case 59: r0 = s.retval; case 37: case 38: - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17983.fields["dx"]; + s.tmp_2 = Fx_abs__P20888_mk(s); + r0 = s.ms___38706.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 543; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___2248); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___22971); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 39; continue; } r0 = s.tmp_0; { step = 40; continue; } case 39: - s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17983.fields["dy"]; + s.tmp_4 = Fx_abs__P20888_mk(s); + r0 = s.ms___38706.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 544; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___2248); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___22971); case 40: // jmp value (already in r0) s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 41; continue; } - r0 = pxsim_Array__push(s.remainingMovers___17978, s.ms___17983); + r0 = pxsim_Array__push(s.remainingMovers___38701, s.ms___38706); case 41: case 42: - r0 = (s.unnamed63___U14 + 1); - s.unnamed63___U14 = (r0); + r0 = (s.unnamed143___U14 + 1); + s.unnamed143___U14 = (r0); { step = 4; continue; } case 43: - s.unnamed62___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4162_mk(s); + s.unnamed142___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P24885_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___17971; - s.tmp_0.arg2 = s.overlapHandlers___17949; + s.tmp_0.arg1 = s.currMovers___38694; + s.tmp_0.arg2 = s.overlapHandlers___38672; s.callLocIdx = 545; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___17971); + r0 = pxsim_Array__length(s.currMovers___38694); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___17971); + r0 = pxsim_Array_.pop(s.currMovers___38694); { step = 44; continue; } case 45: - r0 = (s.count___17961 + 1); - s.count___17961 = (r0); + r0 = (s.count___38684 + 1); + s.count___38684 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P2266.info = {"start":2822,"length":3809,"line":112,"column":4,"endLine":208,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P22989.info = {"start":2822,"length":3809,"line":112,"column":4,"endLine":208,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P2266_mk(s) { +function ArcadePhysicsEngine_move__P22989_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P2266, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P22989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42054,24 +42055,24 @@ function ArcadePhysicsEngine_move__P2266_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___17890: undefined, - dt2___17896: undefined, - scene___17900: undefined, - tileMap___17903: undefined, - movingSprites___17906: undefined, - MAX_STEP_COUNT___17937: undefined, - overlapHandlers___17949: undefined, - selected___17956: undefined, - buffers___17957: undefined, - count___17961: undefined, - currMovers___17971: undefined, - remainingMovers___17978: undefined, - ms___17983: undefined, - unnamed62___U13: undefined, - unnamed63___U14: undefined, - s___17985: undefined, - stepX___18078: undefined, - stepY___18092: undefined, + dtMs___38613: undefined, + dt2___38619: undefined, + scene___38623: undefined, + tileMap___38626: undefined, + movingSprites___38629: undefined, + MAX_STEP_COUNT___38660: undefined, + overlapHandlers___38672: undefined, + selected___38679: undefined, + buffers___38680: undefined, + count___38684: undefined, + currMovers___38694: undefined, + remainingMovers___38701: undefined, + ms___38706: undefined, + unnamed142___U13: undefined, + unnamed143___U14: undefined, + s___38708: undefined, + stepX___38801: undefined, + stepY___38815: undefined, arg0: undefined, arg1: undefined, } } @@ -42080,7 +42081,7 @@ function ArcadePhysicsEngine_move__P2266_mk(s) { -function movingSprites_inline__P17908(s) { +function movingSprites_inline__P38631(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42094,7 +42095,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P4161_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P24884_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -42105,12 +42106,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -movingSprites_inline__P17908.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__P38631.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__P17908_mk(s) { +function movingSprites_inline__P38631_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P17908, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P38631, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42120,7 +42121,7 @@ function movingSprites_inline__P17908_mk(s) { -function ArcadePhysicsEngine_move_inline__P17920(s) { +function ArcadePhysicsEngine_move_inline__P38643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42134,7 +42135,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P2105_mk(s); + s.tmp_1 = Sprite_vx__P22828_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 517; s.pc = 5; return s.tmp_1; case 5: @@ -42145,7 +42146,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P2107_mk(s); + s.tmp_2 = Sprite_vy__P22830_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 518; s.pc = 6; return s.tmp_2; case 6: @@ -42155,7 +42156,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P2163_mk(s); + s.tmp_4 = Sprite_clearObstacles__P22886_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 519; s.pc = 7; return s.tmp_4; case 7: @@ -42166,12 +42167,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P17920.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__P38643.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__P17920_mk(s) { +function ArcadePhysicsEngine_move_inline__P38643_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P17920, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P38643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42185,7 +42186,7 @@ function ArcadePhysicsEngine_move_inline__P17920_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P4162(s) { +function ArcadePhysicsEngine_spriteCollisions__P24885(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42195,18 +42196,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___18193 = undefined; - s.unnamed64___U1 = undefined; - s.unnamed65___U2 = undefined; - s.sprite___18195 = undefined; - s.overSprites___18202 = undefined; - s.overlapper___18210 = undefined; - s.unnamed66___U6 = undefined; - s.unnamed67___U7 = undefined; - s.thisKind___18216 = undefined; - s.otherKind___18220 = undefined; - s.higher___18233 = undefined; - s.lower___18242 = undefined; + s.ms___38916 = undefined; + s.unnamed144___U1 = undefined; + s.unnamed145___U2 = undefined; + s.sprite___38918 = undefined; + s.overSprites___38925 = undefined; + s.overlapper___38933 = undefined; + s.unnamed146___U6 = undefined; + s.unnamed147___U7 = undefined; + s.thisKind___38939 = undefined; + s.otherKind___38943 = undefined; + s.higher___38956 = undefined; + s.lower___38965 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -42214,7 +42215,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -42226,20 +42227,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___18193 = (undefined); - s.unnamed64___U1 = (s.arg1); - s.unnamed65___U2 = (0); + s.ms___38916 = (undefined); + s.unnamed144___U1 = (s.arg1); + s.unnamed145___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed65___U2; - r0 = pxsim_Array__length(s.unnamed64___U1); + s.tmp_0 = r0 = s.unnamed145___U2; + r0 = pxsim_Array__length(s.unnamed144___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed64___U1, s.unnamed65___U2); - s.ms___18193 = (r0); - r0 = s.ms___18193.fields["sprite"]; - s.sprite___18195 = (r0); - r0 = s.sprite___18195.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed144___U1, s.unnamed145___U2); + s.ms___38916 = (r0); + r0 = s.ms___38916.fields["sprite"]; + s.sprite___38918 = (r0); + r0 = s.sprite___38918.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -42248,27 +42249,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P2176_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P22899_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___18193.fields["sprite"]; + r0 = s.ms___38916.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 583; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___18202 = (r0); - s.overlapper___18210 = (undefined); - s.unnamed66___U6 = (s.overSprites___18202); - s.unnamed67___U7 = (0); + s.overSprites___38925 = (r0); + s.overlapper___38933 = (undefined); + s.unnamed146___U6 = (s.overSprites___38925); + s.unnamed147___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed67___U7; - r0 = pxsim_Array__length(s.unnamed66___U6); + s.tmp_0 = r0 = s.unnamed147___U7; + r0 = pxsim_Array__length(s.unnamed146___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed66___U6, s.unnamed67___U7); - s.overlapper___18210 = (r0); - r0 = s.overlapper___18210.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed146___U6, s.unnamed147___U7); + s.overlapper___38933 = (r0); + r0 = s.overlapper___38933.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -42277,13 +42278,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___18195.fields["_kind"]; - s.thisKind___18216 = (r0); - r0 = s.overlapper___18210.fields["_kind"]; - s.otherKind___18220 = (r0); - r0 = s.sprite___18195.fields["_kindsOverlappedWith"]; + r0 = s.sprite___38918.fields["_kind"]; + s.thisKind___38939 = (r0); + r0 = s.overlapper___38933.fields["_kind"]; + s.otherKind___38943 = (r0); + r0 = s.sprite___38918.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___18220, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___38943, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -42292,37 +42293,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___18195.fields["id"]; + r0 = s.sprite___38918.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___18210.fields["id"]; + r0 = s.overlapper___38933.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___18195; + r0 = s.sprite___38918; { step = 12; continue; } case 11: - r0 = s.overlapper___18210; + r0 = s.overlapper___38933; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___18233 = (s.tmp_6); - r0 = (s.higher___18233 === s.sprite___18195); + s.higher___38956 = (s.tmp_6); + r0 = (s.higher___38956 === s.sprite___38918); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___18210; + r0 = s.overlapper___38933; { step = 14; continue; } case 13: - r0 = s.sprite___18195; + r0 = s.sprite___38918; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___18242 = (s.tmp_1); - r0 = s.higher___18233.fields["_overlappers"]; + s.lower___38965 = (s.tmp_1); + r0 = s.higher___38956.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___18242.fields["id"]; + r0 = s.lower___38965.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -42330,19 +42331,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__P18262); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P38985); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___18216); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___18220); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P18284); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___38939); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___38943); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P39007); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___18233); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___18242); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___18195); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___18210); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___18216); - s.tmp_6 = helpers_arrayForEach__P109_mk(s); - s.tmp_7 = helpers_arrayFilter__P110_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___38956); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___38965); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___38918); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___38933); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___38939); + s.tmp_6 = helpers_arrayForEach__P20832_mk(s); + s.tmp_7 = helpers_arrayFilter__P20833_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 586; s.pc = 24; return s.tmp_7; @@ -42356,28 +42357,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed67___U7 + 1); - s.unnamed67___U7 = (r0); + r0 = (s.unnamed147___U7 + 1); + s.unnamed147___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed66___U6 = (undefined); + s.unnamed146___U6 = (undefined); case 19: - r0 = (s.unnamed65___U2 + 1); - s.unnamed65___U2 = (r0); + r0 = (s.unnamed145___U2 + 1); + s.unnamed145___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed64___U1 = (undefined); + s.unnamed144___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P4162.info = {"start":9448,"length":2268,"line":302,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P24885.info = {"start":9448,"length":2268,"line":302,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P4162_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P24885_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P4162, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P24885, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42387,18 +42388,18 @@ function ArcadePhysicsEngine_spriteCollisions__P4162_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___18193: undefined, - unnamed64___U1: undefined, - unnamed65___U2: undefined, - sprite___18195: undefined, - overSprites___18202: undefined, - overlapper___18210: undefined, - unnamed66___U6: undefined, - unnamed67___U7: undefined, - thisKind___18216: undefined, - otherKind___18220: undefined, - higher___18233: undefined, - lower___18242: undefined, + ms___38916: undefined, + unnamed144___U1: undefined, + unnamed145___U2: undefined, + sprite___38918: undefined, + overSprites___38925: undefined, + overlapper___38933: undefined, + unnamed146___U6: undefined, + unnamed147___U7: undefined, + thisKind___38939: undefined, + otherKind___38943: undefined, + higher___38956: undefined, + lower___38965: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -42408,7 +42409,7 @@ function ArcadePhysicsEngine_spriteCollisions__P4162_mk(s) { -function forEach_inline__P18262(s) { +function forEach_inline__P38985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42465,12 +42466,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P18262.info = {"start":10817,"length":137,"line":328,"column":32,"endLine":329,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P38985.info = {"start":10817,"length":137,"line":328,"column":32,"endLine":329,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P18262_mk(s) { +function forEach_inline__P38985_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P18262, depth: s.depth + 1, + parent: s, fn: forEach_inline__P38985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42488,7 +42489,7 @@ function forEach_inline__P18262_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P18284(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P39007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42507,7 +42508,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__P18294); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P39017); 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]); @@ -42520,12 +42521,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P18284.info = {"start":11014,"length":652,"line":331,"column":33,"endLine":342,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_spriteCollisions_inline__P39007.info = {"start":11014,"length":652,"line":331,"column":33,"endLine":342,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_spriteCollisions_inline__P18284_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P39007_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18284, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P39007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42536,7 +42537,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P18284_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P18294(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P39017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42612,12 +42613,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P18294.info = {"start":11135,"length":503,"line":333,"column":50,"endLine":341,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +ArcadePhysicsEngine_spriteCollisions_inline__P39017.info = {"start":11135,"length":503,"line":333,"column":50,"endLine":341,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function ArcadePhysicsEngine_spriteCollisions_inline__P18294_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P39017_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18294, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P39017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42638,7 +42639,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P18294_mk(s) { -function sprites_SpriteMap_overlaps__P2176(s) { +function sprites_SpriteMap_overlaps__P22899(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42648,47 +42649,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___18327 = undefined; - s.o___18331 = undefined; + s.n___39050 = undefined; + s.o___39054 = 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__C2173_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P2175_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P22898_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 457; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___18327 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P18333); + s.n___39050 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P39056); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P110_mk(s); - s.tmp_1.arg0 = s.n___18327; + s.tmp_1 = helpers_arrayFilter__P20833_mk(s); + s.tmp_1.arg0 = s.n___39050; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 459; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___18331 = (r0); - r0 = s.o___18331; + s.o___39054 = (r0); + r0 = s.o___39054; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P2176.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__P22899.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__P2176_mk(s) { +function sprites_SpriteMap_overlaps__P22899_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P2176, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P22899, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___18327: undefined, - o___18331: undefined, + n___39050: undefined, + o___39054: undefined, arg0: undefined, arg1: undefined, } } @@ -42697,7 +42698,7 @@ function sprites_SpriteMap_overlaps__P2176_mk(s) { -function o_inline__P18333(s) { +function o_inline__P39056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42711,7 +42712,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P2159_mk(s); + s.tmp_0 = Sprite_overlapsWith__P22882_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 458; s.pc = 1; return s.tmp_0; @@ -42720,12 +42721,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -o_inline__P18333.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__P39056.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__P18333_mk(s) { +function o_inline__P39056_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P18333, depth: s.depth + 1, + parent: s, fn: o_inline__P39056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42735,7 +42736,7 @@ function o_inline__P18333_mk(s) { -function sprites_SpriteMap_neighbors__P2175(s) { +function sprites_SpriteMap_neighbors__P22898(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42745,112 +42746,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___18371 = undefined; - s.layer___18373 = undefined; + s.n___39094 = undefined; + s.layer___39096 = 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__C2173_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___18371 = (r0); + s.n___39094 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___18373 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4126_mk(s); + s.layer___39096 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P24849_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P2138_mk(s); + s.tmp_1 = Sprite_left__P22861_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 445; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P2142_mk(s); + s.tmp_2 = Sprite_top__P22865_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 446; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18373; - s.tmp_0.arg4 = s.n___18371; + s.tmp_0.arg3 = s.layer___39096; + s.tmp_0.arg4 = s.n___39094; s.callLocIdx = 447; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4126_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P24849_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P2138_mk(s); + s.tmp_1 = Sprite_left__P22861_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 448; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P2144_mk(s); + s.tmp_2 = Sprite_bottom__P22867_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 449; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18373; - s.tmp_0.arg4 = s.n___18371; + s.tmp_0.arg3 = s.layer___39096; + s.tmp_0.arg4 = s.n___39094; s.callLocIdx = 450; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4126_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P24849_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P2140_mk(s); + s.tmp_1 = Sprite_right__P22863_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 451; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P2142_mk(s); + s.tmp_2 = Sprite_top__P22865_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 452; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18373; - s.tmp_0.arg4 = s.n___18371; + s.tmp_0.arg3 = s.layer___39096; + s.tmp_0.arg4 = s.n___39094; s.callLocIdx = 453; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4126_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P24849_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P2140_mk(s); + s.tmp_1 = Sprite_right__P22863_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 454; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P2144_mk(s); + s.tmp_2 = Sprite_bottom__P22867_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 455; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18373; - s.tmp_0.arg4 = s.n___18371; + s.tmp_0.arg3 = s.layer___39096; + s.tmp_0.arg4 = s.n___39094; s.callLocIdx = 456; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___18371, s.arg1); - r0 = s.n___18371; + r0 = pxsim_Array_.removeElement(s.n___39094, s.arg1); + r0 = s.n___39094; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P2175.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__P22898.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__P2175_mk(s) { +function sprites_SpriteMap_neighbors__P22898_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P2175, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P22898, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___18371: undefined, - layer___18373: undefined, + n___39094: undefined, + layer___39096: undefined, arg0: undefined, arg1: undefined, } } @@ -42859,7 +42860,7 @@ function sprites_SpriteMap_neighbors__P2175_mk(s) { -function sprites_SpriteMap_mergeAtKey__P4126(s) { +function sprites_SpriteMap_mergeAtKey__P24849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42869,11 +42870,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___18426 = undefined; - s.bucket___18431 = undefined; - s.sprite___18438 = undefined; - s.unnamed60___U3 = undefined; - s.unnamed61___U4 = undefined; + s.k___39149 = undefined; + s.bucket___39154 = undefined; + s.sprite___39161 = undefined; + s.unnamed140___U3 = undefined; + s.unnamed141___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -42883,33 +42884,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2173_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4124_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P24847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 483; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___18426 = (r0); + s.k___39149 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___18426); - s.bucket___18431 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___18431); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___39149); + s.bucket___39154 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___39154); if (!r0) { step = 7; continue; } - s.sprite___18438 = (undefined); - s.unnamed60___U3 = (s.bucket___18431); - s.unnamed61___U4 = (0); + s.sprite___39161 = (undefined); + s.unnamed140___U3 = (s.bucket___39154); + s.unnamed141___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed61___U4; - r0 = pxsim_Array__length(s.unnamed60___U3); + s.tmp_0 = r0 = s.unnamed141___U4; + r0 = pxsim_Array__length(s.unnamed140___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed60___U3, s.unnamed61___U4); - s.sprite___18438 = (r0); - r0 = s.sprite___18438.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed140___U3, s.unnamed141___U4); + s.sprite___39161 = (r0); + r0 = s.sprite___39161.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -42918,7 +42919,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___18438, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___39161, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -42926,26 +42927,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___18438); + r0 = pxsim_Array__push(s.arg4, s.sprite___39161); case 4: case 5: - r0 = (s.unnamed61___U4 + 1); - s.unnamed61___U4 = (r0); + r0 = (s.unnamed141___U4 + 1); + s.unnamed141___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed60___U3 = (undefined); + s.unnamed140___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P4126.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__P24849.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__P4126_mk(s) { +function sprites_SpriteMap_mergeAtKey__P24849_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P4126, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P24849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42953,11 +42954,11 @@ function sprites_SpriteMap_mergeAtKey__P4126_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___18426: undefined, - bucket___18431: undefined, - sprite___18438: undefined, - unnamed60___U3: undefined, - unnamed61___U4: undefined, + k___39149: undefined, + bucket___39154: undefined, + sprite___39161: undefined, + unnamed140___U3: undefined, + unnamed141___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -42969,7 +42970,7 @@ function sprites_SpriteMap_mergeAtKey__P4126_mk(s) { -function sprites_SpriteMap_key__P4124(s) { +function sprites_SpriteMap_key__P24847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42979,8 +42980,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___18459 = undefined; - s.yi___18471 = undefined; + s.xi___39182 = undefined; + s.yi___39194 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -42988,8 +42989,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2173_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P20850_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -43000,8 +43001,8 @@ switch (step) { s.callLocIdx = 471; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___18459 = (r0); - s.tmp_0 = Math_clamp__P127_mk(s); + s.xi___39182 = (r0); + s.tmp_0 = Math_clamp__P20850_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -43012,28 +43013,28 @@ switch (step) { s.callLocIdx = 472; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___18471 = (r0); - s.tmp_0 = r0 = s.xi___18459; + s.yi___39194 = (r0); + s.tmp_0 = r0 = s.xi___39182; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___18471 * s.tmp_2); + r0 = (s.yi___39194 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P4124.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__P24847.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__P4124_mk(s) { +function sprites_SpriteMap_key__P24847_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P4124, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P24847, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___18459: undefined, - yi___18471: undefined, + xi___39182: undefined, + yi___39194: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43043,7 +43044,7 @@ function sprites_SpriteMap_key__P4124_mk(s) { -function Sprite_bottom__P2144(s) { +function Sprite_bottom__P22867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43058,8 +43059,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P2142_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P22865_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 331; s.pc = 1; return s.tmp_1; case 1: @@ -43073,13 +43074,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P2144.info = {"start":10378,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P2144.isGetter = true; +Sprite_bottom__P22867.info = {"start":10378,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P22867.isGetter = true; -function Sprite_bottom__P2144_mk(s) { +function Sprite_bottom__P22867_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P2144, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P22867, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43092,7 +43093,7 @@ function Sprite_bottom__P2144_mk(s) { -function Sprite_height__P2137(s) { +function Sprite_height__P22860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43107,20 +43108,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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() } } } -Sprite_height__P2137.info = {"start":8934,"length":54,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P2137.isGetter = true; +Sprite_height__P22860.info = {"start":8934,"length":54,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P22860.isGetter = true; -function Sprite_height__P2137_mk(s) { +function Sprite_height__P22860_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P2137, depth: s.depth + 1, + parent: s, fn: Sprite_height__P22860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43130,7 +43131,7 @@ function Sprite_height__P2137_mk(s) { -function Sprite_right__P2140(s) { +function Sprite_right__P22863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43145,8 +43146,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P2138_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P22861_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 323; s.pc = 1; return s.tmp_1; case 1: @@ -43160,13 +43161,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P2140.info = {"start":9574,"length":57,"line":345,"column":4,"endLine":347,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P2140.isGetter = true; +Sprite_right__P22863.info = {"start":9574,"length":57,"line":345,"column":4,"endLine":347,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P22863.isGetter = true; -function Sprite_right__P2140_mk(s) { +function Sprite_right__P22863_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P2140, depth: s.depth + 1, + parent: s, fn: Sprite_right__P22863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43179,7 +43180,7 @@ function Sprite_right__P2140_mk(s) { -function Sprite_overlapsWith__P2159(s) { +function Sprite_overlapsWith__P22882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43195,7 +43196,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -43228,13 +43229,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P2138_mk(s); + s.tmp_9 = Sprite_left__P22861_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 408; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = Sprite_left__P2138_mk(s); + s.tmp_11 = Sprite_left__P22861_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 409; s.pc = 9; return s.tmp_11; case 9: @@ -43242,13 +43243,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P2142_mk(s); + s.tmp_14 = Sprite_top__P22865_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 410; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; - s.tmp_16 = Sprite_top__P2142_mk(s); + s.tmp_16 = Sprite_top__P22865_mk(s); s.tmp_16.arg0 = s.arg1; s.callLocIdx = 411; s.pc = 11; return s.tmp_16; case 11: @@ -43261,12 +43262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P2159.info = {"start":21302,"length":380,"line":692,"column":4,"endLine":700,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P22882.info = {"start":21302,"length":380,"line":692,"column":4,"endLine":700,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P2159_mk(s) { +function Sprite_overlapsWith__P22882_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P2159, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P22882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43293,7 +43294,7 @@ function Sprite_overlapsWith__P2159_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P4161(s) { +function ArcadePhysicsEngine_createMovingSprite__P24884(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43303,16 +43304,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___18679 = undefined; - s.ovy___18684 = undefined; - s.fx___18711 = undefined; - s.c___18718 = undefined; - s.fy___18761 = undefined; - s.c___18768 = undefined; - s.dx___18807 = undefined; - s.dy___18820 = undefined; - s.xStep___18833 = undefined; - s.yStep___18835 = undefined; + s.ovx___39402 = undefined; + s.ovy___39407 = undefined; + s.fx___39434 = undefined; + s.c___39441 = undefined; + s.fy___39484 = undefined; + s.c___39491 = undefined; + s.dx___39530 = undefined; + s.dy___39543 = undefined; + s.xStep___39556 = undefined; + s.yStep___39558 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43321,23 +43322,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4166_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P24889_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 546; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___18679 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4166_mk(s); + s.ovx___39402 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P24889_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 547; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___18684 = (r0); + s.ovy___39407 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -43371,21 +43372,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___18711 = (r0); + s.fx___39434 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___18711); - s.c___18718 = (r0); - r0 = (s.c___18718 < 0); + r0 = (s.tmp_0 - s.fx___39434); + s.c___39441 = (r0); + r0 = (s.c___39441 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_min__P166_mk(s); + s.tmp_3 = Fx_min__P20889_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___18711); + r0 = (s.tmp_4 + s.fx___39434); s.tmp_3.arg1 = r0; s.callLocIdx = 555; s.pc = 27; return s.tmp_3; case 27: @@ -43394,16 +43395,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___18718 > 0); + r0 = (s.c___39441 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_max__P167_mk(s); + s.tmp_3 = Fx_max__P20890_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___18711); + r0 = (s.tmp_4 - s.fx___39434); s.tmp_3.arg1 = r0; s.callLocIdx = 557; s.pc = 28; return s.tmp_3; case 28: @@ -43445,21 +43446,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___18761 = (r0); + s.fy___39484 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___18761); - s.c___18768 = (r0); - r0 = (s.c___18768 < 0); + r0 = (s.tmp_0 - s.fy___39484); + s.c___39491 = (r0); + r0 = (s.c___39491 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_min__P166_mk(s); + s.tmp_3 = Fx_min__P20889_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___18761); + r0 = (s.tmp_4 + s.fy___39484); s.tmp_3.arg1 = r0; s.callLocIdx = 565; s.pc = 29; return s.tmp_3; case 29: @@ -43468,16 +43469,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___18768 > 0); + r0 = (s.c___39491 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_max__P167_mk(s); + s.tmp_3 = Fx_max__P20890_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___18761); + r0 = (s.tmp_4 - s.fy___39484); s.tmp_3.arg1 = r0; s.callLocIdx = 567; s.pc = 30; return s.tmp_3; case 30: @@ -43493,7 +43494,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P4166_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P24889_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -43503,7 +43504,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__P4166_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P24889_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -43514,7 +43515,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___18679); + r0 = (s.tmp_4 + s.ovx___39402); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -43525,10 +43526,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___18807 = (r0); + s.dx___39530 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___18684); + r0 = (s.tmp_4 + s.ovy___39407); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -43539,12 +43540,12 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___18820 = (r0); - s.xStep___18833 = (s.dx___18807); - s.yStep___18835 = (s.dy___18820); + s.dy___39543 = (r0); + s.xStep___39556 = (s.dx___39530); + s.yStep___39558 = (s.dy___39543); case 17: - s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.xStep___18833; + s.tmp_2 = Fx_abs__P20888_mk(s); + s.tmp_2.arg0 = s.xStep___39556; s.callLocIdx = 576; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -43558,8 +43559,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P165_mk(s); - s.tmp_5.arg0 = s.yStep___18835; + s.tmp_5 = Fx_abs__P20888_mk(s); + s.tmp_5.arg0 = s.yStep___39558; s.callLocIdx = 577; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -43572,8 +43573,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P165_mk(s); - s.tmp_10.arg0 = s.xStep___18833; + s.tmp_10 = Fx_abs__P20888_mk(s); + s.tmp_10.arg0 = s.xStep___39556; s.callLocIdx = 578; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -43584,12 +43585,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___18833, 2); - s.xStep___18833 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___39556, 2); + s.xStep___39556 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.yStep___18835; + s.tmp_2 = Fx_abs__P20888_mk(s); + s.tmp_2.arg0 = s.yStep___39558; s.callLocIdx = 580; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -43600,25 +43601,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___18835, 2); - s.yStep___18835 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___39558, 2); + s.yStep___39558 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2252_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C22975_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P2253_mk(s); + s.tmp_1 = MovingSprite_constructor__P22976_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___18807; - s.tmp_1.arg5 = s.dy___18820; - s.tmp_1.arg6 = s.xStep___18833; - s.tmp_1.arg7 = s.yStep___18835; + s.tmp_1.arg4 = s.dx___39530; + s.tmp_1.arg5 = s.dy___39543; + s.tmp_1.arg6 = s.xStep___39556; + s.tmp_1.arg7 = s.yStep___39558; s.callLocIdx = 582; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -43626,12 +43627,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P4161.info = {"start":6637,"length":2805,"line":210,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P24884.info = {"start":6637,"length":2805,"line":210,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P4161_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P24884_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P4161, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P24884, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43645,16 +43646,16 @@ function ArcadePhysicsEngine_createMovingSprite__P4161_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___18679: undefined, - ovy___18684: undefined, - fx___18711: undefined, - c___18718: undefined, - fy___18761: undefined, - c___18768: undefined, - dx___18807: undefined, - dy___18820: undefined, - xStep___18833: undefined, - yStep___18835: undefined, + ovx___39402: undefined, + ovy___39407: undefined, + fx___39434: undefined, + c___39441: undefined, + fy___39484: undefined, + c___39491: undefined, + dx___39530: undefined, + dy___39543: undefined, + xStep___39556: undefined, + yStep___39558: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43665,7 +43666,7 @@ function ArcadePhysicsEngine_createMovingSprite__P4161_mk(s) { -function ArcadePhysicsEngine_constrain__P4166(s) { +function ArcadePhysicsEngine_constrain__P24889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43681,9 +43682,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_1 = Fx_min__P166_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P20890_mk(s); + s.tmp_1 = Fx_min__P20889_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -43699,12 +43700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P4166.info = {"start":26048,"length":193,"line":730,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P24889.info = {"start":26048,"length":193,"line":730,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P4166_mk(s) { +function ArcadePhysicsEngine_constrain__P24889_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P4166, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P24889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43716,7 +43717,7 @@ function ArcadePhysicsEngine_constrain__P4166_mk(s) { -function Fx_max__P167(s) { +function Fx_max__P20890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43747,12 +43748,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P167.info = {"start":1797,"length":117,"line":56,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"max","argumentNames":["a","b"]} +Fx_max__P20890.info = {"start":1797,"length":117,"line":56,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"max","argumentNames":["a","b"]} -function Fx_max__P167_mk(s) { +function Fx_max__P20890_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P167, depth: s.depth + 1, + parent: s, fn: Fx_max__P20890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43763,7 +43764,7 @@ function Fx_max__P167_mk(s) { -function Fx_compare__P164(s) { +function Fx_compare__P20887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43782,12 +43783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P164.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} +Fx_compare__P20887.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} -function Fx_compare__P164_mk(s) { +function Fx_compare__P20887_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P164, depth: s.depth + 1, + parent: s, fn: Fx_compare__P20887, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43797,7 +43798,7 @@ function Fx_compare__P164_mk(s) { -function sprites_SpriteMap_insertAABB__P2180(s) { +function sprites_SpriteMap_insertAABB__P22903(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43807,31 +43808,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___18491 = undefined; - s.top___18494 = undefined; - s.xn___18497 = undefined; - s.yn___18508 = undefined; - s.x___18519 = undefined; - s.y___18524 = undefined; + s.left___39214 = undefined; + s.top___39217 = undefined; + s.xn___39220 = undefined; + s.yn___39231 = undefined; + s.x___39242 = undefined; + s.y___39247 = 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__C2173_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2138_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P22861_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 474; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___18491 = (r0); - s.tmp_0 = Sprite_top__P2142_mk(s); + s.left___39214 = (r0); + s.tmp_0 = Sprite_top__P22865_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 475; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___18494 = (r0); + s.top___39217 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -43845,7 +43846,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___18497 = (r0); + s.xn___39220 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -43859,30 +43860,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___18508 = (r0); - s.x___18519 = (0); + s.yn___39231 = (r0); + s.x___39242 = (0); case 1: - r0 = (s.x___18519 <= s.xn___18497); + r0 = (s.x___39242 <= s.xn___39220); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___18524 = (0); + s.y___39247 = (0); case 2: - r0 = (s.y___18524 <= s.yn___18508); + r0 = (s.y___39247 <= s.yn___39231); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P4125_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P24848_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___18491; - s.tmp_4 = Math_min__P131_mk(s); + s.tmp_2 = r0 = s.left___39214; + s.tmp_4 = Math_min__P20854_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___18519 * s.tmp_6); + r0 = (s.x___39242 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 479; s.pc = 8; return s.tmp_4; case 8: @@ -43890,15 +43891,15 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___18494; - s.tmp_9 = Math_min__P131_mk(s); + s.tmp_7 = r0 = s.top___39217; + s.tmp_9 = Math_min__P20854_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_10 = r0; r0 = pxsim_ImageMethods.height(s.tmp_10); s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___18524 * s.tmp_11); + r0 = (s.y___39247 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 481; s.pc = 9; return s.tmp_9; case 9: @@ -43910,24 +43911,24 @@ switch (step) { s.callLocIdx = 482; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___18524 + 1); - s.y___18524 = (r0); + r0 = (s.y___39247 + 1); + s.y___39247 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___18519 + 1); - s.x___18519 = (r0); + r0 = (s.x___39242 + 1); + s.x___39242 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P2180.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__P22903.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__P2180_mk(s) { +function sprites_SpriteMap_insertAABB__P22903_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P2180, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P22903, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43941,12 +43942,12 @@ function sprites_SpriteMap_insertAABB__P2180_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___18491: undefined, - top___18494: undefined, - xn___18497: undefined, - yn___18508: undefined, - x___18519: undefined, - y___18524: undefined, + left___39214: undefined, + top___39217: undefined, + xn___39220: undefined, + yn___39231: undefined, + x___39242: undefined, + y___39247: undefined, arg0: undefined, arg1: undefined, } } @@ -43955,7 +43956,7 @@ function sprites_SpriteMap_insertAABB__P2180_mk(s) { -function sprites_SpriteMap_insertAtKey__P4125(s) { +function sprites_SpriteMap_insertAtKey__P24848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43965,8 +43966,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___18559 = undefined; - s.bucket___18564 = undefined; + s.k___39282 = undefined; + s.bucket___39287 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43975,20 +43976,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2173_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4124_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P24847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 473; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___18559 = (r0); + s.k___39282 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___18559); - s.bucket___18564 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___18564); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___39282); + s.bucket___39287 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___39287); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -43996,40 +43997,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___18559; + s.tmp_3 = r0 = s.k___39282; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___18564 = (s.tmp_4); + s.bucket___39287 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___18564, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___39287, 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___18564, s.arg3); + r0 = pxsim_Array__push(s.bucket___39287, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P4125.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__P24848.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__P4125_mk(s) { +function sprites_SpriteMap_insertAtKey__P24848_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P4125, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P24848, 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___18559: undefined, - bucket___18564: undefined, + k___39282: undefined, + bucket___39287: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44040,7 +44041,7 @@ function sprites_SpriteMap_insertAtKey__P4125_mk(s) { -function sprites_SpriteMap_clear__P2179(s) { +function sprites_SpriteMap_clear__P22902(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44055,7 +44056,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2173_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -44064,12 +44065,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P2179.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__P22902.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__P2179_mk(s) { +function sprites_SpriteMap_clear__P22902_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P2179, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P22902, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44080,7 +44081,7 @@ function sprites_SpriteMap_clear__P2179_mk(s) { -function sprites_SpriteMap_resizeBuckets__P2178(s) { +function sprites_SpriteMap_resizeBuckets__P22901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44090,107 +44091,107 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___18602 = undefined; - s.maxHeight___18603 = undefined; - s.sprite___18605 = undefined; - s.unnamed58___U3 = undefined; - s.unnamed59___U4 = undefined; - s.tMap___18621 = undefined; - s.areaWidth___18625 = undefined; - s.areaHeight___18632 = undefined; + s.maxWidth___39325 = undefined; + s.maxHeight___39326 = undefined; + s.sprite___39328 = undefined; + s.unnamed138___U3 = undefined; + s.unnamed139___U4 = undefined; + s.tMap___39344 = undefined; + s.areaWidth___39348 = undefined; + s.areaHeight___39355 = 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__C2173_VT)) failedCast(r0); - s.maxWidth___18602 = (0); - s.maxHeight___18603 = (0); - s.sprite___18605 = (undefined); - s.unnamed58___U3 = (s.arg1); - s.unnamed59___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); + s.maxWidth___39325 = (0); + s.maxHeight___39326 = (0); + s.sprite___39328 = (undefined); + s.unnamed138___U3 = (s.arg1); + s.unnamed139___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed59___U4; - r0 = pxsim_Array__length(s.unnamed58___U3); + s.tmp_0 = r0 = s.unnamed139___U4; + r0 = pxsim_Array__length(s.unnamed138___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed58___U3, s.unnamed59___U4); - s.sprite___18605 = (r0); - r0 = s.sprite___18605.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed138___U3, s.unnamed139___U4); + s.sprite___39328 = (r0); + r0 = s.sprite___39328.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___18602); + r0 = (s.tmp_3 > s.maxWidth___39325); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___18605.fields["_image"]; + r0 = s.sprite___39328.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___18602 = (r0); + s.maxWidth___39325 = (r0); case 2: case 3: - r0 = s.sprite___18605.fields["_image"]; + r0 = s.sprite___39328.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___18603); + r0 = (s.tmp_1 > s.maxHeight___39326); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___18605.fields["_image"]; + r0 = s.sprite___39328.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___18603 = (r0); + s.maxHeight___39326 = (r0); case 4: case 5: - r0 = (s.unnamed59___U4 + 1); - s.unnamed59___U4 = (r0); + r0 = (s.unnamed139___U4 + 1); + s.unnamed139___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed58___U3 = (undefined); - s.tmp_0 = game_currentScene__P2609_mk(s); + s.unnamed138___U3 = (undefined); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 466; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___18621 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___18621); + s.tMap___39344 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___39344); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P2407_mk(s); - s.tmp_0.arg0 = s.tMap___18621; + s.tmp_0 = tiles_TileMap_areaWidth__P23130_mk(s); + s.tmp_0.arg0 = s.tMap___39344; s.callLocIdx = 467; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___18625 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___18621); + s.areaWidth___39348 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___39344); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P2408_mk(s); - s.tmp_0.arg0 = s.tMap___18621; + s.tmp_0 = tiles_TileMap_areaHeight__P23131_mk(s); + s.tmp_0.arg0 = s.tMap___39344; s.callLocIdx = 468; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___18632 = (s.tmp_1); + s.areaHeight___39355 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P20850_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___18625 >> 2); + r0 = (s.areaWidth___39348 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___18602 * 2); + r0 = (s.maxWidth___39325 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 469; s.pc = 14; return s.tmp_2; case 14: @@ -44198,11 +44199,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["cellWidth"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P20850_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___18632 >> 2); + r0 = (s.areaHeight___39355 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___18603 * 2); + r0 = (s.maxHeight___39326 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 470; s.pc = 15; return s.tmp_2; case 15: @@ -44212,25 +44213,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___18632, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___39355, 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___18625, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___39348, 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__P2178.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__P22901.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__P2178_mk(s) { +function sprites_SpriteMap_resizeBuckets__P22901_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P2178, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P22901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44238,14 +44239,14 @@ function sprites_SpriteMap_resizeBuckets__P2178_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___18602: undefined, - maxHeight___18603: undefined, - sprite___18605: undefined, - unnamed58___U3: undefined, - unnamed59___U4: undefined, - tMap___18621: undefined, - areaWidth___18625: undefined, - areaHeight___18632: undefined, + maxWidth___39325: undefined, + maxHeight___39326: undefined, + sprite___39328: undefined, + unnamed138___U3: undefined, + unnamed139___U4: undefined, + tMap___39344: undefined, + areaWidth___39348: undefined, + areaHeight___39355: undefined, arg0: undefined, arg1: undefined, } } @@ -44254,7 +44255,7 @@ function sprites_SpriteMap_resizeBuckets__P2178_mk(s) { -function Sprite_clearObstacles__P2163(s) { +function Sprite_clearObstacles__P22886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44269,7 +44270,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -44278,12 +44279,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P2163.info = {"start":23644,"length":54,"line":757,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P22886.info = {"start":23644,"length":54,"line":757,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P2163_mk(s) { +function Sprite_clearObstacles__P22886_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P2163, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P22886, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44294,7 +44295,7 @@ function Sprite_clearObstacles__P2163_mk(s) { -function Fx_idiv__P163(s) { +function Fx_idiv__P20886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44313,12 +44314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P163.info = {"start":1279,"length":111,"line":38,"column":4,"endLine":40,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"idiv","argumentNames":["a","b"]} +Fx_idiv__P20886.info = {"start":1279,"length":111,"line":38,"column":4,"endLine":40,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"idiv","argumentNames":["a","b"]} -function Fx_idiv__P163_mk(s) { +function Fx_idiv__P20886_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P163, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P20886, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -44328,7 +44329,7 @@ function Fx_idiv__P163_mk(s) { -function Fx_div__P162(s) { +function Fx_div__P20885(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44349,12 +44350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P162.info = {"start":1145,"length":129,"line":35,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"div","argumentNames":["a","b"]} +Fx_div__P20885.info = {"start":1145,"length":129,"line":35,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"div","argumentNames":["a","b"]} -function Fx_div__P162_mk(s) { +function Fx_div__P20885_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P162, depth: s.depth + 1, + parent: s, fn: Fx_div__P20885, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44365,7 +44366,7 @@ function Fx_div__P162_mk(s) { -function helpers_arrayMap__P106(s) { +function helpers_arrayMap__P20829(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44375,58 +44376,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___18904 = undefined; - s.len___18906 = undefined; - s.i___18909 = undefined; + s.res___39627 = undefined; + s.len___39629 = undefined; + s.i___39632 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___18904 = (r0); + s.res___39627 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___18906 = (r0); - s.i___18909 = (0); + s.len___39629 = (r0); + s.i___39632 = (0); case 1: - r0 = (s.i___18909 < s.len___18906); + r0 = (s.i___39632 < s.len___39629); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___18904; + s.tmp_1 = r0 = s.res___39627; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___18909); + r0 = pxsim_Array__getAt(s.arg0, s.i___39632); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___18909; + s.tmp_3.arg1 = s.i___39632; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 4; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___18909 + 1); - s.i___18909 = (r0); + r0 = (s.i___39632 + 1); + s.i___39632 = (r0); { step = 1; continue; } case 2: - r0 = s.res___18904; + r0 = s.res___39627; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P106.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} +helpers_arrayMap__P20829.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} -function helpers_arrayMap__P106_mk(s) { +function helpers_arrayMap__P20829_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P106, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P20829, 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___18904: undefined, - len___18906: undefined, - i___18909: undefined, + res___39627: undefined, + len___39629: undefined, + i___39632: undefined, arg0: undefined, arg1: undefined, } } @@ -44435,7 +44436,7 @@ function helpers_arrayMap__P106_mk(s) { -function ArcadePhysicsEngine_draw__P2265(s) { +function ArcadePhysicsEngine_draw__P22988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44450,8 +44451,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P2177_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P22900_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 512; s.pc = 1; return s.tmp_0; @@ -44461,12 +44462,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P2265.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__P22988.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__P2265_mk(s) { +function ArcadePhysicsEngine_draw__P22988_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P2265, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P22988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44476,7 +44477,7 @@ function ArcadePhysicsEngine_draw__P2265_mk(s) { -function sprites_SpriteMap_draw__P2177(s) { +function sprites_SpriteMap_draw__P22900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44486,70 +44487,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___18930 = undefined; - s.y___18936 = undefined; - s.left___18942 = undefined; - s.top___18947 = undefined; - s.k___18952 = undefined; - s.b___18957 = undefined; + s.x___39653 = undefined; + s.y___39659 = undefined; + s.left___39665 = undefined; + s.top___39670 = undefined; + s.k___39675 = undefined; + s.b___39680 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2173_VT)) failedCast(r0); - s.x___18930 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C22896_VT)) failedCast(r0); + s.x___39653 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___18930 < s.tmp_1); + r0 = (s.x___39653 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___18936 = (0); + s.y___39659 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___18936 < s.tmp_1); + r0 = (s.y___39659 < 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___18930 * s.tmp_2); - s.left___18942 = (r0); + r0 = (s.x___39653 * s.tmp_2); + s.left___39665 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___18936 * s.tmp_0); - s.top___18947 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P4124_mk(s); + r0 = (s.y___39659 * s.tmp_0); + s.top___39670 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P24847_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___18942; - s.tmp_0.arg2 = s.top___18947; + s.tmp_0.arg1 = s.left___39665; + s.tmp_0.arg2 = s.top___39670; s.callLocIdx = 460; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___18952 = (r0); + s.k___39675 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___18952); - s.b___18957 = (r0); - s.tmp_0 = r0 = s.b___18957; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___39675); + s.b___39680 = (r0); + s.tmp_0 = r0 = s.b___39680; 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___18957); + r0 = pxsim_Array__length(s.b___39680); 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__P1756_mk(s); - s.tmp_2.arg0 = globals.screen___1827; - s.tmp_2.arg1 = s.left___18942; - s.tmp_2.arg2 = s.top___18947; + s.tmp_2 = helpers_imageDrawRect__P22479_mk(s); + s.tmp_2.arg0 = globals.screen___22550; + s.tmp_2.arg1 = s.left___39665; + s.tmp_2.arg2 = s.top___39670; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -44560,34 +44561,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___18936 + 1); - s.y___18936 = (r0); + r0 = (s.y___39659 + 1); + s.y___39659 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___18930 + 1); - s.x___18930 = (r0); + r0 = (s.x___39653 + 1); + s.x___39653 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P2177.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__P22900.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__P2177_mk(s) { +function sprites_SpriteMap_draw__P22900_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P2177, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P22900, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___18930: undefined, - y___18936: undefined, - left___18942: undefined, - top___18947: undefined, - k___18952: undefined, - b___18957: undefined, + x___39653: undefined, + y___39659: undefined, + left___39665: undefined, + top___39670: undefined, + k___39675: undefined, + b___39680: undefined, arg0: undefined, } } @@ -44595,7 +44596,7 @@ function sprites_SpriteMap_draw__P2177_mk(s) { -function ArcadePhysicsEngine_removeSprite__P2264(s) { +function ArcadePhysicsEngine_removeSprite__P22987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44611,7 +44612,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -44619,12 +44620,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P2264.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__P22987.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__P2264_mk(s) { +function ArcadePhysicsEngine_removeSprite__P22987_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P2264, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P22987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44635,7 +44636,7 @@ function ArcadePhysicsEngine_removeSprite__P2264_mk(s) { -function ArcadePhysicsEngine_addSprite__P2263(s) { +function ArcadePhysicsEngine_addSprite__P22986(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44645,31 +44646,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___18994 = undefined; + s.tm___39717 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2254_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C22977_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__P2609_mk(s); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 510; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___18994 = (r0); - s.tmp_0 = r0 = s.tm___18994; + s.tm___39717 = (r0); + s.tmp_0 = r0 = s.tm___39717; 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__P2422_mk(s); - s.tmp_1.arg0 = s.tm___18994; + s.tmp_1 = tiles_TileMap_isOnWall__P23145_mk(s); + s.tmp_1.arg0 = s.tm___39717; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 511; s.pc = 6; return s.tmp_1; case 6: @@ -44691,12 +44692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P2263.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__P22986.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__P2263_mk(s) { +function ArcadePhysicsEngine_addSprite__P22986_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P2263, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P22986, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44704,7 +44705,7 @@ function ArcadePhysicsEngine_addSprite__P2263_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___18994: undefined, + tm___39717: undefined, arg0: undefined, arg1: undefined, } } @@ -44713,7 +44714,7 @@ function ArcadePhysicsEngine_addSprite__P2263_mk(s) { -function tiles_TileMapData_constructor__P2388(s) { +function tiles_TileMapData_constructor__P23111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44732,11 +44733,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2387_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C23110_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__P2392_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P23115_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 843; s.pc = 1; return s.tmp_0; @@ -44754,12 +44755,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P2388.info = {"start":3293,"length":358,"line":125,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P23111.info = {"start":3293,"length":358,"line":125,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -function tiles_TileMapData_constructor__P2388_mk(s) { +function tiles_TileMapData_constructor__P23111_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P2388, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P23111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44774,7 +44775,7 @@ function tiles_TileMapData_constructor__P2388_mk(s) { -function tiles_TileMapData_scale__P2392(s) { +function tiles_TileMapData_scale__P23115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44790,7 +44791,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2387_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C23110_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -44800,12 +44801,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P2392.info = {"start":3885,"length":102,"line":147,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P23115.info = {"start":3885,"length":102,"line":147,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMapData_scale__P2392_mk(s) { +function tiles_TileMapData_scale__P23115_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P2392, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P23115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44817,7 +44818,7 @@ function tiles_TileMapData_scale__P2392_mk(s) { -function tiles_TileMap_constructor__P2402(s) { +function tiles_TileMap_constructor__P23125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44833,19 +44834,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P2404_mk(s); + s.tmp_0 = tiles_TileMap_scale__P23127_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 849; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P19055); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P39778); 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__P2460_mk(s); + s.tmp_3 = scene_createRenderable__P23183_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; @@ -44858,12 +44859,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P2402.info = {"start":5903,"length":268,"line":211,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P23125.info = {"start":5903,"length":268,"line":211,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_TileMap_constructor__P2402_mk(s) { +function tiles_TileMap_constructor__P23125_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P2402, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P23125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44877,7 +44878,7 @@ function tiles_TileMap_constructor__P2402_mk(s) { -function tiles_TileMap_inline__P19055(s) { +function tiles_TileMap_inline__P39778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44892,7 +44893,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P4234_mk(s); + s.tmp_0 = tiles_TileMap_draw__P24957_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -44903,12 +44904,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P19055.info = {"start":6121,"length":25,"line":217,"column":16,"endLine":217,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +tiles_TileMap_inline__P39778.info = {"start":6121,"length":25,"line":217,"column":16,"endLine":217,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function tiles_TileMap_inline__P19055_mk(s) { +function tiles_TileMap_inline__P39778_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P19055, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P39778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44919,7 +44920,7 @@ function tiles_TileMap_inline__P19055_mk(s) { -function tiles_TileMap_draw__P4234(s) { +function tiles_TileMap_draw__P24957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44929,21 +44930,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___19066 = undefined; - s.offsetX___19072 = undefined; - s.offsetY___19077 = undefined; - s.x0___19082 = undefined; - s.xn___19089 = undefined; - s.y0___19106 = undefined; - s.yn___19113 = undefined; - s.x___19130 = undefined; - s.y___19136 = undefined; - s.index___19142 = undefined; - s.tile___19149 = undefined; - s.x___19185 = undefined; - s.xLine___19191 = undefined; - s.y___19217 = undefined; - s.yLine___19223 = undefined; + s.bitmask___39789 = undefined; + s.offsetX___39795 = undefined; + s.offsetY___39800 = undefined; + s.x0___39805 = undefined; + s.xn___39812 = undefined; + s.y0___39829 = undefined; + s.yn___39836 = undefined; + s.x___39853 = undefined; + s.y___39859 = undefined; + s.index___39865 = undefined; + s.tile___39872 = undefined; + s.x___39908 = undefined; + s.xLine___39914 = undefined; + s.y___39940 = undefined; + s.yLine___39946 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44951,7 +44952,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -44976,16 +44977,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___19066 = (r0); + s.bitmask___39789 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___19066); - s.offsetX___19072 = (r0); + r0 = (s.tmp_0 & s.bitmask___39789); + s.offsetX___39795 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___19066); - s.offsetY___19077 = (r0); - s.tmp_0 = Math_max__P130_mk(s); + r0 = (s.tmp_0 & s.bitmask___39789); + s.offsetY___39800 = (r0); + s.tmp_0 = Math_max__P20853_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -44996,8 +44997,8 @@ switch (step) { s.callLocIdx = 869; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___19082 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.x0___39805 = (r0); + s.tmp_0 = Math_min__P20854_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -45017,8 +45018,8 @@ switch (step) { s.callLocIdx = 872; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___19089 = (r0); - s.tmp_0 = Math_max__P130_mk(s); + s.xn___39812 = (r0); + s.tmp_0 = Math_max__P20853_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -45029,8 +45030,8 @@ switch (step) { s.callLocIdx = 874; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___19106 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.y0___39829 = (r0); + s.tmp_0 = Math_min__P20854_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -45050,92 +45051,92 @@ switch (step) { s.callLocIdx = 877; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___19113 = (r0); - s.x___19130 = (s.x0___19082); + s.yn___39836 = (r0); + s.x___39853 = (s.x0___39805); case 3: - r0 = (s.x___19130 <= s.xn___19089); + r0 = (s.x___39853 <= s.xn___39812); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___19136 = (s.y0___19106); + s.y___39859 = (s.y0___39829); case 4: - r0 = (s.y___19136 <= s.yn___19113); + r0 = (s.y___39859 <= s.yn___39836); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P2393_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P23116_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___19130; - s.tmp_1.arg2 = s.y___19136; + s.tmp_1.arg1 = s.x___39853; + s.tmp_1.arg2 = s.y___39859; s.callLocIdx = 878; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___19142 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P2396_mk(s); + s.index___39865 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P23119_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___19142; + s.tmp_0.arg1 = s.index___39865; s.callLocIdx = 879; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___19149 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___19149); + s.tile___39872 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___39872); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___19149; - r0 = (s.x___19130 - s.x0___19082); + s.tmp_1 = r0 = s.tile___39872; + r0 = (s.x___39853 - s.x0___39805); 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___19072); + r0 = (s.tmp_3 - s.offsetX___39795); s.tmp_2 = r0; - r0 = (s.y___19136 - s.y0___19106); + r0 = (s.y___39859 - s.y0___39829); 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___19077); + r0 = (s.tmp_7 - s.offsetY___39800); 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___19136 + 1); - s.y___19136 = (r0); + r0 = (s.y___39859 + 1); + s.y___39859 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___19130 + 1); - s.x___19130 = (r0); + r0 = (s.x___39853 + 1); + s.x___39853 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___2605); + r0 = pxsim_numops_toBoolDecr(globals.debug___23328); if (!r0) { step = 21; continue; } - s.x___19185 = (s.x0___19082); + s.x___39908 = (s.x0___39805); case 9: - r0 = (s.x___19185 <= s.xn___19089); + r0 = (s.x___39908 <= s.xn___39812); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___19185 - s.x0___19082); + r0 = (s.x___39908 - s.x0___39805); 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___19072); - s.xLine___19191 = (r0); - r0 = (s.xLine___19191 >= 0); + r0 = (s.tmp_1 - s.offsetX___39795); + s.xLine___39914 = (r0); + r0 = (s.xLine___39914 >= 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___19191; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + s.tmp_1 = r0 = s.xLine___39914; + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -45143,11 +45144,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P1755_mk(s); + s.tmp_4 = helpers_imageDrawLine__P22478_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___19191; + s.tmp_4.arg1 = s.xLine___39914; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___19191; + s.tmp_4.arg3 = s.xLine___39914; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -45156,33 +45157,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___19185 + 1); - s.x___19185 = (r0); + r0 = (s.x___39908 + 1); + s.x___39908 = (r0); { step = 9; continue; } case 14: - s.y___19217 = (s.y0___19106); + s.y___39940 = (s.y0___39829); case 15: - r0 = (s.y___19217 <= s.yn___19113); + r0 = (s.y___39940 <= s.yn___39836); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___19217 - s.y0___19106); + r0 = (s.y___39940 - s.y0___39829); 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___19077); - s.yLine___19223 = (r0); - r0 = (s.yLine___19223 >= 0); + r0 = (s.tmp_1 - s.offsetY___39800); + s.yLine___39946 = (r0); + r0 = (s.yLine___39946 >= 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___19223; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + s.tmp_1 = r0 = s.yLine___39946; + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -45190,21 +45191,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P1755_mk(s); + s.tmp_4 = helpers_imageDrawLine__P22478_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___19223; + s.tmp_4.arg2 = s.yLine___39946; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___19223; + s.tmp_4.arg4 = s.yLine___39946; s.tmp_4.arg5 = 1; s.callLocIdx = 885; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___19217 + 1); - s.y___19217 = (r0); + r0 = (s.y___39940 + 1); + s.y___39940 = (r0); { step = 15; continue; } case 20: case 21: @@ -45214,12 +45215,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P4234.info = {"start":10243,"length":2224,"line":348,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P24957.info = {"start":10243,"length":2224,"line":348,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P4234_mk(s) { +function tiles_TileMap_draw__P24957_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P4234, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P24957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45231,21 +45232,21 @@ function tiles_TileMap_draw__P4234_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___19066: undefined, - offsetX___19072: undefined, - offsetY___19077: undefined, - x0___19082: undefined, - xn___19089: undefined, - y0___19106: undefined, - yn___19113: undefined, - x___19130: undefined, - y___19136: undefined, - index___19142: undefined, - tile___19149: undefined, - x___19185: undefined, - xLine___19191: undefined, - y___19217: undefined, - yLine___19223: undefined, + bitmask___39789: undefined, + offsetX___39795: undefined, + offsetY___39800: undefined, + x0___39805: undefined, + xn___39812: undefined, + y0___39829: undefined, + yn___39836: undefined, + x___39853: undefined, + y___39859: undefined, + index___39865: undefined, + tile___39872: undefined, + x___39908: undefined, + xLine___39914: undefined, + y___39940: undefined, + yLine___39946: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -45255,7 +45256,7 @@ function tiles_TileMap_draw__P4234_mk(s) { -function tiles_TileMap_scale__P2404(s) { +function tiles_TileMap_scale__P23127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45271,13 +45272,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_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__P2392_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P23115_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -45290,12 +45291,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P2404.info = {"start":6246,"length":144,"line":225,"column":8,"endLine":230,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P23127.info = {"start":6246,"length":144,"line":225,"column":8,"endLine":230,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMap_scale__P2404_mk(s) { +function tiles_TileMap_scale__P23127_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P2404, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P23127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45307,7 +45308,7 @@ function tiles_TileMap_scale__P2404_mk(s) { -function tiles_TileMap_data__P4232(s) { +function tiles_TileMap_data__P24955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45322,18 +45323,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2400_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C23123_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P4232.info = {"start":6400,"length":75,"line":232,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P4232.isGetter = true; +tiles_TileMap_data__P24955.info = {"start":6400,"length":75,"line":232,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P24955.isGetter = true; -function tiles_TileMap_data__P4232_mk(s) { +function tiles_TileMap_data__P24955_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P4232, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P24955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -45342,7 +45343,7 @@ function tiles_TileMap_data__P4232_mk(s) { -function scene_BackgroundLayer_constructor__P2365(s) { +function scene_BackgroundLayer_constructor__P23088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45360,9 +45361,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C2358_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C23081_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P20853_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 837; s.pc = 7; return s.tmp_2; @@ -45408,12 +45409,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P2365.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__P23088.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__P2365_mk(s) { +function scene_BackgroundLayer_constructor__P23088_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P2365, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P23088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45428,7 +45429,7 @@ function scene_BackgroundLayer_constructor__P2365_mk(s) { -function scene_Camera_y__P2447(s) { +function scene_Camera_y__P23170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45443,10 +45444,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2437_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -45454,13 +45455,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P2447.info = {"start":1398,"length":79,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} -scene_Camera_y__P2447.isGetter = true; +scene_Camera_y__P23170.info = {"start":1398,"length":79,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} +scene_Camera_y__P23170.isGetter = true; -function scene_Camera_y__P2447_mk(s) { +function scene_Camera_y__P23170_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P2447, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P23170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45472,7 +45473,7 @@ function scene_Camera_y__P2447_mk(s) { -function scene_Camera_x__P2446(s) { +function scene_Camera_x__P23169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45487,10 +45488,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2437_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -45498,13 +45499,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P2446.info = {"start":1311,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} -scene_Camera_x__P2446.isGetter = true; +scene_Camera_x__P23169.info = {"start":1311,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} +scene_Camera_x__P23169.isGetter = true; -function scene_Camera_x__P2446_mk(s) { +function scene_Camera_x__P23169_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P2446, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P23169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45516,7 +45517,7 @@ function scene_Camera_x__P2446_mk(s) { -function particles_ParticleSource___draw__P2762(s) { +function particles_ParticleSource___draw__P23485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45526,18 +45527,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___19526 = undefined; - s.left___19529 = undefined; - s.top___19539 = undefined; + s.current___40249 = undefined; + s.left___40252 = undefined; + s.top___40262 = 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__C2756_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___19526 = (r0); + s.current___40249 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -45555,7 +45556,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___19529 = (s.tmp_4); + s.left___40252 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -45573,49 +45574,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___19539 = (s.tmp_4); + s.top___40262 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___19526); + r0 = pxsim_numops_toBoolDecr(s.current___40249); if (!r0) { step = 8; continue; } - r0 = s.current___19526.fields["lifespan"]; + r0 = s.current___40249.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__P4630_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P25353_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___19526; - s.tmp_2.arg2 = s.left___19529; - s.tmp_2.arg3 = s.top___19539; + s.tmp_2.arg1 = s.current___40249; + s.tmp_2.arg2 = s.left___40252; + s.tmp_2.arg3 = s.top___40262; s.callLocIdx = 1300; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___19526.fields["next"]; - s.current___19526 = (r0); + r0 = s.current___40249.fields["next"]; + s.current___40249 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P2762.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__P23485.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__P2762_mk(s) { +function particles_ParticleSource___draw__P23485_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P2762, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P23485, 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___19526: undefined, - left___19529: undefined, - top___19539: undefined, + current___40249: undefined, + left___40252: undefined, + top___40262: undefined, arg0: undefined, arg1: undefined, } } @@ -45624,7 +45625,7 @@ function particles_ParticleSource___draw__P2762_mk(s) { -function particles_ParticleSource_drawParticle__P4630(s) { +function particles_ParticleSource_drawParticle__P25353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45642,8 +45643,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2756_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C2792_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C23479_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C23515_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -45655,7 +45656,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__C2792_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C23515_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: @@ -45664,12 +45665,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P4630.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__P25353.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__P4630_mk(s) { +function particles_ParticleSource_drawParticle__P25353_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P4630, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P25353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45684,7 +45685,7 @@ function particles_ParticleSource_drawParticle__P4630_mk(s) { -function particles_ParticleFactory_drawParticle__P2795(s) { +function particles_ParticleFactory_drawParticle__P23518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45702,8 +45703,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C2792_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___1827; + if (!checkSubtype(r0, particles_ParticleFactory__C23515_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___22550; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -45717,12 +45718,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P2795.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__P23518.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__P2795_mk(s) { +function particles_ParticleFactory_drawParticle__P23518_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P2795, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P23518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45739,7 +45740,7 @@ function particles_ParticleFactory_drawParticle__P2795_mk(s) { -function particles_ShapeFactory_createParticle__P2822(s) { +function particles_ShapeFactory_createParticle__P23545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45749,23 +45750,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___19329 = undefined; + s.p___40052 = 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__C2818_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P2808_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C23541_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P23531_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1399; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___19329 = (r0); - s.tmp_0 = r0 = s.p___19329; - s.tmp_2 = Math_FastRandom_randomRange__P2668_mk(s); + s.p___40052 = (r0); + s.tmp_0 = r0 = s.p___40052; + s.tmp_2 = Math_FastRandom_randomRange__P23391_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -45775,21 +45776,21 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___19329; + r0 = s.p___40052; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P2822.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__P23545.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__P2822_mk(s) { +function particles_ShapeFactory_createParticle__P23545_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P2822, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P23545, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___19329: undefined, + p___40052: undefined, arg0: undefined, arg1: undefined, } } @@ -45798,7 +45799,7 @@ function particles_ShapeFactory_createParticle__P2822_mk(s) { -function particles_AreaFactory_createParticle__P2808(s) { +function particles_AreaFactory_createParticle__P23531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45808,23 +45809,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___19341 = undefined; + s.p___40064 = 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__C2802_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P2798_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C23525_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P23521_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1381; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___19341 = (r0); - s.tmp_0 = r0 = s.p___19341; - s.tmp_2 = Math_FastRandom_randomRange__P2668_mk(s); + s.p___40064 = (r0); + s.tmp_0 = r0 = s.p___40064; + s.tmp_2 = Math_FastRandom_randomRange__P23391_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -45836,8 +45837,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___19341; - s.tmp_4 = Math_FastRandom_randomRange__P2668_mk(s); + s.tmp_0 = r0 = s.p___40064; + s.tmp_4 = Math_FastRandom_randomRange__P23391_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -45853,7 +45854,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___19341.fields["_x"]; + r0 = s.p___40064.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -45895,8 +45896,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___19341; - s.tmp_9 = Math_FastRandom_randomRange__P2668_mk(s); + s.tmp_5 = r0 = s.p___40064; + s.tmp_9 = Math_FastRandom_randomRange__P23391_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -45908,23 +45909,23 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___19341.fields["_y"]; + r0 = s.p___40064.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___19341; + r0 = s.p___40064; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P2808.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__P23531.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__P2808_mk(s) { +function particles_AreaFactory_createParticle__P23531_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P2808, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P23531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45938,7 +45939,7 @@ function particles_AreaFactory_createParticle__P2808_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___19341: undefined, + p___40064: undefined, arg0: undefined, arg1: undefined, } } @@ -45947,7 +45948,7 @@ function particles_AreaFactory_createParticle__P2808_mk(s) { -function particles_SprayFactory_createParticle__P2798(s) { +function particles_SprayFactory_createParticle__P23521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45957,26 +45958,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___19389 = undefined; - s.angle___19393 = undefined; + s.p___40112 = undefined; + s.angle___40116 = 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__C2796_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P2794_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C23519_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P23517_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1370; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___19389 = (r0); + s.p___40112 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P2668_mk(s); - s.tmp_3.arg0 = globals.galois___4644; + s.tmp_3 = Math_FastRandom_randomRange__P23391_mk(s); + s.tmp_3.arg0 = globals.galois___25367; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -45987,9 +45988,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___19393 = (r0); - s.tmp_0 = r0 = s.p___19389; - r0 = pxsim_Array__getAt(globals.cachedSin___4639, s.angle___19393); + s.angle___40116 = (r0); + s.tmp_0 = r0 = s.p___40112; + r0 = pxsim_Array__getAt(globals.cachedSin___25362, s.angle___40116); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -45998,8 +45999,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___19389; - r0 = pxsim_Array__getAt(globals.cachedCos___4640, s.angle___19393); + s.tmp_0 = r0 = s.p___40112; + r0 = pxsim_Array__getAt(globals.cachedCos___25363, s.angle___40116); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -46008,24 +46009,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___19389; + r0 = s.p___40112; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P2798.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__P23521.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__P2798_mk(s) { +function particles_SprayFactory_createParticle__P23521_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P2798, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P23521, 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___19389: undefined, - angle___19393: undefined, + p___40112: undefined, + angle___40116: undefined, arg0: undefined, arg1: undefined, } } @@ -46034,7 +46035,7 @@ function particles_SprayFactory_createParticle__P2798_mk(s) { -function effects_ScreenEffect_startScreenEffect__P2873(s) { +function effects_ScreenEffect_startScreenEffect__P23596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46051,7 +46052,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C2871_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C23594_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -46070,7 +46071,7 @@ switch (step) { r0 = s.tmp_3; { step = 4; continue; } case 3: - s.tmp_4 = particles_ParticleSource_enabled__P2768_mk(s); + s.tmp_4 = particles_ParticleSource_enabled__P23491_mk(s); r0 = s.arg0.fields["source"]; s.tmp_4.arg0 = r0; s.callLocIdx = 1432; s.pc = 14; return s.tmp_4; @@ -46091,14 +46092,14 @@ switch (step) { { step = 13; continue; } case 7: case 8: - s.tmp_0 = effects_ScreenEffect_endScreenEffect__P2874_mk(s); + s.tmp_0 = effects_ScreenEffect_endScreenEffect__P23597_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1433; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C4672_VT); + r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C25395_VT); s.tmp_0 = r0; - s.tmp_1 = effects_SceneAnchor_constructor__P4677_mk(s); + s.tmp_1 = effects_SceneAnchor_constructor__P25400_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1434; s.pc = 16; return s.tmp_1; case 16: @@ -46145,12 +46146,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_startScreenEffect__P2873.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} +effects_ScreenEffect_startScreenEffect__P23596.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} -function effects_ScreenEffect_startScreenEffect__P2873_mk(s) { +function effects_ScreenEffect_startScreenEffect__P23596_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_startScreenEffect__P2873, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_startScreenEffect__P23596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46168,7 +46169,7 @@ function effects_ScreenEffect_startScreenEffect__P2873_mk(s) { -function effects_SceneAnchor_constructor__P4677(s) { +function effects_SceneAnchor_constructor__P25400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46183,9 +46184,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4672_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C25395_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_currentScene__P2609_mk(s); + s.tmp_2 = game_currentScene__P23332_mk(s); s.callLocIdx = 1428; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; @@ -46196,12 +46197,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_SceneAnchor_constructor__P4677.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} +effects_SceneAnchor_constructor__P25400.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} -function effects_SceneAnchor_constructor__P4677_mk(s) { +function effects_SceneAnchor_constructor__P25400_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_constructor__P4677, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_constructor__P25400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46213,7 +46214,7 @@ function effects_SceneAnchor_constructor__P4677_mk(s) { -function effects_ScreenEffect_endScreenEffect__P2874(s) { +function effects_ScreenEffect_endScreenEffect__P23597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46228,12 +46229,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C2871_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C23594_VT)) failedCast(r0); r0 = s.arg0.fields["source"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = particles_ParticleSource_destroy__P2770_mk(s); + s.tmp_1 = particles_ParticleSource_destroy__P23493_mk(s); r0 = s.arg0.fields["source"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1436; s.pc = 3; return s.tmp_1; @@ -46246,12 +46247,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_endScreenEffect__P2874.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} +effects_ScreenEffect_endScreenEffect__P23597.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} -function effects_ScreenEffect_endScreenEffect__P2874_mk(s) { +function effects_ScreenEffect_endScreenEffect__P23597_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_endScreenEffect__P2874, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_endScreenEffect__P23597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46262,7 +46263,7 @@ function effects_ScreenEffect_endScreenEffect__P2874_mk(s) { -function effects_ImageEffect_startScreenEffect__P2898(s) { +function effects_ImageEffect_startScreenEffect__P23621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46272,7 +46273,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wasRunning___19481 = undefined; + s.wasRunning___40204 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -46280,8 +46281,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C2894_VT)) failedCast(r0); - s.tmp_4 = game_currentScene__P2609_mk(s); + if (!checkSubtype(r0, effects_ImageEffect__C23617_VT)) failedCast(r0); + s.tmp_4 = game_currentScene__P23332_mk(s); s.callLocIdx = 1453; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; @@ -46309,7 +46310,7 @@ switch (step) { r0 = s.arg0.fields["times"]; s.tmp_9 = r0; r0 = (s.tmp_9 != undefined); - s.wasRunning___19481 = (r0); + s.wasRunning___40204 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } r0 = s.arg1; @@ -46320,13 +46321,13 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["times"] = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(s.wasRunning___19481); + r0 = pxsim_numops_toBoolDecr(s.wasRunning___40204); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkAction(2, effects_ImageEffect_startScreenEffect_inline__P19494); + r0 = pxsim_pxtcore_mkAction(2, effects_ImageEffect_startScreenEffect_inline__P40217); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_2, 1, s.arg2); @@ -46338,12 +46339,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_startScreenEffect__P2898.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} +effects_ImageEffect_startScreenEffect__P23621.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} -function effects_ImageEffect_startScreenEffect__P2898_mk(s) { +function effects_ImageEffect_startScreenEffect__P23621_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_startScreenEffect__P2898, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_startScreenEffect__P23621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46355,7 +46356,7 @@ function effects_ImageEffect_startScreenEffect__P2898_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - wasRunning___19481: undefined, + wasRunning___40204: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -46365,7 +46366,7 @@ function effects_ImageEffect_startScreenEffect__P2898_mk(s) { -function effects_ImageEffect_startScreenEffect_inline__P19494(s) { +function effects_ImageEffect_startScreenEffect_inline__P40217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46382,9 +46383,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = effects_ImageEffect_change__P2897_mk(s); + s.tmp_2 = effects_ImageEffect_change__P23620_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.tmp_3 = scene_backgroundImage__P2537_mk(s); + s.tmp_3 = scene_backgroundImage__P23260_mk(s); s.callLocIdx = 1455; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; @@ -46401,7 +46402,7 @@ switch (step) { case 3: // jmp value (already in r0) s.tmp_0 = r0; - s.tmp_1 = pause__P411_mk(s); + s.tmp_1 = pause__P21134_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1457; s.pc = 7; return s.tmp_1; case 7: @@ -46419,12 +46420,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_startScreenEffect_inline__P19494.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} +effects_ImageEffect_startScreenEffect_inline__P40217.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} -function effects_ImageEffect_startScreenEffect_inline__P19494_mk(s) { +function effects_ImageEffect_startScreenEffect_inline__P40217_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_startScreenEffect_inline__P19494, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_startScreenEffect_inline__P40217, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46436,7 +46437,7 @@ function effects_ImageEffect_startScreenEffect_inline__P19494_mk(s) { -function scene_backgroundImage__P2537(s) { +function scene_backgroundImage__P23260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46446,14 +46447,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___19513 = undefined; - s.tmp_0 = game_currentScene__P2609_mk(s); + s.scene___40236 = undefined; + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 970; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___19513 = (r0); - s.tmp_0 = scene_Background_image__P2354_mk(s); - r0 = s.scene___19513.fields["background"]; + s.scene___40236 = (r0); + s.tmp_0 = scene_Background_image__P23077_mk(s); + r0 = s.scene___40236.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 971; s.pc = 2; return s.tmp_0; case 2: @@ -46461,22 +46462,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_backgroundImage__P2537.info = {"start":2273,"length":130,"line":90,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} +scene_backgroundImage__P23260.info = {"start":2273,"length":130,"line":90,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} -function scene_backgroundImage__P2537_mk(s) { +function scene_backgroundImage__P23260_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_backgroundImage__P2537, depth: s.depth + 1, + parent: s, fn: scene_backgroundImage__P23260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___19513: undefined, + scene___40236: undefined, } } -function scene_Background_hasBackgroundImage__P2356(s) { +function scene_Background_hasBackgroundImage__P23079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46491,7 +46492,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2348_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C23071_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -46504,12 +46505,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_hasBackgroundImage__P2356.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} +scene_Background_hasBackgroundImage__P23079.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} -function scene_Background_hasBackgroundImage__P2356_mk(s) { +function scene_Background_hasBackgroundImage__P23079_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_hasBackgroundImage__P2356, depth: s.depth + 1, + parent: s, fn: scene_Background_hasBackgroundImage__P23079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46522,7 +46523,7 @@ function scene_Background_hasBackgroundImage__P2356_mk(s) { -function music_Melody_toString__P1619(s) { +function music_Melody_toString__P22342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46537,17 +46538,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1610_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C22333_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P1619.info = {"start":10021,"length":53,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P22342.info = {"start":10021,"length":53,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P1619_mk(s) { +function music_Melody_toString__P22342_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P1619, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P22342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -46556,7 +46557,7 @@ function music_Melody_toString__P1619_mk(s) { -function info_PlayerInfo_id__P2323(s) { +function info_PlayerInfo_id__P23046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46571,17 +46572,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2309_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C23032_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; return leave(s, r0) default: oops() } } } -info_PlayerInfo_id__P2323.info = {"start":17450,"length":57,"line":572,"column":8,"endLine":574,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} +info_PlayerInfo_id__P23046.info = {"start":17450,"length":57,"line":572,"column":8,"endLine":574,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} -function info_PlayerInfo_id__P2323_mk(s) { +function info_PlayerInfo_id__P23046_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_id__P2323, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_id__P23046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -46590,7 +46591,7 @@ function info_PlayerInfo_id__P2323_mk(s) { -function scene_Scene_data__P2519(s) { +function scene_Scene_data__P23242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46605,18 +46606,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2496_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C23219_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P2519.info = {"start":6655,"length":53,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P2519.isGetter = true; +scene_Scene_data__P23242.info = {"start":6655,"length":53,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P23242.isGetter = true; -function scene_Scene_data__P2519_mk(s) { +function scene_Scene_data__P23242_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P2519, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P23242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -46625,7 +46626,7 @@ function scene_Scene_data__P2519_mk(s) { -function Sprite_toString__P2169(s) { +function Sprite_toString__P22892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46640,7 +46641,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -46658,7 +46659,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P2101_mk(s); + s.tmp_14 = Sprite_x__P22824_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 441; s.pc = 2; return s.tmp_14; case 2: @@ -46677,7 +46678,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P2103_mk(s); + s.tmp_17 = Sprite_y__P22826_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 442; s.pc = 4; return s.tmp_17; case 4: @@ -46696,7 +46697,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P2105_mk(s); + s.tmp_20 = Sprite_vx__P22828_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 443; s.pc = 6; return s.tmp_20; case 6: @@ -46715,7 +46716,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P2107_mk(s); + s.tmp_23 = Sprite_vy__P22830_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 444; s.pc = 8; return s.tmp_23; case 8: @@ -46736,12 +46737,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P2169.info = {"start":29970,"length":93,"line":924,"column":4,"endLine":926,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P22892.info = {"start":29970,"length":93,"line":924,"column":4,"endLine":926,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P2169_mk(s) { +function Sprite_toString__P22892_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P2169, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P22892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46774,7 +46775,7 @@ function Sprite_toString__P2169_mk(s) { -function Sprite___update__P2155(s) { +function Sprite___update__P22878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46784,8 +46785,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___19656 = undefined; - s.tm___19661 = undefined; + s.bounce___40379 = undefined; + s.tm___40384 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -46793,7 +46794,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -46815,7 +46816,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__P2167_mk(s); + s.tmp_0 = Sprite__destroyCore__P22890_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 378; s.pc = 33; return s.tmp_0; case 33: @@ -46833,7 +46834,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P2153_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P22876_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 379; s.pc = 34; return s.tmp_2; @@ -46844,7 +46845,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P2166_mk(s); + s.tmp_4 = Sprite_destroy__P22889_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -46856,13 +46857,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___19656 = (r0); - s.tmp_0 = game_currentScene__P2609_mk(s); + s.bounce___40379 = (r0); + s.tmp_0 = game_currentScene__P23332_mk(s); s.callLocIdx = 381; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___19661 = (r0); + s.tm___40384 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -46872,13 +46873,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___19656; + s.tmp_2 = r0 = s.bounce___40379; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 10; continue; } r0 = s.tmp_2; { step = 11; continue; } case 10: - r0 = pxsim_numops_toBoolDecr(s.tm___19661); + r0 = pxsim_numops_toBoolDecr(s.tm___40384); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -46890,7 +46891,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P2138_mk(s); + s.tmp_8 = Sprite_left__P22861_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 382; s.pc = 37; return s.tmp_8; case 37: @@ -46902,18 +46903,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P2139_mk(s); + s.tmp_10 = Sprite_left__P22862_mk(s); s.tmp_10.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_10.arg1 = r0; s.callLocIdx = 385; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___19656); + r0 = pxsim_numops_toBoolDecr(s.bounce___40379); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P2106_mk(s); + s.tmp_0 = Sprite_vx__P22829_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P2105_mk(s); + s.tmp_2 = Sprite_vx__P22828_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 386; s.pc = 40; return s.tmp_2; case 40: @@ -46928,7 +46929,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P2140_mk(s); + s.tmp_2 = Sprite_right__P22863_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 388; s.pc = 41; return s.tmp_2; case 41: @@ -46936,7 +46937,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -46944,22 +46945,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P2141_mk(s); + s.tmp_6 = Sprite_right__P22864_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 391; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___19656); + r0 = pxsim_numops_toBoolDecr(s.bounce___40379); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P2106_mk(s); + s.tmp_0 = Sprite_vx__P22829_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P2105_mk(s); + s.tmp_2 = Sprite_vx__P22828_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 392; s.pc = 44; return s.tmp_2; case 44: @@ -46975,7 +46976,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P2142_mk(s); + s.tmp_2 = Sprite_top__P22865_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 394; s.pc = 45; return s.tmp_2; case 45: @@ -46987,18 +46988,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P2143_mk(s); + s.tmp_4 = Sprite_top__P22866_mk(s); s.tmp_4.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4.arg1 = r0; s.callLocIdx = 397; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___19656); + r0 = pxsim_numops_toBoolDecr(s.bounce___40379); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P2108_mk(s); + s.tmp_0 = Sprite_vy__P22831_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P2107_mk(s); + s.tmp_2 = Sprite_vy__P22830_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 398; s.pc = 48; return s.tmp_2; case 48: @@ -47013,7 +47014,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P2144_mk(s); + s.tmp_2 = Sprite_bottom__P22867_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 400; s.pc = 49; return s.tmp_2; case 49: @@ -47021,7 +47022,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -47029,22 +47030,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P2145_mk(s); + s.tmp_6 = Sprite_bottom__P22868_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 403; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___19656); + r0 = pxsim_numops_toBoolDecr(s.bounce___40379); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P2108_mk(s); + s.tmp_0 = Sprite_vy__P22831_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P2107_mk(s); + s.tmp_2 = Sprite_vy__P22830_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 404; s.pc = 52; return s.tmp_2; case 52: @@ -47066,13 +47067,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C2028_v1_4_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C22751_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__C2028_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C22751_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.update; s.pc = 53; return s.tmp_1; case 53: @@ -47083,12 +47084,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P2155.info = {"start":18461,"length":1363,"line":609,"column":4,"endLine":645,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P22878.info = {"start":18461,"length":1363,"line":609,"column":4,"endLine":645,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P2155_mk(s) { +function Sprite___update__P22878_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P2155, depth: s.depth + 1, + parent: s, fn: Sprite___update__P22878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47101,8 +47102,8 @@ function Sprite___update__P2155_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___19656: undefined, - tm___19661: undefined, + bounce___40379: undefined, + tm___40384: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -47112,7 +47113,7 @@ function Sprite___update__P2155_mk(s) { -function Sprite_isOutOfScreen__P2153(s) { +function Sprite_isOutOfScreen__P22876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47122,15 +47123,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___19756 = undefined; - s.oy___19764 = undefined; + s.ox___40479 = undefined; + s.oy___40487 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -47144,7 +47145,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___19756 = (s.tmp_2); + s.ox___40479 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -47158,14 +47159,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___19764 = (s.tmp_2); - s.tmp_3 = Sprite_right__P2140_mk(s); + s.oy___40487 = (s.tmp_2); + s.tmp_3 = Sprite_right__P22863_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 347; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___19756); + r0 = (s.tmp_2 - s.ox___40479); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -47174,13 +47175,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P2144_mk(s); + s.tmp_6 = Sprite_bottom__P22867_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 348; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___19764); + r0 = (s.tmp_5 - s.oy___40487); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -47191,15 +47192,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P2138_mk(s); + s.tmp_10 = Sprite_left__P22861_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 349; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___19756); + r0 = (s.tmp_9 - s.ox___40479); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -47210,15 +47211,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P2142_mk(s); + s.tmp_15 = Sprite_top__P22865_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 350; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___19764); + r0 = (s.tmp_14 - s.oy___40487); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -47228,12 +47229,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P2153.info = {"start":16156,"length":358,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P22876.info = {"start":16156,"length":358,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P2153_mk(s) { +function Sprite_isOutOfScreen__P22876_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P2153, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P22876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47253,8 +47254,8 @@ function Sprite_isOutOfScreen__P2153_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___19756: undefined, - oy___19764: undefined, + ox___40479: undefined, + oy___40487: undefined, arg0: undefined, arg1: undefined, } } @@ -47263,7 +47264,7 @@ function Sprite_isOutOfScreen__P2153_mk(s) { -function Sprite_bottom__P2145(s) { +function Sprite_bottom__P22868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47279,8 +47280,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2143_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P22866_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -47296,12 +47297,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P2145.info = {"start":10530,"length":73,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P22868.info = {"start":10530,"length":73,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P2145_mk(s) { +function Sprite_bottom__P22868_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P2145, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P22868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47315,7 +47316,7 @@ function Sprite_bottom__P2145_mk(s) { -function Sprite_right__P2141(s) { +function Sprite_right__P22864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47331,8 +47332,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2139_mk(s); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P22862_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -47348,12 +47349,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P2141.info = {"start":9723,"length":71,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P22864.info = {"start":9723,"length":71,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P2141_mk(s) { +function Sprite_right__P22864_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P2141, depth: s.depth + 1, + parent: s, fn: Sprite_right__P22864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47367,7 +47368,7 @@ function Sprite_right__P2141_mk(s) { -function sprites_BaseSpriteSayRenderer_update__P2031(s) { +function sprites_BaseSpriteSayRenderer_update__P22754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47385,17 +47386,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2028_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C22751_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_update__P2031.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__P22754.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__P2031_mk(s) { +function sprites_BaseSpriteSayRenderer_update__P22754_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_update__P2031, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_update__P22754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47407,7 +47408,7 @@ function sprites_BaseSpriteSayRenderer_update__P2031_mk(s) { -function Sprite_width__P2136(s) { +function Sprite_width__P22859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47422,20 +47423,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_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() } } } -Sprite_width__P2136.info = {"start":8789,"length":52,"line":315,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P2136.isGetter = true; +Sprite_width__P22859.info = {"start":8789,"length":52,"line":315,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P22859.isGetter = true; -function Sprite_width__P2136_mk(s) { +function Sprite_width__P22859_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P2136, depth: s.depth + 1, + parent: s, fn: Sprite_width__P22859, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47445,7 +47446,7 @@ function Sprite_width__P2136_mk(s) { -function Sprite_data__P2118(s) { +function Sprite_data__P22841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47461,18 +47462,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P2118.info = {"start":4575,"length":56,"line":171,"column":4,"endLine":173,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P22841.info = {"start":4575,"length":56,"line":171,"column":4,"endLine":173,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P2118_mk(s) { +function Sprite_data__P22841_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P2118, depth: s.depth + 1, + parent: s, fn: Sprite_data__P22841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47482,7 +47483,7 @@ function Sprite_data__P2118_mk(s) { -function Sprite_data__P2117(s) { +function Sprite_data__P22840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47497,7 +47498,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -47516,13 +47517,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P2117.info = {"start":4477,"length":92,"line":166,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P2117.isGetter = true; +Sprite_data__P22840.info = {"start":4477,"length":92,"line":166,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P22840.isGetter = true; -function Sprite_data__P2117_mk(s) { +function Sprite_data__P22840_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P2117, depth: s.depth + 1, + parent: s, fn: Sprite_data__P22840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47536,7 +47537,7 @@ function Sprite_data__P2117_mk(s) { -function sprites_BaseSprite___update__P1894(s) { +function sprites_BaseSprite___update__P22617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47553,17 +47554,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1886_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C22609_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P1894.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__P22617.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__P1894_mk(s) { +function sprites_BaseSprite___update__P22617_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P1894, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P22617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47574,7 +47575,7 @@ function sprites_BaseSprite___update__P1894_mk(s) { -function sprites_BaseSprite___draw__P1892(s) { +function sprites_BaseSprite___draw__P22615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47590,10 +47591,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1886_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C1886_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C22609_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C22609_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C1886_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C22609_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: @@ -47601,10 +47602,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C1886_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C22609_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C1886_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C22609_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: @@ -47615,12 +47616,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P1892.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__P22615.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__P1892_mk(s) { +function sprites_BaseSprite___draw__P22615_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P1892, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P22615, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47633,7 +47634,7 @@ function sprites_BaseSprite___draw__P1892_mk(s) { -function sprites_BaseSprite___drawCore__P1893(s) { +function sprites_BaseSprite___drawCore__P22616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47649,17 +47650,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1886_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C22609_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P1893.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__P22616.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__P1893_mk(s) { +function sprites_BaseSprite___drawCore__P22616_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P1893, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P22616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47669,7 +47670,7 @@ function sprites_BaseSprite___drawCore__P1893_mk(s) { -function sprites_BaseSprite___visible__P1889(s) { +function sprites_BaseSprite___visible__P22612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47684,17 +47685,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1886_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C22609_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P1889.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__P22612.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__P1889_mk(s) { +function sprites_BaseSprite___visible__P22612_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P1889, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P22612, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47703,7 +47704,7 @@ function sprites_BaseSprite___visible__P1889_mk(s) { -function controller_AnyButton_isPressed__P4104(s) { +function controller_AnyButton_isPressed__P24827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47713,36 +47714,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___19825 = undefined; - s.b___19829 = undefined; - s.unnamed56___U2 = undefined; - s.unnamed57___U3 = undefined; + s.ctrl___40548 = undefined; + s.b___40552 = undefined; + s.unnamed136___U2 = undefined; + s.unnamed137___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C4099_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P1920_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C24822_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P22643_mk(s); s.callLocIdx = 231; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___19825 = (r0); - s.b___19829 = (undefined); - r0 = s.ctrl___19825.fields["buttons"]; - s.unnamed56___U2 = (r0); - s.unnamed57___U3 = (0); + s.ctrl___40548 = (r0); + s.b___40552 = (undefined); + r0 = s.ctrl___40548.fields["buttons"]; + s.unnamed136___U2 = (r0); + s.unnamed137___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed57___U3; - r0 = pxsim_Array__length(s.unnamed56___U2); + s.tmp_0 = r0 = s.unnamed137___U3; + r0 = pxsim_Array__length(s.unnamed136___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed56___U2, s.unnamed57___U3); - s.b___19829 = (r0); - s.tmp_3 = controller_Button__C1971_v0_1_mk(s); - s.tmp_3.arg0 = s.b___19829; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C1971_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed136___U2, s.unnamed137___U3); + s.b___40552 = (r0); + s.tmp_3 = controller_Button__C22694_v0_1_mk(s); + s.tmp_3.arg0 = s.b___40552; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C22694_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: @@ -47754,31 +47755,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed57___U3 + 1); - s.unnamed57___U3 = (r0); + r0 = (s.unnamed137___U3 + 1); + s.unnamed137___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed56___U2 = (undefined); + s.unnamed136___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P4104.info = {"start":13715,"length":202,"line":416,"column":8,"endLine":423,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P24827.info = {"start":13715,"length":202,"line":416,"column":8,"endLine":423,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P4104_mk(s) { +function controller_AnyButton_isPressed__P24827_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P4104, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P24827, 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___19825: undefined, - b___19829: undefined, - unnamed56___U2: undefined, - unnamed57___U3: undefined, + ctrl___40548: undefined, + b___40552: undefined, + unnamed136___U2: undefined, + unnamed137___U3: undefined, arg0: undefined, } } @@ -47786,7 +47787,7 @@ function controller_AnyButton_isPressed__P4104_mk(s) { -function controller_Button_toString__P1976(s) { +function controller_Button_toString__P22699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47801,7 +47802,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C1971_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C22694_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -47841,12 +47842,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P1976.info = {"start":1357,"length":100,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} +controller_Button_toString__P22699.info = {"start":1357,"length":100,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} -function controller_Button_toString__P1976_mk(s) { +function controller_Button_toString__P22699_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P1976, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P22699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47862,7 +47863,7 @@ function controller_Button_toString__P1976_mk(s) { -function sprites_BaseSpriteSayRenderer_constructor__P2029(s) { +function sprites_BaseSpriteSayRenderer_constructor__P22752(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47880,7 +47881,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2028_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C22751_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["fgColor"] = (s.arg2); r0 = (s.arg0).fields["bgColor"] = (s.arg3); @@ -47888,12 +47889,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_constructor__P2029.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__P22752.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__P2029_mk(s) { +function sprites_BaseSpriteSayRenderer_constructor__P22752_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P2029, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P22752, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47905,7 +47906,7 @@ function sprites_BaseSpriteSayRenderer_constructor__P2029_mk(s) { -function effects_SceneAnchor_height__P4676(s) { +function effects_SceneAnchor_height__P25399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47920,18 +47921,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4672_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.height(globals.screen___1827); + if (!checkSubtype(r0, effects_SceneAnchor__C25395_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.height(globals.screen___22550); return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_height__P4676.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} -effects_SceneAnchor_height__P4676.isGetter = true; +effects_SceneAnchor_height__P25399.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} +effects_SceneAnchor_height__P25399.isGetter = true; -function effects_SceneAnchor_height__P4676_mk(s) { +function effects_SceneAnchor_height__P25399_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_height__P4676, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_height__P25399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47940,7 +47941,7 @@ function effects_SceneAnchor_height__P4676_mk(s) { -function effects_SceneAnchor_width__P4675(s) { +function effects_SceneAnchor_width__P25398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47955,18 +47956,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4672_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___1827); + if (!checkSubtype(r0, effects_SceneAnchor__C25395_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___22550); return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_width__P4675.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} -effects_SceneAnchor_width__P4675.isGetter = true; +effects_SceneAnchor_width__P25398.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} +effects_SceneAnchor_width__P25398.isGetter = true; -function effects_SceneAnchor_width__P4675_mk(s) { +function effects_SceneAnchor_width__P25398_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_width__P4675, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_width__P25398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47975,7 +47976,7 @@ function effects_SceneAnchor_width__P4675_mk(s) { -function effects_SceneAnchor_y__P4674(s) { +function effects_SceneAnchor_y__P25397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47990,12 +47991,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4672_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C25395_VT)) failedCast(r0); r0 = s.arg0.fields["camera"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1827); + r0 = pxsim_ImageMethods.height(globals.screen___22550); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; @@ -48003,13 +48004,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_y__P4674.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} -effects_SceneAnchor_y__P4674.isGetter = true; +effects_SceneAnchor_y__P25397.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} +effects_SceneAnchor_y__P25397.isGetter = true; -function effects_SceneAnchor_y__P4674_mk(s) { +function effects_SceneAnchor_y__P25397_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_y__P4674, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_y__P25397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48022,7 +48023,7 @@ function effects_SceneAnchor_y__P4674_mk(s) { -function effects_SceneAnchor_x__P4673(s) { +function effects_SceneAnchor_x__P25396(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48037,12 +48038,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4672_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C25395_VT)) failedCast(r0); r0 = s.arg0.fields["camera"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1827); + r0 = pxsim_ImageMethods.width(globals.screen___22550); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; @@ -48050,13 +48051,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_x__P4673.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} -effects_SceneAnchor_x__P4673.isGetter = true; +effects_SceneAnchor_x__P25396.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} +effects_SceneAnchor_x__P25396.isGetter = true; -function effects_SceneAnchor_x__P4673_mk(s) { +function effects_SceneAnchor_x__P25396_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_x__P4673, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_x__P25396, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48069,7 +48070,7 @@ function effects_SceneAnchor_x__P4673_mk(s) { -function sprites_StaticObstacle_width__P2235(s) { +function sprites_StaticObstacle_width__P22958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48084,20 +48085,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C22948_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__P2235.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__P2235.isGetter = true; +sprites_StaticObstacle_width__P22958.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__P22958.isGetter = true; -function sprites_StaticObstacle_width__P2235_mk(s) { +function sprites_StaticObstacle_width__P22958_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P2235, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P22958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48107,7 +48108,7 @@ function sprites_StaticObstacle_width__P2235_mk(s) { -function sprites_StaticObstacle_height__P2234(s) { +function sprites_StaticObstacle_height__P22957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48122,20 +48123,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C22948_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__P2234.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__P2234.isGetter = true; +sprites_StaticObstacle_height__P22957.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__P22957.isGetter = true; -function sprites_StaticObstacle_height__P2234_mk(s) { +function sprites_StaticObstacle_height__P22957_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P2234, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P22957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48145,7 +48146,7 @@ function sprites_StaticObstacle_height__P2234_mk(s) { -function sprites_StaticObstacle_y__P2233(s) { +function sprites_StaticObstacle_y__P22956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48160,7 +48161,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C22948_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -48173,13 +48174,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P2233.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__P2233.isGetter = true; +sprites_StaticObstacle_y__P22956.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__P22956.isGetter = true; -function sprites_StaticObstacle_y__P2233_mk(s) { +function sprites_StaticObstacle_y__P22956_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P2233, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P22956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48192,7 +48193,7 @@ function sprites_StaticObstacle_y__P2233_mk(s) { -function sprites_StaticObstacle_x__P2232(s) { +function sprites_StaticObstacle_x__P22955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48207,7 +48208,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C22948_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -48220,13 +48221,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P2232.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__P2232.isGetter = true; +sprites_StaticObstacle_x__P22955.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__P22955.isGetter = true; -function sprites_StaticObstacle_x__P2232_mk(s) { +function sprites_StaticObstacle_x__P22955_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P2232, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P22955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48239,7 +48240,7 @@ function sprites_StaticObstacle_x__P2232_mk(s) { -function tiles_Location_y__P2377(s) { +function tiles_Location_y__P23100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48249,22 +48250,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___19897 = undefined; + s.scale___40620 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2372_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C23095_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___19897 = (r0); + s.scale___40620 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___19897); + r0 = (s.tmp_1 << s.scale___40620); s.tmp_0 = r0; - r0 = (s.scale___19897 - 1); + r0 = (s.scale___40620 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -48272,19 +48273,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P2377.info = {"start":836,"length":135,"line":38,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} -tiles_Location_y__P2377.isGetter = true; +tiles_Location_y__P23100.info = {"start":836,"length":135,"line":38,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P23100.isGetter = true; -function tiles_Location_y__P2377_mk(s) { +function tiles_Location_y__P23100_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P2377, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P23100, 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___19897: undefined, + scale___40620: undefined, arg0: undefined, } } @@ -48292,7 +48293,7 @@ function tiles_Location_y__P2377_mk(s) { -function tiles_Location_x__P2376(s) { +function tiles_Location_x__P23099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48302,22 +48303,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___19914 = undefined; + s.scale___40637 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2372_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C23095_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___19914 = (r0); + s.scale___40637 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___19914); + r0 = (s.tmp_1 << s.scale___40637); s.tmp_0 = r0; - r0 = (s.scale___19914 - 1); + r0 = (s.scale___40637 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -48325,19 +48326,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P2376.info = {"start":691,"length":135,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} -tiles_Location_x__P2376.isGetter = true; +tiles_Location_x__P23099.info = {"start":691,"length":135,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P23099.isGetter = true; -function tiles_Location_x__P2376_mk(s) { +function tiles_Location_x__P23099_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P2376, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P23099, 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___19914: undefined, + scale___40637: undefined, arg0: undefined, } } @@ -48345,7 +48346,7 @@ function tiles_Location_x__P2376_mk(s) { -function particles_FireFactory_drawParticle__P2828(s) { +function particles_FireFactory_drawParticle__P23551(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48363,8 +48364,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireFactory__C2825_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___1827; + if (!checkSubtype(r0, particles_FireFactory__C23548_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___22550; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -48380,12 +48381,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_FireFactory_drawParticle__P2828.info = {"start":9548,"length":179,"line":308,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} +particles_FireFactory_drawParticle__P23551.info = {"start":9548,"length":179,"line":308,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} -function particles_FireFactory_drawParticle__P2828_mk(s) { +function particles_FireFactory_drawParticle__P23551_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireFactory_drawParticle__P2828, depth: s.depth + 1, + parent: s, fn: particles_FireFactory_drawParticle__P23551, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48403,7 +48404,7 @@ function particles_FireFactory_drawParticle__P2828_mk(s) { -function scene_Renderable___drawCore__P2458(s) { +function scene_Renderable___drawCore__P23181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48419,10 +48420,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2455_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C23178_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___1827; + s.tmp_0.arg1 = globals.screen___22550; 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); @@ -48439,12 +48440,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P2458.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__P23181.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__P2458_mk(s) { +function scene_Renderable___drawCore__P23181_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P2458, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P23181, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48455,7 +48456,7 @@ function scene_Renderable___drawCore__P2458_mk(s) { -function scene_Renderable___visible__P2457(s) { +function scene_Renderable___visible__P23180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48470,7 +48471,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2455_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C23178_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -48487,12 +48488,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P2457.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__P23180.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__P2457_mk(s) { +function scene_Renderable___visible__P23180_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P2457, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P23180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48502,7 +48503,7 @@ function scene_Renderable___visible__P2457_mk(s) { -function scene_Camera_top__P2450(s) { +function scene_Camera_top__P23173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48517,18 +48518,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2437_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P2450.info = {"start":1638,"length":58,"line":58,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} -scene_Camera_top__P2450.isGetter = true; +scene_Camera_top__P23173.info = {"start":1638,"length":58,"line":58,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} +scene_Camera_top__P23173.isGetter = true; -function scene_Camera_top__P2450_mk(s) { +function scene_Camera_top__P23173_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P2450, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P23173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -48537,7 +48538,7 @@ function scene_Camera_top__P2450_mk(s) { -function scene_Camera_left__P2448(s) { +function scene_Camera_left__P23171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48552,18 +48553,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2437_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C23160_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P2448.info = {"start":1486,"length":59,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} -scene_Camera_left__P2448.isGetter = true; +scene_Camera_left__P23171.info = {"start":1486,"length":59,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} +scene_Camera_left__P23171.isGetter = true; -function scene_Camera_left__P2448_mk(s) { +function scene_Camera_left__P23171_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P2448, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P23171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -48572,7 +48573,7 @@ function scene_Camera_left__P2448_mk(s) { -function particles_ShapeFactory_drawParticle__P2821(s) { +function particles_ShapeFactory_drawParticle__P23544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48582,7 +48583,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___19960 = undefined; + s.pImage___40683 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -48591,8 +48592,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C2818_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P2669_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C23541_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P23392_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -48602,12 +48603,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___19960 = (r0); + s.pImage___40683 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___19960, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___1827; - s.tmp_1 = r0 = s.pImage___19960; + r0 = pxsim_ImageMethods.replace(s.pImage___40683, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___22550; + s.tmp_1 = r0 = s.pImage___40683; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -48629,12 +48630,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P2821.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__P23544.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__P2821_mk(s) { +function particles_ShapeFactory_drawParticle__P23544_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P2821, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P23544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48646,7 +48647,7 @@ function particles_ShapeFactory_drawParticle__P2821_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___19960: undefined, + pImage___40683: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -48657,7 +48658,7 @@ function particles_ShapeFactory_drawParticle__P2821_mk(s) { -function Math_FastRandom_pickRandom__P2669(s) { +function Math_FastRandom_pickRandom__P23392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48673,7 +48674,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2664_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C23387_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -48696,7 +48697,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P2668_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P23391_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -48712,12 +48713,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P2669.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__P23392.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__P2669_mk(s) { +function Math_FastRandom_pickRandom__P23392_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P2669, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P23392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48735,7 +48736,7 @@ function Math_FastRandom_pickRandom__P2669_mk(s) { -function particles_AreaFactory_drawParticle__P2809(s) { +function particles_AreaFactory_drawParticle__P23532(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48745,7 +48746,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___20006 = undefined; + s.col___40729 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -48754,7 +48755,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C2802_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C23525_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -48781,8 +48782,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___20006 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___1827; + s.col___40729 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___22550; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -48791,17 +48792,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___20006); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___40729); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P2809.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__P23532.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__P2809_mk(s) { +function particles_AreaFactory_drawParticle__P23532_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P2809, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P23532, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48809,7 +48810,7 @@ function particles_AreaFactory_drawParticle__P2809_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___20006: undefined, + col___40729: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -48820,7 +48821,7 @@ function particles_AreaFactory_drawParticle__P2809_mk(s) { -function particles_SprayFactory_drawParticle__P2799(s) { +function particles_SprayFactory_drawParticle__P23522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48838,8 +48839,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C2796_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___1827; + if (!checkSubtype(r0, particles_SprayFactory__C23519_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___22550; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -48853,12 +48854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P2799.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__P23522.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__P2799_mk(s) { +function particles_SprayFactory_drawParticle__P23522_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P2799, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P23522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48875,7 +48876,7 @@ function particles_SprayFactory_drawParticle__P2799_mk(s) { -function Sprite___drawCore__P2154(s) { +function Sprite___drawCore__P22877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48885,20 +48886,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___20068 = undefined; - s.oy___20076 = undefined; - s.l___20084 = undefined; - s.t___20090 = undefined; - s.font___20108 = undefined; - s.tx___20112 = undefined; - s.ty___20114 = undefined; + s.ox___40791 = undefined; + s.oy___40799 = undefined; + s.l___40807 = undefined; + s.t___40813 = undefined; + s.font___40831 = undefined; + s.tx___40835 = undefined; + s.ty___40837 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -48917,23 +48918,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 1; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C2028_v0_4_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C22751_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = globals.screen___1827; + s.tmp_6.arg1 = globals.screen___22550; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C2028_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C22751_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.draw; s.pc = 26; return s.tmp_6; case 26: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C2028_v2_1_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C22751_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2028_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C22751_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.destroy; s.pc = 27; return s.tmp_0; case 27: @@ -48943,13 +48944,13 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C2028_v0_4_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C22751_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.screen___1827; + s.tmp_0.arg1 = globals.screen___22550; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2028_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C22751_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw; s.pc = 28; return s.tmp_0; case 28: @@ -48957,7 +48958,7 @@ switch (step) { case 4: case 5: case 6: - s.tmp_1 = Sprite_isOutOfScreen__P2153_mk(s); + s.tmp_1 = Sprite_isOutOfScreen__P22876_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 351; s.pc = 29; return s.tmp_1; @@ -48982,7 +48983,7 @@ switch (step) { case 10: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___20068 = (s.tmp_4); + s.ox___40791 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -48996,39 +48997,39 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___20076 = (s.tmp_2); - s.tmp_2 = Sprite_left__P2138_mk(s); + s.oy___40799 = (s.tmp_2); + s.tmp_2 = Sprite_left__P22861_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 352; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___20068); + r0 = (s.tmp_1 - s.ox___40791); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___20084 = (r0); - s.tmp_2 = Sprite_top__P2142_mk(s); + s.l___40807 = (r0); + s.tmp_2 = Sprite_top__P22865_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 353; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___20076); + r0 = (s.tmp_1 - s.oy___40799); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___20090 = (r0); + s.t___40813 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1827, s.tmp_0, s.l___20084, s.t___20090); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___22550, s.tmp_0, s.l___40807, s.t___40813); 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 = 21; continue; } - s.font___20108 = (globals.font5___1775); - s.tx___20112 = (s.l___20084); - s.tmp_1 = r0 = s.t___20090; + s.font___40831 = (globals.font5___22498); + s.tx___40835 = (s.l___40807); + s.tmp_1 = r0 = s.t___40813; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -49036,12 +49037,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___20114 = (r0); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; + s.ty___40837 = (r0); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P2101_mk(s); + s.tmp_7 = Sprite_x__P22824_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 355; s.pc = 33; return s.tmp_7; case 33: @@ -49062,7 +49063,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P2103_mk(s); + s.tmp_11 = Sprite_y__P22826_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 356; s.pc = 35; return s.tmp_11; case 35: @@ -49081,17 +49082,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___20112; - s.tmp_0.arg3 = s.ty___20114; + s.tmp_0.arg2 = s.tx___40835; + s.tmp_0.arg3 = s.ty___40837; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___20108; + s.tmp_0.arg5 = s.font___40831; s.tmp_0.arg6 = undefined; s.callLocIdx = 357; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = r0 = s.tx___20112; + s.tmp_0 = r0 = s.tx___40835; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___20108; + s.tmp_2.arg0 = s.font___40831; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -49104,8 +49105,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___20112 = (r0); - s.tmp_1 = Sprite_vx__P2105_mk(s); + s.tx___40835 = (r0); + s.tmp_1 = Sprite_vx__P22828_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 359; s.pc = 38; return s.tmp_1; case 38: @@ -49116,7 +49117,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - s.tmp_2 = Sprite_vy__P2107_mk(s); + s.tmp_2 = Sprite_vy__P22830_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 360; s.pc = 39; return s.tmp_2; case 39: @@ -49126,9 +49127,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 15; continue; } - s.tmp_4 = r0 = s.ty___20114; + s.tmp_4 = r0 = s.ty___40837; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___20108; + s.tmp_7.arg0 = s.font___40831; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -49143,10 +49144,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___20114 = (r0); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_6 = Sprite_vx__P2105_mk(s); + s.ty___40837 = (r0); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_6 = Sprite_vx__P22828_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 362; s.pc = 42; return s.tmp_6; case 42: @@ -49167,7 +49168,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P2107_mk(s); + s.tmp_10 = Sprite_vy__P22830_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 363; s.pc = 44; return s.tmp_10; case 44: @@ -49186,17 +49187,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___20112; - s.tmp_0.arg3 = s.ty___20114; + s.tmp_0.arg2 = s.tx___40835; + s.tmp_0.arg3 = s.ty___40837; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___20108; + s.tmp_0.arg5 = s.font___40831; s.tmp_0.arg6 = undefined; s.callLocIdx = 364; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; case 15: case 16: - s.tmp_1 = Sprite_ax__P2109_mk(s); + s.tmp_1 = Sprite_ax__P22832_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 365; s.pc = 46; return s.tmp_1; case 46: @@ -49207,7 +49208,7 @@ switch (step) { r0 = s.tmp_0; { step = 18; continue; } case 17: - s.tmp_2 = Sprite_ay__P2111_mk(s); + s.tmp_2 = Sprite_ay__P22834_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 366; s.pc = 47; return s.tmp_2; case 47: @@ -49217,9 +49218,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 19; continue; } - s.tmp_4 = r0 = s.ty___20114; + s.tmp_4 = r0 = s.ty___40837; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___20108; + s.tmp_7.arg0 = s.font___40831; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -49234,10 +49235,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___20114 = (r0); - s.tmp_0 = helpers_imagePrint__P1785_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_6 = Sprite_ax__P2109_mk(s); + s.ty___40837 = (r0); + s.tmp_0 = helpers_imagePrint__P22508_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_6 = Sprite_ax__P22832_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 368; s.pc = 50; return s.tmp_6; case 50: @@ -49258,7 +49259,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P2111_mk(s); + s.tmp_10 = Sprite_ay__P22834_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 369; s.pc = 52; return s.tmp_10; case 52: @@ -49277,10 +49278,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___20112; - s.tmp_0.arg3 = s.ty___20114; + s.tmp_0.arg2 = s.tx___40835; + s.tmp_0.arg3 = s.ty___40837; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___20108; + s.tmp_0.arg5 = s.font___40831; s.tmp_0.arg6 = undefined; s.callLocIdx = 370; s.pc = 49; return s.tmp_0; case 49: @@ -49289,11 +49290,11 @@ switch (step) { case 20: case 21: case 22: - r0 = pxsim_numops_toBoolDecr(globals.debug___2605); + r0 = pxsim_numops_toBoolDecr(globals.debug___23328); if (!r0) { step = 23; continue; } - s.tmp_0 = helpers_imageDrawRect__P1756_mk(s); - s.tmp_0.arg0 = globals.screen___1827; - s.tmp_3 = game_Hitbox_left__P1997_mk(s); + s.tmp_0 = helpers_imageDrawRect__P22479_mk(s); + s.tmp_0.arg0 = globals.screen___22550; + s.tmp_3 = game_Hitbox_left__P22720_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 371; s.pc = 55; return s.tmp_3; @@ -49304,9 +49305,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___20068); + r0 = (s.tmp_1 - s.ox___40791); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P1998_mk(s); + s.tmp_7 = game_Hitbox_top__P22721_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 373; s.pc = 56; return s.tmp_7; @@ -49317,7 +49318,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___20076); + r0 = (s.tmp_5 - s.oy___40799); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -49344,12 +49345,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P2154.info = {"start":16520,"length":1935,"line":553,"column":4,"endLine":607,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P22877.info = {"start":16520,"length":1935,"line":553,"column":4,"endLine":607,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P2154_mk(s) { +function Sprite___drawCore__P22877_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P2154, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P22877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49364,13 +49365,13 @@ function Sprite___drawCore__P2154_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___20068: undefined, - oy___20076: undefined, - l___20084: undefined, - t___20090: undefined, - font___20108: undefined, - tx___20112: undefined, - ty___20114: undefined, + ox___40791: undefined, + oy___40799: undefined, + l___40807: undefined, + t___40813: undefined, + font___40831: undefined, + tx___40835: undefined, + ty___40837: undefined, arg0: undefined, arg1: undefined, } } @@ -49379,7 +49380,7 @@ function Sprite___drawCore__P2154_mk(s) { -function sprites_BaseSpriteSayRenderer_destroy__P2032(s) { +function sprites_BaseSpriteSayRenderer_destroy__P22755(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49394,17 +49395,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2028_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C22751_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_destroy__P2032.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__P22755.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__P2032_mk(s) { +function sprites_BaseSpriteSayRenderer_destroy__P22755_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P2032, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P22755, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -49413,7 +49414,7 @@ function sprites_BaseSpriteSayRenderer_destroy__P2032_mk(s) { -function sprites_BaseSpriteSayRenderer_draw__P2030(s) { +function sprites_BaseSpriteSayRenderer_draw__P22753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49431,17 +49432,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2028_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C22751_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_draw__P2030.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__P22753.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__P2030_mk(s) { +function sprites_BaseSpriteSayRenderer_draw__P22753_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P2030, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P22753, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -49453,7 +49454,7 @@ function sprites_BaseSpriteSayRenderer_draw__P2030_mk(s) { -function Sprite___visible__P2135(s) { +function Sprite___visible__P22858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49468,7 +49469,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2092_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C22815_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -49479,12 +49480,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P2135.info = {"start":8624,"length":72,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P22858.info = {"start":8624,"length":72,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P2135_mk(s) { +function Sprite___visible__P22858_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P2135, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P22858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49495,7 +49496,7 @@ function Sprite___visible__P2135_mk(s) { -function PhysicsEngine__C2238_v2_4_mk(s) { +function PhysicsEngine__C22961_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -49681,7 +49682,7 @@ function if_startScreenEffect_1_mk(s) { } } -function game_GameOverDialog__C2593_v0_1_mk(s) { +function game_GameOverDialog__C23316_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -49725,7 +49726,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C2792_v0_2_mk(s) { +function particles_ParticleFactory__C23515_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -49740,7 +49741,7 @@ function particles_ParticleFactory__C2792_v0_2_mk(s) { } } -function particles_ParticleSource__C2756_v4_3_mk(s) { +function particles_ParticleSource__C23479_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -49799,7 +49800,7 @@ function if_id_2_mk(s) { } } -function PhysicsEngine__C2238_v4_2_mk(s) { +function PhysicsEngine__C22961_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -49830,7 +49831,7 @@ function if___update_3_mk(s) { } } -function PhysicsEngine__C2238_v3_1_mk(s) { +function PhysicsEngine__C22961_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -49887,7 +49888,7 @@ function if_id_1_mk(s) { } } -function controller_Button__C1971_v0_1_mk(s) { +function controller_Button__C22694_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -49943,7 +49944,7 @@ function if_vy_1_mk(s) { } } -function game_GameOverDialog__C2593_v2_1_mk(s) { +function game_GameOverDialog__C23316_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50003,7 +50004,7 @@ function if_lifeZeroHandler_1_mk(s) { } } -function game_Dialog__C2571_v1_2_mk(s) { +function game_Dialog__C23294_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50018,7 +50019,7 @@ function game_Dialog__C2571_v1_2_mk(s) { } } -function game_BaseDialog__C2554_v0_1_mk(s) { +function game_BaseDialog__C23277_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50032,7 +50033,7 @@ function game_BaseDialog__C2554_v0_1_mk(s) { } } -function game_BaseDialog__C2554_v2_1_mk(s) { +function game_BaseDialog__C23277_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50063,7 +50064,7 @@ function lambda_4_mk(s) { } } -function PhysicsEngine__C2238_v0_2_mk(s) { +function PhysicsEngine__C22961_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50125,7 +50126,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C2238_v1_2_mk(s) { +function PhysicsEngine__C22961_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50423,7 +50424,7 @@ function if_top_1_mk(s) { } } -function particles_ParticleFactory__C2792_v1_4_mk(s) { +function particles_ParticleFactory__C23515_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50454,7 +50455,7 @@ function if_height_1_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2028_v1_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C22751_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50471,7 +50472,7 @@ function sprites_BaseSpriteSayRenderer__C2028_v1_4_mk(s) { } } -function sprites_BaseSprite__C1886_v0_1_mk(s) { +function sprites_BaseSprite__C22609_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50485,7 +50486,7 @@ function sprites_BaseSprite__C1886_v0_1_mk(s) { } } -function sprites_BaseSprite__C1886_v2_2_mk(s) { +function sprites_BaseSprite__C22609_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50514,7 +50515,7 @@ function if_shouldBeVisible_1_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2028_v0_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C22751_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50531,7 +50532,7 @@ function sprites_BaseSpriteSayRenderer__C2028_v0_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2028_v2_1_mk(s) { +function sprites_BaseSpriteSayRenderer__C22751_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -50586,14 +50587,14 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Button__C1971_VT = mkVTable({ +const controller_Button__C22694_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P1980, + "isPressed": controller_Button_isPressed__P22703, }, iface: { "_owner": null, @@ -50610,26 +50611,26 @@ const controller_Button__C1971_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P1976, - "raiseButtonUp": controller_Button_raiseButtonUp__P4101, - "raiseButtonDown": controller_Button_raiseButtonDown__P4102, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4103, - "onEvent": controller_Button_onEvent__P1978, - "isPressed": controller_Button_isPressed__P1980, - "pressureLevel": controller_Button_pressureLevel__P1981, - "setPressed": controller_Button_setPressed__P1982, - "__update": controller_Button___update__P1983, + "toString": controller_Button_toString__P22699, + "raiseButtonUp": controller_Button_raiseButtonUp__P24824, + "raiseButtonDown": controller_Button_raiseButtonDown__P24825, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P24826, + "onEvent": controller_Button_onEvent__P22701, + "isPressed": controller_Button_isPressed__P22703, + "pressureLevel": controller_Button_pressureLevel__P22704, + "setPressed": controller_Button_setPressed__P22705, + "__update": controller_Button___update__P22706, }, - toStringMethod: controller_Button_toString__P1976, + toStringMethod: controller_Button_toString__P22699, }); -const controller_AnyButton__C4099_VT = mkVTable({ +const controller_AnyButton__C24822_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P4104, + "isPressed": controller_AnyButton_isPressed__P24827, }, iface: { "_owner": null, @@ -50646,18 +50647,18 @@ const controller_AnyButton__C4099_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P4104, - "toString": controller_Button_toString__P1976, - "raiseButtonUp": controller_Button_raiseButtonUp__P4101, - "raiseButtonDown": controller_Button_raiseButtonDown__P4102, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4103, - "onEvent": controller_Button_onEvent__P1978, - "pressureLevel": controller_Button_pressureLevel__P1981, - "setPressed": controller_Button_setPressed__P1982, - "__update": controller_Button___update__P1983, + "isPressed": controller_AnyButton_isPressed__P24827, + "toString": controller_Button_toString__P22699, + "raiseButtonUp": controller_Button_raiseButtonUp__P24824, + "raiseButtonDown": controller_Button_raiseButtonDown__P24825, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P24826, + "onEvent": controller_Button_onEvent__P22701, + "pressureLevel": controller_Button_pressureLevel__P22704, + "setPressed": controller_Button_setPressed__P22705, + "__update": controller_Button___update__P22706, }, }); -const Math_FastRandom__C2664_VT = mkVTable({ +const Math_FastRandom__C23387_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -50670,49 +50671,49 @@ const Math_FastRandom__C2664_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P2667, - "randomRange": Math_FastRandom_randomRange__P2668, - "pickRandom": Math_FastRandom_pickRandom__P2669, - "randomBool": Math_FastRandom_randomBool__P2670, - "percentChance": Math_FastRandom_percentChance__P2671, + "next": Math_FastRandom_next__P23390, + "randomRange": Math_FastRandom_randomRange__P23391, + "pickRandom": Math_FastRandom_pickRandom__P23392, + "randomBool": Math_FastRandom_randomBool__P23393, + "percentChance": Math_FastRandom_percentChance__P23394, }, }); -const sprites_BaseSprite__C1886_VT = mkVTable({ +const sprites_BaseSprite__C22609_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 19, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P1889, - "__draw": sprites_BaseSprite___draw__P1892, - "__drawCore": sprites_BaseSprite___drawCore__P1893, - "__update": sprites_BaseSprite___update__P1894, + "__visible": sprites_BaseSprite___visible__P22612, + "__draw": sprites_BaseSprite___draw__P22615, + "__drawCore": sprites_BaseSprite___drawCore__P22616, + "__update": sprites_BaseSprite___update__P22617, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P1889, - "z": sprites_BaseSprite_z__P1890, - "set/z": sprites_BaseSprite_z__P1891, - "__draw": sprites_BaseSprite___draw__P1892, - "__drawCore": sprites_BaseSprite___drawCore__P1893, - "__update": sprites_BaseSprite___update__P1894, + "__visible": sprites_BaseSprite___visible__P22612, + "z": sprites_BaseSprite_z__P22613, + "set/z": sprites_BaseSprite_z__P22614, + "__draw": sprites_BaseSprite___draw__P22615, + "__drawCore": sprites_BaseSprite___drawCore__P22616, + "__update": sprites_BaseSprite___update__P22617, }, }); -const Sprite__C2092_VT = mkVTable({ +const Sprite__C22815_VT = mkVTable({ name: "Sprite", numFields: 26, classNo: 20, lastSubtypeNo: 20, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P2135, - "__draw": sprites_BaseSprite___draw__P1892, - "__drawCore": Sprite___drawCore__P2154, - "__update": Sprite___update__P2155, + "__visible": Sprite___visible__P22858, + "__draw": sprites_BaseSprite___draw__P22615, + "__drawCore": Sprite___drawCore__P22877, + "__update": Sprite___update__P22878, }, iface: { "_z": null, @@ -50767,83 +50768,83 @@ const Sprite__C2092_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P2101, - "set/x": Sprite_x__P2102, - "y": Sprite_y__P2103, - "set/y": Sprite_y__P2104, - "vx": Sprite_vx__P2105, - "set/vx": Sprite_vx__P2106, - "vy": Sprite_vy__P2107, - "set/vy": Sprite_vy__P2108, - "ax": Sprite_ax__P2109, - "set/ax": Sprite_ax__P2110, - "ay": Sprite_ay__P2111, - "set/ay": Sprite_ay__P2112, - "fx": Sprite_fx__P2113, - "set/fx": Sprite_fx__P2114, - "fy": Sprite_fy__P2115, - "set/fy": Sprite_fy__P2116, - "data": Sprite_data__P2117, - "set/data": Sprite_data__P2118, - "image": Sprite_image__P2131, - "setImage": Sprite_setImage__P2132, - "setHitbox": Sprite_setHitbox__P2133, - "isStatic": Sprite_isStatic__P2134, - "__visible": Sprite___visible__P2135, - "width": Sprite_width__P2136, - "height": Sprite_height__P2137, - "left": Sprite_left__P2138, - "set/left": Sprite_left__P2139, - "right": Sprite_right__P2140, - "set/right": Sprite_right__P2141, - "top": Sprite_top__P2142, - "set/top": Sprite_top__P2143, - "bottom": Sprite_bottom__P2144, - "set/bottom": Sprite_bottom__P2145, - "kind": Sprite_kind__P2146, - "setKind": Sprite_setKind__P2147, - "setPosition": Sprite_setPosition__P2148, - "setVelocity": Sprite_setVelocity__P2149, - "isOutOfScreen": Sprite_isOutOfScreen__P2153, - "__drawCore": Sprite___drawCore__P2154, - "__update": Sprite___update__P2155, - "setStayInScreen": Sprite_setStayInScreen__P2156, - "setBounceOnWall": Sprite_setBounceOnWall__P2157, - "setFlag": Sprite_setFlag__P2158, - "overlapsWith": Sprite_overlapsWith__P2159, - "clearObstacles": Sprite_clearObstacles__P2163, - "registerObstacle": Sprite_registerObstacle__P2164, - "destroy": Sprite_destroy__P2166, - "_destroyCore": Sprite__destroyCore__P2167, - "toString": Sprite_toString__P2169, - "z": sprites_BaseSprite_z__P1890, - "set/z": sprites_BaseSprite_z__P1891, - "__draw": sprites_BaseSprite___draw__P1892, + "x": Sprite_x__P22824, + "set/x": Sprite_x__P22825, + "y": Sprite_y__P22826, + "set/y": Sprite_y__P22827, + "vx": Sprite_vx__P22828, + "set/vx": Sprite_vx__P22829, + "vy": Sprite_vy__P22830, + "set/vy": Sprite_vy__P22831, + "ax": Sprite_ax__P22832, + "set/ax": Sprite_ax__P22833, + "ay": Sprite_ay__P22834, + "set/ay": Sprite_ay__P22835, + "fx": Sprite_fx__P22836, + "set/fx": Sprite_fx__P22837, + "fy": Sprite_fy__P22838, + "set/fy": Sprite_fy__P22839, + "data": Sprite_data__P22840, + "set/data": Sprite_data__P22841, + "image": Sprite_image__P22854, + "setImage": Sprite_setImage__P22855, + "setHitbox": Sprite_setHitbox__P22856, + "isStatic": Sprite_isStatic__P22857, + "__visible": Sprite___visible__P22858, + "width": Sprite_width__P22859, + "height": Sprite_height__P22860, + "left": Sprite_left__P22861, + "set/left": Sprite_left__P22862, + "right": Sprite_right__P22863, + "set/right": Sprite_right__P22864, + "top": Sprite_top__P22865, + "set/top": Sprite_top__P22866, + "bottom": Sprite_bottom__P22867, + "set/bottom": Sprite_bottom__P22868, + "kind": Sprite_kind__P22869, + "setKind": Sprite_setKind__P22870, + "setPosition": Sprite_setPosition__P22871, + "setVelocity": Sprite_setVelocity__P22872, + "isOutOfScreen": Sprite_isOutOfScreen__P22876, + "__drawCore": Sprite___drawCore__P22877, + "__update": Sprite___update__P22878, + "setStayInScreen": Sprite_setStayInScreen__P22879, + "setBounceOnWall": Sprite_setBounceOnWall__P22880, + "setFlag": Sprite_setFlag__P22881, + "overlapsWith": Sprite_overlapsWith__P22882, + "clearObstacles": Sprite_clearObstacles__P22886, + "registerObstacle": Sprite_registerObstacle__P22887, + "destroy": Sprite_destroy__P22889, + "_destroyCore": Sprite__destroyCore__P22890, + "toString": Sprite_toString__P22892, + "z": sprites_BaseSprite_z__P22613, + "set/z": sprites_BaseSprite_z__P22614, + "__draw": sprites_BaseSprite___draw__P22615, }, - toStringMethod: Sprite_toString__P2169, + toStringMethod: Sprite_toString__P22892, }); -const PhysicsEngine__C2238_VT = mkVTable({ +const PhysicsEngine__C22961_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 24, lastSubtypeNo: 25, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P2240, - "removeSprite": PhysicsEngine_removeSprite__P2241, - "moveSprite": PhysicsEngine_moveSprite__P2242, - "draw": PhysicsEngine_draw__P2243, - "move": PhysicsEngine_move__P2244, + "addSprite": PhysicsEngine_addSprite__P22963, + "removeSprite": PhysicsEngine_removeSprite__P22964, + "moveSprite": PhysicsEngine_moveSprite__P22965, + "draw": PhysicsEngine_draw__P22966, + "move": PhysicsEngine_move__P22967, }, iface: { - "addSprite": PhysicsEngine_addSprite__P2240, - "removeSprite": PhysicsEngine_removeSprite__P2241, - "moveSprite": PhysicsEngine_moveSprite__P2242, - "draw": PhysicsEngine_draw__P2243, - "move": PhysicsEngine_move__P2244, + "addSprite": PhysicsEngine_addSprite__P22963, + "removeSprite": PhysicsEngine_removeSprite__P22964, + "moveSprite": PhysicsEngine_moveSprite__P22965, + "draw": PhysicsEngine_draw__P22966, + "move": PhysicsEngine_move__P22967, }, }); -const control_EventContext__C393_VT = mkVTable({ +const control_EventContext__C21116_VT = mkVTable({ name: "EventContext", numFields: 9, classNo: 26, @@ -50870,16 +50871,16 @@ const control_EventContext__C393_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P398, - "runCallbacks": control_EventContext_runCallbacks__P3937, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P3938, - "register": control_EventContext_register__P399, - "unregister": control_EventContext_unregister__P400, - "registerFrameHandler": control_EventContext_registerFrameHandler__P401, - "registerHandler": control_EventContext_registerHandler__P403, + "deltaTime": control_EventContext_deltaTime__P21121, + "runCallbacks": control_EventContext_runCallbacks__P24660, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P24661, + "register": control_EventContext_register__P21122, + "unregister": control_EventContext_unregister__P21123, + "registerFrameHandler": control_EventContext_registerFrameHandler__P21124, + "registerHandler": control_EventContext_registerHandler__P21126, }, }); -const scene_Scene__C2496_VT = mkVTable({ +const scene_Scene__C23219_VT = mkVTable({ name: "Scene", numFields: 23, classNo: 27, @@ -50934,15 +50935,15 @@ const scene_Scene__C2496_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P2518, - "data": scene_Scene_data__P2519, - "millis": scene_Scene_millis__P2520, - "addSprite": scene_Scene_addSprite__P2521, - "destroy": scene_Scene_destroy__P2522, - "render": scene_Scene_render__P2523, + "init": scene_Scene_init__P23241, + "data": scene_Scene_data__P23242, + "millis": scene_Scene_millis__P23243, + "addSprite": scene_Scene_addSprite__P23244, + "destroy": scene_Scene_destroy__P23245, + "render": scene_Scene_render__P23246, }, }); -const control_FrameCallback__C390_VT = mkVTable({ +const control_FrameCallback__C21113_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 28, @@ -50957,7 +50958,7 @@ const control_FrameCallback__C390_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C3911_VT = mkVTable({ +const control_PollEvent__C24634_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 29, @@ -50980,7 +50981,7 @@ const control_PollEvent__C3911_VT = mkVTable({ "set/once": null, }, }); -const control_EventHandler__C3932_VT = mkVTable({ +const control_EventHandler__C24655_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 30, @@ -50997,11 +50998,11 @@ const control_EventHandler__C3932_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P3933, - "unregister": control_EventHandler_unregister__P3934, + "register": control_EventHandler_register__P24656, + "unregister": control_EventHandler_unregister__P24657, }, }); -const info_PlayerInfo__C2309_VT = mkVTable({ +const info_PlayerInfo__C23032_VT = mkVTable({ name: "PlayerInfo", numFields: 12, classNo: 31, @@ -51034,24 +51035,24 @@ const info_PlayerInfo__C2309_VT = mkVTable({ "set/left": null, "up": null, "set/up": null, - "init": info_PlayerInfo_init__P4222, - "getState": info_PlayerInfo_getState__P2322, - "id": info_PlayerInfo_id__P2323, - "score": info_PlayerInfo_score__P2324, - "setScore": info_PlayerInfo_setScore__P2325, - "changeScoreBy": info_PlayerInfo_changeScoreBy__P2326, - "hasScore": info_PlayerInfo_hasScore__P2327, - "life": info_PlayerInfo_life__P2328, - "setLife": info_PlayerInfo_setLife__P2329, - "changeLifeBy": info_PlayerInfo_changeLifeBy__P2330, - "hasLife": info_PlayerInfo_hasLife__P2331, - "raiseLifeZero": info_PlayerInfo_raiseLifeZero__P2333, - "drawPlayer": info_PlayerInfo_drawPlayer__P2334, - "drawScore": info_PlayerInfo_drawScore__P2335, - "drawLives": info_PlayerInfo_drawLives__P2336, + "init": info_PlayerInfo_init__P24945, + "getState": info_PlayerInfo_getState__P23045, + "id": info_PlayerInfo_id__P23046, + "score": info_PlayerInfo_score__P23047, + "setScore": info_PlayerInfo_setScore__P23048, + "changeScoreBy": info_PlayerInfo_changeScoreBy__P23049, + "hasScore": info_PlayerInfo_hasScore__P23050, + "life": info_PlayerInfo_life__P23051, + "setLife": info_PlayerInfo_setLife__P23052, + "changeLifeBy": info_PlayerInfo_changeLifeBy__P23053, + "hasLife": info_PlayerInfo_hasLife__P23054, + "raiseLifeZero": info_PlayerInfo_raiseLifeZero__P23056, + "drawPlayer": info_PlayerInfo_drawPlayer__P23057, + "drawScore": info_PlayerInfo_drawScore__P23058, + "drawLives": info_PlayerInfo_drawLives__P23059, }, }); -const info_PlayerState__C2280_VT = mkVTable({ +const info_PlayerState__C23003_VT = mkVTable({ name: "PlayerState", numFields: 3, classNo: 32, @@ -51068,7 +51069,7 @@ const info_PlayerState__C2280_VT = mkVTable({ "set/lifeZeroHandler": null, }, }); -const info_InfoState__C4167_VT = mkVTable({ +const info_InfoState__C24890_VT = mkVTable({ name: "InfoState", numFields: 10, classNo: 33, @@ -51099,7 +51100,7 @@ const info_InfoState__C4167_VT = mkVTable({ "set/countdownEndHandler": null, }, }); -const music_Melody__C1610_VT = mkVTable({ +const music_Melody__C22333_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 34, @@ -51112,25 +51113,25 @@ const music_Melody__C1610_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "stop": music_Melody_stop__P1615, - "registerMelody": music_Melody_registerMelody__P3979, - "unregisterMelody": music_Melody_unregisterMelody__P3980, - "playCore": music_Melody_playCore__P3981, - "play": music_Melody_play__P1617, - "toString": music_Melody_toString__P1619, + "stop": music_Melody_stop__P22338, + "registerMelody": music_Melody_registerMelody__P24702, + "unregisterMelody": music_Melody_unregisterMelody__P24703, + "playCore": music_Melody_playCore__P24704, + "play": music_Melody_play__P22340, + "toString": music_Melody_toString__P22342, }, - toStringMethod: music_Melody_toString__P1619, + toStringMethod: music_Melody_toString__P22342, }); -const game_BaseDialog__C2554_VT = mkVTable({ +const game_BaseDialog__C23277_VT = mkVTable({ name: "BaseDialog", numFields: 11, classNo: 35, lastSubtypeNo: 37, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P2567, - "setText": game_BaseDialog_setText__P2568, - "drawTextCore": game_BaseDialog_drawTextCore__P2569, + "update": game_BaseDialog_update__P23290, + "setText": game_BaseDialog_setText__P23291, + "drawTextCore": game_BaseDialog_drawTextCore__P23292, }, iface: { "image": null, @@ -51155,31 +51156,31 @@ const game_BaseDialog__C2554_VT = mkVTable({ "set/font": null, "textColor": null, "set/textColor": null, - "update": game_BaseDialog_update__P2567, - "setText": game_BaseDialog_setText__P2568, - "drawTextCore": game_BaseDialog_drawTextCore__P2569, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2570, - "drawBorder": game_BaseDialog_drawBorder__P4262, - "fastFill": game_BaseDialog_fastFill__P4263, - "clearInterior": game_BaseDialog_clearInterior__P4264, - "drawPartial": game_BaseDialog_drawPartial__P4265, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4266, - "rowHeight": game_BaseDialog_rowHeight__P4267, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4268, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4269, - "setFont": game_BaseDialog_setFont__P4270, + "update": game_BaseDialog_update__P23290, + "setText": game_BaseDialog_setText__P23291, + "drawTextCore": game_BaseDialog_drawTextCore__P23292, + "drawCursorRow": game_BaseDialog_drawCursorRow__P23293, + "drawBorder": game_BaseDialog_drawBorder__P24985, + "fastFill": game_BaseDialog_fastFill__P24986, + "clearInterior": game_BaseDialog_clearInterior__P24987, + "drawPartial": game_BaseDialog_drawPartial__P24988, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P24989, + "rowHeight": game_BaseDialog_rowHeight__P24990, + "textAreaWidth": game_BaseDialog_textAreaWidth__P24991, + "textAreaHeight": game_BaseDialog_textAreaHeight__P24992, + "setFont": game_BaseDialog_setFont__P24993, }, }); -const game_GameOverDialog__C2593_VT = mkVTable({ +const game_GameOverDialog__C23316_VT = mkVTable({ name: "GameOverDialog", numFields: 16, classNo: 36, lastSubtypeNo: 36, maxBgInstances: null, methods: { - "update": game_GameOverDialog_update__P2596, - "setText": game_BaseDialog_setText__P2568, - "drawTextCore": game_GameOverDialog_drawTextCore__P2597, + "update": game_GameOverDialog_update__P23319, + "setText": game_BaseDialog_setText__P23291, + "drawTextCore": game_GameOverDialog_drawTextCore__P23320, }, iface: { "image": null, @@ -51214,23 +51215,23 @@ const game_GameOverDialog__C2593_VT = mkVTable({ "set/score": null, "highScore": null, "set/highScore": null, - "displayCursor": game_GameOverDialog_displayCursor__P2595, - "update": game_GameOverDialog_update__P2596, - "drawTextCore": game_GameOverDialog_drawTextCore__P2597, - "setText": game_BaseDialog_setText__P2568, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2570, - "drawBorder": game_BaseDialog_drawBorder__P4262, - "fastFill": game_BaseDialog_fastFill__P4263, - "clearInterior": game_BaseDialog_clearInterior__P4264, - "drawPartial": game_BaseDialog_drawPartial__P4265, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4266, - "rowHeight": game_BaseDialog_rowHeight__P4267, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4268, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4269, - "setFont": game_BaseDialog_setFont__P4270, + "displayCursor": game_GameOverDialog_displayCursor__P23318, + "update": game_GameOverDialog_update__P23319, + "drawTextCore": game_GameOverDialog_drawTextCore__P23320, + "setText": game_BaseDialog_setText__P23291, + "drawCursorRow": game_BaseDialog_drawCursorRow__P23293, + "drawBorder": game_BaseDialog_drawBorder__P24985, + "fastFill": game_BaseDialog_fastFill__P24986, + "clearInterior": game_BaseDialog_clearInterior__P24987, + "drawPartial": game_BaseDialog_drawPartial__P24988, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P24989, + "rowHeight": game_BaseDialog_rowHeight__P24990, + "textAreaWidth": game_BaseDialog_textAreaWidth__P24991, + "textAreaHeight": game_BaseDialog_textAreaHeight__P24992, + "setFont": game_BaseDialog_setFont__P24993, }, }); -const effects_ImageEffect__C2894_VT = mkVTable({ +const effects_ImageEffect__C23617_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 38, @@ -51247,12 +51248,12 @@ const effects_ImageEffect__C2894_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P2896, - "change": effects_ImageEffect_change__P2897, - "startScreenEffect": effects_ImageEffect_startScreenEffect__P2898, + "applyTo": effects_ImageEffect_applyTo__P23619, + "change": effects_ImageEffect_change__P23620, + "startScreenEffect": effects_ImageEffect_startScreenEffect__P23621, }, }); -const effects_ParticleEffect__C2867_VT = mkVTable({ +const effects_ParticleEffect__C23590_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 39, @@ -51267,11 +51268,11 @@ const effects_ParticleEffect__C2867_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P2869, - "destroy": effects_ParticleEffect_destroy__P2870, + "start": effects_ParticleEffect_start__P23592, + "destroy": effects_ParticleEffect_destroy__P23593, }, }); -const effects_ScreenEffect__C2871_VT = mkVTable({ +const effects_ScreenEffect__C23594_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 40, @@ -51290,36 +51291,36 @@ const effects_ScreenEffect__C2871_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "startScreenEffect": effects_ScreenEffect_startScreenEffect__P2873, - "endScreenEffect": effects_ScreenEffect_endScreenEffect__P2874, - "start": effects_ParticleEffect_start__P2869, - "destroy": effects_ParticleEffect_destroy__P2870, + "startScreenEffect": effects_ScreenEffect_startScreenEffect__P23596, + "endScreenEffect": effects_ScreenEffect_endScreenEffect__P23597, + "start": effects_ParticleEffect_start__P23592, + "destroy": effects_ParticleEffect_destroy__P23593, }, }); -const particles_ParticleFactory__C2792_VT = mkVTable({ +const particles_ParticleFactory__C23515_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 41, lastSubtypeNo: 46, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P2794, - "drawParticle": particles_ParticleFactory_drawParticle__P2795, + "createParticle": particles_ParticleFactory_createParticle__P23517, + "drawParticle": particles_ParticleFactory_drawParticle__P23518, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P2794, - "drawParticle": particles_ParticleFactory_drawParticle__P2795, + "createParticle": particles_ParticleFactory_createParticle__P23517, + "drawParticle": particles_ParticleFactory_drawParticle__P23518, }, }); -const particles_SprayFactory__C2796_VT = mkVTable({ +const particles_SprayFactory__C23519_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 42, lastSubtypeNo: 45, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P2798, - "drawParticle": particles_SprayFactory_drawParticle__P2799, + "createParticle": particles_SprayFactory_createParticle__P23521, + "drawParticle": particles_SprayFactory_drawParticle__P23522, }, iface: { "speed": null, @@ -51328,21 +51329,21 @@ const particles_SprayFactory__C2796_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P2798, - "drawParticle": particles_SprayFactory_drawParticle__P2799, - "setSpeed": particles_SprayFactory_setSpeed__P2800, - "setDirection": particles_SprayFactory_setDirection__P2801, + "createParticle": particles_SprayFactory_createParticle__P23521, + "drawParticle": particles_SprayFactory_drawParticle__P23522, + "setSpeed": particles_SprayFactory_setSpeed__P23523, + "setDirection": particles_SprayFactory_setDirection__P23524, }, }); -const particles_AreaFactory__C2802_VT = mkVTable({ +const particles_AreaFactory__C23525_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 43, lastSubtypeNo: 45, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P2808, - "drawParticle": particles_AreaFactory_drawParticle__P2809, + "createParticle": particles_AreaFactory_createParticle__P23531, + "drawParticle": particles_AreaFactory_drawParticle__P23532, }, iface: { "speed": null, @@ -51361,21 +51362,21 @@ const particles_AreaFactory__C2802_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P2808, - "drawParticle": particles_AreaFactory_drawParticle__P2809, - "setSpeed": particles_SprayFactory_setSpeed__P2800, - "setDirection": particles_SprayFactory_setDirection__P2801, + "createParticle": particles_AreaFactory_createParticle__P23531, + "drawParticle": particles_AreaFactory_drawParticle__P23532, + "setSpeed": particles_SprayFactory_setSpeed__P23523, + "setDirection": particles_SprayFactory_setDirection__P23524, }, }); -const particles_ShapeFactory__C2818_VT = mkVTable({ +const particles_ShapeFactory__C23541_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 44, lastSubtypeNo: 45, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P2822, - "drawParticle": particles_ShapeFactory_drawParticle__P2821, + "createParticle": particles_ShapeFactory_createParticle__P23545, + "drawParticle": particles_ShapeFactory_drawParticle__P23544, }, iface: { "speed": null, @@ -51400,22 +51401,22 @@ const particles_ShapeFactory__C2818_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P2820, - "drawParticle": particles_ShapeFactory_drawParticle__P2821, - "createParticle": particles_ShapeFactory_createParticle__P2822, - "setSpeed": particles_SprayFactory_setSpeed__P2800, - "setDirection": particles_SprayFactory_setDirection__P2801, + "addShape": particles_ShapeFactory_addShape__P23543, + "drawParticle": particles_ShapeFactory_drawParticle__P23544, + "createParticle": particles_ShapeFactory_createParticle__P23545, + "setSpeed": particles_SprayFactory_setSpeed__P23523, + "setDirection": particles_SprayFactory_setDirection__P23524, }, }); -const particles_ConfettiFactory__C2823_VT = mkVTable({ +const particles_ConfettiFactory__C23546_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 45, lastSubtypeNo: 45, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P2822, - "drawParticle": particles_ShapeFactory_drawParticle__P2821, + "createParticle": particles_ShapeFactory_createParticle__P23545, + "drawParticle": particles_ShapeFactory_drawParticle__P23544, }, iface: { "speed": null, @@ -51440,25 +51441,25 @@ const particles_ConfettiFactory__C2823_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P2820, - "drawParticle": particles_ShapeFactory_drawParticle__P2821, - "createParticle": particles_ShapeFactory_createParticle__P2822, - "setSpeed": particles_SprayFactory_setSpeed__P2800, - "setDirection": particles_SprayFactory_setDirection__P2801, + "addShape": particles_ShapeFactory_addShape__P23543, + "drawParticle": particles_ShapeFactory_drawParticle__P23544, + "createParticle": particles_ShapeFactory_createParticle__P23545, + "setSpeed": particles_SprayFactory_setSpeed__P23523, + "setDirection": particles_SprayFactory_setDirection__P23524, }, }); -const particles_ParticleSource__C2756_VT = mkVTable({ +const particles_ParticleSource__C23479_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 21, lastSubtypeNo: 22, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P1889, - "__draw": particles_ParticleSource___draw__P2762, - "__drawCore": sprites_BaseSprite___drawCore__P1893, - "__update": sprites_BaseSprite___update__P1894, - "updateParticle": particles_ParticleSource_updateParticle__P4629, + "__visible": sprites_BaseSprite___visible__P22612, + "__draw": particles_ParticleSource___draw__P23485, + "__drawCore": sprites_BaseSprite___drawCore__P22616, + "__update": sprites_BaseSprite___update__P22617, + "updateParticle": particles_ParticleSource_updateParticle__P25352, }, iface: { "_z": null, @@ -51487,28 +51488,28 @@ const particles_ParticleSource__C2756_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P2762, - "_update": particles_ParticleSource__update__P2763, - "_prune": particles_ParticleSource__prune__P2764, - "setAcceleration": particles_ParticleSource_setAcceleration__P2765, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P2767, - "enabled": particles_ParticleSource_enabled__P2768, - "set/enabled": particles_ParticleSource_enabled__P2769, - "destroy": particles_ParticleSource_destroy__P2770, - "clear": particles_ParticleSource_clear__P2771, - "setAnchor": particles_ParticleSource_setAnchor__P2772, - "setRate": particles_ParticleSource_setRate__P2773, - "setFactory": particles_ParticleSource_setFactory__P2775, - "updateParticle": particles_ParticleSource_updateParticle__P4629, - "drawParticle": particles_ParticleSource_drawParticle__P4630, - "__visible": sprites_BaseSprite___visible__P1889, - "z": sprites_BaseSprite_z__P1890, - "set/z": sprites_BaseSprite_z__P1891, - "__drawCore": sprites_BaseSprite___drawCore__P1893, - "__update": sprites_BaseSprite___update__P1894, + "__draw": particles_ParticleSource___draw__P23485, + "_update": particles_ParticleSource__update__P23486, + "_prune": particles_ParticleSource__prune__P23487, + "setAcceleration": particles_ParticleSource_setAcceleration__P23488, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P23490, + "enabled": particles_ParticleSource_enabled__P23491, + "set/enabled": particles_ParticleSource_enabled__P23492, + "destroy": particles_ParticleSource_destroy__P23493, + "clear": particles_ParticleSource_clear__P23494, + "setAnchor": particles_ParticleSource_setAnchor__P23495, + "setRate": particles_ParticleSource_setRate__P23496, + "setFactory": particles_ParticleSource_setFactory__P23498, + "updateParticle": particles_ParticleSource_updateParticle__P25352, + "drawParticle": particles_ParticleSource_drawParticle__P25353, + "__visible": sprites_BaseSprite___visible__P22612, + "z": sprites_BaseSprite_z__P22613, + "set/z": sprites_BaseSprite_z__P22614, + "__drawCore": sprites_BaseSprite___drawCore__P22616, + "__update": sprites_BaseSprite___update__P22617, }, }); -const particles_Particle__C2737_VT = mkVTable({ +const particles_Particle__C23460_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 47, @@ -51535,7 +51536,7 @@ const particles_Particle__C2737_VT = mkVTable({ "set/color": null, }, }); -const scene_Camera__C2437_VT = mkVTable({ +const scene_Camera__C23160_VT = mkVTable({ name: "Camera", numFields: 8, classNo: 48, @@ -51560,18 +51561,18 @@ const scene_Camera__C2437_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P2442, - "set/offsetX": scene_Camera_offsetX__P2443, - "offsetY": scene_Camera_offsetY__P2444, - "set/offsetY": scene_Camera_offsetY__P2445, - "x": scene_Camera_x__P2446, - "y": scene_Camera_y__P2447, - "left": scene_Camera_left__P2448, - "top": scene_Camera_top__P2450, - "update": scene_Camera_update__P2453, + "offsetX": scene_Camera_offsetX__P23165, + "set/offsetX": scene_Camera_offsetX__P23166, + "offsetY": scene_Camera_offsetY__P23167, + "set/offsetY": scene_Camera_offsetY__P23168, + "x": scene_Camera_x__P23169, + "y": scene_Camera_y__P23170, + "left": scene_Camera_left__P23171, + "top": scene_Camera_top__P23173, + "update": scene_Camera_update__P23176, }, }); -const scene_Background__C2348_VT = mkVTable({ +const scene_Background__C23071_VT = mkVTable({ name: "Background", numFields: 4, classNo: 49, @@ -51588,13 +51589,13 @@ const scene_Background__C2348_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P2354, - "set/image": scene_Background_image__P2355, - "hasBackgroundImage": scene_Background_hasBackgroundImage__P2356, - "draw": scene_Background_draw__P2357, + "image": scene_Background_image__P23077, + "set/image": scene_Background_image__P23078, + "hasBackgroundImage": scene_Background_hasBackgroundImage__P23079, + "draw": scene_Background_draw__P23080, }, }); -const scene_BackgroundLayer__C2358_VT = mkVTable({ +const scene_BackgroundLayer__C23081_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 50, @@ -51615,10 +51616,10 @@ const scene_BackgroundLayer__C2358_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P2366, + "draw": scene_BackgroundLayer_draw__P23089, }, }); -const tiles_TileMap__C2400_VT = mkVTable({ +const tiles_TileMap__C23123_VT = mkVTable({ name: "TileMap", numFields: 4, classNo: 51, @@ -51635,25 +51636,25 @@ const tiles_TileMap__C2400_VT = mkVTable({ "set/_map": null, "renderable": null, "set/renderable": null, - "scale": tiles_TileMap_scale__P2403, - "set/scale": tiles_TileMap_scale__P2404, - "data": tiles_TileMap_data__P4232, - "offsetX": tiles_TileMap_offsetX__P2405, - "offsetY": tiles_TileMap_offsetY__P2406, - "areaWidth": tiles_TileMap_areaWidth__P2407, - "areaHeight": tiles_TileMap_areaHeight__P2408, - "layer": tiles_TileMap_layer__P2409, - "enabled": tiles_TileMap_enabled__P2411, - "getTile": tiles_TileMap_getTile__P2413, - "getTileIndex": tiles_TileMap_getTileIndex__P2414, - "draw": tiles_TileMap_draw__P4234, - "isObstacle": tiles_TileMap_isObstacle__P2420, - "getObstacle": tiles_TileMap_getObstacle__P2421, - "isOnWall": tiles_TileMap_isOnWall__P2422, - "getTileImage": tiles_TileMap_getTileImage__P2423, + "scale": tiles_TileMap_scale__P23126, + "set/scale": tiles_TileMap_scale__P23127, + "data": tiles_TileMap_data__P24955, + "offsetX": tiles_TileMap_offsetX__P23128, + "offsetY": tiles_TileMap_offsetY__P23129, + "areaWidth": tiles_TileMap_areaWidth__P23130, + "areaHeight": tiles_TileMap_areaHeight__P23131, + "layer": tiles_TileMap_layer__P23132, + "enabled": tiles_TileMap_enabled__P23134, + "getTile": tiles_TileMap_getTile__P23136, + "getTileIndex": tiles_TileMap_getTileIndex__P23137, + "draw": tiles_TileMap_draw__P24957, + "isObstacle": tiles_TileMap_isObstacle__P23143, + "getObstacle": tiles_TileMap_getObstacle__P23144, + "isOnWall": tiles_TileMap_isOnWall__P23145, + "getTileImage": tiles_TileMap_getTileImage__P23146, }, }); -const tiles_TileMapData__C2387_VT = mkVTable({ +const tiles_TileMapData__C23110_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 52, @@ -51676,17 +51677,17 @@ const tiles_TileMapData__C2387_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P2389, - "height": tiles_TileMapData_height__P2390, - "scale": tiles_TileMapData_scale__P2391, - "set/scale": tiles_TileMapData_scale__P2392, - "getTile": tiles_TileMapData_getTile__P2393, - "getTileImage": tiles_TileMapData_getTileImage__P2396, - "isWall": tiles_TileMapData_isWall__P2398, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P2399, + "width": tiles_TileMapData_width__P23112, + "height": tiles_TileMapData_height__P23113, + "scale": tiles_TileMapData_scale__P23114, + "set/scale": tiles_TileMapData_scale__P23115, + "getTile": tiles_TileMapData_getTile__P23116, + "getTileImage": tiles_TileMapData_getTileImage__P23119, + "isWall": tiles_TileMapData_isWall__P23121, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P23122, }, }); -const controller_Controller__C1926_VT = mkVTable({ +const controller_Controller__C22649_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 53, @@ -51705,33 +51706,33 @@ const controller_Controller__C1926_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P1931, - "set/_controlledSprites": controller_Controller__controlledSprites__P1932, - "id": controller_Controller_id__P1933, - "left": controller_Controller_left__P1935, - "right": controller_Controller_right__P1936, - "up": controller_Controller_up__P1937, - "down": controller_Controller_down__P1938, - "moveSprite": controller_Controller_moveSprite__P1942, - "button": controller_Controller_button__P4098, - "connected": controller_Controller_connected__P1945, - "set/connected": controller_Controller_connected__P1946, - "__preUpdate": controller_Controller___preUpdate__P1950, - "__update": controller_Controller___update__P1951, + "_controlledSprites": controller_Controller__controlledSprites__P22654, + "set/_controlledSprites": controller_Controller__controlledSprites__P22655, + "id": controller_Controller_id__P22656, + "left": controller_Controller_left__P22658, + "right": controller_Controller_right__P22659, + "up": controller_Controller_up__P22660, + "down": controller_Controller_down__P22661, + "moveSprite": controller_Controller_moveSprite__P22665, + "button": controller_Controller_button__P24821, + "connected": controller_Controller_connected__P22668, + "set/connected": controller_Controller_connected__P22669, + "__preUpdate": controller_Controller___preUpdate__P22673, + "__update": controller_Controller___update__P22674, }, }); -const ArcadePhysicsEngine__C2254_VT = mkVTable({ +const ArcadePhysicsEngine__C22977_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 25, lastSubtypeNo: 25, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P2263, - "removeSprite": ArcadePhysicsEngine_removeSprite__P2264, - "moveSprite": ArcadePhysicsEngine_moveSprite__P2268, - "draw": ArcadePhysicsEngine_draw__P2265, - "move": ArcadePhysicsEngine_move__P2266, + "addSprite": ArcadePhysicsEngine_addSprite__P22986, + "removeSprite": ArcadePhysicsEngine_removeSprite__P22987, + "moveSprite": ArcadePhysicsEngine_moveSprite__P22991, + "draw": ArcadePhysicsEngine_draw__P22988, + "move": ArcadePhysicsEngine_move__P22989, }, iface: { "sprites": null, @@ -51746,26 +51747,26 @@ const ArcadePhysicsEngine__C2254_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P2256, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P2257, - "minStep": ArcadePhysicsEngine_minStep__P2258, - "set/minStep": ArcadePhysicsEngine_minStep__P2259, - "maxStep": ArcadePhysicsEngine_maxStep__P2260, - "set/maxStep": ArcadePhysicsEngine_maxStep__P2261, - "addSprite": ArcadePhysicsEngine_addSprite__P2263, - "removeSprite": ArcadePhysicsEngine_removeSprite__P2264, - "draw": ArcadePhysicsEngine_draw__P2265, - "move": ArcadePhysicsEngine_move__P2266, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P4161, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P4162, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P4163, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P4164, - "moveSprite": ArcadePhysicsEngine_moveSprite__P2268, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P4165, - "constrain": ArcadePhysicsEngine_constrain__P4166, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P22979, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P22980, + "minStep": ArcadePhysicsEngine_minStep__P22981, + "set/minStep": ArcadePhysicsEngine_minStep__P22982, + "maxStep": ArcadePhysicsEngine_maxStep__P22983, + "set/maxStep": ArcadePhysicsEngine_maxStep__P22984, + "addSprite": ArcadePhysicsEngine_addSprite__P22986, + "removeSprite": ArcadePhysicsEngine_removeSprite__P22987, + "draw": ArcadePhysicsEngine_draw__P22988, + "move": ArcadePhysicsEngine_move__P22989, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P24884, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P24885, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P24886, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P24887, + "moveSprite": ArcadePhysicsEngine_moveSprite__P22991, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P24888, + "constrain": ArcadePhysicsEngine_constrain__P24889, }, }); -const sprites_SpriteMap__C2173_VT = mkVTable({ +const sprites_SpriteMap__C22896_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 54, @@ -51784,20 +51785,20 @@ const sprites_SpriteMap__C2173_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P2175, - "overlaps": sprites_SpriteMap_overlaps__P2176, - "draw": sprites_SpriteMap_draw__P2177, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P2178, - "clear": sprites_SpriteMap_clear__P2179, - "key": sprites_SpriteMap_key__P4124, - "insertAtKey": sprites_SpriteMap_insertAtKey__P4125, - "insertAABB": sprites_SpriteMap_insertAABB__P2180, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P4126, - "toString": sprites_SpriteMap_toString__P2181, + "neighbors": sprites_SpriteMap_neighbors__P22898, + "overlaps": sprites_SpriteMap_overlaps__P22899, + "draw": sprites_SpriteMap_draw__P22900, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P22901, + "clear": sprites_SpriteMap_clear__P22902, + "key": sprites_SpriteMap_key__P24847, + "insertAtKey": sprites_SpriteMap_insertAtKey__P24848, + "insertAABB": sprites_SpriteMap_insertAABB__P22903, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P24849, + "toString": sprites_SpriteMap_toString__P22904, }, - toStringMethod: sprites_SpriteMap_toString__P2181, + toStringMethod: sprites_SpriteMap_toString__P22904, }); -const music_MelodyPlayer__C1620_VT = mkVTable({ +const music_MelodyPlayer__C22343_VT = mkVTable({ name: "MelodyPlayer", numFields: 2, classNo: 55, @@ -51810,22 +51811,22 @@ const music_MelodyPlayer__C1620_VT = mkVTable({ "set/melody": null, "onPlayFinished": null, "set/onPlayFinished": null, - "stop": music_MelodyPlayer_stop__P1624, - "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P3984, - "play": music_MelodyPlayer_play__P1625, + "stop": music_MelodyPlayer_stop__P22347, + "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P24707, + "play": music_MelodyPlayer_play__P22348, }, }); -const scene_Renderable__C2455_VT = mkVTable({ +const scene_Renderable__C23178_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 23, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P2457, - "__draw": sprites_BaseSprite___draw__P1892, - "__drawCore": scene_Renderable___drawCore__P2458, - "__update": sprites_BaseSprite___update__P1894, + "__visible": scene_Renderable___visible__P23180, + "__draw": sprites_BaseSprite___draw__P22615, + "__drawCore": scene_Renderable___drawCore__P23181, + "__update": sprites_BaseSprite___update__P22617, }, iface: { "_z": null, @@ -51836,24 +51837,24 @@ const scene_Renderable__C2455_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P2457, - "__drawCore": scene_Renderable___drawCore__P2458, - "z": sprites_BaseSprite_z__P1890, - "set/z": sprites_BaseSprite_z__P1891, - "__draw": sprites_BaseSprite___draw__P1892, - "__update": sprites_BaseSprite___update__P1894, + "__visible": scene_Renderable___visible__P23180, + "__drawCore": scene_Renderable___drawCore__P23181, + "z": sprites_BaseSprite_z__P22613, + "set/z": sprites_BaseSprite_z__P22614, + "__draw": sprites_BaseSprite___draw__P22615, + "__update": sprites_BaseSprite___update__P22617, }, }); -const game_Dialog__C2571_VT = mkVTable({ +const game_Dialog__C23294_VT = mkVTable({ name: "Dialog", numFields: 13, classNo: 37, lastSubtypeNo: 37, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P2567, - "setText": game_Dialog_setText__P2580, - "drawTextCore": game_Dialog_drawTextCore__P2581, + "update": game_BaseDialog_update__P23290, + "setText": game_Dialog_setText__P23303, + "drawTextCore": game_Dialog_drawTextCore__P23304, }, iface: { "image": null, @@ -51882,27 +51883,27 @@ const game_Dialog__C2571_VT = mkVTable({ "set/chunks": null, "chunkIndex": null, "set/chunkIndex": null, - "hasNext": game_Dialog_hasNext__P2575, - "hasPrev": game_Dialog_hasPrev__P2576, - "nextPage": game_Dialog_nextPage__P2577, - "prevPage": game_Dialog_prevPage__P2578, - "chunkText": game_Dialog_chunkText__P2579, - "setText": game_Dialog_setText__P2580, - "drawTextCore": game_Dialog_drawTextCore__P2581, - "update": game_BaseDialog_update__P2567, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2570, - "drawBorder": game_BaseDialog_drawBorder__P4262, - "fastFill": game_BaseDialog_fastFill__P4263, - "clearInterior": game_BaseDialog_clearInterior__P4264, - "drawPartial": game_BaseDialog_drawPartial__P4265, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4266, - "rowHeight": game_BaseDialog_rowHeight__P4267, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4268, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4269, - "setFont": game_BaseDialog_setFont__P4270, + "hasNext": game_Dialog_hasNext__P23298, + "hasPrev": game_Dialog_hasPrev__P23299, + "nextPage": game_Dialog_nextPage__P23300, + "prevPage": game_Dialog_prevPage__P23301, + "chunkText": game_Dialog_chunkText__P23302, + "setText": game_Dialog_setText__P23303, + "drawTextCore": game_Dialog_drawTextCore__P23304, + "update": game_BaseDialog_update__P23290, + "drawCursorRow": game_BaseDialog_drawCursorRow__P23293, + "drawBorder": game_BaseDialog_drawBorder__P24985, + "fastFill": game_BaseDialog_fastFill__P24986, + "clearInterior": game_BaseDialog_clearInterior__P24987, + "drawPartial": game_BaseDialog_drawPartial__P24988, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P24989, + "rowHeight": game_BaseDialog_rowHeight__P24990, + "textAreaWidth": game_BaseDialog_textAreaWidth__P24991, + "textAreaHeight": game_BaseDialog_textAreaHeight__P24992, + "setFont": game_BaseDialog_setFont__P24993, }, }); -const controller_ControlledSprite__C1922_VT = mkVTable({ +const controller_ControlledSprite__C22645_VT = mkVTable({ name: "ControlledSprite", numFields: 4, classNo: 56, @@ -51921,7 +51922,7 @@ const controller_ControlledSprite__C1922_VT = mkVTable({ "set/vy": null, }, }); -const sprites_SpriteSet__C2190_VT = mkVTable({ +const sprites_SpriteSet__C22913_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 57, @@ -51932,15 +51933,15 @@ const sprites_SpriteSet__C2190_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P2193, - "add": sprites_SpriteSet_add__P2195, - "remove": sprites_SpriteSet_remove__P2197, - "contains": sprites_SpriteSet_contains__P2198, - "toString": sprites_SpriteSet_toString__P2201, + "length": sprites_SpriteSet_length__P22916, + "add": sprites_SpriteSet_add__P22918, + "remove": sprites_SpriteSet_remove__P22920, + "contains": sprites_SpriteSet_contains__P22921, + "toString": sprites_SpriteSet_toString__P22924, }, - toStringMethod: sprites_SpriteSet_toString__P2201, + toStringMethod: sprites_SpriteSet_toString__P22924, }); -const game_Hitbox__C1988_VT = mkVTable({ +const game_Hitbox__C22711_VT = mkVTable({ name: "Hitbox", numFields: 7, classNo: 58, @@ -51963,22 +51964,22 @@ const game_Hitbox__C1988_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P1997, - "top": game_Hitbox_top__P1998, - "right": game_Hitbox_right__P1999, - "bottom": game_Hitbox_bottom__P2000, - "isValid": game_Hitbox_isValid__P2001, + "left": game_Hitbox_left__P22720, + "top": game_Hitbox_top__P22721, + "right": game_Hitbox_right__P22722, + "bottom": game_Hitbox_bottom__P22723, + "isValid": game_Hitbox_isValid__P22724, }, }); -const particles_FireFactory__C2825_VT = mkVTable({ +const particles_FireFactory__C23548_VT = mkVTable({ name: "FireFactory", numFields: 3, classNo: 46, lastSubtypeNo: 46, maxBgInstances: null, methods: { - "createParticle": particles_FireFactory_createParticle__P2827, - "drawParticle": particles_FireFactory_drawParticle__P2828, + "createParticle": particles_FireFactory_createParticle__P23550, + "drawParticle": particles_FireFactory_drawParticle__P23551, }, iface: { "galois": null, @@ -51987,22 +51988,22 @@ const particles_FireFactory__C2825_VT = mkVTable({ "set/minRadius": null, "maxRadius": null, "set/maxRadius": null, - "createParticle": particles_FireFactory_createParticle__P2827, - "drawParticle": particles_FireFactory_drawParticle__P2828, + "createParticle": particles_FireFactory_createParticle__P23550, + "drawParticle": particles_FireFactory_drawParticle__P23551, }, }); -const particles_FireSource__C2778_VT = mkVTable({ +const particles_FireSource__C23501_VT = mkVTable({ name: "FireSource", numFields: 14, classNo: 22, lastSubtypeNo: 22, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P1889, - "__draw": particles_ParticleSource___draw__P2762, - "__drawCore": sprites_BaseSprite___drawCore__P1893, - "__update": sprites_BaseSprite___update__P1894, - "updateParticle": particles_FireSource_updateParticle__P2780, + "__visible": sprites_BaseSprite___visible__P22612, + "__draw": particles_ParticleSource___draw__P23485, + "__drawCore": sprites_BaseSprite___drawCore__P22616, + "__update": sprites_BaseSprite___update__P22617, + "updateParticle": particles_FireSource_updateParticle__P23503, }, iface: { "_z": null, @@ -52033,28 +52034,28 @@ const particles_FireSource__C2778_VT = mkVTable({ "set/ay": null, "galois": null, "set/galois": null, - "updateParticle": particles_FireSource_updateParticle__P2780, - "__draw": particles_ParticleSource___draw__P2762, - "_update": particles_ParticleSource__update__P2763, - "_prune": particles_ParticleSource__prune__P2764, - "setAcceleration": particles_ParticleSource_setAcceleration__P2765, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P2767, - "enabled": particles_ParticleSource_enabled__P2768, - "set/enabled": particles_ParticleSource_enabled__P2769, - "destroy": particles_ParticleSource_destroy__P2770, - "clear": particles_ParticleSource_clear__P2771, - "setAnchor": particles_ParticleSource_setAnchor__P2772, - "setRate": particles_ParticleSource_setRate__P2773, - "setFactory": particles_ParticleSource_setFactory__P2775, - "drawParticle": particles_ParticleSource_drawParticle__P4630, - "__visible": sprites_BaseSprite___visible__P1889, - "z": sprites_BaseSprite_z__P1890, - "set/z": sprites_BaseSprite_z__P1891, - "__drawCore": sprites_BaseSprite___drawCore__P1893, - "__update": sprites_BaseSprite___update__P1894, + "updateParticle": particles_FireSource_updateParticle__P23503, + "__draw": particles_ParticleSource___draw__P23485, + "_update": particles_ParticleSource__update__P23486, + "_prune": particles_ParticleSource__prune__P23487, + "setAcceleration": particles_ParticleSource_setAcceleration__P23488, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P23490, + "enabled": particles_ParticleSource_enabled__P23491, + "set/enabled": particles_ParticleSource_enabled__P23492, + "destroy": particles_ParticleSource_destroy__P23493, + "clear": particles_ParticleSource_clear__P23494, + "setAnchor": particles_ParticleSource_setAnchor__P23495, + "setRate": particles_ParticleSource_setRate__P23496, + "setFactory": particles_ParticleSource_setFactory__P23498, + "drawParticle": particles_ParticleSource_drawParticle__P25353, + "__visible": sprites_BaseSprite___visible__P22612, + "z": sprites_BaseSprite_z__P22613, + "set/z": sprites_BaseSprite_z__P22614, + "__drawCore": sprites_BaseSprite___drawCore__P22616, + "__update": sprites_BaseSprite___update__P22617, }, }); -const scene_OverlapHandler__C2469_VT = mkVTable({ +const scene_OverlapHandler__C23192_VT = mkVTable({ name: "OverlapHandler", numFields: 3, classNo: 59, @@ -52071,7 +52072,7 @@ const scene_OverlapHandler__C2469_VT = mkVTable({ "set/handler": null, }, }); -const scene_systemMenu_PauseMenu__C2700_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C23423_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 60, @@ -52094,15 +52095,15 @@ const scene_systemMenu_PauseMenu__C2700_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P2702, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P2703, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P2704, - "drawText": scene_systemMenu_PauseMenu_drawText__P2705, - "dispose": scene_systemMenu_PauseMenu_dispose__P2706, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P4544, + "show": scene_systemMenu_PauseMenu_show__P23425, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P23426, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P23427, + "drawText": scene_systemMenu_PauseMenu_drawText__P23428, + "dispose": scene_systemMenu_PauseMenu_dispose__P23429, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P25267, }, }); -const scene_systemMenu_MenuOption__C2692_VT = mkVTable({ +const scene_systemMenu_MenuOption__C23415_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 61, @@ -52127,16 +52128,16 @@ const scene_systemMenu_MenuOption__C2692_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P2694, - "position": scene_systemMenu_MenuOption_position__P2695, - "setOffset": scene_systemMenu_MenuOption_setOffset__P2696, - "setTheme": scene_systemMenu_MenuOption_setTheme__P2697, - "setState": scene_systemMenu_MenuOption_setState__P2698, - "dispose": scene_systemMenu_MenuOption_dispose__P2699, - "updateCard": scene_systemMenu_MenuOption_updateCard__P4543, + "show": scene_systemMenu_MenuOption_show__P23417, + "position": scene_systemMenu_MenuOption_position__P23418, + "setOffset": scene_systemMenu_MenuOption_setOffset__P23419, + "setTheme": scene_systemMenu_MenuOption_setTheme__P23420, + "setState": scene_systemMenu_MenuOption_setState__P23421, + "dispose": scene_systemMenu_MenuOption_dispose__P23422, + "updateCard": scene_systemMenu_MenuOption_updateCard__P25266, }, }); -const MovingSprite__C2252_VT = mkVTable({ +const MovingSprite__C22975_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 62, @@ -52161,7 +52162,7 @@ const MovingSprite__C2252_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C2372_VT = mkVTable({ +const tiles_Location__C23095_VT = mkVTable({ name: "Location", numFields: 3, classNo: 63, @@ -52176,14 +52177,14 @@ const tiles_Location__C2372_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "col": tiles_Location_col__P2373, - "row": tiles_Location_row__P2374, - "x": tiles_Location_x__P2376, - "y": tiles_Location_y__P2377, - "tileSet": tiles_Location_tileSet__P2378, + "col": tiles_Location_col__P23096, + "row": tiles_Location_row__P23097, + "x": tiles_Location_x__P23099, + "y": tiles_Location_y__P23100, + "tileSet": tiles_Location_tileSet__P23101, }, }); -const sprites_StaticObstacle__C2225_VT = mkVTable({ +const sprites_StaticObstacle__C22948_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 64, @@ -52202,13 +52203,13 @@ const sprites_StaticObstacle__C2225_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P2232, - "y": sprites_StaticObstacle_y__P2233, - "height": sprites_StaticObstacle_height__P2234, - "width": sprites_StaticObstacle_width__P2235, + "x": sprites_StaticObstacle_x__P22955, + "y": sprites_StaticObstacle_y__P22956, + "height": sprites_StaticObstacle_height__P22957, + "width": sprites_StaticObstacle_width__P22958, }, }); -const effects_SceneAnchor__C4672_VT = mkVTable({ +const effects_SceneAnchor__C25395_VT = mkVTable({ name: "SceneAnchor", numFields: 1, classNo: 65, @@ -52219,22 +52220,22 @@ const effects_SceneAnchor__C4672_VT = mkVTable({ iface: { "camera": null, "set/camera": null, - "x": effects_SceneAnchor_x__P4673, - "y": effects_SceneAnchor_y__P4674, - "width": effects_SceneAnchor_width__P4675, - "height": effects_SceneAnchor_height__P4676, + "x": effects_SceneAnchor_x__P25396, + "y": effects_SceneAnchor_y__P25397, + "width": effects_SceneAnchor_width__P25398, + "height": effects_SceneAnchor_height__P25399, }, }); -const sprites_BaseSpriteSayRenderer__C2028_VT = mkVTable({ +const sprites_BaseSpriteSayRenderer__C22751_VT = mkVTable({ name: "BaseSpriteSayRenderer", numFields: 3, classNo: 66, lastSubtypeNo: 66, maxBgInstances: null, methods: { - "draw": sprites_BaseSpriteSayRenderer_draw__P2030, - "update": sprites_BaseSpriteSayRenderer_update__P2031, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2032, + "draw": sprites_BaseSpriteSayRenderer_draw__P22753, + "update": sprites_BaseSpriteSayRenderer_update__P22754, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P22755, }, iface: { "text": null, @@ -52243,13 +52244,13 @@ const sprites_BaseSpriteSayRenderer__C2028_VT = mkVTable({ "set/fgColor": null, "bgColor": null, "set/bgColor": null, - "draw": sprites_BaseSpriteSayRenderer_draw__P2030, - "update": sprites_BaseSpriteSayRenderer_update__P2031, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2032, + "draw": sprites_BaseSpriteSayRenderer_draw__P22753, + "update": sprites_BaseSpriteSayRenderer_update__P22754, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P22755, }, }); -const breakpoints = setupDebugger(1, ["transparency16___3852","playette___3850","level___3849","masque___3848","covid___3847"]) +const breakpoints = setupDebugger(1, ["transparency16___24575","playette___41953","level___41951","masque___41949","covid___41947"]) -return _main___P20699 +return _main___P42132 }) diff --git a/assets/version.txt b/assets/version.txt index bd52db8..8a9ecc2 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.0.0 \ No newline at end of file +0.0.1 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 15ac261..e3e2ce4 100644 --- a/pxt.json +++ b/pxt.json @@ -1,5 +1,6 @@ { "name": "LMT - projet avion", + "version": "0.0.1", "description": "", "dependencies": { "device": "*"