From a2239ffe5ce38cdef4648fafcee352b66379c520 Mon Sep 17 00:00:00 2001 From: Tom Moran <62551154+Tomhausen@users.noreply.github.com> Date: Fri, 27 Sep 2024 13:32:55 +0100 Subject: [PATCH] 0.6.7 --- assets/js/binary.js | 14742 +++++++++++++++++++++--------------------- assets/version.txt | 2 +- pxt.json | 2 +- 3 files changed, 7373 insertions(+), 7373 deletions(-) diff --git a/assets/js/binary.js b/assets/js/binary.js index 580a596..8bba2b2 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,4 +1,4 @@ -// meta={"simUrl":"/simulator.html","cdnUrl":"/","version":"0.6.6","target":"arcade","targetVersion":"2.0.3","repo":"tomhausen/the-code-zone-tiles-advanced"} +// meta={"simUrl":"/simulator.html","cdnUrl":"/","version":"0.6.7","target":"arcade","targetVersion":"2.0.3","repo":"tomhausen/the-code-zone-tiles-advanced"} // total=1248930 new=5.85% cached=88.49% other=5.67% (function (ectx) { 'use strict'; @@ -429,7 +429,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P47556(s) { +function _main___P47229(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -439,280 +439,280 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___27615 = (undefined); - globals._pollEventQueue___27624 = (undefined); - globals.minPriority___23521 = (1); + globals._intervals___31263 = (undefined); + globals._pollEventQueue___31272 = (undefined); + globals.minPriority___27169 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P27627); - globals.listeners___27628 = (s.tmp_0); - globals.globalVolume___27681 = (null); - globals.playToneID___27688 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C24773_VT); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P31275); + globals.listeners___31276 = (s.tmp_0); + globals.globalVolume___31329 = (null); + globals.playToneID___31336 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C28421_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P24776_mk(s); + s.tmp_1 = music_Melody_constructor__P28424_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___24794 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C24773_VT); + globals.wawawawaa___28442 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C28421_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P24776_mk(s); + s.tmp_1 = music_Melody_constructor__P28424_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___24797 = (s.tmp_0); - globals.brightness___25098 = (100); + globals.powerUp___28445 = (s.tmp_0); + globals.brightness___28746 = (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", _hex34792); - globals.font8___25122 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex38441); + globals.font8___28770 = (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", _hex34794); - globals.font12___25123 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex38443); + globals.font12___28771 = (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", _hex36190); - globals.font5___25127 = (s.tmp_0); - globals.__updated___27795 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P27798); - r0 = pxsim_pxtcore.setPalette(_hex27809); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex39839); + globals.font5___28775 = (s.tmp_0); + globals.__updated___31443 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P31446); + r0 = pxsim_pxtcore.setPalette(_hex31457); r0 = pxsim_pxtcore.getConfig(2102, 160); s.tmp_0 = r0; r0 = pxsim_pxtcore.getConfig(2103, 120); s.tmp_1 = r0; r0 = pxsim.image.create(s.tmp_0, s.tmp_1); - globals.screen___25179 = (r0); - s.tmp_0 = control___screen_setupUpdate__P25141_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P27818; + globals.screen___28827 = (r0); + s.tmp_0 = control___screen_setupUpdate__P28789_mk(s); + s.tmp_0.arg0 = _screen_internal_inline__P31466; s.callLocIdx = 6; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___23544 = (_screen_internal_inline__P27823); - globals.RUN_KEY___27828 = ("#run"); - globals.SCOPE_KEY___27829 = ("#scope"); - s.tmp_0 = settings_initScopes__P27840_mk(s); + globals.control_EventContext_onStats___27192 = (_screen_internal_inline__P31471); + globals.RUN_KEY___31476 = ("#run"); + globals.SCOPE_KEY___31477 = ("#scope"); + s.tmp_0 = settings_initScopes__P31488_mk(s); s.callLocIdx = 7; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25336_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C28984_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25342_mk(s); + s.tmp_1 = controller_Button_constructor__P28990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.callLocIdx = 8; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.A___25260 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25336_VT); + globals.A___28908 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C28984_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25342_mk(s); + s.tmp_1 = controller_Button_constructor__P28990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.callLocIdx = 9; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - globals.B___25261 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25336_VT); + globals.B___28909 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C28984_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25342_mk(s); + s.tmp_1 = controller_Button_constructor__P28990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.callLocIdx = 10; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.left___25262 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25336_VT); + globals.left___28910 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C28984_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25342_mk(s); + s.tmp_1 = controller_Button_constructor__P28990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.callLocIdx = 11; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.up___25263 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25336_VT); + globals.up___28911 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C28984_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25342_mk(s); + s.tmp_1 = controller_Button_constructor__P28990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.callLocIdx = 12; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.right___25264 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25336_VT); + globals.right___28912 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C28984_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25342_mk(s); + s.tmp_1 = controller_Button_constructor__P28990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.callLocIdx = 13; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.down___25265 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25336_VT); + globals.down___28913 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C28984_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25342_mk(s); + s.tmp_1 = controller_Button_constructor__P28990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.callLocIdx = 14; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.menu___25266 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C25281_VT); + globals.menu___28914 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C28929_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P25285_mk(s); + s.tmp_1 = controller_Controller_constructor__P28933_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = undefined; s.callLocIdx = 15; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.player2___25267 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C25281_VT); + globals.player2___28915 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C28929_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P25285_mk(s); + s.tmp_1 = controller_Controller_constructor__P28933_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.callLocIdx = 16; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - globals.player3___25268 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C25281_VT); + globals.player3___28916 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C28929_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P25285_mk(s); + s.tmp_1 = controller_Controller_constructor__P28933_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = undefined; s.callLocIdx = 17; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - globals.player4___25269 = (s.tmp_0); - s.tmp_0 = controller__player1__P25275_mk(s); + globals.player4___28917 = (s.tmp_0); + s.tmp_0 = controller__player1__P28923_mk(s); s.callLocIdx = 18; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.player1___25270 = (r0); - s.tmp_0 = game_addScenePopHandler__P26184_mk(s); - s.tmp_0.arg0 = controller_inline__P27868; + globals.player1___28918 = (r0); + s.tmp_0 = game_addScenePopHandler__P29832_mk(s); + s.tmp_0.arg0 = controller_inline__P31516; s.callLocIdx = 23; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePushHandler__P26182_mk(s); - s.tmp_0.arg0 = controller_inline__P27908; + s.tmp_0 = game_addScenePushHandler__P29830_mk(s); + s.tmp_0.arg0 = controller_inline__P31556; s.callLocIdx = 25; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C27932_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C31580_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25342_mk(s); + s.tmp_1 = controller_Button_constructor__P28990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.callLocIdx = 26; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - globals.anyButton___25317 = (s.tmp_0); - globals._userEventsEnabled___27946 = (true); - globals.defaultRepeatDelay___27948 = (500); - globals.defaultRepeatInterval___27950 = (30); - s.tmp_0 = SpriteKind_create__P25626_mk(s); + globals.anyButton___28965 = (s.tmp_0); + globals._userEventsEnabled___31594 = (true); + globals.defaultRepeatDelay___31596 = (500); + globals.defaultRepeatInterval___31598 = (30); + s.tmp_0 = SpriteKind_create__P29274_mk(s); s.callLocIdx = 27; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - globals.Player___25627 = (r0); - s.tmp_0 = SpriteKind_create__P25626_mk(s); + globals.Player___29275 = (r0); + s.tmp_0 = SpriteKind_create__P29274_mk(s); s.callLocIdx = 28; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - globals.Food___25629 = (r0); - s.tmp_0 = SpriteKind_create__P25626_mk(s); + globals.Food___29277 = (r0); + s.tmp_0 = SpriteKind_create__P29274_mk(s); s.callLocIdx = 29; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - globals.Enemy___25630 = (r0); + globals.Enemy___29278 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___25668 = (r0); - globals.infoState___28015 = (undefined); - s.tmp_0 = game_addScenePushHandler__P26182_mk(s); - s.tmp_0.arg0 = info_inline__P28019; + globals.MIN_MOVE_GAP___29316 = (r0); + globals.infoState___31663 = (undefined); + s.tmp_0 = game_addScenePushHandler__P29830_mk(s); + s.tmp_0.arg0 = info_inline__P31667; s.callLocIdx = 31; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P26184_mk(s); - s.tmp_0.arg0 = info_inline__P28034; + s.tmp_0 = game_addScenePopHandler__P29832_mk(s); + s.tmp_0.arg0 = info_inline__P31682; s.callLocIdx = 35; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___26012 = (r0); - r0 = pxsim.image.ofBuffer(_hex28124); - globals.img_trophy_sm___28125 = (r0); - r0 = pxsim.image.ofBuffer(_hex28127); - globals.img_trophy_lg___28128 = (r0); - r0 = pxsim.image.ofBuffer(_hex28130); - globals.img_sleepy_sim___28131 = (r0); - globals.debug___26114 = (false); - globals.stats___26115 = (false); - globals.gameOverConfig___26162 = (gameOverConfig_inline__P28143); - s.tmp_0 = scene_systemMenu_initVolume__P28417_mk(s); + globals.scene_Scene_initializers___29660 = (r0); + r0 = pxsim.image.ofBuffer(_hex31772); + globals.img_trophy_sm___31773 = (r0); + r0 = pxsim.image.ofBuffer(_hex31775); + globals.img_trophy_lg___31776 = (r0); + r0 = pxsim.image.ofBuffer(_hex31778); + globals.img_sleepy_sim___31779 = (r0); + globals.debug___29762 = (false); + globals.stats___29763 = (false); + globals.gameOverConfig___29810 = (gameOverConfig_inline__P31791); + s.tmp_0 = scene_systemMenu_initVolume__P32065_mk(s); s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P28418_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P32066_mk(s); s.callLocIdx = 38; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___26012, scene_systemMenu_register__P26270); - r0 = pxsim.image.ofBuffer(_hex28425); - globals.CARD_NORMAL___26275 = (r0); - r0 = pxsim.image.ofBuffer(_hex28427); - globals.CARD_SELECTED___26276 = (r0); - r0 = pxsim.image.ofBuffer(_hex28429); - globals.CARD_ACTIVE___26277 = (r0); - r0 = pxsim.image.ofBuffer(_hex28431); - globals.VOLUME_UP_ICON___26278 = (r0); - r0 = pxsim.image.ofBuffer(_hex28433); - globals.BRIGHTNESS_DOWN_ICON___26279 = (r0); - r0 = pxsim.image.ofBuffer(_hex28435); - globals.CLOSE_MENU_ICON___26280 = (r0); - r0 = pxsim.image.ofBuffer(_hex28437); - globals.VOLUME_DOWN_ICON___26281 = (r0); - r0 = pxsim.image.ofBuffer(_hex28439); - globals.SLEEP_ICON___26282 = (r0); - r0 = pxsim.image.ofBuffer(_hex28441); - globals.CONSOLE_ICON___26283 = (r0); - r0 = pxsim.image.ofBuffer(_hex28443); - globals.BRIGHTNESS_UP_ICON___26284 = (r0); - r0 = pxsim.image.ofBuffer(_hex28445); - globals.STATS_ICON___26285 = (r0); - globals.consoleColor___28448 = (1); - globals.tabSize___28451 = (8); - globals.consoleFont___28457 = (globals.font5___25127); - r0 = pxsim_ImageMethods.height(globals.screen___25179); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___29660, scene_systemMenu_register__P29918); + r0 = pxsim.image.ofBuffer(_hex32073); + globals.CARD_NORMAL___29923 = (r0); + r0 = pxsim.image.ofBuffer(_hex32075); + globals.CARD_SELECTED___29924 = (r0); + r0 = pxsim.image.ofBuffer(_hex32077); + globals.CARD_ACTIVE___29925 = (r0); + r0 = pxsim.image.ofBuffer(_hex32079); + globals.VOLUME_UP_ICON___29926 = (r0); + r0 = pxsim.image.ofBuffer(_hex32081); + globals.BRIGHTNESS_DOWN_ICON___29927 = (r0); + r0 = pxsim.image.ofBuffer(_hex32083); + globals.CLOSE_MENU_ICON___29928 = (r0); + r0 = pxsim.image.ofBuffer(_hex32085); + globals.VOLUME_DOWN_ICON___29929 = (r0); + r0 = pxsim.image.ofBuffer(_hex32087); + globals.SLEEP_ICON___29930 = (r0); + r0 = pxsim.image.ofBuffer(_hex32089); + globals.CONSOLE_ICON___29931 = (r0); + r0 = pxsim.image.ofBuffer(_hex32091); + globals.BRIGHTNESS_UP_ICON___29932 = (r0); + r0 = pxsim.image.ofBuffer(_hex32093); + globals.STATS_ICON___29933 = (r0); + globals.consoleColor___32096 = (1); + globals.tabSize___32099 = (8); + globals.consoleFont___32105 = (globals.font5___28775); + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___28457; + s.tmp_5.arg0 = globals.consoleFont___32105; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -731,13 +731,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___28462 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___25179); + globals.consoleLines___32110 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___28827); 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___28457; + s.tmp_4.arg0 = globals.consoleFont___32105; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -752,22 +752,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___28472 = (r0); - s.tmp_0 = console_addListener__P23529_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P28484; + globals.consoleColumns___32120 = (r0); + s.tmp_0 = console_addListener__P27177_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P32132; s.callLocIdx = 41; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P38964; + s.tmp_0.argL = MAX_SOURCES_inline__P42613; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 43; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - globals.MAX_SOURCES___28486 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C26355_VT); + globals.MAX_SOURCES___32134 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C30003_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P26356_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P30004_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -775,55 +775,55 @@ switch (step) { s.callLocIdx = 44; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.defaultFactory___26335 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C26223_VT); + globals.defaultFactory___29983 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C29871_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P26225_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P29873_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 45; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - globals.galois___28506 = (s.tmp_0); - globals.angleSlice___28514 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C26430_VT); + globals.galois___32154 = (s.tmp_0); + globals.angleSlice___32162 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C30078_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P26431_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P30079_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__P38722; + s.tmp_1.arg4 = confetti_inline__P42371; s.callLocIdx = 51; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - globals.confetti___26438 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C26454_VT); + globals.confetti___30086 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C30102_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P26455_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P30103_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P37086; + s.tmp_1.arg2 = dissolve_inline__P40735; s.callLocIdx = 57; s.pc = 33; return s.tmp_1; case 33: r0 = s.retval; - globals.dissolve___26459 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C26454_VT); + globals.dissolve___30107 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C30102_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P26455_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P30103_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P38668; + s.tmp_1.arg2 = melt_inline__P42317; s.callLocIdx = 60; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; - globals.melt___26460 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P26164_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P25352; + globals.melt___30108 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P29812_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P29000; s.callLocIdx = 61; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = game_eventContext__P26166_mk(s); + s.tmp_0 = game_eventContext__P29814_mk(s); s.callLocIdx = 62; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; @@ -831,13 +831,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -_main___P47556.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"
","argumentNames":[]} -_main___P47556.continuations = [ ] +_main___P47229.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"
","argumentNames":[]} +_main___P47229.continuations = [ ] -function _main___P47556_mk(s) { +function _main___P47229_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P47556, depth: s.depth + 1, + parent: s, fn: _main___P47229, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -847,29 +847,29 @@ function _main___P47556_mk(s) { tmp_5: undefined, } } -const _hex34792 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex34794 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex36190 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex27809 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex28124 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") -const _hex28127 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") -const _hex28130 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") -const _hex28425 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex28427 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex28429 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex28431 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex28433 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex28435 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex28437 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex28439 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex28441 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex28443 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex28445 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex38441 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex38443 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex39839 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex31457 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex31772 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") +const _hex31775 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") +const _hex31778 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") +const _hex32073 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex32075 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex32077 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex32079 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex32081 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex32083 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex32085 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex32087 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex32089 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex32091 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex32093 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function control___screen_inline__P27798(s) { +function control___screen_inline__P31446(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -882,23 +882,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___27795 = (false); - s.tmp_0 = pause__P23559_mk(s); + globals.__updated___31443 = (false); + s.tmp_0 = pause__P27207_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___27795); + r0 = pxsim_numops_toBoolDecr(globals.__updated___31443); 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__P25140_mk(s); + s.tmp_2 = control___screen_update__P28788_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___27795 = (true); + globals.__updated___31443 = (true); case 2: case 3: { step = 1; continue; } @@ -907,12 +907,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P27798.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__P31446.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__P27798_mk(s) { +function control___screen_inline__P31446_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P27798, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P31446, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -923,7 +923,7 @@ function control___screen_inline__P27798_mk(s) { -function _screen_internal_inline__P27818(s) { +function _screen_internal_inline__P31466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -933,17 +933,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___25179); + r0 = pxsim_pxtcore.updateScreen(globals.screen___28827); r0 = undefined; return leave(s, r0) default: oops() } } } -_screen_internal_inline__P27818.info = {"start":1122,"length":26,"line":32,"column":33,"endLine":32,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +_screen_internal_inline__P31466.info = {"start":1122,"length":26,"line":32,"column":33,"endLine":32,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function _screen_internal_inline__P27818_mk(s) { +function _screen_internal_inline__P31466_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P27818, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P31466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -951,7 +951,7 @@ function _screen_internal_inline__P27818_mk(s) { -function _screen_internal_inline__P27823(s) { +function _screen_internal_inline__P31471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -970,12 +970,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P27823.info = {"start":1185,"length":56,"line":33,"column":35,"endLine":35,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +_screen_internal_inline__P31471.info = {"start":1185,"length":56,"line":33,"column":35,"endLine":35,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -function _screen_internal_inline__P27823_mk(s) { +function _screen_internal_inline__P31471_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P27823, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P31471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -984,7 +984,7 @@ function _screen_internal_inline__P27823_mk(s) { -function controller_inline__P27868(s) { +function controller_inline__P31516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -994,16 +994,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.stateWhenPushed___27869 = undefined; - s.i___27875 = undefined; - s.p___27881 = undefined; - s.tmp_0 = game_currentScene__P26163_mk(s); + s.stateWhenPushed___31517 = undefined; + s.i___31523 = undefined; + s.p___31529 = undefined; + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 19; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = r0.fields["controllerConnectionState"]; - s.stateWhenPushed___27869 = (r0); - r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___27869); + s.stateWhenPushed___31517 = (r0); + r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___31517); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1012,24 +1012,24 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.i___27875 = (0); + s.i___31523 = (0); case 3: - s.tmp_1 = r0 = s.i___27875; - r0 = pxsim_Array__length(s.stateWhenPushed___27869); + s.tmp_1 = r0 = s.i___31523; + r0 = pxsim_Array__length(s.stateWhenPushed___31517); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(globals._players___27866, s.i___27875); - s.p___27881 = (r0); - s.tmp_0 = r0 = s.p___27881; + r0 = pxsim_Array__getAt(globals._players___31514, s.i___31523); + s.p___31529 = (r0); + s.tmp_0 = r0 = s.p___31529; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 4; continue; } r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = pxsim_Array__getAt(s.stateWhenPushed___27869, s.i___27875); + r0 = pxsim_Array__getAt(s.stateWhenPushed___31517, s.i___31523); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); s.tmp_4 = r0; @@ -1039,7 +1039,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = s.p___27881.fields["_connected"]; + r0 = s.p___31529.fields["_connected"]; s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); s.tmp_9 = r0; @@ -1055,7 +1055,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 8; continue; } - r0 = s.p___27881.fields["_connected"]; + r0 = s.p___31529.fields["_connected"]; s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 6; continue; } @@ -1066,13 +1066,13 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_13 = r0; - r0 = s.p___27881.fields["_id"]; + r0 = s.p___31529.fields["_id"]; s.tmp_14 = r0; r0 = pxsim.control.raiseEvent(s.tmp_14, s.tmp_13); case 8: case 9: - r0 = (s.i___27875 + 1); - s.i___27875 = (r0); + r0 = (s.i___31523 + 1); + s.i___31523 = (r0); { step = 3; continue; } case 10: case 11: @@ -1080,12 +1080,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_inline__P27868.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +controller_inline__P31516.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function controller_inline__P27868_mk(s) { +function controller_inline__P31516_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P27868, depth: s.depth + 1, + parent: s, fn: controller_inline__P31516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1102,16 +1102,16 @@ function controller_inline__P27868_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - stateWhenPushed___27869: undefined, - i___27875: undefined, - p___27881: undefined, + stateWhenPushed___31517: undefined, + i___31523: undefined, + p___31529: undefined, } } -function controller_inline__P27908(s) { +function controller_inline__P31556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1121,7 +1121,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___27913 = undefined; + s.i___31561 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -1130,43 +1130,43 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["controllerConnectionState"] = (s.tmp_1); - s.i___27913 = (0); + s.i___31561 = (0); case 1: - s.tmp_1 = r0 = s.i___27913; - r0 = pxsim_Array__length(globals._players___27866); + s.tmp_1 = r0 = s.i___31561; + r0 = pxsim_Array__length(globals._players___31514); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(globals._players___27866, s.i___27913); + r0 = pxsim_Array__getAt(globals._players___31514, s.i___31561); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } r0 = s.arg0.fields["controllerConnectionState"]; s.tmp_4 = r0; - s.tmp_5 = r0 = s.i___27913; - r0 = pxsim_Array__getAt(globals._players___27866, s.i___27913); + s.tmp_5 = r0 = s.i___31561; + r0 = pxsim_Array__getAt(globals._players___31514, s.i___31561); s.tmp_7 = r0; r0 = s.tmp_7.fields["_connected"]; s.tmp_6 = r0; r0 = pxsim_Array_.setAt(s.tmp_4, s.tmp_5, s.tmp_6); case 2: case 3: - r0 = (s.i___27913 + 1); - s.i___27913 = (r0); + r0 = (s.i___31561 + 1); + s.i___31561 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_inline__P27908.info = {"start":957,"length":254,"line":31,"column":29,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["oldScene"]} +controller_inline__P31556.info = {"start":957,"length":254,"line":31,"column":29,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["oldScene"]} -function controller_inline__P27908_mk(s) { +function controller_inline__P31556_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P27908, depth: s.depth + 1, + parent: s, fn: controller_inline__P31556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1176,7 +1176,7 @@ function controller_inline__P27908_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___27913: undefined, + i___31561: undefined, arg0: undefined, } } @@ -1184,7 +1184,7 @@ function controller_inline__P27908_mk(s) { -function info_inline__P28019(s) { +function info_inline__P31667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1198,36 +1198,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___28015); + r0 = pxsim_numops_toBoolDecr(globals.infoState___31663); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___28017); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___31665); 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___28017 = (r0); + globals.infoStateStack___31665 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___28015); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___31663); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___28017, s.tmp_0); - globals.infoState___28015 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___31665, s.tmp_0); + globals.infoState___31663 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P28019.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +info_inline__P31667.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function info_inline__P28019_mk(s) { +function info_inline__P31667_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P28019, depth: s.depth + 1, + parent: s, fn: info_inline__P31667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1238,7 +1238,7 @@ function info_inline__P28019_mk(s) { -function info_inline__P28034(s) { +function info_inline__P31682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1248,30 +1248,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___28035 = undefined; - s.nextState___28044 = undefined; - s.tmp_0 = game_currentScene__P26163_mk(s); + s.scene___31683 = undefined; + s.nextState___31692 = undefined; + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 32; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___28035 = (r0); - globals.infoState___28015 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___28017; + s.scene___31683 = (r0); + globals.infoState___31663 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___31665; 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___28017); + r0 = pxsim_Array__length(globals.infoStateStack___31665); 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___28017); - s.nextState___28044 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___31665); + s.nextState___31692 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___28044; + s.tmp_2.arg0 = s.nextState___31692; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1283,12 +1283,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___28035); + r0 = (s.tmp_1 == s.scene___31683); 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___28044; + s.tmp_3.arg0 = s.nextState___31692; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1299,10 +1299,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___28015 = (r0); + globals.infoState___31663 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___28017, s.nextState___28044); + r0 = pxsim_Array__push(globals.infoStateStack___31665, s.nextState___31692); case 4: case 5: case 6: @@ -1310,26 +1310,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P28034.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P31682.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_inline__P28034_mk(s) { +function info_inline__P31682_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P28034, depth: s.depth + 1, + parent: s, fn: info_inline__P31682, 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___28035: undefined, - nextState___28044: undefined, + scene___31683: undefined, + nextState___31692: undefined, } } -function gameOverConfig_inline__P28143(s) { +function gameOverConfig_inline__P31791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1339,32 +1339,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___28142); + r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___31790); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(game_GameOverConfig__C26137_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverConfig__C29785_VT); s.tmp_2 = r0; - s.tmp_3 = game_GameOverConfig_constructor__P26152_mk(s); + s.tmp_3 = game_GameOverConfig_constructor__P29800_mk(s); s.tmp_3.arg0 = s.tmp_2; s.callLocIdx = 36; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - globals._gameOverConfig___28142 = (s.tmp_2); + globals._gameOverConfig___31790 = (s.tmp_2); case 1: case 2: - r0 = globals._gameOverConfig___28142; + r0 = globals._gameOverConfig___31790; return leave(s, r0) default: oops() } } } -gameOverConfig_inline__P28143.info = {"start":4359,"length":115,"line":131,"column":34,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +gameOverConfig_inline__P31791.info = {"start":4359,"length":115,"line":131,"column":34,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function gameOverConfig_inline__P28143_mk(s) { +function gameOverConfig_inline__P31791_mk(s) { checkStack(s.depth); return { - parent: s, fn: gameOverConfig_inline__P28143, depth: s.depth + 1, + parent: s, fn: gameOverConfig_inline__P31791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1376,7 +1376,7 @@ function gameOverConfig_inline__P28143_mk(s) { -function game_eventContext__P26166(s) { +function game_eventContext__P29814(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1386,21 +1386,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P28158_mk(s); + s.tmp_0 = game_init__P31806_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1013; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___28150.fields["eventContext"]; + r0 = globals._scene___31798.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P26166.info = {"start":5087,"length":112,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P29814.info = {"start":5087,"length":112,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function game_eventContext__P26166_mk(s) { +function game_eventContext__P29814_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P26166, depth: s.depth + 1, + parent: s, fn: game_eventContext__P29814, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -1409,7 +1409,7 @@ function game_eventContext__P26166_mk(s) { -function game_init__P28158(s) { +function game_init__P31806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1423,7 +1423,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___28150); + r0 = pxsim_numops_toBoolDecr(globals._scene___31798); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1438,24 +1438,24 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C25990_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C29638_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P26013_mk(s); + s.tmp_4 = scene_Scene_constructor__P29661_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P23555_mk(s); + s.tmp_5 = control_pushEventContext__P27203_mk(s); s.callLocIdx = 1014; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___28150; + s.tmp_4.arg2 = globals._scene___31798; s.callLocIdx = 1015; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; - globals._scene___28150 = (s.tmp_3); + globals._scene___31798 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P26014_mk(s); - s.tmp_0.arg0 = globals._scene___28150; + s.tmp_0 = scene_Scene_init__P29662_mk(s); + s.tmp_0.arg0 = globals._scene___31798; s.callLocIdx = 1016; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -1463,12 +1463,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_init__P28158.info = {"start":5205,"length":194,"line":165,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P31806.info = {"start":5205,"length":194,"line":165,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function game_init__P28158_mk(s) { +function game_init__P31806_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P28158, depth: s.depth + 1, + parent: s, fn: game_init__P31806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1483,7 +1483,7 @@ function game_init__P28158_mk(s) { -function scene_Scene_init__P26014(s) { +function scene_Scene_init__P29662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1498,7 +1498,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25990_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C29638_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -1506,7 +1506,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P25076_mk(s); + s.tmp_1 = power_poke__P28724_mk(s); s.callLocIdx = 977; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -1515,10 +1515,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__P34017); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P37666); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23549_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P27197_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -1526,18 +1526,18 @@ switch (step) { s.callLocIdx = 980; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P23549_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P27197_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P25280; + s.tmp_0.arg2 = controller__moveSprites__P28928; s.callLocIdx = 981; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P34041); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P37690); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23549_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P27197_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -1545,10 +1545,10 @@ switch (step) { s.callLocIdx = 983; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P34054); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P37703); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23549_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P27197_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -1556,10 +1556,10 @@ switch (step) { s.callLocIdx = 987; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P34075); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P37724); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23549_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P27197_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -1567,10 +1567,10 @@ switch (step) { s.callLocIdx = 989; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P34083); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P37732); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23549_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P27197_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -1578,27 +1578,27 @@ switch (step) { s.callLocIdx = 993; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P23549_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P27197_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P25140; + s.tmp_0.arg2 = control___screen_update__P28788; s.callLocIdx = 994; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = multiplayer_initServer__P26552_mk(s); + s.tmp_0 = multiplayer_initServer__P30200_mk(s); s.callLocIdx = 995; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = multiplayer_initPlayerConnectionListeners__P26553_mk(s); + s.tmp_0 = multiplayer_initPlayerConnectionListeners__P30201_mk(s); s.callLocIdx = 996; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P34114); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P37763); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P23255_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___26012; + s.tmp_1 = helpers_arrayForEach__P26903_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___29660; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 998; s.pc = 14; return s.tmp_1; case 14: @@ -1608,12 +1608,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P26014.info = {"start":4432,"length":2572,"line":127,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P29662.info = {"start":4432,"length":2572,"line":127,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -function scene_Scene_init__P26014_mk(s) { +function scene_Scene_init__P29662_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P26014, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P29662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1624,7 +1624,7 @@ function scene_Scene_init__P26014_mk(s) { -function scene_Scene_init_inline__P34017(s) { +function scene_Scene_init_inline__P37666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1643,7 +1643,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__P25312_mk(s); + s.tmp_0 = controller___update__P28960_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -1657,12 +1657,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P34017.info = {"start":4722,"length":217,"line":134,"column":72,"endLine":138,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P37666.info = {"start":4722,"length":217,"line":134,"column":72,"endLine":138,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P34017_mk(s) { +function scene_Scene_init_inline__P37666_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P34017, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P37666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1674,7 +1674,7 @@ function scene_Scene_init_inline__P34017_mk(s) { -function scene_Scene_init_inline__P34041(s) { +function scene_Scene_init_inline__P37690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1684,7 +1684,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C25658_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C29306_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -1693,7 +1693,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25658_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C29306_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: @@ -1702,12 +1702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P34041.info = {"start":5234,"length":159,"line":143,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P37690.info = {"start":5234,"length":159,"line":143,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P34041_mk(s) { +function scene_Scene_init_inline__P37690_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P34041, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P37690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1718,7 +1718,7 @@ function scene_Scene_init_inline__P34041_mk(s) { -function scene_Scene_init_inline__P34054(s) { +function scene_Scene_init_inline__P37703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1728,39 +1728,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___34055 = undefined; - s.s___34063 = undefined; - s.unnamed334___U2 = undefined; - s.unnamed335___U3 = undefined; + s.dt___37704 = undefined; + s.s___37712 = undefined; + s.unnamed982___U2 = undefined; + s.unnamed983___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___34055 = (r0); - s.tmp_0 = scene_Camera_update__P25945_mk(s); + s.dt___37704 = (r0); + s.tmp_0 = scene_Camera_update__P29593_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 985; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___34063 = (undefined); + s.s___37712 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed334___U2 = (r0); - s.unnamed335___U3 = (0); + s.unnamed982___U2 = (r0); + s.unnamed983___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed335___U3; - r0 = pxsim_Array__length(s.unnamed334___U2); + s.tmp_0 = r0 = s.unnamed983___U3; + r0 = pxsim_Array__length(s.unnamed982___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed334___U2, s.unnamed335___U3); - s.s___34063 = (r0); + r0 = pxsim_Array__getAt(s.unnamed982___U2, s.unnamed983___U3); + s.s___37712 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___34063; + s.tmp_2.arg0 = s.s___37712; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___34055; + s.tmp_2.arg2 = s.dt___37704; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 986; s.pc = 4; return s.tmp_2; @@ -1772,36 +1772,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed335___U3 + 1); - s.unnamed335___U3 = (r0); + r0 = (s.unnamed983___U3 + 1); + s.unnamed983___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed334___U2 = (undefined); + s.unnamed982___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P34054.info = {"start":5582,"length":214,"line":152,"column":79,"endLine":158,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P37703.info = {"start":5582,"length":214,"line":152,"column":79,"endLine":158,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P34054_mk(s) { +function scene_Scene_init_inline__P37703_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P34054, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P37703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___34055: undefined, - s___34063: undefined, - unnamed334___U2: undefined, - unnamed335___U3: undefined, + dt___37704: undefined, + s___37712: undefined, + unnamed982___U2: undefined, + unnamed983___U3: undefined, } } -function scene_Scene_init_inline__P34075(s) { +function scene_Scene_init_inline__P37724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1811,7 +1811,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P26019_mk(s); + s.tmp_0 = scene_Scene_render__P29667_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 988; s.pc = 1; return s.tmp_0; case 1: @@ -1820,12 +1820,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P34075.info = {"start":5937,"length":109,"line":163,"column":76,"endLine":166,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P37724.info = {"start":5937,"length":109,"line":163,"column":76,"endLine":166,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P34075_mk(s) { +function scene_Scene_init_inline__P37724_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P34075, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P37724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -1834,7 +1834,7 @@ function scene_Scene_init_inline__P34075_mk(s) { -function scene_Scene_init_inline__P34083(s) { +function scene_Scene_init_inline__P37732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1844,26 +1844,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___26115; + s.tmp_0 = r0 = globals.stats___29763; 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___23544; + r0 = globals.control_EventContext_onStats___27192; 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___23544; - if ((globals.control_EventContext_lastStats___23543) && (globals.control_EventContext_lastStats___23543).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___27192; + if ((globals.control_EventContext_lastStats___27191) && (globals.control_EventContext_lastStats___27191).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___23543); + pxsim_String__stringConv(globals.control_EventContext_lastStats___27191); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___23543) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___27191) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -1899,23 +1899,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___26114); + r0 = pxsim_numops_toBoolDecr(globals.debug___29762); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C25658_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C29306_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25658_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C29306_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__P26291_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P29939_mk(s); s.callLocIdx = 991; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P25077_mk(s); + s.tmp_0 = power_checkDeepSleep__P28725_mk(s); s.callLocIdx = 992; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -1923,12 +1923,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P34083.info = {"start":6163,"length":504,"line":168,"column":80,"endLine":180,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P37732.info = {"start":6163,"length":504,"line":168,"column":80,"endLine":180,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P34083_mk(s) { +function scene_Scene_init_inline__P37732_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P34083, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P37732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1945,7 +1945,7 @@ function scene_Scene_init_inline__P34083_mk(s) { -function scene_Scene_init_inline__P34114(s) { +function scene_Scene_init_inline__P37763(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1970,12 +1970,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P34114.info = {"start":6980,"length":12,"line":186,"column":39,"endLine":186,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +scene_Scene_init_inline__P37763.info = {"start":6980,"length":12,"line":186,"column":39,"endLine":186,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function scene_Scene_init_inline__P34114_mk(s) { +function scene_Scene_init_inline__P37763_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P34114, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P37763, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1985,7 +1985,7 @@ function scene_Scene_init_inline__P34114_mk(s) { -function multiplayer_initPlayerConnectionListeners__P26553(s) { +function multiplayer_initPlayerConnectionListeners__P30201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1995,43 +1995,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___34117 = undefined; - s.p___34117 = (1); + s.p___37766 = undefined; + s.p___37766 = (1); case 1: - r0 = (s.p___34117 <= 4); + r0 = (s.p___37766 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P28606_mk(s); - s.tmp_1.arg0 = s.p___34117; + s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P32254_mk(s); + s.tmp_1.arg0 = s.p___37766; s.callLocIdx = 1348; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.p___34117 + 1); - s.p___34117 = (r0); + r0 = (s.p___37766 + 1); + s.p___37766 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initPlayerConnectionListeners__P26553.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} +multiplayer_initPlayerConnectionListeners__P30201.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} -function multiplayer_initPlayerConnectionListeners__P26553_mk(s) { +function multiplayer_initPlayerConnectionListeners__P30201_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initPlayerConnectionListeners__P26553, depth: s.depth + 1, + parent: s, fn: multiplayer_initPlayerConnectionListeners__P30201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___34117: undefined, + p___37766: undefined, } } -function multiplayer_registerPlayerConnectionListeners__P28606(s) { +function multiplayer_registerPlayerConnectionListeners__P32254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2045,10 +2045,10 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P34129); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P37778); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P23537_mk(s); + s.tmp_1 = control_onEvent__P27185_mk(s); s.tmp_1.arg0 = 3241; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; @@ -2056,10 +2056,10 @@ switch (step) { s.callLocIdx = 1350; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P34135); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P37784); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P23537_mk(s); + s.tmp_1 = control_onEvent__P27185_mk(s); s.tmp_1.arg0 = 3242; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; @@ -2071,12 +2071,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners__P28606.info = {"start":1484,"length":415,"line":45,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} +multiplayer_registerPlayerConnectionListeners__P32254.info = {"start":1484,"length":415,"line":45,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} -function multiplayer_registerPlayerConnectionListeners__P28606_mk(s) { +function multiplayer_registerPlayerConnectionListeners__P32254_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners__P28606, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners__P32254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2087,7 +2087,7 @@ function multiplayer_registerPlayerConnectionListeners__P28606_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P34129(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P37778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2097,7 +2097,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P28607_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P32255_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 1349; s.pc = 1; return s.tmp_0; @@ -2107,12 +2107,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P34129.info = {"start":1656,"length":55,"line":49,"column":12,"endLine":49,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P37778.info = {"start":1656,"length":55,"line":49,"column":12,"endLine":49,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_registerPlayerConnectionListeners_inline__P34129_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P37778_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P34129, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P37778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -2121,7 +2121,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P34129_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P34135(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P37784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2131,7 +2131,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P28607_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P32255_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 1351; s.pc = 1; return s.tmp_0; @@ -2141,12 +2141,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P34135.info = {"start":1826,"length":56,"line":54,"column":12,"endLine":54,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P37784.info = {"start":1826,"length":56,"line":54,"column":12,"endLine":54,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_registerPlayerConnectionListeners_inline__P34135_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P37784_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P34135, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P37784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -2155,7 +2155,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P34135_mk(s) { -function multiplayer_receiveConnectionChangedEvent__P28607(s) { +function multiplayer_receiveConnectionChangedEvent__P32255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2165,7 +2165,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___34140 = undefined; + s.c___37789 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2183,21 +2183,21 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 1: - s.c___34140 = (globals.player1___25270); + s.c___37789 = (globals.player1___28918); { step = 5; continue; } case 2: - s.c___34140 = (globals.player2___25267); + s.c___37789 = (globals.player2___28915); { step = 5; continue; } case 3: - s.c___34140 = (globals.player3___25268); + s.c___37789 = (globals.player3___28916); { step = 5; continue; } case 4: - s.c___34140 = (globals.player4___25269); + s.c___37789 = (globals.player4___28917); case 5: - r0 = pxsim_numops_toBoolDecr(s.c___34140); + r0 = pxsim_numops_toBoolDecr(s.c___37789); if (!r0) { step = 6; continue; } - s.tmp_0 = controller_Controller_connected__P25303_mk(s); - s.tmp_0.arg0 = s.c___34140; + s.tmp_0 = controller_Controller_connected__P28951_mk(s); + s.tmp_0.arg0 = s.c___37789; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1353; s.pc = 8; return s.tmp_0; case 8: @@ -2208,15 +2208,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_receiveConnectionChangedEvent__P28607.info = {"start":1905,"length":552,"line":58,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} +multiplayer_receiveConnectionChangedEvent__P32255.info = {"start":1905,"length":552,"line":58,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} -function multiplayer_receiveConnectionChangedEvent__P28607_mk(s) { +function multiplayer_receiveConnectionChangedEvent__P32255_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_receiveConnectionChangedEvent__P28607, depth: s.depth + 1, + parent: s, fn: multiplayer_receiveConnectionChangedEvent__P32255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - c___34140: undefined, + c___37789: undefined, arg0: undefined, arg1: undefined, } } @@ -2225,7 +2225,7 @@ function multiplayer_receiveConnectionChangedEvent__P28607_mk(s) { -function controller_Controller_connected__P25303(s) { +function controller_Controller_connected__P28951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2241,7 +2241,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -2269,12 +2269,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P25303.info = {"start":7796,"length":261,"line":254,"column":8,"endLine":259,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} +controller_Controller_connected__P28951.info = {"start":7796,"length":261,"line":254,"column":8,"endLine":259,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} -function controller_Controller_connected__P25303_mk(s) { +function controller_Controller_connected__P28951_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P25303, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P28951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2287,7 +2287,7 @@ function controller_Controller_connected__P25303_mk(s) { -function controller__player1__P25275(s) { +function controller__player1__P28923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2297,7 +2297,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___27866); + r0 = pxsim_numops_toBoolDecr(globals._players___31514); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2306,7 +2306,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___27866, 0); + r0 = pxsim_Array__getAt(globals._players___31514, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -2316,18 +2316,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__C25281_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C28929_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___25262); - r0 = pxsim_Array__push(s.tmp_6, globals.up___25263); - r0 = pxsim_Array__push(s.tmp_6, globals.right___25264); - r0 = pxsim_Array__push(s.tmp_6, globals.down___25265); - r0 = pxsim_Array__push(s.tmp_6, globals.A___25260); - r0 = pxsim_Array__push(s.tmp_6, globals.B___25261); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___25266); - s.tmp_7 = controller_Controller_constructor__P25285_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___28910); + r0 = pxsim_Array__push(s.tmp_6, globals.up___28911); + r0 = pxsim_Array__push(s.tmp_6, globals.right___28912); + r0 = pxsim_Array__push(s.tmp_6, globals.down___28913); + r0 = pxsim_Array__push(s.tmp_6, globals.A___28908); + r0 = pxsim_Array__push(s.tmp_6, globals.B___28909); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___28914); + s.tmp_7 = controller_Controller_constructor__P28933_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -2336,16 +2336,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___27866, 0); + r0 = pxsim_Array__getAt(globals._players___31514, 0); return leave(s, r0) default: oops() } } } -controller__player1__P25275.info = {"start":1381,"length":258,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P28923.info = {"start":1381,"length":258,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} -function controller__player1__P25275_mk(s) { +function controller__player1__P28923_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P25275, depth: s.depth + 1, + parent: s, fn: controller__player1__P28923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2361,7 +2361,7 @@ function controller__player1__P25275_mk(s) { -function controller_Controller_constructor__P25285(s) { +function controller_Controller_constructor__P28933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2371,9 +2371,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___34196 = undefined; - s.i___34204 = undefined; - s.i___34222 = undefined; + s.leftId___37845 = undefined; + s.i___37853 = undefined; + s.i___37871 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2381,7 +2381,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -2405,18 +2405,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___34196 = (r0); - s.i___34204 = (0); + s.leftId___37845 = (r0); + s.i___37853 = (0); case 2: - r0 = (s.i___34204 < 7); + r0 = (s.i___37853 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25336_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C28984_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P25342_mk(s); + s.tmp_2 = controller_Button_constructor__P28990_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___34196 + s.i___34204); + r0 = (s.leftId___37845 + s.i___37853); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 158; s.pc = 7; return s.tmp_2; @@ -2425,14 +2425,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___34204 + 1); - s.i___34204 = (r0); + r0 = (s.i___37853 + 1); + s.i___37853 = (r0); { step = 2; continue; } case 3: case 4: - s.i___34222 = (0); + s.i___37871 = (0); case 5: - s.tmp_1 = r0 = s.i___34222; + s.tmp_1 = r0 = s.i___37871; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -2443,14 +2443,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___34222); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___37871); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___34222 + 1); - s.i___34222 = (r0); + r0 = (s.i___37871 + 1); + s.i___37871 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P27930_mk(s); + s.tmp_0 = controller_addController__P31578_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 159; s.pc = 8; return s.tmp_0; case 8: @@ -2459,12 +2459,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P25285.info = {"start":2452,"length":696,"line":82,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} +controller_Controller_constructor__P28933.info = {"start":2452,"length":696,"line":82,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} -function controller_Controller_constructor__P25285_mk(s) { +function controller_Controller_constructor__P28933_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P25285, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P28933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2472,9 +2472,9 @@ function controller_Controller_constructor__P25285_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___34196: undefined, - i___34204: undefined, - i___34222: undefined, + leftId___37845: undefined, + i___37853: undefined, + i___37871: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2484,7 +2484,7 @@ function controller_Controller_constructor__P25285_mk(s) { -function controller_addController__P27930(s) { +function controller_addController__P31578(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2498,17 +2498,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___27866); + r0 = pxsim_numops_toBoolDecr(globals._players___31514); 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___27866 = (r0); + globals._players___31514 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___27866; + s.tmp_0 = r0 = globals._players___31514; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -2518,12 +2518,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P27930.info = {"start":1218,"length":157,"line":40,"column":4,"endLine":45,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P31578.info = {"start":1218,"length":157,"line":40,"column":4,"endLine":45,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -function controller_addController__P27930_mk(s) { +function controller_addController__P31578_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P27930, depth: s.depth + 1, + parent: s, fn: controller_addController__P31578, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2535,7 +2535,7 @@ function controller_addController__P27930_mk(s) { -function control_onEvent__P23537(s) { +function control_onEvent__P27185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2545,7 +2545,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___32682 = undefined; + s.ctx___36331 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2553,12 +2553,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P23554_mk(s); + s.tmp_0 = control_eventContext__P27202_mk(s); s.callLocIdx = 40; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___32682 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___32682); + s.ctx___36331 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___36331); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2567,8 +2567,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__P23551_mk(s); - s.tmp_0.arg0 = s.ctx___32682; + s.tmp_0 = control_EventContext_registerHandler__P27199_mk(s); + s.tmp_0.arg0 = s.ctx___36331; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -2581,16 +2581,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P23537.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__P27185.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__P23537_mk(s) { +function control_onEvent__P27185_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P23537, depth: s.depth + 1, + parent: s, fn: control_onEvent__P27185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___32682: undefined, + ctx___36331: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2601,7 +2601,7 @@ function control_onEvent__P23537_mk(s) { -function control_eventContext__P23554(s) { +function control_eventContext__P27202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2611,10 +2611,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___27650); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___31298); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___27650; - r0 = pxsim_Array__length(globals.eventContexts___27650); + s.tmp_0 = r0 = globals.eventContexts___31298; + r0 = pxsim_Array__length(globals.eventContexts___31298); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -2629,12 +2629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P23554.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P27202.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P23554_mk(s) { +function control_eventContext__P27202_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P23554, depth: s.depth + 1, + parent: s, fn: control_eventContext__P27202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2646,7 +2646,7 @@ function control_eventContext__P23554_mk(s) { -function control_EventContext_registerHandler__P23551(s) { +function control_EventContext_registerHandler__P27199(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2656,10 +2656,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___32705 = undefined; - s.unnamed308___U1 = undefined; - s.unnamed309___U2 = undefined; - s.hn___32728 = undefined; + s.h___36354 = undefined; + s.unnamed956___U1 = undefined; + s.unnamed957___U2 = undefined; + s.hn___36377 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2669,20 +2669,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23541_VT)) failedCast(r0); - s.h___32705 = (undefined); + if (!checkSubtype(r0, control_EventContext__C27189_VT)) failedCast(r0); + s.h___36354 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed308___U1 = (r0); - s.unnamed309___U2 = (0); + s.unnamed956___U1 = (r0); + s.unnamed957___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed309___U2; - r0 = pxsim_Array__length(s.unnamed308___U1); + s.tmp_0 = r0 = s.unnamed957___U2; + r0 = pxsim_Array__length(s.unnamed956___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed308___U1, s.unnamed309___U2); - s.h___32705 = (r0); - r0 = s.h___32705.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed956___U1, s.unnamed957___U2); + s.h___36354 = (r0); + r0 = s.h___36354.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -2691,7 +2691,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___32705.fields["value"]; + r0 = s.h___36354.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -2699,19 +2699,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___32705).fields["flags"] = (s.arg4); - r0 = (s.h___32705).fields["handler"] = (s.arg3); + r0 = (s.h___36354).fields["flags"] = (s.arg4); + r0 = (s.h___36354).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed309___U2 + 1); - s.unnamed309___U2 = (r0); + r0 = (s.unnamed957___U2 + 1); + s.unnamed957___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed308___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C27642_VT); + s.unnamed956___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C31290_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P27645_mk(s); + s.tmp_1 = control_EventHandler_constructor__P31293_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -2720,12 +2720,12 @@ switch (step) { s.callLocIdx = 52; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___32728 = (s.tmp_0); + s.hn___36377 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___32728); - s.tmp_0 = control_EventHandler_register__P27643_mk(s); - s.tmp_0.arg0 = s.hn___32728; + r0 = pxsim_Array__push(s.tmp_0, s.hn___36377); + s.tmp_0 = control_EventHandler_register__P31291_mk(s); + s.tmp_0.arg0 = s.hn___36377; s.callLocIdx = 53; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -2734,12 +2734,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P23551.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P27199.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function control_EventContext_registerHandler__P23551_mk(s) { +function control_EventContext_registerHandler__P27199_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P23551, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P27199, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2747,10 +2747,10 @@ function control_EventContext_registerHandler__P23551_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___32705: undefined, - unnamed308___U1: undefined, - unnamed309___U2: undefined, - hn___32728: undefined, + h___36354: undefined, + unnamed956___U1: undefined, + unnamed957___U2: undefined, + hn___36377: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2762,7 +2762,7 @@ function control_EventContext_registerHandler__P23551_mk(s) { -function control_EventHandler_constructor__P27645(s) { +function control_EventHandler_constructor__P31293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2781,7 +2781,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C27642_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C31290_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -2790,12 +2790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P27645.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__P31293.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__P27645_mk(s) { +function control_EventHandler_constructor__P31293_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P27645, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P31293, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -2808,7 +2808,7 @@ function control_EventHandler_constructor__P27645_mk(s) { -function control_EventHandler_register__P27643(s) { +function control_EventHandler_register__P31291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2823,8 +2823,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C27642_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P32749); + if (!checkSubtype(r0, control_EventHandler__C31290_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P36398); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -2838,12 +2838,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P27643.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__P31291.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__P27643_mk(s) { +function control_EventHandler_register__P31291_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P27643, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P31291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2856,7 +2856,7 @@ function control_EventHandler_register__P27643_mk(s) { -function control_EventHandler_register_inline__P32749(s) { +function control_EventHandler_register_inline__P36398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2889,12 +2889,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P32749.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__P36398.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__P32749_mk(s) { +function control_EventHandler_register_inline__P36398_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P32749, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P36398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2904,7 +2904,7 @@ function control_EventHandler_register_inline__P32749_mk(s) { -function multiplayer_initServer__P26552(s) { +function multiplayer_initServer__P30200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2920,14 +2920,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = control_EventContext_registerFrameHandler__P23549_mk(s); - s.tmp_3 = game_eventContext__P26166_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P27197_mk(s); + s.tmp_3 = game_eventContext__P29814_mk(s); s.callLocIdx = 1346; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 210; - s.tmp_2.arg2 = multiplayer_initServer_inline__P34297; + s.tmp_2.arg2 = multiplayer_initServer_inline__P37946; s.callLocIdx = 1347; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -2937,12 +2937,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_initServer__P26552.info = {"start":1011,"length":307,"line":29,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initServer","argumentNames":[]} +multiplayer_initServer__P30200.info = {"start":1011,"length":307,"line":29,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initServer","argumentNames":[]} -function multiplayer_initServer__P26552_mk(s) { +function multiplayer_initServer__P30200_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer__P26552, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer__P30200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2954,7 +2954,7 @@ function multiplayer_initServer__P26552_mk(s) { -function multiplayer_initServer_inline__P34297(s) { +function multiplayer_initServer_inline__P37946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2970,19 +2970,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.multiplayer.postImage(globals.screen___25179); + r0 = pxsim.multiplayer.postImage(globals.screen___28827); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initServer_inline__P34297.info = {"start":1175,"length":126,"line":31,"column":93,"endLine":35,"endColumn":13,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_initServer_inline__P37946.info = {"start":1175,"length":126,"line":31,"column":93,"endLine":35,"endColumn":13,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_initServer_inline__P34297_mk(s) { +function multiplayer_initServer_inline__P37946_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer_inline__P34297, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer_inline__P37946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2992,7 +2992,7 @@ function multiplayer_initServer_inline__P34297_mk(s) { -function game_consoleOverlay_draw__P26291(s) { +function game_consoleOverlay_draw__P29939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3002,16 +3002,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___34350 = undefined; - s.top___34355 = undefined; - s.i___34361 = undefined; - s.t___34374 = undefined; - s.tOff___34381 = undefined; - s.tab___34383 = undefined; - s.unnamed338___U6 = undefined; - s.unnamed339___U7 = undefined; - s.padding___34385 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28449); + s.height___37999 = undefined; + s.top___38004 = undefined; + s.i___38010 = undefined; + s.t___38023 = undefined; + s.tOff___38030 = undefined; + s.tab___38032 = undefined; + s.unnamed986___U6 = undefined; + s.unnamed987___U7 = undefined; + s.padding___38034 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___32097); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3020,7 +3020,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___28403); + r0 = pxsim_numops_toBoolDecr(globals.instance___32051); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -3036,7 +3036,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___28457; + s.tmp_7.arg0 = globals.consoleFont___32105; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -3049,10 +3049,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___34350 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___26115); + s.height___37999 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___29763); if (!r0) { step = 5; continue; } - r0 = s.height___34350; + r0 = s.height___37999; { step = 6; continue; } case 5: r0 = 0; @@ -3060,17 +3060,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___34355 = (r0); - s.i___34361 = (0); + s.top___38004 = (r0); + s.i___38010 = (0); case 7: - s.tmp_1 = r0 = s.i___34361; - r0 = pxsim_Array__length(globals.consoleStrings___28449); + s.tmp_1 = r0 = s.i___38010; + r0 = pxsim_Array__length(globals.consoleStrings___32097); 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___28449, s.i___34361); + r0 = pxsim_Array__getAt(globals.consoleStrings___32097, s.i___38010); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -3078,43 +3078,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P23268_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___28449, s.i___34361); + s.tmp_6 = helpers_stringSplit__P26916_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___32097, s.i___38010); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.callLocIdx = 1201; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___34374 = (r0); - s.tOff___34381 = (0); - s.tab___34383 = (undefined); - s.unnamed338___U6 = (s.t___34374); - s.unnamed339___U7 = (0); + s.t___38023 = (r0); + s.tOff___38030 = (0); + s.tab___38032 = (undefined); + s.unnamed986___U6 = (s.t___38023); + s.unnamed987___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed339___U7; - r0 = pxsim_Array__length(s.unnamed338___U6); + s.tmp_0 = r0 = s.unnamed987___U7; + r0 = pxsim_Array__length(s.unnamed986___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed338___U6, s.unnamed339___U7); - s.tab___34383 = (r0); - s.tmp_2 = r0 = globals.tabSize___28451; - s.tmp_5 = r0 = s.tOff___34381; - r0 = pxsim_String_.length(s.tab___34383); + r0 = pxsim_Array__getAt(s.unnamed986___U6, s.unnamed987___U7); + s.tab___38032 = (r0); + s.tmp_2 = r0 = globals.tabSize___32099; + s.tmp_5 = r0 = s.tOff___38030; + r0 = pxsim_String_.length(s.tab___38032); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___28451); + r0 = (s.tmp_4 % globals.tabSize___32099); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___34385 = (r0); - s.tmp_0 = helpers_imagePrint__P25137_mk(s); - s.tmp_0.arg0 = globals.screen___25179; - s.tmp_0.arg1 = s.tab___34383; - s.tmp_2 = r0 = s.tOff___34381; + s.padding___38034 = (r0); + s.tmp_0 = helpers_imagePrint__P28785_mk(s); + s.tmp_0.arg0 = globals.screen___28827; + s.tmp_0.arg1 = s.tab___38032; + s.tmp_2 = r0 = s.tOff___38030; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___28457; + s.tmp_4.arg0 = globals.consoleFont___32105; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -3130,50 +3130,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___34355; - r0 = (s.i___34361 * s.height___34350); + s.tmp_5 = r0 = s.top___38004; + r0 = (s.i___38010 * s.height___37999); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___28448; - s.tmp_0.arg5 = globals.consoleFont___28457; + s.tmp_0.arg4 = globals.consoleColor___32096; + s.tmp_0.arg5 = globals.consoleFont___32105; s.tmp_0.arg6 = undefined; s.callLocIdx = 1203; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___34381; - r0 = pxsim_String_.length(s.tab___34383); + s.tmp_0 = r0 = s.tOff___38030; + r0 = pxsim_String_.length(s.tab___38032); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___34385); + r0 = (s.tmp_2 + s.padding___38034); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___34381 = (r0); - r0 = (s.unnamed339___U7 + 1); - s.unnamed339___U7 = (r0); + s.tOff___38030 = (r0); + r0 = (s.unnamed987___U7 + 1); + s.unnamed987___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed338___U6 = (undefined); + s.unnamed986___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P25137_mk(s); - s.tmp_0.arg0 = globals.screen___25179; - r0 = pxsim_Array__getAt(globals.consoleStrings___28449, s.i___34361); + s.tmp_0 = helpers_imagePrint__P28785_mk(s); + s.tmp_0.arg0 = globals.screen___28827; + r0 = pxsim_Array__getAt(globals.consoleStrings___32097, s.i___38010); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___34355; - r0 = (s.i___34361 * s.height___34350); + s.tmp_1 = r0 = s.top___38004; + r0 = (s.i___38010 * s.height___37999); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___28448; - s.tmp_0.arg5 = globals.consoleFont___28457; + s.tmp_0.arg4 = globals.consoleColor___32096; + s.tmp_0.arg5 = globals.consoleFont___32105; s.tmp_0.arg6 = undefined; s.callLocIdx = 1204; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___34361 + 1); - s.i___34361 = (r0); + r0 = (s.i___38010 + 1); + s.i___38010 = (r0); { step = 7; continue; } case 12: case 13: @@ -3181,12 +3181,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P26291.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__P29939.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__P26291_mk(s) { +function game_consoleOverlay_draw__P29939_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P26291, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P29939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3196,22 +3196,22 @@ function game_consoleOverlay_draw__P26291_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___34350: undefined, - top___34355: undefined, - i___34361: undefined, - t___34374: undefined, - tOff___34381: undefined, - tab___34383: undefined, - unnamed338___U6: undefined, - unnamed339___U7: undefined, - padding___34385: undefined, + height___37999: undefined, + top___38004: undefined, + i___38010: undefined, + t___38023: undefined, + tOff___38030: undefined, + tab___38032: undefined, + unnamed986___U6: undefined, + unnamed987___U7: undefined, + padding___38034: undefined, } } -function scene_systemMenu_isVisible__P26272(s) { +function scene_systemMenu_isVisible__P29920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3221,7 +3221,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___28403); + r0 = pxsim_numops_toBoolDecr(globals.instance___32051); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -3231,12 +3231,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P26272.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__P29920.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__P26272_mk(s) { +function scene_systemMenu_isVisible__P29920_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P26272, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P29920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3247,7 +3247,7 @@ function scene_systemMenu_isVisible__P26272_mk(s) { -function helpers_imagePrint__P25137(s) { +function helpers_imagePrint__P28785(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3257,31 +3257,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___34457 = undefined; - s.cp___34459 = undefined; - s.mult___34460 = undefined; - s.dataW___34465 = undefined; - s.dataH___34471 = undefined; - s.byteHeight___34477 = undefined; - s.charSize___34483 = undefined; - s.dataSize___34487 = undefined; - s.fontdata___34491 = undefined; - s.lastchar___34494 = undefined; - s.imgBuf___34501 = undefined; - s.xOffset___34525 = undefined; - s.yOffset___34526 = undefined; - s.ch___34541 = undefined; - s.l___34560 = undefined; - s.r___34561 = undefined; - s.off___34563 = undefined; - s.guess___34564 = undefined; - s.m___34583 = undefined; - s.v___34592 = undefined; - s.i___34648 = undefined; - s.j___34653 = undefined; - s.mask___34654 = undefined; - s.c___34655 = undefined; - s.n___34672 = undefined; + s.x0___38106 = undefined; + s.cp___38108 = undefined; + s.mult___38109 = undefined; + s.dataW___38114 = undefined; + s.dataH___38120 = undefined; + s.byteHeight___38126 = undefined; + s.charSize___38132 = undefined; + s.dataSize___38136 = undefined; + s.fontdata___38140 = undefined; + s.lastchar___38143 = undefined; + s.imgBuf___38150 = undefined; + s.xOffset___38174 = undefined; + s.yOffset___38175 = undefined; + s.ch___38190 = undefined; + s.l___38209 = undefined; + s.r___38210 = undefined; + s.off___38212 = undefined; + s.guess___38213 = undefined; + s.m___38232 = undefined; + s.v___38241 = undefined; + s.i___38297 = undefined; + s.j___38302 = undefined; + s.mask___38303 = undefined; + s.c___38304 = undefined; + s.n___38321 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3302,7 +3302,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P25124_mk(s); + s.tmp_2 = image_getFontForText__P28772_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 98; s.pc = 39; return s.tmp_2; case 39: @@ -3319,8 +3319,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___34457 = (s.arg2); - s.cp___34459 = (0); + s.x0___38106 = (s.arg2); + s.cp___38108 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -3354,7 +3354,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___34460 = (s.tmp_3); + s.mult___38109 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -3368,8 +3368,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___34460); - s.dataW___34465 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___38109); + s.dataW___38114 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -3383,16 +3383,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___34460); - s.dataH___34471 = (r0); - r0 = (s.dataH___34471 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___38109); + s.dataH___38120 = (r0); + r0 = (s.dataH___38120 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___34477 = (r0); - r0 = (s.byteHeight___34477 * s.dataW___34465); - s.charSize___34483 = (r0); - r0 = (2 + s.charSize___34483); - s.dataSize___34487 = (r0); + s.byteHeight___38126 = (r0); + r0 = (s.byteHeight___38126 * s.dataW___38114); + s.charSize___38132 = (r0); + r0 = (2 + s.charSize___38132); + s.dataSize___38136 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -3405,44 +3405,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___34491 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___34491); + s.fontdata___38140 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___38140); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___34487); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___38136); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___34494 = (r0); - r0 = (s.mult___34460 == 1); + s.lastchar___38143 = (r0); + r0 = (s.mult___38109 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___34483); + r0 = (8 + s.charSize___38132); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___34501 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___34501, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___34501, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___34501, 2, s.dataW___34465); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___34501, 4, s.dataH___34471); + s.imgBuf___38150 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___38150, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___38150, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___38150, 2, s.dataW___38114); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___38150, 4, s.dataH___38120); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___34459; + s.tmp_1 = r0 = s.cp___38108; 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___34525 = (0); - s.yOffset___34526 = (0); + s.xOffset___38174 = (0); + s.yOffset___38175 = (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___34459; + s.tmp_1 = r0 = s.cp___38108; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -3452,7 +3452,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___34459); + r0 = pxsim_Array__getAt(s.arg6, s.cp___38108); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -3464,9 +3464,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___34525 = (r0); + s.xOffset___38174 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___34459); + r0 = pxsim_Array__getAt(s.arg6, s.cp___38108); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -3478,15 +3478,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___34526 = (r0); + s.yOffset___38175 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___34459; + s.tmp_0 = r0 = s.cp___38108; r0 = (s.tmp_0 + 1); - s.cp___34459 = (r0); + s.cp___38108 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___34541 = (r0); - r0 = (s.ch___34541 == 10); + s.ch___38190 = (r0); + r0 = (s.ch___38190 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -3508,89 +3508,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___34457); + s.arg2 = (s.x0___38106); case 14: case 15: - r0 = (s.ch___34541 < 32); + r0 = (s.ch___38190 < 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___34560 = (0); - s.r___34561 = (s.lastchar___34494); - s.off___34563 = (0); - r0 = (s.ch___34541 - 32); + s.l___38209 = (0); + s.r___38210 = (s.lastchar___38143); + s.off___38212 = (0); + r0 = (s.ch___38190 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___34487); - s.guess___34564 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___34491, 4, s.guess___34564); + r0 = (s.tmp_0 * s.dataSize___38136); + s.guess___38213 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___38140, 4, s.guess___38213); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___34541); + r0 = (s.tmp_1 == s.ch___38190); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___34563 = (s.guess___34564); + s.off___38212 = (s.guess___38213); { step = 25; continue; } case 18: case 19: - r0 = (s.l___34560 <= s.r___34561); + r0 = (s.l___38209 <= s.r___38210); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___34560; - r0 = (s.r___34561 - s.l___34560); + s.tmp_1 = r0 = s.l___38209; + r0 = (s.r___38210 - s.l___38209); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___34583 = (r0); - s.tmp_0 = r0 = s.fontdata___34491; - r0 = (s.m___34583 * s.dataSize___34487); + s.m___38232 = (r0); + s.tmp_0 = r0 = s.fontdata___38140; + r0 = (s.m___38232 * s.dataSize___38136); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___34592 = (r0); - r0 = (s.v___34592 == s.ch___34541); + s.v___38241 = (r0); + r0 = (s.v___38241 == s.ch___38190); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___34583 * s.dataSize___34487); - s.off___34563 = (r0); + r0 = (s.m___38232 * s.dataSize___38136); + s.off___38212 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___34592 < s.ch___34541); + r0 = (s.v___38241 < s.ch___38190); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___34583 + 1); - s.l___34560 = (r0); + r0 = (s.m___38232 + 1); + s.l___38209 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___34583 - 1); - s.r___34561 = (r0); + r0 = (s.m___38232 - 1); + s.r___38210 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___34460 == 1); + r0 = (s.mult___38109 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___34501; - s.tmp_3 = r0 = s.fontdata___34491; - r0 = (s.off___34563 + 2); + s.tmp_1 = r0 = s.imgBuf___38150; + s.tmp_3 = r0 = s.fontdata___38140; + r0 = (s.off___38212 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___34483); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___38132); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P25102_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P28750_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___34501; - r0 = (s.arg2 + s.xOffset___34525); + s.tmp_0.arg1 = s.imgBuf___38150; + r0 = (s.arg2 + s.xOffset___38174); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___34526); + r0 = (s.arg3 + s.yOffset___38175); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 107; s.pc = 48; return s.tmp_0; @@ -3614,88 +3614,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___34563 + 2); - s.off___34563 = (r0); - s.i___34648 = (0); + r0 = (s.off___38212 + 2); + s.off___38212 = (r0); + s.i___38297 = (0); case 27: - r0 = (s.i___34648 < s.dataW___34465); + r0 = (s.i___38297 < s.dataW___38114); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___34653 = (0); - s.mask___34654 = (1); - s.tmp_0 = r0 = s.off___34563; + s.j___38302 = (0); + s.mask___38303 = (1); + s.tmp_0 = r0 = s.off___38212; r0 = (s.tmp_0 + 1); - s.off___34563 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___34491, s.tmp_0); - s.c___34655 = (r0); + s.off___38212 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___38140, s.tmp_0); + s.c___38304 = (r0); case 28: - r0 = (s.j___34653 < s.dataH___34471); + r0 = (s.j___38302 < s.dataH___38120); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___34654 == 256); + r0 = (s.mask___38303 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___34563; + s.tmp_2 = r0 = s.off___38212; r0 = (s.tmp_2 + 1); - s.off___34563 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___34491, s.tmp_2); - s.c___34655 = (r0); - s.mask___34654 = (1); + s.off___38212 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___38140, s.tmp_2); + s.c___38304 = (r0); + s.mask___38303 = (1); case 29: case 30: - s.n___34672 = (0); + s.n___38321 = (0); case 31: - r0 = (s.c___34655 & s.mask___34654); + r0 = (s.c___38304 & s.mask___38303); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___34672 + 1); - s.n___34672 = (r0); - r0 = (s.mask___34654 << 1); - s.mask___34654 = (r0); + r0 = (s.n___38321 + 1); + s.n___38321 = (r0); + r0 = (s.mask___38303 << 1); + s.mask___38303 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___34672); + r0 = pxsim_numops_toBoolDecr(s.n___38321); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P25103_mk(s); + s.tmp_0 = helpers_imageFillRect__P28751_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___34525 * s.mult___34460); + r0 = (s.xOffset___38174 * s.mult___38109); 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___34653 + s.yOffset___34526); + r0 = (s.j___38302 + s.yOffset___38175); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___34460); + r0 = (s.tmp_5 * s.mult___38109); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___34460; - r0 = (s.mult___34460 * s.n___34672); + s.tmp_0.arg3 = s.mult___38109; + r0 = (s.mult___38109 * s.n___38321); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 109; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___34653 + s.n___34672); - s.j___34653 = (r0); + r0 = (s.j___38302 + s.n___38321); + s.j___38302 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___34654 << 1); - s.mask___34654 = (r0); - r0 = (s.j___34653 + 1); - s.j___34653 = (r0); + r0 = (s.mask___38303 << 1); + s.mask___38303 = (r0); + r0 = (s.j___38302 + 1); + s.j___38302 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___34460); + r0 = (s.arg2 + s.mult___38109); s.arg2 = (r0); - r0 = (s.i___34648 + 1); - s.i___34648 = (r0); + r0 = (s.i___38297 + 1); + s.i___38297 = (r0); { step = 27; continue; } case 36: case 37: @@ -3705,12 +3705,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P25137.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__P28785.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__P25137_mk(s) { +function helpers_imagePrint__P28785_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P25137, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P28785, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3718,31 +3718,31 @@ function helpers_imagePrint__P25137_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___34457: undefined, - cp___34459: undefined, - mult___34460: undefined, - dataW___34465: undefined, - dataH___34471: undefined, - byteHeight___34477: undefined, - charSize___34483: undefined, - dataSize___34487: undefined, - fontdata___34491: undefined, - lastchar___34494: undefined, - imgBuf___34501: undefined, - xOffset___34525: undefined, - yOffset___34526: undefined, - ch___34541: undefined, - l___34560: undefined, - r___34561: undefined, - off___34563: undefined, - guess___34564: undefined, - m___34583: undefined, - v___34592: undefined, - i___34648: undefined, - j___34653: undefined, - mask___34654: undefined, - c___34655: undefined, - n___34672: undefined, + x0___38106: undefined, + cp___38108: undefined, + mult___38109: undefined, + dataW___38114: undefined, + dataH___38120: undefined, + byteHeight___38126: undefined, + charSize___38132: undefined, + dataSize___38136: undefined, + fontdata___38140: undefined, + lastchar___38143: undefined, + imgBuf___38150: undefined, + xOffset___38174: undefined, + yOffset___38175: undefined, + ch___38190: undefined, + l___38209: undefined, + r___38210: undefined, + off___38212: undefined, + guess___38213: undefined, + m___38232: undefined, + v___38241: undefined, + i___38297: undefined, + j___38302: undefined, + mask___38303: undefined, + c___38304: undefined, + n___38321: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3756,7 +3756,7 @@ function helpers_imagePrint__P25137_mk(s) { -function image_getFontForText__P25124(s) { +function image_getFontForText__P28772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3766,52 +3766,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___34775 = undefined; + s.i___38424 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___34775 = (0); + s.i___38424 = (0); case 1: - s.tmp_1 = r0 = s.i___34775; + s.tmp_1 = r0 = s.i___38424; 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___34775); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___38424); 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___25123; + r0 = globals.font12___28771; { step = 5; continue; } case 2: case 3: - r0 = (s.i___34775 + 1); - s.i___34775 = (r0); + r0 = (s.i___38424 + 1); + s.i___38424 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___25122; + r0 = globals.font8___28770; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P25124.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__P28772.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__P25124_mk(s) { +function image_getFontForText__P28772_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P25124, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P28772, 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___34775: undefined, + i___38424: undefined, arg0: undefined, } } @@ -3819,7 +3819,7 @@ function image_getFontForText__P25124_mk(s) { -function helpers_imageFillRect__P25103(s) { +function helpers_imageFillRect__P28751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3839,14 +3839,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P27787_mk(s); + s.tmp_2 = helpers_pack__P31435_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 80; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P27787_mk(s); + s.tmp_4 = helpers_pack__P31435_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 81; s.pc = 2; return s.tmp_4; @@ -3858,12 +3858,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P25103.info = {"start":5454,"length":159,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P28751.info = {"start":5454,"length":159,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P25103_mk(s) { +function helpers_imageFillRect__P28751_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P25103, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P28751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3882,7 +3882,7 @@ function helpers_imageFillRect__P25103_mk(s) { -function helpers_pack__P27787(s) { +function helpers_pack__P31435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3897,7 +3897,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P23273_mk(s); + s.tmp_2 = Math_clamp__P26921_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -3908,7 +3908,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P23273_mk(s); + s.tmp_5 = Math_clamp__P26921_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -3923,12 +3923,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P27787.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P31435.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P27787_mk(s) { +function helpers_pack__P31435_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P27787, depth: s.depth + 1, + parent: s, fn: helpers_pack__P31435, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3944,7 +3944,7 @@ function helpers_pack__P27787_mk(s) { -function Math_clamp__P23273(s) { +function Math_clamp__P26921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3960,9 +3960,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P23277_mk(s); + s.tmp_0 = Math_min__P26925_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P23276_mk(s); + s.tmp_1 = Math_max__P26924_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 15; s.pc = 2; return s.tmp_1; @@ -3975,12 +3975,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P23273.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__P26921.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__P23273_mk(s) { +function Math_clamp__P26921_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P23273, depth: s.depth + 1, + parent: s, fn: Math_clamp__P26921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3993,7 +3993,7 @@ function Math_clamp__P23273_mk(s) { -function Math_min__P23277(s) { +function Math_min__P26925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4021,12 +4021,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P23277.info = {"start":16854,"length":105,"line":568,"column":4,"endLine":571,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P26925.info = {"start":16854,"length":105,"line":568,"column":4,"endLine":571,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P23277_mk(s) { +function Math_min__P26925_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P23277, depth: s.depth + 1, + parent: s, fn: Math_min__P26925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4037,7 +4037,7 @@ function Math_min__P23277_mk(s) { -function Math_max__P23276(s) { +function Math_max__P26924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4065,12 +4065,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P23276.info = {"start":16614,"length":105,"line":558,"column":4,"endLine":561,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P26924.info = {"start":16614,"length":105,"line":558,"column":4,"endLine":561,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function Math_max__P23276_mk(s) { +function Math_max__P26924_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P23276, depth: s.depth + 1, + parent: s, fn: Math_max__P26924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4081,7 +4081,7 @@ function Math_max__P23276_mk(s) { -function helpers_imageDrawIcon__P25102(s) { +function helpers_imageDrawIcon__P28750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4101,7 +4101,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P27787_mk(s); + s.tmp_3 = helpers_pack__P31435_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 79; s.pc = 1; return s.tmp_3; @@ -4113,12 +4113,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P25102.info = {"start":5304,"length":145,"line":173,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P28750.info = {"start":5304,"length":145,"line":173,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P25102_mk(s) { +function helpers_imageDrawIcon__P28750_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P25102, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P28750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4135,7 +4135,7 @@ function helpers_imageDrawIcon__P25102_mk(s) { -function helpers_stringSplit__P23268(s) { +function helpers_stringSplit__P26916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4145,15 +4145,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___34798 = undefined; - s.lim___34800 = undefined; - s.s___34816 = undefined; - s.p___34819 = undefined; - s.R___34820 = undefined; - s.z___34834 = undefined; - s.T___34847 = undefined; - s.q___34848 = undefined; - s.e___34854 = undefined; + s.A___38447 = undefined; + s.lim___38449 = undefined; + s.s___38465 = undefined; + s.p___38468 = undefined; + s.R___38469 = undefined; + s.z___38483 = undefined; + s.T___38496 = undefined; + s.q___38497 = undefined; + s.e___38503 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4161,36 +4161,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___34798 = (r0); - s.lim___34800 = (0); + s.A___38447 = (r0); + s.lim___38449 = (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___34800 = (r0); + s.lim___38449 = (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___34800 = (0); + s.lim___38449 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___34800 = (r0); + s.lim___38449 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___34816 = (r0); - s.p___34819 = (0); - s.R___34820 = (s.arg1); - r0 = (s.lim___34800 == 0); + s.s___38465 = (r0); + s.p___38468 = (0); + s.R___38469 = (s.arg1); + r0 = (s.lim___38449 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___34798; + r0 = s.A___38447; { step = 21; continue; } case 5: case 6: @@ -4198,123 +4198,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___34798, 0, s.arg0); - r0 = s.A___34798; + r0 = pxsim_Array_.setAt(s.A___38447, 0, s.arg0); + r0 = s.A___38447; { step = 21; continue; } case 7: case 8: - r0 = (s.s___34816 == 0); + r0 = (s.s___38465 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P27573_mk(s); + s.tmp_1 = helpers_splitMatch__P31221_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___34820; + s.tmp_1.arg2 = s.R___38469; s.callLocIdx = 11; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___34834 = (r0); - r0 = (s.z___34834 > -1); + s.z___38483 = (r0); + r0 = (s.z___38483 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___34798; + r0 = s.A___38447; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___34798, 0, s.arg0); - r0 = s.A___34798; + r0 = pxsim_Array_.setAt(s.A___38447, 0, s.arg0); + r0 = s.A___38447; { step = 21; continue; } case 11: case 12: - s.q___34848 = (s.p___34819); + s.q___38497 = (s.p___38468); case 13: - r0 = (s.q___34848 != s.s___34816); + r0 = (s.q___38497 != s.s___38465); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P27573_mk(s); + s.tmp_1 = helpers_splitMatch__P31221_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___34848; - s.tmp_1.arg2 = s.R___34820; + s.tmp_1.arg1 = s.q___38497; + s.tmp_1.arg2 = s.R___38469; s.callLocIdx = 12; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___34854 = (r0); - r0 = (s.e___34854 < 0); + s.e___38503 = (r0); + r0 = (s.e___38503 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___34848 + 1); - s.q___34848 = (r0); + r0 = (s.q___38497 + 1); + s.q___38497 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___34854 == s.p___34819); + r0 = (s.e___38503 == s.p___38468); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___34848 + 1); - s.q___34848 = (r0); + r0 = (s.q___38497 + 1); + s.q___38497 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P23265_mk(s); + s.tmp_0 = helpers_stringSlice__P26913_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___34819; - s.tmp_0.arg2 = s.q___34848; + s.tmp_0.arg1 = s.p___38468; + s.tmp_0.arg2 = s.q___38497; s.callLocIdx = 13; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___34847 = (r0); - r0 = pxsim_Array__push(s.A___34798, s.T___34847); - r0 = pxsim_Array__length(s.A___34798); + s.T___38496 = (r0); + r0 = pxsim_Array__push(s.A___38447, s.T___38496); + r0 = pxsim_Array__length(s.A___38447); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___34800); + r0 = (s.tmp_1 == s.lim___38449); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___34798; + r0 = s.A___38447; { step = 21; continue; } case 16: case 17: - s.p___34819 = (s.e___34854); - s.q___34848 = (s.p___34819); + s.p___38468 = (s.e___38503); + s.q___38497 = (s.p___38468); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P23265_mk(s); + s.tmp_0 = helpers_stringSlice__P26913_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___34819; - s.tmp_0.arg2 = s.q___34848; + s.tmp_0.arg1 = s.p___38468; + s.tmp_0.arg2 = s.q___38497; s.callLocIdx = 14; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___34847 = (r0); - r0 = pxsim_Array__push(s.A___34798, s.T___34847); - r0 = s.A___34798; + s.T___38496 = (r0); + r0 = pxsim_Array__push(s.A___38447, s.T___38496); + r0 = s.A___38447; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P23268.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__P26916.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__P23268_mk(s) { +function helpers_stringSplit__P26916_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P23268, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P26916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___34798: undefined, - lim___34800: undefined, - s___34816: undefined, - p___34819: undefined, - R___34820: undefined, - z___34834: undefined, - T___34847: undefined, - q___34848: undefined, - e___34854: undefined, + A___38447: undefined, + lim___38449: undefined, + s___38465: undefined, + p___38468: undefined, + R___38469: undefined, + z___38483: undefined, + T___38496: undefined, + q___38497: undefined, + e___38503: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4324,7 +4324,7 @@ function helpers_stringSplit__P23268_mk(s) { -function helpers_splitMatch__P27573(s) { +function helpers_splitMatch__P31221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4334,9 +4334,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___34934 = undefined; - s.s___34937 = undefined; - s.i___34947 = undefined; + s.r___38583 = undefined; + s.s___38586 = undefined; + s.i___38596 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4344,12 +4344,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___34934 = (r0); + s.r___38583 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___34937 = (r0); - r0 = (s.arg1 + s.r___34934); + s.s___38586 = (r0); + r0 = (s.arg1 + s.r___38583); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___34937); + r0 = (s.tmp_1 > s.s___38586); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -4357,18 +4357,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___34947 = (0); + s.i___38596 = (0); case 3: - r0 = (s.i___34947 < s.r___34934); + r0 = (s.i___38596 < s.r___38583); 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___34947); + r0 = (s.arg1 + s.i___38596); 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___34947); + r0 = pxsim_String_.charAt(s.arg2, s.i___38596); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -4378,21 +4378,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___34947 + 1); - s.i___34947 = (r0); + r0 = (s.i___38596 + 1); + s.i___38596 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___34934); + r0 = (s.arg1 + s.r___38583); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P27573.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__P31221.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__P27573_mk(s) { +function helpers_splitMatch__P31221_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P27573, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P31221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4400,9 +4400,9 @@ function helpers_splitMatch__P27573_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___34934: undefined, - s___34937: undefined, - i___34947: undefined, + r___38583: undefined, + s___38586: undefined, + i___38596: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4412,7 +4412,7 @@ function helpers_splitMatch__P27573_mk(s) { -function helpers_stringSlice__P23265(s) { +function helpers_stringSlice__P26913(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4422,7 +4422,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___34899 = undefined; + s.len___38548 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4430,13 +4430,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___34899 = (r0); + s.len___38548 = (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__P23276_mk(s); - r0 = (s.len___34899 + s.arg1); + s.tmp_1 = Math_max__P26924_mk(s); + r0 = (s.len___38548 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 10; s.pc = 9; return s.tmp_1; @@ -4449,7 +4449,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___34899); + s.arg2 = (s.len___38548); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -4464,7 +4464,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___34899 + s.arg2); + r0 = (s.len___38548 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -4476,17 +4476,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P23265.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__P26913.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__P23265_mk(s) { +function helpers_stringSlice__P26913_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P23265, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P26913, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___34899: undefined, + len___38548: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4496,7 +4496,7 @@ function helpers_stringSlice__P23265_mk(s) { -function scene_Scene_render__P26019(s) { +function scene_Scene_render__P29667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4506,15 +4506,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___35031 = undefined; - s.unnamed336___U1 = undefined; - s.unnamed337___U2 = undefined; + s.s___38680 = undefined; + s.unnamed984___U1 = undefined; + s.unnamed985___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25990_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C29638_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -4545,7 +4545,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__P26019_mk(s); + s.tmp_3 = scene_Scene_render__P29667_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.callLocIdx = 1000; s.pc = 12; return s.tmp_3; @@ -4553,7 +4553,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P25825_mk(s); + s.tmp_0 = scene_Background_draw__P29473_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1001; s.pc = 13; return s.tmp_0; @@ -4566,10 +4566,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P23251_mk(s); + s.tmp_2 = helpers_arraySort__P26899_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scene_Scene_render_inline__P35008; + s.tmp_2.arg1 = scene_Scene_render_inline__P38657; s.callLocIdx = 1006; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -4581,20 +4581,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___35031 = (undefined); + s.s___38680 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed336___U1 = (r0); - s.unnamed337___U2 = (0); + s.unnamed984___U1 = (r0); + s.unnamed985___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed337___U2; - r0 = pxsim_Array__length(s.unnamed336___U1); + s.tmp_0 = r0 = s.unnamed985___U2; + r0 = pxsim_Array__length(s.unnamed984___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed336___U1, s.unnamed337___U2); - s.s___35031 = (r0); + r0 = pxsim_Array__getAt(s.unnamed984___U1, s.unnamed985___U2); + s.s___38680 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___35031; + s.tmp_2.arg0 = s.s___38680; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -4608,11 +4608,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed337___U2 + 1); - s.unnamed337___U2 = (r0); + r0 = (s.unnamed985___U2 + 1); + s.unnamed985___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed336___U1 = (undefined); + s.unnamed984___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -4624,21 +4624,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P26019.info = {"start":8203,"length":917,"line":228,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P29667.info = {"start":8203,"length":917,"line":228,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -function scene_Scene_render__P26019_mk(s) { +function scene_Scene_render__P29667_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P26019, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P29667, 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___35031: undefined, - unnamed336___U1: undefined, - unnamed337___U2: undefined, + s___38680: undefined, + unnamed984___U1: undefined, + unnamed985___U2: undefined, arg0: undefined, } } @@ -4646,7 +4646,7 @@ function scene_Scene_render__P26019_mk(s) { -function scene_Scene_render_inline__P35008(s) { +function scene_Scene_render_inline__P38657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4728,12 +4728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P35008.info = {"start":8781,"length":52,"line":242,"column":37,"endLine":242,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +scene_Scene_render_inline__P38657.info = {"start":8781,"length":52,"line":242,"column":37,"endLine":242,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function scene_Scene_render_inline__P35008_mk(s) { +function scene_Scene_render_inline__P38657_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P35008, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P38657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4753,7 +4753,7 @@ function scene_Scene_render_inline__P35008_mk(s) { -function scene_Background_draw__P25825(s) { +function scene_Background_draw__P29473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4768,27 +4768,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C25816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C29464_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___25179, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___28827, 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___25179, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___28827, 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__P35179); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P38828); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P23255_mk(s); + s.tmp_2 = helpers_arrayForEach__P26903_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -4801,12 +4801,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P25825.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__P29473.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__P25825_mk(s) { +function scene_Background_draw__P29473_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P25825, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P29473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4818,7 +4818,7 @@ function scene_Background_draw__P25825_mk(s) { -function scene_Background_draw_inline__P35179(s) { +function scene_Background_draw_inline__P38828(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4828,8 +4828,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___35181 = undefined; - s.oy___35192 = undefined; + s.ox___38830 = undefined; + s.oy___38841 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -4844,7 +4844,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___35181 = (r0); + s.ox___38830 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -4855,11 +4855,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___35192 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P25834_mk(s); + s.oy___38841 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P29482_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___35181; - s.tmp_0.arg2 = s.oy___35192; + s.tmp_0.arg1 = s.ox___38830; + s.tmp_0.arg2 = s.oy___38841; s.callLocIdx = 806; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -4867,19 +4867,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P35179.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__P38828.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__P35179_mk(s) { +function scene_Background_draw_inline__P38828_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P35179, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P38828, 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___35181: undefined, - oy___35192: undefined, + ox___38830: undefined, + oy___38841: undefined, arg0: undefined, } } @@ -4887,7 +4887,7 @@ function scene_Background_draw_inline__P35179_mk(s) { -function scene_BackgroundLayer_draw__P25834(s) { +function scene_BackgroundLayer_draw__P29482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4897,19 +4897,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___35210 = undefined; - s.h___35213 = undefined; - s.pw___35216 = undefined; - s.ph___35220 = undefined; - s.rx___35229 = undefined; - s.ry___35232 = undefined; - s.y___35301 = undefined; - s.py___35302 = undefined; - s.dh___35311 = undefined; - s.x___35319 = undefined; - s.rxl___35320 = undefined; - s.px___35326 = undefined; - s.dw___35330 = undefined; + s.w___38859 = undefined; + s.h___38862 = undefined; + s.pw___38865 = undefined; + s.ph___38869 = undefined; + s.rx___38878 = undefined; + s.ry___38881 = undefined; + s.y___38950 = undefined; + s.py___38951 = undefined; + s.dh___38960 = undefined; + s.x___38968 = undefined; + s.rxl___38969 = undefined; + s.px___38975 = undefined; + s.dw___38979 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4917,20 +4917,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C25826_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___25179); - s.w___35210 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___25179); - s.h___35213 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C29474_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___28827); + s.w___38859 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___28827); + s.h___38862 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___35216 = (r0); + s.pw___38865 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___35220 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___35216); + s.ph___38869 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___38865); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4939,7 +4939,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___35220); + r0 = pxsim_numops_toBoolDecr(s.ph___38869); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -4951,9 +4951,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___35229 = (r0); + s.rx___38878 = (r0); r0 = (0 - s.arg2); - s.ry___35232 = (r0); + s.ry___38881 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -4963,20 +4963,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___35229; - r0 = (s.w___35210 + s.pw___35216); + s.tmp_1 = r0 = s.rx___38878; + r0 = (s.w___38859 + s.pw___38865); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___35229 = (r0); + s.rx___38878 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___35229; - r0 = (s.w___35210 + s.pw___35216); + s.tmp_0 = r0 = s.rx___38878; + r0 = (s.w___38859 + s.pw___38865); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___35229 = (r0); + s.rx___38878 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -4987,120 +4987,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___35232; - r0 = (s.h___35213 + s.ph___35220); + s.tmp_1 = r0 = s.ry___38881; + r0 = (s.h___38862 + s.ph___38869); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___35232 = (r0); + s.ry___38881 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___35232; - r0 = (s.h___35213 + s.ph___35220); + s.tmp_0 = r0 = s.ry___38881; + r0 = (s.h___38862 + s.ph___38869); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___35232 = (r0); + s.ry___38881 = (r0); case 10: - r0 = (s.rx___35229 % s.w___35210); - s.rx___35229 = (r0); - r0 = (s.rx___35229 < 0); + r0 = (s.rx___38878 % s.w___38859); + s.rx___38878 = (r0); + r0 = (s.rx___38878 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___35229 + s.w___35210); - s.rx___35229 = (r0); + r0 = (s.rx___38878 + s.w___38859); + s.rx___38878 = (r0); case 11: case 12: - r0 = (s.ry___35232 % s.h___35213); - s.ry___35232 = (r0); - r0 = (s.ry___35232 < 0); + r0 = (s.ry___38881 % s.h___38862); + s.ry___38881 = (r0); + r0 = (s.ry___38881 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___35232 + s.h___35213); - s.ry___35232 = (r0); + r0 = (s.ry___38881 + s.h___38862); + s.ry___38881 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___35229); - s.rx___35229 = (r0); - r0 = pxsim.Math_.floor(s.ry___35232); - s.ry___35232 = (r0); - s.y___35301 = (0); - s.py___35302 = (0); + r0 = pxsim.Math_.floor(s.rx___38878); + s.rx___38878 = (r0); + r0 = pxsim.Math_.floor(s.ry___38881); + s.ry___38881 = (r0); + s.y___38950 = (0); + s.py___38951 = (0); case 15: - r0 = (s.y___35301 < s.h___35213); + r0 = (s.y___38950 < s.h___38862); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___35301 % s.ph___35220); - s.py___35302 = (r0); - s.tmp_0 = Math_min__P23277_mk(s); - r0 = (s.ph___35220 - s.py___35302); + r0 = (s.y___38950 % s.ph___38869); + s.py___38951 = (r0); + s.tmp_0 = Math_min__P26925_mk(s); + r0 = (s.ph___38869 - s.py___38951); s.tmp_0.arg0 = r0; - r0 = (s.h___35213 - s.ry___35232); + r0 = (s.h___38862 - s.ry___38881); s.tmp_0.arg1 = r0; s.callLocIdx = 809; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___35311 = (r0); - s.x___35319 = (0); - s.rxl___35320 = (s.rx___35229); + s.dh___38960 = (r0); + s.x___38968 = (0); + s.rxl___38969 = (s.rx___38878); case 16: - r0 = (s.x___35319 < s.w___35210); + r0 = (s.x___38968 < s.w___38859); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___35319 % s.pw___35216); - s.px___35326 = (r0); - s.tmp_0 = Math_min__P23277_mk(s); - r0 = (s.pw___35216 - s.px___35326); + r0 = (s.x___38968 % s.pw___38865); + s.px___38975 = (r0); + s.tmp_0 = Math_min__P26925_mk(s); + r0 = (s.pw___38865 - s.px___38975); s.tmp_0.arg0 = r0; - r0 = (s.w___35210 - s.rxl___35320); + r0 = (s.w___38859 - s.rxl___38969); s.tmp_0.arg1 = r0; s.callLocIdx = 810; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___35330 = (r0); + s.dw___38979 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___25179, s.tmp_0, s.rxl___35320, s.ry___35232); - r0 = (s.rxl___35320 + s.dw___35330); + r0 = pxsim_ImageMethods.drawImage(globals.screen___28827, s.tmp_0, s.rxl___38969, s.ry___38881); + r0 = (s.rxl___38969 + s.dw___38979); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___35210); - s.rxl___35320 = (r0); + r0 = (s.tmp_0 % s.w___38859); + s.rxl___38969 = (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___35330; + r0 = s.dw___38979; { step = 18; continue; } case 17: - r0 = s.w___35210; + r0 = s.w___38859; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___35319 + s.tmp_1); - s.x___35319 = (r0); + r0 = (s.x___38968 + s.tmp_1); + s.x___38968 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___35232 + s.dh___35311); + r0 = (s.ry___38881 + s.dh___38960); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___35213); - s.ry___35232 = (r0); + r0 = (s.tmp_0 % s.h___38862); + s.ry___38881 = (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___35311; + r0 = s.dh___38960; { step = 21; continue; } case 20: - r0 = s.h___35213; + r0 = s.h___38862; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___35301 + s.tmp_1); - s.y___35301 = (r0); + r0 = (s.y___38950 + s.tmp_1); + s.y___38950 = (r0); { step = 15; continue; } case 22: case 23: @@ -5108,30 +5108,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P25834.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__P29482.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__P25834_mk(s) { +function scene_BackgroundLayer_draw__P29482_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P25834, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P29482, 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___35210: undefined, - h___35213: undefined, - pw___35216: undefined, - ph___35220: undefined, - rx___35229: undefined, - ry___35232: undefined, - y___35301: undefined, - py___35302: undefined, - dh___35311: undefined, - x___35319: undefined, - rxl___35320: undefined, - px___35326: undefined, - dw___35330: undefined, + w___38859: undefined, + h___38862: undefined, + pw___38865: undefined, + ph___38869: undefined, + rx___38878: undefined, + ry___38881: undefined, + y___38950: undefined, + py___38951: undefined, + dh___38960: undefined, + x___38968: undefined, + rxl___38969: undefined, + px___38975: undefined, + dw___38979: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5141,7 +5141,7 @@ function scene_BackgroundLayer_draw__P25834_mk(s) { -function helpers_arraySort__P23251(s) { +function helpers_arraySort__P26899(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5173,10 +5173,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P35053); + s.arg1 = (helpers_arraySort_inline__P38702); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P27571_mk(s); + s.tmp_0 = helpers_sortHelper__P31219_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; @@ -5185,12 +5185,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P23251.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__P26899.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__P23251_mk(s) { +function helpers_arraySort__P26899_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P23251, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P26899, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5204,7 +5204,7 @@ function helpers_arraySort__P23251_mk(s) { -function helpers_arraySort_inline__P35053(s) { +function helpers_arraySort_inline__P38702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5214,26 +5214,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___35056 = undefined; - s.bIsUndef___35060 = undefined; - s.aIsNull___35071 = undefined; - s.bIsNull___35075 = undefined; + s.aIsUndef___38705 = undefined; + s.bIsUndef___38709 = undefined; + s.aIsNull___38720 = undefined; + s.bIsNull___38724 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___35056 = (r0); + s.aIsUndef___38705 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___35060 = (r0); - s.tmp_0 = r0 = s.aIsUndef___35056; + s.bIsUndef___38709 = (r0); + s.tmp_0 = r0 = s.aIsUndef___38705; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___35060; + r0 = s.bIsUndef___38709; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -5243,13 +5243,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___35056); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___38705); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___35060); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___38709); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -5258,16 +5258,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___35071 = (r0); + s.aIsNull___38720 = (r0); r0 = (s.arg1 === null); - s.bIsNull___35075 = (r0); - s.tmp_0 = r0 = s.aIsNull___35071; + s.bIsNull___38724 = (r0); + s.tmp_0 = r0 = s.aIsNull___38720; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___35075; + r0 = s.bIsNull___38724; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -5277,13 +5277,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___35071); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___38720); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___35075); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___38724); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -5322,12 +5322,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P35053.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__P38702.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__P35053_mk(s) { +function helpers_arraySort_inline__P38702_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P35053, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P38702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5337,10 +5337,10 @@ function helpers_arraySort_inline__P35053_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___35056: undefined, - bIsUndef___35060: undefined, - aIsNull___35071: undefined, - bIsNull___35075: undefined, + aIsUndef___38705: undefined, + bIsUndef___38709: undefined, + aIsNull___38720: undefined, + bIsNull___38724: undefined, arg0: undefined, arg1: undefined, } } @@ -5349,7 +5349,7 @@ function helpers_arraySort_inline__P35053_mk(s) { -function helpers_sortHelper__P27571(s) { +function helpers_sortHelper__P31219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5359,9 +5359,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___35110 = undefined; - s.i___35113 = undefined; - s.j___35119 = undefined; + s.len___38759 = undefined; + s.i___38762 = undefined; + s.j___38768 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5389,28 +5389,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___35110 = (r0); - s.i___35113 = (0); + s.len___38759 = (r0); + s.i___38762 = (0); case 5: - s.tmp_1 = r0 = s.i___35113; - r0 = (s.len___35110 - 1); + s.tmp_1 = r0 = s.i___38762; + r0 = (s.len___38759 - 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___35113 + 1); - s.j___35119 = (r0); + r0 = (s.i___38762 + 1); + s.j___38768 = (r0); case 6: - r0 = (s.j___35119 < s.len___35110); + r0 = (s.j___38768 < s.len___38759); 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___35113); + r0 = pxsim_Array__getAt(s.arg0, s.i___38762); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___35119); + r0 = pxsim_Array__getAt(s.arg0, s.j___38768); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 0; s.pc = 12; return s.tmp_3; @@ -5421,21 +5421,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P27570_mk(s); + s.tmp_4 = helpers_swap__P31218_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___35113; - s.tmp_4.arg2 = s.j___35119; + s.tmp_4.arg1 = s.i___38762; + s.tmp_4.arg2 = s.j___38768; s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___35119 + 1); - s.j___35119 = (r0); + r0 = (s.j___38768 + 1); + s.j___38768 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___35113 + 1); - s.i___35113 = (r0); + r0 = (s.i___38762 + 1); + s.i___38762 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -5443,21 +5443,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P27571.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__P31219.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__P27571_mk(s) { +function helpers_sortHelper__P31219_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P27571, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P31219, 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___35110: undefined, - i___35113: undefined, - j___35119: undefined, + len___38759: undefined, + i___38762: undefined, + j___38768: undefined, arg0: undefined, arg1: undefined, } } @@ -5466,7 +5466,7 @@ function helpers_sortHelper__P27571_mk(s) { -function helpers_swap__P27570(s) { +function helpers_swap__P31218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5476,7 +5476,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___35148 = undefined; + s.temp___38797 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5484,28 +5484,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___35148 = (r0); + s.temp___38797 = (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___35148); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___38797); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P27570.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__P31218.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__P27570_mk(s) { +function helpers_swap__P31218_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P27570, depth: s.depth + 1, + parent: s, fn: helpers_swap__P31218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___35148: undefined, + temp___38797: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5515,7 +5515,7 @@ function helpers_swap__P27570_mk(s) { -function scene_Camera_update__P25945(s) { +function scene_Camera_update__P29593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5525,24 +5525,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___35429 = undefined; - s.percentComplete___35443 = undefined; - s.damp___35450 = undefined; - s.f___35459 = undefined; - s.x___35465 = undefined; - s.y___35472 = undefined; + s.elapsed___39078 = undefined; + s.percentComplete___39092 = undefined; + s.damp___39099 = undefined; + s.f___39108 = undefined; + s.x___39114 = undefined; + s.y___39121 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25928_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_1 = r0 = s.arg0; - s.tmp_3 = Sprite_x__P25501_mk(s); + s.tmp_3 = Sprite_x__P29149_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 959; s.pc = 9; return s.tmp_3; @@ -5551,7 +5551,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1).fields["_lastUpdatedSpriteX"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_y__P25503_mk(s); + s.tmp_2 = Sprite_y__P29151_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 960; s.pc = 10; return s.tmp_2; @@ -5559,16 +5559,16 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_lastUpdatedSpriteY"] = (s.tmp_1); - s.tmp_0 = scene_Camera_offsetX__P25934_mk(s); + s.tmp_0 = scene_Camera_offsetX__P29582_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_3 = Sprite_left__P25546_mk(s); + s.tmp_3 = Sprite_left__P29194_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 961; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; - s.tmp_6 = Sprite_width__P25544_mk(s); + s.tmp_6 = Sprite_width__P29192_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_6.arg0 = r0; s.callLocIdx = 962; s.pc = 13; return s.tmp_6; @@ -5579,7 +5579,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_8 = r0; r0 = (s.tmp_8 >> 1); s.tmp_7 = r0; @@ -5588,16 +5588,16 @@ switch (step) { s.callLocIdx = 963; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P25936_mk(s); + s.tmp_0 = scene_Camera_offsetY__P29584_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_3 = Sprite_top__P25550_mk(s); + s.tmp_3 = Sprite_top__P29198_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 964; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; s.tmp_2 = r0; - s.tmp_6 = Sprite_width__P25544_mk(s); + s.tmp_6 = Sprite_width__P29192_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_6.arg0 = r0; s.callLocIdx = 965; s.pc = 16; return s.tmp_6; @@ -5608,7 +5608,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25179); + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_8 = r0; r0 = (s.tmp_8 >> 1); s.tmp_7 = r0; @@ -5638,10 +5638,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___35429 = (r0); + s.elapsed___39078 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___35429 >= s.tmp_1); + r0 = (s.elapsed___39078 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -5650,49 +5650,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___35429 / s.tmp_0); - s.percentComplete___35443 = (r0); - s.damp___35450 = (1); - r0 = (s.percentComplete___35443 >= 0.75); + r0 = (s.elapsed___39078 / s.tmp_0); + s.percentComplete___39092 = (r0); + s.damp___39099 = (1); + r0 = (s.percentComplete___39092 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P23276_mk(s); + s.tmp_1 = Math_max__P26924_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___35443); + r0 = (1 - s.percentComplete___39092); s.tmp_1.arg1 = r0; s.callLocIdx = 969; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.damp___35450 = (r0); + s.damp___39099 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___35450); - s.f___35459 = (r0); + r0 = (s.tmp_0 * s.damp___39099); + s.f___39108 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___35459); + r0 = (s.tmp_1 * s.f___39108); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___35465 = (r0); + s.x___39114 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___35459); + r0 = (s.tmp_1 * s.f___39108); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___35472 = (r0); + s.y___39121 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___35465); + r0 = (s.tmp_2 + s.x___39114); 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___35472); + r0 = (s.tmp_2 + s.y___39121); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -5702,12 +5702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P25945.info = {"start":2563,"length":1477,"line":83,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P29593.info = {"start":2563,"length":1477,"line":83,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P25945_mk(s) { +function scene_Camera_update__P29593_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P25945, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P29593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5718,12 +5718,12 @@ function scene_Camera_update__P25945_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - elapsed___35429: undefined, - percentComplete___35443: undefined, - damp___35450: undefined, - f___35459: undefined, - x___35465: undefined, - y___35472: undefined, + elapsed___39078: undefined, + percentComplete___39092: undefined, + damp___39099: undefined, + f___39108: undefined, + x___39114: undefined, + y___39121: undefined, arg0: undefined, } } @@ -5731,7 +5731,7 @@ function scene_Camera_update__P25945_mk(s) { -function scene_Camera_offsetY__P25936(s) { +function scene_Camera_offsetY__P29584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5741,27 +5741,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___35491 = undefined; + s.scene___39140 = 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__C25928_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P26163_mk(s); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 948; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___35491 = (r0); - r0 = s.scene___35491.fields["tileMap"]; + s.scene___39140 = (r0); + r0 = s.scene___39140.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___35491.fields["tileMap"]; + r0 = s.scene___39140.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -5778,8 +5778,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_10 = tiles_TileMap_offsetY__P25889_mk(s); - r0 = s.scene___35491.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetY__P29537_mk(s); + r0 = s.scene___39140.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 950; s.pc = 6; return s.tmp_10; @@ -5800,12 +5800,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P25936.info = {"start":1152,"length":291,"line":39,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} +scene_Camera_offsetY__P29584.info = {"start":1152,"length":291,"line":39,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} -function scene_Camera_offsetY__P25936_mk(s) { +function scene_Camera_offsetY__P29584_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P25936, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P29584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5818,7 +5818,7 @@ function scene_Camera_offsetY__P25936_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___35491: undefined, + scene___39140: undefined, arg0: undefined, arg1: undefined, } } @@ -5827,7 +5827,7 @@ function scene_Camera_offsetY__P25936_mk(s) { -function tiles_TileMap_enabled__P25894(s) { +function tiles_TileMap_enabled__P29542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5842,7 +5842,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -5855,13 +5855,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P25894.info = {"start":10177,"length":66,"line":351,"column":8,"endLine":353,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P25894.isGetter = true; +tiles_TileMap_enabled__P29542.info = {"start":10177,"length":66,"line":351,"column":8,"endLine":353,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P29542.isGetter = true; -function tiles_TileMap_enabled__P25894_mk(s) { +function tiles_TileMap_enabled__P29542_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P25894, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P29542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5874,7 +5874,7 @@ function tiles_TileMap_enabled__P25894_mk(s) { -function tiles_TileMap_offsetY__P25889(s) { +function tiles_TileMap_offsetY__P29537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5890,17 +5890,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P23273_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P26921_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P23276_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P25891_mk(s); + s.tmp_1 = Math_max__P26924_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P29539_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 843; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25179); + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -5916,12 +5916,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P25889.info = {"start":9630,"length":123,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P29537.info = {"start":9630,"length":123,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_TileMap_offsetY__P25889_mk(s) { +function tiles_TileMap_offsetY__P29537_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P25889, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P29537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5936,7 +5936,7 @@ function tiles_TileMap_offsetY__P25889_mk(s) { -function tiles_TileMap_areaHeight__P25891(s) { +function tiles_TileMap_areaHeight__P29539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5951,7 +5951,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -5973,12 +5973,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P25891.info = {"start":9864,"length":93,"line":337,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P29539.info = {"start":9864,"length":93,"line":337,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_TileMap_areaHeight__P25891_mk(s) { +function tiles_TileMap_areaHeight__P29539_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P25891, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P29539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5992,7 +5992,7 @@ function tiles_TileMap_areaHeight__P25891_mk(s) { -function tiles_TileMap_scale__P25885(s) { +function tiles_TileMap_scale__P29533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6007,18 +6007,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P25885.info = {"start":9205,"length":55,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P25885.isGetter = true; +tiles_TileMap_scale__P29533.info = {"start":9205,"length":55,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P29533.isGetter = true; -function tiles_TileMap_scale__P25885_mk(s) { +function tiles_TileMap_scale__P29533_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P25885, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P29533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6027,7 +6027,7 @@ function tiles_TileMap_scale__P25885_mk(s) { -function tiles_TileMapData_height__P25867(s) { +function tiles_TileMapData_height__P29515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6042,18 +6042,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25864_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C29512_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P25867.info = {"start":6489,"length":65,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} -tiles_TileMapData_height__P25867.isGetter = true; +tiles_TileMapData_height__P29515.info = {"start":6489,"length":65,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P29515.isGetter = true; -function tiles_TileMapData_height__P25867_mk(s) { +function tiles_TileMapData_height__P29515_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P25867, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P29515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6062,7 +6062,7 @@ function tiles_TileMapData_height__P25867_mk(s) { -function scene_Camera_offsetY__P25935(s) { +function scene_Camera_offsetY__P29583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6077,18 +6077,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25928_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P25935.info = {"start":1084,"length":59,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} -scene_Camera_offsetY__P25935.isGetter = true; +scene_Camera_offsetY__P29583.info = {"start":1084,"length":59,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} +scene_Camera_offsetY__P29583.isGetter = true; -function scene_Camera_offsetY__P25935_mk(s) { +function scene_Camera_offsetY__P29583_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P25935, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P29583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6097,7 +6097,7 @@ function scene_Camera_offsetY__P25935_mk(s) { -function scene_Camera_offsetX__P25934(s) { +function scene_Camera_offsetX__P29582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6107,27 +6107,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___35533 = undefined; + s.scene___39182 = 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__C25928_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P26163_mk(s); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 945; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___35533 = (r0); - r0 = s.scene___35533.fields["tileMap"]; + s.scene___39182 = (r0); + r0 = s.scene___39182.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___35533.fields["tileMap"]; + r0 = s.scene___39182.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -6144,8 +6144,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_10 = tiles_TileMap_offsetX__P25888_mk(s); - r0 = s.scene___35533.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetX__P29536_mk(s); + r0 = s.scene___39182.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 947; s.pc = 6; return s.tmp_10; @@ -6166,12 +6166,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P25934.info = {"start":784,"length":291,"line":28,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} +scene_Camera_offsetX__P29582.info = {"start":784,"length":291,"line":28,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} -function scene_Camera_offsetX__P25934_mk(s) { +function scene_Camera_offsetX__P29582_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P25934, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P29582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6184,7 +6184,7 @@ function scene_Camera_offsetX__P25934_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___35533: undefined, + scene___39182: undefined, arg0: undefined, arg1: undefined, } } @@ -6193,7 +6193,7 @@ function scene_Camera_offsetX__P25934_mk(s) { -function tiles_TileMap_offsetX__P25888(s) { +function tiles_TileMap_offsetX__P29536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6209,17 +6209,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P23273_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P26921_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P23276_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P25890_mk(s); + s.tmp_1 = Math_max__P26924_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P29538_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 840; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -6235,12 +6235,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P25888.info = {"start":9499,"length":121,"line":325,"column":8,"endLine":327,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P29536.info = {"start":9499,"length":121,"line":325,"column":8,"endLine":327,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_TileMap_offsetX__P25888_mk(s) { +function tiles_TileMap_offsetX__P29536_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P25888, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P29536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6255,7 +6255,7 @@ function tiles_TileMap_offsetX__P25888_mk(s) { -function tiles_TileMap_areaWidth__P25890(s) { +function tiles_TileMap_areaWidth__P29538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6270,7 +6270,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6292,12 +6292,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P25890.info = {"start":9763,"length":91,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P29538.info = {"start":9763,"length":91,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_TileMap_areaWidth__P25890_mk(s) { +function tiles_TileMap_areaWidth__P29538_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P25890, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P29538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6311,7 +6311,7 @@ function tiles_TileMap_areaWidth__P25890_mk(s) { -function tiles_TileMapData_width__P25866(s) { +function tiles_TileMapData_width__P29514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6326,18 +6326,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25864_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C29512_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P25866.info = {"start":6416,"length":63,"line":214,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} -tiles_TileMapData_width__P25866.isGetter = true; +tiles_TileMapData_width__P29514.info = {"start":6416,"length":63,"line":214,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P29514.isGetter = true; -function tiles_TileMapData_width__P25866_mk(s) { +function tiles_TileMapData_width__P29514_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P25866, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P29514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6346,7 +6346,7 @@ function tiles_TileMapData_width__P25866_mk(s) { -function scene_Camera_offsetX__P25933(s) { +function scene_Camera_offsetX__P29581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6361,18 +6361,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25928_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P25933.info = {"start":716,"length":59,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} -scene_Camera_offsetX__P25933.isGetter = true; +scene_Camera_offsetX__P29581.info = {"start":716,"length":59,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} +scene_Camera_offsetX__P29581.isGetter = true; -function scene_Camera_offsetX__P25933_mk(s) { +function scene_Camera_offsetX__P29581_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P25933, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P29581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6381,7 +6381,7 @@ function scene_Camera_offsetX__P25933_mk(s) { -function Sprite_top__P25550(s) { +function Sprite_top__P29198(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6396,20 +6396,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P25550.info = {"start":11544,"length":53,"line":416,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P25550.isGetter = true; +Sprite_top__P29198.info = {"start":11544,"length":53,"line":416,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P29198.isGetter = true; -function Sprite_top__P25550_mk(s) { +function Sprite_top__P29198_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P25550, depth: s.depth + 1, + parent: s, fn: Sprite_top__P29198, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6419,7 +6419,7 @@ function Sprite_top__P25550_mk(s) { -function Fx_toFloat__P23319(s) { +function Fx_toFloat__P26967(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6437,12 +6437,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P23319.info = {"start":2470,"length":81,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} +Fx_toFloat__P26967.info = {"start":2470,"length":81,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} -function Fx_toFloat__P23319_mk(s) { +function Fx_toFloat__P26967_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P23319, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P26967, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6451,7 +6451,7 @@ function Fx_toFloat__P23319_mk(s) { -function Sprite_left__P25546(s) { +function Sprite_left__P29194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6466,20 +6466,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P25546.info = {"start":10709,"length":53,"line":386,"column":4,"endLine":388,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P25546.isGetter = true; +Sprite_left__P29194.info = {"start":10709,"length":53,"line":386,"column":4,"endLine":388,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P29194.isGetter = true; -function Sprite_left__P25546_mk(s) { +function Sprite_left__P29194_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P25546, depth: s.depth + 1, + parent: s, fn: Sprite_left__P29194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6489,7 +6489,7 @@ function Sprite_left__P25546_mk(s) { -function Sprite_width__P25544(s) { +function Sprite_width__P29192(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6504,20 +6504,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_width__P25544.info = {"start":10374,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P25544.isGetter = true; +Sprite_width__P29192.info = {"start":10374,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P29192.isGetter = true; -function Sprite_width__P25544_mk(s) { +function Sprite_width__P29192_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P25544, depth: s.depth + 1, + parent: s, fn: Sprite_width__P29192, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6527,7 +6527,7 @@ function Sprite_width__P25544_mk(s) { -function Sprite_y__P25503(s) { +function Sprite_y__P29151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6542,7 +6542,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = s.arg0.fields["_height"]; @@ -6557,13 +6557,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P25503.info = {"start":2893,"length":100,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P25503.isGetter = true; +Sprite_y__P29151.info = {"start":2893,"length":100,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P29151.isGetter = true; -function Sprite_y__P25503_mk(s) { +function Sprite_y__P29151_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P25503, depth: s.depth + 1, + parent: s, fn: Sprite_y__P29151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6577,7 +6577,7 @@ function Sprite_y__P25503_mk(s) { -function Fx_div__P23308(s) { +function Fx_div__P26956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6598,12 +6598,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P23308.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__P26956.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__P23308_mk(s) { +function Fx_div__P26956_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P23308, depth: s.depth + 1, + parent: s, fn: Fx_div__P26956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6614,7 +6614,7 @@ function Fx_div__P23308_mk(s) { -function Fx_add__P23303(s) { +function Fx_add__P26951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6633,12 +6633,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P23303.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__P26951.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__P23303_mk(s) { +function Fx_add__P26951_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P23303, depth: s.depth + 1, + parent: s, fn: Fx_add__P26951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6648,7 +6648,7 @@ function Fx_add__P23303_mk(s) { -function Sprite_x__P25501(s) { +function Sprite_x__P29149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6663,7 +6663,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = s.arg0.fields["_width"]; @@ -6678,13 +6678,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P25501.info = {"start":2537,"length":99,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P25501.isGetter = true; +Sprite_x__P29149.info = {"start":2537,"length":99,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P29149.isGetter = true; -function Sprite_x__P25501_mk(s) { +function Sprite_x__P29149_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P25501, depth: s.depth + 1, + parent: s, fn: Sprite_x__P29149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6698,7 +6698,7 @@ function Sprite_x__P25501_mk(s) { -function PhysicsEngine_move__P25664(s) { +function PhysicsEngine_move__P29312(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6714,17 +6714,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25658_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C29306_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P25664.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__P29312.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__P25664_mk(s) { +function PhysicsEngine_move__P29312_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P25664, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P29312, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6734,7 +6734,7 @@ function PhysicsEngine_move__P25664_mk(s) { -function PhysicsEngine_draw__P25663(s) { +function PhysicsEngine_draw__P29311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6749,17 +6749,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25658_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C29306_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P25663.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__P29311.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__P25663_mk(s) { +function PhysicsEngine_draw__P29311_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P25663, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P29311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6768,7 +6768,7 @@ function PhysicsEngine_draw__P25663_mk(s) { -function controller___update__P25312(s) { +function controller___update__P28960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6778,7 +6778,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___35794 = undefined; + s.dtms___39443 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -6786,12 +6786,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___35794 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P35801); + s.dtms___39443 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P39450); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___35794); - s.tmp_1 = helpers_arrayForEach__P23255_mk(s); - s.tmp_2 = controller_players__P25276_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___39443); + s.tmp_1 = helpers_arrayForEach__P26903_mk(s); + s.tmp_2 = controller_players__P28924_mk(s); s.callLocIdx = 194; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -6804,17 +6804,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P25312.info = {"start":13739,"length":137,"line":414,"column":4,"endLine":417,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P28960.info = {"start":13739,"length":137,"line":414,"column":4,"endLine":417,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} -function controller___update__P25312_mk(s) { +function controller___update__P28960_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P25312, depth: s.depth + 1, + parent: s, fn: controller___update__P28960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___35794: undefined, + dtms___39443: undefined, arg0: undefined, } } @@ -6822,7 +6822,7 @@ function controller___update__P25312_mk(s) { -function controller___update_inline__P35801(s) { +function controller___update_inline__P39450(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6836,7 +6836,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P25310_mk(s); + s.tmp_0 = controller_Controller___update__P28958_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 195; s.pc = 1; return s.tmp_0; @@ -6846,12 +6846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update_inline__P35801.info = {"start":13841,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller___update_inline__P39450.info = {"start":13841,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller___update_inline__P35801_mk(s) { +function controller___update_inline__P39450_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P35801, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P39450, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6861,7 +6861,7 @@ function controller___update_inline__P35801_mk(s) { -function controller_Controller___update__P25310(s) { +function controller_Controller___update__P28958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6877,7 +6877,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -6888,10 +6888,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__P35814); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P39463); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P23255_mk(s); + s.tmp_1 = helpers_arrayForEach__P26903_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -6902,12 +6902,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P25310.info = {"start":13217,"length":124,"line":396,"column":8,"endLine":399,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P28958.info = {"start":13217,"length":124,"line":396,"column":8,"endLine":399,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Controller___update__P25310_mk(s) { +function controller_Controller___update__P28958_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P25310, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P28958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6921,7 +6921,7 @@ function controller_Controller___update__P25310_mk(s) { -function controller_Controller___update_inline__P35814(s) { +function controller_Controller___update_inline__P39463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6935,7 +6935,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P25350_mk(s); + s.tmp_0 = controller_Button___update__P28998_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -6946,12 +6946,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P35814.info = {"start":13304,"length":25,"line":398,"column":33,"endLine":398,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +controller_Controller___update_inline__P39463.info = {"start":13304,"length":25,"line":398,"column":33,"endLine":398,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} -function controller_Controller___update_inline__P35814_mk(s) { +function controller_Controller___update_inline__P39463_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P35814, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P39463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6961,7 +6961,7 @@ function controller_Controller___update_inline__P35814_mk(s) { -function controller_Button___update__P25350(s) { +function controller_Button___update__P28998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6971,16 +6971,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___35830 = undefined; - s.interval___35839 = undefined; - s.count___35852 = undefined; + s.delay___39479 = undefined; + s.interval___39488 = undefined; + s.count___39501 = 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__C25336_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -7004,31 +7004,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___27948; + r0 = globals.defaultRepeatDelay___31596; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___35830 = (s.tmp_2); + s.delay___39479 = (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___27950; + r0 = globals.defaultRepeatInterval___31598; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___35839 = (s.tmp_2); + s.interval___39488 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___35830); + r0 = (s.tmp_1 < s.delay___39479); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -7037,26 +7037,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___35830); + r0 = (s.tmp_5 - s.delay___39479); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___35839); + r0 = (s.tmp_4 - s.interval___39488); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___35839); + r0 = (s.tmp_3 / s.interval___39488); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___35852 = (r0); + s.count___39501 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___35852 != s.tmp_1); + r0 = (s.count___39501 != 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__P27937_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P31585_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 208; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___35852); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___39501); case 9: case 10: case 11: @@ -7064,12 +7064,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P25350.info = {"start":7291,"length":704,"line":217,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Button___update__P28998.info = {"start":7291,"length":704,"line":217,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Button___update__P25350_mk(s) { +function controller_Button___update__P28998_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P25350, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P28998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7077,9 +7077,9 @@ function controller_Button___update__P25350_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___35830: undefined, - interval___35839: undefined, - count___35852: undefined, + delay___39479: undefined, + interval___39488: undefined, + count___39501: undefined, arg0: undefined, arg1: undefined, } } @@ -7088,7 +7088,7 @@ function controller_Button___update__P25350_mk(s) { -function controller_Button_raiseButtonRepeat__P27937(s) { +function controller_Button_raiseButtonRepeat__P31585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7103,8 +7103,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___27946); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___31594); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -7119,12 +7119,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P27937.info = {"start":3303,"length":211,"line":110,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P31585.info = {"start":3303,"length":211,"line":110,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -function controller_Button_raiseButtonRepeat__P27937_mk(s) { +function controller_Button_raiseButtonRepeat__P31585_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P27937, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P31585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7134,7 +7134,7 @@ function controller_Button_raiseButtonRepeat__P27937_mk(s) { -function controller_players__P25276(s) { +function controller_players__P28924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7144,25 +7144,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P25275_mk(s); + s.tmp_0 = controller__player1__P28923_mk(s); s.callLocIdx = 153; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P23256_mk(s); - s.tmp_0.arg0 = globals._players___27866; - s.tmp_0.arg1 = controller_players_inline__P35784; + s.tmp_0 = helpers_arrayFilter__P26904_mk(s); + s.tmp_0.arg0 = globals._players___31514; + s.tmp_0.arg1 = controller_players_inline__P39433; s.callLocIdx = 154; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P25276.info = {"start":1645,"length":144,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P28924.info = {"start":1645,"length":144,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} -function controller_players__P25276_mk(s) { +function controller_players__P28924_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P25276, depth: s.depth + 1, + parent: s, fn: controller_players__P28924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -7171,7 +7171,7 @@ function controller_players__P25276_mk(s) { -function controller_players_inline__P35784(s) { +function controller_players_inline__P39433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7195,12 +7195,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P35784.info = {"start":1767,"length":14,"line":55,"column":31,"endLine":55,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller_players_inline__P39433.info = {"start":1767,"length":14,"line":55,"column":31,"endLine":55,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller_players_inline__P35784_mk(s) { +function controller_players_inline__P39433_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P35784, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P39433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7212,7 +7212,7 @@ function controller_players_inline__P35784_mk(s) { -function helpers_arrayFilter__P23256(s) { +function helpers_arrayFilter__P26904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7222,31 +7222,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___32066 = undefined; - s.len___32068 = undefined; - s.i___32071 = undefined; - s.v___32076 = undefined; + s.res___35715 = undefined; + s.len___35717 = undefined; + s.i___35720 = undefined; + s.v___35725 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___32066 = (r0); + s.res___35715 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___32068 = (r0); - s.i___32071 = (0); + s.len___35717 = (r0); + s.i___35720 = (0); case 1: - r0 = (s.i___32071 < s.len___32068); + r0 = (s.i___35720 < s.len___35717); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___32071); - s.v___32076 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___35720); + s.v___35725 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___32076; - s.tmp_1.arg1 = s.i___32071; + s.tmp_1.arg0 = s.v___35725; + s.tmp_1.arg1 = s.i___35720; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: @@ -7254,30 +7254,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___32066, s.v___32076); + r0 = pxsim_Array__push(s.res___35715, s.v___35725); case 2: case 3: - r0 = (s.i___32071 + 1); - s.i___32071 = (r0); + r0 = (s.i___35720 + 1); + s.i___35720 = (r0); { step = 1; continue; } case 4: - r0 = s.res___32066; + r0 = s.res___35715; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P23256.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__P26904.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__P23256_mk(s) { +function helpers_arrayFilter__P26904_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P23256, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P26904, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___32066: undefined, - len___32068: undefined, - i___32071: undefined, - v___32076: undefined, + res___35715: undefined, + len___35717: undefined, + i___35720: undefined, + v___35725: undefined, arg0: undefined, arg1: undefined, } } @@ -7286,7 +7286,7 @@ function helpers_arrayFilter__P23256_mk(s) { -function controller__moveSprites__P25280(s) { +function controller__moveSprites__P28928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7296,13 +7296,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P23255_mk(s); - s.tmp_1 = controller_players__P25276_mk(s); + s.tmp_0 = helpers_arrayForEach__P26903_mk(s); + s.tmp_1 = controller_players__P28924_mk(s); s.callLocIdx = 155; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = controller__moveSprites_inline__P35579; + s.tmp_0.arg1 = controller__moveSprites_inline__P39228; s.callLocIdx = 157; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -7310,12 +7310,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P25280.info = {"start":2005,"length":180,"line":67,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P28928.info = {"start":2005,"length":180,"line":67,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} -function controller__moveSprites__P25280_mk(s) { +function controller__moveSprites__P28928_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P25280, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P28928, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7325,7 +7325,7 @@ function controller__moveSprites__P25280_mk(s) { -function controller__moveSprites_inline__P35579(s) { +function controller__moveSprites_inline__P39228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7339,7 +7339,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P25309_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P28957_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 156; s.pc = 1; return s.tmp_0; case 1: @@ -7348,12 +7348,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P35579.info = {"start":2151,"length":26,"line":70,"column":26,"endLine":70,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller__moveSprites_inline__P39228.info = {"start":2151,"length":26,"line":70,"column":26,"endLine":70,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller__moveSprites_inline__P35579_mk(s) { +function controller__moveSprites_inline__P39228_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P35579, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P39228, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7363,7 +7363,7 @@ function controller__moveSprites_inline__P35579_mk(s) { -function controller_Controller___preUpdate__P25309(s) { +function controller_Controller___preUpdate__P28957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7373,20 +7373,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___35586 = undefined; - s.svx___35587 = undefined; - s.svy___35588 = undefined; - s.svxInCricle___35623 = undefined; - s.svyInCircle___35625 = undefined; - s.sq___35627 = undefined; - s.scale___35642 = undefined; + s.deadSprites___39235 = undefined; + s.svx___39236 = undefined; + s.svy___39237 = undefined; + s.svxInCricle___39272 = undefined; + s.svyInCircle___39274 = undefined; + s.sq___39276 = undefined; + s.scale___39291 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P25286_mk(s); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P28934_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 167; s.pc = 18; return s.tmp_3; case 18: @@ -7402,21 +7402,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___35586 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___35586, false); + s.deadSprites___39235 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___39235, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___35587 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___35587, 0); + s.svx___39236 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___39236, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___35588 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___35588, 0); + s.svy___39237 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___39237, 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___35587; - s.tmp_5 = controller_Button_pressureLevel__P25348_mk(s); - s.tmp_6 = controller_Controller_right__P25291_mk(s); + s.tmp_1 = r0 = s.svx___39236; + s.tmp_5 = controller_Button_pressureLevel__P28996_mk(s); + s.tmp_6 = controller_Controller_right__P28939_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 168; s.pc = 20; return s.tmp_6; case 20: @@ -7426,8 +7426,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P25348_mk(s); - s.tmp_9 = controller_Controller_left__P25290_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P28996_mk(s); + s.tmp_9 = controller_Controller_left__P28938_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 170; s.pc = 22; return s.tmp_9; case 22: @@ -7442,9 +7442,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___35588; - s.tmp_4 = controller_Button_pressureLevel__P25348_mk(s); - s.tmp_5 = controller_Controller_down__P25293_mk(s); + s.tmp_0 = r0 = s.svy___39237; + s.tmp_4 = controller_Button_pressureLevel__P28996_mk(s); + s.tmp_5 = controller_Controller_down__P28941_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 172; s.pc = 24; return s.tmp_5; case 24: @@ -7454,8 +7454,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P25348_mk(s); - s.tmp_8 = controller_Controller_up__P25292_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P28996_mk(s); + s.tmp_8 = controller_Controller_up__P28940_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 174; s.pc = 26; return s.tmp_8; case 26: @@ -7472,14 +7472,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C25336_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P25291_mk(s); + s.tmp_1 = controller_Button__C28984_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P28939_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 176; 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__C25336_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C28984_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: @@ -7494,14 +7494,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C25336_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P25290_mk(s); + s.tmp_5 = controller_Button__C28984_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P28938_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 177; 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__C25336_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C28984_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: @@ -7516,18 +7516,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___35587; + s.tmp_8 = r0 = s.svx___39236; 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__C25336_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P25293_mk(s); + s.tmp_1 = controller_Button__C28984_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P28941_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 178; 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__C25336_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C28984_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: @@ -7542,14 +7542,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C25336_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P25292_mk(s); + s.tmp_5 = controller_Button__C28984_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P28940_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 179; 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__C25336_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C28984_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: @@ -7564,57 +7564,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___35588; + s.tmp_8 = r0 = s.svy___39237; 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___35623 = (r0); - s.tmp_0 = r0 = s.svxInCricle___35623; - r0 = pxsim_pxtrt_ldlocRef(s.svx___35587); + s.svxInCricle___39272 = (r0); + s.tmp_0 = r0 = s.svxInCricle___39272; + r0 = pxsim_pxtrt_ldlocRef(s.svx___39236); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___35625 = (r0); - s.tmp_0 = r0 = s.svyInCircle___35625; - r0 = pxsim_pxtrt_ldlocRef(s.svy___35588); + s.svyInCircle___39274 = (r0); + s.tmp_0 = r0 = s.svyInCircle___39274; + r0 = pxsim_pxtrt_ldlocRef(s.svy___39237); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___35587); + r0 = pxsim_pxtrt_ldlocRef(s.svx___39236); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___35587); + r0 = pxsim_pxtrt_ldlocRef(s.svx___39236); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___35588); + r0 = pxsim_pxtrt_ldlocRef(s.svy___39237); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___35588); + r0 = pxsim_pxtrt_ldlocRef(s.svy___39237); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___35627 = (r0); - r0 = (s.sq___35627 > 65536); + s.sq___39276 = (r0); + r0 = (s.sq___39276 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___35627); + r0 = (65536 / s.sq___39276); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___35642 = (r0); - s.tmp_0 = r0 = s.svxInCricle___35623; - s.tmp_3 = r0 = s.scale___35642; - r0 = pxsim_pxtrt_ldlocRef(s.svx___35587); + s.scale___39291 = (r0); + s.tmp_0 = r0 = s.svxInCricle___39272; + s.tmp_3 = r0 = s.scale___39291; + r0 = pxsim_pxtrt_ldlocRef(s.svx___39236); 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___35625; - s.tmp_3 = r0 = s.scale___35642; - r0 = pxsim_pxtrt_ldlocRef(s.svy___35588); + s.tmp_0 = r0 = s.svyInCircle___39274; + s.tmp_3 = r0 = s.scale___39291; + r0 = pxsim_pxtrt_ldlocRef(s.svy___39237); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -7623,15 +7623,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__P35660); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___35586); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___35587); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___35588); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___35623); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___35625); - s.tmp_1 = helpers_arrayForEach__P23255_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P25286_mk(s); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P39309); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___39235); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___39236); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___39237); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___39272); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___39274); + s.tmp_1 = helpers_arrayForEach__P26903_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P28934_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 180; s.pc = 36; return s.tmp_2; case 36: @@ -7641,20 +7641,20 @@ switch (step) { s.callLocIdx = 188; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___35586); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___39235); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P25287_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P28935_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P23256_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P25286_mk(s); + s.tmp_2 = helpers_arrayFilter__P26904_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P28934_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 189; 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__P35717; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P39366; s.callLocIdx = 190; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -7669,12 +7669,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P25309.info = {"start":10672,"length":2535,"line":330,"column":8,"endLine":394,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P28957.info = {"start":10672,"length":2535,"line":330,"column":8,"endLine":394,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -function controller_Controller___preUpdate__P25309_mk(s) { +function controller_Controller___preUpdate__P28957_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P25309, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P28957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7686,13 +7686,13 @@ function controller_Controller___preUpdate__P25309_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___35586: undefined, - svx___35587: undefined, - svy___35588: undefined, - svxInCricle___35623: undefined, - svyInCircle___35625: undefined, - sq___35627: undefined, - scale___35642: undefined, + deadSprites___39235: undefined, + svx___39236: undefined, + svy___39237: undefined, + svxInCricle___39272: undefined, + svyInCircle___39274: undefined, + sq___39276: undefined, + scale___39291: undefined, arg0: undefined, } } @@ -7700,7 +7700,7 @@ function controller_Controller___preUpdate__P25309_mk(s) { -function controller_Controller___preUpdate_inline__P35660(s) { +function controller_Controller___preUpdate_inline__P39309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7710,9 +7710,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___35663 = undefined; - s.vx___35664 = undefined; - s.vy___35665 = undefined; + s.s___39312 = undefined; + s.vx___39313 = undefined; + s.vy___39314 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -7730,7 +7730,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___35663 = (r0); + s.s___39312 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -7743,7 +7743,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___35664 = (r0); + s.vx___39313 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -7756,8 +7756,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___35665 = (r0); - r0 = s.s___35663.fields["flags"]; + s.vy___39314 = (r0); + r0 = s.s___39312.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -7771,14 +7771,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___35664); + r0 = pxsim_numops_toBoolDecr(s.vx___39313); if (!r0) { step = 3; continue; } - r0 = (s.s___35663).fields["_vx"] = (0); + r0 = (s.s___39312).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___35665); + r0 = pxsim_numops_toBoolDecr(s.vy___39314); if (!r0) { step = 5; continue; } - r0 = (s.s___35663).fields["_vy"] = (0); + r0 = (s.s___39312).fields["_vy"] = (0); case 5: case 6: case 7: @@ -7796,48 +7796,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___35664; + s.tmp_2 = r0 = s.vx___39313; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___35665; + r0 = s.vy___39314; 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___35663; + s.tmp_4 = r0 = s.s___39312; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___35664); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___39313); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___35663; + s.tmp_0 = r0 = s.s___39312; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___35665); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___39314); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___35664); + r0 = pxsim_numops_toBoolDecr(s.vx___39313); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___35663; + s.tmp_0 = r0 = s.s___39312; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___35664); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___39313); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___35665); + r0 = pxsim_numops_toBoolDecr(s.vy___39314); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___35663; + s.tmp_0 = r0 = s.s___39312; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___35665); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___39314); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -7854,12 +7854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P35660.info = {"start":11855,"length":1171,"line":361,"column":44,"endLine":389,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +controller_Controller___preUpdate_inline__P39309.info = {"start":11855,"length":1171,"line":361,"column":44,"endLine":389,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -function controller_Controller___preUpdate_inline__P35660_mk(s) { +function controller_Controller___preUpdate_inline__P39309_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P35660, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P39309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7868,9 +7868,9 @@ function controller_Controller___preUpdate_inline__P35660_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___35663: undefined, - vx___35664: undefined, - vy___35665: undefined, + s___39312: undefined, + vx___39313: undefined, + vy___39314: undefined, arg0: undefined, } } @@ -7878,7 +7878,7 @@ function controller_Controller___preUpdate_inline__P35660_mk(s) { -function controller_Controller___preUpdate_inline__P35717(s) { +function controller_Controller___preUpdate_inline__P39366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7903,12 +7903,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P35717.info = {"start":13153,"length":42,"line":393,"column":28,"endLine":393,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +controller_Controller___preUpdate_inline__P39366.info = {"start":13153,"length":42,"line":393,"column":28,"endLine":393,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} -function controller_Controller___preUpdate_inline__P35717_mk(s) { +function controller_Controller___preUpdate_inline__P39366_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P35717, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P39366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7920,7 +7920,7 @@ function controller_Controller___preUpdate_inline__P35717_mk(s) { -function controller_Button_pressureLevel__P25348(s) { +function controller_Button_pressureLevel__P28996(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7935,16 +7935,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C28984_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__C25336_v0_1_mk(s); + s.tmp_3 = controller_Button__C28984_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C25336_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C28984_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: @@ -7973,12 +7973,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P25348.info = {"start":6453,"length":311,"line":192,"column":8,"endLine":199,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} +controller_Button_pressureLevel__P28996.info = {"start":6453,"length":311,"line":192,"column":8,"endLine":199,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} -function controller_Button_pressureLevel__P25348_mk(s) { +function controller_Button_pressureLevel__P28996_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P25348, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P28996, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7993,7 +7993,7 @@ function controller_Button_pressureLevel__P25348_mk(s) { -function controller_Button_isPressed__P25347(s) { +function controller_Button_isPressed__P28995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8008,17 +8008,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P25347.info = {"start":6303,"length":57,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} +controller_Button_isPressed__P28995.info = {"start":6303,"length":57,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_Button_isPressed__P25347_mk(s) { +function controller_Button_isPressed__P28995_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P25347, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P28995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8027,7 +8027,7 @@ function controller_Button_isPressed__P25347_mk(s) { -function controller_Controller_down__P25293(s) { +function controller_Controller_down__P28941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8042,7 +8042,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -8051,13 +8051,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P25293.info = {"start":4131,"length":77,"line":145,"column":8,"endLine":147,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} -controller_Controller_down__P25293.isGetter = true; +controller_Controller_down__P28941.info = {"start":4131,"length":77,"line":145,"column":8,"endLine":147,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} +controller_Controller_down__P28941.isGetter = true; -function controller_Controller_down__P25293_mk(s) { +function controller_Controller_down__P28941_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P25293, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P28941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8068,7 +8068,7 @@ function controller_Controller_down__P25293_mk(s) { -function controller_Controller_button__P27931(s) { +function controller_Controller_button__P31579(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8084,7 +8084,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -8093,12 +8093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P27931.info = {"start":6666,"length":105,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P31579.info = {"start":6666,"length":105,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} -function controller_Controller_button__P27931_mk(s) { +function controller_Controller_button__P31579_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P27931, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P31579, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8110,7 +8110,7 @@ function controller_Controller_button__P27931_mk(s) { -function controller_Controller_up__P25292(s) { +function controller_Controller_up__P28940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8125,7 +8125,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -8134,13 +8134,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P25292.info = {"start":3979,"length":73,"line":137,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} -controller_Controller_up__P25292.isGetter = true; +controller_Controller_up__P28940.info = {"start":3979,"length":73,"line":137,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} +controller_Controller_up__P28940.isGetter = true; -function controller_Controller_up__P25292_mk(s) { +function controller_Controller_up__P28940_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P25292, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P28940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8151,7 +8151,7 @@ function controller_Controller_up__P25292_mk(s) { -function controller_Controller_right__P25291(s) { +function controller_Controller_right__P28939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8166,7 +8166,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -8175,13 +8175,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P25291.info = {"start":3823,"length":79,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} -controller_Controller_right__P25291.isGetter = true; +controller_Controller_right__P28939.info = {"start":3823,"length":79,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} +controller_Controller_right__P28939.isGetter = true; -function controller_Controller_right__P25291_mk(s) { +function controller_Controller_right__P28939_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P25291, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P28939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8192,7 +8192,7 @@ function controller_Controller_right__P25291_mk(s) { -function controller_Controller_left__P25290(s) { +function controller_Controller_left__P28938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8207,7 +8207,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -8216,13 +8216,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P25290.info = {"start":3666,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} -controller_Controller_left__P25290.isGetter = true; +controller_Controller_left__P28938.info = {"start":3666,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} +controller_Controller_left__P28938.isGetter = true; -function controller_Controller_left__P25290_mk(s) { +function controller_Controller_left__P28938_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P25290, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P28938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8233,7 +8233,7 @@ function controller_Controller_left__P25290_mk(s) { -function controller_Controller__controlledSprites__P25287(s) { +function controller_Controller__controlledSprites__P28935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8249,8 +8249,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P26163_mk(s); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P29811_mk(s); s.callLocIdx = 161; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -8263,12 +8263,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P25287.info = {"start":3300,"length":134,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} +controller_Controller__controlledSprites__P28935.info = {"start":3300,"length":134,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} -function controller_Controller__controlledSprites__P25287_mk(s) { +function controller_Controller__controlledSprites__P28935_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P25287, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P28935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8281,7 +8281,7 @@ function controller_Controller__controlledSprites__P25287_mk(s) { -function controller_Controller__controlledSprites__P25286(s) { +function controller_Controller__controlledSprites__P28934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8296,8 +8296,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P26163_mk(s); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P29811_mk(s); s.callLocIdx = 160; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -8309,13 +8309,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P25286.info = {"start":3158,"length":132,"line":101,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} -controller_Controller__controlledSprites__P25286.isGetter = true; +controller_Controller__controlledSprites__P28934.info = {"start":3158,"length":132,"line":101,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} +controller_Controller__controlledSprites__P28934.isGetter = true; -function controller_Controller__controlledSprites__P25286_mk(s) { +function controller_Controller__controlledSprites__P28934_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P25286, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P28934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8327,7 +8327,7 @@ function controller_Controller__controlledSprites__P25286_mk(s) { -function Fx_imul__P23307(s) { +function Fx_imul__P26955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8346,12 +8346,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P23307.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__P26955.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__P23307_mk(s) { +function Fx_imul__P26955_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P23307, depth: s.depth + 1, + parent: s, fn: Fx_imul__P26955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8361,7 +8361,7 @@ function Fx_imul__P23307_mk(s) { -function power_checkDeepSleep__P25077(s) { +function power_checkDeepSleep__P28725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8371,13 +8371,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___34305 = undefined; - s.to___34308 = undefined; - s.tmp_0 = power_init__P27775_mk(s); + s.p___37954 = undefined; + s.to___37957 = undefined; + s.tmp_0 = power_init__P31423_mk(s); s.callLocIdx = 76; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___27773; + s.tmp_0 = r0 = globals._poked___31421; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -8387,8 +8387,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___34305 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___27774; + s.p___37954 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___31422; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -8398,8 +8398,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___34308 = (s.tmp_1); - r0 = (s.to___34308 > 0); + s.to___37957 = (s.tmp_1); + r0 = (s.to___37957 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -8408,9 +8408,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___34305); + r0 = (s.tmp_2 - s.p___37954); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___34308); + r0 = (s.tmp_1 > s.to___37957); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -8436,12 +8436,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P25077.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P28725.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__P25077_mk(s) { +function power_checkDeepSleep__P28725_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P25077, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P28725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8450,15 +8450,15 @@ function power_checkDeepSleep__P25077_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___34305: undefined, - to___34308: undefined, + p___37954: undefined, + to___37957: undefined, } } -function power_init__P27775(s) { +function power_init__P31423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8468,7 +8468,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___27774 !== undefined); + r0 = (globals._timeout___31422 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -8478,21 +8478,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___27774 = (r0); - r0 = (globals._timeout___27774 > 0); + globals._timeout___31422 = (r0); + r0 = (globals._timeout___31422 > 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___27774 < 300000); + r0 = (globals._timeout___31422 < 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___27774 = (300000); + globals._timeout___31422 = (300000); case 5: case 6: case 7: @@ -8500,12 +8500,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P27775.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P31423.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__P27775_mk(s) { +function power_init__P31423_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P27775, depth: s.depth + 1, + parent: s, fn: power_init__P31423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8515,7 +8515,7 @@ function power_init__P27775_mk(s) { -function power_poke__P25076(s) { +function power_poke__P28724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8525,22 +8525,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P27775_mk(s); + s.tmp_0 = power_init__P31423_mk(s); s.callLocIdx = 75; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___27773 = (r0); + globals._poked___31421 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P25076.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P28724.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__P25076_mk(s) { +function power_poke__P28724_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P25076, depth: s.depth + 1, + parent: s, fn: power_poke__P28724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -8549,7 +8549,7 @@ function power_poke__P25076_mk(s) { -function control_EventContext_registerFrameHandler__P23549(s) { +function control_EventContext_registerFrameHandler__P27197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8559,8 +8559,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___32411 = undefined; - s.i___32420 = undefined; + s.fn___36060 = undefined; + s.i___36069 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8568,7 +8568,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23541_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C27189_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -8581,20 +8581,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__P27648_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P31296_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 51; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C23538_VT); - s.fn___32411 = (r0); - r0 = (s.fn___32411).fields["order"] = (s.arg1); - r0 = (s.fn___32411).fields["handler"] = (s.arg2); - s.i___32420 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C27186_VT); + s.fn___36060 = (r0); + r0 = (s.fn___36060).fields["order"] = (s.arg1); + r0 = (s.fn___36060).fields["handler"] = (s.arg2); + s.i___36069 = (0); case 3: - s.tmp_1 = r0 = s.i___32420; + s.tmp_1 = r0 = s.i___36069; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -8605,7 +8605,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___32420); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___36069); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -8614,29 +8614,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___32420, s.fn___32411); - r0 = s.fn___32411; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___36069, s.fn___36060); + r0 = s.fn___36060; { step = 7; continue; } case 4: case 5: - r0 = (s.i___32420 + 1); - s.i___32420 = (r0); + r0 = (s.i___36069 + 1); + s.i___36069 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___32411); - r0 = s.fn___32411; + r0 = pxsim_Array__push(s.tmp_0, s.fn___36060); + r0 = s.fn___36060; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P23549.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P27197.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -function control_EventContext_registerFrameHandler__P23549_mk(s) { +function control_EventContext_registerFrameHandler__P27197_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P23549, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P27197, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8646,8 +8646,8 @@ function control_EventContext_registerFrameHandler__P23549_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___32411: undefined, - i___32420: undefined, + fn___36060: undefined, + i___36069: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8657,7 +8657,7 @@ function control_EventContext_registerFrameHandler__P23549_mk(s) { -function control_EventContext_registerFrameCallbacks__P27648(s) { +function control_EventContext_registerFrameCallbacks__P31296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8667,13 +8667,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___32454 = undefined; + s.worker___36103 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23541_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C27189_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -8686,28 +8686,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___32454 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P32460); + s.worker___36103 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P36109); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___32454); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___36103); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P27648.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P31296.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -function control_EventContext_registerFrameCallbacks__P27648_mk(s) { +function control_EventContext_registerFrameCallbacks__P31296_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P27648, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P31296, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___32454: undefined, + worker___36103: undefined, arg0: undefined, } } @@ -8715,7 +8715,7 @@ function control_EventContext_registerFrameCallbacks__P27648_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P32460(s) { +function control_EventContext_registerFrameCallbacks_inline__P36109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8725,15 +8725,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___32490 = undefined; + s.delay___36139 = 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__P32466); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P36115); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P23513_mk(s); + s.tmp_2 = pauseUntil__P27161_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 45; s.pc = 5; return s.tmp_2; @@ -8756,14 +8756,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__P27647_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P31295_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 46; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___32490 = (r0); - s.tmp_0 = pause__P23559_mk(s); - s.tmp_0.arg0 = s.delay___32490; + s.delay___36139 = (r0); + s.tmp_0 = pause__P27207_mk(s); + s.tmp_0.arg0 = s.delay___36139; s.callLocIdx = 47; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -8774,24 +8774,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P32460.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P36109.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P32460_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P36109_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P32460, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P36109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___32490: undefined, + delay___36139: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P32466(s) { +function control_EventContext_registerFrameCallbacks_inline__P36115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8809,12 +8809,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P32466.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P36115.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P32466_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P36115_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P32466, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P36115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8824,7 +8824,7 @@ function control_EventContext_registerFrameCallbacks_inline__P32466_mk(s) { -function control_EventContext_runCallbacks__P27647(s) { +function control_EventContext_runCallbacks__P31295(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8834,44 +8834,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___32499 = undefined; - s.f___32512 = undefined; - s.unnamed302___U2 = undefined; - s.unnamed303___U3 = undefined; - s.now___32517 = undefined; - s.runtime___32520 = undefined; - s.realTimeInSample___32539 = undefined; - s.fps___32548 = undefined; - s.delay___32617 = undefined; + s.loopStart___36148 = undefined; + s.f___36161 = undefined; + s.unnamed950___U2 = undefined; + s.unnamed951___U3 = undefined; + s.now___36166 = undefined; + s.runtime___36169 = undefined; + s.realTimeInSample___36188 = undefined; + s.fps___36197 = undefined; + s.delay___36266 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23541_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C27189_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___32499 = (r0); + s.loopStart___36148 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___32499 - s.tmp_2); + r0 = (s.loopStart___36148 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___32499); - s.f___32512 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___36148); + s.f___36161 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed302___U2 = (r0); - s.unnamed303___U3 = (0); + s.unnamed950___U2 = (r0); + s.unnamed951___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed303___U3; - r0 = pxsim_Array__length(s.unnamed302___U2); + s.tmp_0 = r0 = s.unnamed951___U3; + r0 = pxsim_Array__length(s.unnamed950___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed302___U2, s.unnamed303___U3); - s.f___32512 = (r0); + r0 = pxsim_Array__getAt(s.unnamed950___U2, s.unnamed951___U3); + s.f___36161 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___32512; + s.tmp_2.arg0 = s.f___36161; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 43; s.pc = 11; return s.tmp_2; @@ -8883,19 +8883,19 @@ switch (step) { } case 11: r0 = s.retval; - r0 = (s.unnamed303___U3 + 1); - s.unnamed303___U3 = (r0); + r0 = (s.unnamed951___U3 + 1); + s.unnamed951___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed302___U2 = (undefined); + s.unnamed950___U2 = (undefined); r0 = pxsim.control.millis(); - s.now___32517 = (r0); - r0 = (s.now___32517 - s.loopStart___32499); - s.runtime___32520 = (r0); + s.now___36166 = (r0); + r0 = (s.now___36166 - s.loopStart___36148); + s.runtime___36169 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___32520); + r0 = (s.tmp_2 + s.runtime___36169); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -8923,9 +8923,9 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = s.arg0.fields["lastPerfDump"]; s.tmp_4 = r0; - r0 = (s.now___32517 - s.tmp_4); - s.realTimeInSample___32539 = (r0); - r0 = (s.arg0).fields["lastPerfDump"] = (s.now___32517); + r0 = (s.now___36166 - s.tmp_4); + s.realTimeInSample___36188 = (r0); + r0 = (s.arg0).fields["lastPerfDump"] = (s.now___36166); r0 = s.arg0.fields["framesInSample"]; s.tmp_0 = r0; r0 = s.arg0.fields["timeInSample"]; @@ -8933,8 +8933,8 @@ switch (step) { r0 = (s.tmp_2 / 1000); s.tmp_1 = r0; r0 = (s.tmp_0 / s.tmp_1); - s.fps___32548 = (r0); - r0 = pxsim.Math_.round(s.fps___32548); + s.fps___36197 = (r0); + r0 = pxsim.Math_.round(s.fps___36197); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 12); @@ -8946,21 +8946,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___23543 = (r0); - r0 = (s.fps___32548 < 99); + globals.control_EventContext_lastStats___27191 = (r0); + r0 = (s.fps___36197 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___23543) && (globals.control_EventContext_lastStats___23543).vtable) { + if ((globals.control_EventContext_lastStats___27191) && (globals.control_EventContext_lastStats___27191).vtable) { setupResume(s, 13); - pxsim_String__stringConv(globals.control_EventContext_lastStats___23543); + pxsim_String__stringConv(globals.control_EventContext_lastStats___27191); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___23543) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___27191) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___32548 * 10); + r0 = (s.fps___36197 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -8987,7 +8987,7 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___23543 = (r0); + globals.control_EventContext_lastStats___27191 = (r0); case 5: case 6: r0 = pxsim.control.profilingEnabled(); @@ -8996,7 +8996,7 @@ switch (step) { if (!r0) { step = 7; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; - r0 = (s.fps___32548 * 100); + r0 = (s.fps___36197 * 100); s.tmp_12 = r0; r0 = (s.tmp_12 | 0); s.tmp_11 = r0; @@ -9043,12 +9043,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, "ms/"); s.tmp_3 = r0; - if ((s.realTimeInSample___32539) && (s.realTimeInSample___32539).vtable) { + if ((s.realTimeInSample___36188) && (s.realTimeInSample___36188).vtable) { setupResume(s, 19); - pxsim_String__stringConv(s.realTimeInSample___32539); + pxsim_String__stringConv(s.realTimeInSample___36188); checkResumeConsumed(); return; - } else { s.retval = (s.realTimeInSample___32539) + ""; } + } else { s.retval = (s.realTimeInSample___36188) + ""; } case 19: r0 = s.retval; s.tmp_17 = r0; @@ -9065,24 +9065,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 9: case 10: - s.tmp_0 = Math_max__P23276_mk(s); + s.tmp_0 = Math_max__P26924_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___32520); + r0 = (20 - s.runtime___36169); s.tmp_0.arg1 = r0; s.callLocIdx = 44; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.delay___32617 = (r0); - r0 = s.delay___32617; + s.delay___36266 = (r0); + r0 = s.delay___36266; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P27647.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P31295.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_EventContext_runCallbacks__P27647_mk(s) { +function control_EventContext_runCallbacks__P31295_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P27647, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P31295, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9102,15 +9102,15 @@ function control_EventContext_runCallbacks__P27647_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - loopStart___32499: undefined, - f___32512: undefined, - unnamed302___U2: undefined, - unnamed303___U3: undefined, - now___32517: undefined, - runtime___32520: undefined, - realTimeInSample___32539: undefined, - fps___32548: undefined, - delay___32617: undefined, + loopStart___36148: undefined, + f___36161: undefined, + unnamed950___U2: undefined, + unnamed951___U3: undefined, + now___36166: undefined, + runtime___36169: undefined, + realTimeInSample___36188: undefined, + fps___36197: undefined, + delay___36266: undefined, arg0: undefined, } } @@ -9118,7 +9118,7 @@ function control_EventContext_runCallbacks__P27647_mk(s) { -function pauseUntil__P23513(s) { +function pauseUntil__P27161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9165,7 +9165,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P23512_mk(s); + s.tmp_0 = control___queuePollEvent__P27160_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -9177,12 +9177,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P23513.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__P27161.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__P23513_mk(s) { +function pauseUntil__P27161_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P23513, depth: s.depth + 1, + parent: s, fn: pauseUntil__P27161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9198,7 +9198,7 @@ function pauseUntil__P23513_mk(s) { -function control___queuePollEvent__P23512(s) { +function control___queuePollEvent__P27160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9208,16 +9208,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___32639 = undefined; + s.ev___36288 = 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__C27621_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C31269_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P27622_mk(s); + s.tmp_1 = control_PollEvent_constructor__P31270_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -9233,8 +9233,8 @@ switch (step) { s.callLocIdx = 28; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___32639 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___27624); + s.ev___36288 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___31272); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9242,19 +9242,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___32639); - globals._pollEventQueue___27624 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P27625); + r0 = pxsim_Array__push(s.tmp_2, s.ev___36288); + globals._pollEventQueue___31272 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P31273); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___27624, s.ev___32639); + r0 = pxsim_Array__push(globals._pollEventQueue___31272, s.ev___36288); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P23537_mk(s); - r0 = s.ev___32639.fields["eid"]; + s.tmp_0 = control_onEvent__P27185_mk(s); + r0 = s.ev___36288.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___32639.fields["vid"]; + r0 = s.ev___36288.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -9263,9 +9263,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___32639.fields["eid"]; + r0 = s.ev___36288.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___32639.fields["vid"]; + r0 = s.ev___36288.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -9278,17 +9278,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P23512.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__P27160.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__P23512_mk(s) { +function control___queuePollEvent__P27160_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P23512, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P27160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___32639: undefined, + ev___36288: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9298,7 +9298,7 @@ function control___queuePollEvent__P23512_mk(s) { -function control_pollEvents__P27625(s) { +function control_pollEvents__P31273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9308,31 +9308,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___32766 = undefined; - s.i___32769 = undefined; - s.ev___32775 = undefined; + s.now___36415 = undefined; + s.i___36418 = undefined; + s.ev___36424 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___27624); + r0 = pxsim_Array__length(globals._pollEventQueue___31272); 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___32766 = (r0); - s.i___32769 = (0); + s.now___36415 = (r0); + s.i___36418 = (0); case 2: - s.tmp_1 = r0 = s.i___32769; - r0 = pxsim_Array__length(globals._pollEventQueue___27624); + s.tmp_1 = r0 = s.i___36418; + r0 = pxsim_Array__length(globals._pollEventQueue___31272); 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___27624, s.i___32769); - s.ev___32775 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___31272, s.i___36418); + s.ev___36424 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___32775; + s.tmp_1.arg0 = s.ev___36424; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 25; s.pc = 13; return s.tmp_1; @@ -9350,7 +9350,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___32775.fields["timeOut"]; + r0 = s.ev___36424.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -9359,11 +9359,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___32775.fields["start"]; + r0 = s.ev___36424.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___32766 - s.tmp_5); + r0 = (s.now___36415 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___32775.fields["timeOut"]; + r0 = s.ev___36424.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -9375,50 +9375,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___32775.fields["eid"]; + r0 = s.ev___36424.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___32775.fields["vid"]; + r0 = s.ev___36424.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___32775.fields["once"]; + r0 = s.ev___36424.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P23246_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___27624; - s.tmp_1.arg1 = s.i___32769; + s.tmp_1 = helpers_arraySplice__P26894_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___31272; + s.tmp_1.arg1 = s.i___36418; s.tmp_1.arg2 = 1; s.callLocIdx = 26; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___32769 - 1); - s.i___32769 = (r0); + r0 = (s.i___36418 - 1); + s.i___36418 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___32769 + 1); - s.i___32769 = (r0); + r0 = (s.i___36418 + 1); + s.i___36418 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P23559_mk(s); + s.tmp_0 = pause__P27207_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 27; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___27624 = (undefined); + globals._pollEventQueue___31272 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P27625.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P31273.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__P27625_mk(s) { +function control_pollEvents__P31273_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P27625, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P31273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9431,16 +9431,16 @@ function control_pollEvents__P27625_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___32766: undefined, - i___32769: undefined, - ev___32775: undefined, + now___36415: undefined, + i___36418: undefined, + ev___36424: undefined, } } -function helpers_arraySplice__P23246(s) { +function helpers_arraySplice__P26894(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9450,7 +9450,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___32823 = undefined; + s.i___36472 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9464,15 +9464,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___32823 = (0); + s.i___36472 = (0); case 3: - r0 = (s.i___32823 < s.arg2); + r0 = (s.i___36472 < 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___32823 + 1); - s.i___32823 = (r0); + r0 = (s.i___36472 + 1); + s.i___36472 = (r0); { step = 3; continue; } case 4: case 5: @@ -9480,15 +9480,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P23246.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__P26894.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__P23246_mk(s) { +function helpers_arraySplice__P26894_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P23246, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P26894, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___32823: undefined, + i___36472: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9498,7 +9498,7 @@ function helpers_arraySplice__P23246_mk(s) { -function control_PollEvent_constructor__P27622(s) { +function control_PollEvent_constructor__P31270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9519,7 +9519,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C27621_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C31269_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -9530,12 +9530,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P27622.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__P31270.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__P27622_mk(s) { +function control_PollEvent_constructor__P31270_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P27622, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P31270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9550,7 +9550,7 @@ function control_PollEvent_constructor__P27622_mk(s) { -function control_EventContext_deltaTime__P23546(s) { +function control_EventContext_deltaTime__P27194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9565,20 +9565,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23541_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C27189_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__P23546.info = {"start":2135,"length":75,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P23546.isGetter = true; +control_EventContext_deltaTime__P27194.info = {"start":2135,"length":75,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} +control_EventContext_deltaTime__P27194.isGetter = true; -function control_EventContext_deltaTime__P23546_mk(s) { +function control_EventContext_deltaTime__P27194_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P23546, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P27194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9588,7 +9588,7 @@ function control_EventContext_deltaTime__P23546_mk(s) { -function helpers_arrayForEach__P23255(s) { +function helpers_arrayForEach__P26903(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9598,49 +9598,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___30942 = undefined; - s.i___30945 = undefined; + s.len___34591 = undefined; + s.i___34594 = 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___30942 = (r0); - s.i___30945 = (0); + s.len___34591 = (r0); + s.i___34594 = (0); case 1: - r0 = (s.i___30945 < s.len___30942); + r0 = (s.i___34594 < s.len___34591); 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___30945); + r0 = pxsim_Array__getAt(s.arg0, s.i___34594); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___30945; + s.tmp_1.arg1 = s.i___34594; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 5; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___30945 + 1); - s.i___30945 = (r0); + r0 = (s.i___34594 + 1); + s.i___34594 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P23255.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__P26903.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__P23255_mk(s) { +function helpers_arrayForEach__P26903_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P23255, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P26903, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___30942: undefined, - i___30945: undefined, + len___34591: undefined, + i___34594: undefined, arg0: undefined, arg1: undefined, } } @@ -9649,7 +9649,7 @@ function helpers_arrayForEach__P23255_mk(s) { -function scene_Scene_constructor__P26013(s) { +function scene_Scene_constructor__P29661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9666,13 +9666,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25990_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C29638_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__C25674_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C29322_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P25675_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P29323_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -9681,17 +9681,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C25928_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C29576_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P25932_mk(s); + s.tmp_1 = scene_Camera_constructor__P29580_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 975; 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__C25816_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C29464_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P25820_mk(s); + s.tmp_1 = scene_Background_constructor__P29468_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -9752,12 +9752,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P26013.info = {"start":3586,"length":836,"line":106,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P29661.info = {"start":3586,"length":836,"line":106,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -function scene_Scene_constructor__P26013_mk(s) { +function scene_Scene_constructor__P29661_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P26013, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P29661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9770,7 +9770,7 @@ function scene_Scene_constructor__P26013_mk(s) { -function scene_Camera_constructor__P25932(s) { +function scene_Camera_constructor__P29580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9785,7 +9785,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25928_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -9794,12 +9794,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P25932.info = {"start":550,"length":156,"line":17,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} +scene_Camera_constructor__P29580.info = {"start":550,"length":156,"line":17,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} -function scene_Camera_constructor__P25932_mk(s) { +function scene_Camera_constructor__P29580_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P25932, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P29580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9808,7 +9808,7 @@ function scene_Camera_constructor__P25932_mk(s) { -function scene_Background_constructor__P25820(s) { +function scene_Background_constructor__P29468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9824,7 +9824,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C25816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C29464_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -9835,12 +9835,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P25820.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__P29468.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__P25820_mk(s) { +function scene_Background_constructor__P29468_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P25820, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P29468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9852,7 +9852,7 @@ function scene_Background_constructor__P25820_mk(s) { -function ArcadePhysicsEngine_constructor__P25675(s) { +function ArcadePhysicsEngine_constructor__P29323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9870,33 +9870,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_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__C25593_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C29241_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P25594_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P29242_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 539; 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__P25677_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P29325_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 540; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P25681_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P29329_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 541; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P25679_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P29327_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 542; s.pc = 4; return s.tmp_0; @@ -9906,12 +9906,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P25675.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__P29323.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__P25675_mk(s) { +function ArcadePhysicsEngine_constructor__P29323_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P25675, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P29323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9925,7 +9925,7 @@ function ArcadePhysicsEngine_constructor__P25675_mk(s) { -function ArcadePhysicsEngine_maxStep__P25681(s) { +function ArcadePhysicsEngine_maxStep__P29329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9941,7 +9941,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9952,12 +9952,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P25681.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__P29329.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__P25681_mk(s) { +function ArcadePhysicsEngine_maxStep__P29329_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P25681, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P29329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9970,7 +9970,7 @@ function ArcadePhysicsEngine_maxStep__P25681_mk(s) { -function ArcadePhysicsEngine_maxStep__P25680(s) { +function ArcadePhysicsEngine_maxStep__P29328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9985,7 +9985,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -9994,13 +9994,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P25680.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__P25680.isGetter = true; +ArcadePhysicsEngine_maxStep__P29328.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__P29328.isGetter = true; -function ArcadePhysicsEngine_maxStep__P25680_mk(s) { +function ArcadePhysicsEngine_maxStep__P29328_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P25680, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P29328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10011,7 +10011,7 @@ function ArcadePhysicsEngine_maxStep__P25680_mk(s) { -function Fx_toInt__P23318(s) { +function Fx_toInt__P26966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10031,12 +10031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P23318.info = {"start":2379,"length":86,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} +Fx_toInt__P26966.info = {"start":2379,"length":86,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} -function Fx_toInt__P23318_mk(s) { +function Fx_toInt__P26966_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P23318, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P26966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10046,7 +10046,7 @@ function Fx_toInt__P23318_mk(s) { -function ArcadePhysicsEngine_minStep__P25679(s) { +function ArcadePhysicsEngine_minStep__P29327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10062,7 +10062,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10073,12 +10073,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P25679.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__P29327.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__P25679_mk(s) { +function ArcadePhysicsEngine_minStep__P29327_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P25679, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P29327, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10091,7 +10091,7 @@ function ArcadePhysicsEngine_minStep__P25679_mk(s) { -function ArcadePhysicsEngine_minStep__P25678(s) { +function ArcadePhysicsEngine_minStep__P29326(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10106,7 +10106,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10115,13 +10115,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P25678.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__P25678.isGetter = true; +ArcadePhysicsEngine_minStep__P29326.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__P29326.isGetter = true; -function ArcadePhysicsEngine_minStep__P25678_mk(s) { +function ArcadePhysicsEngine_minStep__P29326_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P25678, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P29326, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10132,7 +10132,7 @@ function ArcadePhysicsEngine_minStep__P25678_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P25677(s) { +function ArcadePhysicsEngine_maxSpeed__P29325(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10148,7 +10148,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10165,12 +10165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P25677.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__P29325.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__P25677_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P29325_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P25677, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P29325, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10183,7 +10183,7 @@ function ArcadePhysicsEngine_maxSpeed__P25677_mk(s) { -function Fx_neg__P23301(s) { +function Fx_neg__P26949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10201,12 +10201,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P23301.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__P26949.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__P23301_mk(s) { +function Fx_neg__P26949_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P23301, depth: s.depth + 1, + parent: s, fn: Fx_neg__P26949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10215,7 +10215,7 @@ function Fx_neg__P23301_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P25676(s) { +function ArcadePhysicsEngine_maxSpeed__P29324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10230,7 +10230,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10239,13 +10239,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P25676.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__P25676.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P29324.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__P29324.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P25676_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P29324_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P25676, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P29324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10256,7 +10256,7 @@ function ArcadePhysicsEngine_maxSpeed__P25676_mk(s) { -function PhysicsEngine_constructor__P25659(s) { +function PhysicsEngine_constructor__P29307(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10271,17 +10271,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25658_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C29306_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P25659.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__P29307.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__P25659_mk(s) { +function PhysicsEngine_constructor__P29307_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P25659, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P29307, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10290,7 +10290,7 @@ function PhysicsEngine_constructor__P25659_mk(s) { -function sprites_SpriteMap_constructor__P25594(s) { +function sprites_SpriteMap_constructor__P29242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10305,7 +10305,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25593_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -10314,12 +10314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P25594.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__P29242.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__P25594_mk(s) { +function sprites_SpriteMap_constructor__P29242_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P25594, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P29242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10330,7 +10330,7 @@ function sprites_SpriteMap_constructor__P25594_mk(s) { -function control_pushEventContext__P23555(s) { +function control_pushEventContext__P27203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10340,63 +10340,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___35893 = undefined; - s.n___35899 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___27650); + s.ctx___39542 = undefined; + s.n___39548 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___31298); 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___27650 = (r0); + globals.eventContexts___31298 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P23554_mk(s); + s.tmp_0 = control_eventContext__P27202_mk(s); s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___35893 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___35893); + s.ctx___39542 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___39542); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P23548_mk(s); - s.tmp_0.arg0 = s.ctx___35893; + s.tmp_0 = control_EventContext_unregister__P27196_mk(s); + s.tmp_0.arg0 = s.ctx___39542; s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C23541_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C27189_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P23545_mk(s); + s.tmp_1 = control_EventContext_constructor__P27193_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 56; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___35899 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___27650, s.n___35899); - r0 = s.n___35899; + s.n___39548 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___31298, s.n___39548); + r0 = s.n___39548; return leave(s, r0) default: oops() } } } -control_pushEventContext__P23555.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P27203.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -function control_pushEventContext__P23555_mk(s) { +function control_pushEventContext__P27203_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P23555, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P27203, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___35893: undefined, - n___35899: undefined, + ctx___39542: undefined, + n___39548: undefined, } } -function control_EventContext_unregister__P23548(s) { +function control_EventContext_unregister__P27196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10406,37 +10406,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___35928 = undefined; - s.unnamed306___U1 = undefined; - s.unnamed307___U2 = undefined; + s.h___39577 = undefined; + s.unnamed954___U1 = undefined; + s.unnamed955___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23541_VT)) failedCast(r0); - s.h___35928 = (undefined); + if (!checkSubtype(r0, control_EventContext__C27189_VT)) failedCast(r0); + s.h___39577 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed306___U1 = (r0); - s.unnamed307___U2 = (0); + s.unnamed954___U1 = (r0); + s.unnamed955___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed307___U2; - r0 = pxsim_Array__length(s.unnamed306___U1); + s.tmp_0 = r0 = s.unnamed955___U2; + r0 = pxsim_Array__length(s.unnamed954___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed306___U1, s.unnamed307___U2); - s.h___35928 = (r0); - s.tmp_2 = control_EventHandler_unregister__P27644_mk(s); - s.tmp_2.arg0 = s.h___35928; + r0 = pxsim_Array__getAt(s.unnamed954___U1, s.unnamed955___U2); + s.h___39577 = (r0); + s.tmp_2 = control_EventHandler_unregister__P31292_mk(s); + s.tmp_2.arg0 = s.h___39577; s.callLocIdx = 50; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed307___U2 + 1); - s.unnamed307___U2 = (r0); + r0 = (s.unnamed955___U2 + 1); + s.unnamed955___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed306___U1 = (undefined); + s.unnamed954___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -10447,19 +10447,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P23548.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P27196.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventContext_unregister__P23548_mk(s) { +function control_EventContext_unregister__P27196_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P23548, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P27196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___35928: undefined, - unnamed306___U1: undefined, - unnamed307___U2: undefined, + h___39577: undefined, + unnamed954___U1: undefined, + unnamed955___U2: undefined, arg0: undefined, } } @@ -10467,7 +10467,7 @@ function control_EventContext_unregister__P23548_mk(s) { -function control_EventHandler_unregister__P27644(s) { +function control_EventHandler_unregister__P31292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10482,24 +10482,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C27642_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C31290_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__P27646, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P31294, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P27644.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__P31292.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__P27644_mk(s) { +function control_EventHandler_unregister__P31292_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P27644, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P31292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10511,7 +10511,7 @@ function control_EventHandler_unregister__P27644_mk(s) { -function control_doNothing__P27646(s) { +function control_doNothing__P31294(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10525,12 +10525,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P27646.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P31294.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__P27646_mk(s) { +function control_doNothing__P31294_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P27646, depth: s.depth + 1, + parent: s, fn: control_doNothing__P31294, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -10538,7 +10538,7 @@ function control_doNothing__P27646_mk(s) { -function control_EventContext_constructor__P23545(s) { +function control_EventContext_constructor__P27193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10553,7 +10553,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23541_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C27189_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -10563,26 +10563,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___23543); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___27191); 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___23543 = (r0); + globals.control_EventContext_lastStats___27191 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P23545.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P27193.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -function control_EventContext_constructor__P23545_mk(s) { +function control_EventContext_constructor__P27193_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P23545, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P27193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10593,7 +10593,7 @@ function control_EventContext_constructor__P23545_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P25352(s) { +function controller_pauseUntilAnyButtonIsPressed__P29000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10613,12 +10613,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P25352.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P29000.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} -function controller_pauseUntilAnyButtonIsPressed__P25352_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P29000_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P25352, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P29000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -10626,7 +10626,7 @@ function controller_pauseUntilAnyButtonIsPressed__P25352_mk(s) { -function game_setWaitAnyButton__P26164(s) { +function game_setWaitAnyButton__P29812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10640,17 +10640,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___28154 = (s.arg0); + globals.__waitAnyButton___31802 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P26164.info = {"start":4881,"length":83,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P29812.info = {"start":4881,"length":83,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -function game_setWaitAnyButton__P26164_mk(s) { +function game_setWaitAnyButton__P29812_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P26164, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P29812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10659,7 +10659,7 @@ function game_setWaitAnyButton__P26164_mk(s) { -function Math_FastRandom_constructor__P26225(s) { +function Math_FastRandom_constructor__P29873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10675,7 +10675,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C26223_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C29871_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10690,12 +10690,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P26225.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__P29873.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__P26225_mk(s) { +function Math_FastRandom_constructor__P29873_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P26225, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P29873, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10706,7 +10706,7 @@ function Math_FastRandom_constructor__P26225_mk(s) { -function game_consoleOverlay_listener__P28484(s) { +function game_consoleOverlay_listener__P32132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10721,7 +10721,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28449); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___32097); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10741,9 +10741,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P23255_mk(s); - s.tmp_5 = helpers_arrayFilter__P23256_mk(s); - s.tmp_6 = helpers_stringSplit__P23268_mk(s); + s.tmp_4 = helpers_arrayForEach__P26903_mk(s); + s.tmp_5 = helpers_arrayFilter__P26904_mk(s); + s.tmp_6 = helpers_stringSplit__P26916_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -10751,27 +10751,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P36130; + s.tmp_5.arg1 = forEach_inline__P39779; s.callLocIdx = 1195; 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__P36135; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P39784; s.callLocIdx = 1197; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___28449); + r0 = pxsim_Array__length(globals.consoleStrings___32097); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___28462); + r0 = (s.tmp_1 > globals.consoleLines___32110); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P23246_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___28449; + s.tmp_2 = helpers_arraySplice__P26894_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___32097; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___28449); + r0 = pxsim_Array__length(globals.consoleStrings___32097); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___28462); + r0 = (s.tmp_3 - globals.consoleLines___32110); s.tmp_2.arg2 = r0; s.callLocIdx = 1198; s.pc = 11; return s.tmp_2; case 11: @@ -10783,12 +10783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P28484.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__P32132.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__P28484_mk(s) { +function game_consoleOverlay_listener__P32132_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P28484, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P32132, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10805,7 +10805,7 @@ function game_consoleOverlay_listener__P28484_mk(s) { -function forEach_inline__P36130(s) { +function forEach_inline__P39779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10829,12 +10829,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P36130.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__P39779.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__P36130_mk(s) { +function forEach_inline__P39779_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P36130, depth: s.depth + 1, + parent: s, fn: forEach_inline__P39779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10846,7 +10846,7 @@ function forEach_inline__P36130_mk(s) { -function game_consoleOverlay_listener_inline__P36135(s) { +function game_consoleOverlay_listener_inline__P39784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10856,45 +10856,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___36137 = undefined; + s.j___39786 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___36137 = (0); + s.j___39786 = (0); case 1: - s.tmp_1 = r0 = s.j___36137; + s.tmp_1 = r0 = s.j___39786; 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___28449; - s.tmp_5 = helpers_stringSlice__P23265_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___32097; + s.tmp_5 = helpers_stringSlice__P26913_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___36137; - r0 = (s.j___36137 + globals.consoleColumns___28472); + s.tmp_5.arg1 = s.j___39786; + r0 = (s.j___39786 + globals.consoleColumns___32120); s.tmp_5.arg2 = r0; s.callLocIdx = 1196; 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___36137 + globals.consoleColumns___28472); - s.j___36137 = (r0); + r0 = (s.j___39786 + globals.consoleColumns___32120); + s.j___39786 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P36135.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__P39784.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__P36135_mk(s) { +function game_consoleOverlay_listener_inline__P39784_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P36135, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P39784, 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 game_consoleOverlay_listener_inline__P36135_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___36137: undefined, + j___39786: undefined, arg0: undefined, } } @@ -10910,7 +10910,7 @@ function game_consoleOverlay_listener_inline__P36135_mk(s) { -function console_addListener__P23529(s) { +function console_addListener__P27177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10933,7 +10933,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___27628, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___31276, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -10944,18 +10944,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___27628, s.arg0); + r0 = pxsim_Array__push(globals.listeners___31276, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P23529.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__P27177.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__P23529_mk(s) { +function console_addListener__P27177_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P23529, depth: s.depth + 1, + parent: s, fn: console_addListener__P27177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10968,7 +10968,7 @@ function console_addListener__P23529_mk(s) { -function listeners_inline__P27627(s) { +function listeners_inline__P31275(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10988,12 +10988,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P27627.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__P31275.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__P27627_mk(s) { +function listeners_inline__P31275_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P27627, depth: s.depth + 1, + parent: s, fn: listeners_inline__P31275, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11003,7 +11003,7 @@ function listeners_inline__P27627_mk(s) { -function scene_systemMenu_register__P26270(s) { +function scene_systemMenu_register__P29918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11013,15 +11013,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___28403); + r0 = pxsim_numops_toBoolDecr(globals.instance___32051); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P25343_mk(s); - s.tmp_0.arg0 = globals.menu___25266; + s.tmp_0 = controller_Button_onEvent__P28991_mk(s); + s.tmp_0.arg0 = globals.menu___28914; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P26271; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P29919; s.callLocIdx = 1181; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -11030,12 +11030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P26270.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__P29918.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__P26270_mk(s) { +function scene_systemMenu_register__P29918_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P26270, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P29918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -11044,7 +11044,7 @@ function scene_systemMenu_register__P26270_mk(s) { -function scene_systemMenu_showSystemMenu__P26271(s) { +function scene_systemMenu_showSystemMenu__P29919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11054,27 +11054,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___28403); + r0 = pxsim_numops_toBoolDecr(globals.instance___32051); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P26167_mk(s); + s.tmp_0 = game_pushScene__P29815_mk(s); s.callLocIdx = 1182; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C26259_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C29907_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P26260_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P29908_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P26267; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P29915; s.tmp_1.arg2 = undefined; s.callLocIdx = 1183; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___28403 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P26261_mk(s); - s.tmp_0.arg0 = globals.instance___28403; + globals.instance___32051 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P29909_mk(s); + s.tmp_0.arg0 = globals.instance___32051; s.callLocIdx = 1184; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -11083,12 +11083,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P26271.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__P29919.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__P26271_mk(s) { +function scene_systemMenu_showSystemMenu__P29919_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P26271, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P29919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11098,7 +11098,7 @@ function scene_systemMenu_showSystemMenu__P26271_mk(s) { -function scene_systemMenu_buildOptionList__P26267(s) { +function scene_systemMenu_buildOptionList__P29915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11108,136 +11108,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___37515 = undefined; + s.options___41164 = undefined; r0 = pxsim_Array__mk(); - s.options___37515 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26251_VT); + s.options___41164 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C29899_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26252_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P29900_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___26281; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P37523; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P28409; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___29929; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P41172; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P32057; s.callLocIdx = 1164; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___37515, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26251_VT); + r0 = pxsim_Array__push(s.options___41164, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C29899_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26252_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P29900_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___26278; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P37537; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P28408; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___29926; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P41186; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P32056; s.callLocIdx = 1166; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___37515, s.tmp_0); + r0 = pxsim_Array__push(s.options___41164, 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__C26251_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C29899_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P26252_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P29900_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___26279; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P37552; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P28411; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___29927; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P41201; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P32059; s.callLocIdx = 1169; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___37515, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26251_VT); + r0 = pxsim_Array__push(s.options___41164, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C29899_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26252_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P29900_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___26284; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P37567; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P28410; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___29932; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P41216; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P32058; s.callLocIdx = 1171; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___37515, s.tmp_0); + r0 = pxsim_Array__push(s.options___41164, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26251_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C29899_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26252_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P29900_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___26285; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P37582; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P28413; + s.tmp_1.arg1 = globals.STATS_ICON___29933; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P41231; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P32061; s.callLocIdx = 1172; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___37515, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26251_VT); + r0 = pxsim_Array__push(s.options___41164, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C29899_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26252_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P29900_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___26283; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P37591; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P28414; + s.tmp_1.arg1 = globals.CONSOLE_ICON___29931; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P41240; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P32062; s.callLocIdx = 1174; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___37515, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26251_VT); + r0 = pxsim_Array__push(s.options___41164, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C29899_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26252_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P29900_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___26282; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P37600; - s.tmp_1.arg3 = scene_systemMenu_sleep__P28415; + s.tmp_1.arg1 = globals.SLEEP_ICON___29930; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P41249; + s.tmp_1.arg3 = scene_systemMenu_sleep__P32063; s.callLocIdx = 1175; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___37515, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___28404); + r0 = pxsim_Array__push(s.options___41164, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___32052); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P23259_mk(s); - s.tmp_0.arg0 = s.options___37515; - s.tmp_0.arg1 = globals.customMenuOptions___28404; + s.tmp_0 = helpers_arrayConcat__P26907_mk(s); + s.tmp_0.arg0 = s.options___41164; + s.tmp_0.arg1 = globals.customMenuOptions___32052; s.callLocIdx = 1176; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___37515 = (r0); + s.options___41164 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26251_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C29899_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26252_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P29900_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___26280; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P37613; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P26266; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___29928; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P41262; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P29914; s.callLocIdx = 1177; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___37515, s.tmp_0); - r0 = s.options___37515; + r0 = pxsim_Array__push(s.options___41164, s.tmp_0); + r0 = s.options___41164; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P26267.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__P29915.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__P26267_mk(s) { +function scene_systemMenu_buildOptionList__P29915_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P26267, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P29915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___37515: undefined, + options___41164: undefined, } } -function scene_systemMenu_buildOptionList_inline__P37523(s) { +function scene_systemMenu_buildOptionList_inline__P41172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11247,7 +11247,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P24768_mk(s); + s.tmp_3 = music_volume__P28416_mk(s); s.callLocIdx = 1163; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -11267,12 +11267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P37523.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__P41172.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__P37523_mk(s) { +function scene_systemMenu_buildOptionList_inline__P41172_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P37523, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P41172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11284,7 +11284,7 @@ function scene_systemMenu_buildOptionList_inline__P37523_mk(s) { -function scene_systemMenu_buildOptionList_inline__P37537(s) { +function scene_systemMenu_buildOptionList_inline__P41186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11294,7 +11294,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P24768_mk(s); + s.tmp_3 = music_volume__P28416_mk(s); s.callLocIdx = 1165; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -11314,12 +11314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P37537.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__P41186.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__P37537_mk(s) { +function scene_systemMenu_buildOptionList_inline__P41186_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P37537, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P41186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11331,7 +11331,7 @@ function scene_systemMenu_buildOptionList_inline__P37537_mk(s) { -function scene_systemMenu_buildOptionList_inline__P37552(s) { +function scene_systemMenu_buildOptionList_inline__P41201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11341,7 +11341,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___25098; + r0 = globals.brightness___28746; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -11358,12 +11358,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P37552.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__P41201.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__P37552_mk(s) { +function scene_systemMenu_buildOptionList_inline__P41201_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P37552, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P41201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11374,7 +11374,7 @@ function scene_systemMenu_buildOptionList_inline__P37552_mk(s) { -function scene_systemMenu_buildOptionList_inline__P37567(s) { +function scene_systemMenu_buildOptionList_inline__P41216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11384,7 +11384,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___25098; + r0 = globals.brightness___28746; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -11401,12 +11401,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P37567.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__P41216.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__P37567_mk(s) { +function scene_systemMenu_buildOptionList_inline__P41216_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P37567, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P41216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11417,7 +11417,7 @@ function scene_systemMenu_buildOptionList_inline__P37567_mk(s) { -function scene_systemMenu_buildOptionList_inline__P37582(s) { +function scene_systemMenu_buildOptionList_inline__P41231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11427,7 +11427,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___26115); + r0 = pxsim_numops_toBoolDecr(globals.stats___29763); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -11440,12 +11440,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P37582.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__P41231.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__P37582_mk(s) { +function scene_systemMenu_buildOptionList_inline__P41231_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P37582, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P41231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -11454,7 +11454,7 @@ function scene_systemMenu_buildOptionList_inline__P37582_mk(s) { -function scene_systemMenu_buildOptionList_inline__P37591(s) { +function scene_systemMenu_buildOptionList_inline__P41240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11464,7 +11464,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28449); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___32097); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -11485,12 +11485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P37591.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__P41240.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__P37591_mk(s) { +function scene_systemMenu_buildOptionList_inline__P41240_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P37591, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P41240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11503,7 +11503,7 @@ function scene_systemMenu_buildOptionList_inline__P37591_mk(s) { -function scene_systemMenu_buildOptionList_inline__P37600(s) { +function scene_systemMenu_buildOptionList_inline__P41249(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11517,12 +11517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P37600.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__P41249.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__P37600_mk(s) { +function scene_systemMenu_buildOptionList_inline__P41249_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P37600, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P41249, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11530,7 +11530,7 @@ function scene_systemMenu_buildOptionList_inline__P37600_mk(s) { -function scene_systemMenu_buildOptionList_inline__P37613(s) { +function scene_systemMenu_buildOptionList_inline__P41262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11544,12 +11544,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P37613.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__P41262.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__P37613_mk(s) { +function scene_systemMenu_buildOptionList_inline__P41262_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P37613, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P41262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11557,7 +11557,7 @@ function scene_systemMenu_buildOptionList_inline__P37613_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P28416(s) { +function scene_systemMenu_setScreenBrightnessSupported__P32064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11571,12 +11571,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P28416.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__P32064.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__P28416_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P32064_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P28416, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P32064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11584,7 +11584,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P28416_mk(s) { -function scene_systemMenu_sleep__P28415(s) { +function scene_systemMenu_sleep__P32063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11599,12 +11599,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P28415.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__P32063.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__P28415_mk(s) { +function scene_systemMenu_sleep__P32063_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P28415, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P32063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11612,7 +11612,7 @@ function scene_systemMenu_sleep__P28415_mk(s) { -function scene_systemMenu_toggleConsole__P28414(s) { +function scene_systemMenu_toggleConsole__P32062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11622,7 +11622,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28449); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___32097); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -11632,7 +11632,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__P26290_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P29938_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.callLocIdx = 1157; s.pc = 3; return s.tmp_4; @@ -11640,13 +11640,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P26290_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P29938_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.callLocIdx = 1158; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P23526_mk(s); + s.tmp_0 = console_log__P27174_mk(s); s.tmp_0.arg0 = "console"; s.callLocIdx = 1159; s.pc = 5; return s.tmp_0; case 5: @@ -11656,12 +11656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P28414.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__P32062.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__P28414_mk(s) { +function scene_systemMenu_toggleConsole__P32062_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P28414, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P32062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11674,7 +11674,7 @@ function scene_systemMenu_toggleConsole__P28414_mk(s) { -function game_consoleOverlay_setVisible__P26290(s) { +function game_consoleOverlay_setVisible__P29938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11690,7 +11690,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28449); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___32097); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -11711,26 +11711,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___28449 = (s.tmp_6); + globals.consoleStrings___32097 = (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___28448 = (s.arg1); + globals.consoleColor___32096 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P26290.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__P29938.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__P26290_mk(s) { +function game_consoleOverlay_setVisible__P29938_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P26290, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P29938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11747,7 +11747,7 @@ function game_consoleOverlay_setVisible__P26290_mk(s) { -function console_log__P23526(s) { +function console_log__P27174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11761,7 +11761,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P23522_mk(s); + s.tmp_0 = console_add__P27170_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 34; s.pc = 1; return s.tmp_0; @@ -11771,12 +11771,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P23526.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__P27174.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__P23526_mk(s) { +function console_log__P27174_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P23526, depth: s.depth + 1, + parent: s, fn: console_log__P27174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11786,7 +11786,7 @@ function console_log__P23526_mk(s) { -function console_add__P23522(s) { +function console_add__P27170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11796,58 +11796,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___37652 = undefined; - s.i___37661 = undefined; + s.text___41301 = undefined; + s.i___41310 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___23521); + r0 = (s.arg0 < globals.minPriority___27169); 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__P23528_mk(s); + s.tmp_1 = console_inspect__P27176_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 32; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___37652 = (r0); - if ((s.text___37652) && (s.text___37652).vtable) { + s.text___41301 = (r0); + if ((s.text___41301) && (s.text___41301).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___37652); + pxsim_String__stringConv(s.text___41301); checkResumeConsumed(); return; - } else { s.retval = (s.text___37652) + ""; } + } else { s.retval = (s.text___41301) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___37652 = (r0); - s.i___37661 = (0); + s.text___41301 = (r0); + s.i___41310 = (0); case 3: - s.tmp_1 = r0 = s.i___37661; - r0 = pxsim_Array__length(globals.listeners___27628); + s.tmp_1 = r0 = s.i___41310; + r0 = pxsim_Array__length(globals.listeners___31276); 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___27628, s.i___37661); + r0 = pxsim_Array__getAt(globals.listeners___31276, s.i___41310); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___37652; + s.tmp_3.arg1 = s.text___41301; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 33; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___37661 + 1); - s.i___37661 = (r0); + r0 = (s.i___41310 + 1); + s.i___41310 = (r0); { step = 3; continue; } case 4: case 5: @@ -11855,19 +11855,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P23522.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__P27170.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__P23522_mk(s) { +function console_add__P27170_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P23522, depth: s.depth + 1, + parent: s, fn: console_add__P27170, 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___37652: undefined, - i___37661: undefined, + text___41301: undefined, + i___41310: undefined, arg0: undefined, arg1: undefined, } } @@ -11876,7 +11876,7 @@ function console_add__P23522_mk(s) { -function console_inspect__P23528(s) { +function console_inspect__P27176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11886,10 +11886,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___37692 = undefined; - s.asString___37710 = undefined; - s.keys___37722 = undefined; - s.snipped___37726 = undefined; + s.asArr___41341 = undefined; + s.asString___41359 = undefined; + s.keys___41371 = undefined; + s.snipped___41375 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11930,15 +11930,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___37692 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___37692); + s.asArr___41341 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___41341); 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__P23249_mk(s); - s.tmp_2.arg0 = s.asArr___37692; + s.tmp_2 = helpers_arrayJoin__P26897_mk(s); + s.tmp_2.arg0 = s.asArr___41341; s.tmp_2.arg1 = ","; s.callLocIdx = 35; s.pc = 19; return s.tmp_2; case 19: @@ -11948,9 +11948,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P23249_mk(s); - s.tmp_8 = helpers_arraySlice__P23261_mk(s); - s.tmp_8.arg0 = s.asArr___37692; + s.tmp_7 = helpers_arrayJoin__P26897_mk(s); + s.tmp_8 = helpers_arraySlice__P26909_mk(s); + s.tmp_8.arg0 = s.asArr___41341; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 36; s.pc = 21; return s.tmp_8; @@ -11990,46 +11990,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___37710 = (r0); - r0 = (s.asString___37710 != "[object Object]"); + s.asString___41359 = (r0); + r0 = (s.asString___41359 != "[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___37710 != "[Object]"); + r0 = (s.asString___41359 != "[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___37710; + r0 = s.asString___41359; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___37722 = (r0); - r0 = pxsim_Array__length(s.keys___37722); + s.keys___41371 = (r0); + r0 = pxsim_Array__length(s.keys___41371); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___37726 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___37726); + s.snipped___41375 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___41375); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P23261_mk(s); - s.tmp_0.arg0 = s.keys___37722; + s.tmp_0 = helpers_arraySlice__P26909_mk(s); + s.tmp_0.arg0 = s.keys___41371; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 38; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___37722 = (r0); + s.keys___41371 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P37743); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P41392); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___37726); + r0 = pxsim_numops_toBoolDecr(s.snipped___41375); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -12038,8 +12038,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P23258_mk(s); - s.tmp_7.arg0 = s.keys___37722; + s.tmp_7 = helpers_arrayReduce__P26906_mk(s); + s.tmp_7.arg0 = s.keys___41371; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -12088,12 +12088,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P23528.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__P27176.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__P23528_mk(s) { +function console_inspect__P27176_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P23528, depth: s.depth + 1, + parent: s, fn: console_inspect__P27176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12106,10 +12106,10 @@ function console_inspect__P23528_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___37692: undefined, - asString___37710: undefined, - keys___37722: undefined, - snipped___37726: undefined, + asArr___41341: undefined, + asString___41359: undefined, + keys___41371: undefined, + snipped___41375: undefined, arg0: undefined, arg1: undefined, } } @@ -12118,7 +12118,7 @@ function console_inspect__P23528_mk(s) { -function console_inspect_inline__P37743(s) { +function console_inspect_inline__P41392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12181,12 +12181,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P37743.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__P41392.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__P37743_mk(s) { +function console_inspect_inline__P41392_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P37743, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P41392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12204,7 +12204,7 @@ function console_inspect_inline__P37743_mk(s) { -function helpers_arraySlice__P23261(s) { +function helpers_arraySlice__P26909(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12214,9 +12214,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___36843 = undefined; - s.len___36845 = undefined; - s.i___36879 = undefined; + s.res___40492 = undefined; + s.len___40494 = undefined; + s.i___40528 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12224,9 +12224,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___36843 = (r0); + s.res___40492 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___36845 = (r0); + s.len___40494 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12238,8 +12238,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P23276_mk(s); - r0 = (s.len___36845 + s.arg1); + s.tmp_1 = Math_max__P26924_mk(s); + r0 = (s.len___40494 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 9; s.pc = 16; return s.tmp_1; @@ -12249,11 +12249,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___36845); + r0 = (s.arg1 > s.len___40494); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___36843; + r0 = s.res___40492; { step = 15; continue; } case 5: case 6: @@ -12261,57 +12261,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___36845); + s.arg2 = (s.len___40494); { 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___36845 + s.arg2); + r0 = (s.len___40494 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___36845); + r0 = (s.arg2 > s.len___40494); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___36845); + s.arg2 = (s.len___40494); case 11: case 12: - s.i___36879 = (s.arg1); + s.i___40528 = (s.arg1); case 13: - r0 = (s.i___36879 < s.arg2); + r0 = (s.i___40528 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___36843; - r0 = pxsim_Array__getAt(s.arg0, s.i___36879); + s.tmp_1 = r0 = s.res___40492; + r0 = pxsim_Array__getAt(s.arg0, s.i___40528); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___36879 + 1); - s.i___36879 = (r0); + r0 = (s.i___40528 + 1); + s.i___40528 = (r0); { step = 13; continue; } case 14: - r0 = s.res___36843; + r0 = s.res___40492; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P23261.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__P26909.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__P23261_mk(s) { +function helpers_arraySlice__P26909_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P23261, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P26909, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___36843: undefined, - len___36845: undefined, - i___36879: undefined, + res___40492: undefined, + len___40494: undefined, + i___40528: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12321,7 +12321,7 @@ function helpers_arraySlice__P23261_mk(s) { -function helpers_arrayReduce__P23258(s) { +function helpers_arrayReduce__P26906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12331,8 +12331,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___37770 = undefined; - s.i___37773 = undefined; + s.len___41419 = undefined; + s.i___41422 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12340,43 +12340,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___37770 = (r0); - s.i___37773 = (0); + s.len___41419 = (r0); + s.i___41422 = (0); case 1: - r0 = (s.i___37773 < s.len___37770); + r0 = (s.i___41422 < s.len___41419); 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___37773); + r0 = pxsim_Array__getAt(s.arg0, s.i___41422); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___37773; + s.tmp_1.arg2 = s.i___41422; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 8; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___37773 + 1); - s.i___37773 = (r0); + r0 = (s.i___41422 + 1); + s.i___41422 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P23258.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__P26906.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__P23258_mk(s) { +function helpers_arrayReduce__P26906_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P23258, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P26906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___37770: undefined, - i___37773: undefined, + len___41419: undefined, + i___41422: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12386,7 +12386,7 @@ function helpers_arrayReduce__P23258_mk(s) { -function helpers_arrayJoin__P23249(s) { +function helpers_arrayJoin__P26897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12396,9 +12396,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___37798 = undefined; - s.len___37799 = undefined; - s.i___37802 = undefined; + s.r___41447 = undefined; + s.len___41448 = undefined; + s.i___41451 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12421,16 +12421,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___37798 = (r0); + s.r___41447 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___37799 = (r0); - s.i___37802 = (0); + s.len___41448 = (r0); + s.i___41451 = (0); case 5: - r0 = (s.i___37802 < s.len___37799); + r0 = (s.i___41451 < s.len___41448); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___37802 > 0); + r0 = (s.i___41451 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -12443,12 +12443,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___37798) && (s.r___37798).vtable) { + if ((s.r___41447) && (s.r___41447).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___37798); + pxsim_String__stringConv(s.r___41447); checkResumeConsumed(); return; - } else { s.retval = (s.r___37798) + ""; } + } else { s.retval = (s.r___41447) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -12462,10 +12462,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___37798 = (r0); + s.r___41447 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___37802); + r0 = pxsim_Array__getAt(s.arg0, s.i___41451); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -12474,7 +12474,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___37802); + r0 = pxsim_Array__getAt(s.arg0, s.i___41451); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -12485,16 +12485,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___37802); + r0 = pxsim_Array__getAt(s.arg0, s.i___41451); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___37798) && (s.r___37798).vtable) { + if ((s.r___41447) && (s.r___41447).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___37798); + pxsim_String__stringConv(s.r___41447); checkResumeConsumed(); return; - } else { s.retval = (s.r___37798) + ""; } + } else { s.retval = (s.r___41447) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -12508,21 +12508,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___37798 = (r0); - r0 = (s.i___37802 + 1); - s.i___37802 = (r0); + s.r___41447 = (r0); + r0 = (s.i___41451 + 1); + s.i___41451 = (r0); { step = 5; continue; } case 14: - r0 = s.r___37798; + r0 = s.r___41447; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P23249.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__P26897.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__P23249_mk(s) { +function helpers_arrayJoin__P26897_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P23249, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P26897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12531,9 +12531,9 @@ function helpers_arrayJoin__P23249_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___37798: undefined, - len___37799: undefined, - i___37802: undefined, + r___41447: undefined, + len___41448: undefined, + i___41451: undefined, arg0: undefined, arg1: undefined, } } @@ -12542,7 +12542,7 @@ function helpers_arrayJoin__P23249_mk(s) { -function scene_systemMenu_toggleStats__P28413(s) { +function scene_systemMenu_toggleStats__P32061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12552,11 +12552,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___26115); + r0 = pxsim_numops_toBoolDecr(globals.stats___29763); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___26115 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___26115); + globals.stats___29763 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___29763); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -12565,14 +12565,14 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___23544; + r0 = globals.control_EventContext_onStats___27192; 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___23544; + s.tmp_3.argL = globals.control_EventContext_onStats___27192; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); @@ -12585,12 +12585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P28413.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__P32061.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__P28413_mk(s) { +function scene_systemMenu_toggleStats__P32061_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P28413, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P32061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12602,7 +12602,7 @@ function scene_systemMenu_toggleStats__P28413_mk(s) { -function scene_systemMenu_brightnessDown__P28411(s) { +function scene_systemMenu_brightnessDown__P32059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12612,8 +12612,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P28412_mk(s); - r0 = globals.brightness___25098; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P32060_mk(s); + r0 = globals.brightness___28746; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; @@ -12624,12 +12624,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P28411.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__P32059.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__P28411_mk(s) { +function scene_systemMenu_brightnessDown__P32059_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P28411, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P32059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12639,7 +12639,7 @@ function scene_systemMenu_brightnessDown__P28411_mk(s) { -function scene_systemMenu_setScreenBrightness__P28412(s) { +function scene_systemMenu_setScreenBrightness__P32060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12653,15 +12653,15 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P25112_mk(s); - s.tmp_0.arg0 = globals.screen___25179; + s.tmp_0 = helpers_setScreenBrightness__P28760_mk(s); + s.tmp_0.arg0 = globals.screen___28827; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1152; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P25210_mk(s); + s.tmp_0 = settings_writeNumber__P28858_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___25098; + r0 = globals.brightness___28746; s.tmp_0.arg1 = r0; s.callLocIdx = 1154; s.pc = 2; return s.tmp_0; case 2: @@ -12670,12 +12670,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P28412.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__P32060.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__P28412_mk(s) { +function scene_systemMenu_setScreenBrightness__P32060_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P28412, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P32060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12685,7 +12685,7 @@ function scene_systemMenu_setScreenBrightness__P28412_mk(s) { -function settings_writeNumber__P25210(s) { +function settings_writeNumber__P28858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12703,9 +12703,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__P25207_mk(s); + s.tmp_1 = settings_writeBuffer__P28855_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P23330_mk(s); + s.tmp_2 = msgpack_packNumberArray__P26978_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 125; s.pc = 2; return s.tmp_2; case 2: @@ -12718,12 +12718,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P25210.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__P28858.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__P25210_mk(s) { +function settings_writeNumber__P28858_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P25210, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P28858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12736,7 +12736,7 @@ function settings_writeNumber__P25210_mk(s) { -function settings_writeBuffer__P25207(s) { +function settings_writeBuffer__P28855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12763,12 +12763,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P25207.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__P28855.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__P25207_mk(s) { +function settings_writeBuffer__P28855_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P25207, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P28855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12779,7 +12779,7 @@ function settings_writeBuffer__P25207_mk(s) { -function msgpack_packNumberArray__P23330(s) { +function msgpack_packNumberArray__P26978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12789,100 +12789,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___37888 = undefined; - s.n___37890 = undefined; - s.unnamed298___U2 = undefined; - s.unnamed299___U3 = undefined; - s.buf___37900 = undefined; - s.n___37906 = undefined; - s.unnamed300___U6 = undefined; - s.unnamed301___U7 = undefined; + s.off___41537 = undefined; + s.n___41539 = undefined; + s.unnamed946___U2 = undefined; + s.unnamed947___U3 = undefined; + s.buf___41549 = undefined; + s.n___41555 = undefined; + s.unnamed948___U6 = undefined; + s.unnamed949___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___37888 = (0); - s.n___37890 = (undefined); - s.unnamed298___U2 = (s.arg0); - s.unnamed299___U3 = (0); + s.off___41537 = (0); + s.n___41539 = (undefined); + s.unnamed946___U2 = (s.arg0); + s.unnamed947___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed299___U3; - r0 = pxsim_Array__length(s.unnamed298___U2); + s.tmp_0 = r0 = s.unnamed947___U3; + r0 = pxsim_Array__length(s.unnamed946___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed298___U2, s.unnamed299___U3); - s.n___37890 = (r0); - s.tmp_2 = r0 = s.off___37888; - s.tmp_4 = msgpack_packNumberCore__P27587_mk(s); + r0 = pxsim_Array__getAt(s.unnamed946___U2, s.unnamed947___U3); + s.n___41539 = (r0); + s.tmp_2 = r0 = s.off___41537; + s.tmp_4 = msgpack_packNumberCore__P31235_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___37888; - s.tmp_4.arg2 = s.n___37890; + s.tmp_4.arg1 = s.off___41537; + s.tmp_4.arg2 = s.n___41539; s.callLocIdx = 22; 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___37888 = (r0); - r0 = (s.unnamed299___U3 + 1); - s.unnamed299___U3 = (r0); + s.off___41537 = (r0); + r0 = (s.unnamed947___U3 + 1); + s.unnamed947___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed298___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___37888); - s.buf___37900 = (r0); - s.off___37888 = (0); - s.n___37906 = (undefined); - s.unnamed300___U6 = (s.arg0); - s.unnamed301___U7 = (0); + s.unnamed946___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___41537); + s.buf___41549 = (r0); + s.off___41537 = (0); + s.n___41555 = (undefined); + s.unnamed948___U6 = (s.arg0); + s.unnamed949___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed301___U7; - r0 = pxsim_Array__length(s.unnamed300___U6); + s.tmp_0 = r0 = s.unnamed949___U7; + r0 = pxsim_Array__length(s.unnamed948___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed300___U6, s.unnamed301___U7); - s.n___37906 = (r0); - s.tmp_2 = r0 = s.off___37888; - s.tmp_4 = msgpack_packNumberCore__P27587_mk(s); - s.tmp_4.arg0 = s.buf___37900; - s.tmp_4.arg1 = s.off___37888; - s.tmp_4.arg2 = s.n___37906; + r0 = pxsim_Array__getAt(s.unnamed948___U6, s.unnamed949___U7); + s.n___41555 = (r0); + s.tmp_2 = r0 = s.off___41537; + s.tmp_4 = msgpack_packNumberCore__P31235_mk(s); + s.tmp_4.arg0 = s.buf___41549; + s.tmp_4.arg1 = s.off___41537; + s.tmp_4.arg2 = s.n___41555; s.callLocIdx = 23; 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___37888 = (r0); - r0 = (s.unnamed301___U7 + 1); - s.unnamed301___U7 = (r0); + s.off___41537 = (r0); + r0 = (s.unnamed949___U7 + 1); + s.unnamed949___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed300___U6 = (undefined); - r0 = s.buf___37900; + s.unnamed948___U6 = (undefined); + r0 = s.buf___41549; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P23330.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__P26978.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__P23330_mk(s) { +function msgpack_packNumberArray__P26978_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P23330, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P26978, 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___37888: undefined, - n___37890: undefined, - unnamed298___U2: undefined, - unnamed299___U3: undefined, - buf___37900: undefined, - n___37906: undefined, - unnamed300___U6: undefined, - unnamed301___U7: undefined, + off___41537: undefined, + n___41539: undefined, + unnamed946___U2: undefined, + unnamed947___U3: undefined, + buf___41549: undefined, + n___41555: undefined, + unnamed948___U6: undefined, + unnamed949___U7: undefined, arg0: undefined, } } @@ -12890,7 +12890,7 @@ function msgpack_packNumberArray__P23330_mk(s) { -function msgpack_packNumberCore__P27587(s) { +function msgpack_packNumberCore__P31235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12900,15 +12900,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___37920 = undefined; - s.fmt___37963 = undefined; + s.tag___41569 = undefined; + s.fmt___41612 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___37920 = (203); + s.tag___41569 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -12958,17 +12958,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___37920 = (204); + s.tag___41569 = (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___37920 = (205); + s.tag___41569 = (205); { step = 10; continue; } case 9: - s.tag___37920 = (206); + s.tag___41569 = (206); case 10: case 11: { step = 17; continue; } @@ -12977,41 +12977,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___37920 = (208); + s.tag___41569 = (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___37920 = (209); + s.tag___41569 = (209); { step = 15; continue; } case 14: - s.tag___37920 = (210); + s.tag___41569 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P27586_mk(s); - s.tmp_0.arg0 = s.tag___37920; + s.tmp_0 = msgpack_tagFormat__P31234_mk(s); + s.tmp_0.arg0 = s.tag___41569; s.callLocIdx = 18; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___37963 = (r0); + s.fmt___41612 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___37920); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___41569); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___37963; + s.tmp_1 = r0 = s.fmt___41612; 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__P23321_mk(s); - s.tmp_1.arg0 = s.fmt___37963; + s.tmp_1 = pins_sizeOf__P26969_mk(s); + s.tmp_1.arg0 = s.fmt___41612; s.callLocIdx = 19; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -13021,12 +13021,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P27587.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__P31235.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__P27587_mk(s) { +function msgpack_packNumberCore__P31235_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P27587, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P31235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13036,8 +13036,8 @@ function msgpack_packNumberCore__P27587_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___37920: undefined, - fmt___37963: undefined, + tag___41569: undefined, + fmt___41612: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13047,7 +13047,7 @@ function msgpack_packNumberCore__P27587_mk(s) { -function msgpack_tagFormat__P27586(s) { +function msgpack_tagFormat__P31234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13107,12 +13107,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P27586.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__P31234.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__P27586_mk(s) { +function msgpack_tagFormat__P31234_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P27586, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P31234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13122,7 +13122,7 @@ function msgpack_tagFormat__P27586_mk(s) { -function pins_sizeOf__P23321(s) { +function pins_sizeOf__P26969(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13136,7 +13136,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P23361_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P27009_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 17; s.pc = 1; return s.tmp_0; case 1: @@ -13144,12 +13144,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P23321.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__P26969.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__P23321_mk(s) { +function pins_sizeOf__P26969_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P23321, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P26969, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13159,7 +13159,7 @@ function pins_sizeOf__P23321_mk(s) { -function Buffer_sizeOfNumberFormat__P23361(s) { +function Buffer_sizeOfNumberFormat__P27009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13238,12 +13238,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P23361.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__P27009.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__P23361_mk(s) { +function Buffer_sizeOfNumberFormat__P27009_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P23361, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P27009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13253,7 +13253,7 @@ function Buffer_sizeOfNumberFormat__P23361_mk(s) { -function helpers_setScreenBrightness__P25112(s) { +function helpers_setScreenBrightness__P28760(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13268,7 +13268,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P23273_mk(s); + s.tmp_0 = Math_clamp__P26921_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -13277,18 +13277,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___25098 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___25098); + globals.brightness___28746 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___28746); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P25112.info = {"start":8945,"length":210,"line":282,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P28760.info = {"start":8945,"length":210,"line":282,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P25112_mk(s) { +function helpers_setScreenBrightness__P28760_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P25112, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P28760, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13299,7 +13299,7 @@ function helpers_setScreenBrightness__P25112_mk(s) { -function scene_systemMenu_brightnessUp__P28410(s) { +function scene_systemMenu_brightnessUp__P32058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13309,8 +13309,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P28412_mk(s); - r0 = globals.brightness___25098; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P32060_mk(s); + r0 = globals.brightness___28746; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; @@ -13321,12 +13321,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P28410.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__P32058.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__P28410_mk(s) { +function scene_systemMenu_brightnessUp__P32058_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P28410, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P32058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13336,7 +13336,7 @@ function scene_systemMenu_brightnessUp__P28410_mk(s) { -function scene_systemMenu_volumeDown__P28409(s) { +function scene_systemMenu_volumeDown__P32057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13346,29 +13346,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___38236 = undefined; - s.remainder___38239 = undefined; - s.newVolume___38242 = undefined; - s.tmp_0 = music_volume__P24768_mk(s); + s.v___41885 = undefined; + s.remainder___41888 = undefined; + s.newVolume___41891 = undefined; + s.tmp_0 = music_volume__P28416_mk(s); s.callLocIdx = 1146; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___38236 = (r0); - r0 = (s.v___38236 % 32); - s.remainder___38239 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___38239); + s.v___41885 = (r0); + r0 = (s.v___41885 % 32); + s.remainder___41888 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___41888); if (!r0) { step = 1; continue; } - r0 = s.remainder___38239; + r0 = s.remainder___41888; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___38236 - s.tmp_0); - s.newVolume___38242 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P28407_mk(s); - s.tmp_0.arg0 = s.newVolume___38242; + r0 = (s.v___41885 - s.tmp_0); + s.newVolume___41891 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P32055_mk(s); + s.tmp_0.arg0 = s.newVolume___41891; s.callLocIdx = 1147; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -13376,24 +13376,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P28409.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__P32057.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__P28409_mk(s) { +function scene_systemMenu_volumeDown__P32057_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P28409, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P32057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___38236: undefined, - remainder___38239: undefined, - newVolume___38242: undefined, + v___41885: undefined, + remainder___41888: undefined, + newVolume___41891: undefined, } } -function scene_systemMenu_setVolume__P28407(s) { +function scene_systemMenu_setVolume__P32055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13407,18 +13407,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P24767_mk(s); + s.tmp_0 = music_setVolume__P28415_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1141; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P24769_mk(s); + s.tmp_0 = music_playTone__P28417_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; s.callLocIdx = 1142; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P25210_mk(s); + s.tmp_0 = settings_writeNumber__P28858_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1143; s.pc = 3; return s.tmp_0; @@ -13428,12 +13428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P28407.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__P32055.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__P28407_mk(s) { +function scene_systemMenu_setVolume__P32055_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P28407, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P32055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13443,7 +13443,7 @@ function scene_systemMenu_setVolume__P28407_mk(s) { -function music_playTone__P24769(s) { +function music_playTone__P28417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13453,7 +13453,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___38077 = undefined; + s.id___41726 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13478,7 +13478,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P27686_mk(s); + s.tmp_2 = music_playNoteCore__P31334_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -13486,7 +13486,7 @@ switch (step) { s.callLocIdx = 65; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P23559_mk(s); + s.tmp_0 = pause__P27207_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 66; s.pc = 6; return s.tmp_0; @@ -13494,13 +13494,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___27688 + 1); + r0 = (globals.playToneID___31336 + 1); s.tmp_0 = r0; - globals.playToneID___27688 = (r0); - s.id___38077 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P38083); + globals.playToneID___31336 = (r0); + s.id___41726 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P41732); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___38077); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___41726); 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); @@ -13509,17 +13509,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P24769.info = {"start":2612,"length":831,"line":84,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} +music_playTone__P28417.info = {"start":2612,"length":831,"line":84,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -function music_playTone__P24769_mk(s) { +function music_playTone__P28417_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P24769, depth: s.depth + 1, + parent: s, fn: music_playTone__P28417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___38077: undefined, + id___41726: undefined, arg0: undefined, arg1: undefined, } } @@ -13528,7 +13528,7 @@ function music_playTone__P24769_mk(s) { -function music_playTone_inline__P38083(s) { +function music_playTone_inline__P41732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13538,14 +13538,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___38084 = undefined; - s.now___38094 = undefined; - s.d___38097 = undefined; - s.t___38101 = undefined; + s.pos___41733 = undefined; + s.now___41743 = undefined; + s.d___41746 = undefined; + s.t___41750 = undefined; r0 = pxsim.control.millis(); - s.pos___38084 = (r0); + s.pos___41733 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___27688); + r0 = (s.caps[0] == globals.playToneID___31336); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -13561,30 +13561,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___38094 = (r0); - r0 = (s.pos___38084 - s.now___38094); - s.d___38097 = (r0); - s.tmp_0 = Math_min__P23277_mk(s); + s.now___41743 = (r0); + r0 = (s.pos___41733 - s.now___41743); + s.d___41746 = (r0); + s.tmp_0 = Math_min__P26925_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 67; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___38101 = (r0); + s.t___41750 = (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___38101); + r0 = (s.tmp_2 - s.t___41750); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___38084 + s.t___38101); - s.pos___38084 = (r0); - s.tmp_0 = music_playNoteCore__P27686_mk(s); - r0 = (s.d___38097 - 1); + r0 = (s.pos___41733 + s.t___41750); + s.pos___41733 = (r0); + s.tmp_0 = music_playNoteCore__P31334_mk(s); + r0 = (s.d___41746 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___38101; + s.tmp_0.arg2 = s.t___41750; s.callLocIdx = 68; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -13594,16 +13594,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P23559_mk(s); - r0 = (s.d___38097 + s.t___38101); + s.tmp_2 = pause__P27207_mk(s); + r0 = (s.d___41746 + s.t___41750); s.tmp_2.arg0 = r0; s.callLocIdx = 69; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P23559_mk(s); - r0 = (s.d___38097 + s.t___38101); + s.tmp_0 = pause__P27207_mk(s); + r0 = (s.d___41746 + s.t___41750); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -13617,27 +13617,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P38083.info = {"start":2911,"length":515,"line":93,"column":34,"endLine":107,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_playTone_inline__P41732.info = {"start":2911,"length":515,"line":93,"column":34,"endLine":107,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function music_playTone_inline__P38083_mk(s) { +function music_playTone_inline__P41732_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P38083, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P41732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___38084: undefined, - now___38094: undefined, - d___38097: undefined, - t___38101: undefined, + pos___41733: undefined, + now___41743: undefined, + d___41746: undefined, + t___41750: undefined, } } -function music_playNoteCore__P27686(s) { +function music_playNoteCore__P31334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13647,7 +13647,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___38131 = undefined; + s.buf___41780 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13655,16 +13655,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___38131 = (r0); - s.tmp_0 = music_addNote__P24783_mk(s); - s.tmp_0.arg0 = s.buf___38131; + s.buf___41780 = (r0); + s.tmp_0 = music_addNote__P28431_mk(s); + s.tmp_0.arg0 = s.buf___41780; 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__P24768_mk(s); + s.tmp_1 = music_volume__P28416_mk(s); s.callLocIdx = 63; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -13673,21 +13673,21 @@ switch (step) { s.callLocIdx = 64; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___38131); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___41780); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P27686.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__P31334.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__P27686_mk(s) { +function music_playNoteCore__P31334_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P27686, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P31334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___38131: undefined, + buf___41780: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13697,7 +13697,7 @@ function music_playNoteCore__P27686_mk(s) { -function music_addNote__P24783(s) { +function music_addNote__P28431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13765,12 +13765,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P24783.info = {"start":10288,"length":911,"line":323,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P28431.info = {"start":10288,"length":911,"line":323,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -function music_addNote__P24783_mk(s) { +function music_addNote__P28431_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P24783, depth: s.depth + 1, + parent: s, fn: music_addNote__P28431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13791,7 +13791,7 @@ function music_addNote__P24783_mk(s) { -function music_setVolume__P24767(s) { +function music_setVolume__P28415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13805,7 +13805,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P23273_mk(s); + s.tmp_0 = Math_clamp__P26921_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -13813,8 +13813,8 @@ switch (step) { s.callLocIdx = 60; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___27681 = (r0); - r0 = (globals.globalVolume___27681 > 0); + globals.globalVolume___31329 = (r0); + r0 = (globals.globalVolume___31329 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -13830,12 +13830,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P24767.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__P28415.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__P24767_mk(s) { +function music_setVolume__P28415_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P24767, depth: s.depth + 1, + parent: s, fn: music_setVolume__P28415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13846,7 +13846,7 @@ function music_setVolume__P24767_mk(s) { -function music_enableAmp__P27684(s) { +function music_enableAmp__P31332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13864,12 +13864,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P27684.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__P31332.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__P27684_mk(s) { +function music_enableAmp__P31332_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P27684, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P31332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13878,7 +13878,7 @@ function music_enableAmp__P27684_mk(s) { -function scene_systemMenu_volumeUp__P28408(s) { +function scene_systemMenu_volumeUp__P32056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13888,22 +13888,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___38045 = undefined; - s.remainder___38048 = undefined; - s.newVolume___38051 = undefined; - s.tmp_0 = music_volume__P24768_mk(s); + s.v___41694 = undefined; + s.remainder___41697 = undefined; + s.newVolume___41700 = undefined; + s.tmp_0 = music_volume__P28416_mk(s); s.callLocIdx = 1144; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___38045 = (r0); - r0 = (s.v___38045 % 32); - s.remainder___38048 = (r0); - r0 = (s.v___38045 + 32); + s.v___41694 = (r0); + r0 = (s.v___41694 % 32); + s.remainder___41697 = (r0); + r0 = (s.v___41694 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___38048); - s.newVolume___38051 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P28407_mk(s); - s.tmp_0.arg0 = s.newVolume___38051; + r0 = (s.tmp_0 - s.remainder___41697); + s.newVolume___41700 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P32055_mk(s); + s.tmp_0.arg0 = s.newVolume___41700; s.callLocIdx = 1145; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -13911,24 +13911,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P28408.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__P32056.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__P28408_mk(s) { +function scene_systemMenu_volumeUp__P32056_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P28408, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P32056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___38045: undefined, - remainder___38048: undefined, - newVolume___38051: undefined, + v___41694: undefined, + remainder___41697: undefined, + newVolume___41700: undefined, } } -function game_consoleOverlay_isVisible__P26288(s) { +function game_consoleOverlay_isVisible__P29936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13938,7 +13938,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28449); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___32097); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -13948,12 +13948,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P26288.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__P29936.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__P26288_mk(s) { +function game_consoleOverlay_isVisible__P29936_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P26288, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P29936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13964,7 +13964,7 @@ function game_consoleOverlay_isVisible__P26288_mk(s) { -function scene_systemMenu_closeMenu__P26266(s) { +function scene_systemMenu_closeMenu__P29914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13974,20 +13974,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___28403); + r0 = pxsim_numops_toBoolDecr(globals.instance___32051); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P26265_mk(s); - s.tmp_0.arg0 = globals.instance___28403; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P29913_mk(s); + s.tmp_0.arg0 = globals.instance___32051; s.callLocIdx = 1160; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___28403 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P25353_mk(s); + globals.instance___32051 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P29001_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1161; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P26168_mk(s); + s.tmp_0 = game_popScene__P29816_mk(s); s.callLocIdx = 1162; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -13997,12 +13997,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P26266.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__P29914.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__P26266_mk(s) { +function scene_systemMenu_closeMenu__P29914_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P26266, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P29914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14011,7 +14011,7 @@ function scene_systemMenu_closeMenu__P26266_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P26265(s) { +function scene_systemMenu_PauseMenu_dispose__P29913(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14026,15 +14026,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26259_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C29907_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__P23255_mk(s); + s.tmp_1 = helpers_arrayForEach__P26903_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P36962; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P40611; s.callLocIdx = 1137; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -14045,12 +14045,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P26265.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__P29913.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__P26265_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P29913_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P26265, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P29913, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14061,7 +14061,7 @@ function scene_systemMenu_PauseMenu_dispose__P26265_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P36962(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P40611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14075,7 +14075,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P26258_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P29906_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1136; s.pc = 1; return s.tmp_0; case 1: @@ -14084,12 +14084,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose_inline__P36962.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__P40611.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__P36962_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P40611_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P36962, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P40611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14099,7 +14099,7 @@ function scene_systemMenu_PauseMenu_dispose_inline__P36962_mk(s) { -function scene_systemMenu_MenuOption_dispose__P26258(s) { +function scene_systemMenu_MenuOption_dispose__P29906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14114,12 +14114,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26251_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C29899_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__P25575_mk(s); + s.tmp_1 = Sprite_destroy__P29223_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -14127,7 +14127,7 @@ switch (step) { s.callLocIdx = 1056; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P25575_mk(s); + s.tmp_0 = Sprite_destroy__P29223_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -14143,12 +14143,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P26258.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__P29906.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__P26258_mk(s) { +function scene_systemMenu_MenuOption_dispose__P29906_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P26258, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P29906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14159,7 +14159,7 @@ function scene_systemMenu_MenuOption_dispose__P26258_mk(s) { -function Sprite_destroy__P25575(s) { +function Sprite_destroy__P29223(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14176,7 +14176,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -14194,7 +14194,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__P26429_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P30077_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -14204,7 +14204,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P25576_mk(s); + s.tmp_0 = Sprite__destroyCore__P29224_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 446; s.pc = 7; return s.tmp_0; case 7: @@ -14215,12 +14215,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P25575.info = {"start":26493,"length":293,"line":859,"column":4,"endLine":868,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P29223.info = {"start":26493,"length":293,"line":859,"column":4,"endLine":868,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P25575_mk(s) { +function Sprite_destroy__P29223_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P25575, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P29223, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14236,7 +14236,7 @@ function Sprite_destroy__P25575_mk(s) { -function effects_ParticleEffect_destroy__P26429(s) { +function effects_ParticleEffect_destroy__P30077(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14254,15 +14254,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C26426_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P25566_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C30074_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P29214_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; s.callLocIdx = 1321; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P26428_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P30076_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -14294,8 +14294,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__P26456_mk(s); - s.tmp_0.arg0 = globals.dissolve___26459; + s.tmp_0 = effects_ImageEffect_applyTo__P30104_mk(s); + s.tmp_0.arg0 = globals.dissolve___30107; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1323; s.pc = 5; return s.tmp_0; case 5: @@ -14304,12 +14304,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P26429.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__P30077.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__P26429_mk(s) { +function effects_ParticleEffect_destroy__P30077_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P26429, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P30077, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14327,7 +14327,7 @@ function effects_ParticleEffect_destroy__P26429_mk(s) { -function dissolve_inline__P37086(s) { +function dissolve_inline__P40735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14337,11 +14337,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___37089 = undefined; - s.x___37100 = undefined; - s.y___37106 = undefined; - s.w___37112 = undefined; - s.h___37116 = undefined; + s.i___40738 = undefined; + s.x___40749 = undefined; + s.y___40755 = undefined; + s.w___40761 = undefined; + s.h___40765 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14354,13 +14354,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___37089 = (r0); + s.i___40738 = (r0); case 1: - r0 = (s.i___37089 > 0); + r0 = (s.i___40738 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P26227_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P29875_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -14368,8 +14368,8 @@ switch (step) { s.callLocIdx = 52; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___37100 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P26227_mk(s); + s.x___40749 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P29875_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -14377,56 +14377,56 @@ switch (step) { s.callLocIdx = 53; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___37106 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P26227_mk(s); + s.y___40755 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P29875_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___37112 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P26227_mk(s); + s.w___40761 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P29875_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___37116 = (r0); - s.tmp_0 = helpers_imageDrawRect__P25106_mk(s); + s.h___40765 = (r0); + s.tmp_0 = helpers_imageDrawRect__P28754_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___37100; - s.tmp_0.arg2 = s.y___37106; - s.tmp_0.arg3 = s.w___37112; - s.tmp_0.arg4 = s.h___37116; + s.tmp_0.arg1 = s.x___40749; + s.tmp_0.arg2 = s.y___40755; + s.tmp_0.arg3 = s.w___40761; + s.tmp_0.arg4 = s.h___40765; s.tmp_0.arg5 = 0; s.callLocIdx = 56; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___37089 - 1); - s.i___37089 = (r0); + r0 = (s.i___40738 - 1); + s.i___40738 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P37086.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__P40735.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__P37086_mk(s) { +function dissolve_inline__P40735_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P37086, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P40735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___37089: undefined, - x___37100: undefined, - y___37106: undefined, - w___37112: undefined, - h___37116: undefined, + i___40738: undefined, + x___40749: undefined, + y___40755: undefined, + w___40761: undefined, + h___40765: undefined, arg0: undefined, arg1: undefined, } } @@ -14435,7 +14435,7 @@ function dissolve_inline__P37086_mk(s) { -function helpers_imageDrawRect__P25106(s) { +function helpers_imageDrawRect__P28754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14474,7 +14474,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P25105_mk(s); + s.tmp_0 = helpers_imageDrawLine__P28753_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -14485,7 +14485,7 @@ switch (step) { s.callLocIdx = 84; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P25105_mk(s); + s.tmp_0 = helpers_imageDrawLine__P28753_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -14496,7 +14496,7 @@ switch (step) { s.callLocIdx = 85; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P25105_mk(s); + s.tmp_0 = helpers_imageDrawLine__P28753_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -14509,7 +14509,7 @@ switch (step) { s.callLocIdx = 86; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P25105_mk(s); + s.tmp_0 = helpers_imageDrawLine__P28753_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -14527,12 +14527,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P25106.info = {"start":5945,"length":370,"line":185,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P28754.info = {"start":5945,"length":370,"line":185,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P25106_mk(s) { +function helpers_imageDrawRect__P28754_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P25106, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P28754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14548,7 +14548,7 @@ function helpers_imageDrawRect__P25106_mk(s) { -function helpers_imageDrawLine__P25105(s) { +function helpers_imageDrawLine__P28753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14568,14 +14568,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P27787_mk(s); + s.tmp_2 = helpers_pack__P31435_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 82; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P27787_mk(s); + s.tmp_4 = helpers_pack__P31435_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 83; s.pc = 2; return s.tmp_4; @@ -14587,12 +14587,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P25105.info = {"start":5781,"length":159,"line":182,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P28753.info = {"start":5781,"length":159,"line":182,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P25105_mk(s) { +function helpers_imageDrawLine__P28753_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P25105, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P28753, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14611,7 +14611,7 @@ function helpers_imageDrawLine__P25105_mk(s) { -function Math_FastRandom_randomRange__P26227(s) { +function Math_FastRandom_randomRange__P29875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14628,12 +14628,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C26223_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C29871_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__P26226_mk(s); + s.tmp_2 = Math_FastRandom_next__P29874_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1038; s.pc = 3; return s.tmp_2; case 3: @@ -14654,12 +14654,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P26227.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__P29875.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__P26227_mk(s) { +function Math_FastRandom_randomRange__P29875_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P26227, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P29875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14676,7 +14676,7 @@ function Math_FastRandom_randomRange__P26227_mk(s) { -function Math_FastRandom_next__P26226(s) { +function Math_FastRandom_next__P29874(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14691,7 +14691,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C26223_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C29871_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -14712,12 +14712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P26226.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__P29874.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__P26226_mk(s) { +function Math_FastRandom_next__P29874_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P26226, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P29874, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14734,7 +14734,7 @@ function Math_FastRandom_next__P26226_mk(s) { -function effects_ImageEffect_constructor__P26455(s) { +function effects_ImageEffect_constructor__P30103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14751,11 +14751,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C26454_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C30102_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C26223_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C29871_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P26225_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P29873_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1331; s.pc = 1; return s.tmp_1; @@ -14768,12 +14768,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P26455.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__P30103.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__P26455_mk(s) { +function effects_ImageEffect_constructor__P30103_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P26455, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P30103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14786,7 +14786,7 @@ function effects_ImageEffect_constructor__P26455_mk(s) { -function effects_ImageEffect_applyTo__P26456(s) { +function effects_ImageEffect_applyTo__P30104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14796,14 +14796,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___37265 = undefined; + s.clonedImage___40914 = 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__C26454_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C30102_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -14829,16 +14829,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___37265 = (r0); - s.tmp_0 = effects_ImageEffect_change__P26457_mk(s); + s.clonedImage___40914 = (r0); + s.tmp_0 = effects_ImageEffect_change__P30105_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___37265; + s.tmp_0.arg1 = s.clonedImage___40914; s.callLocIdx = 1334; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P25538_mk(s); + s.tmp_0 = Sprite_setImage__P29186_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___37265; + s.tmp_0.arg1 = s.clonedImage___40914; s.callLocIdx = 1335; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -14847,12 +14847,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P26456.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__P30104.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__P26456_mk(s) { +function effects_ImageEffect_applyTo__P30104_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P26456, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P30104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14860,7 +14860,7 @@ function effects_ImageEffect_applyTo__P26456_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___37265: undefined, + clonedImage___40914: undefined, arg0: undefined, arg1: undefined, } } @@ -14869,7 +14869,7 @@ function effects_ImageEffect_applyTo__P26456_mk(s) { -function effects_ImageEffect_change__P26457(s) { +function effects_ImageEffect_change__P30105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14885,7 +14885,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C26454_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C30102_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -14906,12 +14906,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P26457.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__P30105.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__P26457_mk(s) { +function effects_ImageEffect_change__P30105_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P26457, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P30105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14922,7 +14922,7 @@ function effects_ImageEffect_change__P26457_mk(s) { -function Sprite_setImage__P25538(s) { +function Sprite_setImage__P29186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14938,7 +14938,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -14960,9 +14960,9 @@ switch (step) { case 3: case 4: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite__C25488_v5_1_mk(s); + s.tmp_0 = Sprite__C29136_v5_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C25488_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C29136_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.recalcSize; s.pc = 6; return s.tmp_0; case 6: @@ -14972,12 +14972,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P25538.info = {"start":9299,"length":131,"line":332,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P29186.info = {"start":9299,"length":131,"line":332,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P25538_mk(s) { +function Sprite_setImage__P29186_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P25538, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P29186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14991,7 +14991,7 @@ function Sprite_setImage__P25538_mk(s) { -function Sprite_recalcSize__P27958(s) { +function Sprite_recalcSize__P31606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15006,13 +15006,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sx__P25517_mk(s); + s.tmp_6 = Sprite_sx__P29165_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 344; s.pc = 1; return s.tmp_6; case 1: @@ -15030,7 +15030,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sy__P25519_mk(s); + s.tmp_6 = Sprite_sy__P29167_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 346; s.pc = 2; return s.tmp_6; case 2: @@ -15043,7 +15043,7 @@ switch (step) { r0 = (s.tmp_7 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_height"] = (s.tmp_1); - s.tmp_0 = Sprite_resetHitbox__P25540_mk(s); + s.tmp_0 = Sprite_resetHitbox__P29188_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 348; s.pc = 3; return s.tmp_0; case 3: @@ -15052,12 +15052,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_recalcSize__P27958.info = {"start":9982,"length":178,"line":363,"column":4,"endLine":367,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"recalcSize","argumentNames":["this"]} +Sprite_recalcSize__P31606.info = {"start":9982,"length":178,"line":363,"column":4,"endLine":367,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"recalcSize","argumentNames":["this"]} -function Sprite_recalcSize__P27958_mk(s) { +function Sprite_recalcSize__P31606_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_recalcSize__P27958, depth: s.depth + 1, + parent: s, fn: Sprite_recalcSize__P31606, 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 Sprite_recalcSize__P27958_mk(s) { -function Sprite_resetHitbox__P25540(s) { +function Sprite_resetHitbox__P29188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15089,11 +15089,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = (s.arg0).fields["_hitbox"] = (null); - s.tmp_0 = Sprite__C25488_v4_1_mk(s); + s.tmp_0 = Sprite__C29136_v4_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C25488_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C29136_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setHitbox; s.pc = 1; return s.tmp_0; case 1: @@ -15102,12 +15102,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_resetHitbox__P25540.info = {"start":9580,"length":76,"line":342,"column":4,"endLine":345,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"resetHitbox","argumentNames":["this"]} +Sprite_resetHitbox__P29188.info = {"start":9580,"length":76,"line":342,"column":4,"endLine":345,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"resetHitbox","argumentNames":["this"]} -function Sprite_resetHitbox__P25540_mk(s) { +function Sprite_resetHitbox__P29188_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_resetHitbox__P25540, depth: s.depth + 1, + parent: s, fn: Sprite_resetHitbox__P29188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15117,7 +15117,7 @@ function Sprite_resetHitbox__P25540_mk(s) { -function Sprite_setHitbox__P25541(s) { +function Sprite_setHitbox__P29189(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15132,12 +15132,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_Hitbox_updateIfInvalid__P25369_mk(s); + s.tmp_1 = game_Hitbox_updateIfInvalid__P29017_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 342; s.pc = 3; return s.tmp_1; @@ -15146,7 +15146,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_calculateHitBox__P25371_mk(s); + s.tmp_2 = game_calculateHitBox__P29019_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 343; s.pc = 4; return s.tmp_2; case 4: @@ -15158,12 +15158,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P25541.info = {"start":9662,"length":173,"line":347,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P29189.info = {"start":9662,"length":173,"line":347,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P25541_mk(s) { +function Sprite_setHitbox__P29189_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P25541, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P29189, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15175,7 +15175,7 @@ function Sprite_setHitbox__P25541_mk(s) { -function game_calculateHitBox__P25371(s) { +function game_calculateHitBox__P29019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15185,17 +15185,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___33097 = undefined; - s.minX___33100 = undefined; - s.minY___33104 = undefined; - s.maxX___33108 = undefined; - s.maxY___33110 = undefined; - s.c___33112 = undefined; - s.fxc___33113 = undefined; - s.r___33120 = undefined; - s.fxr___33121 = undefined; - s.width___33185 = undefined; - s.height___33193 = undefined; + s.i___36746 = undefined; + s.minX___36749 = undefined; + s.minY___36753 = undefined; + s.maxX___36757 = undefined; + s.maxY___36759 = undefined; + s.c___36761 = undefined; + s.fxc___36762 = undefined; + s.r___36769 = undefined; + s.fxr___36770 = undefined; + s.width___36834 = undefined; + s.height___36842 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -15207,7 +15207,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = game_Hitbox_isValid__P25367_mk(s); + s.tmp_1 = game_Hitbox_isValid__P29015_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 276; s.pc = 12; return s.tmp_1; @@ -15223,137 +15223,137 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___33097 = (r0); - r0 = pxsim_ImageMethods.width(s.i___33097); + s.i___36746 = (r0); + r0 = pxsim_ImageMethods.width(s.i___36746); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minX___33100 = (r0); - r0 = pxsim_ImageMethods.height(s.i___33097); + s.minX___36749 = (r0); + r0 = pxsim_ImageMethods.height(s.i___36746); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minY___33104 = (r0); - s.maxX___33108 = (0); - s.maxY___33110 = (0); - s.c___33112 = (0); - s.fxc___33113 = (0); + s.minY___36753 = (r0); + s.maxX___36757 = (0); + s.maxY___36759 = (0); + s.c___36761 = (0); + s.fxc___36762 = (0); case 5: - s.tmp_1 = r0 = s.c___33112; - r0 = pxsim_ImageMethods.width(s.i___33097); + s.tmp_1 = r0 = s.c___36761; + r0 = pxsim_ImageMethods.width(s.i___36746); 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___33120 = (0); - s.fxr___33121 = (0); + s.r___36769 = (0); + s.fxr___36770 = (0); case 6: - s.tmp_1 = r0 = s.r___33120; - r0 = pxsim_ImageMethods.height(s.i___33097); + s.tmp_1 = r0 = s.r___36769; + r0 = pxsim_ImageMethods.height(s.i___36746); 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___33097, s.c___33112, s.r___33120); + r0 = pxsim_ImageMethods.getPixel(s.i___36746, s.c___36761, s.r___36769); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Fx_min__P23312_mk(s); - s.tmp_4.arg0 = s.minX___33100; - s.tmp_4.arg1 = s.fxc___33113; + s.tmp_4 = Fx_min__P26960_mk(s); + s.tmp_4.arg0 = s.minX___36749; + s.tmp_4.arg1 = s.fxc___36762; s.callLocIdx = 280; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___33100 = (r0); - s.tmp_0 = Fx_min__P23312_mk(s); - s.tmp_0.arg0 = s.minY___33104; - s.tmp_0.arg1 = s.fxr___33121; + s.minX___36749 = (r0); + s.tmp_0 = Fx_min__P26960_mk(s); + s.tmp_0.arg0 = s.minY___36753; + s.tmp_0.arg1 = s.fxr___36770; s.callLocIdx = 281; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___33104 = (r0); - s.tmp_0 = Fx_max__P23313_mk(s); - s.tmp_0.arg0 = s.maxX___33108; - s.tmp_0.arg1 = s.fxc___33113; + s.minY___36753 = (r0); + s.tmp_0 = Fx_max__P26961_mk(s); + s.tmp_0.arg0 = s.maxX___36757; + s.tmp_0.arg1 = s.fxc___36762; s.callLocIdx = 282; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___33108 = (r0); - s.tmp_0 = Fx_max__P23313_mk(s); - s.tmp_0.arg0 = s.maxY___33110; - s.tmp_0.arg1 = s.fxr___33121; + s.maxX___36757 = (r0); + s.tmp_0 = Fx_max__P26961_mk(s); + s.tmp_0.arg0 = s.maxY___36759; + s.tmp_0.arg1 = s.fxr___36770; s.callLocIdx = 283; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___33110 = (r0); + s.maxY___36759 = (r0); case 7: case 8: - r0 = (s.r___33120 + 1); - s.r___33120 = (r0); - r0 = (s.fxr___33121 + 256); + r0 = (s.r___36769 + 1); + s.r___36769 = (r0); + r0 = (s.fxr___36770 + 256); s.tmp_0 = r0; - s.fxr___33121 = (r0); + s.fxr___36770 = (r0); r0 = s.tmp_0; { step = 6; continue; } case 9: - r0 = (s.c___33112 + 1); - s.c___33112 = (r0); - r0 = (s.fxc___33113 + 256); + r0 = (s.c___36761 + 1); + s.c___36761 = (r0); + r0 = (s.fxc___36762 + 256); s.tmp_0 = r0; - s.fxc___33113 = (r0); + s.fxc___36762 = (r0); r0 = s.tmp_0; { step = 5; continue; } case 10: r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minX___33100, s.tmp_0); + r0 = pxsim.Math_.imul(s.minX___36749, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minX___33100 = (r0); + s.minX___36749 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minY___33104, s.tmp_0); + r0 = pxsim.Math_.imul(s.minY___36753, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minY___33104 = (r0); + s.minY___36753 = (r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxX___33108, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxX___36757, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxX___33108 = (r0); + s.maxX___36757 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxY___33110, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxY___36759, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxY___33110 = (r0); - r0 = (s.maxX___33108 - s.minX___33100); + s.maxY___36759 = (r0); + r0 = (s.maxX___36757 - s.minX___36749); s.tmp_0 = r0; r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___33185 = (r0); - r0 = (s.maxY___33110 - s.minY___33104); + s.width___36834 = (r0); + r0 = (s.maxY___36759 - s.minY___36753); s.tmp_0 = r0; r0 = s.arg0.fields["_sy"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___33193 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C25355_VT); + s.height___36842 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C29003_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P25362_mk(s); + s.tmp_1 = game_Hitbox_constructor__P29010_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___33185; - s.tmp_1.arg3 = s.height___33193; - r0 = (s.minX___33100 & -256); + s.tmp_1.arg2 = s.width___36834; + s.tmp_1.arg3 = s.height___36842; + r0 = (s.minX___36749 & -256); s.tmp_1.arg4 = r0; - r0 = (s.minY___33104 & -256); + r0 = (s.minY___36753 & -256); s.tmp_1.arg5 = r0; s.callLocIdx = 296; s.pc = 17; return s.tmp_1; case 17: @@ -15363,29 +15363,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P25371.info = {"start":3223,"length":1086,"line":103,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} +game_calculateHitBox__P29019.info = {"start":3223,"length":1086,"line":103,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} -function game_calculateHitBox__P25371_mk(s) { +function game_calculateHitBox__P29019_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P25371, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P29019, 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___33097: undefined, - minX___33100: undefined, - minY___33104: undefined, - maxX___33108: undefined, - maxY___33110: undefined, - c___33112: undefined, - fxc___33113: undefined, - r___33120: undefined, - fxr___33121: undefined, - width___33185: undefined, - height___33193: undefined, + i___36746: undefined, + minX___36749: undefined, + minY___36753: undefined, + maxX___36757: undefined, + maxY___36759: undefined, + c___36761: undefined, + fxc___36762: undefined, + r___36769: undefined, + fxr___36770: undefined, + width___36834: undefined, + height___36842: undefined, arg0: undefined, } } @@ -15393,7 +15393,7 @@ function game_calculateHitBox__P25371_mk(s) { -function game_Hitbox_isValid__P25367(s) { +function game_Hitbox_isValid__P29015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15408,10 +15408,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25355_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C29003_VT)) failedCast(r0); r0 = s.arg0.fields["hash"]; s.tmp_0 = r0; - s.tmp_2 = Sprite_calcDimensionalHash__P25539_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P29187_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; s.callLocIdx = 229; s.pc = 1; return s.tmp_2; @@ -15422,12 +15422,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_isValid__P25367.info = {"start":935,"length":89,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} +game_Hitbox_isValid__P29015.info = {"start":935,"length":89,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} -function game_Hitbox_isValid__P25367_mk(s) { +function game_Hitbox_isValid__P29015_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_isValid__P25367, depth: s.depth + 1, + parent: s, fn: game_Hitbox_isValid__P29015, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15439,7 +15439,7 @@ function game_Hitbox_isValid__P25367_mk(s) { -function Sprite_calcDimensionalHash__P25539(s) { +function Sprite_calcDimensionalHash__P29187(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, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.revision(s.tmp_2); @@ -15477,12 +15477,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_calcDimensionalHash__P25539.info = {"start":9436,"length":138,"line":338,"column":4,"endLine":340,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"calcDimensionalHash","argumentNames":["this"]} +Sprite_calcDimensionalHash__P29187.info = {"start":9436,"length":138,"line":338,"column":4,"endLine":340,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"calcDimensionalHash","argumentNames":["this"]} -function Sprite_calcDimensionalHash__P25539_mk(s) { +function Sprite_calcDimensionalHash__P29187_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_calcDimensionalHash__P25539, depth: s.depth + 1, + parent: s, fn: Sprite_calcDimensionalHash__P29187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15500,7 +15500,7 @@ function Sprite_calcDimensionalHash__P25539_mk(s) { -function Fx_toIntShifted__P23302(s) { +function Fx_toIntShifted__P26950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15522,12 +15522,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P23302.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__P26950.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__P23302_mk(s) { +function Fx_toIntShifted__P26950_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P23302, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P26950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15539,7 +15539,7 @@ function Fx_toIntShifted__P23302_mk(s) { -function game_Hitbox_constructor__P25362(s) { +function game_Hitbox_constructor__P29010(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15559,9 +15559,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25355_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C29003_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_calcDimensionalHash__P25539_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P29187_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 220; s.pc = 1; return s.tmp_2; case 1: @@ -15577,12 +15577,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P25362.info = {"start":173,"length":288,"line":9,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} +game_Hitbox_constructor__P29010.info = {"start":173,"length":288,"line":9,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} -function game_Hitbox_constructor__P25362_mk(s) { +function game_Hitbox_constructor__P29010_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P25362, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P29010, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15599,7 +15599,7 @@ function game_Hitbox_constructor__P25362_mk(s) { -function Fx_floor__P23314(s) { +function Fx_floor__P26962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15617,12 +15617,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_floor__P23314.info = {"start":1919,"length":103,"line":62,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"floor","argumentNames":["v"]} +Fx_floor__P26962.info = {"start":1919,"length":103,"line":62,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"floor","argumentNames":["v"]} -function Fx_floor__P23314_mk(s) { +function Fx_floor__P26962_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_floor__P23314, depth: s.depth + 1, + parent: s, fn: Fx_floor__P26962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15631,7 +15631,7 @@ function Fx_floor__P23314_mk(s) { -function Fx_max__P23313(s) { +function Fx_max__P26961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15662,12 +15662,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P23313.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__P26961.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__P23313_mk(s) { +function Fx_max__P26961_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P23313, depth: s.depth + 1, + parent: s, fn: Fx_max__P26961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15678,7 +15678,7 @@ function Fx_max__P23313_mk(s) { -function Fx_min__P23312(s) { +function Fx_min__P26960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15709,12 +15709,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P23312.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__P26960.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__P23312_mk(s) { +function Fx_min__P26960_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P23312, depth: s.depth + 1, + parent: s, fn: Fx_min__P26960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15725,7 +15725,7 @@ function Fx_min__P23312_mk(s) { -function Fx_mul__P23306(s) { +function Fx_mul__P26954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15746,12 +15746,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P23306.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__P26954.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__P23306_mk(s) { +function Fx_mul__P26954_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P23306, depth: s.depth + 1, + parent: s, fn: Fx_mul__P26954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15762,7 +15762,7 @@ function Fx_mul__P23306_mk(s) { -function Fx_sub__P23305(s) { +function Fx_sub__P26953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15781,12 +15781,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P23305.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__P26953.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__P23305_mk(s) { +function Fx_sub__P26953_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P23305, depth: s.depth + 1, + parent: s, fn: Fx_sub__P26953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15796,7 +15796,7 @@ function Fx_sub__P23305_mk(s) { -function game_Hitbox_updateIfInvalid__P25369(s) { +function game_Hitbox_updateIfInvalid__P29017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15806,24 +15806,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___33289 = undefined; - s.oMinX___33294 = undefined; - s.oMinY___33297 = undefined; - s.oMaxX___33300 = undefined; - s.oMaxY___33306 = undefined; - s.nMinX___33312 = undefined; - s.nMinY___33315 = undefined; - s.nMaxX___33318 = undefined; - s.nMaxY___33324 = undefined; - s.xDiff___33330 = undefined; - s.yDiff___33341 = undefined; + s.newHitBox___36938 = undefined; + s.oMinX___36943 = undefined; + s.oMinY___36946 = undefined; + s.oMaxX___36949 = undefined; + s.oMaxY___36955 = undefined; + s.nMinX___36961 = undefined; + s.nMinY___36964 = undefined; + s.nMaxX___36967 = undefined; + s.nMaxY___36973 = undefined; + s.xDiff___36979 = undefined; + s.yDiff___36990 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25355_VT)) failedCast(r0); - s.tmp_1 = game_Hitbox_isValid__P25367_mk(s); + if (!checkSubtype(r0, game_Hitbox__C29003_VT)) failedCast(r0); + s.tmp_1 = game_Hitbox_isValid__P29015_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 234; s.pc = 8; return s.tmp_1; case 8: @@ -15834,90 +15834,90 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_2 = game_calculateHitBox__P25371_mk(s); + s.tmp_2 = game_calculateHitBox__P29019_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; s.callLocIdx = 235; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.newHitBox___33289 = (r0); + s.newHitBox___36938 = (r0); r0 = s.arg0.fields["ox"]; - s.oMinX___33294 = (r0); + s.oMinX___36943 = (r0); r0 = s.arg0.fields["oy"]; - s.oMinY___33297 = (r0); + s.oMinY___36946 = (r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___33294 + s.tmp_0); - s.oMaxX___33300 = (r0); + r0 = (s.oMinX___36943 + s.tmp_0); + s.oMaxX___36949 = (r0); r0 = s.arg0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___33297 + s.tmp_0); - s.oMaxY___33306 = (r0); - r0 = s.newHitBox___33289.fields["ox"]; - s.nMinX___33312 = (r0); - r0 = s.newHitBox___33289.fields["oy"]; - s.nMinY___33315 = (r0); - r0 = s.newHitBox___33289.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___33312 + s.tmp_0); - s.nMaxX___33318 = (r0); - r0 = s.newHitBox___33289.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___33315 + s.tmp_0); - s.nMaxY___33324 = (r0); - s.tmp_1 = Fx_abs__P23311_mk(s); - r0 = (s.oMinX___33294 - s.nMinX___33312); + r0 = (s.oMinY___36946 + s.tmp_0); + s.oMaxY___36955 = (r0); + r0 = s.newHitBox___36938.fields["ox"]; + s.nMinX___36961 = (r0); + r0 = s.newHitBox___36938.fields["oy"]; + s.nMinY___36964 = (r0); + r0 = s.newHitBox___36938.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___36961 + s.tmp_0); + s.nMaxX___36967 = (r0); + r0 = s.newHitBox___36938.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___36964 + s.tmp_0); + s.nMaxY___36973 = (r0); + s.tmp_1 = Fx_abs__P26959_mk(s); + r0 = (s.oMinX___36943 - s.nMinX___36961); s.tmp_1.arg0 = r0; s.callLocIdx = 241; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P23311_mk(s); - r0 = (s.oMaxX___33300 - s.nMaxX___33318); + s.tmp_3 = Fx_abs__P26959_mk(s); + r0 = (s.oMaxX___36949 - s.nMaxX___36967); s.tmp_3.arg0 = r0; s.callLocIdx = 243; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___33330 = (r0); - s.tmp_1 = Fx_abs__P23311_mk(s); - r0 = (s.oMinY___33297 - s.nMinY___33315); + s.xDiff___36979 = (r0); + s.tmp_1 = Fx_abs__P26959_mk(s); + r0 = (s.oMinY___36946 - s.nMinY___36964); s.tmp_1.arg0 = r0; s.callLocIdx = 246; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P23311_mk(s); - r0 = (s.oMaxY___33306 - s.nMaxY___33324); + s.tmp_3 = Fx_abs__P26959_mk(s); + r0 = (s.oMaxY___36955 - s.nMaxY___36973); s.tmp_3.arg0 = r0; s.callLocIdx = 248; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___33341 = (r0); - r0 = (s.xDiff___33330 > 512); + s.yDiff___36990 = (r0); + r0 = (s.xDiff___36979 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["ox"] = (s.nMinX___33312); - r0 = s.newHitBox___33289.fields["width"]; + r0 = (s.arg0).fields["ox"] = (s.nMinX___36961); + r0 = s.newHitBox___36938.fields["width"]; s.tmp_0 = r0; r0 = (s.arg0).fields["width"] = (s.tmp_0); case 3: case 4: - r0 = (s.yDiff___33341 > 512); + r0 = (s.yDiff___36990 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.arg0).fields["oy"] = (s.nMinY___33315); - r0 = s.newHitBox___33289.fields["height"]; + r0 = (s.arg0).fields["oy"] = (s.nMinY___36964); + r0 = s.newHitBox___36938.fields["height"]; s.tmp_0 = r0; r0 = (s.arg0).fields["height"] = (s.tmp_0); case 5: case 6: - r0 = s.newHitBox___33289.fields["hash"]; + r0 = s.newHitBox___36938.fields["hash"]; s.tmp_0 = r0; r0 = (s.arg0).fields["hash"] = (s.tmp_0); case 7: @@ -15925,28 +15925,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_updateIfInvalid__P25369.info = {"start":1188,"length":1317,"line":48,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"updateIfInvalid","argumentNames":["this"]} +game_Hitbox_updateIfInvalid__P29017.info = {"start":1188,"length":1317,"line":48,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"updateIfInvalid","argumentNames":["this"]} -function game_Hitbox_updateIfInvalid__P25369_mk(s) { +function game_Hitbox_updateIfInvalid__P29017_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_updateIfInvalid__P25369, depth: s.depth + 1, + parent: s, fn: game_Hitbox_updateIfInvalid__P29017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - newHitBox___33289: undefined, - oMinX___33294: undefined, - oMinY___33297: undefined, - oMaxX___33300: undefined, - oMaxY___33306: undefined, - nMinX___33312: undefined, - nMinY___33315: undefined, - nMaxX___33318: undefined, - nMaxY___33324: undefined, - xDiff___33330: undefined, - yDiff___33341: undefined, + newHitBox___36938: undefined, + oMinX___36943: undefined, + oMinY___36946: undefined, + oMaxX___36949: undefined, + oMaxY___36955: undefined, + nMinX___36961: undefined, + nMinY___36964: undefined, + nMaxX___36967: undefined, + nMaxY___36973: undefined, + xDiff___36979: undefined, + yDiff___36990: undefined, arg0: undefined, } } @@ -15954,7 +15954,7 @@ function game_Hitbox_updateIfInvalid__P25369_mk(s) { -function Fx_abs__P23311(s) { +function Fx_abs__P26959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15984,12 +15984,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P23311.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__P26959.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__P23311_mk(s) { +function Fx_abs__P26959_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P23311, depth: s.depth + 1, + parent: s, fn: Fx_abs__P26959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15999,7 +15999,7 @@ function Fx_abs__P23311_mk(s) { -function Sprite_sy__P25519(s) { +function Sprite_sy__P29167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16014,20 +16014,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_sy__P25519.info = {"start":5719,"length":61,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sy","argumentNames":["this"]} -Sprite_sy__P25519.isGetter = true; +Sprite_sy__P29167.info = {"start":5719,"length":61,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sy","argumentNames":["this"]} +Sprite_sy__P29167.isGetter = true; -function Sprite_sy__P25519_mk(s) { +function Sprite_sy__P29167_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sy__P25519, depth: s.depth + 1, + parent: s, fn: Sprite_sy__P29167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16037,7 +16037,7 @@ function Sprite_sy__P25519_mk(s) { -function Sprite_sx__P25517(s) { +function Sprite_sx__P29165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16052,20 +16052,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_sx__P25517.info = {"start":5287,"length":61,"line":196,"column":4,"endLine":198,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sx","argumentNames":["this"]} -Sprite_sx__P25517.isGetter = true; +Sprite_sx__P29165.info = {"start":5287,"length":61,"line":196,"column":4,"endLine":198,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sx","argumentNames":["this"]} +Sprite_sx__P29165.isGetter = true; -function Sprite_sx__P25517_mk(s) { +function Sprite_sx__P29165_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sx__P25517, depth: s.depth + 1, + parent: s, fn: Sprite_sx__P29165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16075,7 +16075,7 @@ function Sprite_sx__P25517_mk(s) { -function Sprite_image__P25537(s) { +function Sprite_image__P29185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16090,18 +16090,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P25537.info = {"start":9023,"length":54,"line":322,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P25537.isGetter = true; +Sprite_image__P29185.info = {"start":9023,"length":54,"line":322,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P29185.isGetter = true; -function Sprite_image__P25537_mk(s) { +function Sprite_image__P29185_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P25537, depth: s.depth + 1, + parent: s, fn: Sprite_image__P29185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16110,7 +16110,7 @@ function Sprite_image__P25537_mk(s) { -function effects_ParticleEffect_start__P26428(s) { +function effects_ParticleEffect_start__P30076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16120,7 +16120,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___37290 = undefined; + s.src___40939 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16130,7 +16130,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C26426_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C30074_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -16166,9 +16166,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___37290 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P26326_mk(s); - s.tmp_0.arg0 = s.src___37290; + s.src___40939 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P29974_mk(s); + s.tmp_0.arg0 = s.src___40939; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -16193,7 +16193,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___37290).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___40939).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -16201,19 +16201,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P26428.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__P30076.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__P26428_mk(s) { +function effects_ParticleEffect_start__P30076_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P26428, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P30076, 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___37290: undefined, + src___40939: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16225,7 +16225,7 @@ function effects_ParticleEffect_start__P26428_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P26326(s) { +function particles_ParticleSource_setRelativeToCamera__P29974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16241,7 +16241,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -16267,12 +16267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P26326.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__P29974.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__P26326_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P29974_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P26326, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P29974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16287,7 +16287,7 @@ function particles_ParticleSource_setRelativeToCamera__P26326_mk(s) { -function Sprite_setFlag__P25566(s) { +function Sprite_setFlag__P29214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16304,7 +16304,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -16330,12 +16330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P25566.info = {"start":20205,"length":130,"line":676,"column":4,"endLine":679,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P29214.info = {"start":20205,"length":130,"line":676,"column":4,"endLine":679,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P25566_mk(s) { +function Sprite_setFlag__P29214_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P25566, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P29214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16351,7 +16351,7 @@ function Sprite_setFlag__P25566_mk(s) { -function Sprite__destroyCore__P25576(s) { +function Sprite__destroyCore__P29224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16361,25 +16361,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___37012 = undefined; + s.scene___40661 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P26163_mk(s); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 447; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___37012 = (r0); - r0 = s.scene___37012.fields["allSprites"]; + s.scene___40661 = (r0); + r0 = s.scene___40661.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -16391,7 +16391,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___37012.fields["spritesByKind"]; + r0 = s.scene___40661.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -16401,8 +16401,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__P25617_mk(s); - r0 = s.scene___37012.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P29265_mk(s); + r0 = s.scene___40661.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -16414,11 +16414,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = PhysicsEngine__C25658_v1_2_mk(s); - r0 = s.scene___37012.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C29306_v1_2_mk(s); + r0 = s.scene___40661.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25658_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C29306_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: @@ -16442,15 +16442,15 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P37041); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P40690); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P37048); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P40697); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P23255_mk(s); - s.tmp_3 = helpers_arrayFilter__P23256_mk(s); - r0 = s.scene___37012.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P26903_mk(s); + s.tmp_3 = helpers_arrayFilter__P26904_mk(s); + r0 = s.scene___40661.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 454; s.pc = 12; return s.tmp_3; @@ -16465,12 +16465,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P25576.info = {"start":26792,"length":522,"line":870,"column":4,"endLine":882,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P29224.info = {"start":26792,"length":522,"line":870,"column":4,"endLine":882,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P25576_mk(s) { +function Sprite__destroyCore__P29224_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P25576, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P29224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16480,7 +16480,7 @@ function Sprite__destroyCore__P25576_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___37012: undefined, + scene___40661: undefined, arg0: undefined, } } @@ -16488,7 +16488,7 @@ function Sprite__destroyCore__P25576_mk(s) { -function forEach_inline__P37041(s) { +function forEach_inline__P40690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16510,12 +16510,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P37041.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P40690.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P37041_mk(s) { +function forEach_inline__P40690_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P37041, depth: s.depth + 1, + parent: s, fn: forEach_inline__P40690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16526,7 +16526,7 @@ function forEach_inline__P37041_mk(s) { -function Sprite__destroyCore_inline__P37048(s) { +function Sprite__destroyCore_inline__P40697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16558,12 +16558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P37048.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite__destroyCore_inline__P40697.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite__destroyCore_inline__P37048_mk(s) { +function Sprite__destroyCore_inline__P40697_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P37048, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P40697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16573,7 +16573,7 @@ function Sprite__destroyCore_inline__P37048_mk(s) { -function PhysicsEngine_removeSprite__P25661(s) { +function PhysicsEngine_removeSprite__P29309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16589,17 +16589,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25658_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C29306_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P25661.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__P29309.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__P25661_mk(s) { +function PhysicsEngine_removeSprite__P29309_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P25661, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P29309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16609,7 +16609,7 @@ function PhysicsEngine_removeSprite__P25661_mk(s) { -function sprites_SpriteSet_remove__P25617(s) { +function sprites_SpriteSet_remove__P29265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16619,26 +16619,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___32966 = undefined; + s.i___36615 = 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__C25610_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C29258_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___32966 = (r0); - r0 = (s.i___32966 > -1); + s.i___36615 = (r0); + r0 = (s.i___36615 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P23246_mk(s); + s.tmp_1 = helpers_arraySplice__P26894_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___32966; + s.tmp_1.arg1 = s.i___36615; s.tmp_1.arg2 = 1; s.callLocIdx = 530; s.pc = 4; return s.tmp_1; case 4: @@ -16652,16 +16652,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P25617.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__P29265.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__P25617_mk(s) { +function sprites_SpriteSet_remove__P29265_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P25617, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P29265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___32966: undefined, + i___36615: undefined, arg0: undefined, arg1: undefined, } } @@ -16670,7 +16670,7 @@ function sprites_SpriteSet_remove__P25617_mk(s) { -function Sprite_kind__P25554(s) { +function Sprite_kind__P29202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16685,17 +16685,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P25554.info = {"start":12573,"length":41,"line":453,"column":4,"endLine":455,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P29202.info = {"start":12573,"length":41,"line":453,"column":4,"endLine":455,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P25554_mk(s) { +function Sprite_kind__P29202_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P25554, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P29202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16704,7 +16704,7 @@ function Sprite_kind__P25554_mk(s) { -function game_popScene__P26168(s) { +function game_popScene__P29816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16714,57 +16714,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___36723 = undefined; - s.tmp_0 = game_currentScene__P26163_mk(s); + s.oldScene___40372 = undefined; + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 1023; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___36723 = (r0); - s.tmp_0 = r0 = globals._sceneStack___28151; + s.oldScene___40372 = (r0); + s.tmp_0 = r0 = globals._sceneStack___31799; 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___28151); + r0 = pxsim_Array__length(globals._sceneStack___31799); 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___28151); - globals._scene___28150 = (r0); - s.tmp_0 = control_popEventContext__P23556_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___31799); + globals._scene___31798 = (r0); + s.tmp_0 = control_popEventContext__P27204_mk(s); s.callLocIdx = 1024; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___28150); + r0 = pxsim_numops_toBoolDecr(globals._scene___31798); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P23556_mk(s); + s.tmp_0 = control_popEventContext__P27204_mk(s); s.callLocIdx = 1025; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___28150 = (undefined); + globals._scene___31798 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___28150); + r0 = pxsim_numops_toBoolDecr(globals._scene___31798); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P26347_mk(s); + s.tmp_0 = particles_enableAll__P29995_mk(s); s.callLocIdx = 1026; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___28153); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___31801); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P36744); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P40393); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___36723); - s.tmp_1 = helpers_arrayForEach__P23255_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___28153; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___40372); + s.tmp_1 = helpers_arrayForEach__P26903_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___31801; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1028; s.pc = 15; return s.tmp_1; case 15: @@ -16775,23 +16775,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P26168.info = {"start":5778,"length":548,"line":185,"column":4,"endLine":203,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P29816.info = {"start":5778,"length":548,"line":185,"column":4,"endLine":203,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} -function game_popScene__P26168_mk(s) { +function game_popScene__P29816_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P26168, depth: s.depth + 1, + parent: s, fn: game_popScene__P29816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___36723: undefined, + oldScene___40372: undefined, } } -function game_popScene_inline__P36744(s) { +function game_popScene_inline__P40393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16816,12 +16816,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene_inline__P36744.info = {"start":6290,"length":18,"line":201,"column":38,"endLine":201,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_popScene_inline__P40393.info = {"start":6290,"length":18,"line":201,"column":38,"endLine":201,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_popScene_inline__P36744_mk(s) { +function game_popScene_inline__P40393_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P36744, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P40393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16831,7 +16831,7 @@ function game_popScene_inline__P36744_mk(s) { -function particles_enableAll__P26347(s) { +function particles_enableAll__P29995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16841,21 +16841,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___36748 = undefined; - s.tmp_0 = particles_particleSources__P28500_mk(s); + s.sources___40397 = undefined; + s.tmp_0 = particles_particleSources__P32148_mk(s); s.callLocIdx = 1265; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___36748 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___36748); + s.sources___40397 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___40397); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P23255_mk(s); - s.tmp_0.arg0 = s.sources___36748; - s.tmp_0.arg1 = particles_enableAll_inline__P36754; + s.tmp_0 = helpers_arrayForEach__P26903_mk(s); + s.tmp_0.arg0 = s.sources___40397; + s.tmp_0.arg1 = particles_enableAll_inline__P40403; s.callLocIdx = 1267; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P28496_mk(s); + s.tmp_0 = particles_pruneParticles__P32144_mk(s); s.callLocIdx = 1268; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -16865,22 +16865,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P26347.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P29995.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__P26347_mk(s) { +function particles_enableAll__P29995_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P26347, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P29995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___36748: undefined, + sources___40397: undefined, } } -function particles_enableAll_inline__P36754(s) { +function particles_enableAll_inline__P40403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16894,7 +16894,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P26328_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P29976_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1266; s.pc = 1; return s.tmp_0; @@ -16904,12 +16904,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P36754.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__P40403.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__P36754_mk(s) { +function particles_enableAll_inline__P40403_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P36754, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P40403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16919,7 +16919,7 @@ function particles_enableAll_inline__P36754_mk(s) { -function particles_particleSources__P28500(s) { +function particles_particleSources__P32148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16929,33 +16929,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___36922 = undefined; - s.tmp_0 = game_currentScene__P26163_mk(s); + s.sources___40571 = undefined; + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 1269; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___36922 = (r0); - r0 = s.sources___36922; + s.sources___40571 = (r0); + r0 = s.sources___40571; return leave(s, r0) default: oops() } } } -particles_particleSources__P28500.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P32148.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__P28500_mk(s) { +function particles_particleSources__P32148_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P28500, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P32148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___36922: undefined, + sources___40571: undefined, } } -function particles_pruneParticles__P28496(s) { +function particles_pruneParticles__P32144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16965,25 +16965,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___36759 = undefined; - s.tmp_0 = particles_particleSources__P28500_mk(s); + s.sources___40408 = undefined; + s.tmp_0 = particles_particleSources__P32148_mk(s); s.callLocIdx = 1252; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___36759 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___36759); + s.sources___40408 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___40408); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P23255_mk(s); - s.tmp_1 = helpers_arraySlice__P23261_mk(s); - s.tmp_1.arg0 = s.sources___36759; + s.tmp_0 = helpers_arrayForEach__P26903_mk(s); + s.tmp_1 = helpers_arraySlice__P26909_mk(s); + s.tmp_1.arg0 = s.sources___40408; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___36759); + r0 = pxsim_Array__length(s.sources___40408); s.tmp_1.arg2 = r0; s.callLocIdx = 1253; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P36768; + s.tmp_0.arg1 = particles_pruneParticles_inline__P40417; s.callLocIdx = 1255; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -16993,23 +16993,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P28496.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P32144.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__P28496_mk(s) { +function particles_pruneParticles__P32144_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P28496, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P32144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___36759: undefined, + sources___40408: undefined, } } -function particles_pruneParticles_inline__P36768(s) { +function particles_pruneParticles_inline__P40417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17023,7 +17023,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P26323_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P29971_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1254; s.pc = 1; return s.tmp_0; case 1: @@ -17032,12 +17032,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P36768.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__P40417.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__P36768_mk(s) { +function particles_pruneParticles_inline__P40417_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P36768, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P40417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17047,7 +17047,7 @@ function particles_pruneParticles_inline__P36768_mk(s) { -function particles_ParticleSource__prune__P26323(s) { +function particles_ParticleSource__prune__P29971(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17057,15 +17057,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___36798 = undefined; - s.sources___36806 = undefined; - s.current___36820 = undefined; + s.scene___40447 = undefined; + s.sources___40455 = undefined; + s.current___40469 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -17108,36 +17108,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P26163_mk(s); + s.tmp_5 = game_currentScene__P29811_mk(s); s.callLocIdx = 1227; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___36798 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___36798); + s.scene___40447 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___40447); if (!r0) { step = 7; continue; } - r0 = s.scene___36798.fields["allSprites"]; + r0 = s.scene___40447.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P28500_mk(s); + s.tmp_0 = particles_particleSources__P32148_mk(s); s.callLocIdx = 1228; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___36806 = (r0); - s.tmp_0 = r0 = s.sources___36806; + s.sources___40455 = (r0); + s.tmp_0 = r0 = s.sources___40455; 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___36806); + r0 = pxsim_Array__length(s.sources___40455); 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___36806, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___40455, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -17146,35 +17146,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___36820 = (r0); + s.current___40469 = (r0); case 15: - s.tmp_0 = r0 = s.current___36820; + s.tmp_0 = r0 = s.current___40469; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___36820.fields["next"]; + r0 = s.current___40469.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___36820.fields["next"]; + r0 = s.current___40469.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___36820.fields["next"]; + r0 = s.current___40469.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___36820).fields["next"] = (s.tmp_4); + r0 = (s.current___40469).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___36820.fields["next"]; - s.current___36820 = (r0); + r0 = s.current___40469.fields["next"]; + s.current___40469 = (r0); case 19: { step = 15; continue; } case 20: @@ -17182,12 +17182,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P26323.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__P29971.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__P26323_mk(s) { +function particles_ParticleSource__prune__P29971_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P26323, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P29971, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17195,9 +17195,9 @@ function particles_ParticleSource__prune__P26323_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___36798: undefined, - sources___36806: undefined, - current___36820: undefined, + scene___40447: undefined, + sources___40455: undefined, + current___40469: undefined, arg0: undefined, } } @@ -17205,7 +17205,7 @@ function particles_ParticleSource__prune__P26323_mk(s) { -function particles_ParticleSource_enabled__P26328(s) { +function particles_ParticleSource_enabled__P29976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17221,9 +17221,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P26327_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P29975_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1231; s.pc = 5; return s.tmp_3; case 5: @@ -17254,12 +17254,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P26328.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__P29976.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__P26328_mk(s) { +function particles_ParticleSource_enabled__P29976_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P26328, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P29976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17276,7 +17276,7 @@ function particles_ParticleSource_enabled__P26328_mk(s) { -function particles_ParticleSource_enabled__P26327(s) { +function particles_ParticleSource_enabled__P29975(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17291,7 +17291,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -17306,13 +17306,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P26327.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__P26327.isGetter = true; +particles_ParticleSource_enabled__P29975.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__P29975.isGetter = true; -function particles_ParticleSource_enabled__P26327_mk(s) { +function particles_ParticleSource_enabled__P29975_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P26327, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P29975, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17326,7 +17326,7 @@ function particles_ParticleSource_enabled__P26327_mk(s) { -function control_popEventContext__P23556(s) { +function control_popEventContext__P27204(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17336,9 +17336,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___36929 = undefined; - s.context___36937 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___27650); + s.ctx___40578 = undefined; + s.context___40586 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___31298); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17347,9 +17347,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___27650); - s.ctx___36929 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___36929); + r0 = pxsim_Array_.pop(globals.eventContexts___31298); + s.ctx___40578 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___40578); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17358,53 +17358,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P23548_mk(s); - s.tmp_2.arg0 = s.ctx___36929; + s.tmp_2 = control_EventContext_unregister__P27196_mk(s); + s.tmp_2.arg0 = s.ctx___40578; s.callLocIdx = 57; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___27650; - r0 = pxsim_Array__length(globals.eventContexts___27650); + s.tmp_0 = r0 = globals.eventContexts___31298; + r0 = pxsim_Array__length(globals.eventContexts___31298); 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___36937 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___36937); + s.context___40586 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___40586); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P23547_mk(s); - s.tmp_0.arg0 = s.context___36937; + s.tmp_0 = control_EventContext_register__P27195_mk(s); + s.tmp_0.arg0 = s.context___40586; s.callLocIdx = 58; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___27650 = (undefined); + globals.eventContexts___31298 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P23556.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P27204.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -function control_popEventContext__P23556_mk(s) { +function control_popEventContext__P27204_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P23556, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P27204, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___36929: undefined, - context___36937: undefined, + ctx___40578: undefined, + context___40586: undefined, } } -function control_EventContext_register__P23547(s) { +function control_EventContext_register__P27195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17414,38 +17414,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___36950 = undefined; - s.unnamed304___U1 = undefined; - s.unnamed305___U2 = undefined; + s.h___40599 = undefined; + s.unnamed952___U1 = undefined; + s.unnamed953___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23541_VT)) failedCast(r0); - s.h___36950 = (undefined); + if (!checkSubtype(r0, control_EventContext__C27189_VT)) failedCast(r0); + s.h___40599 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed304___U1 = (r0); - s.unnamed305___U2 = (0); + s.unnamed952___U1 = (r0); + s.unnamed953___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed305___U2; - r0 = pxsim_Array__length(s.unnamed304___U1); + s.tmp_0 = r0 = s.unnamed953___U2; + r0 = pxsim_Array__length(s.unnamed952___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed304___U1, s.unnamed305___U2); - s.h___36950 = (r0); - s.tmp_2 = control_EventHandler_register__P27643_mk(s); - s.tmp_2.arg0 = s.h___36950; + r0 = pxsim_Array__getAt(s.unnamed952___U1, s.unnamed953___U2); + s.h___40599 = (r0); + s.tmp_2 = control_EventHandler_register__P31291_mk(s); + s.tmp_2.arg0 = s.h___40599; s.callLocIdx = 48; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed305___U2 + 1); - s.unnamed305___U2 = (r0); + r0 = (s.unnamed953___U2 + 1); + s.unnamed953___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed304___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P27648_mk(s); + s.unnamed952___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P31296_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 49; s.pc = 4; return s.tmp_0; case 4: @@ -17454,19 +17454,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P23547.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P27195.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventContext_register__P23547_mk(s) { +function control_EventContext_register__P27195_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P23547, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P27195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___36950: undefined, - unnamed304___U1: undefined, - unnamed305___U2: undefined, + h___40599: undefined, + unnamed952___U1: undefined, + unnamed953___U2: undefined, arg0: undefined, } } @@ -17474,7 +17474,7 @@ function control_EventContext_register__P23547_mk(s) { -function controller__setUserEventsEnabled__P25353(s) { +function controller__setUserEventsEnabled__P29001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17488,17 +17488,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___27946 = (s.arg0); + globals._userEventsEnabled___31594 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P25353.info = {"start":10070,"length":101,"line":291,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} +controller__setUserEventsEnabled__P29001.info = {"start":10070,"length":101,"line":291,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -function controller__setUserEventsEnabled__P25353_mk(s) { +function controller__setUserEventsEnabled__P29001_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P25353, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P29001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17507,7 +17507,7 @@ function controller__setUserEventsEnabled__P25353_mk(s) { -function scene_systemMenu_MenuOption_constructor__P26252(s) { +function scene_systemMenu_MenuOption_constructor__P29900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17525,7 +17525,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26251_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C29899_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -17533,12 +17533,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P26252.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__P29900.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__P26252_mk(s) { +function scene_systemMenu_MenuOption_constructor__P29900_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P26252, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P29900, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17550,7 +17550,7 @@ function scene_systemMenu_MenuOption_constructor__P26252_mk(s) { -function helpers_screenBrightness__P25113(s) { +function helpers_screenBrightness__P28761(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17564,16 +17564,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___25098; + r0 = globals.brightness___28746; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P25113.info = {"start":9161,"length":98,"line":288,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P28761.info = {"start":9161,"length":98,"line":288,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P25113_mk(s) { +function helpers_screenBrightness__P28761_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P25113, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P28761, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17582,7 +17582,7 @@ function helpers_screenBrightness__P25113_mk(s) { -function music_volume__P24768(s) { +function music_volume__P28416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17592,20 +17592,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P27685_mk(s); + s.tmp_0 = music_initVolume__P31333_mk(s); s.callLocIdx = 62; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___27681; + r0 = globals.globalVolume___31329; return leave(s, r0) default: oops() } } } -music_volume__P24768.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P28416.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__P24768_mk(s) { +function music_volume__P28416_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P24768, depth: s.depth + 1, + parent: s, fn: music_volume__P28416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17614,7 +17614,7 @@ function music_volume__P24768_mk(s) { -function music_initVolume__P27685(s) { +function music_initVolume__P31333(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17624,12 +17624,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___27681 === null); + r0 = (globals.globalVolume___31329 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___27681 = (0); - s.tmp_0 = music_setVolume__P24767_mk(s); + globals.globalVolume___31329 = (0); + s.tmp_0 = music_setVolume__P28415_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 59; s.pc = 3; return s.tmp_0; @@ -17641,12 +17641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P27685.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P31333.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__P27685_mk(s) { +function music_initVolume__P31333_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P27685, depth: s.depth + 1, + parent: s, fn: music_initVolume__P31333, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17655,7 +17655,7 @@ function music_initVolume__P27685_mk(s) { -function helpers_arrayConcat__P23259(s) { +function helpers_arrayConcat__P26907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17665,74 +17665,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___37618 = undefined; - s.value___37621 = undefined; - s.unnamed294___U2 = undefined; - s.unnamed295___U3 = undefined; - s.value___37628 = undefined; - s.unnamed296___U5 = undefined; - s.unnamed297___U6 = undefined; + s.out___41267 = undefined; + s.value___41270 = undefined; + s.unnamed942___U2 = undefined; + s.unnamed943___U3 = undefined; + s.value___41277 = undefined; + s.unnamed944___U5 = undefined; + s.unnamed945___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___37618 = (r0); - s.value___37621 = (undefined); - s.unnamed294___U2 = (s.arg0); - s.unnamed295___U3 = (0); + s.out___41267 = (r0); + s.value___41270 = (undefined); + s.unnamed942___U2 = (s.arg0); + s.unnamed943___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed295___U3; - r0 = pxsim_Array__length(s.unnamed294___U2); + s.tmp_0 = r0 = s.unnamed943___U3; + r0 = pxsim_Array__length(s.unnamed942___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed294___U2, s.unnamed295___U3); - s.value___37621 = (r0); - r0 = pxsim_Array__push(s.out___37618, s.value___37621); - r0 = (s.unnamed295___U3 + 1); - s.unnamed295___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed942___U2, s.unnamed943___U3); + s.value___41270 = (r0); + r0 = pxsim_Array__push(s.out___41267, s.value___41270); + r0 = (s.unnamed943___U3 + 1); + s.unnamed943___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed294___U2 = (undefined); - s.value___37628 = (undefined); - s.unnamed296___U5 = (s.arg1); - s.unnamed297___U6 = (0); + s.unnamed942___U2 = (undefined); + s.value___41277 = (undefined); + s.unnamed944___U5 = (s.arg1); + s.unnamed945___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed297___U6; - r0 = pxsim_Array__length(s.unnamed296___U5); + s.tmp_0 = r0 = s.unnamed945___U6; + r0 = pxsim_Array__length(s.unnamed944___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed296___U5, s.unnamed297___U6); - s.value___37628 = (r0); - r0 = pxsim_Array__push(s.out___37618, s.value___37628); - r0 = (s.unnamed297___U6 + 1); - s.unnamed297___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed944___U5, s.unnamed945___U6); + s.value___41277 = (r0); + r0 = pxsim_Array__push(s.out___41267, s.value___41277); + r0 = (s.unnamed945___U6 + 1); + s.unnamed945___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed296___U5 = (undefined); - r0 = s.out___37618; + s.unnamed944___U5 = (undefined); + r0 = s.out___41267; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P23259.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__P26907.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__P23259_mk(s) { +function helpers_arrayConcat__P26907_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P23259, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P26907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___37618: undefined, - value___37621: undefined, - unnamed294___U2: undefined, - unnamed295___U3: undefined, - value___37628: undefined, - unnamed296___U5: undefined, - unnamed297___U6: undefined, + out___41267: undefined, + value___41270: undefined, + unnamed942___U2: undefined, + unnamed943___U3: undefined, + value___41277: undefined, + unnamed944___U5: undefined, + unnamed945___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -17741,7 +17741,7 @@ function helpers_arrayConcat__P23259_mk(s) { -function scene_systemMenu_PauseMenu_show__P26261(s) { +function scene_systemMenu_PauseMenu_show__P29909(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17751,14 +17751,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___36215 = undefined; - s.i___36216 = undefined; + s.current___39864 = undefined; + s.i___39865 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26259_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C29907_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -17776,9 +17776,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___36216 = (0); + s.i___39865 = (0); case 1: - s.tmp_1 = r0 = s.i___36216; + s.tmp_1 = r0 = s.i___39865; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -17789,22 +17789,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___36216); - s.current___36215 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P26253_mk(s); - s.tmp_0.arg0 = s.current___36215; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___39865); + s.current___39864 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P29901_mk(s); + s.tmp_0.arg0 = s.current___39864; s.callLocIdx = 1070; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P26256_mk(s); - s.tmp_0.arg0 = s.current___36215; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P29904_mk(s); + s.tmp_0.arg0 = s.current___39864; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.callLocIdx = 1071; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P26254_mk(s); - s.tmp_0.arg0 = s.current___36215; + s.tmp_0 = scene_systemMenu_MenuOption_position__P29902_mk(s); + s.tmp_0.arg0 = s.current___39864; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -17819,7 +17819,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___36216; + s.tmp_5 = r0 = s.i___39865; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -17884,7 +17884,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___36216; + s.tmp_17 = r0 = s.i___39865; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -17938,98 +17938,98 @@ switch (step) { s.callLocIdx = 1080; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___36216 + 1); - s.i___36216 = (r0); + r0 = (s.i___39865 + 1); + s.i___39865 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P25353_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P29001_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 1081; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P36279); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P39928); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25343_mk(s); - s.tmp_1.arg0 = globals.A___25260; + s.tmp_1 = controller_Button_onEvent__P28991_mk(s); + s.tmp_1.arg0 = globals.A___28908; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1083; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P36299); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P39948); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25343_mk(s); - s.tmp_1.arg0 = globals.A___25260; + s.tmp_1 = controller_Button_onEvent__P28991_mk(s); + s.tmp_1.arg0 = globals.A___28908; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1085; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P25343_mk(s); - s.tmp_0.arg0 = globals.B___25261; + s.tmp_0 = controller_Button_onEvent__P28991_mk(s); + s.tmp_0.arg0 = globals.B___28909; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P36328; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P39977; s.callLocIdx = 1087; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P25343_mk(s); - s.tmp_0.arg0 = globals.menu___25266; + s.tmp_0 = controller_Button_onEvent__P28991_mk(s); + s.tmp_0.arg0 = globals.menu___28914; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P36333; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P39982; s.callLocIdx = 1089; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P36338); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P39987); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25343_mk(s); - s.tmp_1.arg0 = globals.up___25263; + s.tmp_1 = controller_Button_onEvent__P28991_mk(s); + s.tmp_1.arg0 = globals.up___28911; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1093; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P36350); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P39999); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25343_mk(s); - s.tmp_1.arg0 = globals.left___25262; + s.tmp_1 = controller_Button_onEvent__P28991_mk(s); + s.tmp_1.arg0 = globals.left___28910; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1096; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P36359); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P40008); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25343_mk(s); - s.tmp_1.arg0 = globals.down___25265; + s.tmp_1 = controller_Button_onEvent__P28991_mk(s); + s.tmp_1.arg0 = globals.down___28913; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1100; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P36375); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P40024); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25343_mk(s); - s.tmp_1.arg0 = globals.right___25264; + s.tmp_1 = controller_Button_onEvent__P28991_mk(s); + s.tmp_1.arg0 = globals.right___28912; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1103; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P36387); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P40036); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P26181_mk(s); + s.tmp_1 = game_onShade__P29829_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1106; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26263_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P29911_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1107; s.pc = 25; return s.tmp_0; @@ -18039,12 +18039,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P26261.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__P29909.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__P26261_mk(s) { +function scene_systemMenu_PauseMenu_show__P29909_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P26261, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P29909, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18071,8 +18071,8 @@ function scene_systemMenu_PauseMenu_show__P26261_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___36215: undefined, - i___36216: undefined, + current___39864: undefined, + i___39865: undefined, arg0: undefined, } } @@ -18080,7 +18080,7 @@ function scene_systemMenu_PauseMenu_show__P26261_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P36279(s) { +function scene_systemMenu_PauseMenu_show_inline__P39928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18118,7 +18118,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P26257_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P29905_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -18134,12 +18134,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P36279.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__P39928.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__P36279_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P39928_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36279, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P39928, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18158,7 +18158,7 @@ function scene_systemMenu_PauseMenu_show_inline__P36279_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P36299(s) { +function scene_systemMenu_PauseMenu_show_inline__P39948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18196,7 +18196,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P26257_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P29905_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -18220,12 +18220,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P36299.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__P39948.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__P36299_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P39948_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36299, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P39948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18244,7 +18244,7 @@ function scene_systemMenu_PauseMenu_show_inline__P36299_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P36328(s) { +function scene_systemMenu_PauseMenu_show_inline__P39977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18254,7 +18254,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P26266_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P29914_mk(s); s.callLocIdx = 1086; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -18262,12 +18262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P36328.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__P39977.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__P36328_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P39977_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36328, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P39977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18276,7 +18276,7 @@ function scene_systemMenu_PauseMenu_show_inline__P36328_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P36333(s) { +function scene_systemMenu_PauseMenu_show_inline__P39982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18286,7 +18286,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P26266_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P29914_mk(s); s.callLocIdx = 1088; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -18294,12 +18294,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P36333.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__P39982.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__P36333_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P39982_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36333, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P39982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18308,7 +18308,7 @@ function scene_systemMenu_PauseMenu_show_inline__P36333_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P36338(s) { +function scene_systemMenu_PauseMenu_show_inline__P39987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18318,9 +18318,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26263_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P29911_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P23276_mk(s); + s.tmp_1 = Math_max__P26924_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -18351,12 +18351,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P36338.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__P39987.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__P36338_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P39987_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36338, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P39987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18369,7 +18369,7 @@ function scene_systemMenu_PauseMenu_show_inline__P36338_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P36350(s) { +function scene_systemMenu_PauseMenu_show_inline__P39999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18379,9 +18379,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26263_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P29911_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P23276_mk(s); + s.tmp_1 = Math_max__P26924_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -18398,12 +18398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P36350.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__P39999.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__P36350_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P39999_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36350, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P39999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18414,7 +18414,7 @@ function scene_systemMenu_PauseMenu_show_inline__P36350_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P36359(s) { +function scene_systemMenu_PauseMenu_show_inline__P40008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18424,9 +18424,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26263_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P29911_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P23277_mk(s); + s.tmp_1 = Math_min__P26925_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -18462,12 +18462,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P36359.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__P40008.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__P36359_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P40008_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36359, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P40008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18482,7 +18482,7 @@ function scene_systemMenu_PauseMenu_show_inline__P36359_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P36375(s) { +function scene_systemMenu_PauseMenu_show_inline__P40024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18492,9 +18492,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26263_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P29911_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P23277_mk(s); + s.tmp_1 = Math_min__P26925_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -18516,12 +18516,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P36375.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__P40024.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__P36375_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P40024_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36375, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P40024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18534,7 +18534,7 @@ function scene_systemMenu_PauseMenu_show_inline__P36375_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P36387(s) { +function scene_systemMenu_PauseMenu_show_inline__P40036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18544,12 +18544,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P26262_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P29910_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1104; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P26264_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P29912_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1105; s.pc = 2; return s.tmp_0; case 2: @@ -18558,12 +18558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P36387.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__P40036.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__P36387_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P40036_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P36387, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P40036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18572,7 +18572,7 @@ function scene_systemMenu_PauseMenu_show_inline__P36387_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P26264(s) { +function scene_systemMenu_PauseMenu_drawText__P29912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18587,7 +18587,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26259_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C29907_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18599,11 +18599,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P25103_mk(s); - s.tmp_3.arg0 = globals.screen___25179; + s.tmp_3 = helpers_imageFillRect__P28751_mk(s); + s.tmp_3.arg0 = globals.screen___28827; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18625,8 +18625,8 @@ switch (step) { s.callLocIdx = 1119; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P25136_mk(s); - s.tmp_0.arg0 = globals.screen___25179; + s.tmp_0 = helpers_imagePrintCenter__P28784_mk(s); + s.tmp_0.arg0 = globals.screen___28827; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -18660,8 +18660,8 @@ switch (step) { s.callLocIdx = 1122; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P25103_mk(s); - s.tmp_0.arg0 = globals.screen___25179; + s.tmp_0 = helpers_imageFillRect__P28751_mk(s); + s.tmp_0.arg0 = globals.screen___28827; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18679,9 +18679,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25179); + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18705,8 +18705,8 @@ switch (step) { s.callLocIdx = 1125; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P25103_mk(s); - s.tmp_0.arg0 = globals.screen___25179; + s.tmp_0 = helpers_imageFillRect__P28751_mk(s); + s.tmp_0.arg0 = globals.screen___28827; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -18735,7 +18735,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18787,8 +18787,8 @@ switch (step) { s.callLocIdx = 1131; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P25136_mk(s); - s.tmp_0.arg0 = globals.screen___25179; + s.tmp_0 = helpers_imagePrintCenter__P28784_mk(s); + s.tmp_0.arg0 = globals.screen___28827; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -18847,12 +18847,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P26264.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__P29912.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__P26264_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P29912_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P26264, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P29912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18871,7 +18871,7 @@ function scene_systemMenu_PauseMenu_drawText__P26264_mk(s) { -function helpers_imagePrintCenter__P25136(s) { +function helpers_imagePrintCenter__P28784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18881,8 +18881,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___36474 = undefined; - s.x___36480 = undefined; + s.w___40123 = undefined; + s.x___40129 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18897,7 +18897,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P25124_mk(s); + s.tmp_2 = image_getFontForText__P28772_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 95; s.pc = 3; return s.tmp_2; case 3: @@ -18921,17 +18921,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___36474 = (r0); + s.w___40123 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___36474); + r0 = (s.tmp_1 - s.w___40123); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___36480 = (r0); - s.tmp_0 = helpers_imagePrint__P25137_mk(s); + s.x___40129 = (r0); + s.tmp_0 = helpers_imagePrint__P28785_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___36480; + s.tmp_0.arg2 = s.x___40129; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -18943,18 +18943,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P25136.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__P28784.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__P25136_mk(s) { +function helpers_imagePrintCenter__P28784_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P25136, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P28784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___36474: undefined, - x___36480: undefined, + w___40123: undefined, + x___40129: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18966,7 +18966,7 @@ function helpers_imagePrintCenter__P25136_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P26263(s) { +function scene_systemMenu_PauseMenu_setSelection__P29911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18982,7 +18982,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26259_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C29907_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -19002,7 +19002,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__P26257_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P29905_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -19024,9 +19024,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C25336_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___25260; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C25336_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C28984_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___28908; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C28984_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: @@ -19041,7 +19041,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P26257_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P29905_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -19054,7 +19054,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P28406_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P32054_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1117; s.pc = 13; return s.tmp_0; case 13: @@ -19064,12 +19064,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P26263.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__P29911.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__P26263_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P29911_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P26263, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P29911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19088,7 +19088,7 @@ function scene_systemMenu_PauseMenu_setSelection__P26263_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P28406(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P32054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19098,13 +19098,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___36675 = undefined; + s.row___40324 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26259_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C29907_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -19122,17 +19122,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___36675 = (r0); + s.row___40324 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___36675 === s.tmp_1); + r0 = (s.row___40324 === 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___36675 - 1); + r0 = (s.row___40324 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -19147,7 +19147,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___36675 > s.tmp_6); + r0 = (s.row___40324 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -19207,12 +19207,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P28406.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__P32054.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__P28406_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P32054_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P28406, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P32054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19224,7 +19224,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P28406_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___36675: undefined, + row___40324: undefined, arg0: undefined, } } @@ -19232,7 +19232,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P28406_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P26262(s) { +function scene_systemMenu_PauseMenu_onUpdate__P29910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19242,22 +19242,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___36496 = undefined; - s.i___36500 = undefined; - s.dt___36529 = undefined; + s.t___40145 = undefined; + s.i___40149 = undefined; + s.dt___40178 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26259_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C29907_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___36496 = (r0); - s.i___36500 = (0); + s.t___40145 = (r0); + s.i___40149 = (0); case 1: - s.tmp_1 = r0 = s.i___36500; + s.tmp_1 = r0 = s.i___40149; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19266,13 +19266,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__P26255_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P29903_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___36500); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___40149); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___36496; - s.tmp_11 = r0 = s.i___36500; + s.tmp_8 = r0 = s.t___40145; + s.tmp_11 = r0 = s.i___40149; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -19300,11 +19300,11 @@ switch (step) { s.callLocIdx = 1109; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___36500 + 1); - s.i___36500 = (r0); + r0 = (s.i___40149 + 1); + s.i___40149 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P26163_mk(s); + s.tmp_1 = game_currentScene__P29811_mk(s); s.callLocIdx = 1110; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -19313,7 +19313,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___36529 = (r0); + s.dt___40178 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -19325,7 +19325,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___36529 * 100); + r0 = (s.dt___40178 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -19343,7 +19343,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___36529 * 100); + r0 = (s.dt___40178 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -19353,7 +19353,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P23274_mk(s); + s.tmp_2 = Math_abs__P26922_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -19373,8 +19373,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P25936_mk(s); - s.tmp_1 = game_currentScene__P26163_mk(s); + s.tmp_0 = scene_Camera_offsetY__P29584_mk(s); + s.tmp_1 = game_currentScene__P29811_mk(s); s.callLocIdx = 1113; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -19390,12 +19390,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P26262.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__P29910.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__P26262_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P29910_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P26262, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P29910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19411,9 +19411,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P26262_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___36496: undefined, - i___36500: undefined, - dt___36529: undefined, + t___40145: undefined, + i___40149: undefined, + dt___40178: undefined, arg0: undefined, } } @@ -19421,7 +19421,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P26262_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P26255(s) { +function scene_systemMenu_MenuOption_setOffset__P29903(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19437,8 +19437,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26251_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P25551_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C29899_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P29199_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -19448,10 +19448,10 @@ switch (step) { s.callLocIdx = 1051; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P25504_mk(s); + s.tmp_0 = Sprite_y__P29152_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P25503_mk(s); + s.tmp_1 = Sprite_y__P29151_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1052; s.pc = 3; return s.tmp_1; @@ -19465,12 +19465,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P26255.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__P29903.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__P26255_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P29903_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P26255, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P29903, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19482,7 +19482,7 @@ function scene_systemMenu_MenuOption_setOffset__P26255_mk(s) { -function Sprite_top__P25551(s) { +function Sprite_top__P29199(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19492,22 +19492,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___36603 = undefined; + s.physics___40252 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P26163_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 360; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___36603 = (r0); - s.tmp_0 = PhysicsEngine__C25658_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___36603; + s.physics___40252 = (r0); + s.tmp_0 = PhysicsEngine__C29306_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___40252; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -19518,7 +19518,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__C25658_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C29306_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: @@ -19527,18 +19527,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P25551.info = {"start":11687,"length":256,"line":421,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P29199.info = {"start":11687,"length":256,"line":421,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P25551_mk(s) { +function Sprite_top__P29199_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P25551, depth: s.depth + 1, + parent: s, fn: Sprite_top__P29199, 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___36603: undefined, + physics___40252: undefined, arg0: undefined, arg1: undefined, } } @@ -19547,7 +19547,7 @@ function Sprite_top__P25551_mk(s) { -function PhysicsEngine_moveSprite__P25662(s) { +function PhysicsEngine_moveSprite__P29310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19565,17 +19565,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25658_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C29306_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P25662.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__P29310.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__P25662_mk(s) { +function PhysicsEngine_moveSprite__P29310_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P25662, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P29310, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19587,7 +19587,7 @@ function PhysicsEngine_moveSprite__P25662_mk(s) { -function Sprite_y__P25504(s) { +function Sprite_y__P29152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19603,11 +19603,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P25551_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P29199_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_height__P25545_mk(s); + s.tmp_4 = Sprite_height__P29193_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 311; s.pc = 2; return s.tmp_4; case 2: @@ -19624,12 +19624,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P25504.info = {"start":3081,"length":65,"line":126,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P29152.info = {"start":3081,"length":65,"line":126,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P25504_mk(s) { +function Sprite_y__P29152_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P25504, depth: s.depth + 1, + parent: s, fn: Sprite_y__P29152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19644,7 +19644,7 @@ function Sprite_y__P25504_mk(s) { -function Sprite_height__P25545(s) { +function Sprite_height__P29193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19659,20 +19659,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_height__P25545.info = {"start":10541,"length":61,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P25545.isGetter = true; +Sprite_height__P29193.info = {"start":10541,"length":61,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P29193.isGetter = true; -function Sprite_height__P25545_mk(s) { +function Sprite_height__P29193_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P25545, depth: s.depth + 1, + parent: s, fn: Sprite_height__P29193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19682,7 +19682,7 @@ function Sprite_height__P25545_mk(s) { -function Math_abs__P23274(s) { +function Math_abs__P26922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19711,12 +19711,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P23274.info = {"start":16120,"length":77,"line":539,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P26922.info = {"start":16120,"length":77,"line":539,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P23274_mk(s) { +function Math_abs__P26922_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P23274, depth: s.depth + 1, + parent: s, fn: Math_abs__P26922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19727,7 +19727,7 @@ function Math_abs__P23274_mk(s) { -function scene_systemMenu_MenuOption_setState__P26257(s) { +function scene_systemMenu_MenuOption_setState__P29905(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19743,7 +19743,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26251_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C29899_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -19754,7 +19754,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P28405_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P32053_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1055; s.pc = 4; return s.tmp_0; case 4: @@ -19764,12 +19764,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P26257.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__P29905.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__P26257_mk(s) { +function scene_systemMenu_MenuOption_setState__P29905_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P26257, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P29905, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19781,7 +19781,7 @@ function scene_systemMenu_MenuOption_setState__P26257_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P28405(s) { +function scene_systemMenu_MenuOption_updateCard__P32053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19796,7 +19796,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26251_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C29899_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -19819,7 +19819,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P25538_mk(s); + s.tmp_4 = Sprite_setImage__P29186_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -19841,7 +19841,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P25538_mk(s); + s.tmp_0 = Sprite_setImage__P29186_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -19863,7 +19863,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P25538_mk(s); + s.tmp_0 = Sprite_setImage__P29186_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -19884,10 +19884,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P25502_mk(s); + s.tmp_0 = Sprite_x__P29150_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P25501_mk(s); + s.tmp_1 = Sprite_x__P29149_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1064; s.pc = 15; return s.tmp_1; @@ -19897,10 +19897,10 @@ switch (step) { s.callLocIdx = 1065; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P25504_mk(s); + s.tmp_0 = Sprite_y__P29152_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P25503_mk(s); + s.tmp_1 = Sprite_y__P29151_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1066; s.pc = 17; return s.tmp_1; @@ -19915,12 +19915,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P28405.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__P32053.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__P28405_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P32053_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P28405, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P32053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19935,7 +19935,7 @@ function scene_systemMenu_MenuOption_updateCard__P28405_mk(s) { -function Sprite_x__P25502(s) { +function Sprite_x__P29150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19951,11 +19951,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P25547_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P29195_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_width__P25544_mk(s); + s.tmp_4 = Sprite_width__P29192_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 306; s.pc = 2; return s.tmp_4; case 2: @@ -19972,12 +19972,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P25502.info = {"start":2724,"length":65,"line":115,"column":4,"endLine":117,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P29150.info = {"start":2724,"length":65,"line":115,"column":4,"endLine":117,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P25502_mk(s) { +function Sprite_x__P29150_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P25502, depth: s.depth + 1, + parent: s, fn: Sprite_x__P29150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19992,7 +19992,7 @@ function Sprite_x__P25502_mk(s) { -function Sprite_left__P25547(s) { +function Sprite_left__P29195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20002,22 +20002,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___37409 = undefined; + s.physics___41058 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P26163_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 352; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___37409 = (r0); - s.tmp_0 = PhysicsEngine__C25658_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___37409; + s.physics___41058 = (r0); + s.tmp_0 = PhysicsEngine__C29306_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___41058; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -20028,7 +20028,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__C25658_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C29306_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: @@ -20037,18 +20037,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P25547.info = {"start":10853,"length":257,"line":391,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P29195.info = {"start":10853,"length":257,"line":391,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P25547_mk(s) { +function Sprite_left__P29195_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P25547, depth: s.depth + 1, + parent: s, fn: Sprite_left__P29195, 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___37409: undefined, + physics___41058: undefined, arg0: undefined, arg1: undefined, } } @@ -20057,7 +20057,7 @@ function Sprite_left__P25547_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P26256(s) { +function scene_systemMenu_MenuOption_setTheme__P29904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20073,9 +20073,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26251_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C29899_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P28405_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P32053_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1054; s.pc = 1; return s.tmp_0; case 1: @@ -20084,12 +20084,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P26256.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__P29904.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__P26256_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P29904_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P26256, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P29904, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20100,7 +20100,7 @@ function scene_systemMenu_MenuOption_setTheme__P26256_mk(s) { -function scene_systemMenu_MenuOption_position__P26254(s) { +function scene_systemMenu_MenuOption_position__P29902(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20117,26 +20117,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26251_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C29899_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P25547_mk(s); + s.tmp_0 = Sprite_left__P29195_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1045; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P25551_mk(s); + s.tmp_0 = Sprite_top__P29199_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1046; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P25502_mk(s); + s.tmp_0 = Sprite_x__P29150_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P25501_mk(s); + s.tmp_1 = Sprite_x__P29149_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1047; s.pc = 4; return s.tmp_1; @@ -20146,10 +20146,10 @@ switch (step) { s.callLocIdx = 1048; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P25504_mk(s); + s.tmp_0 = Sprite_y__P29152_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P25503_mk(s); + s.tmp_1 = Sprite_y__P29151_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1049; s.pc = 6; return s.tmp_1; @@ -20163,12 +20163,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P26254.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__P29902.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__P26254_mk(s) { +function scene_systemMenu_MenuOption_position__P29902_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P26254, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P29902, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20181,7 +20181,7 @@ function scene_systemMenu_MenuOption_position__P26254_mk(s) { -function scene_systemMenu_MenuOption_show__P26253(s) { +function scene_systemMenu_MenuOption_show__P29901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20196,7 +20196,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26251_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C29899_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -20216,12 +20216,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___26275; + r0 = globals.CARD_NORMAL___29923; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P25422_mk(s); + s.tmp_5 = sprites_create__P29070_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; s.callLocIdx = 1041; s.pc = 4; return s.tmp_5; @@ -20244,7 +20244,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P25422_mk(s); + s.tmp_2 = sprites_create__P29070_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -20272,12 +20272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P26253.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__P29901.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__P26253_mk(s) { +function scene_systemMenu_MenuOption_show__P29901_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P26253, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P29901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20292,7 +20292,7 @@ function scene_systemMenu_MenuOption_show__P26253_mk(s) { -function sprites_create__P25422(s) { +function sprites_create__P29070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20302,51 +20302,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___37485 = undefined; - s.sprite___37488 = undefined; + s.scene___41134 = undefined; + s.sprite___41137 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P26163_mk(s); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 297; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___37485 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C25488_VT); + s.scene___41134 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C29136_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P25535_mk(s); + s.tmp_1 = Sprite_constructor__P29183_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 298; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___37488 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P25555_mk(s); - s.tmp_0.arg0 = s.sprite___37488; + s.sprite___41137 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P29203_mk(s); + s.tmp_0.arg0 = s.sprite___41137; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 299; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C25658_v0_2_mk(s); - r0 = s.scene___37485.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C29306_v0_2_mk(s); + r0 = s.scene___41134.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___37488; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25658_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___41137; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C29306_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__P37503); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P41152); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P37509); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P41158); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___37488); - s.tmp_2 = helpers_arrayForEach__P23255_mk(s); - s.tmp_3 = helpers_arrayFilter__P23256_mk(s); - r0 = s.scene___37485.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___41137); + s.tmp_2 = helpers_arrayForEach__P26903_mk(s); + s.tmp_3 = helpers_arrayFilter__P26904_mk(s); + r0 = s.scene___41134.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 300; s.pc = 6; return s.tmp_3; @@ -20357,23 +20357,23 @@ switch (step) { s.callLocIdx = 302; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___37488; + r0 = s.sprite___41137; return leave(s, r0) default: oops() } } } -sprites_create__P25422.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__P29070.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__P25422_mk(s) { +function sprites_create__P29070_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P25422, depth: s.depth + 1, + parent: s, fn: sprites_create__P29070, 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___37485: undefined, - sprite___37488: undefined, + scene___41134: undefined, + sprite___41137: undefined, arg0: undefined, arg1: undefined, } } @@ -20382,7 +20382,7 @@ function sprites_create__P25422_mk(s) { -function forEach_inline__P37503(s) { +function forEach_inline__P41152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20402,12 +20402,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P37503.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__P41152.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__P37503_mk(s) { +function forEach_inline__P41152_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P37503, depth: s.depth + 1, + parent: s, fn: forEach_inline__P41152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20417,7 +20417,7 @@ function forEach_inline__P37503_mk(s) { -function sprites_create_inline__P37509(s) { +function sprites_create_inline__P41158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20449,12 +20449,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P37509.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__P41158.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__P37509_mk(s) { +function sprites_create_inline__P41158_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P37509, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P41158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20464,7 +20464,7 @@ function sprites_create_inline__P37509_mk(s) { -function PhysicsEngine_addSprite__P25660(s) { +function PhysicsEngine_addSprite__P29308(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20480,17 +20480,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25658_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C29306_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P25660.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__P29308.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__P25660_mk(s) { +function PhysicsEngine_addSprite__P29308_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P25660, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P29308, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20500,7 +20500,7 @@ function PhysicsEngine_addSprite__P25660_mk(s) { -function Sprite_setKind__P25555(s) { +function Sprite_setKind__P29203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20510,15 +20510,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___32889 = undefined; - s.overlapMap___32918 = undefined; + s.spritesByKind___36538 = undefined; + s.overlapMap___36567 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -20537,12 +20537,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P26163_mk(s); + s.tmp_3 = game_currentScene__P29811_mk(s); s.callLocIdx = 367; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___32889 = (r0); + s.spritesByKind___36538 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -20554,16 +20554,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32889, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___36538, 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__P25617_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P29265_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32889, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___36538, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 368; s.pc = 17; return s.tmp_4; @@ -20575,7 +20575,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___32889, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___36538, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -20583,18 +20583,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__C25610_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C29258_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P25612_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P29260_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 369; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___32889, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___36538, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P25615_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32889, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P29263_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___36538, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 370; s.pc = 19; return s.tmp_0; @@ -20602,13 +20602,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P26163_mk(s); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 371; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___32918 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___32918, s.arg1); + s.overlapMap___36567 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___36567, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -20616,7 +20616,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___32918; + s.tmp_3 = r0 = s.overlapMap___36567; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -20624,7 +20624,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___32918, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___36567, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -20633,12 +20633,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P25555.info = {"start":12841,"length":663,"line":464,"column":4,"endLine":484,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P29203.info = {"start":12841,"length":663,"line":464,"column":4,"endLine":484,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P25555_mk(s) { +function Sprite_setKind__P29203_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P25555, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P29203, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20646,8 +20646,8 @@ function Sprite_setKind__P25555_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___32889: undefined, - overlapMap___32918: undefined, + spritesByKind___36538: undefined, + overlapMap___36567: undefined, arg0: undefined, arg1: undefined, } } @@ -20656,7 +20656,7 @@ function Sprite_setKind__P25555_mk(s) { -function sprites_SpriteSet_add__P25615(s) { +function sprites_SpriteSet_add__P29263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20672,7 +20672,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25610_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C29258_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -20703,12 +20703,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P25615.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__P29263.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__P25615_mk(s) { +function sprites_SpriteSet_add__P29263_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P25615, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P29263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20724,7 +20724,7 @@ function sprites_SpriteSet_add__P25615_mk(s) { -function sprites_SpriteSet_contains__P25618(s) { +function sprites_SpriteSet_contains__P29266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20740,7 +20740,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25610_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C29258_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -20749,12 +20749,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P25618.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__P29266.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__P25618_mk(s) { +function sprites_SpriteSet_contains__P29266_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P25618, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P29266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20766,7 +20766,7 @@ function sprites_SpriteSet_contains__P25618_mk(s) { -function sprites_SpriteSet_constructor__P25612(s) { +function sprites_SpriteSet_constructor__P29260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20781,7 +20781,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25610_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C29258_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -20790,12 +20790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P25612.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__P29260.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__P25612_mk(s) { +function sprites_SpriteSet_constructor__P29260_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P25612, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P29260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20806,7 +20806,7 @@ function sprites_SpriteSet_constructor__P25612_mk(s) { -function Sprite_constructor__P25535(s) { +function Sprite_constructor__P29183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20822,15 +20822,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P25243_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P28891_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 329; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -20844,7 +20844,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___25179); + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -20863,37 +20863,37 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P25506_mk(s); + s.tmp_0 = Sprite_vx__P29154_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 332; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P25508_mk(s); + s.tmp_0 = Sprite_vy__P29156_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 333; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P25510_mk(s); + s.tmp_0 = Sprite_ax__P29158_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 334; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P25512_mk(s); + s.tmp_0 = Sprite_ay__P29160_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 335; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P25514_mk(s); + s.tmp_0 = Sprite_fx__P29162_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 336; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P25516_mk(s); + s.tmp_0 = Sprite_fy__P29164_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 337; s.pc = 7; return s.tmp_0; @@ -20902,13 +20902,13 @@ switch (step) { r0 = (s.arg0).fields["_sx"] = (256); r0 = (s.arg0).fields["_sy"] = (256); r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P25538_mk(s); + s.tmp_0 = Sprite_setImage__P29186_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 338; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P25555_mk(s); + s.tmp_0 = Sprite_setKind__P29203_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 339; s.pc = 9; return s.tmp_0; @@ -20928,12 +20928,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P25535.info = {"start":7406,"length":678,"line":278,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P29183.info = {"start":7406,"length":678,"line":278,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P25535_mk(s) { +function Sprite_constructor__P29183_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P25535, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P29183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20950,7 +20950,7 @@ function Sprite_constructor__P25535_mk(s) { -function Sprite_fy__P25516(s) { +function Sprite_fy__P29164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20966,9 +20966,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P23276_mk(s); + s.tmp_3 = Math_max__P26924_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 325; s.pc = 1; return s.tmp_3; @@ -20984,12 +20984,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P25516.info = {"start":5109,"length":64,"line":191,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P29164.info = {"start":5109,"length":64,"line":191,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P25516_mk(s) { +function Sprite_fy__P29164_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P25516, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P29164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21004,7 +21004,7 @@ function Sprite_fy__P25516_mk(s) { -function Sprite_fy__P25515(s) { +function Sprite_fy__P29163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21019,20 +21019,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P25515.info = {"start":4947,"length":60,"line":186,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P25515.isGetter = true; +Sprite_fy__P29163.info = {"start":4947,"length":60,"line":186,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P29163.isGetter = true; -function Sprite_fy__P25515_mk(s) { +function Sprite_fy__P29163_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P25515, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P29163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21042,7 +21042,7 @@ function Sprite_fy__P25515_mk(s) { -function Sprite_fx__P25514(s) { +function Sprite_fx__P29162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21058,9 +21058,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P23276_mk(s); + s.tmp_3 = Math_max__P26924_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 322; s.pc = 1; return s.tmp_3; @@ -21076,12 +21076,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P25514.info = {"start":4766,"length":64,"line":181,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P29162.info = {"start":4766,"length":64,"line":181,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P25514_mk(s) { +function Sprite_fx__P29162_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P25514, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P29162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21096,7 +21096,7 @@ function Sprite_fx__P25514_mk(s) { -function Sprite_fx__P25513(s) { +function Sprite_fx__P29161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21111,20 +21111,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P25513.info = {"start":4604,"length":60,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P25513.isGetter = true; +Sprite_fx__P29161.info = {"start":4604,"length":60,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P29161.isGetter = true; -function Sprite_fx__P25513_mk(s) { +function Sprite_fx__P29161_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P25513, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P29161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21134,7 +21134,7 @@ function Sprite_fx__P25513_mk(s) { -function Sprite_ay__P25512(s) { +function Sprite_ay__P29160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21150,7 +21150,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21161,12 +21161,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P25512.info = {"start":4435,"length":51,"line":170,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P29160.info = {"start":4435,"length":51,"line":170,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P25512_mk(s) { +function Sprite_ay__P29160_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P25512, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P29160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21179,7 +21179,7 @@ function Sprite_ay__P25512_mk(s) { -function Sprite_ay__P25511(s) { +function Sprite_ay__P29159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21194,20 +21194,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P25511.info = {"start":4269,"length":60,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P25511.isGetter = true; +Sprite_ay__P29159.info = {"start":4269,"length":60,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P29159.isGetter = true; -function Sprite_ay__P25511_mk(s) { +function Sprite_ay__P29159_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P25511, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P29159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21217,7 +21217,7 @@ function Sprite_ay__P25511_mk(s) { -function Sprite_ax__P25510(s) { +function Sprite_ax__P29158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21233,7 +21233,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21244,12 +21244,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P25510.info = {"start":4096,"length":51,"line":159,"column":4,"endLine":161,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P29158.info = {"start":4096,"length":51,"line":159,"column":4,"endLine":161,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P25510_mk(s) { +function Sprite_ax__P29158_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P25510, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P29158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21262,7 +21262,7 @@ function Sprite_ax__P25510_mk(s) { -function Sprite_ax__P25509(s) { +function Sprite_ax__P29157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21277,20 +21277,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P25509.info = {"start":3930,"length":60,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P25509.isGetter = true; +Sprite_ax__P29157.info = {"start":3930,"length":60,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P29157.isGetter = true; -function Sprite_ax__P25509_mk(s) { +function Sprite_ax__P29157_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P25509, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P29157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21300,7 +21300,7 @@ function Sprite_ax__P25509_mk(s) { -function Sprite_vy__P25508(s) { +function Sprite_vy__P29156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21316,7 +21316,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21327,12 +21327,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P25508.info = {"start":3757,"length":51,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P29156.info = {"start":3757,"length":51,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P25508_mk(s) { +function Sprite_vy__P29156_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P25508, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P29156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21345,7 +21345,7 @@ function Sprite_vy__P25508_mk(s) { -function Sprite_vy__P25507(s) { +function Sprite_vy__P29155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21360,20 +21360,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P25507.info = {"start":3595,"length":60,"line":143,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P25507.isGetter = true; +Sprite_vy__P29155.info = {"start":3595,"length":60,"line":143,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P29155.isGetter = true; -function Sprite_vy__P25507_mk(s) { +function Sprite_vy__P29155_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P25507, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P29155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21383,7 +21383,7 @@ function Sprite_vy__P25507_mk(s) { -function Sprite_vx__P25506(s) { +function Sprite_vx__P29154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21399,7 +21399,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21410,12 +21410,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P25506.info = {"start":3426,"length":51,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P29154.info = {"start":3426,"length":51,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P25506_mk(s) { +function Sprite_vx__P29154_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P25506, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P29154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21428,7 +21428,7 @@ function Sprite_vx__P25506_mk(s) { -function Sprite_vx__P25505(s) { +function Sprite_vx__P29153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21443,20 +21443,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P25505.info = {"start":3264,"length":60,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P25505.isGetter = true; +Sprite_vx__P29153.info = {"start":3264,"length":60,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P29153.isGetter = true; -function Sprite_vx__P25505_mk(s) { +function Sprite_vx__P29153_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P25505, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P29153, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21466,7 +21466,7 @@ function Sprite_vx__P25505_mk(s) { -function sprites_BaseSprite_constructor__P25243(s) { +function sprites_BaseSprite_constructor__P28891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21482,15 +21482,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25241_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P25246_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C28889_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P28894_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 130; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P26017_mk(s); - s.tmp_1 = game_currentScene__P26163_mk(s); + s.tmp_0 = scene_Scene_addSprite__P29665_mk(s); + s.tmp_1 = game_currentScene__P29811_mk(s); s.callLocIdx = 131; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -21503,12 +21503,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P25243.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__P28891.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__P25243_mk(s) { +function sprites_BaseSprite_constructor__P28891_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P25243, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P28891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21520,7 +21520,7 @@ function sprites_BaseSprite_constructor__P25243_mk(s) { -function scene_Scene_addSprite__P26017(s) { +function scene_Scene_addSprite__P29665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21536,7 +21536,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25990_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C29638_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -21563,12 +21563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P26017.info = {"start":7218,"length":128,"line":200,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P29665.info = {"start":7218,"length":128,"line":200,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function scene_Scene_addSprite__P26017_mk(s) { +function scene_Scene_addSprite__P29665_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P26017, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P29665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21582,7 +21582,7 @@ function scene_Scene_addSprite__P26017_mk(s) { -function sprites_BaseSprite_z__P25246(s) { +function sprites_BaseSprite_z__P28894(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21598,7 +21598,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25241_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C28889_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -21606,7 +21606,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__P26163_mk(s); + s.tmp_1 = game_currentScene__P29811_mk(s); s.callLocIdx = 133; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -21622,12 +21622,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P25246.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__P28894.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__P25246_mk(s) { +function sprites_BaseSprite_z__P28894_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P25246, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P28894, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21641,7 +21641,7 @@ function sprites_BaseSprite_z__P25246_mk(s) { -function sprites_BaseSprite_z__P25245(s) { +function sprites_BaseSprite_z__P28893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21656,18 +21656,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25241_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C28889_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P25245.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__P25245.isGetter = true; +sprites_BaseSprite_z__P28893.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__P28893.isGetter = true; -function sprites_BaseSprite_z__P25245_mk(s) { +function sprites_BaseSprite_z__P28893_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P25245, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P28893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21676,7 +21676,7 @@ function sprites_BaseSprite_z__P25245_mk(s) { -function game_onShade__P26181(s) { +function game_onShade__P29829(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21690,7 +21690,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P28158_mk(s); + s.tmp_0 = game_init__P31806_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1029; s.pc = 4; return s.tmp_0; case 4: @@ -21704,7 +21704,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P25952_mk(s); + s.tmp_2 = scene_createRenderable__P29600_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -21716,12 +21716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P26181.info = {"start":16165,"length":145,"line":488,"column":4,"endLine":492,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P29829.info = {"start":16165,"length":145,"line":488,"column":4,"endLine":492,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P26181_mk(s) { +function game_onShade__P29829_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P26181, depth: s.depth + 1, + parent: s, fn: game_onShade__P29829, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21733,7 +21733,7 @@ function game_onShade__P26181_mk(s) { -function scene_createRenderable__P25952(s) { +function scene_createRenderable__P29600(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21743,14 +21743,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___36627 = undefined; + s.renderable___40276 = 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__C25947_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C29595_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -21758,11 +21758,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P36633; + r0 = renderable_inline__P40282; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P25948_mk(s); + s.tmp_3 = scene_Renderable_constructor__P29596_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -21770,23 +21770,23 @@ switch (step) { s.callLocIdx = 973; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___36627 = (s.tmp_0); - r0 = s.renderable___36627; + s.renderable___40276 = (s.tmp_0); + r0 = s.renderable___40276; return leave(s, r0) default: oops() } } } -scene_createRenderable__P25952.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__P29600.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__P25952_mk(s) { +function scene_createRenderable__P29600_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P25952, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P29600, 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___36627: undefined, + renderable___40276: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21796,7 +21796,7 @@ function scene_createRenderable__P25952_mk(s) { -function renderable_inline__P36633(s) { +function renderable_inline__P40282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21810,12 +21810,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P36633.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P40282.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__P36633_mk(s) { +function renderable_inline__P40282_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P36633, depth: s.depth + 1, + parent: s, fn: renderable_inline__P40282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -21823,7 +21823,7 @@ function renderable_inline__P36633_mk(s) { -function scene_Renderable_constructor__P25948(s) { +function scene_Renderable_constructor__P29596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21841,10 +21841,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C25947_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C29595_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P25243_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P28891_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 970; s.pc = 1; return s.tmp_0; @@ -21854,12 +21854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P25948.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__P29596.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__P25948_mk(s) { +function scene_Renderable_constructor__P29596_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P25948, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P29596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21872,7 +21872,7 @@ function scene_Renderable_constructor__P25948_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P26260(s) { +function scene_systemMenu_PauseMenu_constructor__P29908(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21889,7 +21889,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26259_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C29907_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -21897,8 +21897,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P26268_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___26275); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P29916_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___29923); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -21917,12 +21917,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P26260.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__P29908.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__P26260_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P29908_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P26260, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P29908, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21936,7 +21936,7 @@ function scene_systemMenu_PauseMenu_constructor__P26260_mk(s) { -function scene_systemMenu_buildMenuTheme__P26268(s) { +function scene_systemMenu_buildMenuTheme__P29916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21946,7 +21946,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___38281 = undefined; + s.cardsPerRow___41930 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21954,19 +21954,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); 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___38281 = (r0); + s.cardsPerRow___41930 = (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___25122; + r0 = globals.font8___28770; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -21977,7 +21977,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P25125_mk(s); + s.tmp_1 = image_doubledFont__P28773_mk(s); s.tmp_1.arg0 = s.arg2; s.callLocIdx = 1178; s.pc = 5; return s.tmp_1; case 5: @@ -21990,12 +21990,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___38281); - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___41930); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_3 = r0; - r0 = (s.cardsPerRow___38281 * s.arg0); + r0 = (s.cardsPerRow___41930 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___38281 - 1); + r0 = (s.cardsPerRow___41930 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -22026,7 +22026,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___25179); + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -22047,19 +22047,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___26276); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___26277); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___26275); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___29924); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___29925); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___29923); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P26268.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__P29916.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__P26268_mk(s) { +function scene_systemMenu_buildMenuTheme__P29916_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P26268, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P29916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22078,7 +22078,7 @@ function scene_systemMenu_buildMenuTheme__P26268_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___38281: undefined, + cardsPerRow___41930: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22089,7 +22089,7 @@ function scene_systemMenu_buildMenuTheme__P26268_mk(s) { -function image_doubledFont__P25125(s) { +function image_doubledFont__P28773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22103,7 +22103,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P25126_mk(s); + s.tmp_0 = image_scaledFont__P28774_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 89; s.pc = 1; return s.tmp_0; @@ -22112,12 +22112,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P25125.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__P28773.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__P25125_mk(s) { +function image_doubledFont__P28773_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P25125, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P28773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22127,7 +22127,7 @@ function image_doubledFont__P25125_mk(s) { -function image_scaledFont__P25126(s) { +function image_scaledFont__P28774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22242,12 +22242,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P25126.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__P28774.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__P25126_mk(s) { +function image_scaledFont__P28774_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P25126, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P28774, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22273,7 +22273,7 @@ function image_scaledFont__P25126_mk(s) { -function game_pushScene__P26167(s) { +function game_pushScene__P29815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22283,43 +22283,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___38360 = undefined; - s.tmp_0 = game_currentScene__P26163_mk(s); + s.oldScene___42009 = undefined; + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 1017; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___38360 = (r0); - s.tmp_0 = particles_clearAll__P26345_mk(s); + s.oldScene___42009 = (r0); + s.tmp_0 = particles_clearAll__P29993_mk(s); s.callLocIdx = 1018; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P26346_mk(s); + s.tmp_0 = particles_disableAll__P29994_mk(s); s.callLocIdx = 1019; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___28151); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___31799); 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___28151 = (r0); + globals._sceneStack___31799 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___28151, globals._scene___28150); - s.tmp_0 = game_init__P28158_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___31799, globals._scene___31798); + s.tmp_0 = game_init__P31806_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1020; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___28152); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___31800); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P38377); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P42026); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___38360); - s.tmp_1 = helpers_arrayForEach__P23255_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___28152; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___42009); + s.tmp_1 = helpers_arrayForEach__P26903_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___31800; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1022; s.pc = 9; return s.tmp_1; case 9: @@ -22330,23 +22330,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P26167.info = {"start":5405,"length":367,"line":172,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P29815.info = {"start":5405,"length":367,"line":172,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} -function game_pushScene__P26167_mk(s) { +function game_pushScene__P29815_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P26167, depth: s.depth + 1, + parent: s, fn: game_pushScene__P29815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___38360: undefined, + oldScene___42009: undefined, } } -function game_pushScene_inline__P38377(s) { +function game_pushScene_inline__P42026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22371,12 +22371,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene_inline__P38377.info = {"start":5736,"length":18,"line":181,"column":39,"endLine":181,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_pushScene_inline__P42026.info = {"start":5736,"length":18,"line":181,"column":39,"endLine":181,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_pushScene_inline__P38377_mk(s) { +function game_pushScene_inline__P42026_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P38377, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P42026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22386,7 +22386,7 @@ function game_pushScene_inline__P38377_mk(s) { -function particles_disableAll__P26346(s) { +function particles_disableAll__P29994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22396,21 +22396,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___38381 = undefined; - s.tmp_0 = particles_particleSources__P28500_mk(s); + s.sources___42030 = undefined; + s.tmp_0 = particles_particleSources__P32148_mk(s); s.callLocIdx = 1261; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___38381 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___38381); + s.sources___42030 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___42030); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P23255_mk(s); - s.tmp_0.arg0 = s.sources___38381; - s.tmp_0.arg1 = particles_disableAll_inline__P38387; + s.tmp_0 = helpers_arrayForEach__P26903_mk(s); + s.tmp_0.arg0 = s.sources___42030; + s.tmp_0.arg1 = particles_disableAll_inline__P42036; s.callLocIdx = 1263; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P28496_mk(s); + s.tmp_0 = particles_pruneParticles__P32144_mk(s); s.callLocIdx = 1264; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -22420,22 +22420,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P26346.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P29994.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__P26346_mk(s) { +function particles_disableAll__P29994_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P26346, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P29994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___38381: undefined, + sources___42030: undefined, } } -function particles_disableAll_inline__P38387(s) { +function particles_disableAll_inline__P42036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22449,7 +22449,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P26328_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P29976_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1262; s.pc = 1; return s.tmp_0; @@ -22459,12 +22459,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P38387.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__P42036.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__P38387_mk(s) { +function particles_disableAll_inline__P42036_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P38387, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P42036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22474,7 +22474,7 @@ function particles_disableAll_inline__P38387_mk(s) { -function particles_clearAll__P26345(s) { +function particles_clearAll__P29993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22484,21 +22484,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___38392 = undefined; - s.tmp_0 = particles_particleSources__P28500_mk(s); + s.sources___42041 = undefined; + s.tmp_0 = particles_particleSources__P32148_mk(s); s.callLocIdx = 1257; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___38392 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___38392); + s.sources___42041 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___42041); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P23255_mk(s); - s.tmp_0.arg0 = s.sources___38392; - s.tmp_0.arg1 = particles_clearAll_inline__P38398; + s.tmp_0 = helpers_arrayForEach__P26903_mk(s); + s.tmp_0.arg0 = s.sources___42041; + s.tmp_0.arg1 = particles_clearAll_inline__P42047; s.callLocIdx = 1259; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P28496_mk(s); + s.tmp_0 = particles_pruneParticles__P32144_mk(s); s.callLocIdx = 1260; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -22508,22 +22508,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P26345.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P29993.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__P26345_mk(s) { +function particles_clearAll__P29993_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P26345, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P29993, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___38392: undefined, + sources___42041: undefined, } } -function particles_clearAll_inline__P38398(s) { +function particles_clearAll_inline__P42047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22537,7 +22537,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P26330_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P29978_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1258; s.pc = 1; return s.tmp_0; case 1: @@ -22546,12 +22546,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P38398.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__P42047.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__P38398_mk(s) { +function particles_clearAll_inline__P42047_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P38398, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P42047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22561,7 +22561,7 @@ function particles_clearAll_inline__P38398_mk(s) { -function particles_ParticleSource_clear__P26330(s) { +function particles_ParticleSource_clear__P29978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22576,18 +22576,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P26330.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__P29978.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__P26330_mk(s) { +function particles_ParticleSource_clear__P29978_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P26330, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P29978, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -22596,7 +22596,7 @@ function particles_ParticleSource_clear__P26330_mk(s) { -function controller_Button_onEvent__P25343(s) { +function controller_Button_onEvent__P28991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22606,7 +22606,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.eventHandler___38410 = undefined; + s.eventHandler___42059 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22614,28 +22614,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); - s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P27939_mk(s); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); + s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P31587_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 203; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.eventHandler___38410 = (r0); - r0 = (s.eventHandler___38410).fields["callback"] = (s.arg2); + s.eventHandler___42059 = (r0); + r0 = (s.eventHandler___42059).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P25343.info = {"start":3784,"length":188,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} +controller_Button_onEvent__P28991.info = {"start":3784,"length":188,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} -function controller_Button_onEvent__P25343_mk(s) { +function controller_Button_onEvent__P28991_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P25343, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P28991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - eventHandler___38410: undefined, + eventHandler___42059: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22645,7 +22645,7 @@ function controller_Button_onEvent__P25343_mk(s) { -function controller_Button_getOrCreateHandlerForEvent__P27939(s) { +function controller_Button_getOrCreateHandlerForEvent__P31587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22655,19 +22655,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___38431 = undefined; - s.eventHandler___38440 = undefined; - s.unnamed316___U2 = undefined; - s.unnamed317___U3 = undefined; - s.newHandler___38456 = undefined; + s.handlerState___42080 = undefined; + s.eventHandler___42089 = undefined; + s.unnamed964___U2 = undefined; + s.unnamed965___U3 = undefined; + s.newHandler___42105 = 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__C25336_VT)) failedCast(r0); - s.tmp_3 = controller_Button_handlerState__P27934_mk(s); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); + s.tmp_3 = controller_Button_handlerState__P31582_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 213; s.pc = 10; return s.tmp_3; case 10: @@ -22679,16 +22679,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C25332_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C28980_VT); s.tmp_4 = r0; - s.tmp_5 = controller_ButtonEventHandlerState_constructor__P25333_mk(s); + s.tmp_5 = controller_ButtonEventHandlerState_constructor__P28981_mk(s); s.tmp_5.arg0 = s.tmp_4; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; s.callLocIdx = 215; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; - s.tmp_7 = game_currentScene__P26163_mk(s); + s.tmp_7 = game_currentScene__P29811_mk(s); s.callLocIdx = 214; s.pc = 12; return s.tmp_7; case 12: r0 = s.retval; @@ -22697,13 +22697,13 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_6, s.tmp_4); case 1: case 2: - s.tmp_0 = controller_Button_handlerState__P27934_mk(s); + s.tmp_0 = controller_Button_handlerState__P31582_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 216; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.handlerState___38431 = (r0); - r0 = s.handlerState___38431.fields["user"]; + s.handlerState___42080 = (r0); + r0 = s.handlerState___42080.fields["user"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22711,44 +22711,44 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = r0 = s.handlerState___38431; + s.tmp_3 = r0 = s.handlerState___42080; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["user"] = (s.tmp_4); case 3: case 4: - s.eventHandler___38440 = (undefined); - r0 = s.handlerState___38431.fields["user"]; - s.unnamed316___U2 = (r0); - s.unnamed317___U3 = (0); + s.eventHandler___42089 = (undefined); + r0 = s.handlerState___42080.fields["user"]; + s.unnamed964___U2 = (r0); + s.unnamed965___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed317___U3; - r0 = pxsim_Array__length(s.unnamed316___U2); + s.tmp_0 = r0 = s.unnamed965___U3; + r0 = pxsim_Array__length(s.unnamed964___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed316___U2, s.unnamed317___U3); - s.eventHandler___38440 = (r0); - r0 = s.eventHandler___38440.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed964___U2, s.unnamed965___U3); + s.eventHandler___42089 = (r0); + r0 = s.eventHandler___42089.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } - r0 = s.eventHandler___38440; + r0 = s.eventHandler___42089; { step = 9; continue; } case 6: case 7: - r0 = (s.unnamed317___U3 + 1); - s.unnamed317___U3 = (r0); + r0 = (s.unnamed965___U3 + 1); + s.unnamed965___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed316___U2 = (undefined); - r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P38453); + s.unnamed964___U2 = (undefined); + r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P42102); s.tmp_4 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.arg1); - s.tmp_5 = control_onEvent__P23537_mk(s); + s.tmp_5 = control_onEvent__P27185_mk(s); s.tmp_5.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; @@ -22757,30 +22757,30 @@ switch (step) { s.callLocIdx = 218; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C25330_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C28978_VT); s.tmp_0 = r0; - s.tmp_1 = controller_ButtonHandler_constructor__P25331_mk(s); + s.tmp_1 = controller_ButtonHandler_constructor__P28979_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = undefined; s.callLocIdx = 219; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.newHandler___38456 = (s.tmp_0); - r0 = s.handlerState___38431.fields["user"]; + s.newHandler___42105 = (s.tmp_0); + r0 = s.handlerState___42080.fields["user"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newHandler___38456); - r0 = s.newHandler___38456; + r0 = pxsim_Array__push(s.tmp_0, s.newHandler___42105); + r0 = s.newHandler___42105; case 9: return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent__P27939.info = {"start":8550,"length":829,"line":250,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"getOrCreateHandlerForEvent","argumentNames":["this","event"]} +controller_Button_getOrCreateHandlerForEvent__P31587.info = {"start":8550,"length":829,"line":250,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"getOrCreateHandlerForEvent","argumentNames":["this","event"]} -function controller_Button_getOrCreateHandlerForEvent__P27939_mk(s) { +function controller_Button_getOrCreateHandlerForEvent__P31587_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P27939, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P31587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22790,11 +22790,11 @@ function controller_Button_getOrCreateHandlerForEvent__P27939_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - handlerState___38431: undefined, - eventHandler___38440: undefined, - unnamed316___U2: undefined, - unnamed317___U3: undefined, - newHandler___38456: undefined, + handlerState___42080: undefined, + eventHandler___42089: undefined, + unnamed964___U2: undefined, + unnamed965___U3: undefined, + newHandler___42105: undefined, arg0: undefined, arg1: undefined, } } @@ -22803,7 +22803,7 @@ function controller_Button_getOrCreateHandlerForEvent__P27939_mk(s) { -function controller_Button_getOrCreateHandlerForEvent_inline__P38453(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P42102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22813,7 +22813,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_runButtonEvents__P27938_mk(s); + s.tmp_0 = controller_Button_runButtonEvents__P31586_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; s.callLocIdx = 217; s.pc = 1; return s.tmp_0; @@ -22823,12 +22823,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent_inline__P38453.info = {"start":9186,"length":33,"line":265,"column":44,"endLine":265,"endColumn":77,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_getOrCreateHandlerForEvent_inline__P42102.info = {"start":9186,"length":33,"line":265,"column":44,"endLine":265,"endColumn":77,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_getOrCreateHandlerForEvent_inline__P38453_mk(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P42102_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P38453, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P42102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -22837,7 +22837,7 @@ function controller_Button_getOrCreateHandlerForEvent_inline__P38453_mk(s) { -function controller_Button_runButtonEvents__P27938(s) { +function controller_Button_runButtonEvents__P31586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22847,25 +22847,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___38470 = undefined; - s.userHandler___38474 = undefined; - s.eventHandler___38485 = undefined; - s.unnamed314___U3 = undefined; - s.unnamed315___U4 = undefined; + s.handlerState___42119 = undefined; + s.userHandler___42123 = undefined; + s.eventHandler___42134 = undefined; + s.unnamed962___U3 = undefined; + s.unnamed963___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); - s.tmp_0 = controller_Button_handlerState__P27934_mk(s); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); + s.tmp_0 = controller_Button_handlerState__P31582_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 209; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.handlerState___38470 = (r0); - r0 = pxsim_numops_toBoolDecr(s.handlerState___38470); + s.handlerState___42119 = (r0); + r0 = pxsim_numops_toBoolDecr(s.handlerState___42119); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -22874,19 +22874,19 @@ switch (step) { { step = 13; continue; } case 1: case 2: - s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P27939_mk(s); + s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P31587_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 210; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.userHandler___38474 = (r0); - r0 = s.userHandler___38474.fields["callback"]; + s.userHandler___42123 = (r0); + r0 = s.userHandler___42123.fields["callback"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = if_callback_1_mk(s); - s.tmp_1.arg0 = s.userHandler___38474; + s.tmp_1.arg0 = s.userHandler___42123; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "callback"), 1); s.callLocIdx = 211; s.pc = 16; return s.tmp_1; @@ -22900,23 +22900,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = s.handlerState___38470.fields["system"]; + r0 = s.handlerState___42119.fields["system"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.eventHandler___38485 = (undefined); - r0 = s.handlerState___38470.fields["system"]; - s.unnamed314___U3 = (r0); - s.unnamed315___U4 = (0); + s.eventHandler___42134 = (undefined); + r0 = s.handlerState___42119.fields["system"]; + s.unnamed962___U3 = (r0); + s.unnamed963___U4 = (0); case 5: - s.tmp_0 = r0 = s.unnamed315___U4; - r0 = pxsim_Array__length(s.unnamed314___U3); + s.tmp_0 = r0 = s.unnamed963___U4; + r0 = pxsim_Array__length(s.unnamed962___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed314___U3, s.unnamed315___U4); - s.eventHandler___38485 = (r0); - r0 = s.eventHandler___38485.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed962___U3, s.unnamed963___U4); + s.eventHandler___42134 = (r0); + r0 = s.eventHandler___42134.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; @@ -22925,14 +22925,14 @@ switch (step) { r0 = s.tmp_2; { step = 7; continue; } case 6: - r0 = s.eventHandler___38485.fields["callback"]; + r0 = s.eventHandler___42134.fields["callback"]; case 7: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 8; continue; } s.tmp_5 = if_callback_1_mk(s); - s.tmp_5.arg0 = s.eventHandler___38485; + s.tmp_5.arg0 = s.eventHandler___42134; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "callback"), 1); s.callLocIdx = 212; s.pc = 17; return s.tmp_5; @@ -22946,11 +22946,11 @@ switch (step) { r0 = s.retval; case 8: case 9: - r0 = (s.unnamed315___U4 + 1); - s.unnamed315___U4 = (r0); + r0 = (s.unnamed963___U4 + 1); + s.unnamed963___U4 = (r0); { step = 5; continue; } case 10: - s.unnamed314___U3 = (undefined); + s.unnamed962___U3 = (undefined); case 11: case 12: case 13: @@ -22958,12 +22958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_runButtonEvents__P27938.info = {"start":8005,"length":535,"line":236,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"runButtonEvents","argumentNames":["this","event"]} +controller_Button_runButtonEvents__P31586.info = {"start":8005,"length":535,"line":236,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"runButtonEvents","argumentNames":["this","event"]} -function controller_Button_runButtonEvents__P27938_mk(s) { +function controller_Button_runButtonEvents__P31586_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_runButtonEvents__P27938, depth: s.depth + 1, + parent: s, fn: controller_Button_runButtonEvents__P31586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22971,11 +22971,11 @@ function controller_Button_runButtonEvents__P27938_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - handlerState___38470: undefined, - userHandler___38474: undefined, - eventHandler___38485: undefined, - unnamed314___U3: undefined, - unnamed315___U4: undefined, + handlerState___42119: undefined, + userHandler___42123: undefined, + eventHandler___42134: undefined, + unnamed962___U3: undefined, + unnamed963___U4: undefined, arg0: undefined, arg1: undefined, } } @@ -22984,7 +22984,7 @@ function controller_Button_runButtonEvents__P27938_mk(s) { -function controller_Button_handlerState__P27934(s) { +function controller_Button_handlerState__P31582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22994,32 +22994,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___38501 = undefined; - s.unnamed312___U1 = undefined; - s.unnamed313___U2 = undefined; + s.state___42150 = undefined; + s.unnamed960___U1 = undefined; + s.unnamed961___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); - s.state___38501 = (undefined); - s.tmp_0 = game_currentScene__P26163_mk(s); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); + s.state___42150 = (undefined); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 199; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; - s.unnamed312___U1 = (r0); - s.unnamed313___U2 = (0); + s.unnamed960___U1 = (r0); + s.unnamed961___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed313___U2; - r0 = pxsim_Array__length(s.unnamed312___U1); + s.tmp_0 = r0 = s.unnamed961___U2; + r0 = pxsim_Array__length(s.unnamed960___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed312___U1, s.unnamed313___U2); - s.state___38501 = (r0); - r0 = s.state___38501.fields["id"]; + r0 = pxsim_Array__getAt(s.unnamed960___U1, s.unnamed961___U2); + s.state___42150 = (r0); + r0 = s.state___42150.fields["id"]; s.tmp_3 = r0; r0 = s.arg0.fields["id"]; s.tmp_4 = r0; @@ -23027,36 +23027,36 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.state___38501; + r0 = s.state___42150; { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed313___U2 + 1); - s.unnamed313___U2 = (r0); + r0 = (s.unnamed961___U2 + 1); + s.unnamed961___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed312___U1 = (undefined); + s.unnamed960___U1 = (undefined); r0 = undefined; case 5: return leaveAccessor(s, r0) default: oops() } } } -controller_Button_handlerState__P27934.info = {"start":1644,"length":240,"line":66,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"handlerState","argumentNames":["this"]} -controller_Button_handlerState__P27934.isGetter = true; +controller_Button_handlerState__P31582.info = {"start":1644,"length":240,"line":66,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"handlerState","argumentNames":["this"]} +controller_Button_handlerState__P31582.isGetter = true; -function controller_Button_handlerState__P27934_mk(s) { +function controller_Button_handlerState__P31582_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_handlerState__P27934, depth: s.depth + 1, + parent: s, fn: controller_Button_handlerState__P31582, 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___38501: undefined, - unnamed312___U1: undefined, - unnamed313___U2: undefined, + state___42150: undefined, + unnamed960___U1: undefined, + unnamed961___U2: undefined, arg0: undefined, } } @@ -23064,7 +23064,7 @@ function controller_Button_handlerState__P27934_mk(s) { -function controller_ButtonEventHandlerState_constructor__P25333(s) { +function controller_ButtonEventHandlerState_constructor__P28981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23080,18 +23080,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonEventHandlerState__C25332_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonEventHandlerState__C28980_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonEventHandlerState_constructor__P25333.info = {"start":1122,"length":33,"line":48,"column":8,"endLine":48,"endColumn":41,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id"]} +controller_ButtonEventHandlerState_constructor__P28981.info = {"start":1122,"length":33,"line":48,"column":8,"endLine":48,"endColumn":41,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id"]} -function controller_ButtonEventHandlerState_constructor__P25333_mk(s) { +function controller_ButtonEventHandlerState_constructor__P28981_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonEventHandlerState_constructor__P25333, depth: s.depth + 1, + parent: s, fn: controller_ButtonEventHandlerState_constructor__P28981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23101,7 +23101,7 @@ function controller_ButtonEventHandlerState_constructor__P25333_mk(s) { -function controller_ButtonHandler_constructor__P25331(s) { +function controller_ButtonHandler_constructor__P28979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23118,19 +23118,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonHandler__C25330_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonHandler__C28978_VT)) failedCast(r0); r0 = (s.arg0).fields["event"] = (s.arg1); r0 = (s.arg0).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonHandler_constructor__P25331.info = {"start":997,"length":66,"line":44,"column":8,"endLine":44,"endColumn":74,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","event","callback"]} +controller_ButtonHandler_constructor__P28979.info = {"start":997,"length":66,"line":44,"column":8,"endLine":44,"endColumn":74,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","event","callback"]} -function controller_ButtonHandler_constructor__P25331_mk(s) { +function controller_ButtonHandler_constructor__P28979_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonHandler_constructor__P25331, depth: s.depth + 1, + parent: s, fn: controller_ButtonHandler_constructor__P28979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23141,7 +23141,7 @@ function controller_ButtonHandler_constructor__P25331_mk(s) { -function scene_systemMenu_initScreen__P28418(s) { +function scene_systemMenu_initScreen__P32066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23151,20 +23151,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___38513 = undefined; - s.tmp_0 = settings_readNumber__P25215_mk(s); + s.brightness___42162 = undefined; + s.tmp_0 = settings_readNumber__P28863_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 1187; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___38513 = (r0); - r0 = (s.brightness___38513 !== undefined); + s.brightness___42162 = (r0); + r0 = (s.brightness___42162 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P25112_mk(s); - s.tmp_1.arg0 = globals.screen___25179; - s.tmp_1.arg1 = s.brightness___38513; + s.tmp_1 = helpers_setScreenBrightness__P28760_mk(s); + s.tmp_1.arg0 = globals.screen___28827; + s.tmp_1.arg1 = s.brightness___42162; s.callLocIdx = 1188; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -23174,23 +23174,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P28418.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__P32066.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__P28418_mk(s) { +function scene_systemMenu_initScreen__P32066_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P28418, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P32066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___38513: undefined, + brightness___42162: undefined, } } -function settings_readNumber__P25215(s) { +function settings_readNumber__P28863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23200,15 +23200,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___38524 = undefined; - s.nums___38531 = undefined; + s.buf___42173 = undefined; + s.nums___42180 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___38524 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___38524); + s.buf___42173 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___42173); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23218,20 +23218,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P23329_mk(s); - s.tmp_2.arg0 = s.buf___38524; + s.tmp_2 = msgpack_unpackNumberArray__P26977_mk(s); + s.tmp_2.arg0 = s.buf___42173; s.tmp_2.arg1 = 0; s.callLocIdx = 129; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___38531 = (r0); - s.tmp_0 = r0 = s.nums___38531; + s.nums___42180 = (r0); + s.tmp_0 = r0 = s.nums___42180; 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___38531); + r0 = pxsim_Array__length(s.nums___42180); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -23239,7 +23239,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___38531, 0); + r0 = pxsim_Array__getAt(s.nums___42180, 0); { step = 7; continue; } case 4: case 5: @@ -23251,18 +23251,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P25215.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__P28863.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__P25215_mk(s) { +function settings_readNumber__P28863_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P25215, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P28863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___38524: undefined, - nums___38531: undefined, + buf___42173: undefined, + nums___42180: undefined, arg0: undefined, } } @@ -23270,7 +23270,7 @@ function settings_readNumber__P25215_mk(s) { -function settings_readBuffer__P25212(s) { +function settings_readBuffer__P28860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23288,12 +23288,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P25212.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__P28860.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__P25212_mk(s) { +function settings_readBuffer__P28860_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P25212, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P28860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23302,7 +23302,7 @@ function settings_readBuffer__P25212_mk(s) { -function msgpack_unpackNumberArray__P23329(s) { +function msgpack_unpackNumberArray__P26977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23312,16 +23312,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___38544 = undefined; - s.fmt___38551 = undefined; - s.v___38560 = undefined; + s.res___42193 = undefined; + s.fmt___42200 = undefined; + s.v___42209 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___38544 = (r0); + s.res___42193 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -23333,14 +23333,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P27586_mk(s); + s.tmp_4 = msgpack_tagFormat__P31234_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 20; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___38551 = (r0); - r0 = (s.fmt___38551 === null); + s.fmt___42200 = (r0); + r0 = (s.fmt___42200 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -23348,21 +23348,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___38560 = (r0); - r0 = (-31 <= s.v___38560); + s.v___42209 = (r0); + r0 = (-31 <= s.v___42209); 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___38560 <= 127); + r0 = (s.v___42209 <= 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___38544, s.v___38560); + r0 = pxsim_Array__push(s.res___42193, s.v___42209); { step = 5; continue; } case 4: r0 = null; @@ -23370,13 +23370,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___38544; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___38551, s.arg1); + s.tmp_0 = r0 = s.res___42193; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___42200, 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__P23321_mk(s); - s.tmp_2.arg0 = s.fmt___38551; + s.tmp_2 = pins_sizeOf__P26969_mk(s); + s.tmp_2.arg0 = s.fmt___42200; s.callLocIdx = 21; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -23397,26 +23397,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___38544; + r0 = s.res___42193; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P23329.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__P26977.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__P23329_mk(s) { +function msgpack_unpackNumberArray__P26977_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P23329, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P26977, 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___38544: undefined, - fmt___38551: undefined, - v___38560: undefined, + res___42193: undefined, + fmt___42200: undefined, + v___42209: undefined, arg0: undefined, arg1: undefined, } } @@ -23425,7 +23425,7 @@ function msgpack_unpackNumberArray__P23329_mk(s) { -function scene_systemMenu_initVolume__P28417(s) { +function scene_systemMenu_initVolume__P32065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23435,19 +23435,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___38605 = undefined; - s.tmp_0 = settings_readNumber__P25215_mk(s); + s.vol___42254 = undefined; + s.tmp_0 = settings_readNumber__P28863_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 1185; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___38605 = (r0); - r0 = (s.vol___38605 !== undefined); + s.vol___42254 = (r0); + r0 = (s.vol___42254 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P24767_mk(s); - s.tmp_1.arg0 = s.vol___38605; + s.tmp_1 = music_setVolume__P28415_mk(s); + s.tmp_1.arg0 = s.vol___42254; s.callLocIdx = 1186; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -23457,23 +23457,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P28417.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__P32065.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__P28417_mk(s) { +function scene_systemMenu_initVolume__P32065_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P28417, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P32065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___38605: undefined, + vol___42254: undefined, } } -function game_GameOverConfig_constructor__P26152(s) { +function game_GameOverConfig_constructor__P29800(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23488,8 +23488,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C26137_VT)) failedCast(r0); - s.tmp_0 = game_GameOverConfig_init__P26153_mk(s); + if (!checkSubtype(r0, game_GameOverConfig__C29785_VT)) failedCast(r0); + s.tmp_0 = game_GameOverConfig_init__P29801_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1008; s.pc = 1; return s.tmp_0; case 1: @@ -23498,12 +23498,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_constructor__P26152.info = {"start":1538,"length":50,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["this"]} +game_GameOverConfig_constructor__P29800.info = {"start":1538,"length":50,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["this"]} -function game_GameOverConfig_constructor__P26152_mk(s) { +function game_GameOverConfig_constructor__P29800_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_constructor__P26152, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_constructor__P29800, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23513,7 +23513,7 @@ function game_GameOverConfig_constructor__P26152_mk(s) { -function game_GameOverConfig_init__P26153(s) { +function game_GameOverConfig_init__P29801(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23528,21 +23528,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C26137_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C29785_VT)) failedCast(r0); r0 = (s.arg0).fields["scoringType"] = (0); - r0 = (s.arg0).fields["winEffect"] = (globals.confetti___26438); - r0 = (s.arg0).fields["loseEffect"] = (globals.melt___26460); + r0 = (s.arg0).fields["winEffect"] = (globals.confetti___30086); + r0 = (s.arg0).fields["loseEffect"] = (globals.melt___30108); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = music_melodyPlayable__P25070_mk(s); - s.tmp_2.arg0 = globals.powerUp___24797; + s.tmp_2 = music_melodyPlayable__P28718_mk(s); + s.tmp_2.arg0 = globals.powerUp___28445; s.callLocIdx = 1009; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["winSound"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = music_melodyPlayable__P25070_mk(s); - s.tmp_2.arg0 = globals.wawawawaa___24794; + s.tmp_2 = music_melodyPlayable__P28718_mk(s); + s.tmp_2.arg0 = globals.wawawawaa___28442; s.callLocIdx = 1010; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -23561,12 +23561,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_init__P26153.info = {"start":1598,"length":701,"line":63,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["this"]} +game_GameOverConfig_init__P29801.info = {"start":1598,"length":701,"line":63,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["this"]} -function game_GameOverConfig_init__P26153_mk(s) { +function game_GameOverConfig_init__P29801_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_init__P26153, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_init__P29801, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23578,7 +23578,7 @@ function game_GameOverConfig_init__P26153_mk(s) { -function melt_inline__P38668(s) { +function melt_inline__P42317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23588,11 +23588,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___38671 = undefined; - s.j___38679 = undefined; - s.x___38684 = undefined; - s.y___38690 = undefined; - s.c___38696 = undefined; + s.rounds___42320 = undefined; + s.j___42328 = undefined; + s.x___42333 = undefined; + s.y___42339 = undefined; + s.c___42345 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23605,14 +23605,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___38671 = (r0); - s.j___38679 = (0); + s.rounds___42320 = (r0); + s.j___42328 = (0); case 1: - r0 = (s.j___38679 < s.rounds___38671); + r0 = (s.j___42328 < s.rounds___42320); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P26227_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P29875_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -23622,8 +23622,8 @@ switch (step) { s.callLocIdx = 58; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___38684 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P26227_mk(s); + s.x___42333 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P29875_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -23633,42 +23633,42 @@ switch (step) { s.callLocIdx = 59; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___38690 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___38684, s.y___38690); - s.c___38696 = (r0); + s.y___42339 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___42333, s.y___42339); + s.c___42345 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___38684; - r0 = (s.y___38690 + 1); + s.tmp_1 = r0 = s.x___42333; + r0 = (s.y___42339 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___38696); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___42345); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___38684; - r0 = (s.y___38690 + 2); + s.tmp_1 = r0 = s.x___42333; + r0 = (s.y___42339 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___38696); - r0 = (s.j___38679 + 1); - s.j___38679 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___42345); + r0 = (s.j___42328 + 1); + s.j___42328 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P38668.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__P42317.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__P38668_mk(s) { +function melt_inline__P42317_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P38668, depth: s.depth + 1, + parent: s, fn: melt_inline__P42317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___38671: undefined, - j___38679: undefined, - x___38684: undefined, - y___38690: undefined, - c___38696: undefined, + rounds___42320: undefined, + j___42328: undefined, + x___42333: undefined, + y___42339: undefined, + c___42345: undefined, arg0: undefined, arg1: undefined, } } @@ -23677,7 +23677,7 @@ function melt_inline__P38668_mk(s) { -function confetti_inline__P38722(s) { +function confetti_inline__P42371(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23687,13 +23687,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___38725 = undefined; + s.factory___42374 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C26382_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C30030_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -23728,27 +23728,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P26383_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P30031_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 48; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___38725 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P26359_mk(s); - s.tmp_0.arg0 = s.factory___38725; + s.factory___42374 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P30007_mk(s); + s.tmp_0.arg0 = s.factory___42374; s.tmp_0.arg1 = 30; s.callLocIdx = 49; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C26315_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C29963_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P26320_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P29968_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___38725; + s.tmp_1.arg3 = s.factory___42374; s.callLocIdx = 50; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -23756,12 +23756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -confetti_inline__P38722.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__P42371.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__P38722_mk(s) { +function confetti_inline__P42371_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P38722, depth: s.depth + 1, + parent: s, fn: confetti_inline__P42371, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23769,7 +23769,7 @@ function confetti_inline__P38722_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___38725: undefined, + factory___42374: undefined, arg0: undefined, arg1: undefined, } } @@ -23778,7 +23778,7 @@ function confetti_inline__P38722_mk(s) { -function particles_ParticleSource_constructor__P26320(s) { +function particles_ParticleSource_constructor__P29968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23788,8 +23788,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___38746 = undefined; - s.removedSource___38755 = undefined; + s.sources___42395 = undefined; + s.removedSource___42404 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23798,62 +23798,62 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P25243_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P28891_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1207; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P28494_mk(s); + s.tmp_0 = particles_init__P32142_mk(s); s.callLocIdx = 1208; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P28500_mk(s); + s.tmp_0 = particles_particleSources__P32148_mk(s); s.callLocIdx = 1209; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___38746 = (r0); - r0 = pxsim_Array__length(s.sources___38746); + s.sources___42395 = (r0); + r0 = pxsim_Array__length(s.sources___42395); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___28486); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___32134); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P28497_mk(s); - s.tmp_2.arg0 = s.sources___38746; + s.tmp_2 = particles_sortSources__P32145_mk(s); + s.tmp_2.arg0 = s.sources___42395; s.callLocIdx = 1210; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___38746, 0); - s.removedSource___38755 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P26330_mk(s); - s.tmp_0.arg0 = s.removedSource___38755; + r0 = pxsim_Array_.removeAt(s.sources___42395, 0); + s.removedSource___42404 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P29978_mk(s); + s.tmp_0.arg0 = s.removedSource___42404; s.callLocIdx = 1212; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P26329_mk(s); - s.tmp_0.arg0 = s.removedSource___38755; + s.tmp_0 = particles_ParticleSource_destroy__P29977_mk(s); + s.tmp_0.arg0 = s.removedSource___42404; s.callLocIdx = 1213; 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__P26332_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P29980_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1214; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P26324_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P29972_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.callLocIdx = 1215; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P26331_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P29979_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1216; s.pc = 13; return s.tmp_0; @@ -23868,18 +23868,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___26335; + r0 = globals.defaultFactory___29983; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P26334_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P29982_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 1217; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___38746, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P26328_mk(s); + r0 = pxsim_Array__push(s.sources___42395, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P29976_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1218; s.pc = 15; return s.tmp_0; @@ -23889,18 +23889,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P26320.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__P29968.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__P26320_mk(s) { +function particles_ParticleSource_constructor__P29968_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P26320, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P29968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___38746: undefined, - removedSource___38755: undefined, + sources___42395: undefined, + removedSource___42404: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23911,7 +23911,7 @@ function particles_ParticleSource_constructor__P26320_mk(s) { -function particles_sortSources__P28497(s) { +function particles_sortSources__P32145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23925,9 +23925,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P23251_mk(s); + s.tmp_0 = helpers_arraySort__P26899_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P38949; + s.tmp_0.arg1 = particles_sortSources_inline__P42598; s.callLocIdx = 1256; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -23935,12 +23935,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources__P28497.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__P32145.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__P28497_mk(s) { +function particles_sortSources__P32145_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P28497, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P32145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23950,7 +23950,7 @@ function particles_sortSources__P28497_mk(s) { -function particles_sortSources_inline__P38949(s) { +function particles_sortSources_inline__P42598(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23988,12 +23988,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P38949.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__P42598.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__P38949_mk(s) { +function particles_sortSources_inline__P42598_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P38949, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P42598, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24009,7 +24009,7 @@ function particles_sortSources_inline__P38949_mk(s) { -function particles_init__P28494(s) { +function particles_init__P32142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24019,33 +24019,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___38988 = undefined; - s.tmp_0 = game_currentScene__P26163_mk(s); + s.scene___42637 = undefined; + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 1246; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___38988 = (r0); - r0 = s.scene___38988.fields["particleSources"]; + s.scene___42637 = (r0); + r0 = s.scene___42637.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___38988; + s.tmp_1 = r0 = s.scene___42637; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___28489 = (r0); - s.tmp_0 = game_onUpdate__P26187_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P28495; + globals.lastUpdate___32137 = (r0); + s.tmp_0 = game_onUpdate__P29835_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P32143; s.callLocIdx = 1247; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P26188_mk(s); + s.tmp_0 = game_onUpdateInterval__P29836_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P28496; + s.tmp_0.arg1 = particles_pruneParticles__P32144; s.callLocIdx = 1248; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -24054,24 +24054,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P28494.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P32142.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__P28494_mk(s) { +function particles_init__P32142_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P28494, depth: s.depth + 1, + parent: s, fn: particles_init__P32142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___38988: undefined, + scene___42637: undefined, } } -function particles_updateParticles__P28495(s) { +function particles_updateParticles__P32143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24081,16 +24081,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___39030 = undefined; - s.time___39037 = undefined; - s.dt___39040 = undefined; - s.i___39046 = undefined; - s.tmp_0 = particles_particleSources__P28500_mk(s); + s.sources___42679 = undefined; + s.time___42686 = undefined; + s.dt___42689 = undefined; + s.i___42695 = undefined; + s.tmp_0 = particles_particleSources__P32148_mk(s); s.callLocIdx = 1249; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___39030 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___39030); + s.sources___42679 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___42679); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24099,34 +24099,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P28497_mk(s); - s.tmp_2.arg0 = s.sources___39030; + s.tmp_2 = particles_sortSources__P32145_mk(s); + s.tmp_2.arg0 = s.sources___42679; s.callLocIdx = 1250; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___39037 = (r0); - r0 = (s.time___39037 - globals.lastUpdate___28489); - s.dt___39040 = (r0); - globals.lastUpdate___28489 = (s.time___39037); - s.i___39046 = (0); + s.time___42686 = (r0); + r0 = (s.time___42686 - globals.lastUpdate___32137); + s.dt___42689 = (r0); + globals.lastUpdate___32137 = (s.time___42686); + s.i___42695 = (0); case 3: - s.tmp_1 = r0 = s.i___39046; - r0 = pxsim_Array__length(s.sources___39030); + s.tmp_1 = r0 = s.i___42695; + r0 = pxsim_Array__length(s.sources___42679); 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__P26322_mk(s); - r0 = pxsim_Array__getAt(s.sources___39030, s.i___39046); + s.tmp_3 = particles_ParticleSource__update__P29970_mk(s); + r0 = pxsim_Array__getAt(s.sources___42679, s.i___42695); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___39040; + s.tmp_3.arg1 = s.dt___42689; s.callLocIdx = 1251; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___39046 + 1); - s.i___39046 = (r0); + r0 = (s.i___42695 + 1); + s.i___42695 = (r0); { step = 3; continue; } case 4: case 5: @@ -24134,28 +24134,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P28495.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P32143.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__P28495_mk(s) { +function particles_updateParticles__P32143_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P28495, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P32143, 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___39030: undefined, - time___39037: undefined, - dt___39040: undefined, - i___39046: undefined, + sources___42679: undefined, + time___42686: undefined, + dt___42689: undefined, + i___42695: undefined, } } -function particles_ParticleSource__update__P26322(s) { +function particles_ParticleSource__update__P29970(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24165,16 +24165,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___39109 = undefined; - s.current___39128 = undefined; - s.fixedDt___39136 = undefined; + s.p___42758 = undefined; + s.current___42777 = undefined; + s.fixedDt___42785 = 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__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -24200,7 +24200,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__P26329_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P29977_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1222; s.pc = 28; return s.tmp_0; case 28: @@ -24273,7 +24273,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P26327_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P29975_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1225; s.pc = 31; return s.tmp_2; case 31: @@ -24291,18 +24291,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__C26351_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C29999_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__C26351_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C29999_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___39109 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___39109); + s.p___42758 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___42758); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24313,8 +24313,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___39109).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___39109); + r0 = (s.p___42758).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___42758); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -24329,7 +24329,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___39128 = (r0); + s.current___42777 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -24341,36 +24341,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___39136 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___39136); + s.fixedDt___42785 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___42785); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___39128.fields["lifespan"]; + r0 = s.current___42777.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___39128; + s.tmp_2 = r0 = s.current___42777; 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__C26315_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C29963_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___39128; - s.tmp_0.arg2 = s.fixedDt___39136; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C26315_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___42777; + s.tmp_0.arg2 = s.fixedDt___42785; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C29963_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___39128.fields["next"]; + r0 = s.current___42777.fields["next"]; s.tmp_0 = r0; - s.current___39128 = (r0); + s.current___42777 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -24379,15 +24379,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___39128; + s.tmp_0 = r0 = s.current___42777; 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___39128.fields["next"]; + r0 = s.current___42777.fields["next"]; s.tmp_0 = r0; - s.current___39128 = (r0); + s.current___42777 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -24398,12 +24398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P26322.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__P29970.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__P26322_mk(s) { +function particles_ParticleSource__update__P29970_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P26322, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P29970, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24413,9 +24413,9 @@ function particles_ParticleSource__update__P26322_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___39109: undefined, - current___39128: undefined, - fixedDt___39136: undefined, + p___42758: undefined, + current___42777: undefined, + fixedDt___42785: undefined, arg0: undefined, arg1: undefined, } } @@ -24424,7 +24424,7 @@ function particles_ParticleSource__update__P26322_mk(s) { -function particles_ParticleSource_updateParticle__P28491(s) { +function particles_ParticleSource_updateParticle__P32139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24441,7 +24441,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -24496,12 +24496,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P28491.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__P32139.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__P28491_mk(s) { +function particles_ParticleSource_updateParticle__P32139_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P28491, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P32139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24518,7 +24518,7 @@ function particles_ParticleSource_updateParticle__P28491_mk(s) { -function Fx_rightShift__P23317(s) { +function Fx_rightShift__P26965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24537,12 +24537,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P23317.info = {"start":2266,"length":108,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} +Fx_rightShift__P26965.info = {"start":2266,"length":108,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} -function Fx_rightShift__P23317_mk(s) { +function Fx_rightShift__P26965_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P23317, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P26965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24552,7 +24552,7 @@ function Fx_rightShift__P23317_mk(s) { -function particles_ParticleFactory_createParticle__P26353(s) { +function particles_ParticleFactory_createParticle__P30001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24562,17 +24562,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___39219 = undefined; + s.p___42868 = 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__C26351_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C26296_VT); - s.p___39219 = (r0); - s.tmp_0 = r0 = s.p___39219; + if (!checkSubtype(r0, particles_ParticleFactory__C29999_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C29944_VT); + s.p___42868 = (r0); + s.tmp_0 = r0 = s.p___42868; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24591,7 +24591,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___39219; + s.tmp_0 = r0 = s.p___42868; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24610,26 +24610,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___39219).fields["vx"] = (0); - r0 = (s.p___39219).fields["vy"] = (0); - r0 = (s.p___39219).fields["lifespan"] = (500); - r0 = s.p___39219; + r0 = (s.p___42868).fields["vx"] = (0); + r0 = (s.p___42868).fields["vy"] = (0); + r0 = (s.p___42868).fields["lifespan"] = (500); + r0 = s.p___42868; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P26353.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__P30001.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__P26353_mk(s) { +function particles_ParticleFactory_createParticle__P30001_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P26353, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P30001, 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___39219: undefined, + p___42868: undefined, arg0: undefined, arg1: undefined, } } @@ -24638,7 +24638,7 @@ function particles_ParticleFactory_createParticle__P26353_mk(s) { -function game_onUpdateInterval__P26188(s) { +function game_onUpdateInterval__P29836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24648,7 +24648,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___39010 = undefined; + s.timer___42659 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24673,15 +24673,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___39010 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___39010, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P39014); + s.timer___42659 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___42659, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P42663); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___39010); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___42659); 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__P23549_mk(s); - s.tmp_2 = game_eventContext__P26166_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P27197_mk(s); + s.tmp_2 = game_eventContext__P29814_mk(s); s.callLocIdx = 1033; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -24696,17 +24696,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P26188.info = {"start":813,"length":401,"line":26,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +game_onUpdateInterval__P29836.info = {"start":813,"length":401,"line":26,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -function game_onUpdateInterval__P26188_mk(s) { +function game_onUpdateInterval__P29836_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P26188, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P29836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___39010: undefined, + timer___42659: undefined, arg0: undefined, arg1: undefined, } } @@ -24715,7 +24715,7 @@ function game_onUpdateInterval__P26188_mk(s) { -function game_onUpdateInterval_inline__P39014(s) { +function game_onUpdateInterval_inline__P42663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24725,22 +24725,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___39015 = undefined; - s.tmp_1 = game_currentScene__P26163_mk(s); + s.time___42664 = undefined; + s.tmp_1 = game_currentScene__P29811_mk(s); s.callLocIdx = 1034; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___39015 = (r0); + s.time___42664 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___39015); + r0 = (s.tmp_1 <= s.time___42664); 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___39015 + s.caps[1]); + r0 = (s.time___42664 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -24755,25 +24755,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P39014.info = {"start":1027,"length":179,"line":29,"column":81,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} +game_onUpdateInterval_inline__P42663.info = {"start":1027,"length":179,"line":29,"column":81,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} -function game_onUpdateInterval_inline__P39014_mk(s) { +function game_onUpdateInterval_inline__P42663_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P39014, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P42663, 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___39015: undefined, + time___42664: undefined, } } -function scene_Scene_millis__P26016(s) { +function scene_Scene_millis__P29664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24788,17 +24788,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25990_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C29638_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P26016.info = {"start":7147,"length":61,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P29664.info = {"start":7147,"length":61,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function scene_Scene_millis__P26016_mk(s) { +function scene_Scene_millis__P29664_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P26016, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P29664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -24807,7 +24807,7 @@ function scene_Scene_millis__P26016_mk(s) { -function game_onUpdate__P26187(s) { +function game_onUpdate__P29835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24830,8 +24830,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P23549_mk(s); - s.tmp_3 = game_eventContext__P26166_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P27197_mk(s); + s.tmp_3 = game_eventContext__P29814_mk(s); s.callLocIdx = 1031; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; @@ -24846,12 +24846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P26187.info = {"start":327,"length":153,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P29835.info = {"start":327,"length":153,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} -function game_onUpdate__P26187_mk(s) { +function game_onUpdate__P29835_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P26187, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P29835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24864,7 +24864,7 @@ function game_onUpdate__P26187_mk(s) { -function MAX_SOURCES_inline__P38964(s) { +function MAX_SOURCES_inline__P42613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24874,13 +24874,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___38965 = undefined; - s.tmp_0 = control_ramSize__P23492_mk(s); + s.sz___42614 = undefined; + s.tmp_0 = control_ramSize__P27140_mk(s); s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___38965 = (r0); - r0 = (s.sz___38965 <= 102400); + s.sz___42614 = (r0); + r0 = (s.sz___42614 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -24888,7 +24888,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___38965 <= 204800); + r0 = (s.sz___42614 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -24905,23 +24905,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P38964.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__P42613.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__P38964_mk(s) { +function MAX_SOURCES_inline__P42613_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P38964, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P42613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___38965: undefined, + sz___42614: undefined, } } -function control_ramSize__P23492(s) { +function control_ramSize__P27140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24946,12 +24946,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P23492.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P27140.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__P23492_mk(s) { +function control_ramSize__P27140_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P23492, depth: s.depth + 1, + parent: s, fn: control_ramSize__P27140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24961,7 +24961,7 @@ function control_ramSize__P23492_mk(s) { -function control__ramSize__P27613(s) { +function control__ramSize__P31261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24975,12 +24975,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P27613.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P31261.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__P27613_mk(s) { +function control__ramSize__P31261_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P27613, depth: s.depth + 1, + parent: s, fn: control__ramSize__P31261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -24988,7 +24988,7 @@ function control__ramSize__P27613_mk(s) { -function particles_SprayFactory_constructor__P26356(s) { +function particles_SprayFactory_constructor__P30004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25006,19 +25006,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C26355_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C30003_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P28515_mk(s); + s.tmp_0 = particles_initTrig__P32163_mk(s); s.callLocIdx = 1283; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P26359_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P30007_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1284; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P26360_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P30008_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -25029,12 +25029,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P26356.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__P30004.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__P26356_mk(s) { +function particles_SprayFactory_constructor__P30004_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P26356, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P30004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25047,7 +25047,7 @@ function particles_SprayFactory_constructor__P26356_mk(s) { -function particles_initTrig__P28515(s) { +function particles_initTrig__P32163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25057,36 +25057,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___28501); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___32149); 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__P26349_mk(s); + s.tmp_2 = particles_cacheSin__P29997_mk(s); s.tmp_2.arg0 = 100; s.callLocIdx = 1271; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___28501 = (r0); - s.tmp_0 = particles_cacheCos__P26350_mk(s); + globals.cachedSin___32149 = (r0); + s.tmp_0 = particles_cacheCos__P29998_mk(s); s.tmp_0.arg0 = 100; s.callLocIdx = 1272; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___28502 = (r0); + globals.cachedCos___32150 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P28515.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P32163.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__P28515_mk(s) { +function particles_initTrig__P32163_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P28515, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P32163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25097,7 +25097,7 @@ function particles_initTrig__P28515_mk(s) { -function particles_cacheCos__P26350(s) { +function particles_cacheCos__P29998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25107,25 +25107,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___38849 = undefined; - s.anglePerSlice___38851 = undefined; - s.i___38857 = undefined; + s.cos___42498 = undefined; + s.anglePerSlice___42500 = undefined; + s.i___42506 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___38849 = (r0); + s.cos___42498 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___38851 = (r0); - s.i___38857 = (0); + s.anglePerSlice___42500 = (r0); + s.i___42506 = (0); case 1: - r0 = (s.i___38857 < s.arg0); + r0 = (s.i___42506 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___38849; - r0 = (s.i___38857 * s.anglePerSlice___38851); + s.tmp_1 = r0 = s.cos___42498; + r0 = (s.i___42506 * s.anglePerSlice___42500); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -25134,20 +25134,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___38857 + 1); - s.i___38857 = (r0); + r0 = (s.i___42506 + 1); + s.i___42506 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___38849; + r0 = s.cos___42498; return leave(s, r0) default: oops() } } } -particles_cacheCos__P26350.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__P29998.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__P26350_mk(s) { +function particles_cacheCos__P29998_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P26350, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P29998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25155,9 +25155,9 @@ function particles_cacheCos__P26350_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___38849: undefined, - anglePerSlice___38851: undefined, - i___38857: undefined, + cos___42498: undefined, + anglePerSlice___42500: undefined, + i___42506: undefined, arg0: undefined, } } @@ -25165,7 +25165,7 @@ function particles_cacheCos__P26350_mk(s) { -function particles_cacheSin__P26349(s) { +function particles_cacheSin__P29997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25175,25 +25175,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___38875 = undefined; - s.anglePerSlice___38877 = undefined; - s.i___38883 = undefined; + s.sin___42524 = undefined; + s.anglePerSlice___42526 = undefined; + s.i___42532 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___38875 = (r0); + s.sin___42524 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___38877 = (r0); - s.i___38883 = (0); + s.anglePerSlice___42526 = (r0); + s.i___42532 = (0); case 1: - r0 = (s.i___38883 < s.arg0); + r0 = (s.i___42532 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___38875; - r0 = (s.i___38883 * s.anglePerSlice___38877); + s.tmp_1 = r0 = s.sin___42524; + r0 = (s.i___42532 * s.anglePerSlice___42526); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -25202,20 +25202,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___38883 + 1); - s.i___38883 = (r0); + r0 = (s.i___42532 + 1); + s.i___42532 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___38875; + r0 = s.sin___42524; return leave(s, r0) default: oops() } } } -particles_cacheSin__P26349.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__P29997.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__P26349_mk(s) { +function particles_cacheSin__P29997_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P26349, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P29997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25223,9 +25223,9 @@ function particles_cacheSin__P26349_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___38875: undefined, - anglePerSlice___38877: undefined, - i___38883: undefined, + sin___42524: undefined, + anglePerSlice___42526: undefined, + i___42532: undefined, arg0: undefined, } } @@ -25233,7 +25233,7 @@ function particles_cacheSin__P26349_mk(s) { -function particles_SprayFactory_setDirection__P26360(s) { +function particles_SprayFactory_setDirection__P30008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25250,9 +25250,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C26355_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C30003_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P28520_mk(s); + s.tmp_4 = particles_toRadians__P32168_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -25262,19 +25262,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___28514); + r0 = (s.tmp_3 / globals.angleSlice___32162); 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__P28520_mk(s); + s.tmp_4 = particles_toRadians__P32168_mk(s); s.tmp_4.arg0 = s.arg2; s.callLocIdx = 1294; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___28514); + r0 = (s.tmp_3 / globals.angleSlice___32162); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -25283,12 +25283,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P26360.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__P30008.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__P26360_mk(s) { +function particles_SprayFactory_setDirection__P30008_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P26360, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P30008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25306,7 +25306,7 @@ function particles_SprayFactory_setDirection__P26360_mk(s) { -function particles_toRadians__P28520(s) { +function particles_toRadians__P32168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25324,7 +25324,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P23274_mk(s); + s.tmp_3 = Math_abs__P26922_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1275; s.pc = 3; return s.tmp_3; case 3: @@ -25343,12 +25343,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P28520.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__P32168.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__P28520_mk(s) { +function particles_toRadians__P32168_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P28520, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P32168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25361,7 +25361,7 @@ function particles_toRadians__P28520_mk(s) { -function particles_ParticleFactory_constructor__P26352(s) { +function particles_ParticleFactory_constructor__P30000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25376,17 +25376,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C26351_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C29999_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P26352.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__P30000.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__P26352_mk(s) { +function particles_ParticleFactory_constructor__P30000_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P26352, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P30000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25395,7 +25395,7 @@ function particles_ParticleFactory_constructor__P26352_mk(s) { -function particles_ParticleSource_setFactory__P26334(s) { +function particles_ParticleSource_setFactory__P29982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25411,7 +25411,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -25421,12 +25421,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P26334.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__P29982.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__P26334_mk(s) { +function particles_ParticleSource_setFactory__P29982_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P26334, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P29982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25436,7 +25436,7 @@ function particles_ParticleSource_setFactory__P26334_mk(s) { -function particles_ParticleSource_setRate__P26332(s) { +function particles_ParticleSource_setRate__P29980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25452,7 +25452,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -25464,12 +25464,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P26332.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__P29980.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__P26332_mk(s) { +function particles_ParticleSource_setRate__P29980_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P26332, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P29980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25482,7 +25482,7 @@ function particles_ParticleSource_setRate__P26332_mk(s) { -function particles_ParticleSource_setAnchor__P26331(s) { +function particles_ParticleSource_setAnchor__P29979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25498,18 +25498,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P26331.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__P29979.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__P26331_mk(s) { +function particles_ParticleSource_setAnchor__P29979_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P26331, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P29979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25519,7 +25519,7 @@ function particles_ParticleSource_setAnchor__P26331_mk(s) { -function particles_ParticleSource_destroy__P26329(s) { +function particles_ParticleSource_destroy__P29977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25534,8 +25534,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P26328_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P29976_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1232; s.pc = 1; return s.tmp_0; @@ -25547,7 +25547,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__P26323_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P29971_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1233; s.pc = 2; return s.tmp_0; case 2: @@ -25556,12 +25556,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P26329.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__P29977.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__P26329_mk(s) { +function particles_ParticleSource_destroy__P29977_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P26329, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P29977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25573,7 +25573,7 @@ function particles_ParticleSource_destroy__P26329_mk(s) { -function particles_ParticleSource_setAcceleration__P26324(s) { +function particles_ParticleSource_setAcceleration__P29972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25590,7 +25590,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25607,12 +25607,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P26324.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__P29972.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__P26324_mk(s) { +function particles_ParticleSource_setAcceleration__P29972_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P26324, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P29972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25626,7 +25626,7 @@ function particles_ParticleSource_setAcceleration__P26324_mk(s) { -function helpers_arrayShift__P23248(s) { +function helpers_arrayShift__P26896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25644,12 +25644,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P23248.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__P26896.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__P23248_mk(s) { +function helpers_arrayShift__P26896_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P23248, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P26896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25658,7 +25658,7 @@ function helpers_arrayShift__P23248_mk(s) { -function particles_SprayFactory_setSpeed__P26359(s) { +function particles_SprayFactory_setSpeed__P30007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25674,7 +25674,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C26355_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C30003_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25685,12 +25685,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P26359.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__P30007.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__P26359_mk(s) { +function particles_SprayFactory_setSpeed__P30007_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P26359, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P30007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25703,7 +25703,7 @@ function particles_SprayFactory_setSpeed__P26359_mk(s) { -function particles_ConfettiFactory_constructor__P26383(s) { +function particles_ConfettiFactory_constructor__P30031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25713,8 +25713,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___39251 = undefined; - s.i___39267 = undefined; + s.confetti___42900 = undefined; + s.i___42916 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25722,52 +25722,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C26382_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C30030_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex39254); + r0 = pxsim.image.ofBuffer(_hex42903); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex39256); + r0 = pxsim.image.ofBuffer(_hex42905); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex39258); + r0 = pxsim.image.ofBuffer(_hex42907); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex39260); + r0 = pxsim.image.ofBuffer(_hex42909); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex39262); + r0 = pxsim.image.ofBuffer(_hex42911); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___39251 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P26378_mk(s); + s.confetti___42900 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P30026_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___39251, 0); + r0 = pxsim_Array__getAt(s.confetti___42900, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1317; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___39267 = (1); + s.i___42916 = (1); case 1: - s.tmp_1 = r0 = s.i___39267; - r0 = pxsim_Array__length(s.confetti___39251); + s.tmp_1 = r0 = s.i___42916; + r0 = pxsim_Array__length(s.confetti___42900); 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__P26379_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P30027_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___39251, s.i___39267); + r0 = pxsim_Array__getAt(s.confetti___42900, s.i___42916); s.tmp_3.arg1 = r0; s.callLocIdx = 1318; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___39267 + 1); - s.i___39267 = (r0); + r0 = (s.i___42916 + 1); + s.i___42916 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -25776,12 +25776,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P26383.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__P30031.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__P26383_mk(s) { +function particles_ConfettiFactory_constructor__P30031_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P26383, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P30031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25789,23 +25789,23 @@ function particles_ConfettiFactory_constructor__P26383_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___39251: undefined, - i___39267: undefined, + confetti___42900: undefined, + i___42916: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex39254 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex39256 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex39258 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex39260 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex39262 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex42903 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex42905 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex42907 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex42909 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex42911 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P26379(s) { +function particles_ShapeFactory_addShape__P30027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25821,7 +25821,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C26377_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C30025_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -25833,12 +25833,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P26379.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__P30027.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__P26379_mk(s) { +function particles_ShapeFactory_addShape__P30027_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P26379, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P30027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25849,7 +25849,7 @@ function particles_ShapeFactory_addShape__P26379_mk(s) { -function particles_ShapeFactory_constructor__P26378(s) { +function particles_ShapeFactory_constructor__P30026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25867,8 +25867,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C26377_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P26366_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C30025_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P30014_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -25905,12 +25905,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P26378.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__P30026.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__P26378_mk(s) { +function particles_ShapeFactory_constructor__P30026_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P26378, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P30026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25927,7 +25927,7 @@ function particles_ShapeFactory_constructor__P26378_mk(s) { -function particles_AreaFactory_constructor__P26366(s) { +function particles_AreaFactory_constructor__P30014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25946,8 +25946,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C26361_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P26356_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C30009_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P30004_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -25977,9 +25977,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__C26223_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C29871_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P26225_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P29873_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1296; s.pc = 6; return s.tmp_1; @@ -25990,12 +25990,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P26366.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__P30014.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__P26366_mk(s) { +function particles_AreaFactory_constructor__P30014_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P26366, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P30014, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26010,7 +26010,7 @@ function particles_AreaFactory_constructor__P26366_mk(s) { -function effects_ScreenEffect_constructor__P26431(s) { +function effects_ScreenEffect_constructor__P30079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26029,8 +26029,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C26430_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P26427_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C30078_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P30075_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -26043,12 +26043,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P26431.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__P30079.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__P26431_mk(s) { +function effects_ScreenEffect_constructor__P30079_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P26431, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P30079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26062,7 +26062,7 @@ function effects_ScreenEffect_constructor__P26431_mk(s) { -function effects_ParticleEffect_constructor__P26427(s) { +function effects_ParticleEffect_constructor__P30075(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26080,7 +26080,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C26426_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C30074_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -26088,12 +26088,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P26427.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__P30075.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__P26427_mk(s) { +function effects_ParticleEffect_constructor__P30075_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P26427, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P30075, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26105,7 +26105,7 @@ function effects_ParticleEffect_constructor__P26427_mk(s) { -function music_melodyPlayable__P25070(s) { +function music_melodyPlayable__P28718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26119,9 +26119,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C25063_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C28711_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayable_constructor__P25064_mk(s); + s.tmp_1 = music_MelodyPlayable_constructor__P28712_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 74; s.pc = 1; return s.tmp_1; @@ -26131,12 +26131,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_melodyPlayable__P25070.info = {"start":3617,"length":107,"line":133,"column":4,"endLine":135,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"melodyPlayable","argumentNames":["melody"]} +music_melodyPlayable__P28718.info = {"start":3617,"length":107,"line":133,"column":4,"endLine":135,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"melodyPlayable","argumentNames":["melody"]} -function music_melodyPlayable__P25070_mk(s) { +function music_melodyPlayable__P28718_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_melodyPlayable__P25070, depth: s.depth + 1, + parent: s, fn: music_melodyPlayable__P28718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26147,7 +26147,7 @@ function music_melodyPlayable__P25070_mk(s) { -function music_MelodyPlayable_constructor__P25064(s) { +function music_MelodyPlayable_constructor__P28712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26163,19 +26163,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayable__C25063_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayable__C28711_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayable_constructor__P25064.info = {"start":1531,"length":67,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this","melody"]} +music_MelodyPlayable_constructor__P28712.info = {"start":1531,"length":67,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this","melody"]} -function music_MelodyPlayable_constructor__P25064_mk(s) { +function music_MelodyPlayable_constructor__P28712_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayable_constructor__P25064, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayable_constructor__P28712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26185,7 +26185,7 @@ function music_MelodyPlayable_constructor__P25064_mk(s) { -function music_Playable_constructor__P25060(s) { +function music_Playable_constructor__P28708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26200,17 +26200,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Playable__C25058_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Playable__C28706_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Playable_constructor__P25060.info = {"start":1086,"length":26,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} +music_Playable_constructor__P28708.info = {"start":1086,"length":26,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} -function music_Playable_constructor__P25060_mk(s) { +function music_Playable_constructor__P28708_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Playable_constructor__P25060, depth: s.depth + 1, + parent: s, fn: music_Playable_constructor__P28708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26219,7 +26219,7 @@ function music_Playable_constructor__P25060_mk(s) { -function music_Melody_constructor__P24776(s) { +function music_Melody_constructor__P28424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26235,18 +26235,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C24773_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C28421_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P24776.info = {"start":6430,"length":67,"line":203,"column":8,"endLine":205,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P28424.info = {"start":6430,"length":67,"line":203,"column":8,"endLine":205,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} -function music_Melody_constructor__P24776_mk(s) { +function music_Melody_constructor__P28424_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P24776, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P28424, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26256,7 +26256,7 @@ function music_Melody_constructor__P24776_mk(s) { -function Fx8__P23295(s) { +function Fx8__P26943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26276,12 +26276,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P23295.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P26943.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__P23295_mk(s) { +function Fx8__P26943_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P23295, depth: s.depth + 1, + parent: s, fn: Fx8__P26943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26291,7 +26291,7 @@ function Fx8__P23295_mk(s) { -function SpriteKind_create__P25626(s) { +function SpriteKind_create__P29274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26301,26 +26301,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___27969 === undefined); + r0 = (globals.nextKind___31617 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___27969 = (1000); + globals.nextKind___31617 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___27969; + s.tmp_0 = r0 = globals.nextKind___31617; r0 = (s.tmp_0 + 1); - globals.nextKind___27969 = (r0); + globals.nextKind___31617 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P25626.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P29274.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} -function SpriteKind_create__P25626_mk(s) { +function SpriteKind_create__P29274_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P25626, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P29274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26329,7 +26329,7 @@ function SpriteKind_create__P25626_mk(s) { -function controller_Button_constructor__P25342(s) { +function controller_Button_constructor__P28990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26346,7 +26346,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -26356,13 +26356,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__P39404); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P43053); 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__P39411); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P43060); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -26381,12 +26381,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P25342.info = {"start":2004,"length":864,"line":77,"column":8,"endLine":94,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} +controller_Button_constructor__P28990.info = {"start":2004,"length":864,"line":77,"column":8,"endLine":94,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -function controller_Button_constructor__P25342_mk(s) { +function controller_Button_constructor__P28990_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P25342, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P28990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26400,7 +26400,7 @@ function controller_Button_constructor__P25342_mk(s) { -function controller_Button_inline__P39404(s) { +function controller_Button_inline__P43053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26410,7 +26410,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P25349_mk(s); + s.tmp_0 = controller_Button_setPressed__P28997_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 200; s.pc = 1; return s.tmp_0; @@ -26420,12 +26420,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P39404.info = {"start":2627,"length":28,"line":88,"column":66,"endLine":88,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P43053.info = {"start":2627,"length":28,"line":88,"column":66,"endLine":88,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P39404_mk(s) { +function controller_Button_inline__P43053_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P39404, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P43053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26434,7 +26434,7 @@ function controller_Button_inline__P39404_mk(s) { -function controller_Button_inline__P39411(s) { +function controller_Button_inline__P43060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26444,7 +26444,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P25349_mk(s); + s.tmp_0 = controller_Button_setPressed__P28997_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 201; s.pc = 1; return s.tmp_0; @@ -26454,12 +26454,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P39411.info = {"start":2729,"length":27,"line":89,"column":68,"endLine":89,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P43060.info = {"start":2729,"length":27,"line":89,"column":68,"endLine":89,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P39411_mk(s) { +function controller_Button_inline__P43060_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P39411, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P43060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26468,7 +26468,7 @@ function controller_Button_inline__P39411_mk(s) { -function controller_setupButton__P27952(s) { +function controller_setupButton__P31600(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26487,12 +26487,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P27952.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__P31600.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__P27952_mk(s) { +function controller_setupButton__P31600_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P27952, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P31600, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26502,7 +26502,7 @@ function controller_setupButton__P27952_mk(s) { -function controller_Button_setPressed__P25349(s) { +function controller_Button_setPressed__P28997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26518,14 +26518,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C28984_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__P25076_mk(s); + s.tmp_2 = power_poke__P28724_mk(s); s.callLocIdx = 204; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -26533,7 +26533,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__P25303_mk(s); + s.tmp_1 = controller_Controller_connected__P28951_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -26548,7 +26548,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__P27936_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P31584_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 206; s.pc = 9; return s.tmp_0; case 9: @@ -26556,7 +26556,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P27935_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P31583_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 207; s.pc = 10; return s.tmp_0; case 10: @@ -26568,12 +26568,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P25349.info = {"start":6774,"length":507,"line":201,"column":8,"endLine":215,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} +controller_Button_setPressed__P28997.info = {"start":6774,"length":507,"line":201,"column":8,"endLine":215,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -function controller_Button_setPressed__P25349_mk(s) { +function controller_Button_setPressed__P28997_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P25349, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P28997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26586,7 +26586,7 @@ function controller_Button_setPressed__P25349_mk(s) { -function controller_Button_raiseButtonDown__P27936(s) { +function controller_Button_raiseButtonDown__P31584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26601,8 +26601,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___27946); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___31594); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -26617,12 +26617,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P27936.info = {"start":3088,"length":205,"line":103,"column":8,"endLine":108,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} +controller_Button_raiseButtonDown__P31584.info = {"start":3088,"length":205,"line":103,"column":8,"endLine":108,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function controller_Button_raiseButtonDown__P27936_mk(s) { +function controller_Button_raiseButtonDown__P31584_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P27936, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P31584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26632,7 +26632,7 @@ function controller_Button_raiseButtonDown__P27936_mk(s) { -function controller_Button_raiseButtonUp__P27935(s) { +function controller_Button_raiseButtonUp__P31583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26647,8 +26647,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___27946); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___31594); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -26663,12 +26663,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P27935.info = {"start":2878,"length":200,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} +controller_Button_raiseButtonUp__P31583.info = {"start":2878,"length":200,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function controller_Button_raiseButtonUp__P27935_mk(s) { +function controller_Button_raiseButtonUp__P31583_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P27935, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P31583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26678,7 +26678,7 @@ function controller_Button_raiseButtonUp__P27935_mk(s) { -function game_addScenePushHandler__P26182(s) { +function game_addScenePushHandler__P29830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26692,35 +26692,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___28152); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___31800); 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___28152 = (r0); + globals._scenePushHandlers___31800 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___28152, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___31800, 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___28152, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___31800, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P26182.info = {"start":16692,"length":242,"line":503,"column":4,"endLine":507,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P29830.info = {"start":16692,"length":242,"line":503,"column":4,"endLine":507,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P26182_mk(s) { +function game_addScenePushHandler__P29830_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P26182, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P29830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26731,7 +26731,7 @@ function game_addScenePushHandler__P26182_mk(s) { -function controller_Controller_id__P25288(s) { +function controller_Controller_id__P28936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26746,18 +26746,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P25288.info = {"start":3444,"length":49,"line":109,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} -controller_Controller_id__P25288.isGetter = true; +controller_Controller_id__P28936.info = {"start":3444,"length":49,"line":109,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} +controller_Controller_id__P28936.isGetter = true; -function controller_Controller_id__P25288_mk(s) { +function controller_Controller_id__P28936_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P25288, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P28936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26766,7 +26766,7 @@ function controller_Controller_id__P25288_mk(s) { -function controller_Controller_connected__P25302(s) { +function controller_Controller_connected__P28950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26781,18 +26781,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25281_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C28929_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P25302.info = {"start":7723,"length":63,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} -controller_Controller_connected__P25302.isGetter = true; +controller_Controller_connected__P28950.info = {"start":7723,"length":63,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} +controller_Controller_connected__P28950.isGetter = true; -function controller_Controller_connected__P25302_mk(s) { +function controller_Controller_connected__P28950_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P25302, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P28950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26801,7 +26801,7 @@ function controller_Controller_connected__P25302_mk(s) { -function game_currentScene__P26163(s) { +function game_currentScene__P29811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26811,21 +26811,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P28158_mk(s); + s.tmp_0 = game_init__P31806_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1012; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___28150; + r0 = globals._scene___31798; return leave(s, r0) default: oops() } } } -game_currentScene__P26163.info = {"start":4670,"length":90,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P29811.info = {"start":4670,"length":90,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function game_currentScene__P26163_mk(s) { +function game_currentScene__P29811_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P26163, depth: s.depth + 1, + parent: s, fn: game_currentScene__P29811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26834,7 +26834,7 @@ function game_currentScene__P26163_mk(s) { -function game_addScenePopHandler__P26184(s) { +function game_addScenePopHandler__P29832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26848,35 +26848,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___28153); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___31801); 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___28153 = (r0); + globals._scenePopHandlers___31801 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___28153, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___31801, 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___28153, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___31801, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P26184.info = {"start":17693,"length":237,"line":527,"column":4,"endLine":531,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P29832.info = {"start":17693,"length":237,"line":527,"column":4,"endLine":531,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P26184_mk(s) { +function game_addScenePopHandler__P29832_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P26184, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P29832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26887,7 +26887,7 @@ function game_addScenePopHandler__P26184_mk(s) { -function settings_initScopes__P27840(s) { +function settings_initScopes__P31488(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26897,17 +26897,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___39506 = undefined; - s.tmp_1 = settings_runNumber__P25205_mk(s); + s.rn___43155 = undefined; + s.tmp_1 = settings_runNumber__P28853_mk(s); s.callLocIdx = 120; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___39506 = (r0); - s.tmp_0 = settings_writeNumber__P25210_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___27828; - s.tmp_0.arg1 = s.rn___39506; + s.rn___43155 = (r0); + s.tmp_0 = settings_writeNumber__P28858_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___31476; + s.tmp_0.arg1 = s.rn___43155; s.callLocIdx = 121; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -26916,8 +26916,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___39506); - s.tmp_0 = settings_setScope__P27839_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___43155); + s.tmp_0 = settings_setScope__P31487_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 122; s.pc = 3; return s.tmp_0; @@ -26927,23 +26927,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P27840.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P31488.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__P27840_mk(s) { +function settings_initScopes__P31488_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P27840, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P31488, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___39506: undefined, + rn___43155: undefined, } } -function settings_setScope__P27839(s) { +function settings_setScope__P31487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26953,7 +26953,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___39535 = undefined; + s.currScope___43184 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -26978,19 +26978,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P25213_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___27829; + s.tmp_0 = settings_readString__P28861_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___31477; s.callLocIdx = 118; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___39535 = (r0); - r0 = (s.currScope___39535 != s.arg0); + s.currScope___43184 = (r0); + r0 = (s.currScope___43184 != 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__P25208_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___27829; + s.tmp_0 = settings_writeString__P28856_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___31477; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 119; s.pc = 8; return s.tmp_0; case 8: @@ -27001,18 +27001,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P27839.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__P31487.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__P27839_mk(s) { +function settings_setScope__P31487_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P27839, depth: s.depth + 1, + parent: s, fn: settings_setScope__P31487, 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___39535: undefined, + currScope___43184: undefined, arg0: undefined, } } @@ -27020,7 +27020,7 @@ function settings_setScope__P27839_mk(s) { -function settings_readString__P25213(s) { +function settings_readString__P28861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27030,14 +27030,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___39556 = undefined; + s.buf___43205 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___39556 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___39556); + s.buf___43205 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___43205); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -27047,7 +27047,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___39556); + r0 = pxsim.BufferMethods.toString(s.buf___43205); { step = 3; continue; } case 2: r0 = undefined; @@ -27055,16 +27055,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P25213.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__P28861.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__P25213_mk(s) { +function settings_readString__P28861_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P25213, depth: s.depth + 1, + parent: s, fn: settings_readString__P28861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___39556: undefined, + buf___43205: undefined, arg0: undefined, } } @@ -27072,7 +27072,7 @@ function settings_readString__P25213_mk(s) { -function settings_writeString__P25208(s) { +function settings_writeString__P28856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27087,7 +27087,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P25207_mk(s); + s.tmp_0 = settings_writeBuffer__P28855_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -27098,12 +27098,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P25208.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__P28856.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__P25208_mk(s) { +function settings_writeString__P28856_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P25208, depth: s.depth + 1, + parent: s, fn: settings_writeString__P28856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27114,7 +27114,7 @@ function settings_writeString__P25208_mk(s) { -function settings_runNumber__P25205(s) { +function settings_runNumber__P28853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27124,8 +27124,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P25215_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___27828; + s.tmp_1 = settings_readNumber__P28863_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___31476; s.callLocIdx = 117; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -27143,12 +27143,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P25205.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P28853.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__P25205_mk(s) { +function settings_runNumber__P28853_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P25205, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P28853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27159,7 +27159,7 @@ function settings_runNumber__P25205_mk(s) { -function control___screen_setupUpdate__P25141(s) { +function control___screen_setupUpdate__P28789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27173,8 +27173,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___27795 = (true); - globals.__update___27793 = (s.arg0); + globals.__updated___31443 = (true); + globals.__update___31441 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -27185,12 +27185,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P25141.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__P28789.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__P25141_mk(s) { +function control___screen_setupUpdate__P28789_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P25141, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P28789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27200,7 +27200,7 @@ function control___screen_setupUpdate__P25141_mk(s) { -function _screen_internal_getScreenHeight__P25184(s) { +function _screen_internal_getScreenHeight__P28832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27218,12 +27218,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenHeight__P25184.info = {"start":960,"length":127,"line":28,"column":4,"endLine":30,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenHeight","argumentNames":["defl"]} +_screen_internal_getScreenHeight__P28832.info = {"start":960,"length":127,"line":28,"column":4,"endLine":30,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenHeight","argumentNames":["defl"]} -function _screen_internal_getScreenHeight__P25184_mk(s) { +function _screen_internal_getScreenHeight__P28832_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenHeight__P25184, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenHeight__P28832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27232,7 +27232,7 @@ function _screen_internal_getScreenHeight__P25184_mk(s) { -function _screen_internal_getScreenWidth__P25183(s) { +function _screen_internal_getScreenWidth__P28831(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27250,12 +27250,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenWidth__P25183.info = {"start":810,"length":125,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenWidth","argumentNames":["defl"]} +_screen_internal_getScreenWidth__P28831.info = {"start":810,"length":125,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenWidth","argumentNames":["defl"]} -function _screen_internal_getScreenWidth__P25183_mk(s) { +function _screen_internal_getScreenWidth__P28831_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenWidth__P25183, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenWidth__P28831, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27264,7 +27264,7 @@ function _screen_internal_getScreenWidth__P25183_mk(s) { -function control___screen_update__P25140(s) { +function control___screen_update__P28788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27274,27 +27274,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___27793); + r0 = pxsim_numops_toBoolDecr(globals.__update___31441); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___27793; + s.tmp_0.argL = globals.__update___31441; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 110; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___27795 = (true); + globals.__updated___31443 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P25140.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__P28788.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__P25140_mk(s) { +function control___screen_update__P28788_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P25140, depth: s.depth + 1, + parent: s, fn: control___screen_update__P28788, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -27303,7 +27303,7 @@ function control___screen_update__P25140_mk(s) { -function pause__P23559(s) { +function pause__P27207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27327,12 +27327,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P23559.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P27207.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__P23559_mk(s) { +function pause__P27207_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P23559, depth: s.depth + 1, + parent: s, fn: pause__P27207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27341,7 +27341,7 @@ function pause__P23559_mk(s) { -function music_Melody_toString__P24782(s) { +function music_Melody_toString__P28430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27356,17 +27356,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C24773_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C28421_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P24782.info = {"start":10223,"length":53,"line":318,"column":8,"endLine":320,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P28430.info = {"start":10223,"length":53,"line":318,"column":8,"endLine":320,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P24782_mk(s) { +function music_Melody_toString__P28430_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P24782, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P28430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27375,7 +27375,7 @@ function music_Melody_toString__P24782_mk(s) { -function particles_ShapeFactory_createParticle__P26381(s) { +function particles_ShapeFactory_createParticle__P30029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27385,23 +27385,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___39594 = undefined; + s.p___43243 = 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__C26377_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P26367_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C30025_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P30015_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1315; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___39594 = (r0); - s.tmp_0 = r0 = s.p___39594; - s.tmp_2 = Math_FastRandom_randomRange__P26227_mk(s); + s.p___43243 = (r0); + s.tmp_0 = r0 = s.p___43243; + s.tmp_2 = Math_FastRandom_randomRange__P29875_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -27411,21 +27411,21 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___39594; + r0 = s.p___43243; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P26381.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__P30029.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__P26381_mk(s) { +function particles_ShapeFactory_createParticle__P30029_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P26381, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P30029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___39594: undefined, + p___43243: undefined, arg0: undefined, arg1: undefined, } } @@ -27434,7 +27434,7 @@ function particles_ShapeFactory_createParticle__P26381_mk(s) { -function particles_AreaFactory_createParticle__P26367(s) { +function particles_AreaFactory_createParticle__P30015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27444,23 +27444,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___39606 = undefined; + s.p___43255 = 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__C26361_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P26357_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C30009_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P30005_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1297; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___39606 = (r0); - s.tmp_0 = r0 = s.p___39606; - s.tmp_2 = Math_FastRandom_randomRange__P26227_mk(s); + s.p___43255 = (r0); + s.tmp_0 = r0 = s.p___43255; + s.tmp_2 = Math_FastRandom_randomRange__P29875_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -27472,8 +27472,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___39606; - s.tmp_4 = Math_FastRandom_randomRange__P26227_mk(s); + s.tmp_0 = r0 = s.p___43255; + s.tmp_4 = Math_FastRandom_randomRange__P29875_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -27489,7 +27489,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___39606.fields["_x"]; + r0 = s.p___43255.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -27531,8 +27531,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___39606; - s.tmp_9 = Math_FastRandom_randomRange__P26227_mk(s); + s.tmp_5 = r0 = s.p___43255; + s.tmp_9 = Math_FastRandom_randomRange__P29875_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -27544,23 +27544,23 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___39606.fields["_y"]; + r0 = s.p___43255.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___39606; + r0 = s.p___43255; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P26367.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__P30015.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__P26367_mk(s) { +function particles_AreaFactory_createParticle__P30015_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P26367, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P30015, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27574,7 +27574,7 @@ function particles_AreaFactory_createParticle__P26367_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___39606: undefined, + p___43255: undefined, arg0: undefined, arg1: undefined, } } @@ -27583,7 +27583,7 @@ function particles_AreaFactory_createParticle__P26367_mk(s) { -function Fx_iadd__P23304(s) { +function Fx_iadd__P26952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27604,12 +27604,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P23304.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__P26952.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__P23304_mk(s) { +function Fx_iadd__P26952_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P23304, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P26952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27620,7 +27620,7 @@ function Fx_iadd__P23304_mk(s) { -function particles_SprayFactory_createParticle__P26357(s) { +function particles_SprayFactory_createParticle__P30005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27630,26 +27630,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___39662 = undefined; - s.angle___39666 = undefined; + s.p___43311 = undefined; + s.angle___43315 = 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__C26355_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P26353_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C30003_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P30001_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1286; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___39662 = (r0); + s.p___43311 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P26227_mk(s); - s.tmp_3.arg0 = globals.galois___28506; + s.tmp_3 = Math_FastRandom_randomRange__P29875_mk(s); + s.tmp_3.arg0 = globals.galois___32154; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -27660,9 +27660,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___39666 = (r0); - s.tmp_0 = r0 = s.p___39662; - r0 = pxsim_Array__getAt(globals.cachedSin___28501, s.angle___39666); + s.angle___43315 = (r0); + s.tmp_0 = r0 = s.p___43311; + r0 = pxsim_Array__getAt(globals.cachedSin___32149, s.angle___43315); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -27671,8 +27671,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___39662; - r0 = pxsim_Array__getAt(globals.cachedCos___28502, s.angle___39666); + s.tmp_0 = r0 = s.p___43311; + r0 = pxsim_Array__getAt(globals.cachedCos___32150, s.angle___43315); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -27681,24 +27681,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___39662; + r0 = s.p___43311; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P26357.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__P30005.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__P26357_mk(s) { +function particles_SprayFactory_createParticle__P30005_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P26357, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P30005, 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___39662: undefined, - angle___39666: undefined, + p___43311: undefined, + angle___43315: undefined, arg0: undefined, arg1: undefined, } } @@ -27707,7 +27707,7 @@ function particles_SprayFactory_createParticle__P26357_mk(s) { -function sprites_SpriteSet_toString__P25621(s) { +function sprites_SpriteSet_toString__P29269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27722,7 +27722,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25610_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C29258_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -27744,12 +27744,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P25621.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__P29269.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__P25621_mk(s) { +function sprites_SpriteSet_toString__P29269_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P25621, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P29269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27763,7 +27763,7 @@ function sprites_SpriteSet_toString__P25621_mk(s) { -function sprites_SpriteSet_length__P25613(s) { +function sprites_SpriteSet_length__P29261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27778,20 +27778,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25610_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C29258_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__P25613.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__P25613.isGetter = true; +sprites_SpriteSet_length__P29261.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__P29261.isGetter = true; -function sprites_SpriteSet_length__P25613_mk(s) { +function sprites_SpriteSet_length__P29261_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P25613, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P29261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27801,7 +27801,7 @@ function sprites_SpriteSet_length__P25613_mk(s) { -function particles_ParticleSource___draw__P26321(s) { +function particles_ParticleSource___draw__P29969(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27811,18 +27811,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___39698 = undefined; - s.left___39701 = undefined; - s.top___39711 = undefined; + s.current___43347 = undefined; + s.left___43350 = undefined; + s.top___43360 = 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__C26315_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___39698 = (r0); + s.current___43347 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -27840,7 +27840,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___39701 = (s.tmp_4); + s.left___43350 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -27858,49 +27858,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___39711 = (s.tmp_4); + s.top___43360 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___39698); + r0 = pxsim_numops_toBoolDecr(s.current___43347); if (!r0) { step = 8; continue; } - r0 = s.current___39698.fields["lifespan"]; + r0 = s.current___43347.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__P28492_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P32140_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___39698; - s.tmp_2.arg2 = s.left___39701; - s.tmp_2.arg3 = s.top___39711; + s.tmp_2.arg1 = s.current___43347; + s.tmp_2.arg2 = s.left___43350; + s.tmp_2.arg3 = s.top___43360; s.callLocIdx = 1221; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___39698.fields["next"]; - s.current___39698 = (r0); + r0 = s.current___43347.fields["next"]; + s.current___43347 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P26321.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__P29969.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__P26321_mk(s) { +function particles_ParticleSource___draw__P29969_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P26321, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P29969, 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___39698: undefined, - left___39701: undefined, - top___39711: undefined, + current___43347: undefined, + left___43350: undefined, + top___43360: undefined, arg0: undefined, arg1: undefined, } } @@ -27909,7 +27909,7 @@ function particles_ParticleSource___draw__P26321_mk(s) { -function particles_ParticleSource_drawParticle__P28492(s) { +function particles_ParticleSource_drawParticle__P32140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27927,8 +27927,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26315_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C26351_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C29963_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C29999_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -27940,7 +27940,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__C26351_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C29999_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: @@ -27949,12 +27949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P28492.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__P32140.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__P28492_mk(s) { +function particles_ParticleSource_drawParticle__P32140_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P28492, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P32140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27969,7 +27969,7 @@ function particles_ParticleSource_drawParticle__P28492_mk(s) { -function particles_ParticleFactory_drawParticle__P26354(s) { +function particles_ParticleFactory_drawParticle__P30002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27987,8 +27987,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C26351_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___25179; + if (!checkSubtype(r0, particles_ParticleFactory__C29999_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___28827; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -28002,12 +28002,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P26354.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__P30002.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__P26354_mk(s) { +function particles_ParticleFactory_drawParticle__P30002_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P26354, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P30002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28024,7 +28024,7 @@ function particles_ParticleFactory_drawParticle__P26354_mk(s) { -function sprites_SpriteMap_toString__P25601(s) { +function sprites_SpriteMap_toString__P29249(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28039,7 +28039,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25593_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -28059,10 +28059,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P23256_mk(s); + s.tmp_10 = helpers_arrayFilter__P26904_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P39774; + s.tmp_10.arg1 = length_inline__P43423; s.callLocIdx = 528; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -28084,12 +28084,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P25601.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__P29249.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__P25601_mk(s) { +function sprites_SpriteMap_toString__P29249_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P25601, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P29249, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28109,7 +28109,7 @@ function sprites_SpriteMap_toString__P25601_mk(s) { -function length_inline__P39774(s) { +function length_inline__P43423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28133,12 +28133,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P39774.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__P43423.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__P39774_mk(s) { +function length_inline__P43423_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P39774, depth: s.depth + 1, + parent: s, fn: length_inline__P43423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28150,7 +28150,7 @@ function length_inline__P39774_mk(s) { -function ArcadePhysicsEngine_moveSprite__P25688(s) { +function ArcadePhysicsEngine_moveSprite__P29336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28160,9 +28160,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___39806 = undefined; - s.maxDist___39814 = undefined; - s.ms___39834 = undefined; + s.tm___43455 = undefined; + s.maxDist___43463 = undefined; + s.ms___43483 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28171,7 +28171,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -28190,19 +28190,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__P26163_mk(s); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 765; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___39806 = (r0); - s.tmp_0 = r0 = s.tm___39806; + s.tm___43455 = (r0); + s.tmp_0 = r0 = s.tm___43455; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___39806.fields["_map"]; + r0 = s.tm___43455.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -28221,8 +28221,8 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___39814 = (r0); - s.tmp_2 = Math_abs__P23274_mk(s); + s.maxDist___43463 = (r0); + s.tmp_2 = Math_abs__P26922_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -28231,14 +28231,14 @@ switch (step) { case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___39814); + r0 = (s.tmp_1 <= s.maxDist___43463); 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__P23274_mk(s); + s.tmp_5 = Math_abs__P26922_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -28247,15 +28247,15 @@ switch (step) { case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___39814); + r0 = (s.tmp_4 <= s.maxDist___43463); 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__C25672_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C29320_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P25673_mk(s); + s.tmp_9 = MovingSprite_constructor__P29321_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -28269,18 +28269,18 @@ switch (step) { s.callLocIdx = 772; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___39834 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P28006_mk(s); + s.ms___43483 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P31654_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___39834; - s.tmp_0.arg2 = s.tm___39806; + s.tmp_0.arg1 = s.ms___43483; + s.tmp_0.arg2 = s.tm___43455; s.callLocIdx = 773; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P25905_mk(s); - s.tmp_1.arg0 = s.tm___39806; + s.tmp_1 = tiles_TileMap_isOnWall__P29553_mk(s); + s.tmp_1.arg0 = s.tm___43455; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 774; s.pc = 18; return s.tmp_1; case 18: @@ -28291,10 +28291,10 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P28008_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P31656_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___39806; + s.tmp_4.arg2 = s.tm___43455; s.callLocIdx = 775; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; @@ -28329,12 +28329,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P25688.info = {"start":23898,"length":1208,"line":654,"column":4,"endLine":685,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P29336.info = {"start":23898,"length":1208,"line":654,"column":4,"endLine":685,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P25688_mk(s) { +function ArcadePhysicsEngine_moveSprite__P29336_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P25688, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P29336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28346,9 +28346,9 @@ function ArcadePhysicsEngine_moveSprite__P25688_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___39806: undefined, - maxDist___39814: undefined, - ms___39834: undefined, + tm___43455: undefined, + maxDist___43463: undefined, + ms___43483: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28359,7 +28359,7 @@ function ArcadePhysicsEngine_moveSprite__P25688_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P28008(s) { +function ArcadePhysicsEngine_canResolveClipping__P31656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28369,19 +28369,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___39879 = undefined; - s.sz___39882 = undefined; - s.maxMove___39887 = undefined; - s.origY___39889 = undefined; - s.origX___39892 = undefined; - s.l___39895 = undefined; - s.r___39900 = undefined; - s.t___39905 = undefined; - s.b___39910 = undefined; - s.offset___39915 = undefined; - s.offset___39940 = undefined; - s.offset___39971 = undefined; - s.offset___39996 = undefined; + s.hbox___43528 = undefined; + s.sz___43531 = undefined; + s.maxMove___43536 = undefined; + s.origY___43538 = undefined; + s.origX___43541 = undefined; + s.l___43544 = undefined; + s.r___43549 = undefined; + s.t___43554 = undefined; + s.b___43559 = undefined; + s.offset___43564 = undefined; + s.offset___43589 = undefined; + s.offset___43620 = undefined; + s.offset___43645 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28389,7 +28389,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -28400,9 +28400,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C25488_v4_1_mk(s); + s.tmp_4 = Sprite__C29136_v4_1_mk(s); s.tmp_4.arg0 = s.arg1; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C25488_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, Sprite__C29136_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 20; return s.tmp_4; case 20: @@ -28410,23 +28410,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___39879 = (r0); + s.hbox___43528 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___39882 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P25680_mk(s); + s.sz___43531 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P29328_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 778; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___39887 = (r0); + s.maxMove___43536 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___39889 = (r0); + s.origY___43538 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___39892 = (r0); - s.tmp_1 = game_Hitbox_left__P25363_mk(s); - s.tmp_1.arg0 = s.hbox___39879; + s.origX___43541 = (r0); + s.tmp_1 = game_Hitbox_left__P29011_mk(s); + s.tmp_1.arg0 = s.hbox___43528; s.callLocIdx = 779; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -28434,9 +28434,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___39895 = (r0); - s.tmp_1 = game_Hitbox_right__P25365_mk(s); - s.tmp_1.arg0 = s.hbox___39879; + s.l___43544 = (r0); + s.tmp_1 = game_Hitbox_right__P29013_mk(s); + s.tmp_1.arg0 = s.hbox___43528; s.callLocIdx = 781; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -28444,9 +28444,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___39900 = (r0); - s.tmp_1 = game_Hitbox_top__P25364_mk(s); - s.tmp_1.arg0 = s.hbox___39879; + s.r___43549 = (r0); + s.tmp_1 = game_Hitbox_top__P29012_mk(s); + s.tmp_1.arg0 = s.hbox___43528; s.callLocIdx = 783; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -28454,9 +28454,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___39905 = (r0); - s.tmp_1 = game_Hitbox_bottom__P25366_mk(s); - s.tmp_1.arg0 = s.hbox___39879; + s.t___43554 = (r0); + s.tmp_1 = game_Hitbox_bottom__P29014_mk(s); + s.tmp_1.arg0 = s.hbox___43528; s.callLocIdx = 785; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -28464,26 +28464,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___39910 = (r0); - r0 = (s.b___39910 + 1); + s.b___43559 = (r0); + r0 = (s.b___43559 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___39882); - s.offset___39915 = (r0); - r0 = (s.offset___39915 <= s.maxMove___39887); + r0 = (s.tmp_0 % s.sz___43531); + s.offset___43564 = (r0); + r0 = (s.offset___43564 <= s.maxMove___43536); 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___39915 * 256); + r0 = (s.offset___43564 * 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__P25905_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P29553_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 789; s.pc = 26; return s.tmp_3; @@ -28500,35 +28500,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___39889); + r0 = (s.arg1).fields["_y"] = (s.origY___43538); case 4: case 5: case 6: - r0 = (s.t___39905 / s.sz___39882); + r0 = (s.t___43554 / s.sz___43531); 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___39882); + r0 = (s.tmp_1 * s.sz___43531); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___39905); - s.offset___39940 = (r0); - r0 = (s.offset___39940 <= s.maxMove___39887); + r0 = (s.tmp_0 - s.t___43554); + s.offset___43589 = (r0); + r0 = (s.offset___43589 <= s.maxMove___43536); 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___39940 * 256); + r0 = (s.offset___43589 * 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__P25905_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P29553_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 792; s.pc = 27; return s.tmp_3; @@ -28545,29 +28545,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___39889); + r0 = (s.arg1).fields["_y"] = (s.origY___43538); case 8: case 9: case 10: - r0 = (s.r___39900 + 1); + r0 = (s.r___43549 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___39882); - s.offset___39971 = (r0); - r0 = (s.offset___39971 <= s.maxMove___39887); + r0 = (s.tmp_0 % s.sz___43531); + s.offset___43620 = (r0); + r0 = (s.offset___43620 <= s.maxMove___43536); 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___39971 * 256); + r0 = (s.offset___43620 * 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__P25905_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P29553_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 795; s.pc = 28; return s.tmp_3; @@ -28584,35 +28584,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___39892); + r0 = (s.arg1).fields["_x"] = (s.origX___43541); case 12: case 13: case 14: - r0 = (s.l___39895 / s.sz___39882); + r0 = (s.l___43544 / s.sz___43531); 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___39882); + r0 = (s.tmp_1 * s.sz___43531); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___39895); - s.offset___39996 = (r0); - r0 = (s.offset___39996 <= s.maxMove___39887); + r0 = (s.tmp_0 - s.l___43544); + s.offset___43645 = (r0); + r0 = (s.offset___43645 <= s.maxMove___43536); 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___39996 * 256); + r0 = (s.offset___43645 * 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__P25905_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P29553_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 798; s.pc = 29; return s.tmp_3; @@ -28629,7 +28629,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___39892); + r0 = (s.arg1).fields["_x"] = (s.origX___43541); case 16: case 17: case 18: @@ -28638,12 +28638,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P28008.info = {"start":25202,"length":2135,"line":688,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P31656.info = {"start":25202,"length":2135,"line":688,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P28008_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P31656_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P28008, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P31656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28651,19 +28651,19 @@ function ArcadePhysicsEngine_canResolveClipping__P28008_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___39879: undefined, - sz___39882: undefined, - maxMove___39887: undefined, - origY___39889: undefined, - origX___39892: undefined, - l___39895: undefined, - r___39900: undefined, - t___39905: undefined, - b___39910: undefined, - offset___39915: undefined, - offset___39940: undefined, - offset___39971: undefined, - offset___39996: undefined, + hbox___43528: undefined, + sz___43531: undefined, + maxMove___43536: undefined, + origY___43538: undefined, + origX___43541: undefined, + l___43544: undefined, + r___43549: undefined, + t___43554: undefined, + b___43559: undefined, + offset___43564: undefined, + offset___43589: undefined, + offset___43620: undefined, + offset___43645: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28673,7 +28673,7 @@ function ArcadePhysicsEngine_canResolveClipping__P28008_mk(s) { -function Sprite_isStatic__P25542(s) { +function Sprite_isStatic__P29190(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28688,19 +28688,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P25542.info = {"start":9841,"length":57,"line":355,"column":4,"endLine":357,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P29190.info = {"start":9841,"length":57,"line":355,"column":4,"endLine":357,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P25542_mk(s) { +function Sprite_isStatic__P29190_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P25542, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P29190, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28710,7 +28710,7 @@ function Sprite_isStatic__P25542_mk(s) { -function game_Hitbox_bottom__P25366(s) { +function game_Hitbox_bottom__P29014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28725,10 +28725,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25355_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C29003_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P25364_mk(s); + s.tmp_3 = game_Hitbox_top__P29012_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 226; s.pc = 1; return s.tmp_3; case 1: @@ -28740,13 +28740,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P25366.info = {"start":786,"length":139,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} -game_Hitbox_bottom__P25366.isGetter = true; +game_Hitbox_bottom__P29014.info = {"start":786,"length":139,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} +game_Hitbox_bottom__P29014.isGetter = true; -function game_Hitbox_bottom__P25366_mk(s) { +function game_Hitbox_bottom__P29014_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P25366, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P29014, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28759,7 +28759,7 @@ function game_Hitbox_bottom__P25366_mk(s) { -function game_Hitbox_right__P25365(s) { +function game_Hitbox_right__P29013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28774,10 +28774,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25355_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C29003_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P25363_mk(s); + s.tmp_3 = game_Hitbox_left__P29011_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 223; s.pc = 1; return s.tmp_3; case 1: @@ -28789,13 +28789,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P25365.info = {"start":638,"length":138,"line":26,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} -game_Hitbox_right__P25365.isGetter = true; +game_Hitbox_right__P29013.info = {"start":638,"length":138,"line":26,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} +game_Hitbox_right__P29013.isGetter = true; -function game_Hitbox_right__P25365_mk(s) { +function game_Hitbox_right__P29013_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P25365, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P29013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28808,7 +28808,7 @@ function game_Hitbox_right__P25365_mk(s) { -function game_Hitbox_top__P25364(s) { +function game_Hitbox_top__P29012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28823,7 +28823,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25355_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C29003_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -28833,13 +28833,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P25364.info = {"start":555,"length":73,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} -game_Hitbox_top__P25364.isGetter = true; +game_Hitbox_top__P29012.info = {"start":555,"length":73,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} +game_Hitbox_top__P29012.isGetter = true; -function game_Hitbox_top__P25364_mk(s) { +function game_Hitbox_top__P29012_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P25364, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P29012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28850,7 +28850,7 @@ function game_Hitbox_top__P25364_mk(s) { -function game_Hitbox_left__P25363(s) { +function game_Hitbox_left__P29011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28865,7 +28865,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25355_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C29003_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -28875,13 +28875,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P25363.info = {"start":471,"length":74,"line":18,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} -game_Hitbox_left__P25363.isGetter = true; +game_Hitbox_left__P29011.info = {"start":471,"length":74,"line":18,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} +game_Hitbox_left__P29011.isGetter = true; -function game_Hitbox_left__P25363_mk(s) { +function game_Hitbox_left__P29011_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P25363, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P29011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28892,7 +28892,7 @@ function game_Hitbox_left__P25363_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P28006(s) { +function ArcadePhysicsEngine_tilemapCollisions__P31654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28902,37 +28902,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___40035 = undefined; - s.hbox___40060 = undefined; - s.tileScale___40063 = undefined; - s.tileSize___40066 = undefined; - s.xDiff___40070 = undefined; - s.yDiff___40077 = undefined; - s.right___40093 = undefined; - s.x0___40097 = undefined; - s.collidedTiles___40112 = undefined; - s.y___40114 = undefined; - s.y0___40128 = undefined; - s.obstacle___40144 = undefined; - s.collisionDirection___40171 = undefined; - s.tile___40197 = undefined; - s.unnamed328___U14 = undefined; - s.unnamed329___U15 = undefined; - s.down___40288 = undefined; - s.y0___40292 = undefined; - s.collidedTiles___40307 = undefined; - s.x___40309 = undefined; - s.x0___40319 = undefined; - s.obstacle___40333 = undefined; - s.collisionDirection___40360 = undefined; - s.tile___40386 = undefined; - s.unnamed330___U24 = undefined; - s.unnamed331___U25 = undefined; - s.overlappedTiles___40480 = undefined; - s.x___40482 = undefined; - s.x0___40492 = undefined; - s.y___40502 = undefined; - s.y0___40512 = undefined; + s.s___43684 = undefined; + s.hbox___43709 = undefined; + s.tileScale___43712 = undefined; + s.tileSize___43715 = undefined; + s.xDiff___43719 = undefined; + s.yDiff___43726 = undefined; + s.right___43742 = undefined; + s.x0___43746 = undefined; + s.collidedTiles___43761 = undefined; + s.y___43763 = undefined; + s.y0___43777 = undefined; + s.obstacle___43793 = undefined; + s.collisionDirection___43820 = undefined; + s.tile___43846 = undefined; + s.unnamed976___U14 = undefined; + s.unnamed977___U15 = undefined; + s.down___43937 = undefined; + s.y0___43941 = undefined; + s.collidedTiles___43956 = undefined; + s.x___43958 = undefined; + s.x0___43968 = undefined; + s.obstacle___43982 = undefined; + s.collisionDirection___44009 = undefined; + s.tile___44035 = undefined; + s.unnamed978___U24 = undefined; + s.unnamed979___U25 = undefined; + s.overlappedTiles___44129 = undefined; + s.x___44131 = undefined; + s.x0___44141 = undefined; + s.y___44151 = undefined; + s.y0___44161 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28940,18 +28940,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___40035 = (r0); - r0 = s.s___40035.fields["flags"]; + s.s___43684 = (r0); + r0 = s.s___43684.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__P25905_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P29553_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___40035; + s.tmp_5.arg1 = s.s___43684; s.callLocIdx = 661; s.pc = 97; return s.tmp_5; case 97: r0 = s.retval; @@ -28962,7 +28962,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___40035; + s.tmp_6 = r0 = s.s___43684; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -28972,7 +28972,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___40035.fields["_image"]; + r0 = s.s___43684.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -28982,34 +28982,34 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite__C25488_v4_1_mk(s); - s.tmp_4.arg0 = s.s___40035; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C25488_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C29136_v4_1_mk(s); + s.tmp_4.arg0 = s.s___43684; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C29136_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 98; return s.tmp_4; case 98: r0 = s.retval; case 5: case 6: - r0 = s.s___40035.fields["_hitbox"]; - s.hbox___40060 = (r0); + r0 = s.s___43684.fields["_hitbox"]; + s.hbox___43709 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___40063 = (r0); - r0 = (1 << s.tileScale___40063); - s.tileSize___40066 = (r0); - r0 = s.s___40035.fields["_x"]; + s.tileScale___43712 = (r0); + r0 = (1 << s.tileScale___43712); + s.tileSize___43715 = (r0); + r0 = s.s___43684.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___40035.fields["_lastX"]; + r0 = s.s___43684.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___40070 = (r0); - r0 = s.s___40035.fields["_y"]; + s.xDiff___43719 = (r0); + r0 = s.s___43684.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___40035.fields["_lastY"]; + r0 = s.s___43684.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___40077 = (r0); - r0 = s.s___40035.fields["flags"]; + s.yDiff___43726 = (r0); + r0 = s.s___43684.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -29019,16 +29019,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 83; continue; } - r0 = (s.xDiff___40070 !== 0); + r0 = (s.xDiff___43719 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 43; continue; } - r0 = (s.xDiff___40070 > 0); - s.right___40093 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___40093); + r0 = (s.xDiff___43719 > 0); + s.right___43742 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___43742); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P25365_mk(s); - s.tmp_1.arg0 = s.hbox___40060; + s.tmp_1 = game_Hitbox_right__P29013_mk(s); + s.tmp_1.arg0 = s.hbox___43709; s.callLocIdx = 666; s.pc = 99; return s.tmp_1; case 99: r0 = s.retval; @@ -29036,8 +29036,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P25363_mk(s); - s.tmp_3.arg0 = s.hbox___40060; + s.tmp_3 = game_Hitbox_left__P29011_mk(s); + s.tmp_3.arg0 = s.hbox___43709; s.callLocIdx = 668; s.pc = 100; return s.tmp_3; case 100: r0 = s.retval; @@ -29048,30 +29048,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___40063 + 8); + r0 = (s.tileScale___43712 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___40097 = (r0); + s.x0___43746 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___40112 = (r0); - s.tmp_1 = game_Hitbox_top__P25364_mk(s); - s.tmp_1.arg0 = s.hbox___40060; + s.collidedTiles___43761 = (r0); + s.tmp_1 = game_Hitbox_top__P29012_mk(s); + s.tmp_1.arg0 = s.hbox___43709; s.callLocIdx = 672; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___40077); - s.y___40114 = (r0); + r0 = (s.tmp_0 - s.yDiff___43726); + s.y___43763 = (r0); case 9: - s.tmp_1 = r0 = s.y___40114; - s.tmp_3 = r0 = s.tileSize___40066; - s.tmp_6 = game_Hitbox_bottom__P25366_mk(s); - s.tmp_6.arg0 = s.hbox___40060; + s.tmp_1 = r0 = s.y___43763; + s.tmp_3 = r0 = s.tileSize___43715; + s.tmp_6 = game_Hitbox_bottom__P29014_mk(s); + s.tmp_6.arg0 = s.hbox___43709; s.callLocIdx = 674; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___40077); + r0 = (s.tmp_5 - s.yDiff___43726); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -29081,15 +29081,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P23312_mk(s); - s.tmp_10.arg0 = s.y___40114; - s.tmp_12 = game_Hitbox_bottom__P25366_mk(s); - s.tmp_12.arg0 = s.hbox___40060; + s.tmp_10 = Fx_min__P26960_mk(s); + s.tmp_10.arg0 = s.y___43763; + s.tmp_12 = game_Hitbox_bottom__P29014_mk(s); + s.tmp_12.arg0 = s.hbox___43709; s.callLocIdx = 677; s.pc = 104; return s.tmp_12; case 104: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___40077); + r0 = (s.tmp_11 - s.yDiff___43726); s.tmp_10.arg1 = r0; s.callLocIdx = 679; s.pc = 103; return s.tmp_10; case 103: @@ -29097,33 +29097,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___40063 + 8); + r0 = (s.tileScale___43712 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___40128 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P25903_mk(s); + s.y0___43777 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P29551_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___40097; - s.tmp_1.arg2 = s.y0___40128; + s.tmp_1.arg1 = s.x0___43746; + s.tmp_1.arg2 = s.y0___43777; s.callLocIdx = 682; s.pc = 105; return s.tmp_1; case 105: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P25904_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P29552_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___40097; - s.tmp_2.arg2 = s.y0___40128; + s.tmp_2.arg1 = s.x0___43746; + s.tmp_2.arg2 = s.y0___43777; s.callLocIdx = 683; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - s.obstacle___40144 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P40152); + s.obstacle___43793 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P43801); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___40144); - s.tmp_4 = helpers_arraySome__P23253_mk(s); - s.tmp_4.arg0 = s.collidedTiles___40112; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___43793); + s.tmp_4 = helpers_arraySome__P26901_mk(s); + s.tmp_4.arg0 = s.collidedTiles___43761; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 684; s.pc = 107; return s.tmp_4; case 107: @@ -29135,22 +29135,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___40112, s.obstacle___40144); + r0 = pxsim_Array__push(s.collidedTiles___43761, s.obstacle___43793); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___40066 << 8); + r0 = (s.tileSize___43715 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___40114); - s.y___40114 = (r0); + r0 = (s.tmp_0 + s.y___43763); + s.y___43763 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___40112); + r0 = pxsim_Array__length(s.collidedTiles___43761); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___40093); + r0 = pxsim_numops_toBoolDecr(s.right___43742); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -29159,23 +29159,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___40171 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___40093); + s.collisionDirection___43820 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___43742); if (!r0) { step = 17; continue; } - r0 = (s.x0___40097 << s.tileScale___40063); + r0 = (s.x0___43746 << s.tileScale___43712); 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___40060.fields["width"]; + r0 = s.hbox___43709.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___40097 + 1); + r0 = (s.x0___43746 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___40063); + r0 = (s.tmp_5 << s.tileScale___43712); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29183,24 +29183,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___40035; - r0 = s.hbox___40060.fields["ox"]; + s.tmp_8 = r0 = s.s___43684; + r0 = s.hbox___43709.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___40197 = (undefined); - s.unnamed328___U14 = (s.collidedTiles___40112); - s.unnamed329___U15 = (0); + s.tile___43846 = (undefined); + s.unnamed976___U14 = (s.collidedTiles___43761); + s.unnamed977___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed329___U15; - r0 = pxsim_Array__length(s.unnamed328___U14); + s.tmp_0 = r0 = s.unnamed977___U15; + r0 = pxsim_Array__length(s.unnamed976___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed328___U14, s.unnamed329___U15); - s.tile___40197 = (r0); - r0 = s.s___40035.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed976___U14, s.unnamed977___U15); + s.tile___43846 = (r0); + r0 = s.s___43684.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29210,29 +29210,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_6 = Sprite_registerObstacle__P25573_mk(s); - s.tmp_6.arg0 = s.s___40035; - s.tmp_6.arg1 = s.collisionDirection___40171; - s.tmp_6.arg2 = s.tile___40197; + s.tmp_6 = Sprite_registerObstacle__P29221_mk(s); + s.tmp_6.arg0 = s.s___43684; + s.tmp_6.arg1 = s.collisionDirection___43820; + s.tmp_6.arg2 = s.tile___43846; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 690; s.pc = 108; return s.tmp_6; case 108: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed329___U15 + 1); - s.unnamed329___U15 = (r0); + r0 = (s.unnamed977___U15 + 1); + s.unnamed977___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed328___U14 = (undefined); - r0 = s.s___40035.fields["flags"]; + s.unnamed976___U14 = (undefined); + r0 = s.s___43684.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__P25575_mk(s); - s.tmp_2.arg0 = s.s___40035; + s.tmp_2 = Sprite_destroy__P29223_mk(s); + s.tmp_2.arg0 = s.s___43684; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 691; s.pc = 109; return s.tmp_2; @@ -29240,7 +29240,7 @@ switch (step) { r0 = s.retval; { step = 40; continue; } case 23: - r0 = s.s___40035.fields["_vx"]; + r0 = s.s___43684.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -29251,7 +29251,7 @@ switch (step) { r0 = s.tmp_0; { step = 25; continue; } case 24: - r0 = s.s___40035.fields["flags"]; + r0 = s.s___43684.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29263,13 +29263,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 36; continue; } - r0 = s.s___40035.fields["flags"]; + r0 = s.s___43684.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 32); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 34; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___40093); + r0 = pxsim_numops_toBoolDecr(s.right___43742); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29278,8 +29278,8 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 26: - s.tmp_12 = Sprite_vx__P25505_mk(s); - s.tmp_12.arg0 = s.s___40035; + s.tmp_12 = Sprite_vx__P29153_mk(s); + s.tmp_12.arg0 = s.s___43684; s.callLocIdx = 692; s.pc = 110; return s.tmp_12; case 110: r0 = s.retval; @@ -29293,14 +29293,14 @@ switch (step) { r0 = s.tmp_13; { step = 31; continue; } case 28: - s.tmp_14 = r0 = s.right___40093; + s.tmp_14 = r0 = s.right___43742; r0 = pxsim_numops_toBool(s.tmp_14); if (r0) { step = 29; continue; } r0 = s.tmp_14; { step = 30; continue; } case 29: - s.tmp_16 = Sprite_vx__P25505_mk(s); - s.tmp_16.arg0 = s.s___40035; + s.tmp_16 = Sprite_vx__P29153_mk(s); + s.tmp_16.arg0 = s.s___43684; s.callLocIdx = 693; s.pc = 111; return s.tmp_16; case 111: r0 = s.retval; @@ -29315,8 +29315,8 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 32; continue; } - s.tmp_19 = r0 = s.s___40035; - r0 = s.s___40035.fields["_vx"]; + s.tmp_19 = r0 = s.s___43684; + r0 = s.s___43684.fields["_vx"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29338,12 +29338,12 @@ switch (step) { { step = 35; continue; } case 34: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___40035).fields["_vx"] = (0); + r0 = (s.s___43684).fields["_vx"] = (0); case 35: { step = 39; continue; } case 36: - s.tmp_2 = Math_sign__P23275_mk(s); - r0 = s.s___40035.fields["_vx"]; + s.tmp_2 = Math_sign__P26923_mk(s); + r0 = s.s___43684.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -29353,7 +29353,7 @@ switch (step) { case 112: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P23275_mk(s); + s.tmp_6 = Math_sign__P26923_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -29377,16 +29377,16 @@ switch (step) { case 42: case 43: case 44: - r0 = (s.yDiff___40077 !== 0); + r0 = (s.yDiff___43726 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - r0 = (s.yDiff___40077 > 0); - s.down___40288 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___40288); + r0 = (s.yDiff___43726 > 0); + s.down___43937 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___43937); if (!r0) { step = 45; continue; } - s.tmp_1 = game_Hitbox_bottom__P25366_mk(s); - s.tmp_1.arg0 = s.hbox___40060; + s.tmp_1 = game_Hitbox_bottom__P29014_mk(s); + s.tmp_1.arg0 = s.hbox___43709; s.callLocIdx = 701; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; @@ -29394,8 +29394,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 46; continue; } case 45: - s.tmp_3 = game_Hitbox_top__P25364_mk(s); - s.tmp_3.arg0 = s.hbox___40060; + s.tmp_3 = game_Hitbox_top__P29012_mk(s); + s.tmp_3.arg0 = s.hbox___43709; s.callLocIdx = 703; s.pc = 115; return s.tmp_3; case 115: r0 = s.retval; @@ -29406,23 +29406,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___40063 + 8); + r0 = (s.tileScale___43712 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___40292 = (r0); + s.y0___43941 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___40307 = (r0); - s.tmp_0 = game_Hitbox_left__P25363_mk(s); - s.tmp_0.arg0 = s.hbox___40060; + s.collidedTiles___43956 = (r0); + s.tmp_0 = game_Hitbox_left__P29011_mk(s); + s.tmp_0.arg0 = s.hbox___43709; s.callLocIdx = 707; s.pc = 116; return s.tmp_0; case 116: r0 = s.retval; - s.x___40309 = (r0); + s.x___43958 = (r0); case 47: - s.tmp_1 = r0 = s.x___40309; - s.tmp_3 = r0 = s.tileSize___40066; - s.tmp_5 = game_Hitbox_right__P25365_mk(s); - s.tmp_5.arg0 = s.hbox___40060; + s.tmp_1 = r0 = s.x___43958; + s.tmp_3 = r0 = s.tileSize___43715; + s.tmp_5 = game_Hitbox_right__P29013_mk(s); + s.tmp_5.arg0 = s.hbox___43709; s.callLocIdx = 708; s.pc = 117; return s.tmp_5; case 117: r0 = s.retval; @@ -29435,10 +29435,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } - s.tmp_9 = Fx_min__P23312_mk(s); - s.tmp_9.arg0 = s.x___40309; - s.tmp_10 = game_Hitbox_right__P25365_mk(s); - s.tmp_10.arg0 = s.hbox___40060; + s.tmp_9 = Fx_min__P26960_mk(s); + s.tmp_9.arg0 = s.x___43958; + s.tmp_10 = game_Hitbox_right__P29013_mk(s); + s.tmp_10.arg0 = s.hbox___43709; s.callLocIdx = 710; s.pc = 119; return s.tmp_10; case 119: r0 = s.retval; @@ -29449,33 +29449,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___40063 + 8); + r0 = (s.tileScale___43712 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___40319 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P25903_mk(s); + s.x0___43968 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P29551_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___40319; - s.tmp_1.arg2 = s.y0___40292; + s.tmp_1.arg1 = s.x0___43968; + s.tmp_1.arg2 = s.y0___43941; s.callLocIdx = 714; s.pc = 120; return s.tmp_1; case 120: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 50; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P25904_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P29552_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___40319; - s.tmp_2.arg2 = s.y0___40292; + s.tmp_2.arg1 = s.x0___43968; + s.tmp_2.arg2 = s.y0___43941; s.callLocIdx = 715; s.pc = 121; return s.tmp_2; case 121: r0 = s.retval; - s.obstacle___40333 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P40341); + s.obstacle___43982 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P43990); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___40333); - s.tmp_4 = helpers_arraySome__P23253_mk(s); - s.tmp_4.arg0 = s.collidedTiles___40307; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___43982); + s.tmp_4 = helpers_arraySome__P26901_mk(s); + s.tmp_4.arg0 = s.collidedTiles___43956; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 716; s.pc = 122; return s.tmp_4; case 122: @@ -29487,22 +29487,22 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 48; continue; } - r0 = pxsim_Array__push(s.collidedTiles___40307, s.obstacle___40333); + r0 = pxsim_Array__push(s.collidedTiles___43956, s.obstacle___43982); case 48: case 49: case 50: case 51: - r0 = (s.tileSize___40066 << 8); + r0 = (s.tileSize___43715 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___40309); - s.x___40309 = (r0); + r0 = (s.tmp_0 + s.x___43958); + s.x___43958 = (r0); { step = 47; continue; } case 52: - r0 = pxsim_Array__length(s.collidedTiles___40307); + r0 = pxsim_Array__length(s.collidedTiles___43956); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___40288); + r0 = pxsim_numops_toBoolDecr(s.down___43937); if (!r0) { step = 53; continue; } r0 = 3; { step = 54; continue; } @@ -29511,23 +29511,23 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___40360 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___40288); + s.collisionDirection___44009 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___43937); if (!r0) { step = 55; continue; } - r0 = (s.y0___40292 << s.tileScale___40063); + r0 = (s.y0___43941 << s.tileScale___43712); 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___40060.fields["height"]; + r0 = s.hbox___43709.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 56; continue; } case 55: - r0 = (s.y0___40292 + 1); + r0 = (s.y0___43941 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___40063); + r0 = (s.tmp_5 << s.tileScale___43712); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29535,24 +29535,24 @@ switch (step) { case 56: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___40035; - r0 = s.hbox___40060.fields["oy"]; + s.tmp_8 = r0 = s.s___43684; + r0 = s.hbox___43709.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___40386 = (undefined); - s.unnamed330___U24 = (s.collidedTiles___40307); - s.unnamed331___U25 = (0); + s.tile___44035 = (undefined); + s.unnamed978___U24 = (s.collidedTiles___43956); + s.unnamed979___U25 = (0); case 57: - s.tmp_0 = r0 = s.unnamed331___U25; - r0 = pxsim_Array__length(s.unnamed330___U24); + s.tmp_0 = r0 = s.unnamed979___U25; + r0 = pxsim_Array__length(s.unnamed978___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 60; continue; } - r0 = pxsim_Array__getAt(s.unnamed330___U24, s.unnamed331___U25); - s.tile___40386 = (r0); - r0 = s.s___40035.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed978___U24, s.unnamed979___U25); + s.tile___44035 = (r0); + r0 = s.s___43684.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29562,29 +29562,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 58; continue; } - s.tmp_6 = Sprite_registerObstacle__P25573_mk(s); - s.tmp_6.arg0 = s.s___40035; - s.tmp_6.arg1 = s.collisionDirection___40360; - s.tmp_6.arg2 = s.tile___40386; + s.tmp_6 = Sprite_registerObstacle__P29221_mk(s); + s.tmp_6.arg0 = s.s___43684; + s.tmp_6.arg1 = s.collisionDirection___44009; + s.tmp_6.arg2 = s.tile___44035; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 722; s.pc = 123; return s.tmp_6; case 123: r0 = s.retval; case 58: case 59: - r0 = (s.unnamed331___U25 + 1); - s.unnamed331___U25 = (r0); + r0 = (s.unnamed979___U25 + 1); + s.unnamed979___U25 = (r0); { step = 57; continue; } case 60: - s.unnamed330___U24 = (undefined); - r0 = s.s___40035.fields["flags"]; + s.unnamed978___U24 = (undefined); + r0 = s.s___43684.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 61; continue; } - s.tmp_2 = Sprite_destroy__P25575_mk(s); - s.tmp_2.arg0 = s.s___40035; + s.tmp_2 = Sprite_destroy__P29223_mk(s); + s.tmp_2.arg0 = s.s___43684; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 723; s.pc = 124; return s.tmp_2; @@ -29592,7 +29592,7 @@ switch (step) { r0 = s.retval; { step = 78; continue; } case 61: - r0 = s.s___40035.fields["_vy"]; + r0 = s.s___43684.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -29603,7 +29603,7 @@ switch (step) { r0 = s.tmp_0; { step = 63; continue; } case 62: - r0 = s.s___40035.fields["flags"]; + r0 = s.s___43684.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29615,13 +29615,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 74; continue; } - r0 = s.s___40035.fields["flags"]; + r0 = s.s___43684.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 32); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 72; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___40288); + r0 = pxsim_numops_toBoolDecr(s.down___43937); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29630,8 +29630,8 @@ switch (step) { r0 = s.tmp_9; { step = 65; continue; } case 64: - s.tmp_12 = Sprite_vy__P25507_mk(s); - s.tmp_12.arg0 = s.s___40035; + s.tmp_12 = Sprite_vy__P29155_mk(s); + s.tmp_12.arg0 = s.s___43684; s.callLocIdx = 724; s.pc = 125; return s.tmp_12; case 125: r0 = s.retval; @@ -29645,14 +29645,14 @@ switch (step) { r0 = s.tmp_13; { step = 69; continue; } case 66: - s.tmp_14 = r0 = s.down___40288; + s.tmp_14 = r0 = s.down___43937; r0 = pxsim_numops_toBool(s.tmp_14); if (r0) { step = 67; continue; } r0 = s.tmp_14; { step = 68; continue; } case 67: - s.tmp_16 = Sprite_vy__P25507_mk(s); - s.tmp_16.arg0 = s.s___40035; + s.tmp_16 = Sprite_vy__P29155_mk(s); + s.tmp_16.arg0 = s.s___43684; s.callLocIdx = 725; s.pc = 126; return s.tmp_16; case 126: r0 = s.retval; @@ -29667,8 +29667,8 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 70; continue; } - s.tmp_19 = r0 = s.s___40035; - r0 = s.s___40035.fields["_vy"]; + s.tmp_19 = r0 = s.s___43684; + r0 = s.s___43684.fields["_vy"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29690,12 +29690,12 @@ switch (step) { { step = 73; continue; } case 72: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___40035).fields["_vy"] = (0); + r0 = (s.s___43684).fields["_vy"] = (0); case 73: { step = 77; continue; } case 74: - s.tmp_2 = Math_sign__P23275_mk(s); - r0 = s.s___40035.fields["_vy"]; + s.tmp_2 = Math_sign__P26923_mk(s); + r0 = s.s___43684.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -29705,7 +29705,7 @@ switch (step) { case 127: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P23275_mk(s); + s.tmp_6 = Math_sign__P26923_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -29731,7 +29731,7 @@ switch (step) { case 82: case 83: case 84: - r0 = s.s___40035.fields["flags"]; + r0 = s.s___43684.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -29742,18 +29742,18 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 95; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___40480 = (r0); - s.tmp_0 = game_Hitbox_left__P25363_mk(s); - s.tmp_0.arg0 = s.hbox___40060; + s.overlappedTiles___44129 = (r0); + s.tmp_0 = game_Hitbox_left__P29011_mk(s); + s.tmp_0.arg0 = s.hbox___43709; s.callLocIdx = 733; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.x___40482 = (r0); + s.x___44131 = (r0); case 85: - s.tmp_1 = r0 = s.x___40482; - s.tmp_3 = r0 = s.tileSize___40066; - s.tmp_5 = game_Hitbox_right__P25365_mk(s); - s.tmp_5.arg0 = s.hbox___40060; + s.tmp_1 = r0 = s.x___44131; + s.tmp_3 = r0 = s.tileSize___43715; + s.tmp_5 = game_Hitbox_right__P29013_mk(s); + s.tmp_5.arg0 = s.hbox___43709; s.callLocIdx = 734; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; @@ -29766,10 +29766,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 92; continue; } - s.tmp_9 = Fx_min__P23312_mk(s); - s.tmp_9.arg0 = s.x___40482; - s.tmp_10 = game_Hitbox_right__P25365_mk(s); - s.tmp_10.arg0 = s.hbox___40060; + s.tmp_9 = Fx_min__P26960_mk(s); + s.tmp_9.arg0 = s.x___44131; + s.tmp_10 = game_Hitbox_right__P29013_mk(s); + s.tmp_10.arg0 = s.hbox___43709; s.callLocIdx = 736; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; @@ -29780,21 +29780,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___40063 + 8); + r0 = (s.tileScale___43712 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___40492 = (r0); - s.tmp_0 = game_Hitbox_top__P25364_mk(s); - s.tmp_0.arg0 = s.hbox___40060; + s.x0___44141 = (r0); + s.tmp_0 = game_Hitbox_top__P29012_mk(s); + s.tmp_0.arg0 = s.hbox___43709; s.callLocIdx = 740; s.pc = 133; return s.tmp_0; case 133: r0 = s.retval; - s.y___40502 = (r0); + s.y___44151 = (r0); case 86: - s.tmp_1 = r0 = s.y___40502; - s.tmp_3 = r0 = s.tileSize___40066; - s.tmp_5 = game_Hitbox_bottom__P25366_mk(s); - s.tmp_5.arg0 = s.hbox___40060; + s.tmp_1 = r0 = s.y___44151; + s.tmp_3 = r0 = s.tileSize___43715; + s.tmp_5 = game_Hitbox_bottom__P29014_mk(s); + s.tmp_5.arg0 = s.hbox___43709; s.callLocIdx = 741; s.pc = 134; return s.tmp_5; case 134: r0 = s.retval; @@ -29807,10 +29807,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 91; continue; } - s.tmp_9 = Fx_min__P23312_mk(s); - s.tmp_9.arg0 = s.y___40502; - s.tmp_10 = game_Hitbox_bottom__P25366_mk(s); - s.tmp_10.arg0 = s.hbox___40060; + s.tmp_9 = Fx_min__P26960_mk(s); + s.tmp_9.arg0 = s.y___44151; + s.tmp_10 = game_Hitbox_bottom__P29014_mk(s); + s.tmp_10.arg0 = s.hbox___43709; s.callLocIdx = 743; s.pc = 136; return s.tmp_10; case 136: r0 = s.retval; @@ -29821,14 +29821,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___40063 + 8); + r0 = (s.tileScale___43712 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___40512 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P25903_mk(s); + s.y0___44161 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P29551_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___40492; - s.tmp_3.arg2 = s.y0___40512; + s.tmp_3.arg1 = s.x0___44141; + s.tmp_3.arg2 = s.y0___44161; s.callLocIdx = 747; s.pc = 137; return s.tmp_3; case 137: r0 = s.retval; @@ -29842,7 +29842,7 @@ switch (step) { r0 = s.tmp_0; { step = 88; continue; } case 87: - r0 = s.s___40035.fields["flags"]; + r0 = s.s___43684.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -29858,11 +29858,11 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 89; continue; } - s.tmp_10 = r0 = s.overlappedTiles___40480; - s.tmp_12 = tiles_TileMap_getTile__P25896_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___44129; + s.tmp_12 = tiles_TileMap_getTile__P29544_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___40492; - s.tmp_12.arg2 = s.y0___40512; + s.tmp_12.arg1 = s.x0___44141; + s.tmp_12.arg2 = s.y0___44161; s.callLocIdx = 748; s.pc = 138; return s.tmp_12; case 138: r0 = s.retval; @@ -29870,26 +29870,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 89: case 90: - r0 = (s.tileSize___40066 << 8); + r0 = (s.tileSize___43715 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___40502); - s.y___40502 = (r0); + r0 = (s.tmp_0 + s.y___44151); + s.y___44151 = (r0); { step = 86; continue; } case 91: - r0 = (s.tileSize___40066 << 8); + r0 = (s.tileSize___43715 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___40482); - s.x___40482 = (r0); + r0 = (s.tmp_0 + s.x___44131); + s.x___44131 = (r0); { step = 85; continue; } case 92: - r0 = pxsim_Array__length(s.overlappedTiles___40480); + r0 = pxsim_Array__length(s.overlappedTiles___44129); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 93; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P28007_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P31655_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___40035; - s.tmp_1.arg2 = s.overlappedTiles___40480; + s.tmp_1.arg1 = s.s___43684; + s.tmp_1.arg2 = s.overlappedTiles___44129; s.callLocIdx = 751; s.pc = 139; return s.tmp_1; case 139: r0 = s.retval; @@ -29901,12 +29901,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P28006.info = {"start":12929,"length":9654,"line":379,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P31654.info = {"start":12929,"length":9654,"line":379,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P28006_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P31654_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P28006, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P31654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29930,37 +29930,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P28006_mk(s) { tmp_19: undefined, tmp_20: undefined, tmp_21: undefined, - s___40035: undefined, - hbox___40060: undefined, - tileScale___40063: undefined, - tileSize___40066: undefined, - xDiff___40070: undefined, - yDiff___40077: undefined, - right___40093: undefined, - x0___40097: undefined, - collidedTiles___40112: undefined, - y___40114: undefined, - y0___40128: undefined, - obstacle___40144: undefined, - collisionDirection___40171: undefined, - tile___40197: undefined, - unnamed328___U14: undefined, - unnamed329___U15: undefined, - down___40288: undefined, - y0___40292: undefined, - collidedTiles___40307: undefined, - x___40309: undefined, - x0___40319: undefined, - obstacle___40333: undefined, - collisionDirection___40360: undefined, - tile___40386: undefined, - unnamed330___U24: undefined, - unnamed331___U25: undefined, - overlappedTiles___40480: undefined, - x___40482: undefined, - x0___40492: undefined, - y___40502: undefined, - y0___40512: undefined, + s___43684: undefined, + hbox___43709: undefined, + tileScale___43712: undefined, + tileSize___43715: undefined, + xDiff___43719: undefined, + yDiff___43726: undefined, + right___43742: undefined, + x0___43746: undefined, + collidedTiles___43761: undefined, + y___43763: undefined, + y0___43777: undefined, + obstacle___43793: undefined, + collisionDirection___43820: undefined, + tile___43846: undefined, + unnamed976___U14: undefined, + unnamed977___U15: undefined, + down___43937: undefined, + y0___43941: undefined, + collidedTiles___43956: undefined, + x___43958: undefined, + x0___43968: undefined, + obstacle___43982: undefined, + collisionDirection___44009: undefined, + tile___44035: undefined, + unnamed978___U24: undefined, + unnamed979___U25: undefined, + overlappedTiles___44129: undefined, + x___44131: undefined, + x0___44141: undefined, + y___44151: undefined, + y0___44161: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29970,7 +29970,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P28006_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P40152(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P43801(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29992,12 +29992,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P40152.info = {"start":15147,"length":39,"line":441,"column":48,"endLine":441,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P43801.info = {"start":15147,"length":39,"line":441,"column":48,"endLine":441,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P40152_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P43801_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P40152, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P43801, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30008,7 +30008,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P40152_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P40341(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P43990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30030,12 +30030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P40341.info = {"start":18668,"length":39,"line":522,"column":48,"endLine":522,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P43990.info = {"start":18668,"length":39,"line":522,"column":48,"endLine":522,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P40341_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P43990_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P40341, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P43990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30046,7 +30046,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P40341_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P28007(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P31655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30056,11 +30056,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___40559 = undefined; - s.tile___40562 = undefined; - s.unnamed332___U2 = undefined; - s.unnamed333___U3 = undefined; - s.tileOverlapHandlers___40583 = undefined; + s.alreadyHandled___44208 = undefined; + s.tile___44211 = undefined; + s.unnamed980___U2 = undefined; + s.unnamed981___U3 = undefined; + s.tileOverlapHandlers___44232 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30068,25 +30068,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___40559 = (r0); - s.tile___40562 = (undefined); - s.unnamed332___U2 = (s.arg2); - s.unnamed333___U3 = (0); + s.alreadyHandled___44208 = (r0); + s.tile___44211 = (undefined); + s.unnamed980___U2 = (s.arg2); + s.unnamed981___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed333___U3; - r0 = pxsim_Array__length(s.unnamed332___U2); + s.tmp_0 = r0 = s.unnamed981___U3; + r0 = pxsim_Array__length(s.unnamed980___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed332___U2, s.unnamed333___U3); - s.tile___40562 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P40566); + r0 = pxsim_Array__getAt(s.unnamed980___U2, s.unnamed981___U3); + s.tile___44211 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P44215); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___40562); - s.tmp_4 = helpers_arraySome__P23253_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___40559; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___44211); + s.tmp_4 = helpers_arraySome__P26901_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___44208; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 756; s.pc = 8; return s.tmp_4; case 8: @@ -30097,26 +30097,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___40559, s.tile___40562); - s.tmp_0 = game_currentScene__P26163_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___44208, s.tile___44211); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 757; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___40583 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___40583); + s.tileOverlapHandlers___44232 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___44232); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P40591); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P44240); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___40562); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P40607); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___44211); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P44256); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___40562); - s.tmp_2 = helpers_arrayForEach__P23255_mk(s); - s.tmp_3 = helpers_arrayFilter__P23256_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___40583; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___44211); + s.tmp_2 = helpers_arrayForEach__P26903_mk(s); + s.tmp_3 = helpers_arrayFilter__P26904_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___44232; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 760; s.pc = 11; return s.tmp_3; case 11: @@ -30129,32 +30129,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed333___U3 + 1); - s.unnamed333___U3 = (r0); + r0 = (s.unnamed981___U3 + 1); + s.unnamed981___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed332___U2 = (undefined); + s.unnamed980___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P28007.info = {"start":22860,"length":707,"line":626,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P31655.info = {"start":22860,"length":707,"line":626,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P28007_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P31655_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P28007, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P31655, 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___40559: undefined, - tile___40562: undefined, - unnamed332___U2: undefined, - unnamed333___U3: undefined, - tileOverlapHandlers___40583: undefined, + alreadyHandled___44208: undefined, + tile___44211: undefined, + unnamed980___U2: undefined, + unnamed981___U3: undefined, + tileOverlapHandlers___44232: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30164,7 +30164,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P28007_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P40566(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P44215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30201,12 +30201,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P40566.info = {"start":23075,"length":51,"line":630,"column":36,"endLine":630,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P44215.info = {"start":23075,"length":51,"line":630,"column":36,"endLine":630,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P40566_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P44215_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P40566, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P44215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30221,7 +30221,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P40566_mk(s) { -function forEach_inline__P40591(s) { +function forEach_inline__P44240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30248,7 +30248,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P25915_mk(s); + s.tmp_5 = tiles_getTileImage__P29563_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 759; s.pc = 3; return s.tmp_5; case 3: @@ -30262,12 +30262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P40591.info = {"start":23395,"length":81,"line":638,"column":28,"endLine":638,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P44240.info = {"start":23395,"length":81,"line":638,"column":28,"endLine":638,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P40591_mk(s) { +function forEach_inline__P44240_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P40591, depth: s.depth + 1, + parent: s, fn: forEach_inline__P44240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30283,7 +30283,7 @@ function forEach_inline__P40591_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P40607(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P44256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30316,12 +30316,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P40607.info = {"start":23507,"length":28,"line":639,"column":29,"endLine":639,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P44256.info = {"start":23507,"length":28,"line":639,"column":29,"endLine":639,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P40607_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P44256_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P40607, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P44256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30331,7 +30331,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P40607_mk(s) { -function tiles_getTileImage__P25915(s) { +function tiles_getTileImage__P29563(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30341,16 +30341,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___40615 = undefined; + s.scene___44264 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P26163_mk(s); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 931; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___40615 = (r0); + s.scene___44264 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -30360,7 +30360,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___40615.fields["tileMap"]; + r0 = s.scene___44264.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -30370,14 +30370,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex40625); + r0 = pxsim.image.ofBuffer(_hex44274); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P25906_mk(s); - r0 = s.scene___40615.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P29554_mk(s); + r0 = s.scene___44264.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P25851_mk(s); + s.tmp_6 = tiles_Location_tileSet__P29499_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 932; s.pc = 8; return s.tmp_6; case 8: @@ -30390,12 +30390,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P25915.info = {"start":21871,"length":207,"line":673,"column":4,"endLine":677,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P29563.info = {"start":21871,"length":207,"line":673,"column":4,"endLine":677,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P25915_mk(s) { +function tiles_getTileImage__P29563_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P25915, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P29563, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30404,16 +30404,16 @@ function tiles_getTileImage__P25915_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___40615: undefined, + scene___44264: undefined, arg0: undefined, } } -const _hex40625 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex44274 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P25906(s) { +function tiles_TileMap_getTileImage__P29554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30429,8 +30429,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P25873_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P29521_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -30440,12 +30440,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P25906.info = {"start":17510,"length":96,"line":553,"column":8,"endLine":555,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P29554.info = {"start":17510,"length":96,"line":553,"column":8,"endLine":555,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P25906_mk(s) { +function tiles_TileMap_getTileImage__P29554_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P25906, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P29554, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30456,7 +30456,7 @@ function tiles_TileMap_getTileImage__P25906_mk(s) { -function tiles_TileMapData_getTileImage__P25873(s) { +function tiles_TileMapData_getTileImage__P29521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30466,25 +30466,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___31653 = undefined; - s.cachedImage___31657 = undefined; - s.originalImage___31664 = undefined; + s.size___35302 = undefined; + s.cachedImage___35306 = undefined; + s.originalImage___35313 = 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__C25864_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C29512_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___31653 = (r0); + s.size___35302 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___31657 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___31657); + s.cachedImage___35306 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___35306); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -30493,58 +30493,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___31664 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___31664); + s.originalImage___35313 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___35313); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___31664); + r0 = pxsim_ImageMethods.width(s.originalImage___35313); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___31653); + r0 = (s.tmp_1 <= s.size___35302); 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___31664); + r0 = pxsim_ImageMethods.height(s.originalImage___35313); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___31653); + r0 = (s.tmp_2 <= s.size___35302); 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___31657 = (s.originalImage___31664); + s.cachedImage___35306 = (s.originalImage___35313); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___31653, s.size___31653); - s.cachedImage___31657 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___31657, s.originalImage___31664, 0, 0); + r0 = pxsim.image.create(s.size___35302, s.size___35302); + s.cachedImage___35306 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___35306, s.originalImage___35313, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___31657); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___35306); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___31657; + r0 = s.cachedImage___35306; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P25873.info = {"start":7354,"length":717,"line":251,"column":8,"endLine":268,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P29521.info = {"start":7354,"length":717,"line":251,"column":8,"endLine":268,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMapData_getTileImage__P25873_mk(s) { +function tiles_TileMapData_getTileImage__P29521_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P25873, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P29521, 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___31653: undefined, - cachedImage___31657: undefined, - originalImage___31664: undefined, + size___35302: undefined, + cachedImage___35306: undefined, + originalImage___35313: undefined, arg0: undefined, arg1: undefined, } } @@ -30553,7 +30553,7 @@ function tiles_TileMapData_getTileImage__P25873_mk(s) { -function tiles_TileMapData_scale__P25868(s) { +function tiles_TileMapData_scale__P29516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30568,18 +30568,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25864_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C29512_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P25868.info = {"start":6564,"length":66,"line":222,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMapData_scale__P25868.isGetter = true; +tiles_TileMapData_scale__P29516.info = {"start":6564,"length":66,"line":222,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P29516.isGetter = true; -function tiles_TileMapData_scale__P25868_mk(s) { +function tiles_TileMapData_scale__P29516_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P25868, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P29516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30588,7 +30588,7 @@ function tiles_TileMapData_scale__P25868_mk(s) { -function tiles_Location_tileSet__P25851(s) { +function tiles_Location_tileSet__P29499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30603,9 +30603,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25840_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P25897_mk(s); - s.tmp_1 = tiles_Location_tileMap__P25842_mk(s); + if (!checkSubtype(r0, tiles_Location__C29488_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P29545_mk(s); + s.tmp_1 = tiles_Location_tileMap__P29490_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 820; s.pc = 2; return s.tmp_1; case 2: @@ -30621,13 +30621,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P25851.info = {"start":2323,"length":101,"line":86,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -tiles_Location_tileSet__P25851.isGetter = true; +tiles_Location_tileSet__P29499.info = {"start":2323,"length":101,"line":86,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P29499.isGetter = true; -function tiles_Location_tileSet__P25851_mk(s) { +function tiles_Location_tileSet__P29499_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P25851, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P29499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30638,7 +30638,7 @@ function tiles_Location_tileSet__P25851_mk(s) { -function tiles_TileMap_getTileIndex__P25897(s) { +function tiles_TileMap_getTileIndex__P29545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30655,8 +30655,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P25870_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P29518_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -30667,12 +30667,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P25897.info = {"start":11191,"length":105,"line":384,"column":8,"endLine":386,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P29545.info = {"start":11191,"length":105,"line":384,"column":8,"endLine":386,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_TileMap_getTileIndex__P25897_mk(s) { +function tiles_TileMap_getTileIndex__P29545_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P25897, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P29545, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30684,7 +30684,7 @@ function tiles_TileMap_getTileIndex__P25897_mk(s) { -function tiles_TileMapData_getTile__P25870(s) { +function tiles_TileMapData_getTile__P29518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30701,8 +30701,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25864_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P25876_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C29512_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P29524_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -30735,12 +30735,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P25870.info = {"start":6752,"length":200,"line":231,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P29518.info = {"start":6752,"length":200,"line":231,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMapData_getTile__P25870_mk(s) { +function tiles_TileMapData_getTile__P29518_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P25870, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P29518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30760,7 +30760,7 @@ function tiles_TileMapData_getTile__P25870_mk(s) { -function tiles_TileMapData_isOutsideMap__P25876(s) { +function tiles_TileMapData_isOutsideMap__P29524(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30777,7 +30777,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25864_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C29512_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -30817,12 +30817,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P25876.info = {"start":8335,"length":132,"line":278,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P29524.info = {"start":8335,"length":132,"line":278,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_TileMapData_isOutsideMap__P25876_mk(s) { +function tiles_TileMapData_isOutsideMap__P29524_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P25876, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P29524, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30841,7 +30841,7 @@ function tiles_TileMapData_isOutsideMap__P25876_mk(s) { -function tiles_Location_tileMap__P25842(s) { +function tiles_Location_tileMap__P29490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30856,8 +30856,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25840_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P26163_mk(s); + if (!checkSubtype(r0, tiles_Location__C29488_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 811; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -30865,13 +30865,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileMap__P25842.info = {"start":491,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileMap","argumentNames":["this"]} -tiles_Location_tileMap__P25842.isGetter = true; +tiles_Location_tileMap__P29490.info = {"start":491,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileMap","argumentNames":["this"]} +tiles_Location_tileMap__P29490.isGetter = true; -function tiles_Location_tileMap__P25842_mk(s) { +function tiles_Location_tileMap__P29490_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileMap__P25842, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileMap__P29490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30881,7 +30881,7 @@ function tiles_Location_tileMap__P25842_mk(s) { -function tiles_Location_row__P25844(s) { +function tiles_Location_row__P29492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30896,18 +30896,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C29488_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P25844.info = {"start":877,"length":51,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} -tiles_Location_row__P25844.isGetter = true; +tiles_Location_row__P29492.info = {"start":877,"length":51,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} +tiles_Location_row__P29492.isGetter = true; -function tiles_Location_row__P25844_mk(s) { +function tiles_Location_row__P29492_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P25844, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P29492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30916,7 +30916,7 @@ function tiles_Location_row__P25844_mk(s) { -function tiles_Location_column__P25843(s) { +function tiles_Location_column__P29491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30931,18 +30931,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C29488_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_column__P25843.info = {"start":695,"length":54,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"column","argumentNames":["this"]} -tiles_Location_column__P25843.isGetter = true; +tiles_Location_column__P29491.info = {"start":695,"length":54,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"column","argumentNames":["this"]} +tiles_Location_column__P29491.isGetter = true; -function tiles_Location_column__P25843_mk(s) { +function tiles_Location_column__P29491_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_column__P25843, depth: s.depth + 1, + parent: s, fn: tiles_Location_column__P29491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30951,7 +30951,7 @@ function tiles_Location_column__P25843_mk(s) { -function tiles_TileMap_getObstacle__P25904(s) { +function tiles_TileMap_getObstacle__P29552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30961,8 +30961,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___40741 = undefined; - s.tile___40753 = undefined; + s.index___44390 = undefined; + s.tile___44402 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30970,8 +30970,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P25876_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P29524_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -30985,7 +30985,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P25870_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P29518_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -30996,20 +30996,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___40741 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P25873_mk(s); + s.index___44390 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P29521_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___40741; + s.tmp_0.arg1 = s.index___44390; s.callLocIdx = 898; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___40753 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C25645_VT); + s.tile___44402 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C29293_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P25651_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P29299_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___40753; + s.tmp_1.arg1 = s.tile___44402; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -31022,7 +31022,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___40741; + s.tmp_1.arg5 = s.index___44390; s.callLocIdx = 902; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -31030,12 +31030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P25904.info = {"start":16453,"length":410,"line":522,"column":8,"endLine":532,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P29552.info = {"start":16453,"length":410,"line":522,"column":8,"endLine":532,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P25904_mk(s) { +function tiles_TileMap_getObstacle__P29552_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P25904, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P29552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31043,8 +31043,8 @@ function tiles_TileMap_getObstacle__P25904_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___40741: undefined, - tile___40753: undefined, + index___44390: undefined, + tile___44402: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31054,7 +31054,7 @@ function tiles_TileMap_getObstacle__P25904_mk(s) { -function tiles_TileMap_layer__P25892(s) { +function tiles_TileMap_layer__P29540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31069,18 +31069,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P25892.info = {"start":9967,"length":63,"line":341,"column":8,"endLine":343,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P25892.isGetter = true; +tiles_TileMap_layer__P29540.info = {"start":9967,"length":63,"line":341,"column":8,"endLine":343,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P29540.isGetter = true; -function tiles_TileMap_layer__P25892_mk(s) { +function tiles_TileMap_layer__P29540_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P25892, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P29540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31089,7 +31089,7 @@ function tiles_TileMap_layer__P25892_mk(s) { -function sprites_StaticObstacle_constructor__P25651(s) { +function sprites_StaticObstacle_constructor__P29299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31109,7 +31109,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25645_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C29293_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -31119,12 +31119,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P25651.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__P29299.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__P25651_mk(s) { +function sprites_StaticObstacle_constructor__P29299_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P25651, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P29299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31138,7 +31138,7 @@ function sprites_StaticObstacle_constructor__P25651_mk(s) { -function tiles_TileMap_isObstacle__P25903(s) { +function tiles_TileMap_isObstacle__P29551(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31155,7 +31155,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -31176,7 +31176,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P25876_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P29524_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -31202,12 +31202,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P25903.info = {"start":16232,"length":211,"line":515,"column":8,"endLine":520,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P29551.info = {"start":16232,"length":211,"line":515,"column":8,"endLine":520,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P25903_mk(s) { +function tiles_TileMap_isObstacle__P29551_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P25903, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P29551, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31230,7 +31230,7 @@ function tiles_TileMap_isObstacle__P25903_mk(s) { -function tiles_TileMapData_isWall__P25875(s) { +function tiles_TileMapData_isWall__P29523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31247,7 +31247,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25864_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C29512_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -31256,12 +31256,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P25875.info = {"start":8218,"length":107,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P29523.info = {"start":8218,"length":107,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -function tiles_TileMapData_isWall__P25875_mk(s) { +function tiles_TileMapData_isWall__P29523_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P25875, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P29523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31274,7 +31274,7 @@ function tiles_TileMapData_isWall__P25875_mk(s) { -function tiles_TileMap_getTile__P25896(s) { +function tiles_TileMap_getTile__P29544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31291,10 +31291,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C25840_VT); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C29488_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P25841_mk(s); + s.tmp_1 = tiles_Location_constructor__P29489_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -31306,12 +31306,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P25896.info = {"start":11070,"length":111,"line":380,"column":8,"endLine":382,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P29544.info = {"start":11070,"length":111,"line":380,"column":8,"endLine":382,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMap_getTile__P25896_mk(s) { +function tiles_TileMap_getTile__P29544_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P25896, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P29544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31324,7 +31324,7 @@ function tiles_TileMap_getTile__P25896_mk(s) { -function tiles_Location_constructor__P25841(s) { +function tiles_Location_constructor__P29489(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31342,19 +31342,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C29488_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P25841.info = {"start":360,"length":121,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P29489.info = {"start":360,"length":121,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -function tiles_Location_constructor__P25841_mk(s) { +function tiles_Location_constructor__P29489_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P25841, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P29489, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31366,7 +31366,7 @@ function tiles_Location_constructor__P25841_mk(s) { -function Sprite_registerObstacle__P25573(s) { +function Sprite_registerObstacle__P29221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31376,10 +31376,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___40654 = undefined; - s.wallCollisionHandlers___40661 = undefined; - s.wallHandlersToRun___40686 = undefined; - s.asTileLocation___40699 = undefined; + s.collisionHandlers___44303 = undefined; + s.wallCollisionHandlers___44310 = undefined; + s.wallHandlersToRun___44335 = undefined; + s.asTileLocation___44348 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31388,11 +31388,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_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__P26163_mk(s); + s.tmp_1 = game_currentScene__P29811_mk(s); s.callLocIdx = 428; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -31412,24 +31412,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___40654 = (r0); - s.tmp_0 = game_currentScene__P26163_mk(s); + s.collisionHandlers___44303 = (r0); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 430; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___40661 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___40654); + s.wallCollisionHandlers___44310 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___44303); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P40669); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P44318); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P40675); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P44324); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P23255_mk(s); - s.tmp_3 = helpers_arrayFilter__P23256_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___40654; + s.tmp_2 = helpers_arrayForEach__P26903_mk(s); + s.tmp_3 = helpers_arrayFilter__P26904_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___44303; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 432; s.pc = 13; return s.tmp_3; case 13: @@ -31441,7 +31441,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___40661); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___44310); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -31449,7 +31449,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P26163_mk(s); + s.tmp_1 = game_currentScene__P29811_mk(s); s.callLocIdx = 435; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -31458,21 +31458,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P40688); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P44337); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P23256_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___40661; + s.tmp_1 = helpers_arrayFilter__P26904_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___44310; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 437; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___40686 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___40686); + s.wallHandlersToRun___44335 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___44335); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P25896_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P29544_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -31511,13 +31511,13 @@ switch (step) { s.callLocIdx = 442; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___40699 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P40715); + s.asTileLocation___44348 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P44364); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___40699); - s.tmp_1 = helpers_arrayForEach__P23255_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___40686; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___44348); + s.tmp_1 = helpers_arrayForEach__P26903_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___44335; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 444; s.pc = 19; return s.tmp_1; case 19: @@ -31530,12 +31530,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P25573.info = {"start":24992,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P29221.info = {"start":24992,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P25573_mk(s) { +function Sprite_registerObstacle__P29221_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P25573, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P29221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31545,10 +31545,10 @@ function Sprite_registerObstacle__P25573_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___40654: undefined, - wallCollisionHandlers___40661: undefined, - wallHandlersToRun___40686: undefined, - asTileLocation___40699: undefined, + collisionHandlers___44303: undefined, + wallCollisionHandlers___44310: undefined, + wallHandlersToRun___44335: undefined, + asTileLocation___44348: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31559,7 +31559,7 @@ function Sprite_registerObstacle__P25573_mk(s) { -function forEach_inline__P40669(s) { +function forEach_inline__P44318(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31581,12 +31581,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P40669.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P44318.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P40669_mk(s) { +function forEach_inline__P44318_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P40669, depth: s.depth + 1, + parent: s, fn: forEach_inline__P44318, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31597,7 +31597,7 @@ function forEach_inline__P40669_mk(s) { -function Sprite_registerObstacle_inline__P40675(s) { +function Sprite_registerObstacle_inline__P44324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31629,12 +31629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P40675.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P44324.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P40675_mk(s) { +function Sprite_registerObstacle_inline__P44324_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P40675, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P44324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31644,7 +31644,7 @@ function Sprite_registerObstacle_inline__P40675_mk(s) { -function wallHandlersToRun_inline__P40688(s) { +function wallHandlersToRun_inline__P44337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31666,12 +31666,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P40688.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +wallHandlersToRun_inline__P44337.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function wallHandlersToRun_inline__P40688_mk(s) { +function wallHandlersToRun_inline__P44337_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P40688, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P44337, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31682,7 +31682,7 @@ function wallHandlersToRun_inline__P40688_mk(s) { -function Sprite_registerObstacle_inline__P40715(s) { +function Sprite_registerObstacle_inline__P44364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31715,12 +31715,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P40715.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P44364.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P40715_mk(s) { +function Sprite_registerObstacle_inline__P44364_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P40715, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P44364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31730,7 +31730,7 @@ function Sprite_registerObstacle_inline__P40715_mk(s) { -function Math_sign__P23275(s) { +function Math_sign__P26923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31765,12 +31765,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P23275.info = {"start":16355,"length":125,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P26923.info = {"start":16355,"length":125,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P23275_mk(s) { +function Math_sign__P26923_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P23275, depth: s.depth + 1, + parent: s, fn: Math_sign__P26923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31781,7 +31781,7 @@ function Math_sign__P23275_mk(s) { -function helpers_arraySome__P23253(s) { +function helpers_arraySome__P26901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31791,26 +31791,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___40723 = undefined; - s.i___40726 = undefined; + s.len___44372 = undefined; + s.i___44375 = 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___40723 = (r0); - s.i___40726 = (0); + s.len___44372 = (r0); + s.i___44375 = (0); case 1: - r0 = (s.i___40726 < s.len___40723); + r0 = (s.i___44375 < s.len___44372); 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___40726); + r0 = pxsim_Array__getAt(s.arg0, s.i___44375); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___40726; + s.tmp_2.arg1 = s.i___44375; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: @@ -31822,8 +31822,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___40726 + 1); - s.i___40726 = (r0); + r0 = (s.i___44375 + 1); + s.i___44375 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -31831,18 +31831,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P23253.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__P26901.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__P23253_mk(s) { +function helpers_arraySome__P26901_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P23253, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P26901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___40723: undefined, - i___40726: undefined, + len___44372: undefined, + i___44375: undefined, arg0: undefined, arg1: undefined, } } @@ -31851,7 +31851,7 @@ function helpers_arraySome__P23253_mk(s) { -function tiles_TileMap_isOnWall__P25905(s) { +function tiles_TileMap_isOnWall__P29553(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31861,24 +31861,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___32157 = undefined; - s.left___32160 = undefined; - s.right___32166 = undefined; - s.top___32172 = undefined; - s.bottom___32178 = undefined; - s.col___32184 = undefined; - s.row___32190 = undefined; + s.hbox___35806 = undefined; + s.left___35809 = undefined; + s.right___35815 = undefined; + s.top___35821 = undefined; + s.bottom___35827 = undefined; + s.col___35833 = undefined; + s.row___35839 = 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__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___32157 = (r0); - s.tmp_1 = game_Hitbox_left__P25363_mk(s); - s.tmp_1.arg0 = s.hbox___32157; + s.hbox___35806 = (r0); + s.tmp_1 = game_Hitbox_left__P29011_mk(s); + s.tmp_1.arg0 = s.hbox___35806; s.callLocIdx = 903; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -31888,9 +31888,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___32160 = (r0); - s.tmp_1 = game_Hitbox_right__P25365_mk(s); - s.tmp_1.arg0 = s.hbox___32157; + s.left___35809 = (r0); + s.tmp_1 = game_Hitbox_right__P29013_mk(s); + s.tmp_1.arg0 = s.hbox___35806; s.callLocIdx = 906; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -31900,9 +31900,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___32166 = (r0); - s.tmp_1 = game_Hitbox_top__P25364_mk(s); - s.tmp_1.arg0 = s.hbox___32157; + s.right___35815 = (r0); + s.tmp_1 = game_Hitbox_top__P29012_mk(s); + s.tmp_1.arg0 = s.hbox___35806; s.callLocIdx = 909; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -31912,9 +31912,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___32172 = (r0); - s.tmp_1 = game_Hitbox_bottom__P25366_mk(s); - s.tmp_1.arg0 = s.hbox___32157; + s.top___35821 = (r0); + s.tmp_1 = game_Hitbox_bottom__P29014_mk(s); + s.tmp_1.arg0 = s.hbox___35806; s.callLocIdx = 912; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -31924,23 +31924,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___32178 = (r0); - s.col___32184 = (s.left___32160); + s.bottom___35827 = (r0); + s.col___35833 = (s.left___35809); case 1: - r0 = (s.col___32184 <= s.right___32166); + r0 = (s.col___35833 <= s.right___35815); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___32190 = (s.top___32172); + s.row___35839 = (s.top___35821); case 2: - r0 = (s.row___32190 <= s.bottom___32178); + r0 = (s.row___35839 <= s.bottom___35827); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P25903_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P29551_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___32184; - s.tmp_2.arg2 = s.row___32190; + s.tmp_2.arg1 = s.col___35833; + s.tmp_2.arg2 = s.row___35839; s.callLocIdx = 915; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -31951,12 +31951,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___32190 + 1); - s.row___32190 = (r0); + r0 = (s.row___35839 + 1); + s.row___35839 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___32184 + 1); - s.col___32184 = (r0); + r0 = (s.col___35833 + 1); + s.col___35833 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -31964,24 +31964,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P25905.info = {"start":16873,"length":627,"line":534,"column":8,"endLine":551,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P29553.info = {"start":16873,"length":627,"line":534,"column":8,"endLine":551,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P25905_mk(s) { +function tiles_TileMap_isOnWall__P29553_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P25905, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P29553, 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___32157: undefined, - left___32160: undefined, - right___32166: undefined, - top___32172: undefined, - bottom___32178: undefined, - col___32184: undefined, - row___32190: undefined, + hbox___35806: undefined, + left___35809: undefined, + right___35815: undefined, + top___35821: undefined, + bottom___35827: undefined, + col___35833: undefined, + row___35839: undefined, arg0: undefined, arg1: undefined, } } @@ -31990,7 +31990,7 @@ function tiles_TileMap_isOnWall__P25905_mk(s) { -function MovingSprite_constructor__P25673(s) { +function MovingSprite_constructor__P29321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32012,7 +32012,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C25672_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C29320_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -32024,12 +32024,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P25673.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__P29321.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__P25673_mk(s) { +function MovingSprite_constructor__P29321_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P25673, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P29321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32045,7 +32045,7 @@ function MovingSprite_constructor__P25673_mk(s) { -function ArcadePhysicsEngine_move__P25686(s) { +function ArcadePhysicsEngine_move__P29334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32055,76 +32055,76 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___40798 = undefined; - s.dt2___40804 = undefined; - s.scene___40808 = undefined; - s.tileMap___40811 = undefined; - s.movingSprites___40814 = undefined; - s.MAX_STEP_COUNT___40845 = undefined; - s.overlapHandlers___40857 = undefined; - s.selected___40864 = undefined; - s.buffers___40865 = undefined; - s.count___40869 = undefined; - s.currMovers___40879 = undefined; - s.remainingMovers___40886 = undefined; - s.ms___40891 = undefined; - s.unnamed322___U13 = undefined; - s.unnamed323___U14 = undefined; - s.s___40893 = undefined; - s.stepX___40986 = undefined; - s.stepY___41000 = undefined; - s.bounce___41063 = undefined; + s.dtMs___44447 = undefined; + s.dt2___44453 = undefined; + s.scene___44457 = undefined; + s.tileMap___44460 = undefined; + s.movingSprites___44463 = undefined; + s.MAX_STEP_COUNT___44494 = undefined; + s.overlapHandlers___44506 = undefined; + s.selected___44513 = undefined; + s.buffers___44514 = undefined; + s.count___44518 = undefined; + s.currMovers___44528 = undefined; + s.remainingMovers___44535 = undefined; + s.ms___44540 = undefined; + s.unnamed970___U13 = undefined; + s.unnamed971___U14 = undefined; + s.s___44542 = undefined; + s.stepX___44635 = undefined; + s.stepY___44649 = undefined; + s.bounce___44712 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); - s.tmp_0 = Math_min__P23277_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); + s.tmp_0 = Math_min__P26925_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; s.callLocIdx = 553; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.dtMs___40798 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___40798, 2); - s.dt2___40804 = (r0); - s.tmp_0 = game_currentScene__P26163_mk(s); + s.dtMs___44447 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___44447, 2); + s.dt2___44453 = (r0); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 554; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.scene___40808 = (r0); - r0 = s.scene___40808.fields["tileMap"]; - s.tileMap___40811 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P40816); + s.scene___44457 = (r0); + r0 = s.scene___44457.fields["tileMap"]; + s.tileMap___44460 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P44465); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___40798); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___40804); - s.tmp_1 = helpers_arrayMap__P23252_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___44447); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___44453); + s.tmp_1 = helpers_arrayMap__P26900_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 556; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; - s.movingSprites___40814 = (r0); - s.tmp_0 = helpers_arrayForEach__P23255_mk(s); + s.movingSprites___44463 = (r0); + s.tmp_0 = helpers_arrayForEach__P26903_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P40828; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P44477; s.callLocIdx = 560; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P25599_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P29247_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 561; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P25598_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P29246_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -32140,41 +32140,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___40798); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___44447); 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___40845 = (r0); - s.tmp_0 = helpers_arraySlice__P23261_mk(s); - r0 = s.scene___40808.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___44494 = (r0); + s.tmp_0 = helpers_arraySlice__P26909_mk(s); + r0 = s.scene___44457.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 567; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.overlapHandlers___40857 = (r0); - s.selected___40864 = (0); + s.overlapHandlers___44506 = (r0); + s.selected___44513 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___40814); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___44463); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___40865 = (s.tmp_0); - s.count___40869 = (0); + s.buffers___44514 = (s.tmp_0); + s.count___44518 = (0); case 1: - r0 = (s.count___40869 < s.MAX_STEP_COUNT___40845); + r0 = (s.count___44518 < s.MAX_STEP_COUNT___44494); 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___40865, s.selected___40864); + r0 = pxsim_Array__getAt(s.buffers___44514, s.selected___44513); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -32184,43 +32184,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 52; continue; } - r0 = pxsim_Array__getAt(s.buffers___40865, s.selected___40864); - s.currMovers___40879 = (r0); - r0 = (s.selected___40864 ^ 1); - s.selected___40864 = (r0); - r0 = pxsim_Array__getAt(s.buffers___40865, s.selected___40864); - s.remainingMovers___40886 = (r0); - s.ms___40891 = (undefined); - s.unnamed322___U13 = (s.currMovers___40879); - s.unnamed323___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___44514, s.selected___44513); + s.currMovers___44528 = (r0); + r0 = (s.selected___44513 ^ 1); + s.selected___44513 = (r0); + r0 = pxsim_Array__getAt(s.buffers___44514, s.selected___44513); + s.remainingMovers___44535 = (r0); + s.ms___44540 = (undefined); + s.unnamed970___U13 = (s.currMovers___44528); + s.unnamed971___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed323___U14; - r0 = pxsim_Array__length(s.unnamed322___U13); + s.tmp_0 = r0 = s.unnamed971___U14; + r0 = pxsim_Array__length(s.unnamed970___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 49; continue; } - r0 = pxsim_Array__getAt(s.unnamed322___U13, s.unnamed323___U14); - s.ms___40891 = (r0); - r0 = s.ms___40891.fields["sprite"]; - s.s___40893 = (r0); - r0 = s.ms___40891.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed970___U13, s.unnamed971___U14); + s.ms___44540 = (r0); + r0 = s.ms___44540.fields["sprite"]; + s.s___44542 = (r0); + r0 = s.ms___44540.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___40893.fields["_vx"]; + r0 = s.s___44542.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___40893.fields["_vx"]; + r0 = s.s___44542.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___40891).fields["dx"] = (0); + r0 = (s.ms___44540).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___40893.fields["_vx"]; + r0 = s.s___44542.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32229,7 +32229,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___40891.fields["cachedVx"]; + r0 = s.ms___44540.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -32240,7 +32240,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___40893.fields["_vx"]; + r0 = s.s___44542.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -32249,7 +32249,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___40891.fields["cachedVx"]; + r0 = s.ms___44540.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -32261,14 +32261,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___40891; - r0 = s.ms___40891.fields["dx"]; + s.tmp_9 = r0 = s.ms___44540; + r0 = s.ms___44540.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___40891; - r0 = s.ms___40891.fields["xStep"]; + s.tmp_0 = r0 = s.ms___44540; + r0 = s.ms___44540.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -32276,29 +32276,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___40893.fields["_vx"]; + r0 = s.s___44542.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___40891).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___44540).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___40891.fields["cachedVy"]; + r0 = s.ms___44540.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___40893.fields["_vy"]; + r0 = s.s___44542.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___40893.fields["_vy"]; + r0 = s.s___44542.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___40891).fields["dy"] = (0); + r0 = (s.ms___44540).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___40893.fields["_vy"]; + r0 = s.s___44542.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32307,7 +32307,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___40891.fields["cachedVy"]; + r0 = s.ms___44540.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -32318,7 +32318,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___40893.fields["_vy"]; + r0 = s.s___44542.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -32327,7 +32327,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___40891.fields["cachedVy"]; + r0 = s.ms___44540.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -32339,14 +32339,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___40891; - r0 = s.ms___40891.fields["dy"]; + s.tmp_9 = r0 = s.ms___44540; + r0 = s.ms___44540.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___40891; - r0 = s.ms___40891.fields["yStep"]; + s.tmp_0 = r0 = s.ms___44540; + r0 = s.ms___44540.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -32354,20 +32354,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___40893.fields["_vy"]; + r0 = s.s___44542.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___40891).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___44540).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P23311_mk(s); - r0 = s.ms___40891.fields["xStep"]; + s.tmp_2 = Fx_abs__P26959_mk(s); + r0 = s.ms___44540.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 572; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P23311_mk(s); - r0 = s.ms___40891.fields["dx"]; + s.tmp_4 = Fx_abs__P26959_mk(s); + r0 = s.ms___44540.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 573; s.pc = 61; return s.tmp_4; case 61: @@ -32377,23 +32377,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___40891.fields["dx"]; + r0 = s.ms___44540.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___40891.fields["xStep"]; + r0 = s.ms___44540.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___40986 = (s.tmp_5); - s.tmp_2 = Fx_abs__P23311_mk(s); - r0 = s.ms___40891.fields["yStep"]; + s.stepX___44635 = (s.tmp_5); + s.tmp_2 = Fx_abs__P26959_mk(s); + r0 = s.ms___44540.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 574; s.pc = 62; return s.tmp_2; case 62: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P23311_mk(s); - r0 = s.ms___40891.fields["dy"]; + s.tmp_4 = Fx_abs__P26959_mk(s); + r0 = s.ms___44540.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 575; s.pc = 63; return s.tmp_4; case 63: @@ -32403,45 +32403,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___40891.fields["dy"]; + r0 = s.ms___44540.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___40891.fields["yStep"]; + r0 = s.ms___44540.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___41000 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___40891; - r0 = s.ms___40891.fields["dx"]; + s.stepY___44649 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___44540; + r0 = s.ms___44540.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___40986); + r0 = (s.tmp_2 - s.stepX___44635); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___40891; - r0 = s.ms___40891.fields["dy"]; + s.tmp_0 = r0 = s.ms___44540; + r0 = s.ms___44540.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___41000); + r0 = (s.tmp_2 - s.stepY___44649); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___40893.fields["_x"]; + r0 = s.s___44542.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___40893).fields["_lastX"] = (s.tmp_0); - r0 = s.s___40893.fields["_y"]; + r0 = (s.s___44542).fields["_lastX"] = (s.tmp_0); + r0 = s.s___44542.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___40893).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___40893; - r0 = s.s___40893.fields["_x"]; + r0 = (s.s___44542).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___44542; + r0 = s.s___44542.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___40986); + r0 = (s.tmp_2 + s.stepX___44635); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___40893; - r0 = s.s___40893.fields["_y"]; + s.tmp_0 = r0 = s.s___44542; + r0 = s.s___44542.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___41000); + r0 = (s.tmp_2 + s.stepY___44649); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___40893.fields["flags"]; + r0 = s.s___44542.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -32451,22 +32451,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__P25600_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P29248_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___40893; + s.tmp_4.arg1 = s.s___44542; s.callLocIdx = 580; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___40811; + s.tmp_0 = r0 = s.tileMap___44460; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___40811.fields["_map"]; + r0 = s.tileMap___44460.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -32480,20 +32480,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P28006_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P31654_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___40891; - s.tmp_6.arg2 = s.tileMap___40811; + s.tmp_6.arg1 = s.ms___44540; + s.tmp_6.arg2 = s.tileMap___44460; s.callLocIdx = 582; s.pc = 65; return s.tmp_6; case 65: r0 = s.retval; case 37: case 38: - r0 = s.s___40893.fields["flags"]; + r0 = s.s___44542.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___41063 = (r0); - r0 = s.s___40893.fields["flags"]; + s.bounce___44712 = (r0); + r0 = s.s___44542.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); s.tmp_0 = r0; @@ -32502,13 +32502,13 @@ switch (step) { r0 = s.tmp_0; { step = 42; continue; } case 39: - s.tmp_2 = r0 = s.bounce___41063; + s.tmp_2 = r0 = s.bounce___44712; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 40; continue; } r0 = s.tmp_2; { step = 41; continue; } case 40: - r0 = pxsim_numops_toBoolDecr(s.tileMap___40811); + r0 = pxsim_numops_toBoolDecr(s.tileMap___44460); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 41: @@ -32520,81 +32520,81 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 43; continue; } - s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P28005_mk(s); + s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P31653_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___40891; - s.tmp_6.arg2 = s.bounce___41063; - r0 = s.scene___40808.fields["camera"]; + s.tmp_6.arg1 = s.ms___44540; + s.tmp_6.arg2 = s.bounce___44712; + r0 = s.scene___44457.fields["camera"]; s.tmp_6.arg3 = r0; s.callLocIdx = 583; s.pc = 66; return s.tmp_6; case 66: r0 = s.retval; case 43: case 44: - s.tmp_2 = Fx_abs__P23311_mk(s); - r0 = s.ms___40891.fields["dx"]; + s.tmp_2 = Fx_abs__P26959_mk(s); + r0 = s.ms___44540.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 584; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___25668); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___29316); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 45; continue; } r0 = s.tmp_0; { step = 46; continue; } case 45: - s.tmp_4 = Fx_abs__P23311_mk(s); - r0 = s.ms___40891.fields["dy"]; + s.tmp_4 = Fx_abs__P26959_mk(s); + r0 = s.ms___44540.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 585; s.pc = 68; return s.tmp_4; case 68: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___25668); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___29316); case 46: // jmp value (already in r0) s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 47; continue; } - r0 = pxsim_Array__push(s.remainingMovers___40886, s.ms___40891); + r0 = pxsim_Array__push(s.remainingMovers___44535, s.ms___44540); case 47: case 48: - r0 = (s.unnamed323___U14 + 1); - s.unnamed323___U14 = (r0); + r0 = (s.unnamed971___U14 + 1); + s.unnamed971___U14 = (r0); { step = 4; continue; } case 49: - s.unnamed322___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P28004_mk(s); + s.unnamed970___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P31652_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___40879; - s.tmp_0.arg2 = s.overlapHandlers___40857; + s.tmp_0.arg1 = s.currMovers___44528; + s.tmp_0.arg2 = s.overlapHandlers___44506; s.callLocIdx = 586; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; case 50: - r0 = pxsim_Array__length(s.currMovers___40879); + r0 = pxsim_Array__length(s.currMovers___44528); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 51; continue; } - r0 = pxsim_Array_.pop(s.currMovers___40879); + r0 = pxsim_Array_.pop(s.currMovers___44528); { step = 50; continue; } case 51: - r0 = (s.count___40869 + 1); - s.count___40869 = (r0); + r0 = (s.count___44518 + 1); + s.count___44518 = (r0); { step = 1; continue; } case 52: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P25686.info = {"start":2822,"length":4105,"line":112,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P29334.info = {"start":2822,"length":4105,"line":112,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P25686_mk(s) { +function ArcadePhysicsEngine_move__P29334_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P25686, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P29334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32608,25 +32608,25 @@ function ArcadePhysicsEngine_move__P25686_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___40798: undefined, - dt2___40804: undefined, - scene___40808: undefined, - tileMap___40811: undefined, - movingSprites___40814: undefined, - MAX_STEP_COUNT___40845: undefined, - overlapHandlers___40857: undefined, - selected___40864: undefined, - buffers___40865: undefined, - count___40869: undefined, - currMovers___40879: undefined, - remainingMovers___40886: undefined, - ms___40891: undefined, - unnamed322___U13: undefined, - unnamed323___U14: undefined, - s___40893: undefined, - stepX___40986: undefined, - stepY___41000: undefined, - bounce___41063: undefined, + dtMs___44447: undefined, + dt2___44453: undefined, + scene___44457: undefined, + tileMap___44460: undefined, + movingSprites___44463: undefined, + MAX_STEP_COUNT___44494: undefined, + overlapHandlers___44506: undefined, + selected___44513: undefined, + buffers___44514: undefined, + count___44518: undefined, + currMovers___44528: undefined, + remainingMovers___44535: undefined, + ms___44540: undefined, + unnamed970___U13: undefined, + unnamed971___U14: undefined, + s___44542: undefined, + stepX___44635: undefined, + stepY___44649: undefined, + bounce___44712: undefined, arg0: undefined, arg1: undefined, } } @@ -32635,7 +32635,7 @@ function ArcadePhysicsEngine_move__P25686_mk(s) { -function movingSprites_inline__P40816(s) { +function movingSprites_inline__P44465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32649,7 +32649,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P28003_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P31651_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -32660,12 +32660,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -movingSprites_inline__P40816.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__P44465.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__P40816_mk(s) { +function movingSprites_inline__P44465_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P40816, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P44465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32675,7 +32675,7 @@ function movingSprites_inline__P40816_mk(s) { -function ArcadePhysicsEngine_move_inline__P40828(s) { +function ArcadePhysicsEngine_move_inline__P44477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32689,7 +32689,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P25505_mk(s); + s.tmp_1 = Sprite_vx__P29153_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 557; s.pc = 5; return s.tmp_1; case 5: @@ -32700,7 +32700,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P25507_mk(s); + s.tmp_2 = Sprite_vy__P29155_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 558; s.pc = 6; return s.tmp_2; case 6: @@ -32710,7 +32710,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P25572_mk(s); + s.tmp_4 = Sprite_clearObstacles__P29220_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 559; s.pc = 7; return s.tmp_4; case 7: @@ -32721,12 +32721,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P40828.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__P44477.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__P40828_mk(s) { +function ArcadePhysicsEngine_move_inline__P44477_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P40828, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P44477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32740,7 +32740,7 @@ function ArcadePhysicsEngine_move_inline__P40828_mk(s) { -function ArcadePhysicsEngine_screenEdgeCollisions__P28005(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P31653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32750,8 +32750,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___41638 = undefined; - s.offset___41653 = undefined; + s.s___45287 = undefined; + s.offset___45302 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32760,10 +32760,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___41638 = (r0); - r0 = s.s___41638.fields["_image"]; + s.s___45287 = (r0); + r0 = s.s___45287.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -32773,16 +32773,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C25488_v4_1_mk(s); - s.tmp_4.arg0 = s.s___41638; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C25488_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C29136_v4_1_mk(s); + s.tmp_4.arg0 = s.s___45287; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C29136_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 21; return s.tmp_4; case 21: r0 = s.retval; case 1: case 2: - s.tmp_3 = scene_Camera_isUpdated__P25944_mk(s); + s.tmp_3 = scene_Camera_isUpdated__P29592_mk(s); s.tmp_3.arg0 = s.arg3; s.callLocIdx = 631; s.pc = 22; return s.tmp_3; case 22: @@ -32794,15 +32794,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = scene_Camera_update__P25945_mk(s); + s.tmp_4 = scene_Camera_update__P29593_mk(s); s.tmp_4.arg0 = s.arg3; s.callLocIdx = 632; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; case 3: case 4: - s.tmp_2 = game_Hitbox_left__P25363_mk(s); - r0 = s.s___41638.fields["_hitbox"]; + s.tmp_2 = game_Hitbox_left__P29011_mk(s); + r0 = s.s___45287.fields["_hitbox"]; s.tmp_2.arg0 = r0; s.callLocIdx = 633; s.pc = 24; return s.tmp_2; case 24: @@ -32813,31 +32813,31 @@ switch (step) { r0 = s.arg3.fields["_offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); - s.offset___41653 = (r0); - r0 = (s.offset___41653 < 0); + s.offset___45302 = (r0); + r0 = (s.offset___45302 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = Sprite_left__P25547_mk(s); - s.tmp_2 = r0 = s.s___41638; + s.tmp_1 = Sprite_left__P29195_mk(s); + s.tmp_2 = r0 = s.s___45287; s.tmp_1.arg0 = r0; - s.tmp_4 = Sprite_left__P25546_mk(s); + s.tmp_4 = Sprite_left__P29194_mk(s); s.tmp_4.arg0 = s.tmp_2; s.callLocIdx = 636; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offset___41653); + r0 = (s.tmp_3 - s.offset___45302); s.tmp_1.arg1 = r0; s.callLocIdx = 637; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 5; continue; } - s.tmp_0 = Sprite_vx__P25506_mk(s); - s.tmp_0.arg0 = s.s___41638; - s.tmp_2 = Sprite_vx__P25505_mk(s); - s.tmp_2.arg0 = s.s___41638; + s.tmp_0 = Sprite_vx__P29154_mk(s); + s.tmp_0.arg0 = s.s___45287; + s.tmp_2 = Sprite_vx__P29153_mk(s); + s.tmp_2.arg0 = s.s___45287; s.callLocIdx = 638; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; @@ -32851,8 +32851,8 @@ switch (step) { case 6: { step = 12; continue; } case 7: - s.tmp_4 = game_Hitbox_right__P25365_mk(s); - r0 = s.s___41638.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_right__P29013_mk(s); + r0 = s.s___45287.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 640; s.pc = 29; return s.tmp_4; case 29: @@ -32864,35 +32864,35 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___41653 = (r0); + s.offset___45302 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 10; continue; } - s.tmp_8 = Sprite_right__P25549_mk(s); - s.tmp_9 = r0 = s.s___41638; + s.tmp_8 = Sprite_right__P29197_mk(s); + s.tmp_9 = r0 = s.s___45287; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_right__P25548_mk(s); + s.tmp_11 = Sprite_right__P29196_mk(s); s.tmp_11.arg0 = s.tmp_9; s.callLocIdx = 643; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___41653); + r0 = (s.tmp_10 - s.offset___45302); s.tmp_8.arg1 = r0; s.callLocIdx = 644; s.pc = 30; return s.tmp_8; case 30: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 8; continue; } - s.tmp_0 = Sprite_vx__P25506_mk(s); - s.tmp_0.arg0 = s.s___41638; - s.tmp_2 = Sprite_vx__P25505_mk(s); - s.tmp_2.arg0 = s.s___41638; + s.tmp_0 = Sprite_vx__P29154_mk(s); + s.tmp_0.arg0 = s.s___45287; + s.tmp_2 = Sprite_vx__P29153_mk(s); + s.tmp_2.arg0 = s.s___45287; s.callLocIdx = 645; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -32907,8 +32907,8 @@ switch (step) { case 10: case 11: case 12: - s.tmp_3 = game_Hitbox_top__P25364_mk(s); - r0 = s.s___41638.fields["_hitbox"]; + s.tmp_3 = game_Hitbox_top__P29012_mk(s); + r0 = s.s___45287.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 647; s.pc = 34; return s.tmp_3; case 34: @@ -32920,31 +32920,31 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); s.tmp_0 = r0; - s.offset___41653 = (r0); + s.offset___45302 = (r0); r0 = (s.tmp_0 < 0); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 15; continue; } - s.tmp_6 = Sprite_top__P25551_mk(s); - s.tmp_7 = r0 = s.s___41638; + s.tmp_6 = Sprite_top__P29199_mk(s); + s.tmp_7 = r0 = s.s___45287; s.tmp_6.arg0 = r0; - s.tmp_9 = Sprite_top__P25550_mk(s); + s.tmp_9 = Sprite_top__P29198_mk(s); s.tmp_9.arg0 = s.tmp_7; s.callLocIdx = 650; s.pc = 36; return s.tmp_9; case 36: r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offset___41653); + r0 = (s.tmp_8 - s.offset___45302); s.tmp_6.arg1 = r0; s.callLocIdx = 651; s.pc = 35; return s.tmp_6; case 35: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vy__P25508_mk(s); - s.tmp_0.arg0 = s.s___41638; - s.tmp_2 = Sprite_vy__P25507_mk(s); - s.tmp_2.arg0 = s.s___41638; + s.tmp_0 = Sprite_vy__P29156_mk(s); + s.tmp_0.arg0 = s.s___45287; + s.tmp_2 = Sprite_vy__P29155_mk(s); + s.tmp_2.arg0 = s.s___45287; s.callLocIdx = 652; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -32958,8 +32958,8 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_4 = game_Hitbox_bottom__P25366_mk(s); - r0 = s.s___41638.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_bottom__P29014_mk(s); + r0 = s.s___45287.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 654; s.pc = 39; return s.tmp_4; case 39: @@ -32971,35 +32971,35 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25179); + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___41653 = (r0); + s.offset___45302 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 18; continue; } - s.tmp_8 = Sprite_bottom__P25553_mk(s); - s.tmp_9 = r0 = s.s___41638; + s.tmp_8 = Sprite_bottom__P29201_mk(s); + s.tmp_9 = r0 = s.s___45287; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_bottom__P25552_mk(s); + s.tmp_11 = Sprite_bottom__P29200_mk(s); s.tmp_11.arg0 = s.tmp_9; s.callLocIdx = 657; s.pc = 41; return s.tmp_11; case 41: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___41653); + r0 = (s.tmp_10 - s.offset___45302); s.tmp_8.arg1 = r0; s.callLocIdx = 658; s.pc = 40; return s.tmp_8; case 40: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vy__P25508_mk(s); - s.tmp_0.arg0 = s.s___41638; - s.tmp_2 = Sprite_vy__P25507_mk(s); - s.tmp_2.arg0 = s.s___41638; + s.tmp_0 = Sprite_vy__P29156_mk(s); + s.tmp_0.arg0 = s.s___45287; + s.tmp_2 = Sprite_vy__P29155_mk(s); + s.tmp_2.arg0 = s.s___45287; s.callLocIdx = 659; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; @@ -33018,12 +33018,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_screenEdgeCollisions__P28005.info = {"start":12018,"length":905,"line":355,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} +ArcadePhysicsEngine_screenEdgeCollisions__P31653.info = {"start":12018,"length":905,"line":355,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} -function ArcadePhysicsEngine_screenEdgeCollisions__P28005_mk(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P31653_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P28005, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P31653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33037,8 +33037,8 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P28005_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - s___41638: undefined, - offset___41653: undefined, + s___45287: undefined, + offset___45302: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33049,7 +33049,7 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P28005_mk(s) { -function scene_Camera_isUpdated__P25944(s) { +function scene_Camera_isUpdated__P29592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33064,7 +33064,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25928_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33076,7 +33076,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 1: - s.tmp_5 = Sprite_x__P25501_mk(s); + s.tmp_5 = Sprite_x__P29149_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_5.arg0 = r0; s.callLocIdx = 957; s.pc = 5; return s.tmp_5; @@ -33092,7 +33092,7 @@ switch (step) { r0 = s.tmp_3; { step = 3; continue; } case 2: - s.tmp_8 = Sprite_y__P25503_mk(s); + s.tmp_8 = Sprite_y__P29151_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_8.arg0 = r0; s.callLocIdx = 958; s.pc = 6; return s.tmp_8; @@ -33113,12 +33113,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_isUpdated__P25944.info = {"start":2403,"length":150,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"isUpdated","argumentNames":["this"]} +scene_Camera_isUpdated__P29592.info = {"start":2403,"length":150,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"isUpdated","argumentNames":["this"]} -function scene_Camera_isUpdated__P25944_mk(s) { +function scene_Camera_isUpdated__P29592_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_isUpdated__P25944, depth: s.depth + 1, + parent: s, fn: scene_Camera_isUpdated__P29592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33139,7 +33139,7 @@ function scene_Camera_isUpdated__P25944_mk(s) { -function Sprite_bottom__P25553(s) { +function Sprite_bottom__P29201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33155,11 +33155,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P25551_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P29199_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_height__P25545_mk(s); + s.tmp_3 = Sprite_height__P29193_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 365; s.pc = 2; return s.tmp_3; case 2: @@ -33174,12 +33174,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P25553.info = {"start":12204,"length":73,"line":440,"column":4,"endLine":442,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P29201.info = {"start":12204,"length":73,"line":440,"column":4,"endLine":442,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P25553_mk(s) { +function Sprite_bottom__P29201_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P25553, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P29201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33193,7 +33193,7 @@ function Sprite_bottom__P25553_mk(s) { -function Sprite_bottom__P25552(s) { +function Sprite_bottom__P29200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33208,14 +33208,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P25550_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P29198_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 363; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_height__P25545_mk(s); + s.tmp_3 = Sprite_height__P29193_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 364; s.pc = 2; return s.tmp_3; case 2: @@ -33225,13 +33225,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P25552.info = {"start":12052,"length":59,"line":435,"column":4,"endLine":437,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P25552.isGetter = true; +Sprite_bottom__P29200.info = {"start":12052,"length":59,"line":435,"column":4,"endLine":437,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P29200.isGetter = true; -function Sprite_bottom__P25552_mk(s) { +function Sprite_bottom__P29200_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P25552, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P29200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33244,7 +33244,7 @@ function Sprite_bottom__P25552_mk(s) { -function Sprite_right__P25549(s) { +function Sprite_right__P29197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33260,11 +33260,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P25547_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P29195_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_width__P25544_mk(s); + s.tmp_3 = Sprite_width__P29192_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 357; s.pc = 2; return s.tmp_3; case 2: @@ -33279,12 +33279,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P25549.info = {"start":11367,"length":71,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P29197.info = {"start":11367,"length":71,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P25549_mk(s) { +function Sprite_right__P29197_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P25549, depth: s.depth + 1, + parent: s, fn: Sprite_right__P29197, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33298,7 +33298,7 @@ function Sprite_right__P25549_mk(s) { -function Sprite_right__P25548(s) { +function Sprite_right__P29196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33313,14 +33313,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P25546_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P29194_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 355; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_width__P25544_mk(s); + s.tmp_3 = Sprite_width__P29192_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 356; s.pc = 2; return s.tmp_3; case 2: @@ -33330,13 +33330,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P25548.info = {"start":11218,"length":57,"line":405,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P25548.isGetter = true; +Sprite_right__P29196.info = {"start":11218,"length":57,"line":405,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P29196.isGetter = true; -function Sprite_right__P25548_mk(s) { +function Sprite_right__P29196_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P25548, depth: s.depth + 1, + parent: s, fn: Sprite_right__P29196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33349,7 +33349,7 @@ function Sprite_right__P25548_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P28004(s) { +function ArcadePhysicsEngine_spriteCollisions__P31652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33359,18 +33359,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___41120 = undefined; - s.unnamed324___U1 = undefined; - s.unnamed325___U2 = undefined; - s.sprite___41122 = undefined; - s.overSprites___41129 = undefined; - s.overlapper___41137 = undefined; - s.unnamed326___U6 = undefined; - s.unnamed327___U7 = undefined; - s.thisKind___41143 = undefined; - s.otherKind___41147 = undefined; - s.higher___41160 = undefined; - s.lower___41169 = undefined; + s.ms___44769 = undefined; + s.unnamed972___U1 = undefined; + s.unnamed973___U2 = undefined; + s.sprite___44771 = undefined; + s.overSprites___44778 = undefined; + s.overlapper___44786 = undefined; + s.unnamed974___U6 = undefined; + s.unnamed975___U7 = undefined; + s.thisKind___44792 = undefined; + s.otherKind___44796 = undefined; + s.higher___44809 = undefined; + s.lower___44818 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33378,7 +33378,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33390,20 +33390,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___41120 = (undefined); - s.unnamed324___U1 = (s.arg1); - s.unnamed325___U2 = (0); + s.ms___44769 = (undefined); + s.unnamed972___U1 = (s.arg1); + s.unnamed973___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed325___U2; - r0 = pxsim_Array__length(s.unnamed324___U1); + s.tmp_0 = r0 = s.unnamed973___U2; + r0 = pxsim_Array__length(s.unnamed972___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed324___U1, s.unnamed325___U2); - s.ms___41120 = (r0); - r0 = s.ms___41120.fields["sprite"]; - s.sprite___41122 = (r0); - r0 = s.sprite___41122.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed972___U1, s.unnamed973___U2); + s.ms___44769 = (r0); + r0 = s.ms___44769.fields["sprite"]; + s.sprite___44771 = (r0); + r0 = s.sprite___44771.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -33412,27 +33412,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P25596_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P29244_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___41120.fields["sprite"]; + r0 = s.ms___44769.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 624; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___41129 = (r0); - s.overlapper___41137 = (undefined); - s.unnamed326___U6 = (s.overSprites___41129); - s.unnamed327___U7 = (0); + s.overSprites___44778 = (r0); + s.overlapper___44786 = (undefined); + s.unnamed974___U6 = (s.overSprites___44778); + s.unnamed975___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed327___U7; - r0 = pxsim_Array__length(s.unnamed326___U6); + s.tmp_0 = r0 = s.unnamed975___U7; + r0 = pxsim_Array__length(s.unnamed974___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed326___U6, s.unnamed327___U7); - s.overlapper___41137 = (r0); - r0 = s.overlapper___41137.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed974___U6, s.unnamed975___U7); + s.overlapper___44786 = (r0); + r0 = s.overlapper___44786.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -33441,13 +33441,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___41122.fields["_kind"]; - s.thisKind___41143 = (r0); - r0 = s.overlapper___41137.fields["_kind"]; - s.otherKind___41147 = (r0); - r0 = s.sprite___41122.fields["_kindsOverlappedWith"]; + r0 = s.sprite___44771.fields["_kind"]; + s.thisKind___44792 = (r0); + r0 = s.overlapper___44786.fields["_kind"]; + s.otherKind___44796 = (r0); + r0 = s.sprite___44771.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___41147, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___44796, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -33456,37 +33456,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___41122.fields["id"]; + r0 = s.sprite___44771.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___41137.fields["id"]; + r0 = s.overlapper___44786.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___41122; + r0 = s.sprite___44771; { step = 12; continue; } case 11: - r0 = s.overlapper___41137; + r0 = s.overlapper___44786; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___41160 = (s.tmp_6); - r0 = (s.higher___41160 === s.sprite___41122); + s.higher___44809 = (s.tmp_6); + r0 = (s.higher___44809 === s.sprite___44771); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___41137; + r0 = s.overlapper___44786; { step = 14; continue; } case 13: - r0 = s.sprite___41122; + r0 = s.sprite___44771; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___41169 = (s.tmp_1); - r0 = s.higher___41160.fields["_overlappers"]; + s.lower___44818 = (s.tmp_1); + r0 = s.higher___44809.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___41169.fields["id"]; + r0 = s.lower___44818.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -33494,19 +33494,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__P41189); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P44838); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___41143); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___41147); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P41213); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___44792); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___44796); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P44862); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___41160); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___41169); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___41122); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___41137); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___41143); - s.tmp_6 = helpers_arrayForEach__P23255_mk(s); - s.tmp_7 = helpers_arrayFilter__P23256_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___44809); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___44818); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___44771); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___44786); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___44792); + s.tmp_6 = helpers_arrayForEach__P26903_mk(s); + s.tmp_7 = helpers_arrayFilter__P26904_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 627; s.pc = 24; return s.tmp_7; @@ -33520,28 +33520,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed327___U7 + 1); - s.unnamed327___U7 = (r0); + r0 = (s.unnamed975___U7 + 1); + s.unnamed975___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed326___U6 = (undefined); + s.unnamed974___U6 = (undefined); case 19: - r0 = (s.unnamed325___U2 + 1); - s.unnamed325___U2 = (r0); + r0 = (s.unnamed973___U2 + 1); + s.unnamed973___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed324___U1 = (undefined); + s.unnamed972___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P28004.info = {"start":9744,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P31652.info = {"start":9744,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P28004_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P31652_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P28004, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P31652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33551,18 +33551,18 @@ function ArcadePhysicsEngine_spriteCollisions__P28004_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___41120: undefined, - unnamed324___U1: undefined, - unnamed325___U2: undefined, - sprite___41122: undefined, - overSprites___41129: undefined, - overlapper___41137: undefined, - unnamed326___U6: undefined, - unnamed327___U7: undefined, - thisKind___41143: undefined, - otherKind___41147: undefined, - higher___41160: undefined, - lower___41169: undefined, + ms___44769: undefined, + unnamed972___U1: undefined, + unnamed973___U2: undefined, + sprite___44771: undefined, + overSprites___44778: undefined, + overlapper___44786: undefined, + unnamed974___U6: undefined, + unnamed975___U7: undefined, + thisKind___44792: undefined, + otherKind___44796: undefined, + higher___44809: undefined, + lower___44818: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33572,7 +33572,7 @@ function ArcadePhysicsEngine_spriteCollisions__P28004_mk(s) { -function forEach_inline__P41189(s) { +function forEach_inline__P44838(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33629,12 +33629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P41189.info = {"start":11113,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P44838.info = {"start":11113,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P41189_mk(s) { +function forEach_inline__P44838_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P41189, depth: s.depth + 1, + parent: s, fn: forEach_inline__P44838, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33652,7 +33652,7 @@ function forEach_inline__P41189_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P41213(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P44862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33671,7 +33671,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__P41223); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P44872); 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]); @@ -33684,12 +33684,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P41213.info = {"start":11310,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_spriteCollisions_inline__P44862.info = {"start":11310,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_spriteCollisions_inline__P41213_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P44862_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P41213, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P44862, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33700,7 +33700,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P41213_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P41223(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P44872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33776,12 +33776,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P41223.info = {"start":11431,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +ArcadePhysicsEngine_spriteCollisions_inline__P44872.info = {"start":11431,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function ArcadePhysicsEngine_spriteCollisions_inline__P41223_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P44872_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P41223, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P44872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33802,7 +33802,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P41223_mk(s) { -function sprites_SpriteMap_overlaps__P25596(s) { +function sprites_SpriteMap_overlaps__P29244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33812,47 +33812,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___41257 = undefined; - s.o___41261 = undefined; + s.n___44906 = undefined; + s.o___44910 = 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__C25593_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P25595_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P29243_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 501; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___41257 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P41263); + s.n___44906 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P44912); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P23256_mk(s); - s.tmp_1.arg0 = s.n___41257; + s.tmp_1 = helpers_arrayFilter__P26904_mk(s); + s.tmp_1.arg0 = s.n___44906; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 503; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___41261 = (r0); - r0 = s.o___41261; + s.o___44910 = (r0); + r0 = s.o___44910; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P25596.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__P29244.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__P25596_mk(s) { +function sprites_SpriteMap_overlaps__P29244_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P25596, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P29244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___41257: undefined, - o___41261: undefined, + n___44906: undefined, + o___44910: undefined, arg0: undefined, arg1: undefined, } } @@ -33861,7 +33861,7 @@ function sprites_SpriteMap_overlaps__P25596_mk(s) { -function o_inline__P41263(s) { +function o_inline__P44912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33875,7 +33875,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P25567_mk(s); + s.tmp_0 = Sprite_overlapsWith__P29215_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 502; s.pc = 1; return s.tmp_0; @@ -33884,12 +33884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -o_inline__P41263.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__P44912.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__P41263_mk(s) { +function o_inline__P44912_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P41263, depth: s.depth + 1, + parent: s, fn: o_inline__P44912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33899,7 +33899,7 @@ function o_inline__P41263_mk(s) { -function sprites_SpriteMap_neighbors__P25595(s) { +function sprites_SpriteMap_neighbors__P29243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33909,112 +33909,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___41528 = undefined; - s.layer___41530 = undefined; + s.n___45177 = undefined; + s.layer___45179 = 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__C25593_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___41528 = (r0); + s.n___45177 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___41530 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27968_mk(s); + s.layer___45179 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P31616_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P25546_mk(s); + s.tmp_1 = Sprite_left__P29194_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 489; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P25550_mk(s); + s.tmp_2 = Sprite_top__P29198_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 490; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___41530; - s.tmp_0.arg4 = s.n___41528; + s.tmp_0.arg3 = s.layer___45179; + s.tmp_0.arg4 = s.n___45177; s.callLocIdx = 491; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27968_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P31616_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P25546_mk(s); + s.tmp_1 = Sprite_left__P29194_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 492; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P25552_mk(s); + s.tmp_2 = Sprite_bottom__P29200_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 493; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___41530; - s.tmp_0.arg4 = s.n___41528; + s.tmp_0.arg3 = s.layer___45179; + s.tmp_0.arg4 = s.n___45177; s.callLocIdx = 494; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27968_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P31616_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P25548_mk(s); + s.tmp_1 = Sprite_right__P29196_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 495; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P25550_mk(s); + s.tmp_2 = Sprite_top__P29198_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 496; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___41530; - s.tmp_0.arg4 = s.n___41528; + s.tmp_0.arg3 = s.layer___45179; + s.tmp_0.arg4 = s.n___45177; s.callLocIdx = 497; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27968_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P31616_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P25548_mk(s); + s.tmp_1 = Sprite_right__P29196_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 498; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P25552_mk(s); + s.tmp_2 = Sprite_bottom__P29200_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 499; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___41530; - s.tmp_0.arg4 = s.n___41528; + s.tmp_0.arg3 = s.layer___45179; + s.tmp_0.arg4 = s.n___45177; s.callLocIdx = 500; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___41528, s.arg1); - r0 = s.n___41528; + r0 = pxsim_Array_.removeElement(s.n___45177, s.arg1); + r0 = s.n___45177; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P25595.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__P29243.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__P25595_mk(s) { +function sprites_SpriteMap_neighbors__P29243_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P25595, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P29243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___41528: undefined, - layer___41530: undefined, + n___45177: undefined, + layer___45179: undefined, arg0: undefined, arg1: undefined, } } @@ -34023,7 +34023,7 @@ function sprites_SpriteMap_neighbors__P25595_mk(s) { -function sprites_SpriteMap_mergeAtKey__P27968(s) { +function sprites_SpriteMap_mergeAtKey__P31616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34033,11 +34033,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___41571 = undefined; - s.bucket___41576 = undefined; - s.sprite___41583 = undefined; - s.unnamed320___U3 = undefined; - s.unnamed321___U4 = undefined; + s.k___45220 = undefined; + s.bucket___45225 = undefined; + s.sprite___45232 = undefined; + s.unnamed968___U3 = undefined; + s.unnamed969___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34047,33 +34047,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25593_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P27966_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P31614_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 527; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___41571 = (r0); + s.k___45220 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___41571); - s.bucket___41576 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___41576); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___45220); + s.bucket___45225 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___45225); if (!r0) { step = 7; continue; } - s.sprite___41583 = (undefined); - s.unnamed320___U3 = (s.bucket___41576); - s.unnamed321___U4 = (0); + s.sprite___45232 = (undefined); + s.unnamed968___U3 = (s.bucket___45225); + s.unnamed969___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed321___U4; - r0 = pxsim_Array__length(s.unnamed320___U3); + s.tmp_0 = r0 = s.unnamed969___U4; + r0 = pxsim_Array__length(s.unnamed968___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed320___U3, s.unnamed321___U4); - s.sprite___41583 = (r0); - r0 = s.sprite___41583.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed968___U3, s.unnamed969___U4); + s.sprite___45232 = (r0); + r0 = s.sprite___45232.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -34082,7 +34082,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___41583, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___45232, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -34090,26 +34090,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___41583); + r0 = pxsim_Array__push(s.arg4, s.sprite___45232); case 4: case 5: - r0 = (s.unnamed321___U4 + 1); - s.unnamed321___U4 = (r0); + r0 = (s.unnamed969___U4 + 1); + s.unnamed969___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed320___U3 = (undefined); + s.unnamed968___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P27968.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__P31616.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__P27968_mk(s) { +function sprites_SpriteMap_mergeAtKey__P31616_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P27968, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P31616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34117,11 +34117,11 @@ function sprites_SpriteMap_mergeAtKey__P27968_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___41571: undefined, - bucket___41576: undefined, - sprite___41583: undefined, - unnamed320___U3: undefined, - unnamed321___U4: undefined, + k___45220: undefined, + bucket___45225: undefined, + sprite___45232: undefined, + unnamed968___U3: undefined, + unnamed969___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34133,7 +34133,7 @@ function sprites_SpriteMap_mergeAtKey__P27968_mk(s) { -function sprites_SpriteMap_key__P27966(s) { +function sprites_SpriteMap_key__P31614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34143,8 +34143,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___41604 = undefined; - s.yi___41616 = undefined; + s.xi___45253 = undefined; + s.yi___45265 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34152,8 +34152,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25593_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P23273_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P26921_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -34164,8 +34164,8 @@ switch (step) { s.callLocIdx = 515; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___41604 = (r0); - s.tmp_0 = Math_clamp__P23273_mk(s); + s.xi___45253 = (r0); + s.tmp_0 = Math_clamp__P26921_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -34176,28 +34176,28 @@ switch (step) { s.callLocIdx = 516; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___41616 = (r0); - s.tmp_0 = r0 = s.xi___41604; + s.yi___45265 = (r0); + s.tmp_0 = r0 = s.xi___45253; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___41616 * s.tmp_2); + r0 = (s.yi___45265 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P27966.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__P31614.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__P27966_mk(s) { +function sprites_SpriteMap_key__P31614_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P27966, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P31614, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___41604: undefined, - yi___41616: undefined, + xi___45253: undefined, + yi___45265: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34207,7 +34207,7 @@ function sprites_SpriteMap_key__P27966_mk(s) { -function Sprite_overlapsWith__P25567(s) { +function Sprite_overlapsWith__P29215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34217,15 +34217,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___41341 = undefined; - s.B___41342 = undefined; + s.A___44990 = undefined; + s.B___44991 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -34271,7 +34271,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - s.tmp_9 = game_Hitbox_overlapsWith__P25370_mk(s); + s.tmp_9 = game_Hitbox_overlapsWith__P29018_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_9.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; @@ -34282,7 +34282,7 @@ switch (step) { { step = 27; continue; } case 9: case 10: - s.tmp_13 = game_Hitbox_overlapsWith__P25370_mk(s); + s.tmp_13 = game_Hitbox_overlapsWith__P29018_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_13.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; @@ -34301,7 +34301,7 @@ switch (step) { { step = 27; continue; } case 11: case 12: - s.tmp_17 = Sprite_isScaled__P27959_mk(s); + s.tmp_17 = Sprite_isScaled__P31607_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 393; s.pc = 30; return s.tmp_17; case 30: @@ -34316,7 +34316,7 @@ switch (step) { r0 = s.tmp_14; { step = 14; continue; } case 13: - s.tmp_20 = Sprite_isScaled__P27959_mk(s); + s.tmp_20 = Sprite_isScaled__P31607_mk(s); s.tmp_20.arg0 = s.arg1; s.callLocIdx = 394; s.pc = 31; return s.tmp_20; case 31: @@ -34334,13 +34334,13 @@ switch (step) { s.tmp_22 = r0; r0 = s.arg0.fields["_image"]; s.tmp_23 = r0; - s.tmp_26 = Sprite_left__P25546_mk(s); + s.tmp_26 = Sprite_left__P29194_mk(s); s.tmp_26.arg0 = s.arg0; s.callLocIdx = 395; s.pc = 32; return s.tmp_26; case 32: r0 = s.retval; s.tmp_25 = r0; - s.tmp_28 = Sprite_left__P25546_mk(s); + s.tmp_28 = Sprite_left__P29194_mk(s); s.tmp_28.arg0 = s.arg1; s.callLocIdx = 396; s.pc = 33; return s.tmp_28; case 33: @@ -34348,13 +34348,13 @@ switch (step) { s.tmp_27 = r0; r0 = (s.tmp_25 - s.tmp_27); s.tmp_24 = r0; - s.tmp_31 = Sprite_top__P25550_mk(s); + s.tmp_31 = Sprite_top__P29198_mk(s); s.tmp_31.arg0 = s.arg0; s.callLocIdx = 397; s.pc = 34; return s.tmp_31; case 34: r0 = s.retval; s.tmp_30 = r0; - s.tmp_33 = Sprite_top__P25550_mk(s); + s.tmp_33 = Sprite_top__P29198_mk(s); s.tmp_33.arg0 = s.arg1; s.callLocIdx = 398; s.pc = 35; return s.tmp_33; case 35: @@ -34366,7 +34366,7 @@ switch (step) { { step = 27; continue; } { step = 26; continue; } case 15: - s.tmp_36 = Sprite_sx__P25517_mk(s); + s.tmp_36 = Sprite_sx__P29165_mk(s); s.tmp_36.arg0 = s.arg0; s.callLocIdx = 399; s.pc = 36; return s.tmp_36; case 36: @@ -34379,7 +34379,7 @@ switch (step) { r0 = s.tmp_34; { step = 17; continue; } case 16: - s.tmp_38 = Sprite_sy__P25519_mk(s); + s.tmp_38 = Sprite_sy__P29167_mk(s); s.tmp_38.arg0 = s.arg0; s.callLocIdx = 400; s.pc = 37; return s.tmp_38; case 37: @@ -34394,7 +34394,7 @@ switch (step) { r0 = s.tmp_39; { step = 19; continue; } case 18: - s.tmp_41 = Sprite_sx__P25517_mk(s); + s.tmp_41 = Sprite_sx__P29165_mk(s); s.tmp_41.arg0 = s.arg1; s.callLocIdx = 401; s.pc = 38; return s.tmp_41; case 38: @@ -34409,7 +34409,7 @@ switch (step) { r0 = s.tmp_42; { step = 21; continue; } case 20: - s.tmp_44 = Sprite_sy__P25519_mk(s); + s.tmp_44 = Sprite_sy__P29167_mk(s); s.tmp_44.arg0 = s.arg1; s.callLocIdx = 402; s.pc = 39; return s.tmp_44; case 39: @@ -34425,13 +34425,13 @@ switch (step) { { step = 27; continue; } case 22: case 23: - s.tmp_49 = Sprite_sx__P25517_mk(s); + s.tmp_49 = Sprite_sx__P29165_mk(s); s.tmp_49.arg0 = s.arg0; s.callLocIdx = 403; s.pc = 40; return s.tmp_49; case 40: r0 = s.retval; s.tmp_48 = r0; - s.tmp_51 = Sprite_sy__P25519_mk(s); + s.tmp_51 = Sprite_sy__P29167_mk(s); s.tmp_51.arg0 = s.arg0; s.callLocIdx = 404; s.pc = 41; return s.tmp_51; case 41: @@ -34439,13 +34439,13 @@ switch (step) { s.tmp_50 = r0; r0 = (s.tmp_48 * s.tmp_50); s.tmp_47 = r0; - s.tmp_54 = Sprite_sx__P25517_mk(s); + s.tmp_54 = Sprite_sx__P29165_mk(s); s.tmp_54.arg0 = s.arg1; s.callLocIdx = 405; s.pc = 42; return s.tmp_54; case 42: r0 = s.retval; s.tmp_53 = r0; - s.tmp_56 = Sprite_sy__P25519_mk(s); + s.tmp_56 = Sprite_sy__P29167_mk(s); s.tmp_56.arg0 = s.arg1; s.callLocIdx = 406; s.pc = 43; return s.tmp_56; case 43: @@ -34457,97 +34457,97 @@ switch (step) { s.tmp_46 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_46); if (!r0) { step = 24; continue; } - s.A___41341 = (s.arg0); - s.B___41342 = (s.arg1); + s.A___44990 = (s.arg0); + s.B___44991 = (s.arg1); { step = 25; continue; } case 24: - s.A___41341 = (s.arg1); - s.B___41342 = (s.arg0); + s.A___44990 = (s.arg1); + s.B___44991 = (s.arg0); case 25: - s.tmp_0 = helpers_imageBlit__P25100_mk(s); - r0 = s.A___41341.fields["_image"]; + s.tmp_0 = helpers_imageBlit__P28748_mk(s); + r0 = s.A___44990.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_left__P25546_mk(s); - s.tmp_3.arg0 = s.B___41342; + s.tmp_3 = Sprite_left__P29194_mk(s); + s.tmp_3.arg0 = s.B___44991; s.callLocIdx = 408; s.pc = 45; return s.tmp_3; case 45: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = Sprite_left__P25546_mk(s); - s.tmp_5.arg0 = s.A___41341; + s.tmp_5 = Sprite_left__P29194_mk(s); + s.tmp_5.arg0 = s.A___44990; s.callLocIdx = 409; s.pc = 46; return s.tmp_5; case 46: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1 = r0; - s.tmp_7 = Sprite_sx__P25517_mk(s); - s.tmp_7.arg0 = s.A___41341; + s.tmp_7 = Sprite_sx__P29165_mk(s); + s.tmp_7.arg0 = s.A___44990; s.callLocIdx = 410; s.pc = 47; return s.tmp_7; case 47: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_1 / s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_10 = Sprite_top__P25550_mk(s); - s.tmp_10.arg0 = s.B___41342; + s.tmp_10 = Sprite_top__P29198_mk(s); + s.tmp_10.arg0 = s.B___44991; s.callLocIdx = 411; s.pc = 48; return s.tmp_10; case 48: r0 = s.retval; s.tmp_9 = r0; - s.tmp_12 = Sprite_top__P25550_mk(s); - s.tmp_12.arg0 = s.A___41341; + s.tmp_12 = Sprite_top__P29198_mk(s); + s.tmp_12.arg0 = s.A___44990; s.callLocIdx = 412; s.pc = 49; return s.tmp_12; case 49: r0 = s.retval; s.tmp_11 = r0; r0 = (s.tmp_9 - s.tmp_11); s.tmp_8 = r0; - s.tmp_14 = Sprite_sy__P25519_mk(s); - s.tmp_14.arg0 = s.A___41341; + s.tmp_14 = Sprite_sy__P29167_mk(s); + s.tmp_14.arg0 = s.A___44990; s.callLocIdx = 413; s.pc = 50; return s.tmp_14; case 50: r0 = s.retval; s.tmp_13 = r0; r0 = (s.tmp_8 / s.tmp_13); s.tmp_0.arg2 = r0; - s.tmp_16 = Sprite_width__P25544_mk(s); - s.tmp_16.arg0 = s.B___41342; + s.tmp_16 = Sprite_width__P29192_mk(s); + s.tmp_16.arg0 = s.B___44991; s.callLocIdx = 414; s.pc = 51; return s.tmp_16; case 51: r0 = s.retval; s.tmp_15 = r0; - s.tmp_18 = Sprite_sx__P25517_mk(s); - s.tmp_18.arg0 = s.A___41341; + s.tmp_18 = Sprite_sx__P29165_mk(s); + s.tmp_18.arg0 = s.A___44990; s.callLocIdx = 415; s.pc = 52; return s.tmp_18; case 52: r0 = s.retval; s.tmp_17 = r0; r0 = (s.tmp_15 / s.tmp_17); s.tmp_0.arg3 = r0; - s.tmp_20 = Sprite_height__P25545_mk(s); - s.tmp_20.arg0 = s.B___41342; + s.tmp_20 = Sprite_height__P29193_mk(s); + s.tmp_20.arg0 = s.B___44991; s.callLocIdx = 416; s.pc = 53; return s.tmp_20; case 53: r0 = s.retval; s.tmp_19 = r0; - s.tmp_22 = Sprite_sy__P25519_mk(s); - s.tmp_22.arg0 = s.A___41341; + s.tmp_22 = Sprite_sy__P29167_mk(s); + s.tmp_22.arg0 = s.A___44990; s.callLocIdx = 417; s.pc = 54; return s.tmp_22; case 54: r0 = s.retval; s.tmp_21 = r0; r0 = (s.tmp_19 / s.tmp_21); s.tmp_0.arg4 = r0; - r0 = s.B___41342.fields["_image"]; + r0 = s.B___44991.fields["_image"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = 0; s.tmp_0.arg7 = 0; - r0 = s.B___41342.fields["_image"]; + r0 = s.B___44991.fields["_image"]; s.tmp_23 = r0; r0 = pxsim_ImageMethods.width(s.tmp_23); s.tmp_0.arg8 = r0; - r0 = s.B___41342.fields["_image"]; + r0 = s.B___44991.fields["_image"]; s.tmp_24 = r0; r0 = pxsim_ImageMethods.height(s.tmp_24); s.tmp_0.arg9 = r0; @@ -34563,12 +34563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P25567.info = {"start":20623,"length":1735,"line":689,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P29215.info = {"start":20623,"length":1735,"line":689,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P25567_mk(s) { +function Sprite_overlapsWith__P29215_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P25567, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P29215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34627,8 +34627,8 @@ function Sprite_overlapsWith__P25567_mk(s) { tmp_54: undefined, tmp_55: undefined, tmp_56: undefined, - A___41341: undefined, - B___41342: undefined, + A___44990: undefined, + B___44991: undefined, arg0: undefined, arg1: undefined, } } @@ -34637,7 +34637,7 @@ function Sprite_overlapsWith__P25567_mk(s) { -function Sprite_isScaled__P27959(s) { +function Sprite_isScaled__P31607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34652,7 +34652,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== 256); @@ -34672,12 +34672,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isScaled__P27959.info = {"start":10166,"length":100,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isScaled","argumentNames":["this"]} +Sprite_isScaled__P31607.info = {"start":10166,"length":100,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isScaled","argumentNames":["this"]} -function Sprite_isScaled__P27959_mk(s) { +function Sprite_isScaled__P31607_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isScaled__P27959, depth: s.depth + 1, + parent: s, fn: Sprite_isScaled__P31607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34690,7 +34690,7 @@ function Sprite_isScaled__P27959_mk(s) { -function game_Hitbox_overlapsWith__P25370(s) { +function game_Hitbox_overlapsWith__P29018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34706,26 +34706,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25355_VT)) failedCast(r0); - s.tmp_0 = game_Hitbox_updateIfInvalid__P25369_mk(s); + if (!checkSubtype(r0, game_Hitbox__C29003_VT)) failedCast(r0); + s.tmp_0 = game_Hitbox_updateIfInvalid__P29017_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 250; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_Hitbox_updateIfInvalid__P25369_mk(s); + s.tmp_0 = game_Hitbox_updateIfInvalid__P29017_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 251; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_1 = game_Hitbox_contains__P25368_mk(s); + s.tmp_1 = game_Hitbox_contains__P29016_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = game_Hitbox_left__P25363_mk(s); + s.tmp_2 = game_Hitbox_left__P29011_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 252; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1.arg1 = r0; - s.tmp_3 = game_Hitbox_top__P25364_mk(s); + s.tmp_3 = game_Hitbox_top__P29012_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 253; s.pc = 22; return s.tmp_3; case 22: @@ -34741,15 +34741,15 @@ switch (step) { { step = 17; continue; } case 1: case 2: - s.tmp_5 = game_Hitbox_contains__P25368_mk(s); + s.tmp_5 = game_Hitbox_contains__P29016_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_6 = game_Hitbox_left__P25363_mk(s); + s.tmp_6 = game_Hitbox_left__P29011_mk(s); s.tmp_6.arg0 = s.arg1; s.callLocIdx = 255; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5.arg1 = r0; - s.tmp_7 = game_Hitbox_bottom__P25366_mk(s); + s.tmp_7 = game_Hitbox_bottom__P29014_mk(s); s.tmp_7.arg0 = s.arg1; s.callLocIdx = 256; s.pc = 25; return s.tmp_7; case 25: @@ -34765,15 +34765,15 @@ switch (step) { { step = 17; continue; } case 3: case 4: - s.tmp_9 = game_Hitbox_contains__P25368_mk(s); + s.tmp_9 = game_Hitbox_contains__P29016_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_10 = game_Hitbox_right__P25365_mk(s); + s.tmp_10 = game_Hitbox_right__P29013_mk(s); s.tmp_10.arg0 = s.arg1; s.callLocIdx = 258; s.pc = 27; return s.tmp_10; case 27: r0 = s.retval; s.tmp_9.arg1 = r0; - s.tmp_11 = game_Hitbox_top__P25364_mk(s); + s.tmp_11 = game_Hitbox_top__P29012_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 259; s.pc = 28; return s.tmp_11; case 28: @@ -34789,15 +34789,15 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.tmp_13 = game_Hitbox_contains__P25368_mk(s); + s.tmp_13 = game_Hitbox_contains__P29016_mk(s); s.tmp_13.arg0 = s.arg0; - s.tmp_14 = game_Hitbox_right__P25365_mk(s); + s.tmp_14 = game_Hitbox_right__P29013_mk(s); s.tmp_14.arg0 = s.arg1; s.callLocIdx = 261; s.pc = 30; return s.tmp_14; case 30: r0 = s.retval; s.tmp_13.arg1 = r0; - s.tmp_15 = game_Hitbox_bottom__P25366_mk(s); + s.tmp_15 = game_Hitbox_bottom__P29014_mk(s); s.tmp_15.arg0 = s.arg1; s.callLocIdx = 262; s.pc = 31; return s.tmp_15; case 31: @@ -34813,15 +34813,15 @@ switch (step) { { step = 17; continue; } case 7: case 8: - s.tmp_17 = game_Hitbox_contains__P25368_mk(s); + s.tmp_17 = game_Hitbox_contains__P29016_mk(s); s.tmp_17.arg0 = s.arg1; - s.tmp_18 = game_Hitbox_left__P25363_mk(s); + s.tmp_18 = game_Hitbox_left__P29011_mk(s); s.tmp_18.arg0 = s.arg0; s.callLocIdx = 264; s.pc = 33; return s.tmp_18; case 33: r0 = s.retval; s.tmp_17.arg1 = r0; - s.tmp_19 = game_Hitbox_top__P25364_mk(s); + s.tmp_19 = game_Hitbox_top__P29012_mk(s); s.tmp_19.arg0 = s.arg0; s.callLocIdx = 265; s.pc = 34; return s.tmp_19; case 34: @@ -34837,15 +34837,15 @@ switch (step) { { step = 17; continue; } case 9: case 10: - s.tmp_21 = game_Hitbox_contains__P25368_mk(s); + s.tmp_21 = game_Hitbox_contains__P29016_mk(s); s.tmp_21.arg0 = s.arg1; - s.tmp_22 = game_Hitbox_left__P25363_mk(s); + s.tmp_22 = game_Hitbox_left__P29011_mk(s); s.tmp_22.arg0 = s.arg0; s.callLocIdx = 267; s.pc = 36; return s.tmp_22; case 36: r0 = s.retval; s.tmp_21.arg1 = r0; - s.tmp_23 = game_Hitbox_bottom__P25366_mk(s); + s.tmp_23 = game_Hitbox_bottom__P29014_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 268; s.pc = 37; return s.tmp_23; case 37: @@ -34861,15 +34861,15 @@ switch (step) { { step = 17; continue; } case 11: case 12: - s.tmp_25 = game_Hitbox_contains__P25368_mk(s); + s.tmp_25 = game_Hitbox_contains__P29016_mk(s); s.tmp_25.arg0 = s.arg1; - s.tmp_26 = game_Hitbox_right__P25365_mk(s); + s.tmp_26 = game_Hitbox_right__P29013_mk(s); s.tmp_26.arg0 = s.arg0; s.callLocIdx = 270; s.pc = 39; return s.tmp_26; case 39: r0 = s.retval; s.tmp_25.arg1 = r0; - s.tmp_27 = game_Hitbox_top__P25364_mk(s); + s.tmp_27 = game_Hitbox_top__P29012_mk(s); s.tmp_27.arg0 = s.arg0; s.callLocIdx = 271; s.pc = 40; return s.tmp_27; case 40: @@ -34885,15 +34885,15 @@ switch (step) { { step = 17; continue; } case 13: case 14: - s.tmp_29 = game_Hitbox_contains__P25368_mk(s); + s.tmp_29 = game_Hitbox_contains__P29016_mk(s); s.tmp_29.arg0 = s.arg1; - s.tmp_30 = game_Hitbox_right__P25365_mk(s); + s.tmp_30 = game_Hitbox_right__P29013_mk(s); s.tmp_30.arg0 = s.arg0; s.callLocIdx = 273; s.pc = 42; return s.tmp_30; case 42: r0 = s.retval; s.tmp_29.arg1 = r0; - s.tmp_31 = game_Hitbox_bottom__P25366_mk(s); + s.tmp_31 = game_Hitbox_bottom__P29014_mk(s); s.tmp_31.arg0 = s.arg0; s.callLocIdx = 274; s.pc = 43; return s.tmp_31; case 43: @@ -34914,12 +34914,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_overlapsWith__P25370.info = {"start":2515,"length":695,"line":87,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +game_Hitbox_overlapsWith__P29018.info = {"start":2515,"length":695,"line":87,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function game_Hitbox_overlapsWith__P25370_mk(s) { +function game_Hitbox_overlapsWith__P29018_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_overlapsWith__P25370, depth: s.depth + 1, + parent: s, fn: game_Hitbox_overlapsWith__P29018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34961,7 +34961,7 @@ function game_Hitbox_overlapsWith__P25370_mk(s) { -function game_Hitbox_contains__P25368(s) { +function game_Hitbox_contains__P29016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34978,9 +34978,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25355_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C29003_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = game_Hitbox_left__P25363_mk(s); + s.tmp_3 = game_Hitbox_left__P29011_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 230; s.pc = 7; return s.tmp_3; case 7: @@ -34994,7 +34994,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = game_Hitbox_right__P25365_mk(s); + s.tmp_6 = game_Hitbox_right__P29013_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 231; s.pc = 8; return s.tmp_6; case 8: @@ -35010,7 +35010,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_8 = r0 = s.arg2; - s.tmp_10 = game_Hitbox_top__P25364_mk(s); + s.tmp_10 = game_Hitbox_top__P29012_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 232; s.pc = 9; return s.tmp_10; case 9: @@ -35026,7 +35026,7 @@ switch (step) { { step = 6; continue; } case 5: s.tmp_12 = r0 = s.arg2; - s.tmp_14 = game_Hitbox_bottom__P25366_mk(s); + s.tmp_14 = game_Hitbox_bottom__P29014_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 233; s.pc = 10; return s.tmp_14; case 10: @@ -35040,12 +35040,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_contains__P25368.info = {"start":1034,"length":144,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"contains","argumentNames":["this","x","y"]} +game_Hitbox_contains__P29016.info = {"start":1034,"length":144,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"contains","argumentNames":["this","x","y"]} -function game_Hitbox_contains__P25368_mk(s) { +function game_Hitbox_contains__P29016_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_contains__P25368, depth: s.depth + 1, + parent: s, fn: game_Hitbox_contains__P29016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35072,7 +35072,7 @@ function game_Hitbox_contains__P25368_mk(s) { -function helpers_imageBlit__P25100(s) { +function helpers_imageBlit__P28748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35097,7 +35097,7 @@ switch (step) { s.arg11 = (s.lambdaArgs[11]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals._blitArgs___27788; + s.tmp_0 = r0 = globals._blitArgs___31436; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -35107,36 +35107,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - globals._blitArgs___27788 = (s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___27788; + globals._blitArgs___31436 = (s.tmp_1); + s.tmp_0 = r0 = globals._blitArgs___31436; r0 = (s.arg1 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 0, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___27788; + s.tmp_0 = r0 = globals._blitArgs___31436; r0 = (s.arg2 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 1, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___27788; + s.tmp_0 = r0 = globals._blitArgs___31436; r0 = (s.arg3 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 2, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___27788; + s.tmp_0 = r0 = globals._blitArgs___31436; r0 = (s.arg4 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 3, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___27788; + s.tmp_0 = r0 = globals._blitArgs___31436; r0 = (s.arg6 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 4, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___27788; + s.tmp_0 = r0 = globals._blitArgs___31436; r0 = (s.arg7 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 5, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___27788; + s.tmp_0 = r0 = globals._blitArgs___31436; r0 = (s.arg8 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 6, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___27788; + s.tmp_0 = r0 = globals._blitArgs___31436; r0 = (s.arg9 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 7, s.tmp_1); @@ -35149,7 +35149,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___27788, 8, s.tmp_0); + r0 = pxsim_Array_.setAt(globals._blitArgs___31436, 8, s.tmp_0); r0 = pxsim_numops_toBoolDecr(s.arg11); if (!r0) { step = 5; continue; } r0 = 1; @@ -35159,17 +35159,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___27788, 9, s.tmp_0); - r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___27788); + r0 = pxsim_Array_.setAt(globals._blitArgs___31436, 9, s.tmp_0); + r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___31436); return leave(s, r0) default: oops() } } } -helpers_imageBlit__P25100.info = {"start":4459,"length":642,"line":154,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} +helpers_imageBlit__P28748.info = {"start":4459,"length":642,"line":154,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} -function helpers_imageBlit__P25100_mk(s) { +function helpers_imageBlit__P28748_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageBlit__P25100, depth: s.depth + 1, + parent: s, fn: helpers_imageBlit__P28748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35191,7 +35191,7 @@ function helpers_imageBlit__P25100_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P28003(s) { +function ArcadePhysicsEngine_createMovingSprite__P31651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35201,16 +35201,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___41959 = undefined; - s.ovy___41964 = undefined; - s.fx___41991 = undefined; - s.c___41998 = undefined; - s.fy___42041 = undefined; - s.c___42048 = undefined; - s.dx___42087 = undefined; - s.dy___42100 = undefined; - s.xStep___42113 = undefined; - s.yStep___42115 = undefined; + s.ovx___45608 = undefined; + s.ovy___45613 = undefined; + s.fx___45640 = undefined; + s.c___45647 = undefined; + s.fy___45690 = undefined; + s.c___45697 = undefined; + s.dx___45736 = undefined; + s.dy___45749 = undefined; + s.xStep___45762 = undefined; + s.yStep___45764 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35219,23 +35219,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P28009_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P31657_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 587; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___41959 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P28009_mk(s); + s.ovx___45608 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P31657_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 588; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___41964 = (r0); + s.ovy___45613 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -35269,21 +35269,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___41991 = (r0); + s.fx___45640 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___41991); - s.c___41998 = (r0); - r0 = (s.c___41998 < 0); + r0 = (s.tmp_0 - s.fx___45640); + s.c___45647 = (r0); + r0 = (s.c___45647 < 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__P23312_mk(s); + s.tmp_3 = Fx_min__P26960_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___41991); + r0 = (s.tmp_4 + s.fx___45640); s.tmp_3.arg1 = r0; s.callLocIdx = 596; s.pc = 27; return s.tmp_3; case 27: @@ -35292,16 +35292,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___41998 > 0); + r0 = (s.c___45647 > 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__P23313_mk(s); + s.tmp_3 = Fx_max__P26961_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___41991); + r0 = (s.tmp_4 - s.fx___45640); s.tmp_3.arg1 = r0; s.callLocIdx = 598; s.pc = 28; return s.tmp_3; case 28: @@ -35343,21 +35343,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___42041 = (r0); + s.fy___45690 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___42041); - s.c___42048 = (r0); - r0 = (s.c___42048 < 0); + r0 = (s.tmp_0 - s.fy___45690); + s.c___45697 = (r0); + r0 = (s.c___45697 < 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__P23312_mk(s); + s.tmp_3 = Fx_min__P26960_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___42041); + r0 = (s.tmp_4 + s.fy___45690); s.tmp_3.arg1 = r0; s.callLocIdx = 606; s.pc = 29; return s.tmp_3; case 29: @@ -35366,16 +35366,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___42048 > 0); + r0 = (s.c___45697 > 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__P23313_mk(s); + s.tmp_3 = Fx_max__P26961_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___42041); + r0 = (s.tmp_4 - s.fy___45690); s.tmp_3.arg1 = r0; s.callLocIdx = 608; s.pc = 30; return s.tmp_3; case 30: @@ -35391,7 +35391,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P28009_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P31657_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -35401,7 +35401,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__P28009_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P31657_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -35412,7 +35412,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___41959); + r0 = (s.tmp_4 + s.ovx___45608); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -35423,10 +35423,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___42087 = (r0); + s.dx___45736 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___41964); + r0 = (s.tmp_4 + s.ovy___45613); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -35437,12 +35437,12 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___42100 = (r0); - s.xStep___42113 = (s.dx___42087); - s.yStep___42115 = (s.dy___42100); + s.dy___45749 = (r0); + s.xStep___45762 = (s.dx___45736); + s.yStep___45764 = (s.dy___45749); case 17: - s.tmp_2 = Fx_abs__P23311_mk(s); - s.tmp_2.arg0 = s.xStep___42113; + s.tmp_2 = Fx_abs__P26959_mk(s); + s.tmp_2.arg0 = s.xStep___45762; s.callLocIdx = 617; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -35456,8 +35456,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P23311_mk(s); - s.tmp_5.arg0 = s.yStep___42115; + s.tmp_5 = Fx_abs__P26959_mk(s); + s.tmp_5.arg0 = s.yStep___45764; s.callLocIdx = 618; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -35470,8 +35470,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P23311_mk(s); - s.tmp_10.arg0 = s.xStep___42113; + s.tmp_10 = Fx_abs__P26959_mk(s); + s.tmp_10.arg0 = s.xStep___45762; s.callLocIdx = 619; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -35482,12 +35482,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___42113, 2); - s.xStep___42113 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___45762, 2); + s.xStep___45762 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P23311_mk(s); - s.tmp_2.arg0 = s.yStep___42115; + s.tmp_2 = Fx_abs__P26959_mk(s); + s.tmp_2.arg0 = s.yStep___45764; s.callLocIdx = 621; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -35498,25 +35498,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___42115, 2); - s.yStep___42115 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___45764, 2); + s.yStep___45764 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C25672_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C29320_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P25673_mk(s); + s.tmp_1 = MovingSprite_constructor__P29321_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___42087; - s.tmp_1.arg5 = s.dy___42100; - s.tmp_1.arg6 = s.xStep___42113; - s.tmp_1.arg7 = s.yStep___42115; + s.tmp_1.arg4 = s.dx___45736; + s.tmp_1.arg5 = s.dy___45749; + s.tmp_1.arg6 = s.xStep___45762; + s.tmp_1.arg7 = s.yStep___45764; s.callLocIdx = 623; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -35524,12 +35524,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P28003.info = {"start":6933,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P31651.info = {"start":6933,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P28003_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P31651_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P28003, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P31651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35543,16 +35543,16 @@ function ArcadePhysicsEngine_createMovingSprite__P28003_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___41959: undefined, - ovy___41964: undefined, - fx___41991: undefined, - c___41998: undefined, - fy___42041: undefined, - c___42048: undefined, - dx___42087: undefined, - dy___42100: undefined, - xStep___42113: undefined, - yStep___42115: undefined, + ovx___45608: undefined, + ovy___45613: undefined, + fx___45640: undefined, + c___45647: undefined, + fy___45690: undefined, + c___45697: undefined, + dx___45736: undefined, + dy___45749: undefined, + xStep___45762: undefined, + yStep___45764: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35563,7 +35563,7 @@ function ArcadePhysicsEngine_createMovingSprite__P28003_mk(s) { -function ArcadePhysicsEngine_constrain__P28009(s) { +function ArcadePhysicsEngine_constrain__P31657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35579,9 +35579,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P23313_mk(s); - s.tmp_1 = Fx_min__P23312_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P26961_mk(s); + s.tmp_1 = Fx_min__P26960_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -35597,12 +35597,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P28009.info = {"start":27343,"length":193,"line":761,"column":4,"endLine":769,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P31657.info = {"start":27343,"length":193,"line":761,"column":4,"endLine":769,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P28009_mk(s) { +function ArcadePhysicsEngine_constrain__P31657_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P28009, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P31657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35614,7 +35614,7 @@ function ArcadePhysicsEngine_constrain__P28009_mk(s) { -function Fx_compare__P23310(s) { +function Fx_compare__P26958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35633,12 +35633,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P23310.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__P26958.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__P23310_mk(s) { +function Fx_compare__P26958_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P23310, depth: s.depth + 1, + parent: s, fn: Fx_compare__P26958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35648,7 +35648,7 @@ function Fx_compare__P23310_mk(s) { -function sprites_SpriteMap_insertAABB__P25600(s) { +function sprites_SpriteMap_insertAABB__P29248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35658,32 +35658,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___41779 = undefined; - s.top___41782 = undefined; - s.xn___41785 = undefined; - s.yn___41796 = undefined; - s.x___41807 = undefined; - s.y___41812 = undefined; + s.left___45428 = undefined; + s.top___45431 = undefined; + s.xn___45434 = undefined; + s.yn___45445 = undefined; + s.x___45456 = undefined; + s.y___45461 = 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__C25593_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P25546_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P29194_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 518; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___41779 = (r0); - s.tmp_0 = Sprite_top__P25550_mk(s); + s.left___45428 = (r0); + s.tmp_0 = Sprite_top__P29198_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 519; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___41782 = (r0); - s.tmp_3 = Sprite_width__P25544_mk(s); + s.top___45431 = (r0); + s.tmp_3 = Sprite_width__P29192_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 520; s.pc = 7; return s.tmp_3; case 7: @@ -35698,8 +35698,8 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___41785 = (r0); - s.tmp_3 = Sprite_height__P25545_mk(s); + s.xn___45434 = (r0); + s.tmp_3 = Sprite_height__P29193_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 521; s.pc = 8; return s.tmp_3; case 8: @@ -35714,24 +35714,24 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___41796 = (r0); - s.x___41807 = (0); + s.yn___45445 = (r0); + s.x___45456 = (0); case 1: - r0 = (s.x___41807 <= s.xn___41785); + r0 = (s.x___45456 <= s.xn___45434); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___41812 = (0); + s.y___45461 = (0); case 2: - r0 = (s.y___41812 <= s.yn___41796); + r0 = (s.y___45461 <= s.yn___45445); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P27967_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P31615_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___41779; - s.tmp_4 = Math_min__P23277_mk(s); - s.tmp_5 = Sprite_width__P25544_mk(s); + s.tmp_2 = r0 = s.left___45428; + s.tmp_4 = Math_min__P26925_mk(s); + s.tmp_5 = Sprite_width__P29192_mk(s); s.tmp_5.arg0 = s.arg1; s.callLocIdx = 522; s.pc = 11; return s.tmp_5; case 11: @@ -35739,7 +35739,7 @@ switch (step) { s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___41807 * s.tmp_6); + r0 = (s.x___45456 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 523; s.pc = 10; return s.tmp_4; case 10: @@ -35747,9 +35747,9 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___41782; - s.tmp_9 = Math_min__P23277_mk(s); - s.tmp_10 = Sprite_height__P25545_mk(s); + s.tmp_7 = r0 = s.top___45431; + s.tmp_9 = Math_min__P26925_mk(s); + s.tmp_10 = Sprite_height__P29193_mk(s); s.tmp_10.arg0 = s.arg1; s.callLocIdx = 524; s.pc = 13; return s.tmp_10; case 13: @@ -35757,7 +35757,7 @@ switch (step) { s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___41812 * s.tmp_11); + r0 = (s.y___45461 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 525; s.pc = 12; return s.tmp_9; case 12: @@ -35769,24 +35769,24 @@ switch (step) { s.callLocIdx = 526; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = (s.y___41812 + 1); - s.y___41812 = (r0); + r0 = (s.y___45461 + 1); + s.y___45461 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___41807 + 1); - s.x___41807 = (r0); + r0 = (s.x___45456 + 1); + s.x___45456 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P25600.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__P29248.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__P25600_mk(s) { +function sprites_SpriteMap_insertAABB__P29248_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P25600, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P29248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35800,12 +35800,12 @@ function sprites_SpriteMap_insertAABB__P25600_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___41779: undefined, - top___41782: undefined, - xn___41785: undefined, - yn___41796: undefined, - x___41807: undefined, - y___41812: undefined, + left___45428: undefined, + top___45431: undefined, + xn___45434: undefined, + yn___45445: undefined, + x___45456: undefined, + y___45461: undefined, arg0: undefined, arg1: undefined, } } @@ -35814,7 +35814,7 @@ function sprites_SpriteMap_insertAABB__P25600_mk(s) { -function sprites_SpriteMap_insertAtKey__P27967(s) { +function sprites_SpriteMap_insertAtKey__P31615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35824,8 +35824,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___41847 = undefined; - s.bucket___41852 = undefined; + s.k___45496 = undefined; + s.bucket___45501 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35834,20 +35834,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25593_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P27966_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P31614_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 517; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___41847 = (r0); + s.k___45496 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___41847); - s.bucket___41852 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___41852); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___45496); + s.bucket___45501 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___45501); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35855,40 +35855,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___41847; + s.tmp_3 = r0 = s.k___45496; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___41852 = (s.tmp_4); + s.bucket___45501 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___41852, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___45501, 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___41852, s.arg3); + r0 = pxsim_Array__push(s.bucket___45501, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P27967.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__P31615.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__P27967_mk(s) { +function sprites_SpriteMap_insertAtKey__P31615_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P27967, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P31615, 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___41847: undefined, - bucket___41852: undefined, + k___45496: undefined, + bucket___45501: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35899,7 +35899,7 @@ function sprites_SpriteMap_insertAtKey__P27967_mk(s) { -function sprites_SpriteMap_clear__P25599(s) { +function sprites_SpriteMap_clear__P29247(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35914,7 +35914,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25593_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -35923,12 +35923,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P25599.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__P29247.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__P25599_mk(s) { +function sprites_SpriteMap_clear__P29247_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P25599, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P29247, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35939,7 +35939,7 @@ function sprites_SpriteMap_clear__P25599_mk(s) { -function sprites_SpriteMap_resizeBuckets__P25598(s) { +function sprites_SpriteMap_resizeBuckets__P29246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35949,115 +35949,115 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___41882 = undefined; - s.maxHeight___41883 = undefined; - s.sprite___41885 = undefined; - s.unnamed318___U3 = undefined; - s.unnamed319___U4 = undefined; - s.tMap___41901 = undefined; - s.areaWidth___41905 = undefined; - s.areaHeight___41912 = undefined; + s.maxWidth___45531 = undefined; + s.maxHeight___45532 = undefined; + s.sprite___45534 = undefined; + s.unnamed966___U3 = undefined; + s.unnamed967___U4 = undefined; + s.tMap___45550 = undefined; + s.areaWidth___45554 = undefined; + s.areaHeight___45561 = 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__C25593_VT)) failedCast(r0); - s.maxWidth___41882 = (0); - s.maxHeight___41883 = (0); - s.sprite___41885 = (undefined); - s.unnamed318___U3 = (s.arg1); - s.unnamed319___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); + s.maxWidth___45531 = (0); + s.maxHeight___45532 = (0); + s.sprite___45534 = (undefined); + s.unnamed966___U3 = (s.arg1); + s.unnamed967___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed319___U4; - r0 = pxsim_Array__length(s.unnamed318___U3); + s.tmp_0 = r0 = s.unnamed967___U4; + r0 = pxsim_Array__length(s.unnamed966___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed318___U3, s.unnamed319___U4); - s.sprite___41885 = (r0); - s.tmp_4 = Sprite_width__P25544_mk(s); - s.tmp_4.arg0 = s.sprite___41885; + r0 = pxsim_Array__getAt(s.unnamed966___U3, s.unnamed967___U4); + s.sprite___45534 = (r0); + s.tmp_4 = Sprite_width__P29192_mk(s); + s.tmp_4.arg0 = s.sprite___45534; s.callLocIdx = 506; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___41882); + r0 = (s.tmp_3 > s.maxWidth___45531); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_5 = Sprite_width__P25544_mk(s); - s.tmp_5.arg0 = s.sprite___41885; + s.tmp_5 = Sprite_width__P29192_mk(s); + s.tmp_5.arg0 = s.sprite___45534; s.callLocIdx = 507; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; - s.maxWidth___41882 = (r0); + s.maxWidth___45531 = (r0); case 2: case 3: - s.tmp_2 = Sprite_height__P25545_mk(s); - s.tmp_2.arg0 = s.sprite___41885; + s.tmp_2 = Sprite_height__P29193_mk(s); + s.tmp_2.arg0 = s.sprite___45534; s.callLocIdx = 508; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___41883); + r0 = (s.tmp_1 > s.maxHeight___45532); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_height__P25545_mk(s); - s.tmp_3.arg0 = s.sprite___41885; + s.tmp_3 = Sprite_height__P29193_mk(s); + s.tmp_3.arg0 = s.sprite___45534; s.callLocIdx = 509; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - s.maxHeight___41883 = (r0); + s.maxHeight___45532 = (r0); case 4: case 5: - r0 = (s.unnamed319___U4 + 1); - s.unnamed319___U4 = (r0); + r0 = (s.unnamed967___U4 + 1); + s.unnamed967___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed318___U3 = (undefined); - s.tmp_0 = game_currentScene__P26163_mk(s); + s.unnamed966___U3 = (undefined); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 510; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___41901 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___41901); + s.tMap___45550 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___45550); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P25890_mk(s); - s.tmp_0.arg0 = s.tMap___41901; + s.tmp_0 = tiles_TileMap_areaWidth__P29538_mk(s); + s.tmp_0.arg0 = s.tMap___45550; s.callLocIdx = 511; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___41905 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___41901); + s.areaWidth___45554 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___45550); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P25891_mk(s); - s.tmp_0.arg0 = s.tMap___41901; + s.tmp_0 = tiles_TileMap_areaHeight__P29539_mk(s); + s.tmp_0.arg0 = s.tMap___45550; s.callLocIdx = 512; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___25179); + r0 = pxsim_ImageMethods.height(globals.screen___28827); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___41912 = (s.tmp_1); + s.areaHeight___45561 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P23273_mk(s); + s.tmp_2 = Math_clamp__P26921_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___41905 >> 2); + r0 = (s.areaWidth___45554 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___41882 * 2); + r0 = (s.maxWidth___45531 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 513; s.pc = 18; return s.tmp_2; case 18: @@ -36065,11 +36065,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__P23273_mk(s); + s.tmp_2 = Math_clamp__P26921_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___41912 >> 2); + r0 = (s.areaHeight___45561 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___41883 * 2); + r0 = (s.maxHeight___45532 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 514; s.pc = 19; return s.tmp_2; case 19: @@ -36079,25 +36079,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___41912, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___45561, 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___41905, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___45554, 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__P25598.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__P29246.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__P25598_mk(s) { +function sprites_SpriteMap_resizeBuckets__P29246_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P25598, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P29246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36105,14 +36105,14 @@ function sprites_SpriteMap_resizeBuckets__P25598_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___41882: undefined, - maxHeight___41883: undefined, - sprite___41885: undefined, - unnamed318___U3: undefined, - unnamed319___U4: undefined, - tMap___41901: undefined, - areaWidth___41905: undefined, - areaHeight___41912: undefined, + maxWidth___45531: undefined, + maxHeight___45532: undefined, + sprite___45534: undefined, + unnamed966___U3: undefined, + unnamed967___U4: undefined, + tMap___45550: undefined, + areaWidth___45554: undefined, + areaHeight___45561: undefined, arg0: undefined, arg1: undefined, } } @@ -36121,7 +36121,7 @@ function sprites_SpriteMap_resizeBuckets__P25598_mk(s) { -function Sprite_clearObstacles__P25572(s) { +function Sprite_clearObstacles__P29220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36136,7 +36136,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -36145,12 +36145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P25572.info = {"start":24932,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P29220.info = {"start":24932,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P25572_mk(s) { +function Sprite_clearObstacles__P29220_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P25572, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P29220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36161,7 +36161,7 @@ function Sprite_clearObstacles__P25572_mk(s) { -function Fx_idiv__P23309(s) { +function Fx_idiv__P26957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36180,12 +36180,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P23309.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__P26957.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__P23309_mk(s) { +function Fx_idiv__P26957_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P23309, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P26957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36195,7 +36195,7 @@ function Fx_idiv__P23309_mk(s) { -function helpers_arrayMap__P23252(s) { +function helpers_arrayMap__P26900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36205,58 +36205,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___42177 = undefined; - s.len___42179 = undefined; - s.i___42182 = undefined; + s.res___45826 = undefined; + s.len___45828 = undefined; + s.i___45831 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___42177 = (r0); + s.res___45826 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___42179 = (r0); - s.i___42182 = (0); + s.len___45828 = (r0); + s.i___45831 = (0); case 1: - r0 = (s.i___42182 < s.len___42179); + r0 = (s.i___45831 < s.len___45828); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___42177; + s.tmp_1 = r0 = s.res___45826; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___42182); + r0 = pxsim_Array__getAt(s.arg0, s.i___45831); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___42182; + s.tmp_3.arg1 = s.i___45831; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 3; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___42182 + 1); - s.i___42182 = (r0); + r0 = (s.i___45831 + 1); + s.i___45831 = (r0); { step = 1; continue; } case 2: - r0 = s.res___42177; + r0 = s.res___45826; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P23252.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__P26900.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__P23252_mk(s) { +function helpers_arrayMap__P26900_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P23252, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P26900, 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___42177: undefined, - len___42179: undefined, - i___42182: undefined, + res___45826: undefined, + len___45828: undefined, + i___45831: undefined, arg0: undefined, arg1: undefined, } } @@ -36265,7 +36265,7 @@ function helpers_arrayMap__P23252_mk(s) { -function ArcadePhysicsEngine_draw__P25685(s) { +function ArcadePhysicsEngine_draw__P29333(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36280,8 +36280,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P25597_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P29245_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 552; s.pc = 1; return s.tmp_0; @@ -36291,12 +36291,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P25685.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__P29333.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__P25685_mk(s) { +function ArcadePhysicsEngine_draw__P29333_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P25685, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P29333, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36306,7 +36306,7 @@ function ArcadePhysicsEngine_draw__P25685_mk(s) { -function sprites_SpriteMap_draw__P25597(s) { +function sprites_SpriteMap_draw__P29245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36316,70 +36316,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___42203 = undefined; - s.y___42209 = undefined; - s.left___42215 = undefined; - s.top___42220 = undefined; - s.k___42225 = undefined; - s.b___42230 = undefined; + s.x___45852 = undefined; + s.y___45858 = undefined; + s.left___45864 = undefined; + s.top___45869 = undefined; + s.k___45874 = undefined; + s.b___45879 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25593_VT)) failedCast(r0); - s.x___42203 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C29241_VT)) failedCast(r0); + s.x___45852 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___42203 < s.tmp_1); + r0 = (s.x___45852 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___42209 = (0); + s.y___45858 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___42209 < s.tmp_1); + r0 = (s.y___45858 < 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___42203 * s.tmp_2); - s.left___42215 = (r0); + r0 = (s.x___45852 * s.tmp_2); + s.left___45864 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___42209 * s.tmp_0); - s.top___42220 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P27966_mk(s); + r0 = (s.y___45858 * s.tmp_0); + s.top___45869 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P31614_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___42215; - s.tmp_0.arg2 = s.top___42220; + s.tmp_0.arg1 = s.left___45864; + s.tmp_0.arg2 = s.top___45869; s.callLocIdx = 504; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___42225 = (r0); + s.k___45874 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___42225); - s.b___42230 = (r0); - s.tmp_0 = r0 = s.b___42230; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___45874); + s.b___45879 = (r0); + s.tmp_0 = r0 = s.b___45879; 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___42230); + r0 = pxsim_Array__length(s.b___45879); 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__P25106_mk(s); - s.tmp_2.arg0 = globals.screen___25179; - s.tmp_2.arg1 = s.left___42215; - s.tmp_2.arg2 = s.top___42220; + s.tmp_2 = helpers_imageDrawRect__P28754_mk(s); + s.tmp_2.arg0 = globals.screen___28827; + s.tmp_2.arg1 = s.left___45864; + s.tmp_2.arg2 = s.top___45869; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -36390,34 +36390,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___42209 + 1); - s.y___42209 = (r0); + r0 = (s.y___45858 + 1); + s.y___45858 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___42203 + 1); - s.x___42203 = (r0); + r0 = (s.x___45852 + 1); + s.x___45852 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P25597.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__P29245.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__P25597_mk(s) { +function sprites_SpriteMap_draw__P29245_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P25597, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P29245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___42203: undefined, - y___42209: undefined, - left___42215: undefined, - top___42220: undefined, - k___42225: undefined, - b___42230: undefined, + x___45852: undefined, + y___45858: undefined, + left___45864: undefined, + top___45869: undefined, + k___45874: undefined, + b___45879: undefined, arg0: undefined, } } @@ -36425,7 +36425,7 @@ function sprites_SpriteMap_draw__P25597_mk(s) { -function ArcadePhysicsEngine_removeSprite__P25684(s) { +function ArcadePhysicsEngine_removeSprite__P29332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36441,7 +36441,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -36449,12 +36449,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P25684.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__P29332.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__P25684_mk(s) { +function ArcadePhysicsEngine_removeSprite__P29332_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P25684, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P29332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36465,7 +36465,7 @@ function ArcadePhysicsEngine_removeSprite__P25684_mk(s) { -function ArcadePhysicsEngine_addSprite__P25683(s) { +function ArcadePhysicsEngine_addSprite__P29331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36475,31 +36475,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___42267 = undefined; + s.tm___45916 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25674_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C29322_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__P26163_mk(s); + s.tmp_0 = game_currentScene__P29811_mk(s); s.callLocIdx = 550; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___42267 = (r0); - s.tmp_0 = r0 = s.tm___42267; + s.tm___45916 = (r0); + s.tmp_0 = r0 = s.tm___45916; 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__P25905_mk(s); - s.tmp_1.arg0 = s.tm___42267; + s.tmp_1 = tiles_TileMap_isOnWall__P29553_mk(s); + s.tmp_1.arg0 = s.tm___45916; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 551; s.pc = 6; return s.tmp_1; case 6: @@ -36521,12 +36521,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P25683.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__P29331.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__P25683_mk(s) { +function ArcadePhysicsEngine_addSprite__P29331_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P25683, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P29331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36534,7 +36534,7 @@ function ArcadePhysicsEngine_addSprite__P25683_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___42267: undefined, + tm___45916: undefined, arg0: undefined, arg1: undefined, } } @@ -36543,7 +36543,7 @@ function ArcadePhysicsEngine_addSprite__P25683_mk(s) { -function tiles_TileMapData_constructor__P25865(s) { +function tiles_TileMapData_constructor__P29513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36562,11 +36562,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25864_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C29512_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__P25869_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P29517_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 828; s.pc = 1; return s.tmp_0; @@ -36584,12 +36584,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P25865.info = {"start":6048,"length":358,"line":204,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P29513.info = {"start":6048,"length":358,"line":204,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -function tiles_TileMapData_constructor__P25865_mk(s) { +function tiles_TileMapData_constructor__P29513_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P25865, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P29513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36604,7 +36604,7 @@ function tiles_TileMapData_constructor__P25865_mk(s) { -function tiles_TileMapData_scale__P25869(s) { +function tiles_TileMapData_scale__P29517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36620,7 +36620,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25864_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C29512_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -36630,12 +36630,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P25869.info = {"start":6640,"length":102,"line":226,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P29517.info = {"start":6640,"length":102,"line":226,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMapData_scale__P25869_mk(s) { +function tiles_TileMapData_scale__P29517_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P25869, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P29517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36647,7 +36647,7 @@ function tiles_TileMapData_scale__P25869_mk(s) { -function tiles_TileMap_constructor__P25884(s) { +function tiles_TileMap_constructor__P29532(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36663,19 +36663,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P25886_mk(s); + s.tmp_0 = tiles_TileMap_scale__P29534_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 836; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P42538); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P46187); 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__P25952_mk(s); + s.tmp_3 = scene_createRenderable__P29600_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; @@ -36688,12 +36688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P25884.info = {"start":8927,"length":268,"line":300,"column":8,"endLine":308,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P29532.info = {"start":8927,"length":268,"line":300,"column":8,"endLine":308,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_TileMap_constructor__P25884_mk(s) { +function tiles_TileMap_constructor__P29532_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P25884, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P29532, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36707,7 +36707,7 @@ function tiles_TileMap_constructor__P25884_mk(s) { -function tiles_TileMap_inline__P42538(s) { +function tiles_TileMap_inline__P46187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36722,7 +36722,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P28079_mk(s); + s.tmp_0 = tiles_TileMap_draw__P31727_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -36733,12 +36733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P42538.info = {"start":9145,"length":25,"line":306,"column":16,"endLine":306,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +tiles_TileMap_inline__P46187.info = {"start":9145,"length":25,"line":306,"column":16,"endLine":306,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function tiles_TileMap_inline__P42538_mk(s) { +function tiles_TileMap_inline__P46187_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P42538, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P46187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36749,7 +36749,7 @@ function tiles_TileMap_inline__P42538_mk(s) { -function tiles_TileMap_draw__P28079(s) { +function tiles_TileMap_draw__P31727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36759,21 +36759,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___42549 = undefined; - s.offsetX___42555 = undefined; - s.offsetY___42560 = undefined; - s.x0___42565 = undefined; - s.xn___42572 = undefined; - s.y0___42589 = undefined; - s.yn___42596 = undefined; - s.x___42613 = undefined; - s.y___42619 = undefined; - s.index___42625 = undefined; - s.tile___42632 = undefined; - s.x___42668 = undefined; - s.xLine___42674 = undefined; - s.y___42700 = undefined; - s.yLine___42706 = undefined; + s.bitmask___46198 = undefined; + s.offsetX___46204 = undefined; + s.offsetY___46209 = undefined; + s.x0___46214 = undefined; + s.xn___46221 = undefined; + s.y0___46238 = undefined; + s.yn___46245 = undefined; + s.x___46262 = undefined; + s.y___46268 = undefined; + s.index___46274 = undefined; + s.tile___46281 = undefined; + s.x___46317 = undefined; + s.xLine___46323 = undefined; + s.y___46349 = undefined; + s.yLine___46355 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36781,7 +36781,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -36806,16 +36806,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___42549 = (r0); + s.bitmask___46198 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___42549); - s.offsetX___42555 = (r0); + r0 = (s.tmp_0 & s.bitmask___46198); + s.offsetX___46204 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___42549); - s.offsetY___42560 = (r0); - s.tmp_0 = Math_max__P23276_mk(s); + r0 = (s.tmp_0 & s.bitmask___46198); + s.offsetY___46209 = (r0); + s.tmp_0 = Math_max__P26924_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -36826,8 +36826,8 @@ switch (step) { s.callLocIdx = 876; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___42565 = (r0); - s.tmp_0 = Math_min__P23277_mk(s); + s.x0___46214 = (r0); + s.tmp_0 = Math_min__P26925_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -36847,8 +36847,8 @@ switch (step) { s.callLocIdx = 879; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___42572 = (r0); - s.tmp_0 = Math_max__P23276_mk(s); + s.xn___46221 = (r0); + s.tmp_0 = Math_max__P26924_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -36859,8 +36859,8 @@ switch (step) { s.callLocIdx = 881; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___42589 = (r0); - s.tmp_0 = Math_min__P23277_mk(s); + s.y0___46238 = (r0); + s.tmp_0 = Math_min__P26925_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -36880,92 +36880,92 @@ switch (step) { s.callLocIdx = 884; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___42596 = (r0); - s.x___42613 = (s.x0___42565); + s.yn___46245 = (r0); + s.x___46262 = (s.x0___46214); case 3: - r0 = (s.x___42613 <= s.xn___42572); + r0 = (s.x___46262 <= s.xn___46221); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___42619 = (s.y0___42589); + s.y___46268 = (s.y0___46238); case 4: - r0 = (s.y___42619 <= s.yn___42596); + r0 = (s.y___46268 <= s.yn___46245); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P25870_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P29518_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___42613; - s.tmp_1.arg2 = s.y___42619; + s.tmp_1.arg1 = s.x___46262; + s.tmp_1.arg2 = s.y___46268; s.callLocIdx = 885; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___42625 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P25873_mk(s); + s.index___46274 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P29521_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___42625; + s.tmp_0.arg1 = s.index___46274; s.callLocIdx = 886; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___42632 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___42632); + s.tile___46281 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___46281); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___42632; - r0 = (s.x___42613 - s.x0___42565); + s.tmp_1 = r0 = s.tile___46281; + r0 = (s.x___46262 - s.x0___46214); 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___42555); + r0 = (s.tmp_3 - s.offsetX___46204); s.tmp_2 = r0; - r0 = (s.y___42619 - s.y0___42589); + r0 = (s.y___46268 - s.y0___46238); 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___42560); + r0 = (s.tmp_7 - s.offsetY___46209); 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___42619 + 1); - s.y___42619 = (r0); + r0 = (s.y___46268 + 1); + s.y___46268 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___42613 + 1); - s.x___42613 = (r0); + r0 = (s.x___46262 + 1); + s.x___46262 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___26114); + r0 = pxsim_numops_toBoolDecr(globals.debug___29762); if (!r0) { step = 21; continue; } - s.x___42668 = (s.x0___42565); + s.x___46317 = (s.x0___46214); case 9: - r0 = (s.x___42668 <= s.xn___42572); + r0 = (s.x___46317 <= s.xn___46221); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___42668 - s.x0___42565); + r0 = (s.x___46317 - s.x0___46214); 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___42555); - s.xLine___42674 = (r0); - r0 = (s.xLine___42674 >= 0); + r0 = (s.tmp_1 - s.offsetX___46204); + s.xLine___46323 = (r0); + r0 = (s.xLine___46323 >= 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___42674; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + s.tmp_1 = r0 = s.xLine___46323; + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -36973,11 +36973,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P25105_mk(s); + s.tmp_4 = helpers_imageDrawLine__P28753_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___42674; + s.tmp_4.arg1 = s.xLine___46323; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___42674; + s.tmp_4.arg3 = s.xLine___46323; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -36986,33 +36986,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___42668 + 1); - s.x___42668 = (r0); + r0 = (s.x___46317 + 1); + s.x___46317 = (r0); { step = 9; continue; } case 14: - s.y___42700 = (s.y0___42589); + s.y___46349 = (s.y0___46238); case 15: - r0 = (s.y___42700 <= s.yn___42596); + r0 = (s.y___46349 <= s.yn___46245); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___42700 - s.y0___42589); + r0 = (s.y___46349 - s.y0___46238); 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___42560); - s.yLine___42706 = (r0); - r0 = (s.yLine___42706 >= 0); + r0 = (s.tmp_1 - s.offsetY___46209); + s.yLine___46355 = (r0); + r0 = (s.yLine___46355 >= 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___42706; - r0 = pxsim_ImageMethods.height(globals.screen___25179); + s.tmp_1 = r0 = s.yLine___46355; + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -37020,21 +37020,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P25105_mk(s); + s.tmp_4 = helpers_imageDrawLine__P28753_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___42706; + s.tmp_4.arg2 = s.yLine___46355; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___42706; + s.tmp_4.arg4 = s.yLine___46355; s.tmp_4.arg5 = 1; s.callLocIdx = 892; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___42700 + 1); - s.y___42700 = (r0); + r0 = (s.y___46349 + 1); + s.y___46349 = (r0); { step = 15; continue; } case 20: case 21: @@ -37044,12 +37044,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P28079.info = {"start":13998,"length":2224,"line":458,"column":8,"endLine":513,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P31727.info = {"start":13998,"length":2224,"line":458,"column":8,"endLine":513,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P28079_mk(s) { +function tiles_TileMap_draw__P31727_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P28079, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P31727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37061,21 +37061,21 @@ function tiles_TileMap_draw__P28079_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___42549: undefined, - offsetX___42555: undefined, - offsetY___42560: undefined, - x0___42565: undefined, - xn___42572: undefined, - y0___42589: undefined, - yn___42596: undefined, - x___42613: undefined, - y___42619: undefined, - index___42625: undefined, - tile___42632: undefined, - x___42668: undefined, - xLine___42674: undefined, - y___42700: undefined, - yLine___42706: undefined, + bitmask___46198: undefined, + offsetX___46204: undefined, + offsetY___46209: undefined, + x0___46214: undefined, + xn___46221: undefined, + y0___46238: undefined, + yn___46245: undefined, + x___46262: undefined, + y___46268: undefined, + index___46274: undefined, + tile___46281: undefined, + x___46317: undefined, + xLine___46323: undefined, + y___46349: undefined, + yLine___46355: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37085,7 +37085,7 @@ function tiles_TileMap_draw__P28079_mk(s) { -function tiles_TileMap_scale__P25886(s) { +function tiles_TileMap_scale__P29534(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37101,13 +37101,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_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__P25869_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P29517_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -37120,12 +37120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P25886.info = {"start":9270,"length":144,"line":314,"column":8,"endLine":319,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P29534.info = {"start":9270,"length":144,"line":314,"column":8,"endLine":319,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMap_scale__P25886_mk(s) { +function tiles_TileMap_scale__P29534_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P25886, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P29534, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37137,7 +37137,7 @@ function tiles_TileMap_scale__P25886_mk(s) { -function tiles_TileMap_data__P25887(s) { +function tiles_TileMap_data__P29535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37152,18 +37152,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25882_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C29530_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P25887.info = {"start":9424,"length":65,"line":321,"column":8,"endLine":323,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P25887.isGetter = true; +tiles_TileMap_data__P29535.info = {"start":9424,"length":65,"line":321,"column":8,"endLine":323,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P29535.isGetter = true; -function tiles_TileMap_data__P25887_mk(s) { +function tiles_TileMap_data__P29535_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P25887, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P29535, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -37172,7 +37172,7 @@ function tiles_TileMap_data__P25887_mk(s) { -function Sprite_toString__P25581(s) { +function Sprite_toString__P29229(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37187,7 +37187,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -37205,7 +37205,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P25501_mk(s); + s.tmp_14 = Sprite_x__P29149_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 457; s.pc = 2; return s.tmp_14; case 2: @@ -37224,7 +37224,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P25503_mk(s); + s.tmp_17 = Sprite_y__P29151_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 458; s.pc = 4; return s.tmp_17; case 4: @@ -37243,7 +37243,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P25505_mk(s); + s.tmp_20 = Sprite_vx__P29153_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 459; s.pc = 6; return s.tmp_20; case 6: @@ -37262,7 +37262,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P25507_mk(s); + s.tmp_23 = Sprite_vy__P29155_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 460; s.pc = 8; return s.tmp_23; case 8: @@ -37283,12 +37283,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P25581.info = {"start":34111,"length":93,"line":1066,"column":4,"endLine":1068,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P29229.info = {"start":34111,"length":93,"line":1066,"column":4,"endLine":1068,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P25581_mk(s) { +function Sprite_toString__P29229_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P25581, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P29229, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37321,7 +37321,7 @@ function Sprite_toString__P25581_mk(s) { -function Sprite___update__P25563(s) { +function Sprite___update__P29211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37338,7 +37338,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -37360,7 +37360,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__P25576_mk(s); + s.tmp_0 = Sprite__destroyCore__P29224_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 388; s.pc = 11; return s.tmp_0; case 11: @@ -37378,7 +37378,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P25561_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P29209_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 389; s.pc = 12; return s.tmp_2; @@ -37389,7 +37389,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P25575_mk(s); + s.tmp_4 = Sprite_destroy__P29223_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -37402,13 +37402,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C25406_v1_4_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C29054_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__C25406_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C29054_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.update; s.pc = 14; return s.tmp_1; case 14: @@ -37419,12 +37419,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P25563.info = {"start":18662,"length":483,"line":628,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P29211.info = {"start":18662,"length":483,"line":628,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P25563_mk(s) { +function Sprite___update__P29211_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P25563, depth: s.depth + 1, + parent: s, fn: Sprite___update__P29211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37441,7 +37441,7 @@ function Sprite___update__P25563_mk(s) { -function Sprite_isOutOfScreen__P25561(s) { +function Sprite_isOutOfScreen__P29209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37451,15 +37451,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___42463 = undefined; - s.oy___42471 = undefined; + s.ox___46112 = undefined; + s.oy___46120 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -37473,7 +37473,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___42463 = (s.tmp_2); + s.ox___46112 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -37487,14 +37487,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___42471 = (s.tmp_2); - s.tmp_3 = Sprite_right__P25548_mk(s); + s.oy___46120 = (s.tmp_2); + s.tmp_3 = Sprite_right__P29196_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 379; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___42463); + r0 = (s.tmp_2 - s.ox___46112); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -37503,13 +37503,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P25552_mk(s); + s.tmp_6 = Sprite_bottom__P29200_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 380; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___42471); + r0 = (s.tmp_5 - s.oy___46120); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -37520,15 +37520,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P25546_mk(s); + s.tmp_10 = Sprite_left__P29194_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 381; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___42463); + r0 = (s.tmp_9 - s.ox___46112); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -37539,15 +37539,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P25550_mk(s); + s.tmp_15 = Sprite_top__P29198_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 382; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___42471); + r0 = (s.tmp_14 - s.oy___46120); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25179); + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -37557,12 +37557,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P25561.info = {"start":17830,"length":358,"line":607,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P29209.info = {"start":17830,"length":358,"line":607,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P25561_mk(s) { +function Sprite_isOutOfScreen__P29209_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P25561, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P29209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37582,8 +37582,8 @@ function Sprite_isOutOfScreen__P25561_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___42463: undefined, - oy___42471: undefined, + ox___46112: undefined, + oy___46120: undefined, arg0: undefined, arg1: undefined, } } @@ -37592,7 +37592,7 @@ function Sprite_isOutOfScreen__P25561_mk(s) { -function sprites_BaseSpriteSayRenderer_update__P25409(s) { +function sprites_BaseSpriteSayRenderer_update__P29057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37610,17 +37610,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C25406_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C29054_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_update__P25409.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__P29057.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__P25409_mk(s) { +function sprites_BaseSpriteSayRenderer_update__P29057_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_update__P25409, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_update__P29057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37632,7 +37632,7 @@ function sprites_BaseSpriteSayRenderer_update__P25409_mk(s) { -function Sprite_data__P25524(s) { +function Sprite_data__P29172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37648,18 +37648,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P25524.info = {"start":6536,"length":56,"line":241,"column":4,"endLine":243,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P29172.info = {"start":6536,"length":56,"line":241,"column":4,"endLine":243,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P25524_mk(s) { +function Sprite_data__P29172_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P25524, depth: s.depth + 1, + parent: s, fn: Sprite_data__P29172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37669,7 +37669,7 @@ function Sprite_data__P25524_mk(s) { -function Sprite_data__P25523(s) { +function Sprite_data__P29171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37684,7 +37684,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -37703,13 +37703,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P25523.info = {"start":6438,"length":92,"line":236,"column":4,"endLine":239,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P25523.isGetter = true; +Sprite_data__P29171.info = {"start":6438,"length":92,"line":236,"column":4,"endLine":239,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P29171.isGetter = true; -function Sprite_data__P25523_mk(s) { +function Sprite_data__P29171_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P25523, depth: s.depth + 1, + parent: s, fn: Sprite_data__P29171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37723,7 +37723,7 @@ function Sprite_data__P25523_mk(s) { -function sprites_BaseSprite___update__P25249(s) { +function sprites_BaseSprite___update__P28897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37740,17 +37740,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25241_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C28889_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P25249.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__P28897.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__P25249_mk(s) { +function sprites_BaseSprite___update__P28897_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P25249, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P28897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37761,7 +37761,7 @@ function sprites_BaseSprite___update__P25249_mk(s) { -function sprites_BaseSprite___draw__P25247(s) { +function sprites_BaseSprite___draw__P28895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37777,10 +37777,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25241_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C25241_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C28889_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C28889_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C25241_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C28889_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: @@ -37788,10 +37788,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C25241_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C28889_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C25241_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C28889_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: @@ -37802,12 +37802,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P25247.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__P28895.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__P25247_mk(s) { +function sprites_BaseSprite___draw__P28895_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P25247, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P28895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37820,7 +37820,7 @@ function sprites_BaseSprite___draw__P25247_mk(s) { -function sprites_BaseSprite___drawCore__P25248(s) { +function sprites_BaseSprite___drawCore__P28896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37836,17 +37836,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25241_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C28889_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P25248.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__P28896.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__P25248_mk(s) { +function sprites_BaseSprite___drawCore__P28896_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P25248, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P28896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37856,7 +37856,7 @@ function sprites_BaseSprite___drawCore__P25248_mk(s) { -function sprites_BaseSprite___visible__P25244(s) { +function sprites_BaseSprite___visible__P28892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37871,17 +37871,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25241_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C28889_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P25244.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__P28892.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__P25244_mk(s) { +function sprites_BaseSprite___visible__P28892_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P25244, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P28892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -37890,7 +37890,7 @@ function sprites_BaseSprite___visible__P25244_mk(s) { -function scene_BackgroundLayer_constructor__P25833(s) { +function scene_BackgroundLayer_constructor__P29481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37908,9 +37908,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C25826_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C29474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P23276_mk(s); + s.tmp_2 = Math_max__P26924_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 808; s.pc = 7; return s.tmp_2; @@ -37956,12 +37956,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P25833.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__P29481.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__P25833_mk(s) { +function scene_BackgroundLayer_constructor__P29481_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P25833, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P29481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37976,7 +37976,7 @@ function scene_BackgroundLayer_constructor__P25833_mk(s) { -function scene_Camera_y__P25938(s) { +function scene_Camera_y__P29586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37991,10 +37991,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25928_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25179); + r0 = pxsim_ImageMethods.height(globals.screen___28827); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -38002,13 +38002,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P25938.info = {"start":1536,"length":75,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} -scene_Camera_y__P25938.isGetter = true; +scene_Camera_y__P29586.info = {"start":1536,"length":75,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} +scene_Camera_y__P29586.isGetter = true; -function scene_Camera_y__P25938_mk(s) { +function scene_Camera_y__P29586_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P25938, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P29586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38020,7 +38020,7 @@ function scene_Camera_y__P25938_mk(s) { -function scene_Camera_x__P25937(s) { +function scene_Camera_x__P29585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38035,10 +38035,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25928_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25179); + r0 = pxsim_ImageMethods.width(globals.screen___28827); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -38046,13 +38046,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P25937.info = {"start":1453,"length":74,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} -scene_Camera_x__P25937.isGetter = true; +scene_Camera_x__P29585.info = {"start":1453,"length":74,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} +scene_Camera_x__P29585.isGetter = true; -function scene_Camera_x__P25937_mk(s) { +function scene_Camera_x__P29585_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P25937, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P29585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38064,7 +38064,7 @@ function scene_Camera_x__P25937_mk(s) { -function scene_Scene_data__P26015(s) { +function scene_Scene_data__P29663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38079,18 +38079,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25990_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C29638_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P26015.info = {"start":7014,"length":53,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P26015.isGetter = true; +scene_Scene_data__P29663.info = {"start":7014,"length":53,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P29663.isGetter = true; -function scene_Scene_data__P26015_mk(s) { +function scene_Scene_data__P29663_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P26015, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P29663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38099,7 +38099,7 @@ function scene_Scene_data__P26015_mk(s) { -function controller_AnyButton_isPressed__P27940(s) { +function controller_AnyButton_isPressed__P31588(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38109,36 +38109,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___42744 = undefined; - s.b___42748 = undefined; - s.unnamed310___U2 = undefined; - s.unnamed311___U3 = undefined; + s.ctrl___46393 = undefined; + s.b___46397 = undefined; + s.unnamed958___U2 = undefined; + s.unnamed959___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C27932_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P25275_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C31580_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P28923_mk(s); s.callLocIdx = 197; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___42744 = (r0); - s.b___42748 = (undefined); - r0 = s.ctrl___42744.fields["buttons"]; - s.unnamed310___U2 = (r0); - s.unnamed311___U3 = (0); + s.ctrl___46393 = (r0); + s.b___46397 = (undefined); + r0 = s.ctrl___46393.fields["buttons"]; + s.unnamed958___U2 = (r0); + s.unnamed959___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed311___U3; - r0 = pxsim_Array__length(s.unnamed310___U2); + s.tmp_0 = r0 = s.unnamed959___U3; + r0 = pxsim_Array__length(s.unnamed958___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed310___U2, s.unnamed311___U3); - s.b___42748 = (r0); - s.tmp_3 = controller_Button__C25336_v0_1_mk(s); - s.tmp_3.arg0 = s.b___42748; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C25336_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed958___U2, s.unnamed959___U3); + s.b___46397 = (r0); + s.tmp_3 = controller_Button__C28984_v0_1_mk(s); + s.tmp_3.arg0 = s.b___46397; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C28984_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: @@ -38150,31 +38150,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed311___U3 + 1); - s.unnamed311___U3 = (r0); + r0 = (s.unnamed959___U3 + 1); + s.unnamed959___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed310___U2 = (undefined); + s.unnamed958___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P27940.info = {"start":15736,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P31588.info = {"start":15736,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P27940_mk(s) { +function controller_AnyButton_isPressed__P31588_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P27940, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P31588, 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___42744: undefined, - b___42748: undefined, - unnamed310___U2: undefined, - unnamed311___U3: undefined, + ctrl___46393: undefined, + b___46397: undefined, + unnamed958___U2: undefined, + unnamed959___U3: undefined, arg0: undefined, } } @@ -38182,7 +38182,7 @@ function controller_AnyButton_isPressed__P27940_mk(s) { -function controller_Button_toString__P25341(s) { +function controller_Button_toString__P28989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38197,7 +38197,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25336_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C28984_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -38237,12 +38237,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P25341.info = {"start":1894,"length":100,"line":73,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} +controller_Button_toString__P28989.info = {"start":1894,"length":100,"line":73,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} -function controller_Button_toString__P25341_mk(s) { +function controller_Button_toString__P28989_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P25341, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P28989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38258,7 +38258,7 @@ function controller_Button_toString__P25341_mk(s) { -function sprites_BaseSpriteSayRenderer_constructor__P25407(s) { +function sprites_BaseSpriteSayRenderer_constructor__P29055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38276,7 +38276,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C25406_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C29054_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["fgColor"] = (s.arg2); r0 = (s.arg0).fields["bgColor"] = (s.arg3); @@ -38284,12 +38284,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_constructor__P25407.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__P29055.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__P25407_mk(s) { +function sprites_BaseSpriteSayRenderer_constructor__P29055_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P25407, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P29055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -38301,7 +38301,7 @@ function sprites_BaseSpriteSayRenderer_constructor__P25407_mk(s) { -function sprites_StaticObstacle_width__P25655(s) { +function sprites_StaticObstacle_width__P29303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38316,20 +38316,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25645_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C29293_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__P25655.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__P25655.isGetter = true; +sprites_StaticObstacle_width__P29303.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__P29303.isGetter = true; -function sprites_StaticObstacle_width__P25655_mk(s) { +function sprites_StaticObstacle_width__P29303_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P25655, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P29303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38339,7 +38339,7 @@ function sprites_StaticObstacle_width__P25655_mk(s) { -function sprites_StaticObstacle_height__P25654(s) { +function sprites_StaticObstacle_height__P29302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38354,20 +38354,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25645_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C29293_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__P25654.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__P25654.isGetter = true; +sprites_StaticObstacle_height__P29302.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__P29302.isGetter = true; -function sprites_StaticObstacle_height__P25654_mk(s) { +function sprites_StaticObstacle_height__P29302_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P25654, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P29302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38377,7 +38377,7 @@ function sprites_StaticObstacle_height__P25654_mk(s) { -function sprites_StaticObstacle_y__P25653(s) { +function sprites_StaticObstacle_y__P29301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38392,7 +38392,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25645_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C29293_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -38405,13 +38405,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P25653.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__P25653.isGetter = true; +sprites_StaticObstacle_y__P29301.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__P29301.isGetter = true; -function sprites_StaticObstacle_y__P25653_mk(s) { +function sprites_StaticObstacle_y__P29301_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P25653, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P29301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38424,7 +38424,7 @@ function sprites_StaticObstacle_y__P25653_mk(s) { -function sprites_StaticObstacle_x__P25652(s) { +function sprites_StaticObstacle_x__P29300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38439,7 +38439,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25645_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C29293_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -38452,13 +38452,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P25652.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__P25652.isGetter = true; +sprites_StaticObstacle_x__P29300.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__P29300.isGetter = true; -function sprites_StaticObstacle_x__P25652_mk(s) { +function sprites_StaticObstacle_x__P29300_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P25652, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P29300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38471,7 +38471,7 @@ function sprites_StaticObstacle_x__P25652_mk(s) { -function tiles_Location_top__P25848(s) { +function tiles_Location_top__P29496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38486,10 +38486,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C29488_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P25842_mk(s); + s.tmp_3 = tiles_Location_tileMap__P29490_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 818; s.pc = 1; return s.tmp_3; case 1: @@ -38501,13 +38501,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_top__P25848.info = {"start":1791,"length":83,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"top","argumentNames":["this"]} -tiles_Location_top__P25848.isGetter = true; +tiles_Location_top__P29496.info = {"start":1791,"length":83,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"top","argumentNames":["this"]} +tiles_Location_top__P29496.isGetter = true; -function tiles_Location_top__P25848_mk(s) { +function tiles_Location_top__P29496_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_top__P25848, depth: s.depth + 1, + parent: s, fn: tiles_Location_top__P29496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38520,7 +38520,7 @@ function tiles_Location_top__P25848_mk(s) { -function tiles_Location_left__P25847(s) { +function tiles_Location_left__P29495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38535,10 +38535,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C29488_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P25842_mk(s); + s.tmp_3 = tiles_Location_tileMap__P29490_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 816; s.pc = 1; return s.tmp_3; case 1: @@ -38550,13 +38550,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_left__P25847.info = {"start":1579,"length":84,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"left","argumentNames":["this"]} -tiles_Location_left__P25847.isGetter = true; +tiles_Location_left__P29495.info = {"start":1579,"length":84,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"left","argumentNames":["this"]} +tiles_Location_left__P29495.isGetter = true; -function tiles_Location_left__P25847_mk(s) { +function tiles_Location_left__P29495_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_left__P25847, depth: s.depth + 1, + parent: s, fn: tiles_Location_left__P29495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38569,7 +38569,7 @@ function tiles_Location_left__P25847_mk(s) { -function tiles_Location_y__P25846(s) { +function tiles_Location_y__P29494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38579,26 +38579,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___32120 = undefined; + s.scale___35769 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25840_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P25842_mk(s); + if (!checkSubtype(r0, tiles_Location__C29488_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P29490_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 814; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___32120 = (r0); + s.scale___35769 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___32120); + r0 = (s.tmp_1 << s.scale___35769); s.tmp_0 = r0; - r0 = (s.scale___32120 - 1); + r0 = (s.scale___35769 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -38606,19 +38606,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P25846.info = {"start":1315,"length":135,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} -tiles_Location_y__P25846.isGetter = true; +tiles_Location_y__P29494.info = {"start":1315,"length":135,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P29494.isGetter = true; -function tiles_Location_y__P25846_mk(s) { +function tiles_Location_y__P29494_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P25846, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P29494, 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___32120: undefined, + scale___35769: undefined, arg0: undefined, } } @@ -38626,7 +38626,7 @@ function tiles_Location_y__P25846_mk(s) { -function tiles_Location_x__P25845(s) { +function tiles_Location_x__P29493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38636,26 +38636,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___32140 = undefined; + s.scale___35789 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25840_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P25842_mk(s); + if (!checkSubtype(r0, tiles_Location__C29488_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P29490_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 812; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___32140 = (r0); + s.scale___35789 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___32140); + r0 = (s.tmp_1 << s.scale___35789); s.tmp_0 = r0; - r0 = (s.scale___32140 - 1); + r0 = (s.scale___35789 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -38663,19 +38663,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P25845.info = {"start":1054,"length":135,"line":45,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} -tiles_Location_x__P25845.isGetter = true; +tiles_Location_x__P29493.info = {"start":1054,"length":135,"line":45,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P29493.isGetter = true; -function tiles_Location_x__P25845_mk(s) { +function tiles_Location_x__P29493_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P25845, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P29493, 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___32140: undefined, + scale___35789: undefined, arg0: undefined, } } @@ -38683,7 +38683,7 @@ function tiles_Location_x__P25845_mk(s) { -function particles_ShapeFactory_drawParticle__P26380(s) { +function particles_ShapeFactory_drawParticle__P30028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38693,7 +38693,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___42795 = undefined; + s.pImage___46444 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38702,8 +38702,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C26377_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P26228_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C30025_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P29876_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -38713,12 +38713,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___42795 = (r0); + s.pImage___46444 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___42795, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___25179; - s.tmp_1 = r0 = s.pImage___42795; + r0 = pxsim_ImageMethods.replace(s.pImage___46444, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___28827; + s.tmp_1 = r0 = s.pImage___46444; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -38740,12 +38740,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P26380.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__P30028.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__P26380_mk(s) { +function particles_ShapeFactory_drawParticle__P30028_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P26380, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P30028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38757,7 +38757,7 @@ function particles_ShapeFactory_drawParticle__P26380_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___42795: undefined, + pImage___46444: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38768,7 +38768,7 @@ function particles_ShapeFactory_drawParticle__P26380_mk(s) { -function Math_FastRandom_pickRandom__P26228(s) { +function Math_FastRandom_pickRandom__P29876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38784,7 +38784,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C26223_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C29871_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -38807,7 +38807,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P26227_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P29875_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -38823,12 +38823,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P26228.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__P29876.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__P26228_mk(s) { +function Math_FastRandom_pickRandom__P29876_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P26228, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P29876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38846,7 +38846,7 @@ function Math_FastRandom_pickRandom__P26228_mk(s) { -function particles_AreaFactory_drawParticle__P26368(s) { +function particles_AreaFactory_drawParticle__P30016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38856,7 +38856,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___42841 = undefined; + s.col___46490 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38865,7 +38865,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C26361_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C30009_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -38892,8 +38892,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___42841 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___25179; + s.col___46490 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___28827; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -38902,17 +38902,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___42841); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___46490); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P26368.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__P30016.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__P26368_mk(s) { +function particles_AreaFactory_drawParticle__P30016_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P26368, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P30016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38920,7 +38920,7 @@ function particles_AreaFactory_drawParticle__P26368_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___42841: undefined, + col___46490: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38931,7 +38931,7 @@ function particles_AreaFactory_drawParticle__P26368_mk(s) { -function particles_SprayFactory_drawParticle__P26358(s) { +function particles_SprayFactory_drawParticle__P30006(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38949,8 +38949,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C26355_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___25179; + if (!checkSubtype(r0, particles_SprayFactory__C30003_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___28827; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -38964,12 +38964,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P26358.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__P30006.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__P26358_mk(s) { +function particles_SprayFactory_drawParticle__P30006_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P26358, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P30006, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38986,7 +38986,7 @@ function particles_SprayFactory_drawParticle__P26358_mk(s) { -function scene_Renderable___drawCore__P25950(s) { +function scene_Renderable___drawCore__P29598(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39002,10 +39002,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C25947_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C29595_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___25179; + s.tmp_0.arg1 = globals.screen___28827; 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); @@ -39022,12 +39022,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P25950.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__P29598.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__P25950_mk(s) { +function scene_Renderable___drawCore__P29598_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P25950, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P29598, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39038,7 +39038,7 @@ function scene_Renderable___drawCore__P25950_mk(s) { -function scene_Renderable___visible__P25949(s) { +function scene_Renderable___visible__P29597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39053,7 +39053,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C25947_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C29595_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -39070,12 +39070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P25949.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__P29597.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__P25949_mk(s) { +function scene_Renderable___visible__P29597_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P25949, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P29597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39085,7 +39085,7 @@ function scene_Renderable___visible__P25949_mk(s) { -function Sprite___drawCore__P25562(s) { +function Sprite___drawCore__P29210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39095,24 +39095,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___42881 = undefined; - s.oy___42889 = undefined; - s.l___42897 = undefined; - s.t___42903 = undefined; + s.ox___46530 = undefined; + s.oy___46538 = undefined; + s.l___46546 = undefined; + s.t___46552 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_0 = Sprite_drawSay__P27960_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_0 = Sprite_drawSay__P31608_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 383; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_1 = Sprite_isOutOfScreen__P25561_mk(s); + s.tmp_1 = Sprite_isOutOfScreen__P29209_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 384; s.pc = 9; return s.tmp_1; @@ -39137,7 +39137,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___42881 = (s.tmp_4); + s.ox___46530 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -39151,42 +39151,42 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___42889 = (s.tmp_2); - s.tmp_2 = Sprite_left__P25546_mk(s); + s.oy___46538 = (s.tmp_2); + s.tmp_2 = Sprite_left__P29194_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 385; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___42881); + r0 = (s.tmp_1 - s.ox___46530); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___42897 = (r0); - s.tmp_2 = Sprite_top__P25550_mk(s); + s.l___46546 = (r0); + s.tmp_2 = Sprite_top__P29198_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 386; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___42889); + r0 = (s.tmp_1 - s.oy___46538); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___42903 = (r0); - s.tmp_0 = Sprite__C25488_v6_3_mk(s); + s.t___46552 = (r0); + s.tmp_0 = Sprite__C29136_v6_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___42897; - s.tmp_0.arg2 = s.t___42903; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C25488_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.l___46546; + s.tmp_0.arg2 = s.t___46552; + if (!checkSubtype(s.tmp_0.arg0, Sprite__C29136_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawSprite; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = Sprite_drawDebug__P27961_mk(s); + s.tmp_0 = Sprite_drawDebug__P31609_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___42897; - s.tmp_0.arg2 = s.t___42903; - s.tmp_0.arg3 = s.ox___42881; - s.tmp_0.arg4 = s.oy___42889; + s.tmp_0.arg1 = s.l___46546; + s.tmp_0.arg2 = s.t___46552; + s.tmp_0.arg3 = s.ox___46530; + s.tmp_0.arg4 = s.oy___46538; s.callLocIdx = 387; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -39195,22 +39195,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P25562.info = {"start":18194,"length":462,"line":613,"column":4,"endLine":626,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P29210.info = {"start":18194,"length":462,"line":613,"column":4,"endLine":626,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P25562_mk(s) { +function Sprite___drawCore__P29210_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P25562, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P29210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - ox___42881: undefined, - oy___42889: undefined, - l___42897: undefined, - t___42903: undefined, + ox___46530: undefined, + oy___46538: undefined, + l___46546: undefined, + t___46552: undefined, arg0: undefined, arg1: undefined, } } @@ -39219,7 +39219,7 @@ function Sprite___drawCore__P25562_mk(s) { -function Sprite_drawSprite__P27962(s) { +function Sprite_drawSprite__P31610(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39236,8 +39236,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); - s.tmp_3 = Sprite_isScaled__P27959_mk(s); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); + s.tmp_3 = Sprite_isScaled__P31607_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 485; s.pc = 3; return s.tmp_3; case 3: @@ -39251,20 +39251,20 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___25179, s.tmp_4, s.arg1, s.arg2); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___28827, s.tmp_4, s.arg1, s.arg2); { step = 2; continue; } case 1: - s.tmp_0 = helpers_imageBlit__P25100_mk(s); - s.tmp_0.arg0 = globals.screen___25179; + s.tmp_0 = helpers_imageBlit__P28748_mk(s); + s.tmp_0.arg0 = globals.screen___28827; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = Sprite_width__P25544_mk(s); + s.tmp_1 = Sprite_width__P29192_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 486; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_2 = Sprite_height__P25545_mk(s); + s.tmp_2 = Sprite_height__P29193_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 487; s.pc = 6; return s.tmp_2; case 6: @@ -39292,12 +39292,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSprite__P27962.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} +Sprite_drawSprite__P31610.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} -function Sprite_drawSprite__P27962_mk(s) { +function Sprite_drawSprite__P31610_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSprite__P27962, depth: s.depth + 1, + parent: s, fn: Sprite_drawSprite__P31610, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39313,7 +39313,7 @@ function Sprite_drawSprite__P27962_mk(s) { -function Sprite_drawDebug__P27961(s) { +function Sprite_drawDebug__P31609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39323,9 +39323,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___42927 = undefined; - s.tx___42931 = undefined; - s.ty___42933 = undefined; + s.font___46576 = undefined; + s.tx___46580 = undefined; + s.ty___46582 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39335,17 +39335,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 64); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.font___42927 = (globals.font5___25127); - s.tx___42931 = (s.arg1); + s.font___46576 = (globals.font5___28775); + s.tx___46580 = (s.arg1); s.tmp_1 = r0 = s.arg2; - s.tmp_3 = Sprite_height__P25545_mk(s); + s.tmp_3 = Sprite_height__P29193_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 461; s.pc = 13; return s.tmp_3; case 13: @@ -39354,12 +39354,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___42933 = (r0); - s.tmp_0 = helpers_imagePrint__P25137_mk(s); - s.tmp_0.arg0 = globals.screen___25179; + s.ty___46582 = (r0); + s.tmp_0 = helpers_imagePrint__P28785_mk(s); + s.tmp_0.arg0 = globals.screen___28827; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P25501_mk(s); + s.tmp_7 = Sprite_x__P29149_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 462; s.pc = 15; return s.tmp_7; case 15: @@ -39380,7 +39380,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P25503_mk(s); + s.tmp_11 = Sprite_y__P29151_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 463; s.pc = 17; return s.tmp_11; case 17: @@ -39399,17 +39399,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___42931; - s.tmp_0.arg3 = s.ty___42933; + s.tmp_0.arg2 = s.tx___46580; + s.tmp_0.arg3 = s.ty___46582; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___42927; + s.tmp_0.arg5 = s.font___46576; s.tmp_0.arg6 = undefined; s.callLocIdx = 464; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = r0 = s.tx___42931; + s.tmp_0 = r0 = s.tx___46580; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___42927; + s.tmp_2.arg0 = s.font___46576; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -39422,8 +39422,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___42931 = (r0); - s.tmp_1 = Sprite_vx__P25505_mk(s); + s.tx___46580 = (r0); + s.tmp_1 = Sprite_vx__P29153_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 466; s.pc = 20; return s.tmp_1; case 20: @@ -39434,7 +39434,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P25507_mk(s); + s.tmp_2 = Sprite_vy__P29155_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 467; s.pc = 21; return s.tmp_2; case 21: @@ -39444,9 +39444,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = s.ty___42933; + s.tmp_4 = r0 = s.ty___46582; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___42927; + s.tmp_7.arg0 = s.font___46576; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -39461,10 +39461,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___42933 = (r0); - s.tmp_0 = helpers_imagePrint__P25137_mk(s); - s.tmp_0.arg0 = globals.screen___25179; - s.tmp_6 = Sprite_vx__P25505_mk(s); + s.ty___46582 = (r0); + s.tmp_0 = helpers_imagePrint__P28785_mk(s); + s.tmp_0.arg0 = globals.screen___28827; + s.tmp_6 = Sprite_vx__P29153_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 469; s.pc = 24; return s.tmp_6; case 24: @@ -39485,7 +39485,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P25507_mk(s); + s.tmp_10 = Sprite_vy__P29155_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 470; s.pc = 26; return s.tmp_10; case 26: @@ -39504,17 +39504,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___42931; - s.tmp_0.arg3 = s.ty___42933; + s.tmp_0.arg2 = s.tx___46580; + s.tmp_0.arg3 = s.ty___46582; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___42927; + s.tmp_0.arg5 = s.font___46576; s.tmp_0.arg6 = undefined; s.callLocIdx = 471; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 3: case 4: - s.tmp_1 = Sprite_ax__P25509_mk(s); + s.tmp_1 = Sprite_ax__P29157_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 472; s.pc = 28; return s.tmp_1; case 28: @@ -39525,7 +39525,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_ay__P25511_mk(s); + s.tmp_2 = Sprite_ay__P29159_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 473; s.pc = 29; return s.tmp_2; case 29: @@ -39535,9 +39535,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = r0 = s.ty___42933; + s.tmp_4 = r0 = s.ty___46582; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___42927; + s.tmp_7.arg0 = s.font___46576; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -39552,10 +39552,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___42933 = (r0); - s.tmp_0 = helpers_imagePrint__P25137_mk(s); - s.tmp_0.arg0 = globals.screen___25179; - s.tmp_6 = Sprite_ax__P25509_mk(s); + s.ty___46582 = (r0); + s.tmp_0 = helpers_imagePrint__P28785_mk(s); + s.tmp_0.arg0 = globals.screen___28827; + s.tmp_6 = Sprite_ax__P29157_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 475; s.pc = 32; return s.tmp_6; case 32: @@ -39576,7 +39576,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P25511_mk(s); + s.tmp_10 = Sprite_ay__P29159_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 476; s.pc = 34; return s.tmp_10; case 34: @@ -39595,10 +39595,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___42931; - s.tmp_0.arg3 = s.ty___42933; + s.tmp_0.arg2 = s.tx___46580; + s.tmp_0.arg3 = s.ty___46582; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___42927; + s.tmp_0.arg5 = s.font___46576; s.tmp_0.arg6 = undefined; s.callLocIdx = 477; s.pc = 31; return s.tmp_0; case 31: @@ -39607,11 +39607,11 @@ switch (step) { case 8: case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.debug___26114); + r0 = pxsim_numops_toBoolDecr(globals.debug___29762); if (!r0) { step = 11; continue; } - s.tmp_0 = helpers_imageDrawRect__P25106_mk(s); - s.tmp_0.arg0 = globals.screen___25179; - s.tmp_3 = game_Hitbox_left__P25363_mk(s); + s.tmp_0 = helpers_imageDrawRect__P28754_mk(s); + s.tmp_0.arg0 = globals.screen___28827; + s.tmp_3 = game_Hitbox_left__P29011_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 478; s.pc = 37; return s.tmp_3; @@ -39624,7 +39624,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - s.arg3); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P25364_mk(s); + s.tmp_7 = game_Hitbox_top__P29012_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 480; s.pc = 38; return s.tmp_7; @@ -39661,12 +39661,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawDebug__P27961.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} +Sprite_drawDebug__P31609.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} -function Sprite_drawDebug__P27961_mk(s) { +function Sprite_drawDebug__P31609_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawDebug__P27961, depth: s.depth + 1, + parent: s, fn: Sprite_drawDebug__P31609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39681,9 +39681,9 @@ function Sprite_drawDebug__P27961_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - font___42927: undefined, - tx___42931: undefined, - ty___42933: undefined, + font___46576: undefined, + tx___46580: undefined, + ty___46582: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39695,7 +39695,7 @@ function Sprite_drawDebug__P27961_mk(s) { -function Sprite_drawSay__P27960(s) { +function Sprite_drawSay__P31608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39711,7 +39711,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -39730,23 +39730,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 1; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C25406_v0_4_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C29054_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = globals.screen___25179; + s.tmp_6.arg1 = globals.screen___28827; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C25406_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C29054_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.draw; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C25406_v2_1_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C29054_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C25406_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C29054_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.destroy; s.pc = 8; return s.tmp_0; case 8: @@ -39756,13 +39756,13 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C25406_v0_4_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C29054_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.screen___25179; + s.tmp_0.arg1 = globals.screen___28827; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C25406_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C29054_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw; s.pc = 9; return s.tmp_0; case 9: @@ -39774,12 +39774,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSay__P27960.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} +Sprite_drawSay__P31608.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} -function Sprite_drawSay__P27960_mk(s) { +function Sprite_drawSay__P31608_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSay__P27960, depth: s.depth + 1, + parent: s, fn: Sprite_drawSay__P31608, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39796,7 +39796,7 @@ function Sprite_drawSay__P27960_mk(s) { -function sprites_BaseSpriteSayRenderer_destroy__P25410(s) { +function sprites_BaseSpriteSayRenderer_destroy__P29058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39811,17 +39811,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C25406_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C29054_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_destroy__P25410.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__P29058.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__P25410_mk(s) { +function sprites_BaseSpriteSayRenderer_destroy__P29058_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P25410, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P29058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39830,7 +39830,7 @@ function sprites_BaseSpriteSayRenderer_destroy__P25410_mk(s) { -function sprites_BaseSpriteSayRenderer_draw__P25408(s) { +function sprites_BaseSpriteSayRenderer_draw__P29056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39848,17 +39848,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C25406_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C29054_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_draw__P25408.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__P29056.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__P25408_mk(s) { +function sprites_BaseSpriteSayRenderer_draw__P29056_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P25408, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P29056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39870,7 +39870,7 @@ function sprites_BaseSpriteSayRenderer_draw__P25408_mk(s) { -function Sprite___visible__P25543(s) { +function Sprite___visible__P29191(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39885,7 +39885,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25488_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C29136_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -39896,12 +39896,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P25543.info = {"start":9904,"length":72,"line":359,"column":4,"endLine":361,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P29191.info = {"start":9904,"length":72,"line":359,"column":4,"endLine":361,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P25543_mk(s) { +function Sprite___visible__P29191_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P25543, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P29191, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39913,7 +39913,7 @@ function Sprite___visible__P25543_mk(s) { -function scene_Camera_top__P25941(s) { +function scene_Camera_top__P29589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39928,18 +39928,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25928_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P25941.info = {"start":1764,"length":54,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} -scene_Camera_top__P25941.isGetter = true; +scene_Camera_top__P29589.info = {"start":1764,"length":54,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} +scene_Camera_top__P29589.isGetter = true; -function scene_Camera_top__P25941_mk(s) { +function scene_Camera_top__P29589_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P25941, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P29589, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39948,7 +39948,7 @@ function scene_Camera_top__P25941_mk(s) { -function scene_Camera_left__P25939(s) { +function scene_Camera_left__P29587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39963,18 +39963,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25928_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C29576_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P25939.info = {"start":1620,"length":55,"line":54,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} -scene_Camera_left__P25939.isGetter = true; +scene_Camera_left__P29587.info = {"start":1620,"length":55,"line":54,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} +scene_Camera_left__P29587.isGetter = true; -function scene_Camera_left__P25939_mk(s) { +function scene_Camera_left__P29587_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P25939, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P29587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39982,7 +39982,7 @@ function scene_Camera_left__P25939_mk(s) { -function PhysicsEngine__C25658_v4_2_mk(s) { +function PhysicsEngine__C29306_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40028,7 +40028,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C25658_v3_1_mk(s) { +function PhysicsEngine__C29306_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40199,7 +40199,7 @@ function lambda_3_mk(s) { } } -function controller_Button__C25336_v0_1_mk(s) { +function controller_Button__C28984_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40316,7 +40316,7 @@ function if_effect_3_mk(s) { } } -function Sprite__C25488_v5_1_mk(s) { +function Sprite__C29136_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40330,7 +40330,7 @@ function Sprite__C25488_v5_1_mk(s) { } } -function Sprite__C25488_v4_1_mk(s) { +function Sprite__C29136_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40360,7 +40360,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C25658_v1_2_mk(s) { +function PhysicsEngine__C29306_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40558,7 +40558,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C25658_v2_4_mk(s) { +function PhysicsEngine__C29306_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40632,7 +40632,7 @@ function if_z_2_mk(s) { } } -function PhysicsEngine__C25658_v0_2_mk(s) { +function PhysicsEngine__C29306_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40690,7 +40690,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C26351_v0_2_mk(s) { +function particles_ParticleFactory__C29999_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40705,7 +40705,7 @@ function particles_ParticleFactory__C26351_v0_2_mk(s) { } } -function particles_ParticleSource__C26315_v4_3_mk(s) { +function particles_ParticleSource__C29963_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40763,7 +40763,7 @@ function if_height_1_mk(s) { } } -function particles_ParticleFactory__C26351_v1_4_mk(s) { +function particles_ParticleFactory__C29999_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40838,7 +40838,7 @@ function if_top_1_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C25406_v1_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C29054_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40855,7 +40855,7 @@ function sprites_BaseSpriteSayRenderer__C25406_v1_4_mk(s) { } } -function sprites_BaseSprite__C25241_v0_1_mk(s) { +function sprites_BaseSprite__C28889_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40869,7 +40869,7 @@ function sprites_BaseSprite__C25241_v0_1_mk(s) { } } -function sprites_BaseSprite__C25241_v2_2_mk(s) { +function sprites_BaseSprite__C28889_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40898,7 +40898,7 @@ function if_shouldBeVisible_1_mk(s) { } } -function Sprite__C25488_v6_3_mk(s) { +function Sprite__C29136_v6_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40914,7 +40914,7 @@ function Sprite__C25488_v6_3_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C25406_v0_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C29054_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40931,7 +40931,7 @@ function sprites_BaseSpriteSayRenderer__C25406_v0_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C25406_v2_1_mk(s) { +function sprites_BaseSpriteSayRenderer__C29054_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40986,7 +40986,7 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Controller__C25281_VT = mkVTable({ +const controller_Controller__C28929_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 16, @@ -41005,28 +41005,28 @@ const controller_Controller__C25281_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P25286, - "set/_controlledSprites": controller_Controller__controlledSprites__P25287, - "id": controller_Controller_id__P25288, - "left": controller_Controller_left__P25290, - "right": controller_Controller_right__P25291, - "up": controller_Controller_up__P25292, - "down": controller_Controller_down__P25293, - "button": controller_Controller_button__P27931, - "connected": controller_Controller_connected__P25302, - "set/connected": controller_Controller_connected__P25303, - "__preUpdate": controller_Controller___preUpdate__P25309, - "__update": controller_Controller___update__P25310, + "_controlledSprites": controller_Controller__controlledSprites__P28934, + "set/_controlledSprites": controller_Controller__controlledSprites__P28935, + "id": controller_Controller_id__P28936, + "left": controller_Controller_left__P28938, + "right": controller_Controller_right__P28939, + "up": controller_Controller_up__P28940, + "down": controller_Controller_down__P28941, + "button": controller_Controller_button__P31579, + "connected": controller_Controller_connected__P28950, + "set/connected": controller_Controller_connected__P28951, + "__preUpdate": controller_Controller___preUpdate__P28957, + "__update": controller_Controller___update__P28958, }, }); -const controller_Button__C25336_VT = mkVTable({ +const controller_Button__C28984_VT = mkVTable({ name: "Button", numFields: 7, classNo: 17, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P25347, + "isPressed": controller_Button_isPressed__P28995, }, iface: { "_owner": null, @@ -41043,29 +41043,29 @@ const controller_Button__C25336_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "handlerState": controller_Button_handlerState__P27934, - "toString": controller_Button_toString__P25341, - "raiseButtonUp": controller_Button_raiseButtonUp__P27935, - "raiseButtonDown": controller_Button_raiseButtonDown__P27936, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P27937, - "onEvent": controller_Button_onEvent__P25343, - "isPressed": controller_Button_isPressed__P25347, - "pressureLevel": controller_Button_pressureLevel__P25348, - "setPressed": controller_Button_setPressed__P25349, - "__update": controller_Button___update__P25350, - "runButtonEvents": controller_Button_runButtonEvents__P27938, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P27939, + "handlerState": controller_Button_handlerState__P31582, + "toString": controller_Button_toString__P28989, + "raiseButtonUp": controller_Button_raiseButtonUp__P31583, + "raiseButtonDown": controller_Button_raiseButtonDown__P31584, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P31585, + "onEvent": controller_Button_onEvent__P28991, + "isPressed": controller_Button_isPressed__P28995, + "pressureLevel": controller_Button_pressureLevel__P28996, + "setPressed": controller_Button_setPressed__P28997, + "__update": controller_Button___update__P28998, + "runButtonEvents": controller_Button_runButtonEvents__P31586, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P31587, }, - toStringMethod: controller_Button_toString__P25341, + toStringMethod: controller_Button_toString__P28989, }); -const controller_AnyButton__C27932_VT = mkVTable({ +const controller_AnyButton__C31580_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 18, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P27940, + "isPressed": controller_AnyButton_isPressed__P31588, }, iface: { "_owner": null, @@ -41082,21 +41082,21 @@ const controller_AnyButton__C27932_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P27940, - "handlerState": controller_Button_handlerState__P27934, - "toString": controller_Button_toString__P25341, - "raiseButtonUp": controller_Button_raiseButtonUp__P27935, - "raiseButtonDown": controller_Button_raiseButtonDown__P27936, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P27937, - "onEvent": controller_Button_onEvent__P25343, - "pressureLevel": controller_Button_pressureLevel__P25348, - "setPressed": controller_Button_setPressed__P25349, - "__update": controller_Button___update__P25350, - "runButtonEvents": controller_Button_runButtonEvents__P27938, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P27939, + "isPressed": controller_AnyButton_isPressed__P31588, + "handlerState": controller_Button_handlerState__P31582, + "toString": controller_Button_toString__P28989, + "raiseButtonUp": controller_Button_raiseButtonUp__P31583, + "raiseButtonDown": controller_Button_raiseButtonDown__P31584, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P31585, + "onEvent": controller_Button_onEvent__P28991, + "pressureLevel": controller_Button_pressureLevel__P28996, + "setPressed": controller_Button_setPressed__P28997, + "__update": controller_Button___update__P28998, + "runButtonEvents": controller_Button_runButtonEvents__P31586, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P31587, }, }); -const game_GameOverConfig__C26137_VT = mkVTable({ +const game_GameOverConfig__C29785_VT = mkVTable({ name: "GameOverConfig", numFields: 14, classNo: 19, @@ -41133,10 +41133,10 @@ const game_GameOverConfig__C26137_VT = mkVTable({ "set/messageSetByUser": null, "scoringTypeSetByUser": null, "set/scoringTypeSetByUser": null, - "init": game_GameOverConfig_init__P26153, + "init": game_GameOverConfig_init__P29801, }, }); -const Math_FastRandom__C26223_VT = mkVTable({ +const Math_FastRandom__C29871_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 20, @@ -41149,12 +41149,12 @@ const Math_FastRandom__C26223_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P26226, - "randomRange": Math_FastRandom_randomRange__P26227, - "pickRandom": Math_FastRandom_pickRandom__P26228, + "next": Math_FastRandom_next__P29874, + "randomRange": Math_FastRandom_randomRange__P29875, + "pickRandom": Math_FastRandom_pickRandom__P29876, }, }); -const scene_Scene__C25990_VT = mkVTable({ +const scene_Scene__C29638_VT = mkVTable({ name: "Scene", numFields: 25, classNo: 21, @@ -41213,14 +41213,14 @@ const scene_Scene__C25990_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P26014, - "data": scene_Scene_data__P26015, - "millis": scene_Scene_millis__P26016, - "addSprite": scene_Scene_addSprite__P26017, - "render": scene_Scene_render__P26019, + "init": scene_Scene_init__P29662, + "data": scene_Scene_data__P29663, + "millis": scene_Scene_millis__P29664, + "addSprite": scene_Scene_addSprite__P29665, + "render": scene_Scene_render__P29667, }, }); -const control_EventContext__C23541_VT = mkVTable({ +const control_EventContext__C27189_VT = mkVTable({ name: "EventContext", numFields: 10, classNo: 22, @@ -41249,37 +41249,37 @@ const control_EventContext__C23541_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P23546, - "runCallbacks": control_EventContext_runCallbacks__P27647, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P27648, - "register": control_EventContext_register__P23547, - "unregister": control_EventContext_unregister__P23548, - "registerFrameHandler": control_EventContext_registerFrameHandler__P23549, - "registerHandler": control_EventContext_registerHandler__P23551, + "deltaTime": control_EventContext_deltaTime__P27194, + "runCallbacks": control_EventContext_runCallbacks__P31295, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P31296, + "register": control_EventContext_register__P27195, + "unregister": control_EventContext_unregister__P27196, + "registerFrameHandler": control_EventContext_registerFrameHandler__P27197, + "registerHandler": control_EventContext_registerHandler__P27199, }, }); -const PhysicsEngine__C25658_VT = mkVTable({ +const PhysicsEngine__C29306_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 23, lastSubtypeNo: 24, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P25660, - "removeSprite": PhysicsEngine_removeSprite__P25661, - "moveSprite": PhysicsEngine_moveSprite__P25662, - "draw": PhysicsEngine_draw__P25663, - "move": PhysicsEngine_move__P25664, + "addSprite": PhysicsEngine_addSprite__P29308, + "removeSprite": PhysicsEngine_removeSprite__P29309, + "moveSprite": PhysicsEngine_moveSprite__P29310, + "draw": PhysicsEngine_draw__P29311, + "move": PhysicsEngine_move__P29312, }, iface: { - "addSprite": PhysicsEngine_addSprite__P25660, - "removeSprite": PhysicsEngine_removeSprite__P25661, - "moveSprite": PhysicsEngine_moveSprite__P25662, - "draw": PhysicsEngine_draw__P25663, - "move": PhysicsEngine_move__P25664, + "addSprite": PhysicsEngine_addSprite__P29308, + "removeSprite": PhysicsEngine_removeSprite__P29309, + "moveSprite": PhysicsEngine_moveSprite__P29310, + "draw": PhysicsEngine_draw__P29311, + "move": PhysicsEngine_move__P29312, }, }); -const scene_Camera__C25928_VT = mkVTable({ +const scene_Camera__C29576_VT = mkVTable({ name: "Camera", numFields: 10, classNo: 25, @@ -41308,19 +41308,19 @@ const scene_Camera__C25928_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P25933, - "set/offsetX": scene_Camera_offsetX__P25934, - "offsetY": scene_Camera_offsetY__P25935, - "set/offsetY": scene_Camera_offsetY__P25936, - "x": scene_Camera_x__P25937, - "y": scene_Camera_y__P25938, - "left": scene_Camera_left__P25939, - "top": scene_Camera_top__P25941, - "isUpdated": scene_Camera_isUpdated__P25944, - "update": scene_Camera_update__P25945, + "offsetX": scene_Camera_offsetX__P29581, + "set/offsetX": scene_Camera_offsetX__P29582, + "offsetY": scene_Camera_offsetY__P29583, + "set/offsetY": scene_Camera_offsetY__P29584, + "x": scene_Camera_x__P29585, + "y": scene_Camera_y__P29586, + "left": scene_Camera_left__P29587, + "top": scene_Camera_top__P29589, + "isUpdated": scene_Camera_isUpdated__P29592, + "update": scene_Camera_update__P29593, }, }); -const control_EventHandler__C27642_VT = mkVTable({ +const control_EventHandler__C31290_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 26, @@ -41337,11 +41337,11 @@ const control_EventHandler__C27642_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P27643, - "unregister": control_EventHandler_unregister__P27644, + "register": control_EventHandler_register__P31291, + "unregister": control_EventHandler_unregister__P31292, }, }); -const scene_Background__C25816_VT = mkVTable({ +const scene_Background__C29464_VT = mkVTable({ name: "Background", numFields: 4, classNo: 27, @@ -41358,10 +41358,10 @@ const scene_Background__C25816_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "draw": scene_Background_draw__P25825, + "draw": scene_Background_draw__P29473, }, }); -const scene_BackgroundLayer__C25826_VT = mkVTable({ +const scene_BackgroundLayer__C29474_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 28, @@ -41382,48 +41382,48 @@ const scene_BackgroundLayer__C25826_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P25834, + "draw": scene_BackgroundLayer_draw__P29482, }, }); -const sprites_BaseSprite__C25241_VT = mkVTable({ +const sprites_BaseSprite__C28889_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 29, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P25244, - "__draw": sprites_BaseSprite___draw__P25247, - "__drawCore": sprites_BaseSprite___drawCore__P25248, - "__update": sprites_BaseSprite___update__P25249, + "__visible": sprites_BaseSprite___visible__P28892, + "__draw": sprites_BaseSprite___draw__P28895, + "__drawCore": sprites_BaseSprite___drawCore__P28896, + "__update": sprites_BaseSprite___update__P28897, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P25244, - "z": sprites_BaseSprite_z__P25245, - "set/z": sprites_BaseSprite_z__P25246, - "__draw": sprites_BaseSprite___draw__P25247, - "__drawCore": sprites_BaseSprite___drawCore__P25248, - "__update": sprites_BaseSprite___update__P25249, + "__visible": sprites_BaseSprite___visible__P28892, + "z": sprites_BaseSprite_z__P28893, + "set/z": sprites_BaseSprite_z__P28894, + "__draw": sprites_BaseSprite___draw__P28895, + "__drawCore": sprites_BaseSprite___drawCore__P28896, + "__update": sprites_BaseSprite___update__P28897, }, }); -const Sprite__C25488_VT = mkVTable({ +const Sprite__C29136_VT = mkVTable({ name: "Sprite", numFields: 30, classNo: 30, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P25543, - "__draw": sprites_BaseSprite___draw__P25247, - "__drawCore": Sprite___drawCore__P25562, - "__update": Sprite___update__P25563, - "setHitbox": Sprite_setHitbox__P25541, - "recalcSize": Sprite_recalcSize__P27958, - "drawSprite": Sprite_drawSprite__P27962, + "__visible": Sprite___visible__P29191, + "__draw": sprites_BaseSprite___draw__P28895, + "__drawCore": Sprite___drawCore__P29210, + "__update": Sprite___update__P29211, + "setHitbox": Sprite_setHitbox__P29189, + "recalcSize": Sprite_recalcSize__P31606, + "drawSprite": Sprite_drawSprite__P31610, }, iface: { "_z": null, @@ -41486,67 +41486,67 @@ const Sprite__C25488_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P25501, - "set/x": Sprite_x__P25502, - "y": Sprite_y__P25503, - "set/y": Sprite_y__P25504, - "vx": Sprite_vx__P25505, - "set/vx": Sprite_vx__P25506, - "vy": Sprite_vy__P25507, - "set/vy": Sprite_vy__P25508, - "ax": Sprite_ax__P25509, - "set/ax": Sprite_ax__P25510, - "ay": Sprite_ay__P25511, - "set/ay": Sprite_ay__P25512, - "fx": Sprite_fx__P25513, - "set/fx": Sprite_fx__P25514, - "fy": Sprite_fy__P25515, - "set/fy": Sprite_fy__P25516, - "sx": Sprite_sx__P25517, - "sy": Sprite_sy__P25519, - "data": Sprite_data__P25523, - "set/data": Sprite_data__P25524, - "image": Sprite_image__P25537, - "setImage": Sprite_setImage__P25538, - "calcDimensionalHash": Sprite_calcDimensionalHash__P25539, - "resetHitbox": Sprite_resetHitbox__P25540, - "setHitbox": Sprite_setHitbox__P25541, - "isStatic": Sprite_isStatic__P25542, - "__visible": Sprite___visible__P25543, - "recalcSize": Sprite_recalcSize__P27958, - "isScaled": Sprite_isScaled__P27959, - "width": Sprite_width__P25544, - "height": Sprite_height__P25545, - "left": Sprite_left__P25546, - "set/left": Sprite_left__P25547, - "right": Sprite_right__P25548, - "set/right": Sprite_right__P25549, - "top": Sprite_top__P25550, - "set/top": Sprite_top__P25551, - "bottom": Sprite_bottom__P25552, - "set/bottom": Sprite_bottom__P25553, - "kind": Sprite_kind__P25554, - "setKind": Sprite_setKind__P25555, - "isOutOfScreen": Sprite_isOutOfScreen__P25561, - "__drawCore": Sprite___drawCore__P25562, - "__update": Sprite___update__P25563, - "setFlag": Sprite_setFlag__P25566, - "overlapsWith": Sprite_overlapsWith__P25567, - "clearObstacles": Sprite_clearObstacles__P25572, - "registerObstacle": Sprite_registerObstacle__P25573, - "destroy": Sprite_destroy__P25575, - "_destroyCore": Sprite__destroyCore__P25576, - "toString": Sprite_toString__P25581, - "drawSay": Sprite_drawSay__P27960, - "drawDebug": Sprite_drawDebug__P27961, - "drawSprite": Sprite_drawSprite__P27962, - "z": sprites_BaseSprite_z__P25245, - "set/z": sprites_BaseSprite_z__P25246, - "__draw": sprites_BaseSprite___draw__P25247, + "x": Sprite_x__P29149, + "set/x": Sprite_x__P29150, + "y": Sprite_y__P29151, + "set/y": Sprite_y__P29152, + "vx": Sprite_vx__P29153, + "set/vx": Sprite_vx__P29154, + "vy": Sprite_vy__P29155, + "set/vy": Sprite_vy__P29156, + "ax": Sprite_ax__P29157, + "set/ax": Sprite_ax__P29158, + "ay": Sprite_ay__P29159, + "set/ay": Sprite_ay__P29160, + "fx": Sprite_fx__P29161, + "set/fx": Sprite_fx__P29162, + "fy": Sprite_fy__P29163, + "set/fy": Sprite_fy__P29164, + "sx": Sprite_sx__P29165, + "sy": Sprite_sy__P29167, + "data": Sprite_data__P29171, + "set/data": Sprite_data__P29172, + "image": Sprite_image__P29185, + "setImage": Sprite_setImage__P29186, + "calcDimensionalHash": Sprite_calcDimensionalHash__P29187, + "resetHitbox": Sprite_resetHitbox__P29188, + "setHitbox": Sprite_setHitbox__P29189, + "isStatic": Sprite_isStatic__P29190, + "__visible": Sprite___visible__P29191, + "recalcSize": Sprite_recalcSize__P31606, + "isScaled": Sprite_isScaled__P31607, + "width": Sprite_width__P29192, + "height": Sprite_height__P29193, + "left": Sprite_left__P29194, + "set/left": Sprite_left__P29195, + "right": Sprite_right__P29196, + "set/right": Sprite_right__P29197, + "top": Sprite_top__P29198, + "set/top": Sprite_top__P29199, + "bottom": Sprite_bottom__P29200, + "set/bottom": Sprite_bottom__P29201, + "kind": Sprite_kind__P29202, + "setKind": Sprite_setKind__P29203, + "isOutOfScreen": Sprite_isOutOfScreen__P29209, + "__drawCore": Sprite___drawCore__P29210, + "__update": Sprite___update__P29211, + "setFlag": Sprite_setFlag__P29214, + "overlapsWith": Sprite_overlapsWith__P29215, + "clearObstacles": Sprite_clearObstacles__P29220, + "registerObstacle": Sprite_registerObstacle__P29221, + "destroy": Sprite_destroy__P29223, + "_destroyCore": Sprite__destroyCore__P29224, + "toString": Sprite_toString__P29229, + "drawSay": Sprite_drawSay__P31608, + "drawDebug": Sprite_drawDebug__P31609, + "drawSprite": Sprite_drawSprite__P31610, + "z": sprites_BaseSprite_z__P28893, + "set/z": sprites_BaseSprite_z__P28894, + "__draw": sprites_BaseSprite___draw__P28895, }, - toStringMethod: Sprite_toString__P25581, + toStringMethod: Sprite_toString__P29229, }); -const tiles_TileMap__C25882_VT = mkVTable({ +const tiles_TileMap__C29530_VT = mkVTable({ name: "TileMap", numFields: 5, classNo: 33, @@ -41565,25 +41565,25 @@ const tiles_TileMap__C25882_VT = mkVTable({ "set/renderable": null, "handlerState": null, "set/handlerState": null, - "scale": tiles_TileMap_scale__P25885, - "set/scale": tiles_TileMap_scale__P25886, - "data": tiles_TileMap_data__P25887, - "offsetX": tiles_TileMap_offsetX__P25888, - "offsetY": tiles_TileMap_offsetY__P25889, - "areaWidth": tiles_TileMap_areaWidth__P25890, - "areaHeight": tiles_TileMap_areaHeight__P25891, - "layer": tiles_TileMap_layer__P25892, - "enabled": tiles_TileMap_enabled__P25894, - "getTile": tiles_TileMap_getTile__P25896, - "getTileIndex": tiles_TileMap_getTileIndex__P25897, - "draw": tiles_TileMap_draw__P28079, - "isObstacle": tiles_TileMap_isObstacle__P25903, - "getObstacle": tiles_TileMap_getObstacle__P25904, - "isOnWall": tiles_TileMap_isOnWall__P25905, - "getTileImage": tiles_TileMap_getTileImage__P25906, + "scale": tiles_TileMap_scale__P29533, + "set/scale": tiles_TileMap_scale__P29534, + "data": tiles_TileMap_data__P29535, + "offsetX": tiles_TileMap_offsetX__P29536, + "offsetY": tiles_TileMap_offsetY__P29537, + "areaWidth": tiles_TileMap_areaWidth__P29538, + "areaHeight": tiles_TileMap_areaHeight__P29539, + "layer": tiles_TileMap_layer__P29540, + "enabled": tiles_TileMap_enabled__P29542, + "getTile": tiles_TileMap_getTile__P29544, + "getTileIndex": tiles_TileMap_getTileIndex__P29545, + "draw": tiles_TileMap_draw__P31727, + "isObstacle": tiles_TileMap_isObstacle__P29551, + "getObstacle": tiles_TileMap_getObstacle__P29552, + "isOnWall": tiles_TileMap_isOnWall__P29553, + "getTileImage": tiles_TileMap_getTileImage__P29554, }, }); -const tiles_TileMapData__C25864_VT = mkVTable({ +const tiles_TileMapData__C29512_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 34, @@ -41606,17 +41606,17 @@ const tiles_TileMapData__C25864_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P25866, - "height": tiles_TileMapData_height__P25867, - "scale": tiles_TileMapData_scale__P25868, - "set/scale": tiles_TileMapData_scale__P25869, - "getTile": tiles_TileMapData_getTile__P25870, - "getTileImage": tiles_TileMapData_getTileImage__P25873, - "isWall": tiles_TileMapData_isWall__P25875, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P25876, + "width": tiles_TileMapData_width__P29514, + "height": tiles_TileMapData_height__P29515, + "scale": tiles_TileMapData_scale__P29516, + "set/scale": tiles_TileMapData_scale__P29517, + "getTile": tiles_TileMapData_getTile__P29518, + "getTileImage": tiles_TileMapData_getTileImage__P29521, + "isWall": tiles_TileMapData_isWall__P29523, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P29524, }, }); -const control_FrameCallback__C23538_VT = mkVTable({ +const control_FrameCallback__C27186_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 35, @@ -41631,7 +41631,7 @@ const control_FrameCallback__C23538_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C27621_VT = mkVTable({ +const control_PollEvent__C31269_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 36, @@ -41654,18 +41654,18 @@ const control_PollEvent__C27621_VT = mkVTable({ "set/once": null, }, }); -const ArcadePhysicsEngine__C25674_VT = mkVTable({ +const ArcadePhysicsEngine__C29322_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 24, lastSubtypeNo: 24, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P25683, - "removeSprite": ArcadePhysicsEngine_removeSprite__P25684, - "moveSprite": ArcadePhysicsEngine_moveSprite__P25688, - "draw": ArcadePhysicsEngine_draw__P25685, - "move": ArcadePhysicsEngine_move__P25686, + "addSprite": ArcadePhysicsEngine_addSprite__P29331, + "removeSprite": ArcadePhysicsEngine_removeSprite__P29332, + "moveSprite": ArcadePhysicsEngine_moveSprite__P29336, + "draw": ArcadePhysicsEngine_draw__P29333, + "move": ArcadePhysicsEngine_move__P29334, }, iface: { "sprites": null, @@ -41680,27 +41680,27 @@ const ArcadePhysicsEngine__C25674_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P25676, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P25677, - "minStep": ArcadePhysicsEngine_minStep__P25678, - "set/minStep": ArcadePhysicsEngine_minStep__P25679, - "maxStep": ArcadePhysicsEngine_maxStep__P25680, - "set/maxStep": ArcadePhysicsEngine_maxStep__P25681, - "addSprite": ArcadePhysicsEngine_addSprite__P25683, - "removeSprite": ArcadePhysicsEngine_removeSprite__P25684, - "draw": ArcadePhysicsEngine_draw__P25685, - "move": ArcadePhysicsEngine_move__P25686, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P28003, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P28004, - "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P28005, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P28006, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P28007, - "moveSprite": ArcadePhysicsEngine_moveSprite__P25688, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P28008, - "constrain": ArcadePhysicsEngine_constrain__P28009, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P29324, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P29325, + "minStep": ArcadePhysicsEngine_minStep__P29326, + "set/minStep": ArcadePhysicsEngine_minStep__P29327, + "maxStep": ArcadePhysicsEngine_maxStep__P29328, + "set/maxStep": ArcadePhysicsEngine_maxStep__P29329, + "addSprite": ArcadePhysicsEngine_addSprite__P29331, + "removeSprite": ArcadePhysicsEngine_removeSprite__P29332, + "draw": ArcadePhysicsEngine_draw__P29333, + "move": ArcadePhysicsEngine_move__P29334, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P31651, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P31652, + "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P31653, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P31654, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P31655, + "moveSprite": ArcadePhysicsEngine_moveSprite__P29336, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P31656, + "constrain": ArcadePhysicsEngine_constrain__P31657, }, }); -const sprites_SpriteMap__C25593_VT = mkVTable({ +const sprites_SpriteMap__C29241_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 37, @@ -41719,20 +41719,20 @@ const sprites_SpriteMap__C25593_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P25595, - "overlaps": sprites_SpriteMap_overlaps__P25596, - "draw": sprites_SpriteMap_draw__P25597, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P25598, - "clear": sprites_SpriteMap_clear__P25599, - "key": sprites_SpriteMap_key__P27966, - "insertAtKey": sprites_SpriteMap_insertAtKey__P27967, - "insertAABB": sprites_SpriteMap_insertAABB__P25600, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P27968, - "toString": sprites_SpriteMap_toString__P25601, + "neighbors": sprites_SpriteMap_neighbors__P29243, + "overlaps": sprites_SpriteMap_overlaps__P29244, + "draw": sprites_SpriteMap_draw__P29245, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P29246, + "clear": sprites_SpriteMap_clear__P29247, + "key": sprites_SpriteMap_key__P31614, + "insertAtKey": sprites_SpriteMap_insertAtKey__P31615, + "insertAABB": sprites_SpriteMap_insertAABB__P29248, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P31616, + "toString": sprites_SpriteMap_toString__P29249, }, - toStringMethod: sprites_SpriteMap_toString__P25601, + toStringMethod: sprites_SpriteMap_toString__P29249, }); -const scene_systemMenu_PauseMenu__C26259_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C29907_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 38, @@ -41755,15 +41755,15 @@ const scene_systemMenu_PauseMenu__C26259_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P26261, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P26262, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P26263, - "drawText": scene_systemMenu_PauseMenu_drawText__P26264, - "dispose": scene_systemMenu_PauseMenu_dispose__P26265, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P28406, + "show": scene_systemMenu_PauseMenu_show__P29909, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P29910, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P29911, + "drawText": scene_systemMenu_PauseMenu_drawText__P29912, + "dispose": scene_systemMenu_PauseMenu_dispose__P29913, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P32054, }, }); -const scene_systemMenu_MenuOption__C26251_VT = mkVTable({ +const scene_systemMenu_MenuOption__C29899_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 39, @@ -41788,16 +41788,16 @@ const scene_systemMenu_MenuOption__C26251_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P26253, - "position": scene_systemMenu_MenuOption_position__P26254, - "setOffset": scene_systemMenu_MenuOption_setOffset__P26255, - "setTheme": scene_systemMenu_MenuOption_setTheme__P26256, - "setState": scene_systemMenu_MenuOption_setState__P26257, - "dispose": scene_systemMenu_MenuOption_dispose__P26258, - "updateCard": scene_systemMenu_MenuOption_updateCard__P28405, + "show": scene_systemMenu_MenuOption_show__P29901, + "position": scene_systemMenu_MenuOption_position__P29902, + "setOffset": scene_systemMenu_MenuOption_setOffset__P29903, + "setTheme": scene_systemMenu_MenuOption_setTheme__P29904, + "setState": scene_systemMenu_MenuOption_setState__P29905, + "dispose": scene_systemMenu_MenuOption_dispose__P29906, + "updateCard": scene_systemMenu_MenuOption_updateCard__P32053, }, }); -const effects_ParticleEffect__C26426_VT = mkVTable({ +const effects_ParticleEffect__C30074_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 40, @@ -41812,11 +41812,11 @@ const effects_ParticleEffect__C26426_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P26428, - "destroy": effects_ParticleEffect_destroy__P26429, + "start": effects_ParticleEffect_start__P30076, + "destroy": effects_ParticleEffect_destroy__P30077, }, }); -const effects_ImageEffect__C26454_VT = mkVTable({ +const effects_ImageEffect__C30102_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 42, @@ -41833,11 +41833,11 @@ const effects_ImageEffect__C26454_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P26456, - "change": effects_ImageEffect_change__P26457, + "applyTo": effects_ImageEffect_applyTo__P30104, + "change": effects_ImageEffect_change__P30105, }, }); -const game_Hitbox__C25355_VT = mkVTable({ +const game_Hitbox__C29003_VT = mkVTable({ name: "Hitbox", numFields: 6, classNo: 43, @@ -41858,28 +41858,28 @@ const game_Hitbox__C25355_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P25363, - "top": game_Hitbox_top__P25364, - "right": game_Hitbox_right__P25365, - "bottom": game_Hitbox_bottom__P25366, - "isValid": game_Hitbox_isValid__P25367, - "contains": game_Hitbox_contains__P25368, - "updateIfInvalid": game_Hitbox_updateIfInvalid__P25369, - "overlapsWith": game_Hitbox_overlapsWith__P25370, + "left": game_Hitbox_left__P29011, + "top": game_Hitbox_top__P29012, + "right": game_Hitbox_right__P29013, + "bottom": game_Hitbox_bottom__P29014, + "isValid": game_Hitbox_isValid__P29015, + "contains": game_Hitbox_contains__P29016, + "updateIfInvalid": game_Hitbox_updateIfInvalid__P29017, + "overlapsWith": game_Hitbox_overlapsWith__P29018, }, }); -const particles_ParticleSource__C26315_VT = mkVTable({ +const particles_ParticleSource__C29963_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 31, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P25244, - "__draw": particles_ParticleSource___draw__P26321, - "__drawCore": sprites_BaseSprite___drawCore__P25248, - "__update": sprites_BaseSprite___update__P25249, - "updateParticle": particles_ParticleSource_updateParticle__P28491, + "__visible": sprites_BaseSprite___visible__P28892, + "__draw": particles_ParticleSource___draw__P29969, + "__drawCore": sprites_BaseSprite___drawCore__P28896, + "__update": sprites_BaseSprite___update__P28897, + "updateParticle": particles_ParticleSource_updateParticle__P32139, }, iface: { "_z": null, @@ -41908,28 +41908,28 @@ const particles_ParticleSource__C26315_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P26321, - "_update": particles_ParticleSource__update__P26322, - "_prune": particles_ParticleSource__prune__P26323, - "setAcceleration": particles_ParticleSource_setAcceleration__P26324, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P26326, - "enabled": particles_ParticleSource_enabled__P26327, - "set/enabled": particles_ParticleSource_enabled__P26328, - "destroy": particles_ParticleSource_destroy__P26329, - "clear": particles_ParticleSource_clear__P26330, - "setAnchor": particles_ParticleSource_setAnchor__P26331, - "setRate": particles_ParticleSource_setRate__P26332, - "setFactory": particles_ParticleSource_setFactory__P26334, - "updateParticle": particles_ParticleSource_updateParticle__P28491, - "drawParticle": particles_ParticleSource_drawParticle__P28492, - "__visible": sprites_BaseSprite___visible__P25244, - "z": sprites_BaseSprite_z__P25245, - "set/z": sprites_BaseSprite_z__P25246, - "__drawCore": sprites_BaseSprite___drawCore__P25248, - "__update": sprites_BaseSprite___update__P25249, + "__draw": particles_ParticleSource___draw__P29969, + "_update": particles_ParticleSource__update__P29970, + "_prune": particles_ParticleSource__prune__P29971, + "setAcceleration": particles_ParticleSource_setAcceleration__P29972, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P29974, + "enabled": particles_ParticleSource_enabled__P29975, + "set/enabled": particles_ParticleSource_enabled__P29976, + "destroy": particles_ParticleSource_destroy__P29977, + "clear": particles_ParticleSource_clear__P29978, + "setAnchor": particles_ParticleSource_setAnchor__P29979, + "setRate": particles_ParticleSource_setRate__P29980, + "setFactory": particles_ParticleSource_setFactory__P29982, + "updateParticle": particles_ParticleSource_updateParticle__P32139, + "drawParticle": particles_ParticleSource_drawParticle__P32140, + "__visible": sprites_BaseSprite___visible__P28892, + "z": sprites_BaseSprite_z__P28893, + "set/z": sprites_BaseSprite_z__P28894, + "__drawCore": sprites_BaseSprite___drawCore__P28896, + "__update": sprites_BaseSprite___update__P28897, }, }); -const sprites_SpriteSet__C25610_VT = mkVTable({ +const sprites_SpriteSet__C29258_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 44, @@ -41940,25 +41940,25 @@ const sprites_SpriteSet__C25610_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P25613, - "add": sprites_SpriteSet_add__P25615, - "remove": sprites_SpriteSet_remove__P25617, - "contains": sprites_SpriteSet_contains__P25618, - "toString": sprites_SpriteSet_toString__P25621, + "length": sprites_SpriteSet_length__P29261, + "add": sprites_SpriteSet_add__P29263, + "remove": sprites_SpriteSet_remove__P29265, + "contains": sprites_SpriteSet_contains__P29266, + "toString": sprites_SpriteSet_toString__P29269, }, - toStringMethod: sprites_SpriteSet_toString__P25621, + toStringMethod: sprites_SpriteSet_toString__P29269, }); -const scene_Renderable__C25947_VT = mkVTable({ +const scene_Renderable__C29595_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 32, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P25949, - "__draw": sprites_BaseSprite___draw__P25247, - "__drawCore": scene_Renderable___drawCore__P25950, - "__update": sprites_BaseSprite___update__P25249, + "__visible": scene_Renderable___visible__P29597, + "__draw": sprites_BaseSprite___draw__P28895, + "__drawCore": scene_Renderable___drawCore__P29598, + "__update": sprites_BaseSprite___update__P28897, }, iface: { "_z": null, @@ -41969,15 +41969,15 @@ const scene_Renderable__C25947_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P25949, - "__drawCore": scene_Renderable___drawCore__P25950, - "z": sprites_BaseSprite_z__P25245, - "set/z": sprites_BaseSprite_z__P25246, - "__draw": sprites_BaseSprite___draw__P25247, - "__update": sprites_BaseSprite___update__P25249, + "__visible": scene_Renderable___visible__P29597, + "__drawCore": scene_Renderable___drawCore__P29598, + "z": sprites_BaseSprite_z__P28893, + "set/z": sprites_BaseSprite_z__P28894, + "__draw": sprites_BaseSprite___draw__P28895, + "__update": sprites_BaseSprite___update__P28897, }, }); -const controller_ButtonHandler__C25330_VT = mkVTable({ +const controller_ButtonHandler__C28978_VT = mkVTable({ name: "ButtonHandler", numFields: 2, classNo: 45, @@ -41992,7 +41992,7 @@ const controller_ButtonHandler__C25330_VT = mkVTable({ "set/callback": null, }, }); -const controller_ButtonEventHandlerState__C25332_VT = mkVTable({ +const controller_ButtonEventHandlerState__C28980_VT = mkVTable({ name: "ButtonEventHandlerState", numFields: 3, classNo: 46, @@ -42009,7 +42009,7 @@ const controller_ButtonEventHandlerState__C25332_VT = mkVTable({ "set/system": null, }, }); -const effects_ScreenEffect__C26430_VT = mkVTable({ +const effects_ScreenEffect__C30078_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 41, @@ -42028,34 +42028,34 @@ const effects_ScreenEffect__C26430_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P26428, - "destroy": effects_ParticleEffect_destroy__P26429, + "start": effects_ParticleEffect_start__P30076, + "destroy": effects_ParticleEffect_destroy__P30077, }, }); -const particles_ParticleFactory__C26351_VT = mkVTable({ +const particles_ParticleFactory__C29999_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 47, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P26353, - "drawParticle": particles_ParticleFactory_drawParticle__P26354, + "createParticle": particles_ParticleFactory_createParticle__P30001, + "drawParticle": particles_ParticleFactory_drawParticle__P30002, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P26353, - "drawParticle": particles_ParticleFactory_drawParticle__P26354, + "createParticle": particles_ParticleFactory_createParticle__P30001, + "drawParticle": particles_ParticleFactory_drawParticle__P30002, }, }); -const particles_SprayFactory__C26355_VT = mkVTable({ +const particles_SprayFactory__C30003_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 48, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P26357, - "drawParticle": particles_SprayFactory_drawParticle__P26358, + "createParticle": particles_SprayFactory_createParticle__P30005, + "drawParticle": particles_SprayFactory_drawParticle__P30006, }, iface: { "speed": null, @@ -42064,21 +42064,21 @@ const particles_SprayFactory__C26355_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P26357, - "drawParticle": particles_SprayFactory_drawParticle__P26358, - "setSpeed": particles_SprayFactory_setSpeed__P26359, - "setDirection": particles_SprayFactory_setDirection__P26360, + "createParticle": particles_SprayFactory_createParticle__P30005, + "drawParticle": particles_SprayFactory_drawParticle__P30006, + "setSpeed": particles_SprayFactory_setSpeed__P30007, + "setDirection": particles_SprayFactory_setDirection__P30008, }, }); -const particles_AreaFactory__C26361_VT = mkVTable({ +const particles_AreaFactory__C30009_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 49, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P26367, - "drawParticle": particles_AreaFactory_drawParticle__P26368, + "createParticle": particles_AreaFactory_createParticle__P30015, + "drawParticle": particles_AreaFactory_drawParticle__P30016, }, iface: { "speed": null, @@ -42097,21 +42097,21 @@ const particles_AreaFactory__C26361_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P26367, - "drawParticle": particles_AreaFactory_drawParticle__P26368, - "setSpeed": particles_SprayFactory_setSpeed__P26359, - "setDirection": particles_SprayFactory_setDirection__P26360, + "createParticle": particles_AreaFactory_createParticle__P30015, + "drawParticle": particles_AreaFactory_drawParticle__P30016, + "setSpeed": particles_SprayFactory_setSpeed__P30007, + "setDirection": particles_SprayFactory_setDirection__P30008, }, }); -const particles_ShapeFactory__C26377_VT = mkVTable({ +const particles_ShapeFactory__C30025_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 50, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P26381, - "drawParticle": particles_ShapeFactory_drawParticle__P26380, + "createParticle": particles_ShapeFactory_createParticle__P30029, + "drawParticle": particles_ShapeFactory_drawParticle__P30028, }, iface: { "speed": null, @@ -42136,22 +42136,22 @@ const particles_ShapeFactory__C26377_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P26379, - "drawParticle": particles_ShapeFactory_drawParticle__P26380, - "createParticle": particles_ShapeFactory_createParticle__P26381, - "setSpeed": particles_SprayFactory_setSpeed__P26359, - "setDirection": particles_SprayFactory_setDirection__P26360, + "addShape": particles_ShapeFactory_addShape__P30027, + "drawParticle": particles_ShapeFactory_drawParticle__P30028, + "createParticle": particles_ShapeFactory_createParticle__P30029, + "setSpeed": particles_SprayFactory_setSpeed__P30007, + "setDirection": particles_SprayFactory_setDirection__P30008, }, }); -const particles_ConfettiFactory__C26382_VT = mkVTable({ +const particles_ConfettiFactory__C30030_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 51, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P26381, - "drawParticle": particles_ShapeFactory_drawParticle__P26380, + "createParticle": particles_ShapeFactory_createParticle__P30029, + "drawParticle": particles_ShapeFactory_drawParticle__P30028, }, iface: { "speed": null, @@ -42176,14 +42176,14 @@ const particles_ConfettiFactory__C26382_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P26379, - "drawParticle": particles_ShapeFactory_drawParticle__P26380, - "createParticle": particles_ShapeFactory_createParticle__P26381, - "setSpeed": particles_SprayFactory_setSpeed__P26359, - "setDirection": particles_SprayFactory_setDirection__P26360, + "addShape": particles_ShapeFactory_addShape__P30027, + "drawParticle": particles_ShapeFactory_drawParticle__P30028, + "createParticle": particles_ShapeFactory_createParticle__P30029, + "setSpeed": particles_SprayFactory_setSpeed__P30007, + "setDirection": particles_SprayFactory_setDirection__P30008, }, }); -const particles_Particle__C26296_VT = mkVTable({ +const particles_Particle__C29944_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 52, @@ -42210,7 +42210,7 @@ const particles_Particle__C26296_VT = mkVTable({ "set/color": null, }, }); -const music_Playable__C25058_VT = mkVTable({ +const music_Playable__C28706_VT = mkVTable({ name: "Playable", numFields: 1, classNo: 53, @@ -42223,7 +42223,7 @@ const music_Playable__C25058_VT = mkVTable({ "set/stopped": null, }, }); -const music_MelodyPlayable__C25063_VT = mkVTable({ +const music_MelodyPlayable__C28711_VT = mkVTable({ name: "MelodyPlayable", numFields: 2, classNo: 54, @@ -42238,7 +42238,7 @@ const music_MelodyPlayable__C25063_VT = mkVTable({ "set/melody": null, }, }); -const music_Melody__C24773_VT = mkVTable({ +const music_Melody__C28421_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 55, @@ -42251,11 +42251,11 @@ const music_Melody__C24773_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P24782, + "toString": music_Melody_toString__P28430, }, - toStringMethod: music_Melody_toString__P24782, + toStringMethod: music_Melody_toString__P28430, }); -const MovingSprite__C25672_VT = mkVTable({ +const MovingSprite__C29320_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 56, @@ -42280,7 +42280,7 @@ const MovingSprite__C25672_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C25840_VT = mkVTable({ +const tiles_Location__C29488_VT = mkVTable({ name: "Location", numFields: 2, classNo: 57, @@ -42293,17 +42293,17 @@ const tiles_Location__C25840_VT = mkVTable({ "set/_row": null, "_col": null, "set/_col": null, - "tileMap": tiles_Location_tileMap__P25842, - "column": tiles_Location_column__P25843, - "row": tiles_Location_row__P25844, - "x": tiles_Location_x__P25845, - "y": tiles_Location_y__P25846, - "left": tiles_Location_left__P25847, - "top": tiles_Location_top__P25848, - "tileSet": tiles_Location_tileSet__P25851, + "tileMap": tiles_Location_tileMap__P29490, + "column": tiles_Location_column__P29491, + "row": tiles_Location_row__P29492, + "x": tiles_Location_x__P29493, + "y": tiles_Location_y__P29494, + "left": tiles_Location_left__P29495, + "top": tiles_Location_top__P29496, + "tileSet": tiles_Location_tileSet__P29499, }, }); -const sprites_StaticObstacle__C25645_VT = mkVTable({ +const sprites_StaticObstacle__C29293_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 58, @@ -42322,22 +42322,22 @@ const sprites_StaticObstacle__C25645_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P25652, - "y": sprites_StaticObstacle_y__P25653, - "height": sprites_StaticObstacle_height__P25654, - "width": sprites_StaticObstacle_width__P25655, + "x": sprites_StaticObstacle_x__P29300, + "y": sprites_StaticObstacle_y__P29301, + "height": sprites_StaticObstacle_height__P29302, + "width": sprites_StaticObstacle_width__P29303, }, }); -const sprites_BaseSpriteSayRenderer__C25406_VT = mkVTable({ +const sprites_BaseSpriteSayRenderer__C29054_VT = mkVTable({ name: "BaseSpriteSayRenderer", numFields: 3, classNo: 59, lastSubtypeNo: 59, maxBgInstances: null, methods: { - "draw": sprites_BaseSpriteSayRenderer_draw__P25408, - "update": sprites_BaseSpriteSayRenderer_update__P25409, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P25410, + "draw": sprites_BaseSpriteSayRenderer_draw__P29056, + "update": sprites_BaseSpriteSayRenderer_update__P29057, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P29058, }, iface: { "text": null, @@ -42346,13 +42346,13 @@ const sprites_BaseSpriteSayRenderer__C25406_VT = mkVTable({ "set/fgColor": null, "bgColor": null, "set/bgColor": null, - "draw": sprites_BaseSpriteSayRenderer_draw__P25408, - "update": sprites_BaseSpriteSayRenderer_update__P25409, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P25410, + "draw": sprites_BaseSpriteSayRenderer_draw__P29056, + "update": sprites_BaseSpriteSayRenderer_update__P29057, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P29058, }, }); const breakpoints = setupDebugger(1, []) -return _main___P47556 +return _main___P47229 }) diff --git a/assets/version.txt b/assets/version.txt index bf21f52..8b707c6 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.6.6 \ No newline at end of file +0.6.7 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 73c91c3..1119590 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "Tiles Advanced", - "version": "0.6.6", + "version": "0.6.7", "description": "", "dependencies": { "device": "*",