diff --git a/assets/js/binary.js b/assets/js/binary.js index 34e487c..ab5298a 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.4.41/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.0","target":"arcade","targetVersion":"1.4.41"} -// total=2165694 new=7.00% cached=87.76% other=5.24% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.4.41/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.1.0","target":"arcade","targetVersion":"1.4.41","repo":"dwipapapa/guns-n-dungeons"} +// total=2167884 new=7.09% cached=87.67% other=5.24% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -611,7 +611,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P172526(s) { +function _main___P201506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -621,258 +621,258 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___150091 = (undefined); - globals._pollEventQueue___150100 = (undefined); - globals.minPriority___146301 = (1); + globals._intervals___176707 = (undefined); + globals._pollEventQueue___176716 = (undefined); + globals.minPriority___172917 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, inline__P150103); - globals.listeners___150104 = (s.tmp_0); - globals.freqs___150153 = (_hex150152); - globals.globalVolume___150157 = (null); - globals.playToneID___150164 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C147535_VT); + r0 = pxsim_Array__push(s.tmp_0, inline__P176719); + globals.listeners___176720 = (s.tmp_0); + globals.freqs___176769 = (_hex176768); + globals.globalVolume___176773 = (null); + globals.playToneID___176780 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C174151_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P147538_mk(s); + s.tmp_1 = music_Melody_constructor__P174154_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___147552 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C147535_VT); + globals.wawawawaa___174168 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C174151_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P147538_mk(s); + s.tmp_1 = music_Melody_constructor__P174154_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___147555 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C147535_VT); + globals.powerUp___174171 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C174151_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P147538_mk(s); + s.tmp_1 = music_Melody_constructor__P174154_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "!1200,200^50"; s.callLocIdx = 2; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - globals.pewPew___147559 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C147535_VT); + globals.pewPew___174175 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C174151_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P147538_mk(s); + s.tmp_1 = music_Melody_constructor__P174154_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "~4 @0,0,255,150 !100,1"; s.callLocIdx = 3; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - globals.thump___147562 = (s.tmp_0); - globals.brightness___147671 = (100); + globals.thump___174178 = (s.tmp_0); + globals.brightness___174287 = (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", _hex155069); - globals.font8___147692 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex181685); + globals.font8___174308 = (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", _hex155071); - globals.font12___147693 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex181687); + globals.font12___174309 = (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", _hex165954); - globals.font5___147697 = (s.tmp_0); - globals.__updated___150211 = (false); - r0 = pxsim.control.runInParallel(inline__P150214); - r0 = pxsim_pxtcore.setPalette(_hex150225); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex192570); + globals.font5___174313 = (s.tmp_0); + globals.__updated___176827 = (false); + r0 = pxsim.control.runInParallel(inline__P176830); + r0 = pxsim_pxtcore.setPalette(_hex176841); r0 = pxsim.image.create(160, 120); - globals.screen___147749 = (r0); - s.tmp_0 = control___screen_setupUpdate__P147711_mk(s); - s.tmp_0.arg0 = inline__P150232; + globals.screen___174365 = (r0); + s.tmp_0 = control___screen_setupUpdate__P174327_mk(s); + s.tmp_0.arg0 = inline__P176848; s.callLocIdx = 6; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - globals.control_EventContext_onStats___146324 = (inline__P150237); - globals.RUN_KEY___150242 = ("#run"); - globals.SCOPE_KEY___150243 = ("#scope"); - s.tmp_0 = settings_initScopes__P150254_mk(s); + globals.control_EventContext_onStats___172940 = (inline__P176853); + globals.RUN_KEY___176858 = ("#run"); + globals.SCOPE_KEY___176859 = ("#scope"); + s.tmp_0 = settings_initScopes__P176870_mk(s); s.callLocIdx = 7; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C147850_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C174466_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P147856_mk(s); + s.tmp_1 = controller_Button_constructor__P174472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.callLocIdx = 8; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.A___147824 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C147850_VT); + globals.A___174440 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C174466_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P147856_mk(s); + s.tmp_1 = controller_Button_constructor__P174472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.callLocIdx = 9; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.B___147825 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C147850_VT); + globals.B___174441 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C174466_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P147856_mk(s); + s.tmp_1 = controller_Button_constructor__P174472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.callLocIdx = 10; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.left___147826 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C147850_VT); + globals.left___174442 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C174466_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P147856_mk(s); + s.tmp_1 = controller_Button_constructor__P174472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.callLocIdx = 11; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.up___147827 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C147850_VT); + globals.up___174443 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C174466_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P147856_mk(s); + s.tmp_1 = controller_Button_constructor__P174472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.callLocIdx = 12; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.right___147828 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C147850_VT); + globals.right___174444 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C174466_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P147856_mk(s); + s.tmp_1 = controller_Button_constructor__P174472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.callLocIdx = 13; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.down___147829 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C147850_VT); + globals.down___174445 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C174466_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P147856_mk(s); + s.tmp_1 = controller_Button_constructor__P174472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.callLocIdx = 14; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - globals.menu___147830 = (s.tmp_0); - globals._userEventsEnabled___150281 = (true); - globals.defaultRepeatDelay___150283 = (500); - globals.defaultRepeatInterval___150285 = (30); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C150291_VT); + globals.menu___174446 = (s.tmp_0); + globals._userEventsEnabled___176897 = (true); + globals.defaultRepeatDelay___176899 = (500); + globals.defaultRepeatInterval___176901 = (30); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C176907_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P147856_mk(s); + s.tmp_1 = controller_Button_constructor__P174472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.callLocIdx = 15; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - globals.anyButton___147904 = (s.tmp_0); - s.tmp_0 = SpriteKind_create__P148083_mk(s); + globals.anyButton___174520 = (s.tmp_0); + s.tmp_0 = SpriteKind_create__P174699_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Player___148084 = (r0); - s.tmp_0 = SpriteKind_create__P148083_mk(s); + globals.Player___174700 = (r0); + s.tmp_0 = SpriteKind_create__P174699_mk(s); s.callLocIdx = 17; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - globals.Food___148086 = (r0); - s.tmp_0 = SpriteKind_create__P148083_mk(s); + globals.Food___174702 = (r0); + s.tmp_0 = SpriteKind_create__P174699_mk(s); s.callLocIdx = 18; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - globals.Enemy___148087 = (r0); + globals.Enemy___174703 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___148125 = (r0); - globals.infoState___150348 = (undefined); - s.tmp_0 = game_addScenePushHandler__P148501_mk(s); - s.tmp_0.arg0 = inline__P150352; + globals.MIN_MOVE_GAP___174741 = (r0); + globals.infoState___176964 = (undefined); + s.tmp_0 = game_addScenePushHandler__P175117_mk(s); + s.tmp_0.arg0 = inline__P176968; s.callLocIdx = 20; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P148503_mk(s); - s.tmp_0.arg0 = inline__P150367; + s.tmp_0 = game_addScenePopHandler__P175119_mk(s); + s.tmp_0.arg0 = inline__P176983; s.callLocIdx = 24; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C148184_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C174800_VT); s.tmp_0 = r0; - s.tmp_1 = info_PlayerInfo_constructor__P148196_mk(s); + s.tmp_1 = info_PlayerInfo_constructor__P174812_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.callLocIdx = 25; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - globals.player1___148215 = (s.tmp_0); + globals.player1___174831 = (s.tmp_0); r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___148391 = (r0); - globals.debug___148480 = (false); - globals.stats___148481 = (false); - globals.winEffect___148482 = (undefined); - globals.loseEffect___148483 = (undefined); - globals.loseSound___150464 = (undefined); - globals.winSound___150466 = (undefined); - globals.__isOver___150474 = (false); - globals.foreverRunning___150478 = (false); - s.tmp_0 = scene_systemMenu_initVolume__P150733_mk(s); + globals.scene_Scene_initializers___175007 = (r0); + globals.debug___175096 = (false); + globals.stats___175097 = (false); + globals.winEffect___175098 = (undefined); + globals.loseEffect___175099 = (undefined); + globals.loseSound___177080 = (undefined); + globals.winSound___177082 = (undefined); + globals.__isOver___177090 = (false); + globals.foreverRunning___177094 = (false); + s.tmp_0 = scene_systemMenu_initVolume__P177349_mk(s); s.callLocIdx = 26; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P150734_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P177350_mk(s); s.callLocIdx = 27; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___148391, scene_systemMenu_register__P148585); - r0 = pxsim.image.ofBuffer(_hex150741); - globals.CARD_NORMAL___148590 = (r0); - r0 = pxsim.image.ofBuffer(_hex150743); - globals.CARD_SELECTED___148591 = (r0); - r0 = pxsim.image.ofBuffer(_hex150745); - globals.CARD_ACTIVE___148592 = (r0); - r0 = pxsim.image.ofBuffer(_hex150747); - globals.VOLUME_UP_ICON___148593 = (r0); - r0 = pxsim.image.ofBuffer(_hex150749); - globals.BRIGHTNESS_DOWN_ICON___148594 = (r0); - r0 = pxsim.image.ofBuffer(_hex150751); - globals.CLOSE_MENU_ICON___148595 = (r0); - r0 = pxsim.image.ofBuffer(_hex150753); - globals.VOLUME_DOWN_ICON___148596 = (r0); - r0 = pxsim.image.ofBuffer(_hex150755); - globals.SLEEP_ICON___148597 = (r0); - r0 = pxsim.image.ofBuffer(_hex150757); - globals.CONSOLE_ICON___148598 = (r0); - r0 = pxsim.image.ofBuffer(_hex150759); - globals.BRIGHTNESS_UP_ICON___148599 = (r0); - r0 = pxsim.image.ofBuffer(_hex150761); - globals.STATS_ICON___148600 = (r0); - globals.consoleColor___150764 = (1); - globals.tabSize___150767 = (8); - globals.consoleFont___150773 = (globals.font5___147697); - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___175007, scene_systemMenu_register__P175201); + r0 = pxsim.image.ofBuffer(_hex177357); + globals.CARD_NORMAL___175206 = (r0); + r0 = pxsim.image.ofBuffer(_hex177359); + globals.CARD_SELECTED___175207 = (r0); + r0 = pxsim.image.ofBuffer(_hex177361); + globals.CARD_ACTIVE___175208 = (r0); + r0 = pxsim.image.ofBuffer(_hex177363); + globals.VOLUME_UP_ICON___175209 = (r0); + r0 = pxsim.image.ofBuffer(_hex177365); + globals.BRIGHTNESS_DOWN_ICON___175210 = (r0); + r0 = pxsim.image.ofBuffer(_hex177367); + globals.CLOSE_MENU_ICON___175211 = (r0); + r0 = pxsim.image.ofBuffer(_hex177369); + globals.VOLUME_DOWN_ICON___175212 = (r0); + r0 = pxsim.image.ofBuffer(_hex177371); + globals.SLEEP_ICON___175213 = (r0); + r0 = pxsim.image.ofBuffer(_hex177373); + globals.CONSOLE_ICON___175214 = (r0); + r0 = pxsim.image.ofBuffer(_hex177375); + globals.BRIGHTNESS_UP_ICON___175215 = (r0); + r0 = pxsim.image.ofBuffer(_hex177377); + globals.STATS_ICON___175216 = (r0); + globals.consoleColor___177380 = (1); + globals.tabSize___177383 = (8); + globals.consoleFont___177389 = (globals.font5___174313); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___150773; + s.tmp_5.arg0 = globals.consoleFont___177389; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -891,13 +891,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___150778 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___147749); + globals.consoleLines___177394 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___174365); 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___150773; + s.tmp_4.arg0 = globals.consoleFont___177389; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -912,22 +912,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___150788 = (r0); - s.tmp_0 = console_addListener__P146309_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P150800; + globals.consoleColumns___177404 = (r0); + s.tmp_0 = console_addListener__P172925_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P177416; s.callLocIdx = 30; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = inline__P150804; + s.tmp_0.argL = inline__P177420; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 32; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - globals.MAX_SOURCES___150802 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C148670_VT); + globals.MAX_SOURCES___177418 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C175286_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P148671_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P175287_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -935,424 +935,432 @@ switch (step) { s.callLocIdx = 33; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.defaultFactory___148650 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C148538_VT); + globals.defaultFactory___175266 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C175154_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P148540_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P175156_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 34; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.galois___150837 = (s.tmp_0); - globals.angleSlice___150845 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C148745_VT); + globals.galois___177453 = (s.tmp_0); + globals.angleSlice___177461 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C175361_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P148746_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P175362_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 = inline__P159107; + s.tmp_1.arg4 = inline__P185723; s.callLocIdx = 40; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.confetti___148753 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C148768_VT); + globals.confetti___175369 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C175384_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P148769_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P175385_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P164864; + s.tmp_1.arg2 = inline__P191480; s.callLocIdx = 46; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.dissolve___148773 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C148768_VT); + globals.dissolve___175389 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C175384_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P148769_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P175385_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P155671; + s.tmp_1.arg2 = inline__P182287; s.callLocIdx = 49; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - globals.melt___148774 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C148783_VT); + globals.melt___175390 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C175399_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P148785_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P175401_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P150896; + s.tmp_1.arg1 = inline__P177512; s.callLocIdx = 50; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - globals.shake___148786 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C148783_VT); + globals.shake___175402 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C175399_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P148785_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P175401_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P150909; + s.tmp_1.arg1 = inline__P177525; s.callLocIdx = 60; s.pc = 33; return s.tmp_1; case 33: r0 = s.retval; - globals.wave___148787 = (s.tmp_0); - globals.stateNamespace___150951 = ("__animation"); - r0 = pxsim_pxtcore_mkClassInstance(animation_PathPreset__C148821_VT); + globals.wave___175403 = (s.tmp_0); + globals.stateNamespace___177567 = ("__animation"); + r0 = pxsim_pxtcore_mkClassInstance(animation_PathPreset__C175437_VT); s.tmp_0 = r0; - s.tmp_1 = animation_PathPreset_constructor__P148822_mk(s); + s.tmp_1 = animation_PathPreset_constructor__P175438_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "m 4 -1 m 1 2 m -6 2 m -4 -8 m 8 8 m 2 -4 m -8 0 m 6 3 m -3 -2"; s.callLocIdx = 61; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; - globals.shake___148871 = (s.tmp_0); - r0 = pxsim.image.ofBuffer(_hex151233); - globals.tilePath1___149041 = (r0); - r0 = pxsim.image.ofBuffer(_hex151235); - globals.tilePath2___149042 = (r0); - r0 = pxsim.image.ofBuffer(_hex151237); - globals.tilePath3___149043 = (r0); - r0 = pxsim.image.ofBuffer(_hex151239); - globals.tileGrass1___149044 = (r0); - r0 = pxsim.image.ofBuffer(_hex151241); - globals.tilePath4___149045 = (r0); - r0 = pxsim.image.ofBuffer(_hex151243); - globals.tilePath5___149046 = (r0); - r0 = pxsim.image.ofBuffer(_hex151245); - globals.tilePath6___149047 = (r0); - r0 = pxsim.image.ofBuffer(_hex151249); - globals.tilePath7___149049 = (r0); - r0 = pxsim.image.ofBuffer(_hex151251); - globals.tilePath8___149050 = (r0); - r0 = pxsim.image.ofBuffer(_hex151253); - globals.tilePath9___149051 = (r0); - r0 = pxsim.image.ofBuffer(_hex151855); - globals.chestClosed___149358 = (r0); - r0 = pxsim.image.ofBuffer(_hex151857); - globals.chestOpen___149359 = (r0); - r0 = pxsim.image.ofBuffer(_hex151895); - globals.doorClosedNorth___149378 = (r0); - r0 = pxsim.image.ofBuffer(_hex151903); - globals.doorOpenNorth___149382 = (r0); - r0 = pxsim.image.ofBuffer(_hex151917); - globals.floorLight1___149389 = (r0); - r0 = pxsim.image.ofBuffer(_hex151921); - globals.floorLightMoss___149391 = (r0); - r0 = pxsim.image.ofBuffer(_hex151929); - globals.floorMixed___149395 = (r0); - r0 = pxsim.image.ofBuffer(_hex151931); - globals.floorDark0___149396 = (r0); - r0 = pxsim.image.ofBuffer(_hex151933); - globals.floorDark1___149397 = (r0); - r0 = pxsim.image.ofBuffer(_hex151935); - globals.floorDark2___149398 = (r0); - r0 = pxsim.image.ofBuffer(_hex151937); - globals.floorDarkDiamond___149399 = (r0); - r0 = pxsim.image.ofBuffer(_hex151939); - globals.floorDark3___149400 = (r0); - r0 = pxsim.image.ofBuffer(_hex151943); - globals.floorDark5___149402 = (r0); - r0 = pxsim.image.ofBuffer(_hex151945); - globals.greenOuterNorthWest___149403 = (r0); - r0 = pxsim.image.ofBuffer(_hex151947); - globals.greenOuterNorth0___149404 = (r0); - r0 = pxsim.image.ofBuffer(_hex151951); - globals.greenOuterNorthEast___149406 = (r0); - r0 = pxsim.image.ofBuffer(_hex151953); - globals.greenOuterWest0___149407 = (r0); - r0 = pxsim.image.ofBuffer(_hex151959); - globals.greenOuterEast0___149410 = (r0); - r0 = pxsim.image.ofBuffer(_hex151999); - globals.purpleOuterNorthWest___149430 = (r0); - r0 = pxsim.image.ofBuffer(_hex152001); - globals.purpleOuterNorth0___149431 = (r0); - r0 = pxsim.image.ofBuffer(_hex152003); - globals.purpleOuterNorth1___149432 = (r0); - r0 = pxsim.image.ofBuffer(_hex152005); - globals.purpleOuterNorthEast___149433 = (r0); - r0 = pxsim.image.ofBuffer(_hex152007); - globals.purpleOuterWest0___149434 = (r0); - r0 = pxsim.image.ofBuffer(_hex152021); - globals.purpleOuterEast1___149441 = (r0); - r0 = pxsim.image.ofBuffer(_hex152023); - globals.purpleOuterSouthEast___149442 = (r0); - r0 = pxsim.image.ofBuffer(_hex152027); - globals.purpleOuterSouth1___149444 = (r0); - r0 = pxsim.image.ofBuffer(_hex152029); - globals.purpleOuterSouthWest___149445 = (r0); - s.tmp_0 = game_setWaitAnyButton__P148485_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P147900; + globals.shake___175487 = (s.tmp_0); + r0 = pxsim.image.ofBuffer(_hex177849); + globals.tilePath1___175657 = (r0); + r0 = pxsim.image.ofBuffer(_hex177851); + globals.tilePath2___175658 = (r0); + r0 = pxsim.image.ofBuffer(_hex177853); + globals.tilePath3___175659 = (r0); + r0 = pxsim.image.ofBuffer(_hex177855); + globals.tileGrass1___175660 = (r0); + r0 = pxsim.image.ofBuffer(_hex177857); + globals.tilePath4___175661 = (r0); + r0 = pxsim.image.ofBuffer(_hex177859); + globals.tilePath5___175662 = (r0); + r0 = pxsim.image.ofBuffer(_hex177861); + globals.tilePath6___175663 = (r0); + r0 = pxsim.image.ofBuffer(_hex177865); + globals.tilePath7___175665 = (r0); + r0 = pxsim.image.ofBuffer(_hex177867); + globals.tilePath8___175666 = (r0); + r0 = pxsim.image.ofBuffer(_hex177869); + globals.tilePath9___175667 = (r0); + r0 = pxsim.image.ofBuffer(_hex178471); + globals.chestClosed___175974 = (r0); + r0 = pxsim.image.ofBuffer(_hex178473); + globals.chestOpen___175975 = (r0); + r0 = pxsim.image.ofBuffer(_hex178511); + globals.doorClosedNorth___175994 = (r0); + r0 = pxsim.image.ofBuffer(_hex178519); + globals.doorOpenNorth___175998 = (r0); + r0 = pxsim.image.ofBuffer(_hex178533); + globals.floorLight1___176005 = (r0); + r0 = pxsim.image.ofBuffer(_hex178537); + globals.floorLightMoss___176007 = (r0); + r0 = pxsim.image.ofBuffer(_hex178545); + globals.floorMixed___176011 = (r0); + r0 = pxsim.image.ofBuffer(_hex178547); + globals.floorDark0___176012 = (r0); + r0 = pxsim.image.ofBuffer(_hex178549); + globals.floorDark1___176013 = (r0); + r0 = pxsim.image.ofBuffer(_hex178551); + globals.floorDark2___176014 = (r0); + r0 = pxsim.image.ofBuffer(_hex178553); + globals.floorDarkDiamond___176015 = (r0); + r0 = pxsim.image.ofBuffer(_hex178555); + globals.floorDark3___176016 = (r0); + r0 = pxsim.image.ofBuffer(_hex178559); + globals.floorDark5___176018 = (r0); + r0 = pxsim.image.ofBuffer(_hex178561); + globals.greenOuterNorthWest___176019 = (r0); + r0 = pxsim.image.ofBuffer(_hex178563); + globals.greenOuterNorth0___176020 = (r0); + r0 = pxsim.image.ofBuffer(_hex178567); + globals.greenOuterNorthEast___176022 = (r0); + r0 = pxsim.image.ofBuffer(_hex178569); + globals.greenOuterWest0___176023 = (r0); + r0 = pxsim.image.ofBuffer(_hex178575); + globals.greenOuterEast0___176026 = (r0); + r0 = pxsim.image.ofBuffer(_hex178615); + globals.purpleOuterNorthWest___176046 = (r0); + r0 = pxsim.image.ofBuffer(_hex178617); + globals.purpleOuterNorth0___176047 = (r0); + r0 = pxsim.image.ofBuffer(_hex178619); + globals.purpleOuterNorth1___176048 = (r0); + r0 = pxsim.image.ofBuffer(_hex178621); + globals.purpleOuterNorthEast___176049 = (r0); + r0 = pxsim.image.ofBuffer(_hex178623); + globals.purpleOuterWest0___176050 = (r0); + r0 = pxsim.image.ofBuffer(_hex178637); + globals.purpleOuterEast1___176057 = (r0); + r0 = pxsim.image.ofBuffer(_hex178639); + globals.purpleOuterSouthEast___176058 = (r0); + r0 = pxsim.image.ofBuffer(_hex178643); + globals.purpleOuterSouth1___176060 = (r0); + r0 = pxsim.image.ofBuffer(_hex178645); + globals.purpleOuterSouthWest___176061 = (r0); + s.tmp_0 = game_setWaitAnyButton__P175101_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P174516; s.callLocIdx = 62; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = game_eventContext__P148487_mk(s); + s.tmp_0 = game_eventContext__P175103_mk(s); s.callLocIdx = 63; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = pxsim_pxtrt.mkMap(); - globals.decounceTimeouts___152412 = (r0); + globals.decounceTimeouts___179028 = (r0); r0 = pxsim_pxtrt.mkMap(); - globals.throttleTimeouts___152414 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C147535_VT); + globals.throttleTimeouts___179030 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C174151_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P147538_mk(s); + s.tmp_1 = music_Melody_constructor__P174154_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "@20,10,0,0 c5:1-150"; s.callLocIdx = 64; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; - globals.tickSound___152418 = (s.tmp_0); - globals._defaultPagePauseLength___149715 = (1000); - globals._defaultFinalPagePauseLength___149716 = (1000); - r0 = pxsim.image.ofBuffer(_hex152478); - globals.palette_ramps___152479 = (r0); - s.tmp_0 = SpriteKind_create__P148083_mk(s); + globals.tickSound___179034 = (s.tmp_0); + globals._defaultPagePauseLength___176331 = (1000); + globals._defaultFinalPagePauseLength___176332 = (1000); + r0 = pxsim.image.ofBuffer(_hex179094); + globals.palette_ramps___179095 = (r0); + s.tmp_0 = SpriteKind_create__P174699_mk(s); s.callLocIdx = 65; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - globals._TileSprite___149885 = (r0); - s.tmp_0 = ConnectionKind_create__P149928_mk(s); + globals._TileSprite___176501 = (r0); + s.tmp_0 = ConnectionKind_create__P176544_mk(s); s.callLocIdx = 66; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - globals.Door1___149929 = (r0); - s.tmp_0 = ConnectionKind_create__P149928_mk(s); + globals.Door1___176545 = (r0); + s.tmp_0 = ConnectionKind_create__P176544_mk(s); s.callLocIdx = 67; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - globals.Door2___149930 = (r0); - s.tmp_0 = ConnectionKind_create__P149928_mk(s); + globals.Door2___176546 = (r0); + s.tmp_0 = ConnectionKind_create__P176544_mk(s); s.callLocIdx = 68; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - globals.Ladder1___149931 = (r0); - s.tmp_0 = ConnectionKind_create__P149928_mk(s); + globals.Ladder1___176547 = (r0); + s.tmp_0 = ConnectionKind_create__P176544_mk(s); s.callLocIdx = 69; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - globals.Pipe1___149932 = (r0); - r0 = pxsim.image.ofBuffer(_hex152606); - globals.transparency16___150037 = (r0); - r0 = pxsim.image.ofBuffer(_hex152610); - globals.tile1___150038 = (r0); - r0 = pxsim.image.ofBuffer(_hex152614); - globals.tile3___150039 = (r0); - r0 = pxsim.image.ofBuffer(_hex152618); - globals.tile2___150040 = (r0); - r0 = pxsim.image.ofBuffer(_hex152622); - globals.tile4___150041 = (r0); - r0 = pxsim.image.ofBuffer(_hex152626); - globals.tile5___150042 = (r0); - s.tmp_0 = helpers__registerFactory__P148809_mk(s); + globals.Pipe1___176548 = (r0); + r0 = pxsim.image.ofBuffer(_hex199271); + globals.transparency16___199272 = (r0); + r0 = pxsim.image.ofBuffer(_hex199276); + globals.tile1___199277 = (r0); + r0 = pxsim.image.ofBuffer(_hex199281); + globals.tile3___199282 = (r0); + r0 = pxsim.image.ofBuffer(_hex199286); + globals.tile2___199287 = (r0); + r0 = pxsim.image.ofBuffer(_hex199291); + globals.tile4___199292 = (r0); + r0 = pxsim.image.ofBuffer(_hex199296); + globals.tile5___199297 = (r0); + s.tmp_0 = helpers__registerFactory__P175425_mk(s); s.tmp_0.arg0 = "tilemap"; - s.tmp_0.arg1 = inline__P152630; - s.callLocIdx = 74; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = inline__P199301; + s.callLocIdx = 75; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = helpers__registerFactory__P148809_mk(s); + s.tmp_0 = helpers__registerFactory__P175425_mk(s); s.tmp_0.arg0 = "tile"; - s.tmp_0.arg1 = inline__P152701; - s.callLocIdx = 76; s.pc = 44; return s.tmp_0; + s.tmp_0.arg1 = inline__P199380; + s.callLocIdx = 77; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.tmp_0 = SpriteKind_create__P148083_mk(s); - s.callLocIdx = 77; s.pc = 45; return s.tmp_0; + s.tmp_0 = SpriteKind_create__P174699_mk(s); + s.callLocIdx = 78; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - globals.TrappedPlayer___150022 = (r0); - s.tmp_0 = SpriteKind_create__P148083_mk(s); - s.callLocIdx = 78; s.pc = 46; return s.tmp_0; + globals.TrappedPlayer___201055 = (r0); + s.tmp_0 = SpriteKind_create__P174699_mk(s); + s.callLocIdx = 79; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; - globals.Key___150023 = (r0); - s.tmp_0 = controller_Button_onEvent__P147857_mk(s); - s.tmp_0.arg0 = globals.up___147827; + globals.Key___201058 = (r0); + s.tmp_0 = controller_Button_onEvent__P174473_mk(s); + s.tmp_0.arg0 = globals.up___174443; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P152721; - s.callLocIdx = 79; s.pc = 47; return s.tmp_0; + s.tmp_0.arg2 = inline__P201063; + s.callLocIdx = 80; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = scene_onHitWall__P148065_mk(s); - s.tmp_0.arg0 = globals.Player___148084; - s.tmp_0.arg1 = inline__P152726; - s.callLocIdx = 91; s.pc = 48; return s.tmp_0; + s.tmp_0 = scene_onHitWall__P174681_mk(s); + s.tmp_0.arg0 = globals.Player___174700; + s.tmp_0.arg1 = inline__P201069; + s.callLocIdx = 92; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.tmp_0 = scene_onOverlapTile__P148064_mk(s); - s.tmp_0.arg0 = globals.Player___148084; - s.tmp_1 = helpers_getTileByName__P148815_mk(s); + s.tmp_0 = scene_onOverlapTile__P174680_mk(s); + s.tmp_0.arg0 = globals.Player___174700; + s.tmp_1 = helpers_getTileByName__P175431_mk(s); s.tmp_1.arg0 = "myTile"; - s.callLocIdx = 92; s.pc = 50; return s.tmp_1; + s.callLocIdx = 93; s.pc = 50; return s.tmp_1; case 50: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = inline__P152767; - s.callLocIdx = 98; s.pc = 49; return s.tmp_0; + s.tmp_0.arg2 = inline__P201113; + s.callLocIdx = 99; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; - s.tmp_0 = scene_onOverlapTile__P148064_mk(s); + s.tmp_0 = scene_onOverlapTile__P174680_mk(s); s.tmp_0.arg0 = 1; - s.tmp_1 = helpers_getTileByName__P148815_mk(s); + s.tmp_1 = helpers_getTileByName__P175431_mk(s); s.tmp_1.arg0 = "myTile"; - s.callLocIdx = 99; s.pc = 52; return s.tmp_1; + s.callLocIdx = 100; s.pc = 52; return s.tmp_1; case 52: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = inline__P152790; - s.callLocIdx = 102; s.pc = 51; return s.tmp_0; + s.tmp_0.arg2 = inline__P201138; + s.callLocIdx = 103; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P147857_mk(s); - s.tmp_0.arg0 = globals.A___147824; + s.tmp_0 = controller_Button_onEvent__P174473_mk(s); + s.tmp_0.arg0 = globals.A___174440; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P152803; - s.callLocIdx = 116; s.pc = 53; return s.tmp_0; + s.tmp_0.arg2 = inline__P201151; + s.callLocIdx = 117; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.tmp_0 = scene_onOverlapTile__P148064_mk(s); - s.tmp_0.arg0 = globals.Player___148084; - s.tmp_1 = helpers_getTileByName__P148815_mk(s); + s.tmp_0 = scene_onOverlapTile__P174680_mk(s); + s.tmp_0.arg0 = globals.Player___174700; + s.tmp_1 = helpers_getTileByName__P175431_mk(s); s.tmp_1.arg0 = "Hole"; - s.callLocIdx = 117; s.pc = 55; return s.tmp_1; + s.callLocIdx = 118; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = inline__P152872; - s.callLocIdx = 125; s.pc = 54; return s.tmp_0; + s.tmp_0.arg2 = inline__P201221; + s.callLocIdx = 126; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P147857_mk(s); - s.tmp_0.arg0 = globals.left___147826; + s.tmp_0 = controller_Button_onEvent__P174473_mk(s); + s.tmp_0.arg0 = globals.left___174442; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P152898; - s.callLocIdx = 126; s.pc = 56; return s.tmp_0; + s.tmp_0.arg2 = inline__P201250; + s.callLocIdx = 127; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.tmp_0 = sprites_onOverlap__P148062_mk(s); - s.tmp_0.arg0 = globals.Player___148084; - s.tmp_0.arg1 = globals.Key___150023; - s.tmp_0.arg2 = inline__P152903; - s.callLocIdx = 130; s.pc = 57; return s.tmp_0; + s.tmp_0 = sprites_onOverlap__P174678_mk(s); + s.tmp_0.arg0 = globals.Player___174700; + s.tmp_0.arg1 = globals.Key___201058; + s.tmp_0.arg2 = inline__P201255; + s.callLocIdx = 131; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P147857_mk(s); - s.tmp_0.arg0 = globals.right___147828; + s.tmp_0 = controller_Button_onEvent__P174473_mk(s); + s.tmp_0.arg0 = globals.right___174444; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P152918; - s.callLocIdx = 131; s.pc = 58; return s.tmp_0; + s.tmp_0.arg2 = inline__P201270; + s.callLocIdx = 132; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P147857_mk(s); - s.tmp_0.arg0 = globals.down___147829; + s.tmp_0 = controller_Button_onEvent__P174473_mk(s); + s.tmp_0.arg0 = globals.down___174445; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P152941; - s.callLocIdx = 138; s.pc = 59; return s.tmp_0; + s.tmp_0.arg2 = inline__P201294; + s.callLocIdx = 139; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.tmp_0 = scene_onOverlapTile__P148064_mk(s); - s.tmp_0.arg0 = globals.Player___148084; - s.tmp_0.arg1 = globals.floorDark5___149402; - s.tmp_0.arg2 = inline__P152946; - s.callLocIdx = 150; s.pc = 60; return s.tmp_0; + s.tmp_0 = scene_onOverlapTile__P174680_mk(s); + s.tmp_0.arg0 = globals.Player___174700; + s.tmp_0.arg1 = globals.floorDark5___176018; + s.tmp_0.arg2 = inline__P201299; + s.callLocIdx = 151; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; - s.tmp_0 = scene_onOverlapTile__P148064_mk(s); + s.tmp_0 = scene_onOverlapTile__P174680_mk(s); s.tmp_0.arg0 = 1; - s.tmp_1 = helpers_getTileByName__P148815_mk(s); + s.tmp_1 = helpers_getTileByName__P175431_mk(s); s.tmp_1.arg0 = "myTile1"; - s.callLocIdx = 151; s.pc = 62; return s.tmp_1; + s.callLocIdx = 152; s.pc = 62; return s.tmp_1; case 62: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = inline__P152976; - s.callLocIdx = 154; s.pc = 61; return s.tmp_0; + s.tmp_0.arg2 = inline__P201329; + s.callLocIdx = 155; s.pc = 61; return s.tmp_0; case 61: r0 = s.retval; - s.tmp_0 = scene_onOverlapTile__P148064_mk(s); - s.tmp_0.arg0 = globals.Player___148084; - s.tmp_0.arg1 = globals.doorOpenNorth___149382; - s.tmp_0.arg2 = inline__P152989; - s.callLocIdx = 156; s.pc = 63; return s.tmp_0; + s.tmp_0 = scene_onOverlapTile__P174680_mk(s); + s.tmp_0.arg0 = globals.Player___174700; + s.tmp_0.arg1 = globals.doorOpenNorth___175998; + s.tmp_0.arg2 = inline__P201342; + s.callLocIdx = 157; s.pc = 63; return s.tmp_0; case 63: r0 = s.retval; - globals.KKey___150025 = (null); - globals.projectile___150026 = (null); - globals.trap_time___150027 = (0); - globals.Have_key___150028 = (false); - globals.LastDirection___150029 = (0); - globals.Start_cutsceene___150030 = (false); - globals.mySprite___150031 = (null); - globals.Dungeon___150032 = (null); - globals.Have_Gun___150033 = (false); - globals.trap___150034 = (false); - globals.trap___150034 = (false); - globals.Have_Gun___150033 = (false); - s.tmp_0 = tiles_createMap__P149942_mk(s); - s.tmp_1 = helpers_getTilemapByName__P148812_mk(s); + globals.KKey___201274 = (null); + globals.projectile___201184 = (null); + globals.trap_time___201132 = (0); + globals.Have_key___201095 = (false); + globals.LastDirection___201065 = (0); + globals.Start_cutsceene___201225 = (false); + globals.mySprite___201102 = (null); + globals.Dungeon___201231 = (null); + r0 = pxsim_Array__mk(); + globals.Dungeons___201347 = (r0); + globals.Have_Gun___201078 = (false); + globals.trap___201120 = (false); + globals.trap___201120 = (false); + globals.Have_Gun___201078 = (false); + s.tmp_0 = tiles_createMap__P176558_mk(s); + s.tmp_1 = helpers_getTilemapByName__P175428_mk(s); s.tmp_1.arg0 = "level1"; - s.callLocIdx = 157; s.pc = 65; return s.tmp_1; + s.callLocIdx = 158; s.pc = 65; return s.tmp_1; case 65: r0 = s.retval; s.tmp_0.arg0 = r0; - s.callLocIdx = 158; s.pc = 64; return s.tmp_0; + s.callLocIdx = 159; s.pc = 64; return s.tmp_0; case 64: r0 = s.retval; - globals.Start_Map___150035 = (r0); - s.tmp_0 = tiles_createMap__P149942_mk(s); - s.tmp_1 = helpers_getTilemapByName__P148812_mk(s); - s.tmp_1.arg0 = "level3"; - s.callLocIdx = 159; s.pc = 67; return s.tmp_1; + globals.Start_Map___201356 = (r0); + r0 = pxsim_Array__mk(); + s.tmp_0 = r0; + s.tmp_2 = tiles_createMap__P176558_mk(s); + s.tmp_3 = helpers_getTilemapByName__P175428_mk(s); + s.tmp_3.arg0 = "level3"; + s.callLocIdx = 160; s.pc = 67; return s.tmp_3; case 67: r0 = s.retval; - s.tmp_0.arg0 = r0; - s.callLocIdx = 160; s.pc = 66; return s.tmp_0; + s.tmp_2.arg0 = r0; + s.callLocIdx = 161; s.pc = 66; return s.tmp_2; case 66: r0 = s.retval; - globals.Dungeon___150032 = (r0); - s.tmp_0 = info_setLife__P148168_mk(s); + s.tmp_1 = r0; + r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); + globals.Dungeons___201347 = (s.tmp_0); + r0 = pxsim_Array_.removeAt(globals.Dungeons___201347, 0); + globals.Dungeon___201231 = (r0); + s.tmp_0 = info_setLife__P174784_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 161; s.pc = 68; return s.tmp_0; + s.callLocIdx = 163; s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; - s.tmp_0 = tiles_loadMap__P149944_mk(s); - s.tmp_0.arg0 = globals.Start_Map___150035; - s.callLocIdx = 162; s.pc = 69; return s.tmp_0; + s.tmp_0 = tiles_loadMap__P176560_mk(s); + s.tmp_0.arg0 = globals.Start_Map___201356; + s.callLocIdx = 164; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; - s.tmp_0 = sprites_create__P147921_mk(s); - r0 = pxsim.image.ofBuffer(_hex153010); + s.tmp_0 = sprites_create__P174537_mk(s); + r0 = pxsim.image.ofBuffer(_hex201373); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.Player___148084; - s.callLocIdx = 163; s.pc = 70; return s.tmp_0; + s.tmp_0.arg1 = globals.Player___174700; + s.callLocIdx = 165; s.pc = 70; return s.tmp_0; case 70: r0 = s.retval; - globals.mySprite___150031 = (r0); - s.tmp_0 = scene_cameraFollowSprite__P148416_mk(s); - s.tmp_0.arg0 = globals.mySprite___150031; - s.callLocIdx = 164; s.pc = 71; return s.tmp_0; + globals.mySprite___201102 = (r0); + s.tmp_0 = scene_cameraFollowSprite__P175032_mk(s); + s.tmp_0.arg0 = globals.mySprite___201102; + s.callLocIdx = 166; s.pc = 71; return s.tmp_0; case 71: r0 = s.retval; - s.tmp_0 = story_startCutscene__P149769_mk(s); - s.tmp_0.arg0 = inline__P153015; - s.callLocIdx = 172; s.pc = 72; return s.tmp_0; + s.tmp_0 = story_startCutscene__P176385_mk(s); + s.tmp_0.arg0 = inline__P201378; + s.callLocIdx = 174; s.pc = 72; return s.tmp_0; case 72: r0 = s.retval; - s.tmp_0 = forever__P147794_mk(s); - s.tmp_0.arg0 = inline__P153037; - s.callLocIdx = 177; s.pc = 73; return s.tmp_0; + s.tmp_0 = forever__P174410_mk(s); + s.tmp_0.arg0 = inline__P201400; + s.callLocIdx = 179; s.pc = 73; return s.tmp_0; case 73: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P172526.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/Timers/main.ts","functionName":"
","argumentNames":[]} -_main___P172526.continuations = [ ] +_main___P201506.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/Timers/main.ts","functionName":"
","argumentNames":[]} +_main___P201506.continuations = [ ] -function _main___P172526_mk(s) { +function _main___P201506_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P172526, depth: s.depth + 1, + parent: s, fn: _main___P201506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1362,72 +1370,72 @@ function _main___P172526_mk(s) { tmp_5: undefined, } } -const _hex150152 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") -const _hex155069 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex155071 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex165954 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex150225 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex150741 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex150743 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex150745 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex150747 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex150749 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex150751 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex150753 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex150755 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex150757 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex150759 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex150761 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex151233 = pxsim.BufferMethods.createBufferFromHex("870410001000000077777777777777777767766776d67666777766dd6ddd6ddd77d6dddddddddddd67dddddddddddddb77d6dddddddddddd77d6ddbddbdddddd67d6ddbddbdddddd67dddddddddddddd67dddddddddddddd77d6dddddd1dd1dd67ddddddd11dd1dd77d6dddddddddddd77dddbdddddddddd67d7ddddddd1dddd77d6dddddddddddb") -const _hex151235 = pxsim.BufferMethods.createBufferFromHex("870410001000000067dddddddddddddd67dd1dd1dddddddd77d61dd1ddbddddd67d7dddddddddddd77d71ddddddddddd67d6dddddddddddd7767ddddbddddddd67ddddddddddddd167ddddddddddddddd7dddddddddddddd67d71ddddddddddd77d6ddddddbddbdd77ddddddddbddbdd67d6dddddddddddd7767dddd1ddddd1d77d6dddddddddddd") -const _hex151237 = pxsim.BufferMethods.createBufferFromHex("8704100010000000d7ddddd1dddddddd67dddddddddddddd77d6dddddddddddd67d6ddddbddbdddd67dddbddbddbdddd77dddddddddddddb77d6dddddddddddd77d6dddddddddddd67d6ddd1ddddddddd7dddddddbdddddd67dd11ddddddd1dd77d611dddddddddd67ddddddd6dddddd77d66ddd67dd66dd776776667766676d7777777777777777") -const _hex151239 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777677777777777757657777777777777755767777557677557777777777777757757777777777777757757777777777775576777777777777657777777777777777777777777777777777777777777777777777777777777777576577777777777777777777577777777777777777777777777777777777") -const _hex151241 = pxsim.BufferMethods.createBufferFromHex("870410001000000077777777777777776767776776d67676666766dd6ddd6dd6ddd6d6ddddbdddd6dddddddddddddddddddddddddddddddd11dddddddddddddd11ddbddddddddddddddddddddd1ddddbdddddddddd11d1ddddd1dddddd1dddddddddddddddddddddddddddddbbddddddddddddddbbddddddddddddddddddddddddddddd1dddddd1d") -const _hex151243 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") -const _hex151245 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ddddddddd1dddddddd1ddddddddddddddd11d1ddddddddd1dd1dddddddddddddddddddddbddbddddddddddddbddbddddddddddddddddddddddddddddddddddddddbddddddddddddddddddddddddddddddddddddddddddbddddddddd1dddddddddddddddd6dddddddddd6dd667dd66dd666676d6776766d677777777777777777") -const _hex151249 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777d676667766677677dd66dd76ddd66d77dddddd6ddddddd76ddddddddbddb6d77ddddddddbddbdd76dd1ddddddddddd7ddddddddddddd6d76dddddddddddd6d77dddddddddddd6d77dd11dddddddddd77dd11dddddbdddd76dddddddddddd6d76dddddddddd116d77dddddddddd11dd76dddddddbdddddd7d") -const _hex151251 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddd6d77d1ddddd1dddd7677dddddddddddd6d76dddddddddddbdd77dddddddddddd6d77ddddddbbdddd7d76dddbddbbdddddd7ddddddddddddddd76dddddddddddddd76dddddddddddd7677dddddddddddd6d76ddddddddddd17d77dd11dddddddd7d76dd11dddddddd6d77ddddddbddddddd76dddddddddddddd76") -const _hex151253 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bddddddddddd6d77dddddd1dd1dd7d76dddddd1dd1bddd77dddddddddddd6d77dddddddddddddd76ddd1dddddddd6d77dddddddddddddd76ddddddddd1dddd76dddddddddddd6d76ddddbbdddddd6d77ddddbbdddddd6d77dddddddddd1ddd76dddddddddddd6d77ddd6ddd6dd66777766676d67766776777777777777777777") -const _hex151855 = pxsim.BufferMethods.createBufferFromHex("870410001000000000bbbbbbcbbcbb0bb0eeeeeebbeccebbeb44e4eebbeceebb4b4444eebbecee0b4b4444eebbecee0b4b4444eebbecee0b4b4444eebbcbee0b4b4444eecdbcee0b4b4444eecdbcee0b4b4444eebbcbee0b4b4444eebbecee0b4b4444eebbecee0b4b4444eebbecee0beb44e4eebbeceebbb0eeeeeebbeccebb00bbbbbbcbbcbb0b") -const _hex151857 = pxsim.BufferMethods.createBufferFromHex("8704100010000000b0bb0bbbbbbbbb0bebeebbccccebcebb4be4bbccccebeebb4b44bbccccebee0b4b44bbccccebee0b4b44bbccccebee0b4b44bbcbccebee0b4b44cdbcccebee0b4b44cdbcccebee0b4b44bbcbccebee0b4b44bbccccebee0b4b44bbccccebee0b4b44bbccccebee0b4be4bbccccebeebb4beebbccccebcebbb0bb0bbbbbbbbb0b") -const _hex151895 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccacbbddbcdddddbddcdbbddbcdddddbddcdbbddbcbbbbbcbbabbbddfcffffffffffbbddccccccccccccbbddfcffffffffffbbddccccccfcffffbbddfcffffcfccccbbddfcffffffffffbbddccccccccccccbbddfcffffffffffbbddbcbbbbbcbbabbbddbcdddddbddcdbbddbcdddddbddcdccccccccccccccac") -const _hex151903 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccacbbddbcdddddbddcdbbddbcdddddbddcdbbddbcbbbbbcbbabbbddfcffffffffccbbddfcffffffcfccbbddfcffffffcfccbbddfcffffffcfcfbbddfcffffffffcfbbddfcfffffffcccbbddfcfffffffcccbbddfcffffffffccbbddbcbbbbbcbbabbbddbcdddddbddcdbbddbcdddddbddcdccccccccccccccac") -const _hex151917 = pxsim.BufferMethods.createBufferFromHex("87041000100000001d1111b11d1111b1d1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddbdbbd1ddddddd1ddbbbbbbbbbbedbbbbbbed1d1111b11d1111b1d1ddddbdd1ddddbdd1ddbdbbd1ddddbdd1ddbbbbd1ddddbdd11dddbdd1ddddbdd11bddbdd1ddddbdb1ddddddd1ddddbdbbbbbbedbbbbbbed") -const _hex151921 = pxsim.BufferMethods.createBufferFromHex("87041000100000001d1111b11d1111b1d1ddddb6d1ddddbdd1dddd66d1ddddbdd1dd6dbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdddddddbdd1d6dd6ddbddddddbb6bb6bde6eebbed1d11116166be11d1d1ddddbd16ddddbdd1dddd6dd1ddddbdd1ddddbdd1ddddbbd1ddddbdd1ddbbbdd1ddddbdd1ddddbdd1ddddddd1bdddbdbbbbbbedbbbbbbed") -const _hex151929 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcd1d1111c1bdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbbbd1ddddddccccccabccccccad1d1111c1dbddddbdd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddddbdbbbbcbccccccadccccccab") -const _hex151931 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbbbccccccabccccccabdbddddcddbddddbdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbcbccccccabccccccab") -const _hex151933 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbcbccbdbbbbbbbdbbccccccccccabccccccabdbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbcbccbdbbbbcbbdbbccccbdbbbbcbbddbbbcbbdbbbbcbbddcbbcbbdbbbbcbcdbbbbbbbdbbbbcbccccccabccccccab") -const _hex151935 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddddddddddcdbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbccccccccccccccac") -const _hex151937 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddcddddcdbdbbbbdccdbbbbcbbdbbcbbdbbbcbbcbbdbbdcbbbbcbbbcbbdcbbdbbbbbbbccbbddcbbbbbbbbcbcbcdbdbbbbbbbbbbbcdcbbbbbbbbbbbbcbdcbbbbbbbbbbbbdccdbbbbbbbbbbcbcdbdbcbbbbbbbbdccbbdcbbbbbbbcbbdcbbdbbbcbbbbdcbbcbbdbbcbbbcbbdbbcbbdbbbbbcdcbbbbcbcccccccbcdccccac") -const _hex151939 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcdccccccccbdbbbbcbccccccccbdbbbbcbccdcddccbdbbbbcbddbdbbccbdbbbbcbdcbbbbccbdbbbbcbccbbbbccbdbbbbabccccbbcbccccbccaccccbccbdbddcdcccccccccbbdbbcbdccdccccccbdbbcbbddbcdccccbdbbccbcbbbbcbccbdbbccccbcbbcbccbdbbccccccbcccccbdcbcccccccccccccccccccccccccccc") -const _hex151943 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddddddddddcdbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbcbbbbbbbbbbbbcccdbcbbbbbbbbccccbdcbccbbbbcbdccdbdbbbbbccbdcbdcbbdbbbbcbdcbdbbcbbdbbbbbbcbbbbbcbbdbbbbbbcbbbbbcbbdbbbbbbbbbcbbcbbdbbbbbbbbbcbbcbbdbbbbbbbbcbbbcbccccccccccccccac") -const _hex151945 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cf666666c66c6666fc7c7777777c7777c6cc777777cc777776cc6c6666c6666676c7cccccccccccc7667cc7c777777c67667cccc666666cc76676ccccccccccc76677cc6cc6666667c677cc6cc6c66667c677cc6c6cccccccc677cc666cc6c66cc6c7cc666cccccc76cc7cc6666ccc6676676cc6666ccccf7667ccc6666c6cfc") -const _hex151947 = pxsim.BufferMethods.createBufferFromHex("87041000100000007667cccc66cc6ccc76676ccc666c6ccc76677cc6666ccccc7c667cc6cc6ccccccccc7cc6c66c6ccc76677cc6666c6ccc76677cc6666c6ccc76676cc666cc6ccc7667cccc66cc6ccc76676ccc666c6ccc76677cc6666ccccc7c677cc6666ccccccccc7cc6cc6c6ccc76c77cc6666c6ccc76677cc6666c6ccc76676cc666cc6ccc") -const _hex151951 = pxsim.BufferMethods.createBufferFromHex("87041000100000007667cccc666c6cfc76676ccc666c6ccf76677cc6666ccc6c76677cc666cccccc76cc7cc666cc6c66cc6c7cc6c6cccccc7c677cc6cc6c666676677cc6cc66666676677ccccccccccc7667cccc666666667667cc6c777777c676c7cccccccccccc76cc6c666666c666c6cc77777777cc77fc7c777777c77c77cf666666c6cc6c66") -const _hex151953 = pxsim.BufferMethods.createBufferFromHex("870410001000000066c66c6666c66c6677c7777777c7777777c7777777c7767766cc666666c66666cccccccccccccccc767777c6767777c6666666cc666666cccccccccccccccccc66c6666666666c6666c6666666c66c66cccccccccccccccc6c6666c66c6666c6cccccccccccccccc6666cc666666cc66cccccccccccccccccccccccccccccccc") -const _hex151959 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccccccccccccccccccccc66cc666666cc6666cccccccccccccccc6c6666c66c6666c6cccccccccccccccc66c66c6666666c6666c6666666666c66cccccccccccccccccc666666cc6666666c7777676c777767cccccccccccccccc66666c666666cc6677677c7777777c7777777c7777777c7766c66c6666c66c66") -const _hex151999 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cfaaaaaacaacaaaafc3c3333333c3333cacc333333cc33333accacaaaacaaaaa3ac3cccccccccccc3aa3cc3c333333ca3aa3ccccaaaaaacc3aa3accccccccccc3aa33ccaccaaaaaa3ca33ccaccacaaaa3ca33ccacacccccccca33ccaaaccacaaccac3ccaaacccccc3acc3ccaaaacccaa3aa3accaaaaccccf3aa3cccaaaacacfc") -const _hex152001 = pxsim.BufferMethods.createBufferFromHex("87041000100000003aa3ccccaaccaccc3aa3acccaaacaccc3aa33ccaaaaccccc3caa3ccaccaccccccccc3ccacaacaccc3aa33ccaaaacaccc3aa33ccaaaacaccc3aa3accaaaccaccc3aa3ccccaaccaccc3aa3acccaaacaccc3aa33ccaaaaccccc3ca33ccaaaaccccccccc3ccaccacaccc3ac33ccaaaacaccc3aa33ccaaaacaccc3aa3accaaaccaccc") -const _hex152003 = pxsim.BufferMethods.createBufferFromHex("87041000100000003aa3ccccaaccaccc3aa3accaaaccaccc3aa33ccaaacccccc3caa3ccacacccccccccc3ccaccccaccc3aaa3ccaacccaccc3aa3accaaccaaccc3aa3acccaccaaccc3aa3ccccaacaaccc3aa3acccaaccaccc3aa33ccaaaaccccc3ca33ccaaaaccccccccc3ccaccacaccc3ac33ccaaaacaccc3aa33ccaaaacaccc3aa3accaaaccaccc") -const _hex152005 = pxsim.BufferMethods.createBufferFromHex("87041000100000003aa3ccccaaacacfc3aa3acccaaacaccf3aa33ccaaaacccac3aa33ccaaacccccc3acc3ccaaaccacaaccac3ccacacccccc3ca33ccaccacaaaa3aa33ccaccaaaaaa3aa33ccccccccccc3aa3ccccaaaaaaaa3aa3ccac333333ca3ac3cccccccccccc3accacaaaaaacaaacacc33333333cc33fc3c333333c33c33cfaaaaaacaccacaa") -const _hex152007 = pxsim.BufferMethods.createBufferFromHex("8704100010000000aacaacaaaacaacaa33c3333333c3333333c3333333c33a33aaccaaaaaacaaaaacccccccccccccccc3a3333ca3a3333caaaaaaaccaaaaaaccccccccccccccccccaacaaaaaaaaaacaaaacaaaaaaacaacaaccccccccccccccccacaaaacaacaaaacaccccccccccccccccaaaaccaaaaaaccaacccccccccccccccccccccccccccccccc") -const _hex152021 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccccccccccccccccccaaccaaaaaaccaaaaccccccccccccccccacaaaacaacaaaacaccccccccccccccccaacaacaaaaaaacaaaacaaaaaaaaaacaaccccccccccccccccccaaaaaaccaaaaaaac3333a3ac3333a3ccccccccccccccccaaaaacaaaaaaccaa33a33c3333333c3333333c3333333c33aacaacaaaacaacaa") -const _hex152023 = pxsim.BufferMethods.createBufferFromHex("8704100010000000aacaccacaaaaaafc33c33c333333c3cf33cc33333333ccacaaacaaaaaacacca3cccccccccccc3ca3ac333333cacc3aa3aaaaaaaacccc3aa3ccccccccccc33aa3aaaaaaccacc33aa3aaaacaccacc33ac3ccccccacacc3caccaacaccaaacc3cca3ccccccaaacc33aa3cacccaaaacc33aa3fccacaaaccca3aa3cfcacaaacccc3aa3") -const _hex152027 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccaccaaacca3aa3cccacaaaacc33aa3cccacaaaacc33ca3cccacaccacc3cccccccccaaaacc33ac3cccccaaaacc33aa3cccacaaaccca3aa3cccaccaacccc3aa3cccaccaaacca3aa3cccacaaaacc33aa3cccacaaaacc33aa3cccacaacacc3cccccccccaccacc3aac3cccccaaaacc33aa3cccacaaaccca3aa3cccaccaacccc3aa3") -const _hex152029 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cfcacaaaaccc3aa3fccccaaaacca3aa3aacccaaaacc3cca3ccccccaaacc3caccaacaccaaacc33accccccccacacc33ac3aaaacaccacc33ac3aaaaaaccacc33aa3ccccccccccca3aa3ccaaaaaacccc3aa3ac333333c3cc3aa3cccccccccccc3ca3aaaaacaaaacacca33333cc333333ccac3333c3333333c3cfaaaacaacaaaaaafc") -const _hex152478 = pxsim.BufferMethods.createBufferFromHex("8704100004000000ffff0000d1cb0000a2ff0000b3fc0000e4fc000045ce000086fc000067c80000c8ff000069c80000bafc0000cbff0000fcff0000bdfc0000ceff0000ffff0000") -const _hex152606 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex152610 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ddddddddddddddddddddbbbbbbdbddddddbdffffffbfddddddfbffffffffdbddbdffffffffffbfddfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbbdffffffffffbfddddfbffffffffdbddddbdffffffbfddddddddbbbbbbdbdddd") -const _hex152614 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex152618 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddddddddddcdbdbbbbbbbbbbbbcbbdbbbbdbbdbbbbcbbdbbbbbdddbbbbcbbdbbdbbbdbbdbbcbbdbbbbbdbbbdbbcbbdbbbbdbbbbdbbcbbdbbbbbbddbdbbcbbdbbbbdbbbbdbbcbbdbbbbbdbbbdbbcbbdbbdbbbdbbdbbcbbdbbbbbdddbbbbcbbdbbbbdbbdbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbccccccccccccccac") -const _hex152622 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddddddddddcdbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbdbddddbdbbcbbdbbdbbbbbbdbbcbbdbbdbbbbbbdbbcbbdbbdbddddbdbbcbbdbbdbbbbbbdbbcbbdbbdbbbbbbdbbcbbdbbdbddddbdbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbccccccccccccccac") -const _hex152626 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddcddddcdbdbbbbdccdbbbbcbbdbbcbbdbbbcbbcbbdbbdcbbbbcbbbcbbdcbbdbbbbbbbccbbddcbbbbbbbbcbcbcdbd55b55b5bbbbcdcbbb5b55b5bbbcbdcbbb5555555bbdccdbb55b5bbbbcbcdbdbcbbbbbbbbdccbbdcbbbbbbbcbbdcbbdbbbcbbbbdcbbcbbdbbcbbbcbbdbbcbbdbbbbbcdcbbbbcbcccccccbcdccccac") -const _hex153010 = pxsim.BufferMethods.createBufferFromHex("87040f000f000000000066666606000000666666666606006066666666666600606666666666660066661166666666066666ff6666666606666666666666660666666666666666066666666666666606666666666666660666661166666666066066ff6666666600606666666666660000666666666606000000666666060000") - - - - -function inline__P150214(s) { +const _hex176768 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") +const _hex181685 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex181687 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex192570 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex176841 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex177357 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex177359 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex177361 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex177363 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex177365 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex177367 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex177369 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex177371 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex177373 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex177375 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex177377 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex177849 = pxsim.BufferMethods.createBufferFromHex("870410001000000077777777777777777767766776d67666777766dd6ddd6ddd77d6dddddddddddd67dddddddddddddb77d6dddddddddddd77d6ddbddbdddddd67d6ddbddbdddddd67dddddddddddddd67dddddddddddddd77d6dddddd1dd1dd67ddddddd11dd1dd77d6dddddddddddd77dddbdddddddddd67d7ddddddd1dddd77d6dddddddddddb") +const _hex177851 = pxsim.BufferMethods.createBufferFromHex("870410001000000067dddddddddddddd67dd1dd1dddddddd77d61dd1ddbddddd67d7dddddddddddd77d71ddddddddddd67d6dddddddddddd7767ddddbddddddd67ddddddddddddd167ddddddddddddddd7dddddddddddddd67d71ddddddddddd77d6ddddddbddbdd77ddddddddbddbdd67d6dddddddddddd7767dddd1ddddd1d77d6dddddddddddd") +const _hex177853 = pxsim.BufferMethods.createBufferFromHex("8704100010000000d7ddddd1dddddddd67dddddddddddddd77d6dddddddddddd67d6ddddbddbdddd67dddbddbddbdddd77dddddddddddddb77d6dddddddddddd77d6dddddddddddd67d6ddd1ddddddddd7dddddddbdddddd67dd11ddddddd1dd77d611dddddddddd67ddddddd6dddddd77d66ddd67dd66dd776776667766676d7777777777777777") +const _hex177855 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777677777777777757657777777777777755767777557677557777777777777757757777777777777757757777777777775576777777777777657777777777777777777777777777777777777777777777777777777777777777576577777777777777777777577777777777777777777777777777777777") +const _hex177857 = pxsim.BufferMethods.createBufferFromHex("870410001000000077777777777777776767776776d67676666766dd6ddd6dd6ddd6d6ddddbdddd6dddddddddddddddddddddddddddddddd11dddddddddddddd11ddbddddddddddddddddddddd1ddddbdddddddddd11d1ddddd1dddddd1dddddddddddddddddddddddddddddbbddddddddddddddbbddddddddddddddddddddddddddddd1dddddd1d") +const _hex177859 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") +const _hex177861 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ddddddddd1dddddddd1ddddddddddddddd11d1ddddddddd1dd1dddddddddddddddddddddbddbddddddddddddbddbddddddddddddddddddddddddddddddddddddddbddddddddddddddddddddddddddddddddddddddddddbddddddddd1dddddddddddddddd6dddddddddd6dd667dd66dd666676d6776766d677777777777777777") +const _hex177865 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777d676667766677677dd66dd76ddd66d77dddddd6ddddddd76ddddddddbddb6d77ddddddddbddbdd76dd1ddddddddddd7ddddddddddddd6d76dddddddddddd6d77dddddddddddd6d77dd11dddddddddd77dd11dddddbdddd76dddddddddddd6d76dddddddddd116d77dddddddddd11dd76dddddddbdddddd7d") +const _hex177867 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddd6d77d1ddddd1dddd7677dddddddddddd6d76dddddddddddbdd77dddddddddddd6d77ddddddbbdddd7d76dddbddbbdddddd7ddddddddddddddd76dddddddddddddd76dddddddddddd7677dddddddddddd6d76ddddddddddd17d77dd11dddddddd7d76dd11dddddddd6d77ddddddbddddddd76dddddddddddddd76") +const _hex177869 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bddddddddddd6d77dddddd1dd1dd7d76dddddd1dd1bddd77dddddddddddd6d77dddddddddddddd76ddd1dddddddd6d77dddddddddddddd76ddddddddd1dddd76dddddddddddd6d76ddddbbdddddd6d77ddddbbdddddd6d77dddddddddd1ddd76dddddddddddd6d77ddd6ddd6dd66777766676d67766776777777777777777777") +const _hex178471 = pxsim.BufferMethods.createBufferFromHex("870410001000000000bbbbbbcbbcbb0bb0eeeeeebbeccebbeb44e4eebbeceebb4b4444eebbecee0b4b4444eebbecee0b4b4444eebbecee0b4b4444eebbcbee0b4b4444eecdbcee0b4b4444eecdbcee0b4b4444eebbcbee0b4b4444eebbecee0b4b4444eebbecee0b4b4444eebbecee0beb44e4eebbeceebbb0eeeeeebbeccebb00bbbbbbcbbcbb0b") +const _hex178473 = pxsim.BufferMethods.createBufferFromHex("8704100010000000b0bb0bbbbbbbbb0bebeebbccccebcebb4be4bbccccebeebb4b44bbccccebee0b4b44bbccccebee0b4b44bbccccebee0b4b44bbcbccebee0b4b44cdbcccebee0b4b44cdbcccebee0b4b44bbcbccebee0b4b44bbccccebee0b4b44bbccccebee0b4b44bbccccebee0b4be4bbccccebeebb4beebbccccebcebbb0bb0bbbbbbbbb0b") +const _hex178511 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccacbbddbcdddddbddcdbbddbcdddddbddcdbbddbcbbbbbcbbabbbddfcffffffffffbbddccccccccccccbbddfcffffffffffbbddccccccfcffffbbddfcffffcfccccbbddfcffffffffffbbddccccccccccccbbddfcffffffffffbbddbcbbbbbcbbabbbddbcdddddbddcdbbddbcdddddbddcdccccccccccccccac") +const _hex178519 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccacbbddbcdddddbddcdbbddbcdddddbddcdbbddbcbbbbbcbbabbbddfcffffffffccbbddfcffffffcfccbbddfcffffffcfccbbddfcffffffcfcfbbddfcffffffffcfbbddfcfffffffcccbbddfcfffffffcccbbddfcffffffffccbbddbcbbbbbcbbabbbddbcdddddbddcdbbddbcdddddbddcdccccccccccccccac") +const _hex178533 = pxsim.BufferMethods.createBufferFromHex("87041000100000001d1111b11d1111b1d1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdd1ddbdbbd1ddddddd1ddbbbbbbbbbbedbbbbbbed1d1111b11d1111b1d1ddddbdd1ddddbdd1ddbdbbd1ddddbdd1ddbbbbd1ddddbdd11dddbdd1ddddbdd11bddbdd1ddddbdb1ddddddd1ddddbdbbbbbbedbbbbbbed") +const _hex178537 = pxsim.BufferMethods.createBufferFromHex("87041000100000001d1111b11d1111b1d1ddddb6d1ddddbdd1dddd66d1ddddbdd1dd6dbdd1ddddbdd1ddddbdd1ddddbdd1ddddbdddddddbdd1d6dd6ddbddddddbb6bb6bde6eebbed1d11116166be11d1d1ddddbd16ddddbdd1dddd6dd1ddddbdd1ddddbdd1ddddbbd1ddddbdd1ddbbbdd1ddddbdd1ddddbdd1ddddddd1bdddbdbbbbbbedbbbbbbed") +const _hex178545 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcd1d1111c1bdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbbbd1ddddddccccccabccccccad1d1111c1dbddddbdd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddcdbdbbbbcbd1ddddddbdbbbbcbccccccadccccccab") +const _hex178547 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbbbccccccabccccccabdbddddcddbddddbdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbcbccccccabccccccab") +const _hex178549 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbcbccbdbbbbbbbdbbccccccccccabccccccabdbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbcbccbdbbbbcbbdbbccccbdbbbbcbbddbbbcbbdbbbbcbbddcbbcbbdbbbbcbcdbbbbbbbdbbbbcbccccccabccccccab") +const _hex178551 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddddddddddcdbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbccccccccccccccac") +const _hex178553 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddcddddcdbdbbbbdccdbbbbcbbdbbcbbdbbbcbbcbbdbbdcbbbbcbbbcbbdcbbdbbbbbbbccbbddcbbbbbbbbcbcbcdbdbbbbbbbbbbbcdcbbbbbbbbbbbbcbdcbbbbbbbbbbbbdccdbbbbbbbbbbcbcdbdbcbbbbbbbbdccbbdcbbbbbbbcbbdcbbdbbbcbbbbdcbbcbbdbbcbbbcbbdbbcbbdbbbbbcdcbbbbcbcccccccbcdccccac") +const _hex178555 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcdccccccccbdbbbbcbccccccccbdbbbbcbccdcddccbdbbbbcbddbdbbccbdbbbbcbdcbbbbccbdbbbbcbccbbbbccbdbbbbabccccbbcbccccbccaccccbccbdbddcdcccccccccbbdbbcbdccdccccccbdbbcbbddbcdccccbdbbccbcbbbbcbccbdbbccccbcbbcbccbdbbccccccbcccccbdcbcccccccccccccccccccccccccccc") +const _hex178559 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddddddddddcdbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbcbbbbbbbbbbbbcccdbcbbbbbbbbccccbdcbccbbbbcbdccdbdbbbbbccbdcbdcbbdbbbbcbdcbdbbcbbdbbbbbbcbbbbbcbbdbbbbbbcbbbbbcbbdbbbbbbbbbcbbcbbdbbbbbbbbbcbbcbbdbbbbbbbbcbbbcbccccccccccccccac") +const _hex178561 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cf666666c66c6666fc7c7777777c7777c6cc777777cc777776cc6c6666c6666676c7cccccccccccc7667cc7c777777c67667cccc666666cc76676ccccccccccc76677cc6cc6666667c677cc6cc6c66667c677cc6c6cccccccc677cc666cc6c66cc6c7cc666cccccc76cc7cc6666ccc6676676cc6666ccccf7667ccc6666c6cfc") +const _hex178563 = pxsim.BufferMethods.createBufferFromHex("87041000100000007667cccc66cc6ccc76676ccc666c6ccc76677cc6666ccccc7c667cc6cc6ccccccccc7cc6c66c6ccc76677cc6666c6ccc76677cc6666c6ccc76676cc666cc6ccc7667cccc66cc6ccc76676ccc666c6ccc76677cc6666ccccc7c677cc6666ccccccccc7cc6cc6c6ccc76c77cc6666c6ccc76677cc6666c6ccc76676cc666cc6ccc") +const _hex178567 = pxsim.BufferMethods.createBufferFromHex("87041000100000007667cccc666c6cfc76676ccc666c6ccf76677cc6666ccc6c76677cc666cccccc76cc7cc666cc6c66cc6c7cc6c6cccccc7c677cc6cc6c666676677cc6cc66666676677ccccccccccc7667cccc666666667667cc6c777777c676c7cccccccccccc76cc6c666666c666c6cc77777777cc77fc7c777777c77c77cf666666c6cc6c66") +const _hex178569 = pxsim.BufferMethods.createBufferFromHex("870410001000000066c66c6666c66c6677c7777777c7777777c7777777c7767766cc666666c66666cccccccccccccccc767777c6767777c6666666cc666666cccccccccccccccccc66c6666666666c6666c6666666c66c66cccccccccccccccc6c6666c66c6666c6cccccccccccccccc6666cc666666cc66cccccccccccccccccccccccccccccccc") +const _hex178575 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccccccccccccccccccccc66cc666666cc6666cccccccccccccccc6c6666c66c6666c6cccccccccccccccc66c66c6666666c6666c6666666666c66cccccccccccccccccc666666cc6666666c7777676c777767cccccccccccccccc66666c666666cc6677677c7777777c7777777c7777777c7766c66c6666c66c66") +const _hex178615 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cfaaaaaacaacaaaafc3c3333333c3333cacc333333cc33333accacaaaacaaaaa3ac3cccccccccccc3aa3cc3c333333ca3aa3ccccaaaaaacc3aa3accccccccccc3aa33ccaccaaaaaa3ca33ccaccacaaaa3ca33ccacacccccccca33ccaaaccacaaccac3ccaaacccccc3acc3ccaaaacccaa3aa3accaaaaccccf3aa3cccaaaacacfc") +const _hex178617 = pxsim.BufferMethods.createBufferFromHex("87041000100000003aa3ccccaaccaccc3aa3acccaaacaccc3aa33ccaaaaccccc3caa3ccaccaccccccccc3ccacaacaccc3aa33ccaaaacaccc3aa33ccaaaacaccc3aa3accaaaccaccc3aa3ccccaaccaccc3aa3acccaaacaccc3aa33ccaaaaccccc3ca33ccaaaaccccccccc3ccaccacaccc3ac33ccaaaacaccc3aa33ccaaaacaccc3aa3accaaaccaccc") +const _hex178619 = pxsim.BufferMethods.createBufferFromHex("87041000100000003aa3ccccaaccaccc3aa3accaaaccaccc3aa33ccaaacccccc3caa3ccacacccccccccc3ccaccccaccc3aaa3ccaacccaccc3aa3accaaccaaccc3aa3acccaccaaccc3aa3ccccaacaaccc3aa3acccaaccaccc3aa33ccaaaaccccc3ca33ccaaaaccccccccc3ccaccacaccc3ac33ccaaaacaccc3aa33ccaaaacaccc3aa3accaaaccaccc") +const _hex178621 = pxsim.BufferMethods.createBufferFromHex("87041000100000003aa3ccccaaacacfc3aa3acccaaacaccf3aa33ccaaaacccac3aa33ccaaacccccc3acc3ccaaaccacaaccac3ccacacccccc3ca33ccaccacaaaa3aa33ccaccaaaaaa3aa33ccccccccccc3aa3ccccaaaaaaaa3aa3ccac333333ca3ac3cccccccccccc3accacaaaaaacaaacacc33333333cc33fc3c333333c33c33cfaaaaaacaccacaa") +const _hex178623 = pxsim.BufferMethods.createBufferFromHex("8704100010000000aacaacaaaacaacaa33c3333333c3333333c3333333c33a33aaccaaaaaacaaaaacccccccccccccccc3a3333ca3a3333caaaaaaaccaaaaaaccccccccccccccccccaacaaaaaaaaaacaaaacaaaaaaacaacaaccccccccccccccccacaaaacaacaaaacaccccccccccccccccaaaaccaaaaaaccaacccccccccccccccccccccccccccccccc") +const _hex178637 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccccccccccccccccccaaccaaaaaaccaaaaccccccccccccccccacaaaacaacaaaacaccccccccccccccccaacaacaaaaaaacaaaacaaaaaaaaaacaaccccccccccccccccccaaaaaaccaaaaaaac3333a3ac3333a3ccccccccccccccccaaaaacaaaaaaccaa33a33c3333333c3333333c3333333c33aacaacaaaacaacaa") +const _hex178639 = pxsim.BufferMethods.createBufferFromHex("8704100010000000aacaccacaaaaaafc33c33c333333c3cf33cc33333333ccacaaacaaaaaacacca3cccccccccccc3ca3ac333333cacc3aa3aaaaaaaacccc3aa3ccccccccccc33aa3aaaaaaccacc33aa3aaaacaccacc33ac3ccccccacacc3caccaacaccaaacc3cca3ccccccaaacc33aa3cacccaaaacc33aa3fccacaaaccca3aa3cfcacaaacccc3aa3") +const _hex178643 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccaccaaacca3aa3cccacaaaacc33aa3cccacaaaacc33ca3cccacaccacc3cccccccccaaaacc33ac3cccccaaaacc33aa3cccacaaaccca3aa3cccaccaacccc3aa3cccaccaaacca3aa3cccacaaaacc33aa3cccacaaaacc33aa3cccacaacacc3cccccccccaccacc3aac3cccccaaaacc33aa3cccacaaaccca3aa3cccaccaacccc3aa3") +const _hex178645 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cfcacaaaaccc3aa3fccccaaaacca3aa3aacccaaaacc3cca3ccccccaaacc3caccaacaccaaacc33accccccccacacc33ac3aaaacaccacc33ac3aaaaaaccacc33aa3ccccccccccca3aa3ccaaaaaacccc3aa3ac333333c3cc3aa3cccccccccccc3ca3aaaaacaaaacacca33333cc333333ccac3333c3333333c3cfaaaacaacaaaaaafc") +const _hex179094 = pxsim.BufferMethods.createBufferFromHex("8704100004000000ffff0000d1cb0000a2ff0000b3fc0000e4fc000045ce000086fc000067c80000c8ff000069c80000bafc0000cbff0000fcff0000bdfc0000ceff0000ffff0000") +const _hex199271 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex199276 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ddddddddddddddddddddbbbbbbdbddddddbdffffffbfddddddfbffffffffdbddbdffffffffffbfddfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbfbffffffffffffdbbdffffffffffbfddddfbffffffffdbddddbdffffffbfddddddddbbbbbbdbdddd") +const _hex199281 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex199286 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddddddddddcdbdbbbbbbbbbbbbcbbdbbbbdbbdbbbbcbbdbbbbbdddbbbbcbbdbbdbbbdbbdbbcbbdbbbbbdbbbdbbcbbdbbbbdbbbbdbbcbbdbbbbbbddbdbbcbbdbbbbdbbbbdbbcbbdbbbbbdbbbdbbcbbdbbdbbbdbbdbbcbbdbbbbbdddbbbbcbbdbbbbdbbdbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbccccccccccccccac") +const _hex199291 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddddddddddcdbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbdbddddbdbbcbbdbbdbbbbbbdbbcbbdbbdbbbbbbdbbcbbdbbdbddddbdbbcbbdbbdbbbbbbdbbcbbdbbdbbbbbbdbbcbbdbbdbddddbdbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbbdbbbbbbbbbbbbcbccccccccccccccac") +const _hex199296 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddcddddcdbdbbbbdccdbbbbcbbdbbcbbdbbbcbbcbbdbbdcbbbbcbbbcbbdcbbdbbbbbbbccbbddcbbbbbbbbcbcbcdbd55b55b5bbbbcdcbbb5b55b5bbbcbdcbbb5555555bbdccdbb55b5bbbbcbcdbdbcbbbbbbbbdccbbdcbbbbbbbcbbdcbbdbbbcbbbbdcbbcbbdbbcbbbcbbdbbcbbdbbbbbcdcbbbbcbcccccccbcdccccac") +const _hex201373 = pxsim.BufferMethods.createBufferFromHex("87040f000f000000000066666606000000666666666606006066666666666600606666666666660066661166666666066666ff6666666606666666666666660666666666666666066666666666666606666666666666660666661166666666066066ff6666666600606666666666660000666666666606000000666666060000") + + + + +function inline__P176830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1440,23 +1448,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___150211 = (false); - s.tmp_0 = pause__P146339_mk(s); + globals.__updated___176827 = (false); + s.tmp_0 = pause__P172955_mk(s); s.tmp_0.arg0 = 200; s.callLocIdx = 4; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__updated___150211); + r0 = pxsim_numops_toBoolDecr(globals.__updated___176827); 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__P147710_mk(s); + s.tmp_2 = control___screen_update__P174326_mk(s); s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___150211 = (true); + globals.__updated___176827 = (true); case 2: case 3: { step = 1; continue; } @@ -1465,12 +1473,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P150214.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P176830.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function inline__P150214_mk(s) { +function inline__P176830_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P150214, depth: s.depth + 1, + parent: s, fn: inline__P176830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1481,7 +1489,7 @@ function inline__P150214_mk(s) { -function inline__P150232(s) { +function inline__P176848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1491,17 +1499,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___147749); + r0 = pxsim_pxtcore.updateScreen(globals.screen___174365); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P150232.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P176848.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function inline__P150232_mk(s) { +function inline__P176848_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P150232, depth: s.depth + 1, + parent: s, fn: inline__P176848, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1509,7 +1517,7 @@ function inline__P150232_mk(s) { -function inline__P150237(s) { +function inline__P176853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1528,12 +1536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P150237.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +inline__P176853.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -function inline__P150237_mk(s) { +function inline__P176853_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P150237, depth: s.depth + 1, + parent: s, fn: inline__P176853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1542,7 +1550,7 @@ function inline__P150237_mk(s) { -function inline__P150352(s) { +function inline__P176968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1556,36 +1564,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___150348); + r0 = pxsim_numops_toBoolDecr(globals.infoState___176964); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___150350); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___176966); 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___150350 = (r0); + globals.infoStateStack___176966 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___150348); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___176964); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___150350, s.tmp_0); - globals.infoState___150348 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___176966, s.tmp_0); + globals.infoState___176964 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P150352.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P176968.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function inline__P150352_mk(s) { +function inline__P176968_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P150352, depth: s.depth + 1, + parent: s, fn: inline__P176968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1596,7 +1604,7 @@ function inline__P150352_mk(s) { -function inline__P150367(s) { +function inline__P176983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1606,30 +1614,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___150368 = undefined; - s.nextState___150377 = undefined; - s.tmp_0 = game_currentScene__P148484_mk(s); + s.scene___176984 = undefined; + s.nextState___176993 = undefined; + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 21; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___150368 = (r0); - globals.infoState___150348 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___150350; + s.scene___176984 = (r0); + globals.infoState___176964 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___176966; 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___150350); + r0 = pxsim_Array__length(globals.infoStateStack___176966); 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___150350); - s.nextState___150377 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___176966); + s.nextState___176993 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___150377; + s.tmp_2.arg0 = s.nextState___176993; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1641,12 +1649,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___150368); + r0 = (s.tmp_1 == s.scene___176984); 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___150377; + s.tmp_3.arg0 = s.nextState___176993; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1657,10 +1665,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___150348 = (r0); + globals.infoState___176964 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___150350, s.nextState___150377); + r0 = pxsim_Array__push(globals.infoStateStack___176966, s.nextState___176993); case 4: case 5: case 6: @@ -1668,26 +1676,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P150367.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P176983.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P150367_mk(s) { +function inline__P176983_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P150367, depth: s.depth + 1, + parent: s, fn: inline__P176983, 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___150368: undefined, - nextState___150377: undefined, + scene___176984: undefined, + nextState___176993: undefined, } } -function inline__P150804(s) { +function inline__P177420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1697,13 +1705,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___150805 = undefined; - s.tmp_0 = control_ramSize__P146272_mk(s); + s.sz___177421 = undefined; + s.tmp_0 = control_ramSize__P172888_mk(s); s.callLocIdx = 31; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___150805 = (r0); - r0 = (s.sz___150805 <= 102400); + s.sz___177421 = (r0); + r0 = (s.sz___177421 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -1711,7 +1719,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___150805 <= 204800); + r0 = (s.sz___177421 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -1728,23 +1736,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P150804.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P177420.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function inline__P150804_mk(s) { +function inline__P177420_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P150804, depth: s.depth + 1, + parent: s, fn: inline__P177420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___150805: undefined, + sz___177421: undefined, } } -function inline__P150896(s) { +function inline__P177512(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1774,12 +1782,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P150896.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P177512.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -function inline__P150896_mk(s) { +function inline__P177512_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P150896, depth: s.depth + 1, + parent: s, fn: inline__P177512, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1794,7 +1802,7 @@ function inline__P150896_mk(s) { -function inline__P150909(s) { +function inline__P177525(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1823,7 +1831,7 @@ switch (step) { r0 = (s.tmp_4 * 2); s.tmp_3 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_2, "yOffset", s.tmp_3); - s.tmp_7 = Math_sign__P146061_mk(s); + s.tmp_7 = Math_sign__P172677_mk(s); r0 = pxsim.Math_.sin(s.arg0); s.tmp_7.arg0 = r0; s.callLocIdx = 51; s.pc = 7; return s.tmp_7; @@ -1888,7 +1896,7 @@ switch (step) { } case 9: r0 = s.retval; - s.tmp_2 = Math_abs__P146060_mk(s); + s.tmp_2 = Math_abs__P172676_mk(s); s.tmp_3 = if_yOffset_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -1960,12 +1968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P150909.info = {"start":1127,"length":417,"line":42,"column":39,"endLine":55,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["index","state"]} +inline__P177525.info = {"start":1127,"length":417,"line":42,"column":39,"endLine":55,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["index","state"]} -function inline__P150909_mk(s) { +function inline__P177525_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P150909, depth: s.depth + 1, + parent: s, fn: inline__P177525, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1985,7 +1993,7 @@ function inline__P150909_mk(s) { -function inline__P152630(s) { +function inline__P199301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1999,10 +2007,10 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P146055_mk(s); + s.tmp_1 = helpers_stringTrim__P172671_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 70; s.pc = 9; return s.tmp_1; - case 9: + s.callLocIdx = 70; s.pc = 11; return s.tmp_1; + case 11: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq("level2", s.tmp_0); @@ -2017,105 +2025,124 @@ switch (step) { if (r0) { step = 5; continue; } r0 = pxsim_pxtcore.switch_eq("level3", s.tmp_0); if (r0) { step = 6; continue; } + r0 = pxsim_pxtcore.switch_eq("level4", s.tmp_0); + if (r0) { step = 7; continue; } + r0 = pxsim_pxtcore.switch_eq("level4", s.tmp_0); + if (r0) { step = 8; continue; } r0 = s.tmp_0; - { step = 7; continue; } + { step = 9; continue; } case 1: case 2: r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, globals.transparency16___150037); - s.tmp_3 = tiles_createTilemap__P148299_mk(s); - s.tmp_3.arg0 = _hex152637; - r0 = pxsim.image.ofBuffer(_hex152639); + r0 = pxsim_Array__push(s.tmp_2, globals.transparency16___199272); + s.tmp_3 = tiles_createTilemap__P174915_mk(s); + s.tmp_3.arg0 = _hex199308; + r0 = pxsim.image.ofBuffer(_hex199310); s.tmp_3.arg1 = r0; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = 4; - s.callLocIdx = 71; s.pc = 10; return s.tmp_3; - case 10: + s.callLocIdx = 71; s.pc = 12; return s.tmp_3; + case 12: r0 = s.retval; - { step = 8; continue; } + { step = 10; continue; } case 3: case 4: r0 = pxsim_Array__mk(); s.tmp_4 = r0; - r0 = pxsim_Array__push(s.tmp_4, globals.transparency16___150037); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath4___149045); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath8___149050); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath6___149047); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath2___149042); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath1___149041); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath3___149043); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath7___149049); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath9___149051); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath5___149046); - r0 = pxsim_Array__push(s.tmp_4, globals.tile1___150038); - r0 = pxsim_Array__push(s.tmp_4, globals.tileGrass1___149044); - s.tmp_5 = tiles_createTilemap__P148299_mk(s); - s.tmp_5.arg0 = _hex152645; - r0 = pxsim.image.ofBuffer(_hex152647); + r0 = pxsim_Array__push(s.tmp_4, globals.transparency16___199272); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath4___175661); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath8___175666); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath6___175663); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath2___175658); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath1___175657); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath3___175659); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath7___175665); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath9___175667); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath5___175662); + r0 = pxsim_Array__push(s.tmp_4, globals.tile1___199277); + r0 = pxsim_Array__push(s.tmp_4, globals.tileGrass1___175660); + s.tmp_5 = tiles_createTilemap__P174915_mk(s); + s.tmp_5.arg0 = _hex199316; + r0 = pxsim.image.ofBuffer(_hex199318); s.tmp_5.arg1 = r0; s.tmp_5.arg2 = s.tmp_4; s.tmp_5.arg3 = 4; - s.callLocIdx = 72; s.pc = 11; return s.tmp_5; - case 11: + s.callLocIdx = 72; s.pc = 13; return s.tmp_5; + case 13: r0 = s.retval; - { step = 8; continue; } + { step = 10; continue; } case 5: case 6: r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.transparency16___150037); - r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterWest0___149434); - r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterNorth0___149431); - r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterEast1___149441); - r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterSouth1___149444); - r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterSouthWest___149445); - r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterSouthEast___149442); - r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterNorthWest___149430); - r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterNorthEast___149433); - r0 = pxsim_Array__push(s.tmp_6, globals.floorDark2___149398); - r0 = pxsim_Array__push(s.tmp_6, globals.floorDark5___149402); - r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterNorth1___149432); - r0 = pxsim_Array__push(s.tmp_6, globals.floorMixed___149395); - r0 = pxsim_Array__push(s.tmp_6, globals.floorDark3___149400); - r0 = pxsim_Array__push(s.tmp_6, globals.floorLightMoss___149391); - r0 = pxsim_Array__push(s.tmp_6, globals.floorDark1___149397); - r0 = pxsim_Array__push(s.tmp_6, globals.floorDark0___149396); - r0 = pxsim_Array__push(s.tmp_6, globals.floorLight1___149389); - r0 = pxsim_Array__push(s.tmp_6, globals.floorDarkDiamond___149399); - r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterNorthWest___149403); - r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterNorth0___149404); - r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterNorthEast___149406); - r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterWest0___149407); - r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterEast0___149410); - r0 = pxsim_Array__push(s.tmp_6, globals.chestClosed___149358); - r0 = pxsim_Array__push(s.tmp_6, globals.tile2___150040); - r0 = pxsim_Array__push(s.tmp_6, globals.tile4___150041); - r0 = pxsim_Array__push(s.tmp_6, globals.tile5___150042); - r0 = pxsim_Array__push(s.tmp_6, globals.doorClosedNorth___149378); - r0 = pxsim_Array__push(s.tmp_6, globals.doorOpenNorth___149382); - s.tmp_7 = tiles_createTilemap__P148299_mk(s); - s.tmp_7.arg0 = _hex152664; - r0 = pxsim.image.ofBuffer(_hex152666); + r0 = pxsim_Array__push(s.tmp_6, globals.transparency16___199272); + r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterWest0___176050); + r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterNorth0___176047); + r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterEast1___176057); + r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterSouth1___176060); + r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterSouthWest___176061); + r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterSouthEast___176058); + r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterNorthWest___176046); + r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterNorthEast___176049); + r0 = pxsim_Array__push(s.tmp_6, globals.floorDark2___176014); + r0 = pxsim_Array__push(s.tmp_6, globals.floorDark5___176018); + r0 = pxsim_Array__push(s.tmp_6, globals.purpleOuterNorth1___176048); + r0 = pxsim_Array__push(s.tmp_6, globals.floorMixed___176011); + r0 = pxsim_Array__push(s.tmp_6, globals.floorDark3___176016); + r0 = pxsim_Array__push(s.tmp_6, globals.floorLightMoss___176007); + r0 = pxsim_Array__push(s.tmp_6, globals.floorDark1___176013); + r0 = pxsim_Array__push(s.tmp_6, globals.floorDark0___176012); + r0 = pxsim_Array__push(s.tmp_6, globals.floorLight1___176005); + r0 = pxsim_Array__push(s.tmp_6, globals.floorDarkDiamond___176015); + r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterNorthWest___176019); + r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterNorth0___176020); + r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterNorthEast___176022); + r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterWest0___176023); + r0 = pxsim_Array__push(s.tmp_6, globals.greenOuterEast0___176026); + r0 = pxsim_Array__push(s.tmp_6, globals.chestClosed___175974); + r0 = pxsim_Array__push(s.tmp_6, globals.tile2___199287); + r0 = pxsim_Array__push(s.tmp_6, globals.tile4___199292); + r0 = pxsim_Array__push(s.tmp_6, globals.tile5___199297); + r0 = pxsim_Array__push(s.tmp_6, globals.doorClosedNorth___175994); + r0 = pxsim_Array__push(s.tmp_6, globals.doorOpenNorth___175998); + s.tmp_7 = tiles_createTilemap__P174915_mk(s); + s.tmp_7.arg0 = _hex199335; + r0 = pxsim.image.ofBuffer(_hex199337); s.tmp_7.arg1 = r0; s.tmp_7.arg2 = s.tmp_6; s.tmp_7.arg3 = 4; - s.callLocIdx = 73; s.pc = 12; return s.tmp_7; - case 12: + s.callLocIdx = 73; s.pc = 14; return s.tmp_7; + case 14: r0 = s.retval; - { step = 8; continue; } + { step = 10; continue; } case 7: - r0 = null; case 8: + r0 = pxsim_Array__mk(); + s.tmp_8 = r0; + r0 = pxsim_Array__push(s.tmp_8, globals.transparency16___199272); + s.tmp_9 = tiles_createTilemap__P174915_mk(s); + s.tmp_9.arg0 = _hex199372; + r0 = pxsim.image.ofBuffer(_hex199374); + s.tmp_9.arg1 = r0; + s.tmp_9.arg2 = s.tmp_8; + s.tmp_9.arg3 = 4; + s.callLocIdx = 74; s.pc = 15; return s.tmp_9; + case 15: + r0 = s.retval; + { step = 10; continue; } + case 9: + r0 = null; + case 10: return leave(s, r0) default: oops() } } } -inline__P152630.info = {"start":719,"length":7397,"line":15,"column":40,"endLine":90,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} +inline__P199301.info = {"start":719,"length":8586,"line":15,"column":40,"endLine":109,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} -function inline__P152630_mk(s) { +function inline__P199301_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152630, depth: s.depth + 1, + parent: s, fn: inline__P199301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2125,20 +2152,24 @@ function inline__P152630_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, + tmp_8: undefined, + tmp_9: undefined, arg0: undefined, } } -const _hex152637 = pxsim.BufferMethods.createBufferFromHex("1000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex152639 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex152645 = pxsim.BufferMethods.createBufferFromHex("10001000050404040404040404060b0b0b0b0b0b010909090909090909030b0b0b0b0b0b01090a090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b070202020202020202080b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b") -const _hex152647 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex152664 = pxsim.BufferMethods.createBufferFromHex("28001e0007020b0202020202020202021c02020800000000000000000000000000000000000000000000000001090909090c0909090909090909090300000000000000000000000000000000000000000000000001090909090909090909090d0909090300000000000000000000000000000000000000000000000001090f0909090f09090c090909190903000000000000000000000000000000000000000000000000010909090909090909090912090909030000000000000000000000000000000000000000000000000109090909090c0909091212090909030000000000000000000000000000000000000000000000000109090c09111314141512090c09090300000000000000000000000000000000000000000000000001090909091116180917090909090903000000000000000000000000000000000000000000000000010909090911160909170909090909030000000000000000000000000000000000000000000000000109090d090909090c0909090909090202020202020202020800000000000000000000000000000001090909090909090909090909090c090909090909090909030000000000000000000000000000000109090910100c090919090909191909090909090d0909090300000000000000000000000000000001090f09091010090909090f1919190f09090c190909090903000000000000000000000000000000010909090c091010090909191919190909090909120909090300000000000000000000000000000001090a0909090910090919191919190c0909091212090909030000000000000000000000000000000604040404040404040109090c09111109091212090c0909030000000000000000000000000000000000000000000000000109090909110e0e09120909090909030000000000000000000000000000000000000000000000000109190909110e0909090909090909030000000000000000000000000000000000000000000000000109090d090909090c09090909090903000000000000000000000000000000000000000000000000010909090909091909190910100c09030000000000000000000000000000000000000000000000000109090910100c0909090d091009090300000000000000000000000000000000000000000000000001091909091010090919091919190903000000000000000000000000000000000000000000000000010909090c09101009090c191b19090300000000000000000000000000000000000000000000000001090a0909090910090909191919090300000000000000000000000000000000000000000000000006040404040404040404040404040405000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000000000000000001d") -const _hex152666 = pxsim.BufferMethods.createBufferFromHex("870428001e00000022222222222222220000000000000000020000000000002000000000000000000200000000000020000000000000000002000000000000200000000000000000020000000000002000000000000000000200000000000020000000000000000002000022020000200000000000000000020000220000002000000000000000000200000200000020000000000000000002000022020000202222222202000000020000000000000000000000020000000200000000000000000000000200000002000000000000000000000002000000020000000000000000000000020000000200000000000000000000000200000022222222220000000000000002000000000000002000000000000000020000000000000020000000000000000200000000000000200000000000000002000000000000002000000000000000020000000000000020000000000000000200000000000000200000000000000002000000000000002000000000000000020000000000000020000000000000000200000000000000202222222222222202000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex199308 = pxsim.BufferMethods.createBufferFromHex("1000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex199310 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex199316 = pxsim.BufferMethods.createBufferFromHex("10001000050404040404040404060b0b0b0b0b0b010909090909090909030b0b0b0b0b0b01090a090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b010909090909090909030b0b0b0b0b0b070202020202020202080b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b") +const _hex199318 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex199335 = pxsim.BufferMethods.createBufferFromHex("28001e0007020b0202020202020202021c02020800000000000000000000000000000000000000000000000001090909090c0909090909090909090300000000000000000000000000000000000000000000000001090909090909090909090d0909090300000000000000000000000000000000000000000000000001090f0909090f09090c090909190903000000000000000000000000000000000000000000000000010909090909090909090912090909030000000000000000000000000000000000000000000000000109090909090c0909091212090909030000000000000000000000000000000000000000000000000109090c09111314141512090c09090300000000000000000000000000000000000000000000000001090909091116180917090909090903000000000000000000000000000000000000000000000000010909090911160909170909090909030000000000000000000000000000000000000000000000000109090d090909090c0909090909090202020202020202020800000000000000000000000000000001090909090909090909090909090c090909090909090909030000000000000000000000000000000109090910100c090919090909191909090909090d0909090300000000000000000000000000000001090f09091010090909090f1919190f09090c190909090903000000000000000000000000000000010909090c091010090909191919190909090909120909090300000000000000000000000000000001090a0909090910090919191919190c0909091212090909030000000000000000000000000000000604040404040404040109090c09111109091212090c0909030000000000000000000000000000000000000000000000000109090909110e0e09120909090909030000000000000000000000000000000000000000000000000109190909110e0909090909090909030000000000000000000000000000000000000000000000000109090d090909090c09090909090903000000000000000000000000000000000000000000000000010909090909091909190910100c09030000000000000000000000000000000000000000000000000109090910100c0909090d091009090300000000000000000000000000000000000000000000000001091909091010090919091919190903000000000000000000000000000000000000000000000000010909090c09101009090c191b19090300000000000000000000000000000000000000000000000001090a0909090910090909191919090300000000000000000000000000000000000000000000000006040404040404040404040404040405000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000000000000000001d") +const _hex199337 = pxsim.BufferMethods.createBufferFromHex("870428001e00000022222222222222220000000000000000020000000000002000000000000000000200000000000020000000000000000002000000000000200000000000000000020000000000002000000000000000000200000000000020000000000000000002000022020000200000000000000000020000220000002000000000000000000200000200000020000000000000000002000022020000202222222202000000020000000000000000000000020000000200000000000000000000000200000002000000000000000000000002000000020000000000000000000000020000000200000000000000000000000200000022222222220000000000000002000000000000002000000000000000020000000000000020000000000000000200000000000000200000000000000002000000000000002000000000000000020000000000000020000000000000000200000000000000200000000000000002000000000000002000000000000000020000000000000020000000000000000200000000000000202222222222222202000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex199372 = pxsim.BufferMethods.createBufferFromHex("1000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex199374 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function inline__P152701(s) { +function inline__P199380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2152,9 +2183,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P146055_mk(s); + s.tmp_1 = helpers_stringTrim__P172671_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 75; s.pc = 14; return s.tmp_1; + s.callLocIdx = 76; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; s.tmp_0 = r0; @@ -2183,27 +2214,27 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 1: - r0 = globals.transparency16___150037; + r0 = globals.transparency16___199272; { step = 13; continue; } case 2: case 3: - r0 = globals.tile1___150038; + r0 = globals.tile1___199277; { step = 13; continue; } case 4: case 5: - r0 = globals.tile3___150039; + r0 = globals.tile3___199282; { step = 13; continue; } case 6: case 7: - r0 = globals.tile2___150040; + r0 = globals.tile2___199287; { step = 13; continue; } case 8: case 9: - r0 = globals.tile4___150041; + r0 = globals.tile4___199292; { step = 13; continue; } case 10: case 11: - r0 = globals.tile5___150042; + r0 = globals.tile5___199297; { step = 13; continue; } case 12: r0 = null; @@ -2211,12 +2242,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P152701.info = {"start":8156,"length":492,"line":92,"column":37,"endLine":107,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} +inline__P199380.info = {"start":9345,"length":492,"line":111,"column":37,"endLine":126,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} -function inline__P152701_mk(s) { +function inline__P199380_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152701, depth: s.depth + 1, + parent: s, fn: inline__P199380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2227,7 +2258,7 @@ function inline__P152701_mk(s) { -function inline__P152721(s) { +function inline__P201063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2237,17 +2268,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals.LastDirection___150029 = (2); + globals.LastDirection___201065 = (2); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152721.info = {"start":174,"length":37,"line":4,"column":53,"endLine":6,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201063.info = {"start":174,"length":37,"line":4,"column":53,"endLine":6,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P152721_mk(s) { +function inline__P201063_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152721, depth: s.depth + 1, + parent: s, fn: inline__P201063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -2255,7 +2286,7 @@ function inline__P152721_mk(s) { -function inline__P152726(s) { +function inline__P201069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2270,18 +2301,18 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_1 = tiles_tileIs__P149891_mk(s); + s.tmp_1 = tiles_tileIs__P176507_mk(s); s.tmp_1.arg0 = s.arg1; - s.tmp_1.arg1 = globals.chestClosed___149358; - s.callLocIdx = 80; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = globals.chestClosed___175974; + s.callLocIdx = 81; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = controller_Button__C147850_v0_1_mk(s); - s.tmp_3.arg0 = globals.A___147824; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_3.arg0); + s.tmp_3 = controller_Button__C174466_v0_1_mk(s); + s.tmp_3.arg0 = globals.A___174440; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C174466_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 12; return s.tmp_3; case 12: @@ -2289,62 +2320,62 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - globals.Have_Gun___150033 = (true); - s.tmp_0 = music_Melody_play__P147542_mk(s); - s.tmp_0.arg0 = globals.powerUp___147555; + globals.Have_Gun___201078 = (true); + s.tmp_0 = music_Melody_play__P174158_mk(s); + s.tmp_0.arg0 = globals.powerUp___174171; s.tmp_0.arg1 = 255; - s.callLocIdx = 81; s.pc = 13; return s.tmp_0; + s.callLocIdx = 82; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = tiles_setTileAt__P148301_mk(s); + s.tmp_0 = tiles_setTileAt__P174917_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = globals.chestOpen___149359; - s.callLocIdx = 82; s.pc = 14; return s.tmp_0; + s.tmp_0.arg1 = globals.chestOpen___175975; + s.callLocIdx = 83; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = game_setDialogCursor__P148475_mk(s); - r0 = pxsim.image.ofBuffer(_hex152743); + s.tmp_0 = game_setDialogCursor__P175091_mk(s); + r0 = pxsim.image.ofBuffer(_hex201087); s.tmp_0.arg0 = r0; - s.callLocIdx = 83; s.pc = 15; return s.tmp_0; + s.callLocIdx = 84; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_splash__P148478_mk(s); + s.tmp_0 = game_splash__P175094_mk(s); s.tmp_0.arg0 = "You obtained a"; s.tmp_0.arg1 = "BEGINNERS PISTOL!"; - s.callLocIdx = 84; s.pc = 16; return s.tmp_0; + s.callLocIdx = 85; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_splash__P148478_mk(s); + s.tmp_0 = game_splash__P175094_mk(s); s.tmp_0.arg0 = "Press A to shoot!"; s.tmp_0.arg1 = undefined; - s.callLocIdx = 85; s.pc = 17; return s.tmp_0; + s.callLocIdx = 86; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; case 1: case 2: { step = 10; continue; } case 3: - s.tmp_1 = tiles_tileIs__P149891_mk(s); + s.tmp_1 = tiles_tileIs__P176507_mk(s); s.tmp_1.arg0 = s.arg1; - s.tmp_1.arg1 = globals.doorClosedNorth___149378; - s.callLocIdx = 86; s.pc = 18; return s.tmp_1; + s.tmp_1.arg1 = globals.doorClosedNorth___175994; + s.callLocIdx = 87; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = pxsim_numops_toBoolDecr(globals.Have_key___150028); + r0 = pxsim_numops_toBoolDecr(globals.Have_key___201095); if (!r0) { step = 6; continue; } - s.tmp_4 = sprites_readDataString__P149657_mk(s); - s.tmp_5 = sprites_readDataSprite__P149661_mk(s); - s.tmp_5.arg0 = globals.mySprite___150031; + s.tmp_4 = sprites_readDataString__P176273_mk(s); + s.tmp_5 = sprites_readDataSprite__P176277_mk(s); + s.tmp_5.arg0 = globals.mySprite___201102; s.tmp_5.arg1 = "Following key"; - s.callLocIdx = 87; s.pc = 20; return s.tmp_5; + s.callLocIdx = 88; s.pc = 20; return s.tmp_5; case 20: r0 = s.retval; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = "KeyKind"; - s.callLocIdx = 88; s.pc = 19; return s.tmp_4; + s.callLocIdx = 89; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; s.tmp_3 = r0; @@ -2352,16 +2383,16 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_6 = tiles_setWallAt__P148302_mk(s); + s.tmp_6 = tiles_setWallAt__P174918_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = false; - s.callLocIdx = 89; s.pc = 21; return s.tmp_6; + s.callLocIdx = 90; s.pc = 21; return s.tmp_6; case 21: r0 = s.retval; - s.tmp_0 = tiles_setTileAt__P148301_mk(s); + s.tmp_0 = tiles_setTileAt__P174917_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = globals.doorOpenNorth___149382; - s.callLocIdx = 90; s.pc = 22; return s.tmp_0; + s.tmp_0.arg1 = globals.doorOpenNorth___175998; + s.callLocIdx = 91; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; case 4: @@ -2375,12 +2406,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P152726.info = {"start":248,"length":1639,"line":7,"column":35,"endLine":46,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P201069.info = {"start":248,"length":1639,"line":7,"column":35,"endLine":46,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P152726_mk(s) { +function inline__P201069_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152726, depth: s.depth + 1, + parent: s, fn: inline__P201069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2393,12 +2424,12 @@ function inline__P152726_mk(s) { arg1: undefined, } } -const _hex152743 = pxsim.BufferMethods.createBufferFromHex("870419001400000000000060666666666600000000000066666666666606000000000066666666666606000000006066166166666666000000006066f66f66666666000000006066666666666666000000006066666666666666000000006066666666666666000000006066666666666666000000006066166166666666000000000066f66f66666606000000000066666666666606000000000060666666666600000000000000606666660000000000000000000001000000000000000000000001000000000000000000001000000000000000000000100100000000000000001101110000000000000000bb11110100000000000000c0bb11010000000000000000c00b0b000000000000000000c0bb00000000000000000000b00b00000000000000000000b00b00000000000000000000") +const _hex201087 = pxsim.BufferMethods.createBufferFromHex("870419001400000000000060666666666600000000000066666666666606000000000066666666666606000000006066166166666666000000006066f66f66666666000000006066666666666666000000006066666666666666000000006066666666666666000000006066666666666666000000006066166166666666000000000066f66f66666606000000000066666666666606000000000060666666666600000000000000606666660000000000000000000001000000000000000000000001000000000000000000001000000000000000000000100100000000000000001101110000000000000000bb11110100000000000000c0bb11010000000000000000c00b0b000000000000000000c0bb00000000000000000000b00b00000000000000000000b00b00000000000000000000") -function inline__P152767(s) { +function inline__P201113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2413,48 +2444,48 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_setKind__P148025_mk(s); + s.tmp_0 = Sprite_setKind__P174641_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.TrappedPlayer___150022; - s.callLocIdx = 93; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = globals.TrappedPlayer___201055; + s.callLocIdx = 94; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - globals.trap___150034 = (true); - s.tmp_0 = tiles_setTileAt__P148301_mk(s); + globals.trap___201120 = (true); + s.tmp_0 = tiles_setTileAt__P174917_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = helpers_getTileByName__P148815_mk(s); + s.tmp_1 = helpers_getTileByName__P175431_mk(s); s.tmp_1.arg0 = "myTile1"; - s.callLocIdx = 94; s.pc = 3; return s.tmp_1; + s.callLocIdx = 95; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 95; s.pc = 2; return s.tmp_0; + s.callLocIdx = 96; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = controller_moveSprite__P147899_mk(s); + s.tmp_0 = controller_moveSprite__P174515_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.callLocIdx = 96; s.pc = 4; return s.tmp_0; + s.callLocIdx = 97; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tiles_placeOnTile__P148307_mk(s); + s.tmp_0 = tiles_placeOnTile__P174923_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 97; s.pc = 5; return s.tmp_0; + s.callLocIdx = 98; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - globals.trap_time___150027 = (5); + globals.trap_time___201132 = (5); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152767.info = {"start":1949,"length":242,"line":47,"column":60,"endLine":54,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P201113.info = {"start":1949,"length":242,"line":47,"column":60,"endLine":54,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P152767_mk(s) { +function inline__P201113_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152767, depth: s.depth + 1, + parent: s, fn: inline__P201113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2466,7 +2497,7 @@ function inline__P152767_mk(s) { -function inline__P152790(s) { +function inline__P201138(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2481,29 +2512,29 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_setTileAt__P148301_mk(s); + s.tmp_0 = tiles_setTileAt__P174917_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = globals.floorDark2___149398; - s.callLocIdx = 100; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = globals.floorDark2___176014; + s.callLocIdx = 101; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P148043_mk(s); + s.tmp_0 = Sprite_destroy__P174659_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 101; s.pc = 2; return s.tmp_0; + s.callLocIdx = 102; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152790.info = {"start":2257,"length":110,"line":55,"column":64,"endLine":58,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P201138.info = {"start":2257,"length":110,"line":55,"column":64,"endLine":58,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P152790_mk(s) { +function inline__P201138_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152790, depth: s.depth + 1, + parent: s, fn: inline__P201138, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2514,7 +2545,7 @@ function inline__P152790_mk(s) { -function inline__P152803(s) { +function inline__P201151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2524,141 +2555,141 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.trap_time___150027 > 0); + r0 = (globals.trap_time___201132 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = info_changeLifeBy__P148169_mk(s); + s.tmp_1 = info_changeLifeBy__P174785_mk(s); s.tmp_1.arg0 = -1; - s.callLocIdx = 103; s.pc = 15; return s.tmp_1; + s.callLocIdx = 104; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - r0 = (globals.trap_time___150027 + -1); - globals.trap_time___150027 = (r0); - s.tmp_0 = animation_runMovementAnimation__P148864_mk(s); - s.tmp_0.arg0 = globals.mySprite___150031; - r0 = globals.shake___148871.fields["pathString"]; + r0 = (globals.trap_time___201132 + -1); + globals.trap_time___201132 = (r0); + s.tmp_0 = animation_runMovementAnimation__P175480_mk(s); + s.tmp_0.arg0 = globals.mySprite___201102; + r0 = globals.shake___175487.fields["pathString"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 500; s.tmp_0.arg3 = false; - s.callLocIdx = 105; s.pc = 16; return s.tmp_0; + s.callLocIdx = 106; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 14; continue; } case 1: - s.tmp_0 = r0 = globals.trap___150034; + s.tmp_0 = r0 = globals.trap___201120; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 3; continue; } case 2: - r0 = (globals.trap_time___150027 == 0); + r0 = (globals.trap_time___201132 == 0); case 3: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 4; continue; } - s.tmp_2 = tiles_setTileAt__P148301_mk(s); - s.tmp_3 = tiles_locationOfSprite__P149901_mk(s); - s.tmp_3.arg0 = globals.mySprite___150031; - s.callLocIdx = 106; s.pc = 18; return s.tmp_3; + s.tmp_2 = tiles_setTileAt__P174917_mk(s); + s.tmp_3 = tiles_locationOfSprite__P176517_mk(s); + s.tmp_3.arg0 = globals.mySprite___201102; + s.callLocIdx = 107; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = globals.floorDark2___149398; - s.callLocIdx = 107; s.pc = 17; return s.tmp_2; + s.tmp_2.arg1 = globals.floorDark2___176014; + s.callLocIdx = 108; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P148025_mk(s); - s.tmp_0.arg0 = globals.mySprite___150031; - s.tmp_0.arg1 = globals.Player___148084; - s.callLocIdx = 108; s.pc = 19; return s.tmp_0; + s.tmp_0 = Sprite_setKind__P174641_mk(s); + s.tmp_0.arg0 = globals.mySprite___201102; + s.tmp_0.arg1 = globals.Player___174700; + s.callLocIdx = 109; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = controller_moveSprite__P147899_mk(s); - s.tmp_0.arg0 = globals.mySprite___150031; + s.tmp_0 = controller_moveSprite__P174515_mk(s); + s.tmp_0.arg0 = globals.mySprite___201102; s.tmp_0.arg1 = 100; s.tmp_0.arg2 = 100; - s.callLocIdx = 109; s.pc = 20; return s.tmp_0; + s.callLocIdx = 110; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - globals.trap___150034 = (false); + globals.trap___201120 = (false); { step = 13; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(globals.Have_Gun___150033); + r0 = pxsim_numops_toBoolDecr(globals.Have_Gun___201078); if (!r0) { step = 11; continue; } - r0 = (globals.LastDirection___150029 == 0); + r0 = (globals.LastDirection___201065 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = sprites_createProjectileFromSprite__P147925_mk(s); - r0 = pxsim.image.ofBuffer(_hex152839); + s.tmp_1 = sprites_createProjectileFromSprite__P174541_mk(s); + r0 = pxsim.image.ofBuffer(_hex201188); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = globals.mySprite___150031; + s.tmp_1.arg1 = globals.mySprite___201102; s.tmp_1.arg2 = -150; s.tmp_1.arg3 = 0; - s.callLocIdx = 110; s.pc = 21; return s.tmp_1; + s.callLocIdx = 111; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - globals.projectile___150026 = (r0); + globals.projectile___201184 = (r0); { step = 10; continue; } case 5: - r0 = (globals.LastDirection___150029 == 1); + r0 = (globals.LastDirection___201065 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_1 = sprites_createProjectileFromSprite__P147925_mk(s); - r0 = pxsim.image.ofBuffer(_hex152848); + s.tmp_1 = sprites_createProjectileFromSprite__P174541_mk(s); + r0 = pxsim.image.ofBuffer(_hex201197); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = globals.mySprite___150031; + s.tmp_1.arg1 = globals.mySprite___201102; s.tmp_1.arg2 = 150; s.tmp_1.arg3 = 0; - s.callLocIdx = 111; s.pc = 22; return s.tmp_1; + s.callLocIdx = 112; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - globals.projectile___150026 = (r0); + globals.projectile___201184 = (r0); { step = 9; continue; } case 6: - r0 = (globals.LastDirection___150029 == 2); + r0 = (globals.LastDirection___201065 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = sprites_createProjectileFromSprite__P147925_mk(s); - r0 = pxsim.image.ofBuffer(_hex152855); + s.tmp_1 = sprites_createProjectileFromSprite__P174541_mk(s); + r0 = pxsim.image.ofBuffer(_hex201204); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = globals.mySprite___150031; + s.tmp_1.arg1 = globals.mySprite___201102; s.tmp_1.arg2 = 0; s.tmp_1.arg3 = -150; - s.callLocIdx = 112; s.pc = 23; return s.tmp_1; + s.callLocIdx = 113; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - globals.projectile___150026 = (r0); + globals.projectile___201184 = (r0); { step = 8; continue; } case 7: - s.tmp_0 = sprites_createProjectileFromSprite__P147925_mk(s); - r0 = pxsim.image.ofBuffer(_hex152862); + s.tmp_0 = sprites_createProjectileFromSprite__P174541_mk(s); + r0 = pxsim.image.ofBuffer(_hex201211); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.mySprite___150031; + s.tmp_0.arg1 = globals.mySprite___201102; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 150; - s.callLocIdx = 113; s.pc = 24; return s.tmp_0; + s.callLocIdx = 114; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - globals.projectile___150026 = (r0); + globals.projectile___201184 = (r0); case 8: case 9: case 10: - s.tmp_0 = sprites_setDataNumber__P149653_mk(s); - s.tmp_0.arg0 = globals.projectile___150026; + s.tmp_0 = sprites_setDataNumber__P176269_mk(s); + s.tmp_0.arg0 = globals.projectile___201184; s.tmp_0.arg1 = "Power"; s.tmp_0.arg2 = 1; - s.callLocIdx = 114; s.pc = 25; return s.tmp_0; + s.callLocIdx = 115; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = music_Melody_play__P147542_mk(s); - s.tmp_0.arg0 = globals.pewPew___147559; + s.tmp_0 = music_Melody_play__P174158_mk(s); + s.tmp_0.arg0 = globals.pewPew___174175; s.tmp_0.arg1 = 255; - s.callLocIdx = 115; s.pc = 26; return s.tmp_0; + s.callLocIdx = 116; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; case 11: @@ -2669,12 +2700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P152803.info = {"start":2421,"length":1422,"line":59,"column":52,"endLine":101,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201151.info = {"start":2421,"length":1422,"line":59,"column":52,"endLine":101,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P152803_mk(s) { +function inline__P201151_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152803, depth: s.depth + 1, + parent: s, fn: inline__P201151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2682,15 +2713,15 @@ function inline__P152803_mk(s) { tmp_3: undefined, } } -const _hex152839 = pxsim.BufferMethods.createBufferFromHex("8704020002000000bb000000bb000000") -const _hex152848 = pxsim.BufferMethods.createBufferFromHex("8704020002000000bb000000bb000000") -const _hex152855 = pxsim.BufferMethods.createBufferFromHex("8704020002000000bb000000bb000000") -const _hex152862 = pxsim.BufferMethods.createBufferFromHex("8704020002000000bb000000bb000000") +const _hex201188 = pxsim.BufferMethods.createBufferFromHex("8704020002000000bb000000bb000000") +const _hex201197 = pxsim.BufferMethods.createBufferFromHex("8704020002000000bb000000bb000000") +const _hex201204 = pxsim.BufferMethods.createBufferFromHex("8704020002000000bb000000bb000000") +const _hex201211 = pxsim.BufferMethods.createBufferFromHex("8704020002000000bb000000bb000000") -function inline__P152872(s) { +function inline__P201221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2705,14 +2736,14 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.Start_cutsceene___150030); + r0 = pxsim_numops_toBoolDecr(globals.Start_cutsceene___201225); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P152878); + r0 = pxsim_pxtcore_mkAction(1, inline__P201228); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = story_startCutscene__P149769_mk(s); + s.tmp_1 = story_startCutscene__P176385_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 124; s.pc = 3; return s.tmp_1; + s.callLocIdx = 125; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -2721,12 +2752,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P152872.info = {"start":3903,"length":1347,"line":102,"column":58,"endLine":140,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P201221.info = {"start":3903,"length":1347,"line":102,"column":58,"endLine":140,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P152872_mk(s) { +function inline__P201221_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152872, depth: s.depth + 1, + parent: s, fn: inline__P201221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2738,7 +2769,7 @@ function inline__P152872_mk(s) { -function inline__P152878(s) { +function inline__P201228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2748,61 +2779,61 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tiles_loadMap__P149944_mk(s); - s.tmp_0.arg0 = globals.Dungeon___150032; - s.callLocIdx = 118; s.pc = 1; return s.tmp_0; + s.tmp_0 = tiles_loadMap__P176560_mk(s); + s.tmp_0.arg0 = globals.Dungeon___201231; + s.callLocIdx = 119; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = lantern_startLanternEffect__P149880_mk(s); - s.tmp_0.arg0 = globals.mySprite___150031; - s.callLocIdx = 119; s.pc = 2; return s.tmp_0; + s.tmp_0 = lantern_startLanternEffect__P176496_mk(s); + s.tmp_0.arg0 = globals.mySprite___201102; + s.callLocIdx = 120; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tiles_placeOnRandomTile__P148308_mk(s); + s.tmp_0 = tiles_placeOnRandomTile__P174924_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_0.arg1 = globals.purpleOuterNorth1___149432; - s.callLocIdx = 120; s.pc = 3; return s.tmp_0; + s.tmp_0.arg1 = globals.purpleOuterNorth1___176048; + s.callLocIdx = 121; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ay__P147990_mk(s); + s.tmp_0 = Sprite_ay__P174606_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 150; - s.callLocIdx = 121; s.pc = 4; return s.tmp_0; + s.callLocIdx = 122; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P148010_mk(s); + s.tmp_0 = Sprite_setImage__P174626_mk(s); s.tmp_0.arg0 = s.caps[0]; - r0 = pxsim.image.ofBuffer(_hex152892); + r0 = pxsim.image.ofBuffer(_hex201243); s.tmp_0.arg1 = r0; - s.callLocIdx = 122; s.pc = 5; return s.tmp_0; + s.callLocIdx = 123; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Make_Key_for__P150024_mk(s); + s.tmp_0 = Make_Key_for__P201245_mk(s); s.tmp_0.arg0 = "door"; - s.callLocIdx = 123; s.pc = 6; return s.tmp_0; + s.callLocIdx = 124; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - globals.Have_key___150028 = (false); + globals.Have_key___201095 = (false); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152878.info = {"start":3988,"length":1253,"line":104,"column":28,"endLine":138,"endColumn":9,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201228.info = {"start":3988,"length":1253,"line":104,"column":28,"endLine":138,"endColumn":9,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P152878_mk(s) { +function inline__P201228_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152878, depth: s.depth + 1, + parent: s, fn: inline__P201228, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } -const _hex152892 = pxsim.BufferMethods.createBufferFromHex("870414001900000000000000000000000000100000000000000000000000000000001000000000000000000000606666660000010000000000000000606666666666000100000000000000006666666666660610000000000000000066666f6666660610000000001011116066666f6666666600010000000000006066666f6666666600000000001111116066666666666666000000000000000060666666666666660000000000111111606666666666666600000000000000006066666f6666666600000000001011116066666f6666666600010000000000000066666f666666060001000000000000006666666666660610000000000000000060666666666600100000000000000001006066666600000100000000000010000000000000000001000000000000000000000000000010000000000000111110000000000000100000000000") +const _hex201243 = pxsim.BufferMethods.createBufferFromHex("870414001900000000000000000000000000100000000000000000000000000000001000000000000000000000606666660000010000000000000000606666666666000100000000000000006666666666660610000000000000000066666f6666660610000000001011116066666f6666666600010000000000006066666f6666666600000000001111116066666666666666000000000000000060666666666666660000000000111111606666666666666600000000000000006066666f6666666600000000001011116066666f6666666600010000000000000066666f666666060001000000000000006666666666660610000000000000000060666666666600100000000000000001006066666600000100000000000010000000000000000001000000000000000000000000000010000000000000111110000000000000100000000000") -function inline__P152898(s) { +function inline__P201250(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2812,17 +2843,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals.LastDirection___150029 = (0); + globals.LastDirection___201065 = (0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152898.info = {"start":5307,"length":37,"line":141,"column":55,"endLine":143,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201250.info = {"start":5307,"length":37,"line":141,"column":55,"endLine":143,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P152898_mk(s) { +function inline__P201250_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152898, depth: s.depth + 1, + parent: s, fn: inline__P201250, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -2830,7 +2861,7 @@ function inline__P152898_mk(s) { -function inline__P152903(s) { +function inline__P201255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2854,36 +2885,36 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 127; s.pc = 1; return s.tmp_0; } + else { s.callLocIdx = 128; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; - s.tmp_0 = Sprite_follow__P148045_mk(s); + s.tmp_0 = Sprite_follow__P174661_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 50; s.tmp_0.arg3 = 400; - s.callLocIdx = 128; s.pc = 2; return s.tmp_0; + s.callLocIdx = 129; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - globals.Have_key___150028 = (true); - s.tmp_0 = sprites_setDataSprite__P149660_mk(s); + globals.Have_key___201095 = (true); + s.tmp_0 = sprites_setDataSprite__P176276_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = "Following key"; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 129; s.pc = 3; return s.tmp_0; + s.callLocIdx = 130; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152903.info = {"start":5399,"length":172,"line":144,"column":53,"endLine":149,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","otherSprite"]} +inline__P201255.info = {"start":5399,"length":172,"line":144,"column":53,"endLine":149,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","otherSprite"]} -function inline__P152903_mk(s) { +function inline__P201255_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152903, depth: s.depth + 1, + parent: s, fn: inline__P201255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2894,7 +2925,7 @@ function inline__P152903_mk(s) { -function inline__P152918(s) { +function inline__P201270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2904,17 +2935,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals.LastDirection___150029 = (1); + globals.LastDirection___201065 = (1); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152918.info = {"start":5629,"length":37,"line":150,"column":56,"endLine":152,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201270.info = {"start":5629,"length":37,"line":150,"column":56,"endLine":152,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P152918_mk(s) { +function inline__P201270_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152918, depth: s.depth + 1, + parent: s, fn: inline__P201270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -2922,7 +2953,7 @@ function inline__P152918_mk(s) { -function inline__P152941(s) { +function inline__P201294(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2932,17 +2963,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals.LastDirection___150029 = (3); + globals.LastDirection___201065 = (3); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152941.info = {"start":6669,"length":37,"line":176,"column":55,"endLine":178,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201294.info = {"start":6669,"length":37,"line":176,"column":55,"endLine":178,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P152941_mk(s) { +function inline__P201294_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152941, depth: s.depth + 1, + parent: s, fn: inline__P201294, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -2950,7 +2981,7 @@ function inline__P152941_mk(s) { -function inline__P152946(s) { +function inline__P201299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2965,29 +2996,29 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.Start_cutsceene___150030); + r0 = pxsim_numops_toBoolDecr(globals.Start_cutsceene___201225); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P152951); + r0 = pxsim_pxtcore_mkAction(1, inline__P201304); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = story_startCutscene__P149769_mk(s); + s.tmp_1 = story_startCutscene__P176385_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 149; s.pc = 3; return s.tmp_1; + s.callLocIdx = 150; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: case 2: - globals.Start_cutsceene___150030 = (false); + globals.Start_cutsceene___201225 = (false); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152946.info = {"start":6775,"length":2397,"line":179,"column":67,"endLine":238,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P201299.info = {"start":6775,"length":2397,"line":179,"column":67,"endLine":238,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P152946_mk(s) { +function inline__P201299_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152946, depth: s.depth + 1, + parent: s, fn: inline__P201299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2999,7 +3030,7 @@ function inline__P152946_mk(s) { -function inline__P152951(s) { +function inline__P201304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3009,62 +3040,62 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = Sprite_setImage__P148010_mk(s); + s.tmp_0 = Sprite_setImage__P174626_mk(s); s.tmp_0.arg0 = s.caps[0]; - r0 = pxsim.image.ofBuffer(_hex152955); + r0 = pxsim.image.ofBuffer(_hex201308); s.tmp_0.arg1 = r0; - s.callLocIdx = 139; s.pc = 1; return s.tmp_0; + s.callLocIdx = 140; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_ay__P147990_mk(s); + s.tmp_0 = Sprite_ay__P174606_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 140; s.pc = 2; return s.tmp_0; + s.callLocIdx = 141; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = story_printCharacterText__P149771_mk(s); + s.tmp_0 = story_printCharacterText__P176387_mk(s); s.tmp_0.arg0 = "Oww..."; s.tmp_0.arg1 = "You"; - s.callLocIdx = 141; s.pc = 3; return s.tmp_0; + s.callLocIdx = 142; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = story_printCharacterText__P149771_mk(s); + s.tmp_0 = story_printCharacterText__P176387_mk(s); s.tmp_0.arg0 = "That hurts..."; s.tmp_0.arg1 = "You"; - s.callLocIdx = 142; s.pc = 4; return s.tmp_0; + s.callLocIdx = 143; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = story_printCharacterText__P149771_mk(s); + s.tmp_0 = story_printCharacterText__P176387_mk(s); s.tmp_0.arg0 = "...a lot"; s.tmp_0.arg1 = "You"; - s.callLocIdx = 143; s.pc = 5; return s.tmp_0; + s.callLocIdx = 144; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = story_startCutscene__P149769_mk(s); - s.tmp_0.arg0 = inline__P152962; - s.callLocIdx = 148; s.pc = 6; return s.tmp_0; + s.tmp_0 = story_startCutscene__P176385_mk(s); + s.tmp_0.arg0 = inline__P201315; + s.callLocIdx = 149; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152951.info = {"start":6860,"length":2275,"line":181,"column":28,"endLine":235,"endColumn":9,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201304.info = {"start":6860,"length":2275,"line":181,"column":28,"endLine":235,"endColumn":9,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P152951_mk(s) { +function inline__P201304_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152951, depth: s.depth + 1, + parent: s, fn: inline__P201304, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } -const _hex152955 = pxsim.BufferMethods.createBufferFromHex("87040f000f000000000066666606000000666666666606006066666666666600606666666666660066661166666666066666ff6666666606666666666666660666666666666666066666666666666606666666666666660666661166666666066066ff6666666600606666666666660000666666666606000000666666060000") +const _hex201308 = pxsim.BufferMethods.createBufferFromHex("87040f000f000000000066666606000000666666666606006066666666666600606666666666660066661166666666066666ff6666666606666666666666660666666666666666066666666666666606666666666666660666661166666666066066ff6666666600606666666666660000666666666606000000666666060000") -function inline__P152962(s) { +function inline__P201315(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3074,51 +3105,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_setDialogCursor__P148475_mk(s); - r0 = pxsim.image.ofBuffer(_hex152965); + s.tmp_0 = game_setDialogCursor__P175091_mk(s); + r0 = pxsim.image.ofBuffer(_hex201318); s.tmp_0.arg0 = r0; - s.callLocIdx = 144; s.pc = 1; return s.tmp_0; + s.callLocIdx = 145; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_splash__P148478_mk(s); + s.tmp_0 = game_splash__P175094_mk(s); s.tmp_0.arg0 = "You fell into a dark"; s.tmp_0.arg1 = "dungeon!"; - s.callLocIdx = 145; s.pc = 2; return s.tmp_0; + s.callLocIdx = 146; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = controller_moveSprite__P147899_mk(s); - s.tmp_0.arg0 = globals.mySprite___150031; + s.tmp_0 = controller_moveSprite__P174515_mk(s); + s.tmp_0.arg0 = globals.mySprite___201102; s.tmp_0.arg1 = 100; s.tmp_0.arg2 = 100; - s.callLocIdx = 146; s.pc = 3; return s.tmp_0; + s.callLocIdx = 147; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = music_Melody_play__P147542_mk(s); - s.tmp_0.arg0 = globals.thump___147562; + s.tmp_0 = music_Melody_play__P174158_mk(s); + s.tmp_0.arg0 = globals.thump___174178; s.tmp_0.arg1 = 255; - s.callLocIdx = 147; s.pc = 4; return s.tmp_0; + s.callLocIdx = 148; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152962.info = {"start":7860,"length":1264,"line":203,"column":32,"endLine":234,"endColumn":13,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201315.info = {"start":7860,"length":1264,"line":203,"column":32,"endLine":234,"endColumn":13,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P152962_mk(s) { +function inline__P201315_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152962, depth: s.depth + 1, + parent: s, fn: inline__P201315, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } -const _hex152965 = pxsim.BufferMethods.createBufferFromHex("870414001900000000000000000000000000100000000000000000000000000000001000000000000000000000606666660000010000000000000000606666666666000100000000000000006666666666660610000000000000000066666f6666660610000000000010116066666f6666666600010000000000006066666f6666666600000000000011116066666666666666000000000000000060666666666666660000000000001111606666666666666600000000000000006066666f6666666600000000000010116066666f6666666600010000000000000066666f66666606000100000000000000666666666666061000000000000000006066666666660010000000000000000f0060666666000001000000000000f0000000000000000001000000000000000000000000000010000000000000fffff0000000000000100000000000") +const _hex201318 = pxsim.BufferMethods.createBufferFromHex("870414001900000000000000000000000000100000000000000000000000000000001000000000000000000000606666660000010000000000000000606666666666000100000000000000006666666666660610000000000000000066666f6666660610000000000010116066666f6666666600010000000000006066666f6666666600000000000011116066666666666666000000000000000060666666666666660000000000001111606666666666666600000000000000006066666f6666666600000000000010116066666f6666666600010000000000000066666f66666606000100000000000000666666666666061000000000000000006066666666660010000000000000000f0060666666000001000000000000f0000000000000000001000000000000000000000000000010000000000000fffff0000000000000100000000000") -function inline__P152976(s) { +function inline__P201329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3133,29 +3164,29 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_setTileAt__P148301_mk(s); + s.tmp_0 = tiles_setTileAt__P174917_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = globals.floorDark2___149398; - s.callLocIdx = 152; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = globals.floorDark2___176014; + s.callLocIdx = 153; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P148043_mk(s); + s.tmp_0 = Sprite_destroy__P174659_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 153; s.pc = 2; return s.tmp_0; + s.callLocIdx = 154; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152976.info = {"start":9239,"length":110,"line":239,"column":65,"endLine":242,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P201329.info = {"start":9239,"length":110,"line":239,"column":65,"endLine":242,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P152976_mk(s) { +function inline__P201329_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152976, depth: s.depth + 1, + parent: s, fn: inline__P201329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3166,7 +3197,7 @@ function inline__P152976_mk(s) { -function inline__P152989(s) { +function inline__P201342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3181,24 +3212,36 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_over__P148494_mk(s); - s.tmp_0.arg0 = true; - s.tmp_0.arg1 = globals.confetti___148753; - s.callLocIdx = 155; s.pc = 1; return s.tmp_0; - case 1: + s.tmp_1 = r0 = globals.Dungeons___201347; + r0 = pxsim_Array__mk(); + 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 = 1; continue; } + s.tmp_3 = game_over__P175110_mk(s); + s.tmp_3.arg0 = true; + s.tmp_3.arg1 = globals.confetti___175369; + s.callLocIdx = 156; s.pc = 3; return s.tmp_3; + case 3: r0 = s.retval; + case 1: + case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P152989.info = {"start":9421,"length":69,"line":243,"column":70,"endLine":245,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P201342.info = {"start":9421,"length":105,"line":243,"column":70,"endLine":247,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P152989_mk(s) { +function inline__P201342_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P152989, depth: s.depth + 1, + parent: s, fn: inline__P201342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, arg0: undefined, arg1: undefined, } } @@ -3207,7 +3250,7 @@ function inline__P152989_mk(s) { -function inline__P153015(s) { +function inline__P201378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3217,41 +3260,41 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals.Start_cutsceene___150030 = (true); - s.tmp_0 = story_printCharacterText__P149771_mk(s); + globals.Start_cutsceene___201225 = (true); + s.tmp_0 = story_printCharacterText__P176387_mk(s); s.tmp_0.arg0 = "A beautiful day"; s.tmp_0.arg1 = "You"; - s.callLocIdx = 165; s.pc = 1; return s.tmp_0; + s.callLocIdx = 167; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = story_printCharacterText__P149771_mk(s); + s.tmp_0 = story_printCharacterText__P176387_mk(s); s.tmp_0.arg0 = "Wait..."; s.tmp_0.arg1 = "You"; - s.callLocIdx = 166; s.pc = 2; return s.tmp_0; + s.callLocIdx = 168; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = story_printCharacterText__P149771_mk(s); + s.tmp_0 = story_printCharacterText__P176387_mk(s); s.tmp_0.arg0 = "Hmm..."; s.tmp_0.arg1 = "You"; - s.callLocIdx = 167; s.pc = 3; return s.tmp_0; + s.callLocIdx = 169; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = timer_after__P149648_mk(s); + s.tmp_0 = timer_after__P176264_mk(s); s.tmp_0.arg0 = 1500; - s.tmp_0.arg1 = inline__P153021; - s.callLocIdx = 171; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = inline__P201384; + s.callLocIdx = 173; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P153015.info = {"start":10538,"length":423,"line":280,"column":20,"endLine":290,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201378.info = {"start":10640,"length":423,"line":284,"column":20,"endLine":294,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P153015_mk(s) { +function inline__P201378_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P153015, depth: s.depth + 1, + parent: s, fn: inline__P201378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3260,7 +3303,7 @@ function inline__P153015_mk(s) { -function inline__P153021(s) { +function inline__P201384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3270,36 +3313,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = story_printCharacterText__P149771_mk(s); + s.tmp_0 = story_printCharacterText__P176387_mk(s); s.tmp_0.arg0 = "Is that a hole?"; s.tmp_0.arg1 = "You"; - s.callLocIdx = 168; s.pc = 1; return s.tmp_0; + s.callLocIdx = 170; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = story_printCharacterText__P149771_mk(s); + s.tmp_0 = story_printCharacterText__P176387_mk(s); s.tmp_0.arg0 = "Whats inside?"; s.tmp_0.arg1 = "You"; - s.callLocIdx = 169; s.pc = 2; return s.tmp_0; + s.callLocIdx = 171; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = story_spriteMoveToLocation__P149752_mk(s); - s.tmp_0.arg0 = globals.mySprite___150031; + s.tmp_0 = story_spriteMoveToLocation__P176368_mk(s); + s.tmp_0.arg0 = globals.mySprite___201102; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 40; s.tmp_0.arg3 = 25; - s.callLocIdx = 170; s.pc = 3; return s.tmp_0; + s.callLocIdx = 172; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P153021.info = {"start":10750,"length":208,"line":285,"column":22,"endLine":289,"endColumn":5,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201384.info = {"start":10852,"length":208,"line":289,"column":22,"endLine":293,"endColumn":5,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P153021_mk(s) { +function inline__P201384_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P153021, depth: s.depth + 1, + parent: s, fn: inline__P201384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3308,7 +3351,7 @@ function inline__P153021_mk(s) { -function inline__P153037(s) { +function inline__P201400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3318,74 +3361,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___153038 = undefined; - s.index___153046 = undefined; - s.index___153038 = (0); + s.index___201401 = undefined; + s.index___201409 = undefined; + s.index___201401 = (0); case 1: - r0 = (s.index___153038 < 3); + r0 = (s.index___201401 < 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = music_playMelody__P147532_mk(s); + s.tmp_1 = music_playMelody__P174148_mk(s); s.tmp_1.arg0 = "E - F - A A B B "; s.tmp_1.arg1 = 200; - s.callLocIdx = 173; s.pc = 5; return s.tmp_1; + s.callLocIdx = 175; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = (s.index___153038 + 1); - s.index___153038 = (r0); + r0 = (s.index___201401 + 1); + s.index___201401 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = music_playMelody__P147532_mk(s); + s.tmp_0 = music_playMelody__P174148_mk(s); s.tmp_0.arg0 = "F - G E A A G G "; s.tmp_0.arg1 = 200; - s.callLocIdx = 174; s.pc = 6; return s.tmp_0; + s.callLocIdx = 176; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.index___153046 = (0); + s.index___201409 = (0); case 3: - r0 = (s.index___153046 < 3); + r0 = (s.index___201409 < 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = music_playMelody__P147532_mk(s); + s.tmp_1 = music_playMelody__P174148_mk(s); s.tmp_1.arg0 = "B - A - F F E E "; s.tmp_1.arg1 = 200; - s.callLocIdx = 175; s.pc = 7; return s.tmp_1; + s.callLocIdx = 177; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.index___153046 + 1); - s.index___153046 = (r0); + r0 = (s.index___201409 + 1); + s.index___201409 = (r0); { step = 3; continue; } case 4: - s.tmp_0 = music_playMelody__P147532_mk(s); + s.tmp_0 = music_playMelody__P174148_mk(s); s.tmp_0.arg0 = "F - G E A A G G "; s.tmp_0.arg1 = 200; - s.callLocIdx = 176; s.pc = 8; return s.tmp_0; + s.callLocIdx = 178; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P153037.info = {"start":10971,"length":311,"line":291,"column":8,"endLine":300,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} +inline__P201400.info = {"start":11073,"length":311,"line":295,"column":8,"endLine":304,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":[]} -function inline__P153037_mk(s) { +function inline__P201400_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P153037, depth: s.depth + 1, + parent: s, fn: inline__P201400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - index___153038: undefined, - index___153046: undefined, + index___201401: undefined, + index___201409: undefined, } } -function music_playMelody__P147532(s) { +function music_playMelody__P174148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3395,18 +3438,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.notes___153056 = undefined; - s.formattedMelody___153066 = undefined; - s.newOctave___153067 = undefined; - s.i___153068 = undefined; - s.song___153132 = undefined; + s.notes___179672 = undefined; + s.formattedMelody___179682 = undefined; + s.newOctave___179683 = undefined; + s.i___179684 = undefined; + s.song___179748 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arrayFilter__P146043_mk(s); - s.tmp_1 = helpers_stringSplit__P146054_mk(s); + s.tmp_0 = helpers_arrayFilter__P172659_mk(s); + s.tmp_1 = helpers_stringSplit__P172670_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = " "; s.tmp_1.arg2 = undefined; @@ -3414,46 +3457,46 @@ switch (step) { case 12: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P153061; + s.tmp_0.arg1 = inline__P179677; s.callLocIdx = 86; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.notes___153056 = (r0); + s.notes___179672 = (r0); r0 = pxsim_String_.mkEmpty(); - s.formattedMelody___153066 = (r0); - s.newOctave___153067 = (false); - s.i___153068 = (0); + s.formattedMelody___179682 = (r0); + s.newOctave___179683 = (false); + s.i___179684 = (0); case 1: - s.tmp_1 = r0 = s.i___153068; - r0 = pxsim_Array__length(s.notes___153056); + s.tmp_1 = r0 = s.i___179684; + r0 = pxsim_Array__length(s.notes___179672); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.notes___153056, s.i___153068); + r0 = pxsim_Array__getAt(s.notes___179672, s.i___179684); s.tmp_4 = r0; r0 = (s.tmp_4 === "-"); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - r0 = pxsim_Array_.setAt(s.notes___153056, s.i___153068, "R"); + r0 = pxsim_Array_.setAt(s.notes___179672, s.i___179684, "R"); { step = 7; continue; } case 2: - r0 = pxsim_Array__getAt(s.notes___153056, s.i___153068); + r0 = pxsim_Array__getAt(s.notes___179672, s.i___179684); s.tmp_1 = r0; r0 = (s.tmp_1 === "C5"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.newOctave___153067 = (true); + s.newOctave___179683 = (true); { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.newOctave___153067); + r0 = pxsim_numops_toBoolDecr(s.newOctave___179683); if (!r0) { step = 4; continue; } - s.tmp_0 = r0 = s.notes___153056; - s.tmp_1 = r0 = s.i___153068; - r0 = pxsim_Array__getAt(s.tmp_0, s.i___153068); + s.tmp_0 = r0 = s.notes___179672; + s.tmp_1 = r0 = s.i___179684; + r0 = pxsim_Array__getAt(s.tmp_0, s.i___179684); s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { setupResume(s, 13); @@ -3467,25 +3510,25 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, "4"); s.tmp_2 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, s.tmp_1, s.tmp_2); - s.newOctave___153067 = (false); + s.newOctave___179683 = (false); case 4: case 5: case 6: case 7: - r0 = (s.i___153068 == 0); + r0 = (s.i___179684 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - if ((s.formattedMelody___153066) && (s.formattedMelody___153066).vtable) { + if ((s.formattedMelody___179682) && (s.formattedMelody___179682).vtable) { setupResume(s, 14); - pxsim_String__stringConv(s.formattedMelody___153066); + pxsim_String__stringConv(s.formattedMelody___179682); checkResumeConsumed(); return; - } else { s.retval = (s.formattedMelody___153066) + ""; } + } else { s.retval = (s.formattedMelody___179682) + ""; } case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.notes___153056, s.i___153068); + r0 = pxsim_Array__getAt(s.notes___179672, s.i___179684); s.tmp_9 = r0; if ((s.tmp_9) && (s.tmp_9).vtable) { setupResume(s, 15); @@ -3539,19 +3582,19 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - s.formattedMelody___153066 = (r0); + s.formattedMelody___179682 = (r0); { step = 9; continue; } case 8: - if ((s.formattedMelody___153066) && (s.formattedMelody___153066).vtable) { + if ((s.formattedMelody___179682) && (s.formattedMelody___179682).vtable) { setupResume(s, 20); - pxsim_String__stringConv(s.formattedMelody___153066); + pxsim_String__stringConv(s.formattedMelody___179682); checkResumeConsumed(); return; - } else { s.retval = (s.formattedMelody___153066) + ""; } + } else { s.retval = (s.formattedMelody___179682) + ""; } case 20: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.notes___153056, s.i___153068); + r0 = pxsim_Array__getAt(s.notes___179672, s.i___179684); s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { setupResume(s, 21); @@ -3574,23 +3617,23 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.formattedMelody___153066 = (r0); + s.formattedMelody___179682 = (r0); case 9: - r0 = (s.i___153068 + 1); - s.i___153068 = (r0); + r0 = (s.i___179684 + 1); + s.i___179684 = (r0); { step = 1; continue; } case 10: - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C147535_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C174151_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P147538_mk(s); + s.tmp_1 = music_Melody_constructor__P174154_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.formattedMelody___153066; + s.tmp_1.arg1 = s.formattedMelody___179682; s.callLocIdx = 87; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.song___153132 = (s.tmp_0); - s.tmp_0 = music_Melody_playUntilDone__P147543_mk(s); - s.tmp_0.arg0 = s.song___153132; + s.song___179748 = (s.tmp_0); + s.tmp_0 = music_Melody_playUntilDone__P174159_mk(s); + s.tmp_0.arg0 = s.song___179748; s.tmp_0.arg1 = 255; s.callLocIdx = 88; s.pc = 24; return s.tmp_0; case 24: @@ -3599,12 +3642,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playMelody__P147532.info = {"start":4061,"length":976,"line":125,"column":4,"endLine":151,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playMelody","argumentNames":["melody","tempo"]} +music_playMelody__P174148.info = {"start":4061,"length":976,"line":125,"column":4,"endLine":151,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playMelody","argumentNames":["melody","tempo"]} -function music_playMelody__P147532_mk(s) { +function music_playMelody__P174148_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playMelody__P147532, depth: s.depth + 1, + parent: s, fn: music_playMelody__P174148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3617,11 +3660,11 @@ function music_playMelody__P147532_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - notes___153056: undefined, - formattedMelody___153066: undefined, - newOctave___153067: undefined, - i___153068: undefined, - song___153132: undefined, + notes___179672: undefined, + formattedMelody___179682: undefined, + newOctave___179683: undefined, + i___179684: undefined, + song___179748: undefined, arg0: undefined, arg1: undefined, } } @@ -3630,7 +3673,7 @@ function music_playMelody__P147532_mk(s) { -function inline__P153061(s) { +function inline__P179677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3654,12 +3697,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P153061.info = {"start":4176,"length":8,"line":126,"column":55,"endLine":126,"endColumn":63,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["n"]} +inline__P179677.info = {"start":4176,"length":8,"line":126,"column":55,"endLine":126,"endColumn":63,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["n"]} -function inline__P153061_mk(s) { +function inline__P179677_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P153061, depth: s.depth + 1, + parent: s, fn: inline__P179677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3671,7 +3714,7 @@ function inline__P153061_mk(s) { -function music_Melody_playUntilDone__P147543(s) { +function music_Melody_playUntilDone__P174159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3681,42 +3724,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___153141 = undefined; + s.p___179757 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C147535_VT)) failedCast(r0); - s.tmp_0 = music_Melody_stop__P147540_mk(s); + if (!checkSubtype(r0, music_Melody__C174151_VT)) failedCast(r0); + s.tmp_0 = music_Melody_stop__P174156_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 98; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C147545_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C174161_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayer_constructor__P147548_mk(s); + s.tmp_1 = music_MelodyPlayer_constructor__P174164_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 99; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["_player"] = (s.tmp_0); - s.p___153141 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(2, inline__P153151); + s.p___179757 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(2, inline__P179767); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.p___153141); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.p___179757); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); r0 = s.arg0.fields["_player"]; s.tmp_1 = r0; r0 = (s.tmp_1).fields["onPlayFinished"] = (s.tmp_0); - s.tmp_0 = music_Melody_registerMelody__P150165_mk(s); + s.tmp_0 = music_Melody_registerMelody__P176781_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 101; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = music_MelodyPlayer_play__P147550_mk(s); + s.tmp_0 = music_MelodyPlayer_play__P174166_mk(s); r0 = s.arg0.fields["_player"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -3727,16 +3770,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playUntilDone__P147543.info = {"start":9667,"length":344,"line":299,"column":8,"endLine":308,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playUntilDone","argumentNames":["this","volume"]} +music_Melody_playUntilDone__P174159.info = {"start":9667,"length":344,"line":299,"column":8,"endLine":308,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playUntilDone","argumentNames":["this","volume"]} -function music_Melody_playUntilDone__P147543_mk(s) { +function music_Melody_playUntilDone__P174159_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playUntilDone__P147543, depth: s.depth + 1, + parent: s, fn: music_Melody_playUntilDone__P174159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___153141: undefined, + p___179757: undefined, arg0: undefined, arg1: undefined, } } @@ -3745,7 +3788,7 @@ function music_Melody_playUntilDone__P147543_mk(s) { -function inline__P153151(s) { +function inline__P179767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3761,7 +3804,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = music_Melody_unregisterMelody__P150166_mk(s); + s.tmp_2 = music_Melody_unregisterMelody__P176782_mk(s); s.tmp_2.arg0 = s.caps[1]; s.callLocIdx = 100; s.pc = 3; return s.tmp_2; case 3: @@ -3772,12 +3815,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P153151.info = {"start":9823,"length":105,"line":302,"column":42,"endLine":305,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P179767.info = {"start":9823,"length":105,"line":302,"column":42,"endLine":305,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P153151_mk(s) { +function inline__P179767_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P153151, depth: s.depth + 1, + parent: s, fn: inline__P179767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3788,7 +3831,7 @@ function inline__P153151_mk(s) { -function music_Melody_unregisterMelody__P150166(s) { +function music_Melody_unregisterMelody__P176782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3803,22 +3846,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C147535_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___150168); + if (!checkSubtype(r0, music_Melody__C174151_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___176784); if (!r0) { step = 1; continue; } - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___150168, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___176784, s.arg0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_unregisterMelody__P150166.info = {"start":7471,"length":201,"line":235,"column":8,"endLine":240,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} +music_Melody_unregisterMelody__P176782.info = {"start":7471,"length":201,"line":235,"column":8,"endLine":240,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} -function music_Melody_unregisterMelody__P150166_mk(s) { +function music_Melody_unregisterMelody__P176782_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_unregisterMelody__P150166, depth: s.depth + 1, + parent: s, fn: music_Melody_unregisterMelody__P176782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -3827,7 +3870,7 @@ function music_Melody_unregisterMelody__P150166_mk(s) { -function music_Melody_registerMelody__P150165(s) { +function music_Melody_registerMelody__P176781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3842,26 +3885,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C147535_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___150168); + if (!checkSubtype(r0, music_Melody__C174151_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___176784); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals.music_Melody_playingMelodies___150168 = (r0); + globals.music_Melody_playingMelodies___176784 = (r0); case 1: case 2: - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___150168); + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___176784); s.tmp_1 = r0; r0 = (s.tmp_1 > 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_Melody_stop__P147540_mk(s); - s.tmp_3 = r0 = globals.music_Melody_playingMelodies___150168; - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___150168); + s.tmp_2 = music_Melody_stop__P174156_mk(s); + s.tmp_3 = r0 = globals.music_Melody_playingMelodies___176784; + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___176784); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; @@ -3872,18 +3915,18 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___150168, s.arg0); - r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___150168, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___176784, s.arg0); + r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___176784, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_registerMelody__P150165.info = {"start":6889,"length":573,"line":223,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} +music_Melody_registerMelody__P176781.info = {"start":6889,"length":573,"line":223,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} -function music_Melody_registerMelody__P150165_mk(s) { +function music_Melody_registerMelody__P176781_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_registerMelody__P150165, depth: s.depth + 1, + parent: s, fn: music_Melody_registerMelody__P176781, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3898,7 +3941,7 @@ function music_Melody_registerMelody__P150165_mk(s) { -function music_MelodyPlayer_play__P147550(s) { +function music_MelodyPlayer_play__P174166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3908,46 +3951,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.notes___153174 = undefined; - s.pos___153178 = undefined; - s.duration___153179 = undefined; - s.octave___153180 = undefined; - s.tempo___153181 = undefined; - s.hz___153182 = undefined; - s.endHz___153183 = undefined; - s.ms___153186 = undefined; - s.timePos___153187 = undefined; - s.startTime___153188 = undefined; - s.now___153191 = undefined; - s.envA___153192 = undefined; - s.envD___153193 = undefined; - s.envS___153194 = undefined; - s.envR___153195 = undefined; - s.soundWave___153196 = undefined; - s.sndInstr___153197 = undefined; - s.sndInstrPtr___153203 = undefined; - s.addForm___153204 = undefined; - s.scanNextWord___153264 = undefined; - s.token___153321 = undefined; - s.tokenKind___153322 = undefined; - s.consumeToken___153325 = undefined; - s.currNote___153401 = undefined; - s.prevNote___153403 = undefined; - s.timeLeft___153406 = undefined; - s.note___153420 = undefined; - s.i___153424 = undefined; - s.noteChar___153430 = undefined; - s.keyNumber___153504 = undefined; - s.currMs___153521 = undefined; - s.beat___153525 = undefined; - s.timeLeft___153582 = undefined; + s.notes___179790 = undefined; + s.pos___179794 = undefined; + s.duration___179795 = undefined; + s.octave___179796 = undefined; + s.tempo___179797 = undefined; + s.hz___179798 = undefined; + s.endHz___179799 = undefined; + s.ms___179802 = undefined; + s.timePos___179803 = undefined; + s.startTime___179804 = undefined; + s.now___179807 = undefined; + s.envA___179808 = undefined; + s.envD___179809 = undefined; + s.envS___179810 = undefined; + s.envR___179811 = undefined; + s.soundWave___179812 = undefined; + s.sndInstr___179813 = undefined; + s.sndInstrPtr___179819 = undefined; + s.addForm___179820 = undefined; + s.scanNextWord___179880 = undefined; + s.token___179937 = undefined; + s.tokenKind___179938 = undefined; + s.consumeToken___179941 = undefined; + s.currNote___180017 = undefined; + s.prevNote___180019 = undefined; + s.timeLeft___180022 = undefined; + s.note___180036 = undefined; + s.i___180040 = undefined; + s.noteChar___180046 = undefined; + s.keyNumber___180120 = undefined; + s.currMs___180137 = undefined; + s.beat___180141 = undefined; + s.timeLeft___180198 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C147545_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C174161_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -3964,12 +4007,12 @@ switch (step) { case 1: case 2: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_clamp__P146059_mk(s); + s.tmp_6 = Math_clamp__P172675_mk(s); s.tmp_6.arg0 = 0; s.tmp_6.arg1 = 255; r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_8 = r0; - s.tmp_10 = music_volume__P147530_mk(s); + s.tmp_10 = music_volume__P174146_mk(s); s.callLocIdx = 103; s.pc = 61; return s.tmp_10; case 61: r0 = s.retval; @@ -3985,121 +4028,121 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_4, s.tmp_5); r0 = s.arg0.fields["melody"]; r0 = r0.fields["_text"]; - s.notes___153174 = (r0); + s.notes___179790 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pos___153178 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pos___153178, 0); + s.pos___179794 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pos___179794, 0); r0 = pxsim_pxtrt.mklocRef(); - s.duration___153179 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.duration___153179, 4); + s.duration___179795 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.duration___179795, 4); r0 = pxsim_pxtrt.mklocRef(); - s.octave___153180 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.octave___153180, 4); + s.octave___179796 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.octave___179796, 4); r0 = pxsim_pxtrt.mklocRef(); - s.tempo___153181 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tempo___153181, 120); + s.tempo___179797 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tempo___179797, 120); r0 = pxsim_pxtrt.mklocRef(); - s.hz___153182 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hz___153182, 0); + s.hz___179798 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hz___179798, 0); r0 = pxsim_pxtrt.mklocRef(); - s.endHz___153183 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.endHz___153183, -1); + s.endHz___179799 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___179799, -1); r0 = pxsim_pxtrt.mklocRef(); - s.ms___153186 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.ms___153186, 0); - s.timePos___153187 = (0); + s.ms___179802 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.ms___179802, 0); + s.timePos___179803 = (0); r0 = pxsim.control.millis(); - s.startTime___153188 = (r0); - s.now___153191 = (0); + s.startTime___179804 = (r0); + s.now___179807 = (0); r0 = pxsim_pxtrt.mklocRef(); - s.envA___153192 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envA___153192, 0); + s.envA___179808 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envA___179808, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envD___153193 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envD___153193, 0); + s.envD___179809 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envD___179809, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envS___153194 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envS___153194, 255); + s.envS___179810 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envS___179810, 255); r0 = pxsim_pxtrt.mklocRef(); - s.envR___153195 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envR___153195, 0); + s.envR___179811 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envR___179811, 0); r0 = pxsim_pxtrt.mklocRef(); - s.soundWave___153196 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.soundWave___153196, 1); + s.soundWave___179812 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.soundWave___179812, 1); r0 = pxsim.control.createBuffer(60); - s.sndInstr___153197 = (r0); + s.sndInstr___179813 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.sndInstrPtr___153203 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___153203, 0); - r0 = pxsim_pxtcore_mkAction(10, inline__P153205); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___153182); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___153183); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___153186); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___153179); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___153181); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___153195); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___153203); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___153197); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___153196); + s.sndInstrPtr___179819 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___179819, 0); + r0 = pxsim_pxtcore_mkAction(10, inline__P179821); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___179798); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___179799); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___179802); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___179795); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___179797); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___179811); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___179819); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___179813); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___179812); r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.arg1); - s.addForm___153204 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P153265); + s.addForm___179820 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P179881); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___153178); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___153174); - s.scanNextWord___153264 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___179794); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___179790); + s.scanNextWord___179880 = (s.tmp_0); r0 = pxsim_pxtrt.mklocRef(); - s.token___153321 = (r0); - s.tmp_0 = r0 = s.token___153321; + s.token___179937 = (r0); + s.tmp_0 = r0 = s.token___179937; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.tokenKind___153322 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___153322, 0); - r0 = pxsim_pxtcore_mkAction(13, inline__P153326); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___153321); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___153322); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___153180); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___153179); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___153186); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___153181); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___153182); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___153196); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___153192); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___153193); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___153194); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___153195); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___153183); - s.consumeToken___153325 = (s.tmp_0); + s.tokenKind___179938 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___179938, 0); + r0 = pxsim_pxtcore_mkAction(13, inline__P179942); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___179937); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___179938); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___179796); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___179795); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___179802); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___179797); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___179798); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___179812); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___179808); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___179809); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___179810); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___179811); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___179799); + s.consumeToken___179941 = (s.tmp_0); case 3: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 58; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.scanNextWord___153264; + s.tmp_0.argL = s.scanNextWord___179880; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 112; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.currNote___153401 = (r0); - s.prevNote___153403 = (false); - r0 = pxsim_numops_toBoolDecr(s.currNote___153401); + s.currNote___180017 = (r0); + s.prevNote___180019 = (false); + r0 = pxsim_numops_toBoolDecr(s.currNote___180017); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.timePos___153187 - s.now___153191); - s.timeLeft___153406 = (r0); - r0 = (s.timeLeft___153406 > 0); + r0 = (s.timePos___179803 - s.now___179807); + s.timeLeft___180022 = (r0); + r0 = (s.timeLeft___180022 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = pause__P146339_mk(s); - s.tmp_1.arg0 = s.timeLeft___153406; + s.tmp_1 = pause__P172955_mk(s); + s.tmp_1.arg0 = s.timeLeft___180022; s.callLocIdx = 113; s.pc = 63; return s.tmp_1; case 63: r0 = s.retval; @@ -4127,25 +4170,25 @@ switch (step) { { step = 59; continue; } case 8: case 9: - r0 = pxsim_pxtrt_stlocRef(s.hz___153182, -1); - s.note___153420 = (0); - s.tmp_0 = r0 = s.token___153321; + r0 = pxsim_pxtrt_stlocRef(s.hz___179798, -1); + s.note___180036 = (0); + s.tmp_0 = r0 = s.token___179937; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___153322, 0); - s.i___153424 = (0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___179938, 0); + s.i___180040 = (0); case 10: - s.tmp_1 = r0 = s.i___153424; - r0 = pxsim_String_.length(s.currNote___153401); + s.tmp_1 = r0 = s.i___180040; + r0 = pxsim_String_.length(s.currNote___180017); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_String_.charAt(s.currNote___153401, s.i___153424); - s.noteChar___153430 = (r0); - s.tmp_0 = r0 = s.noteChar___153430; + r0 = pxsim_String_.charAt(s.currNote___180017, s.i___180040); + s.noteChar___180046 = (r0); + s.tmp_0 = r0 = s.noteChar___180046; r0 = pxsim_pxtcore.switch_eq("c", s.tmp_0); if (r0) { step = 11; continue; } r0 = pxsim_pxtcore.switch_eq("C", s.tmp_0); @@ -4198,133 +4241,133 @@ switch (step) { { step = 37; continue; } case 11: case 12: - s.note___153420 = (1); - s.prevNote___153403 = (true); + s.note___180036 = (1); + s.prevNote___180019 = (true); { step = 40; continue; } case 13: case 14: - s.note___153420 = (3); - s.prevNote___153403 = (true); + s.note___180036 = (3); + s.prevNote___180019 = (true); { step = 40; continue; } case 15: case 16: - s.note___153420 = (5); - s.prevNote___153403 = (true); + s.note___180036 = (5); + s.prevNote___180019 = (true); { step = 40; continue; } case 17: case 18: - s.note___153420 = (6); - s.prevNote___153403 = (true); + s.note___180036 = (6); + s.prevNote___180019 = (true); { step = 40; continue; } case 19: case 20: - s.note___153420 = (8); - s.prevNote___153403 = (true); + s.note___180036 = (8); + s.prevNote___180019 = (true); { step = 40; continue; } case 21: case 22: - s.note___153420 = (10); - s.prevNote___153403 = (true); + s.note___180036 = (10); + s.prevNote___180019 = (true); { step = 40; continue; } case 23: - s.note___153420 = (12); - s.prevNote___153403 = (true); + s.note___180036 = (12); + s.prevNote___180019 = (true); { step = 40; continue; } case 24: case 25: - r0 = pxsim_pxtrt_stlocRef(s.hz___153182, 0); - s.prevNote___153403 = (false); + r0 = pxsim_pxtrt_stlocRef(s.hz___179798, 0); + s.prevNote___180019 = (false); { step = 40; continue; } case 26: - r0 = (s.note___153420 + 1); - s.note___153420 = (r0); - s.prevNote___153403 = (false); + r0 = (s.note___180036 + 1); + s.note___180036 = (r0); + s.prevNote___180019 = (false); { step = 40; continue; } case 27: - r0 = pxsim_numops_toBoolDecr(s.prevNote___153403); + r0 = pxsim_numops_toBoolDecr(s.prevNote___180019); if (!r0) { step = 28; continue; } - r0 = (s.note___153420 - 1); - s.note___153420 = (r0); + r0 = (s.note___180036 - 1); + s.note___180036 = (r0); { step = 29; continue; } case 28: - s.note___153420 = (12); - s.prevNote___153403 = (true); + s.note___180036 = (12); + s.prevNote___180019 = (true); case 29: { step = 40; continue; } case 30: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___153325; + s.tmp_0.argL = s.consumeToken___179941; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 115; s.pc = 65; return s.tmp_0; case 65: r0 = s.retval; - s.prevNote___153403 = (false); + s.prevNote___180019 = (false); { step = 40; continue; } case 31: - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___153322, 4); - s.prevNote___153403 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___179938, 4); + s.prevNote___180019 = (false); { step = 40; continue; } case 32: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___153325; + s.tmp_0.argL = s.consumeToken___179941; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 116; s.pc = 66; return s.tmp_0; case 66: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___153322, 8); - s.prevNote___153403 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___179938, 8); + s.prevNote___180019 = (false); { step = 40; continue; } case 33: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___153325; + s.tmp_0.argL = s.consumeToken___179941; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 117; s.pc = 67; return s.tmp_0; case 67: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___153322, 7); - s.prevNote___153403 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___179938, 7); + s.prevNote___180019 = (false); { step = 40; continue; } case 34: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___153325; + s.tmp_0.argL = s.consumeToken___179941; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 118; s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___153322, 2); - s.prevNote___153403 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___179938, 2); + s.prevNote___180019 = (false); { step = 40; continue; } case 35: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___153325; + s.tmp_0.argL = s.consumeToken___179941; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 119; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___153322, 3); - s.prevNote___153403 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___179938, 3); + s.prevNote___180019 = (false); { step = 40; continue; } case 36: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___153325; + s.tmp_0.argL = s.consumeToken___179941; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 120; s.pc = 70; return s.tmp_0; case 70: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___153322, 5); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___179938, 5); { step = 40; continue; } case 37: - r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___153322); + r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___179938); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 38; continue; } - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___153322, 1); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___179938, 1); case 38: case 39: - s.tmp_0 = r0 = s.token___153321; - r0 = pxsim_pxtrt_ldlocRef(s.token___153321); + s.tmp_0 = r0 = s.token___179937; + r0 = pxsim_pxtrt_ldlocRef(s.token___179937); s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 71); @@ -4335,37 +4378,37 @@ switch (step) { case 71: r0 = s.retval; s.tmp_2 = r0; - if ((s.noteChar___153430) && (s.noteChar___153430).vtable) { + if ((s.noteChar___180046) && (s.noteChar___180046).vtable) { setupResume(s, 72); - pxsim_String__stringConv(s.noteChar___153430); + pxsim_String__stringConv(s.noteChar___180046); checkResumeConsumed(); return; - } else { s.retval = (s.noteChar___153430) + ""; } + } else { s.retval = (s.noteChar___180046) + ""; } case 72: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_4); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.prevNote___153403 = (false); + s.prevNote___180019 = (false); case 40: - r0 = (s.i___153424 + 1); - s.i___153424 = (r0); + r0 = (s.i___180040 + 1); + s.i___180040 = (r0); { step = 10; continue; } case 41: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___153325; + s.tmp_0.argL = s.consumeToken___179941; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 121; s.pc = 73; return s.tmp_0; case 73: r0 = s.retval; - s.tmp_0 = r0 = s.note___153420; + s.tmp_0 = r0 = s.note___180036; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 42; continue; } r0 = s.tmp_0; { step = 43; continue; } case 42: - r0 = pxsim_pxtrt_ldlocRef(s.hz___153182); + r0 = pxsim_pxtrt_ldlocRef(s.hz___179798); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); case 43: @@ -4373,17 +4416,17 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 46; continue; } - s.tmp_3 = r0 = s.note___153420; - r0 = pxsim_pxtrt_ldlocRef(s.octave___153180); + s.tmp_3 = r0 = s.note___180036; + r0 = pxsim_pxtrt_ldlocRef(s.octave___179796); s.tmp_6 = r0; r0 = (s.tmp_6 - 1); s.tmp_5 = r0; r0 = (12 * s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); - s.keyNumber___153504 = (r0); - s.tmp_1 = r0 = globals.freqs___150153; - r0 = (s.keyNumber___153504 * 2); + s.keyNumber___180120 = (r0); + s.tmp_1 = r0 = globals.freqs___176769; + r0 = (s.keyNumber___180120 * 2); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 4, s.tmp_2); s.tmp_0 = r0; @@ -4396,26 +4439,26 @@ switch (step) { case 45: // jmp value (already in r0) s.tmp_3 = r0; - r0 = pxsim_pxtrt_stlocRef(s.hz___153182, s.tmp_3); + r0 = pxsim_pxtrt_stlocRef(s.hz___179798, s.tmp_3); case 46: case 47: - r0 = pxsim_pxtrt_ldlocRef(s.ms___153186); - s.currMs___153521 = (r0); - r0 = (s.currMs___153521 <= 0); + r0 = pxsim_pxtrt_ldlocRef(s.ms___179802); + s.currMs___180137 = (r0); + r0 = (s.currMs___180137 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.tempo___153181); + r0 = pxsim_pxtrt_ldlocRef(s.tempo___179797); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(15000, s.tmp_1); - s.beat___153525 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.duration___153179); + s.beat___180141 = (r0); + r0 = pxsim_pxtrt_ldlocRef(s.duration___179795); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.beat___153525); - s.currMs___153521 = (r0); + r0 = (s.tmp_0 * s.beat___180141); + s.currMs___180137 = (r0); case 48: case 49: - r0 = pxsim_pxtrt_ldlocRef(s.hz___153182); + r0 = pxsim_pxtrt_ldlocRef(s.hz___179798); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -4423,32 +4466,32 @@ switch (step) { if (!r0) { step = 50; continue; } { step = 55; continue; } case 50: - r0 = pxsim_pxtrt_ldlocRef(s.hz___153182); + r0 = pxsim_pxtrt_ldlocRef(s.hz___179798); s.tmp_3 = r0; r0 = (s.tmp_3 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 51; continue; } - r0 = (s.timePos___153187 + s.currMs___153521); - s.timePos___153187 = (r0); + r0 = (s.timePos___179803 + s.currMs___180137); + s.timePos___179803 = (r0); { step = 54; continue; } case 51: - r0 = pxsim_pxtrt_ldlocRef(s.endHz___153183); + r0 = pxsim_pxtrt_ldlocRef(s.endHz___179799); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } - s.tmp_2 = r0 = s.endHz___153183; - r0 = pxsim_pxtrt_ldlocRef(s.hz___153182); + s.tmp_2 = r0 = s.endHz___179799; + r0 = pxsim_pxtrt_ldlocRef(s.hz___179798); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); case 52: case 53: - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___153203, 0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___179819, 0); s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___153204; - r0 = pxsim_pxtrt_ldlocRef(s.envA___153192); + s.tmp_0.argL = s.addForm___179820; + r0 = pxsim_pxtrt_ldlocRef(s.envA___179808); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 255; @@ -4458,36 +4501,36 @@ switch (step) { case 74: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___153204; - r0 = pxsim_pxtrt_ldlocRef(s.envD___153193); + s.tmp_0.argL = s.addForm___179820; + r0 = pxsim_pxtrt_ldlocRef(s.envD___179809); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 255; - r0 = pxsim_pxtrt_ldlocRef(s.envS___153194); + r0 = pxsim_pxtrt_ldlocRef(s.envS___179810); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___153192); + r0 = pxsim_pxtrt_ldlocRef(s.envA___179808); s.tmp_0.arg3 = r0; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 123; s.pc = 75; return s.tmp_0; case 75: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___153204; - s.tmp_1 = r0 = s.currMs___153521; - r0 = pxsim_pxtrt_ldlocRef(s.envA___153192); + s.tmp_0.argL = s.addForm___179820; + s.tmp_1 = r0 = s.currMs___180137; + r0 = pxsim_pxtrt_ldlocRef(s.envA___179808); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___153193); + r0 = pxsim_pxtrt_ldlocRef(s.envD___179809); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___153194); + r0 = pxsim_pxtrt_ldlocRef(s.envS___179810); s.tmp_0.arg1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___153194); + r0 = pxsim_pxtrt_ldlocRef(s.envS___179810); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___153193); + r0 = pxsim_pxtrt_ldlocRef(s.envD___179809); s.tmp_5 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___153192); + r0 = pxsim_pxtrt_ldlocRef(s.envA___179808); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; @@ -4496,50 +4539,50 @@ switch (step) { case 76: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___153204; - r0 = pxsim_pxtrt_ldlocRef(s.envR___153195); + s.tmp_0.argL = s.addForm___179820; + r0 = pxsim_pxtrt_ldlocRef(s.envR___179811); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___153194); + r0 = pxsim_pxtrt_ldlocRef(s.envS___179810); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.currMs___153521; + s.tmp_0.arg3 = s.currMs___180137; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 125; s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P150170_mk(s); + s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P176786_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.timePos___153187 - s.now___153191); + r0 = (s.timePos___179803 - s.now___179807); s.tmp_0.arg1 = r0; - s.tmp_1 = r0 = s.sndInstr___153197; - r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___153203); + s.tmp_1 = r0 = s.sndInstr___179813; + r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___179819); s.tmp_2 = r0; r0 = pxsim.BufferMethods.slice(s.tmp_1, 0, s.tmp_2); s.tmp_0.arg2 = r0; s.callLocIdx = 126; s.pc = 78; return s.tmp_0; case 78: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.endHz___153183, -1); - r0 = (s.timePos___153187 + s.currMs___153521); - s.timePos___153187 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___179799, -1); + r0 = (s.timePos___179803 + s.currMs___180137); + s.timePos___179803 = (r0); case 54: case 55: - r0 = (s.timePos___153187 - s.now___153191); - s.timeLeft___153582 = (r0); - r0 = (s.timeLeft___153582 > 200); + r0 = (s.timePos___179803 - s.now___179807); + s.timeLeft___180198 = (r0); + r0 = (s.timeLeft___180198 > 200); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 56; continue; } - s.tmp_1 = pause__P146339_mk(s); - r0 = (s.timeLeft___153582 - 100); + s.tmp_1 = pause__P172955_mk(s); + r0 = (s.timeLeft___180198 - 100); s.tmp_1.arg0 = r0; s.callLocIdx = 127; s.pc = 79; return s.tmp_1; case 79: r0 = s.retval; r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.startTime___153188); - s.now___153191 = (r0); + r0 = (s.tmp_0 - s.startTime___179804); + s.now___179807 = (r0); case 56: case 57: { step = 3; continue; } @@ -4549,12 +4592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_MelodyPlayer_play__P147550.info = {"start":11361,"length":9259,"line":348,"column":8,"endLine":582,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_MelodyPlayer_play__P174166.info = {"start":11361,"length":9259,"line":348,"column":8,"endLine":582,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_MelodyPlayer_play__P147550_mk(s) { +function music_MelodyPlayer_play__P174166_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_play__P147550, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_play__P174166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4567,39 +4610,39 @@ function music_MelodyPlayer_play__P147550_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - notes___153174: undefined, - pos___153178: undefined, - duration___153179: undefined, - octave___153180: undefined, - tempo___153181: undefined, - hz___153182: undefined, - endHz___153183: undefined, - ms___153186: undefined, - timePos___153187: undefined, - startTime___153188: undefined, - now___153191: undefined, - envA___153192: undefined, - envD___153193: undefined, - envS___153194: undefined, - envR___153195: undefined, - soundWave___153196: undefined, - sndInstr___153197: undefined, - sndInstrPtr___153203: undefined, - addForm___153204: undefined, - scanNextWord___153264: undefined, - token___153321: undefined, - tokenKind___153322: undefined, - consumeToken___153325: undefined, - currNote___153401: undefined, - prevNote___153403: undefined, - timeLeft___153406: undefined, - note___153420: undefined, - i___153424: undefined, - noteChar___153430: undefined, - keyNumber___153504: undefined, - currMs___153521: undefined, - beat___153525: undefined, - timeLeft___153582: undefined, + notes___179790: undefined, + pos___179794: undefined, + duration___179795: undefined, + octave___179796: undefined, + tempo___179797: undefined, + hz___179798: undefined, + endHz___179799: undefined, + ms___179802: undefined, + timePos___179803: undefined, + startTime___179804: undefined, + now___179807: undefined, + envA___179808: undefined, + envD___179809: undefined, + envS___179810: undefined, + envR___179811: undefined, + soundWave___179812: undefined, + sndInstr___179813: undefined, + sndInstrPtr___179819: undefined, + addForm___179820: undefined, + scanNextWord___179880: undefined, + token___179937: undefined, + tokenKind___179938: undefined, + consumeToken___179941: undefined, + currNote___180017: undefined, + prevNote___180019: undefined, + timeLeft___180022: undefined, + note___180036: undefined, + i___180040: undefined, + noteChar___180046: undefined, + keyNumber___180120: undefined, + currMs___180137: undefined, + beat___180141: undefined, + timeLeft___180198: undefined, arg0: undefined, arg1: undefined, } } @@ -4608,7 +4651,7 @@ function music_MelodyPlayer_play__P147550_mk(s) { -function inline__P153205(s) { +function inline__P179821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4618,10 +4661,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.freqStart___153210 = undefined; - s.freqEnd___153212 = undefined; - s.envelopeWidth___153214 = undefined; - s.slope___153232 = undefined; + s.freqStart___179826 = undefined; + s.freqEnd___179828 = undefined; + s.envelopeWidth___179830 = undefined; + s.slope___179848 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4630,9 +4673,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.freqStart___153210 = (r0); + s.freqStart___179826 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.freqEnd___153212 = (r0); + s.freqEnd___179828 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -4656,7 +4699,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_7 = r0; - s.envelopeWidth___153214 = (s.tmp_7); + s.envelopeWidth___179830 = (s.tmp_7); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); @@ -4668,35 +4711,35 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.envelopeWidth___153214 != 0); + r0 = (s.envelopeWidth___179830 != 0); case 4: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } - r0 = (s.freqEnd___153212 - s.freqStart___153210); + r0 = (s.freqEnd___179828 - s.freqStart___179826); s.tmp_4 = r0; - r0 = (s.tmp_4 / s.envelopeWidth___153214); - s.slope___153232 = (r0); + r0 = (s.tmp_4 / s.envelopeWidth___179830); + s.slope___179848 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - r0 = (s.slope___153232 * s.arg3); + r0 = (s.slope___179848 * s.arg3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqStart___153210 = (r0); + s.freqStart___179826 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - s.tmp_2 = r0 = s.slope___153232; + s.tmp_2 = r0 = s.slope___179848; r0 = (s.arg3 + s.arg0); s.tmp_3 = r0; r0 = (s.tmp_2 * s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqEnd___153212 = (r0); + s.freqEnd___179828 = (r0); case 5: case 6: s.tmp_0 = r0 = s.caps[6]; - s.tmp_2 = music_addNote__P150169_mk(s); + s.tmp_2 = music_addNote__P176785_mk(s); s.tmp_2.arg0 = s.caps[7]; r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); s.tmp_2.arg1 = r0; @@ -4705,10 +4748,10 @@ switch (step) { s.tmp_2.arg4 = s.arg2; r0 = pxsim_pxtrt_ldlocRef(s.caps[8]); s.tmp_2.arg5 = r0; - s.tmp_2.arg6 = s.freqStart___153210; + s.tmp_2.arg6 = s.freqStart___179826; r0 = pxsim_pxtrt_ldlocRef(s.caps[9]); s.tmp_2.arg7 = r0; - s.tmp_2.arg8 = s.freqEnd___153212; + s.tmp_2.arg8 = s.freqEnd___179828; s.callLocIdx = 105; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -4718,12 +4761,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P153205.info = {"start":12169,"length":643,"line":374,"column":28,"endLine":385,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} +inline__P179821.info = {"start":12169,"length":643,"line":374,"column":28,"endLine":385,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} -function inline__P153205_mk(s) { +function inline__P179821_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P153205, depth: s.depth + 1, + parent: s, fn: inline__P179821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4733,10 +4776,10 @@ function inline__P153205_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - freqStart___153210: undefined, - freqEnd___153212: undefined, - envelopeWidth___153214: undefined, - slope___153232: undefined, + freqStart___179826: undefined, + freqEnd___179828: undefined, + envelopeWidth___179830: undefined, + slope___179848: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4747,7 +4790,7 @@ function inline__P153205_mk(s) { -function inline__P153265(s) { +function inline__P179881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4757,9 +4800,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___153274 = undefined; - s.note___153291 = undefined; - s.c___153297 = undefined; + s.c___179890 = undefined; + s.note___179907 = undefined; + s.c___179913 = undefined; r0 = s.caps[0].fields["melody"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -4785,15 +4828,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_7 = r0; r0 = pxsim_String_.charAt(s.tmp_6, s.tmp_7); - s.c___153274 = (r0); - r0 = (s.c___153274 != " "); + s.c___179890 = (r0); + r0 = (s.c___179890 != " "); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 4; continue; } r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = (s.c___153274 != "\r"); + r0 = (s.c___179890 != "\r"); case 5: // jmp value (already in r0) s.tmp_1 = r0; @@ -4802,7 +4845,7 @@ switch (step) { r0 = s.tmp_1; { step = 7; continue; } case 6: - r0 = (s.c___153274 != "\n"); + r0 = (s.c___179890 != "\n"); case 7: // jmp value (already in r0) s.tmp_2 = r0; @@ -4811,7 +4854,7 @@ switch (step) { r0 = s.tmp_2; { step = 9; continue; } case 8: - r0 = (s.c___153274 != "\t"); + r0 = (s.c___179890 != "\t"); case 9: // jmp value (already in r0) s.tmp_3 = r0; @@ -4829,7 +4872,7 @@ switch (step) { { step = 3; continue; } case 12: r0 = pxsim_String_.mkEmpty(); - s.note___153291 = (r0); + s.note___179907 = (r0); case 13: r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; @@ -4843,15 +4886,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); - s.c___153297 = (r0); - r0 = (s.c___153297 == " "); + s.c___179913 = (r0); + r0 = (s.c___179913 == " "); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 14; continue; } r0 = s.tmp_0; { step = 15; continue; } case 14: - r0 = (s.c___153297 == "\r"); + r0 = (s.c___179913 == "\r"); case 15: // jmp value (already in r0) s.tmp_1 = r0; @@ -4860,7 +4903,7 @@ switch (step) { r0 = s.tmp_1; { step = 17; continue; } case 16: - r0 = (s.c___153297 == "\n"); + r0 = (s.c___179913 == "\n"); case 17: // jmp value (already in r0) s.tmp_2 = r0; @@ -4869,7 +4912,7 @@ switch (step) { r0 = s.tmp_2; { step = 19; continue; } case 18: - r0 = (s.c___153297 == "\t"); + r0 = (s.c___179913 == "\t"); case 19: // jmp value (already in r0) s.tmp_3 = r0; @@ -4878,26 +4921,26 @@ switch (step) { { step = 22; continue; } case 20: case 21: - if ((s.note___153291) && (s.note___153291).vtable) { + if ((s.note___179907) && (s.note___179907).vtable) { setupResume(s, 24); - pxsim_String__stringConv(s.note___153291); + pxsim_String__stringConv(s.note___179907); checkResumeConsumed(); return; - } else { s.retval = (s.note___153291) + ""; } + } else { s.retval = (s.note___179907) + ""; } case 24: r0 = s.retval; s.tmp_4 = r0; - if ((s.c___153297) && (s.c___153297).vtable) { + if ((s.c___179913) && (s.c___179913).vtable) { setupResume(s, 25); - pxsim_String__stringConv(s.c___153297); + pxsim_String__stringConv(s.c___179913); checkResumeConsumed(); return; - } else { s.retval = (s.c___153297) + ""; } + } else { s.retval = (s.c___179913) + ""; } case 25: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_String__concat(s.tmp_4, s.tmp_5); - s.note___153291 = (r0); + s.note___179907 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; @@ -4906,17 +4949,17 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 13; continue; } case 22: - r0 = s.note___153291; + r0 = s.note___179907; case 23: return leave(s, r0) default: oops() } } } -inline__P153265.info = {"start":12847,"length":708,"line":387,"column":33,"endLine":409,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P179881.info = {"start":12847,"length":708,"line":387,"column":33,"endLine":409,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P153265_mk(s) { +function inline__P179881_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P153265, depth: s.depth + 1, + parent: s, fn: inline__P179881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4926,16 +4969,16 @@ function inline__P153265_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - c___153274: undefined, - note___153291: undefined, - c___153297: undefined, + c___179890: undefined, + note___179907: undefined, + c___179913: undefined, } } -function inline__P153326(s) { +function inline__P179942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4945,7 +4988,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___153332 = undefined; + s.d___179948 = undefined; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -4961,14 +5004,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 15; continue; } - s.tmp_3 = parseInt__P146030_mk(s); + s.tmp_3 = parseInt__P172646_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = undefined; s.callLocIdx = 106; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; - s.d___153332 = (r0); + s.d___179948 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); @@ -4996,15 +5039,15 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 3: - r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___153332); + r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___179948); { step = 14; continue; } case 4: s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = Math_max__P146062_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); s.tmp_2.arg0 = 1; - s.tmp_3 = Math_min__P146063_mk(s); + s.tmp_3 = Math_min__P172679_mk(s); s.tmp_3.arg0 = 16; - s.tmp_3.arg1 = s.d___153332; + s.tmp_3.arg1 = s.d___179948; s.callLocIdx = 107; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; @@ -5018,9 +5061,9 @@ switch (step) { { step = 14; continue; } case 5: s.tmp_0 = r0 = s.caps[5]; - s.tmp_2 = Math_max__P146062_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); s.tmp_2.arg0 = 1; - s.tmp_2.arg1 = s.d___153332; + s.tmp_2.arg1 = s.d___179948; s.callLocIdx = 109; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; @@ -5028,18 +5071,18 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 6: - r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___153332); + r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___179948); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 6); { step = 14; continue; } case 7: - r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___153332); + r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___179948); { step = 14; continue; } case 8: s.tmp_0 = r0 = s.caps[7]; - s.tmp_2 = Math_clamp__P146059_mk(s); + s.tmp_2 = Math_clamp__P172675_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = 18; - s.tmp_2.arg2 = s.d___153332; + s.tmp_2.arg2 = s.d___179948; s.callLocIdx = 110; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; @@ -5047,19 +5090,19 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 9: - r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___153332); + r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___179948); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 9); { step = 14; continue; } case 10: - r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___153332); + r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___179948); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 10); { step = 14; continue; } case 11: s.tmp_0 = r0 = s.caps[10]; - s.tmp_2 = Math_clamp__P146059_mk(s); + s.tmp_2 = Math_clamp__P172675_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 255; - s.tmp_2.arg2 = s.d___153332; + s.tmp_2.arg2 = s.d___179948; s.callLocIdx = 111; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; @@ -5068,10 +5111,10 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.caps[1], 11); { step = 14; continue; } case 12: - r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___153332); + r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___179948); { step = 14; continue; } case 13: - r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___153332); + r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___179948); case 14: s.tmp_0 = r0 = s.caps[0]; r0 = pxsim_String_.mkEmpty(); @@ -5083,25 +5126,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P153326.info = {"start":14841,"length":1189,"line":448,"column":33,"endLine":469,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P179942.info = {"start":14841,"length":1189,"line":448,"column":33,"endLine":469,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P153326_mk(s) { +function inline__P179942_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P153326, depth: s.depth + 1, + parent: s, fn: inline__P179942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - d___153332: undefined, + d___179948: undefined, } } -function music_MelodyPlayer_queuePlayInstructions__P150170(s) { +function music_MelodyPlayer_queuePlayInstructions__P176786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5118,18 +5161,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C147545_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C174161_VT)) failedCast(r0); r0 = pxsim.music.queuePlayInstructions(s.arg1, s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_queuePlayInstructions__P150170.info = {"start":11226,"length":125,"line":344,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"queuePlayInstructions","argumentNames":["this","timeDelta","buf"]} +music_MelodyPlayer_queuePlayInstructions__P176786.info = {"start":11226,"length":125,"line":344,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"queuePlayInstructions","argumentNames":["this","timeDelta","buf"]} -function music_MelodyPlayer_queuePlayInstructions__P150170_mk(s) { +function music_MelodyPlayer_queuePlayInstructions__P176786_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P150170, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P176786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5140,7 +5183,7 @@ function music_MelodyPlayer_queuePlayInstructions__P150170_mk(s) { -function music_addNote__P150169(s) { +function music_addNote__P176785(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5208,12 +5251,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P150169.info = {"start":10086,"length":904,"line":315,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P176785.info = {"start":10086,"length":904,"line":315,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -function music_addNote__P150169_mk(s) { +function music_addNote__P176785_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P150169, depth: s.depth + 1, + parent: s, fn: music_addNote__P176785, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5234,7 +5277,7 @@ function music_addNote__P150169_mk(s) { -function music_volume__P147530(s) { +function music_volume__P174146(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5244,20 +5287,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P150161_mk(s); + s.tmp_0 = music_initVolume__P176777_mk(s); s.callLocIdx = 76; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___150157; + r0 = globals.globalVolume___176773; return leave(s, r0) default: oops() } } } -music_volume__P147530.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P174146.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__P147530_mk(s) { +function music_volume__P174146_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P147530, depth: s.depth + 1, + parent: s, fn: music_volume__P174146, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -5266,7 +5309,7 @@ function music_volume__P147530_mk(s) { -function music_initVolume__P150161(s) { +function music_initVolume__P176777(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5276,12 +5319,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___150157 === null); + r0 = (globals.globalVolume___176773 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___150157 = (0); - s.tmp_0 = music_setVolume__P147529_mk(s); + globals.globalVolume___176773 = (0); + s.tmp_0 = music_setVolume__P174145_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 73; s.pc = 3; return s.tmp_0; @@ -5293,12 +5336,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P150161.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P176777.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__P150161_mk(s) { +function music_initVolume__P176777_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P150161, depth: s.depth + 1, + parent: s, fn: music_initVolume__P176777, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -5307,7 +5350,7 @@ function music_initVolume__P150161_mk(s) { -function music_setVolume__P147529(s) { +function music_setVolume__P174145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5321,7 +5364,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P146059_mk(s); + s.tmp_0 = Math_clamp__P172675_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -5329,8 +5372,8 @@ switch (step) { s.callLocIdx = 74; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___150157 = (r0); - r0 = (globals.globalVolume___150157 > 0); + globals.globalVolume___176773 = (r0); + r0 = (globals.globalVolume___176773 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -5346,12 +5389,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P147529.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__P174145.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__P147529_mk(s) { +function music_setVolume__P174145_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P147529, depth: s.depth + 1, + parent: s, fn: music_setVolume__P174145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5362,7 +5405,7 @@ function music_setVolume__P147529_mk(s) { -function music_enableAmp__P150160(s) { +function music_enableAmp__P176776(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5380,12 +5423,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P150160.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__P176776.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__P150160_mk(s) { +function music_enableAmp__P176776_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P150160, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P176776, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5394,7 +5437,7 @@ function music_enableAmp__P150160_mk(s) { -function Math_min__P146063(s) { +function Math_min__P172679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5422,12 +5465,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P146063.info = {"start":16314,"length":105,"line":551,"column":4,"endLine":554,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P172679.info = {"start":16314,"length":105,"line":551,"column":4,"endLine":554,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P146063_mk(s) { +function Math_min__P172679_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P146063, depth: s.depth + 1, + parent: s, fn: Math_min__P172679, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5438,7 +5481,7 @@ function Math_min__P146063_mk(s) { -function Math_max__P146062(s) { +function Math_max__P172678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5466,12 +5509,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P146062.info = {"start":16099,"length":105,"line":542,"column":4,"endLine":545,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P172678.info = {"start":16099,"length":105,"line":542,"column":4,"endLine":545,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function Math_max__P146062_mk(s) { +function Math_max__P172678_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P146062, depth: s.depth + 1, + parent: s, fn: Math_max__P172678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5482,7 +5525,7 @@ function Math_max__P146062_mk(s) { -function Math_clamp__P146059(s) { +function Math_clamp__P172675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5498,9 +5541,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P146063_mk(s); + s.tmp_0 = Math_min__P172679_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P146062_mk(s); + s.tmp_1 = Math_max__P172678_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 19; s.pc = 2; return s.tmp_1; @@ -5513,12 +5556,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P146059.info = {"start":15178,"length":130,"line":514,"column":4,"endLine":516,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P172675.info = {"start":15178,"length":130,"line":514,"column":4,"endLine":516,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P146059_mk(s) { +function Math_clamp__P172675_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P146059, depth: s.depth + 1, + parent: s, fn: Math_clamp__P172675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5531,7 +5574,7 @@ function Math_clamp__P146059_mk(s) { -function parseInt__P146030(s) { +function parseInt__P172646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5541,13 +5584,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___153633 = undefined; - s.sign___153663 = undefined; - s.output___153708 = undefined; - s.hasDigit___153709 = undefined; - s.i___153710 = undefined; - s.code___153717 = undefined; - s.val___153724 = undefined; + s.start___180249 = undefined; + s.sign___180279 = undefined; + s.output___180324 = undefined; + s.hasDigit___180325 = undefined; + s.i___180326 = undefined; + s.code___180333 = undefined; + s.val___180340 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5594,9 +5637,9 @@ switch (step) { { step = 46; continue; } case 7: case 8: - s.start___153633 = (0); + s.start___180249 = (0); case 9: - s.tmp_1 = r0 = s.start___153633; + s.tmp_1 = r0 = s.start___180249; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -5606,8 +5649,8 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - s.tmp_3 = helpers_isWhitespace__P146056_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___153633); + s.tmp_3 = helpers_isWhitespace__P172672_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___180249); s.tmp_3.arg0 = r0; s.callLocIdx = 0; s.pc = 47; return s.tmp_3; case 47: @@ -5617,11 +5660,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - r0 = (s.start___153633 + 1); - s.start___153633 = (r0); + r0 = (s.start___180249 + 1); + s.start___180249 = (r0); { step = 9; continue; } case 12: - s.tmp_1 = r0 = s.start___153633; + s.tmp_1 = r0 = s.start___180249; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); @@ -5632,8 +5675,8 @@ switch (step) { { step = 46; continue; } case 13: case 14: - s.sign___153663 = (1); - r0 = pxsim_String_.charAt(s.arg0, s.start___153633); + s.sign___180279 = (1); + r0 = pxsim_String_.charAt(s.arg0, s.start___180249); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq("-", s.tmp_0); if (r0) { step = 15; continue; } @@ -5642,10 +5685,10 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 15: - s.sign___153663 = (-1); + s.sign___180279 = (-1); case 16: - r0 = (s.start___153633 + 1); - s.start___153633 = (r0); + r0 = (s.start___180249 + 1); + s.start___180249 = (r0); case 17: r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; @@ -5665,7 +5708,7 @@ switch (step) { r0 = s.tmp_2; { step = 21; continue; } case 20: - r0 = pxsim_String_.charAt(s.arg0, s.start___153633); + r0 = pxsim_String_.charAt(s.arg0, s.start___180249); s.tmp_3 = r0; r0 = ("0" === s.tmp_3); case 21: @@ -5677,7 +5720,7 @@ switch (step) { { step = 25; continue; } case 22: s.tmp_7 = r0 = s.arg0; - r0 = (s.start___153633 + 1); + r0 = (s.start___180249 + 1); s.tmp_8 = r0; r0 = pxsim_String_.charAt(s.tmp_7, s.tmp_8); s.tmp_6 = r0; @@ -5689,7 +5732,7 @@ switch (step) { { step = 24; continue; } case 23: s.tmp_10 = r0 = s.arg0; - r0 = (s.start___153633 + 1); + r0 = (s.start___180249 + 1); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -5704,8 +5747,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_13); if (!r0) { step = 26; continue; } s.arg1 = (16); - r0 = (s.start___153633 + 2); - s.start___153633 = (r0); + r0 = (s.start___180249 + 2); + s.start___180249 = (r0); { step = 29; continue; } case 26: r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -5718,73 +5761,73 @@ switch (step) { case 27: case 28: case 29: - s.output___153708 = (0); - s.hasDigit___153709 = (false); - s.i___153710 = (s.start___153633); + s.output___180324 = (0); + s.hasDigit___180325 = (false); + s.i___180326 = (s.start___180249); case 30: - s.tmp_1 = r0 = s.i___153710; + s.tmp_1 = r0 = s.i___180326; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_String_.charCodeAt(s.arg0, s.i___153710); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___180326); s.tmp_3 = r0; r0 = (s.tmp_3 | 32); - s.code___153717 = (r0); - s.val___153724 = (undefined); - r0 = (s.code___153717 >= 48); + s.code___180333 = (r0); + s.val___180340 = (undefined); + r0 = (s.code___180333 >= 48); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 31; continue; } r0 = s.tmp_0; { step = 32; continue; } case 31: - r0 = (s.code___153717 < 58); + r0 = (s.code___180333 < 58); case 32: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 33; continue; } - r0 = (s.code___153717 - 48); - s.val___153724 = (r0); + r0 = (s.code___180333 - 48); + s.val___180340 = (r0); { step = 38; continue; } case 33: - r0 = (s.code___153717 >= 97); + r0 = (s.code___180333 >= 97); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 34; continue; } r0 = s.tmp_0; { step = 35; continue; } case 34: - r0 = (s.code___153717 < 123); + r0 = (s.code___180333 < 123); case 35: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 36; continue; } - r0 = (10 + s.code___153717); + r0 = (10 + s.code___180333); s.tmp_2 = r0; r0 = (s.tmp_2 - 97); - s.val___153724 = (r0); + s.val___180340 = (r0); case 36: case 37: case 38: - r0 = (s.val___153724 == undefined); + r0 = (s.val___180340 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 39; continue; } r0 = s.tmp_0; { step = 40; continue; } case 39: - r0 = (s.val___153724 >= s.arg1); + r0 = (s.val___180340 >= s.arg1); case 40: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_numops_toBoolDecr(s.hasDigit___153709); + r0 = pxsim_numops_toBoolDecr(s.hasDigit___180325); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -5797,26 +5840,26 @@ switch (step) { { step = 45; continue; } case 43: case 44: - s.hasDigit___153709 = (true); - r0 = (s.output___153708 * s.arg1); + s.hasDigit___180325 = (true); + r0 = (s.output___180324 * s.arg1); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.val___153724); - s.output___153708 = (r0); - r0 = (s.i___153710 + 1); - s.i___153710 = (r0); + r0 = (s.tmp_0 + s.val___180340); + s.output___180324 = (r0); + r0 = (s.i___180326 + 1); + s.i___180326 = (r0); { step = 30; continue; } case 45: - r0 = (s.sign___153663 * s.output___153708); + r0 = (s.sign___180279 * s.output___180324); case 46: return leave(s, r0) default: oops() } } } -parseInt__P146030.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} +parseInt__P172646.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} -function parseInt__P146030_mk(s) { +function parseInt__P172646_mk(s) { checkStack(s.depth); return { - parent: s, fn: parseInt__P146030, depth: s.depth + 1, + parent: s, fn: parseInt__P172646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5832,13 +5875,13 @@ function parseInt__P146030_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - start___153633: undefined, - sign___153663: undefined, - output___153708: undefined, - hasDigit___153709: undefined, - i___153710: undefined, - code___153717: undefined, - val___153724: undefined, + start___180249: undefined, + sign___180279: undefined, + output___180324: undefined, + hasDigit___180325: undefined, + i___180326: undefined, + code___180333: undefined, + val___180340: undefined, arg0: undefined, arg1: undefined, } } @@ -5847,7 +5890,7 @@ function parseInt__P146030_mk(s) { -function helpers_isWhitespace__P146056(s) { +function helpers_isWhitespace__P172672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5904,12 +5947,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_isWhitespace__P146056.info = {"start":14399,"length":674,"line":489,"column":4,"endLine":506,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} +helpers_isWhitespace__P172672.info = {"start":14399,"length":674,"line":489,"column":4,"endLine":506,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} -function helpers_isWhitespace__P146056_mk(s) { +function helpers_isWhitespace__P172672_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_isWhitespace__P146056, depth: s.depth + 1, + parent: s, fn: helpers_isWhitespace__P172672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5919,7 +5962,7 @@ function helpers_isWhitespace__P146056_mk(s) { -function music_MelodyPlayer_constructor__P147548(s) { +function music_MelodyPlayer_constructor__P174164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5935,18 +5978,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C147545_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C174161_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_constructor__P147548.info = {"start":11095,"length":62,"line":336,"column":8,"endLine":338,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} +music_MelodyPlayer_constructor__P174164.info = {"start":11095,"length":62,"line":336,"column":8,"endLine":338,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} -function music_MelodyPlayer_constructor__P147548_mk(s) { +function music_MelodyPlayer_constructor__P174164_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_constructor__P147548, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_constructor__P174164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5956,7 +5999,7 @@ function music_MelodyPlayer_constructor__P147548_mk(s) { -function music_Melody_stop__P147540(s) { +function music_Melody_stop__P174156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5971,12 +6014,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C147535_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C174151_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_MelodyPlayer_stop__P147549_mk(s); + s.tmp_1 = music_MelodyPlayer_stop__P174165_mk(s); r0 = s.arg0.fields["_player"]; s.tmp_1.arg0 = r0; s.callLocIdx = 89; s.pc = 3; return s.tmp_1; @@ -5985,7 +6028,7 @@ switch (step) { r0 = (s.arg0).fields["_player"] = (null); case 1: case 2: - s.tmp_0 = music_Melody_unregisterMelody__P150166_mk(s); + s.tmp_0 = music_Melody_unregisterMelody__P176782_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 90; s.pc = 4; return s.tmp_0; case 4: @@ -5994,12 +6037,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_stop__P147540.info = {"start":6706,"length":173,"line":215,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} +music_Melody_stop__P174156.info = {"start":6706,"length":173,"line":215,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} -function music_Melody_stop__P147540_mk(s) { +function music_Melody_stop__P174156_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_stop__P147540, depth: s.depth + 1, + parent: s, fn: music_Melody_stop__P174156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6010,7 +6053,7 @@ function music_Melody_stop__P147540_mk(s) { -function music_MelodyPlayer_stop__P147549(s) { +function music_MelodyPlayer_stop__P174165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6025,18 +6068,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C147545_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C174161_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (null); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_stop__P147549.info = {"start":11167,"length":49,"line":340,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} +music_MelodyPlayer_stop__P174165.info = {"start":11167,"length":49,"line":340,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} -function music_MelodyPlayer_stop__P147549_mk(s) { +function music_MelodyPlayer_stop__P174165_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_stop__P147549, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_stop__P174165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6045,7 +6088,7 @@ function music_MelodyPlayer_stop__P147549_mk(s) { -function helpers_stringSplit__P146054(s) { +function helpers_stringSplit__P172670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6055,15 +6098,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___153935 = undefined; - s.lim___153937 = undefined; - s.s___153953 = undefined; - s.p___153956 = undefined; - s.R___153957 = undefined; - s.z___153971 = undefined; - s.T___153984 = undefined; - s.q___153985 = undefined; - s.e___153991 = undefined; + s.A___180551 = undefined; + s.lim___180553 = undefined; + s.s___180569 = undefined; + s.p___180572 = undefined; + s.R___180573 = undefined; + s.z___180587 = undefined; + s.T___180600 = undefined; + s.q___180601 = undefined; + s.e___180607 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6071,36 +6114,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___153935 = (r0); - s.lim___153937 = (0); + s.A___180551 = (r0); + s.lim___180553 = (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___153937 = (r0); + s.lim___180553 = (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___153937 = (0); + s.lim___180553 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___153937 = (r0); + s.lim___180553 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___153953 = (r0); - s.p___153956 = (0); - s.R___153957 = (s.arg1); - r0 = (s.lim___153937 == 0); + s.s___180569 = (r0); + s.p___180572 = (0); + s.R___180573 = (s.arg1); + r0 = (s.lim___180553 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___153935; + r0 = s.A___180551; { step = 21; continue; } case 5: case 6: @@ -6108,123 +6151,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___153935, 0, s.arg0); - r0 = s.A___153935; + r0 = pxsim_Array_.setAt(s.A___180551, 0, s.arg0); + r0 = s.A___180551; { step = 21; continue; } case 7: case 8: - r0 = (s.s___153953 == 0); + r0 = (s.s___180569 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P150053_mk(s); + s.tmp_1 = helpers_splitMatch__P176669_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___153957; + s.tmp_1.arg2 = s.R___180573; s.callLocIdx = 12; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___153971 = (r0); - r0 = (s.z___153971 > -1); + s.z___180587 = (r0); + r0 = (s.z___180587 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___153935; + r0 = s.A___180551; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___153935, 0, s.arg0); - r0 = s.A___153935; + r0 = pxsim_Array_.setAt(s.A___180551, 0, s.arg0); + r0 = s.A___180551; { step = 21; continue; } case 11: case 12: - s.q___153985 = (s.p___153956); + s.q___180601 = (s.p___180572); case 13: - r0 = (s.q___153985 != s.s___153953); + r0 = (s.q___180601 != s.s___180569); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P150053_mk(s); + s.tmp_1 = helpers_splitMatch__P176669_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___153985; - s.tmp_1.arg2 = s.R___153957; + s.tmp_1.arg1 = s.q___180601; + s.tmp_1.arg2 = s.R___180573; s.callLocIdx = 13; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___153991 = (r0); - r0 = (s.e___153991 < 0); + s.e___180607 = (r0); + r0 = (s.e___180607 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___153985 + 1); - s.q___153985 = (r0); + r0 = (s.q___180601 + 1); + s.q___180601 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___153991 == s.p___153956); + r0 = (s.e___180607 == s.p___180572); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___153985 + 1); - s.q___153985 = (r0); + r0 = (s.q___180601 + 1); + s.q___180601 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P146052_mk(s); + s.tmp_0 = helpers_stringSlice__P172668_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___153956; - s.tmp_0.arg2 = s.q___153985; + s.tmp_0.arg1 = s.p___180572; + s.tmp_0.arg2 = s.q___180601; s.callLocIdx = 14; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___153984 = (r0); - r0 = pxsim_Array__push(s.A___153935, s.T___153984); - r0 = pxsim_Array__length(s.A___153935); + s.T___180600 = (r0); + r0 = pxsim_Array__push(s.A___180551, s.T___180600); + r0 = pxsim_Array__length(s.A___180551); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___153937); + r0 = (s.tmp_1 == s.lim___180553); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___153935; + r0 = s.A___180551; { step = 21; continue; } case 16: case 17: - s.p___153956 = (s.e___153991); - s.q___153985 = (s.p___153956); + s.p___180572 = (s.e___180607); + s.q___180601 = (s.p___180572); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P146052_mk(s); + s.tmp_0 = helpers_stringSlice__P172668_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___153956; - s.tmp_0.arg2 = s.q___153985; + s.tmp_0.arg1 = s.p___180572; + s.tmp_0.arg2 = s.q___180601; s.callLocIdx = 15; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___153984 = (r0); - r0 = pxsim_Array__push(s.A___153935, s.T___153984); - r0 = s.A___153935; + s.T___180600 = (r0); + r0 = pxsim_Array__push(s.A___180551, s.T___180600); + r0 = s.A___180551; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P146054.info = {"start":12454,"length":1319,"line":420,"column":4,"endLine":464,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P172670.info = {"start":12454,"length":1319,"line":420,"column":4,"endLine":464,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P146054_mk(s) { +function helpers_stringSplit__P172670_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P146054, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P172670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___153935: undefined, - lim___153937: undefined, - s___153953: undefined, - p___153956: undefined, - R___153957: undefined, - z___153971: undefined, - T___153984: undefined, - q___153985: undefined, - e___153991: undefined, + A___180551: undefined, + lim___180553: undefined, + s___180569: undefined, + p___180572: undefined, + R___180573: undefined, + z___180587: undefined, + T___180600: undefined, + q___180601: undefined, + e___180607: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6234,7 +6277,7 @@ function helpers_stringSplit__P146054_mk(s) { -function helpers_splitMatch__P150053(s) { +function helpers_splitMatch__P176669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6244,9 +6287,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___154071 = undefined; - s.s___154074 = undefined; - s.i___154084 = undefined; + s.r___180687 = undefined; + s.s___180690 = undefined; + s.i___180700 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6254,12 +6297,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___154071 = (r0); + s.r___180687 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___154074 = (r0); - r0 = (s.arg1 + s.r___154071); + s.s___180690 = (r0); + r0 = (s.arg1 + s.r___180687); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___154074); + r0 = (s.tmp_1 > s.s___180690); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -6267,18 +6310,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___154084 = (0); + s.i___180700 = (0); case 3: - r0 = (s.i___154084 < s.r___154071); + r0 = (s.i___180700 < s.r___180687); 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___154084); + r0 = (s.arg1 + s.i___180700); 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___154084); + r0 = pxsim_String_.charAt(s.arg2, s.i___180700); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -6288,21 +6331,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___154084 + 1); - s.i___154084 = (r0); + r0 = (s.i___180700 + 1); + s.i___180700 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___154071); + r0 = (s.arg1 + s.r___180687); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P150053.info = {"start":13779,"length":289,"line":466,"column":4,"endLine":475,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} +helpers_splitMatch__P176669.info = {"start":13779,"length":289,"line":466,"column":4,"endLine":475,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} -function helpers_splitMatch__P150053_mk(s) { +function helpers_splitMatch__P176669_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P150053, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P176669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6310,9 +6353,9 @@ function helpers_splitMatch__P150053_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___154071: undefined, - s___154074: undefined, - i___154084: undefined, + r___180687: undefined, + s___180690: undefined, + i___180700: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6322,7 +6365,7 @@ function helpers_splitMatch__P150053_mk(s) { -function helpers_stringSlice__P146052(s) { +function helpers_stringSlice__P172668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6332,7 +6375,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___154036 = undefined; + s.len___180652 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6340,13 +6383,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___154036 = (r0); + s.len___180652 = (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__P146062_mk(s); - r0 = (s.len___154036 + s.arg1); + s.tmp_1 = Math_max__P172678_mk(s); + r0 = (s.len___180652 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 11; s.pc = 9; return s.tmp_1; @@ -6359,7 +6402,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___154036); + s.arg2 = (s.len___180652); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -6374,7 +6417,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___154036 + s.arg2); + r0 = (s.len___180652 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -6386,17 +6429,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P146052.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__P172668.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__P146052_mk(s) { +function helpers_stringSlice__P172668_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P146052, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P172668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___154036: undefined, + len___180652: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6406,7 +6449,7 @@ function helpers_stringSlice__P146052_mk(s) { -function helpers_arrayFilter__P146043(s) { +function helpers_arrayFilter__P172659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6416,31 +6459,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___154107 = undefined; - s.len___154109 = undefined; - s.i___154112 = undefined; - s.v___154117 = undefined; + s.res___180723 = undefined; + s.len___180725 = undefined; + s.i___180728 = undefined; + s.v___180733 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___154107 = (r0); + s.res___180723 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___154109 = (r0); - s.i___154112 = (0); + s.len___180725 = (r0); + s.i___180728 = (0); case 1: - r0 = (s.i___154112 < s.len___154109); + r0 = (s.i___180728 < s.len___180725); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___154112); - s.v___154117 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___180728); + s.v___180733 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___154117; - s.tmp_1.arg1 = s.i___154112; + s.tmp_1.arg0 = s.v___180733; + s.tmp_1.arg1 = s.i___180728; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 5; return s.tmp_1; case 5: @@ -6448,30 +6491,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___154107, s.v___154117); + r0 = pxsim_Array__push(s.res___180723, s.v___180733); case 2: case 3: - r0 = (s.i___154112 + 1); - s.i___154112 = (r0); + r0 = (s.i___180728 + 1); + s.i___180728 = (r0); { step = 1; continue; } case 4: - r0 = s.res___154107; + r0 = s.res___180723; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P146043.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__P172659.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__P146043_mk(s) { +function helpers_arrayFilter__P172659_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P146043, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P172659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___154107: undefined, - len___154109: undefined, - i___154112: undefined, - v___154117: undefined, + res___180723: undefined, + len___180725: undefined, + i___180728: undefined, + v___180733: undefined, arg0: undefined, arg1: undefined, } } @@ -6480,7 +6523,7 @@ function helpers_arrayFilter__P146043_mk(s) { -function forever__P147794(s) { +function forever__P174410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6494,7 +6537,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_forever__P148497_mk(s); + s.tmp_0 = game_forever__P175113_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 187; s.pc = 1; return s.tmp_0; case 1: @@ -6503,12 +6546,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forever__P147794.info = {"start":264,"length":62,"line":6,"column":0,"endLine":8,"endColumn":1,"fileName":"pxt_modules/game/gameoverrides.ts","functionName":"forever","argumentNames":["a"]} +forever__P174410.info = {"start":264,"length":62,"line":6,"column":0,"endLine":8,"endColumn":1,"fileName":"pxt_modules/game/gameoverrides.ts","functionName":"forever","argumentNames":["a"]} -function forever__P147794_mk(s) { +function forever__P174410_mk(s) { checkStack(s.depth); return { - parent: s, fn: forever__P147794, depth: s.depth + 1, + parent: s, fn: forever__P174410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6518,7 +6561,7 @@ function forever__P147794_mk(s) { -function game_forever__P148497(s) { +function game_forever__P175113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6532,25 +6575,25 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.foreverRunning___150478); + r0 = pxsim_numops_toBoolDecr(globals.foreverRunning___177094); 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; } - globals.foreverRunning___150478 = (true); - r0 = pxsim.control.runInParallel(inline__P154140); + globals.foreverRunning___177094 = (true); + r0 = pxsim.control.runInParallel(inline__P180756); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_GameForeverHandler__C148350_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_GameForeverHandler__C174966_VT); s.tmp_0 = r0; - s.tmp_1 = scene_GameForeverHandler_constructor__P148352_mk(s); + s.tmp_1 = scene_GameForeverHandler_constructor__P174968_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 1210; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_3 = game_currentScene__P148484_mk(s); + s.tmp_3 = game_currentScene__P175100_mk(s); s.callLocIdx = 1209; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; @@ -6561,12 +6604,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_forever__P148497.info = {"start":8610,"length":820,"line":277,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"forever","argumentNames":["action"]} +game_forever__P175113.info = {"start":8610,"length":820,"line":277,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"forever","argumentNames":["action"]} -function game_forever__P148497_mk(s) { +function game_forever__P175113_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_forever__P148497, depth: s.depth + 1, + parent: s, fn: game_forever__P175113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6579,7 +6622,7 @@ function game_forever__P148497_mk(s) { -function inline__P154140(s) { +function inline__P180756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6589,23 +6632,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlers___154142 = undefined; + s.handlers___180758 = undefined; case 1: r0 = pxsim_numops_toBoolDecr(1); if (!r0) { step = 2; continue; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1205; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = r0.fields["gameForeverHandlers"]; - s.handlers___154142 = (r0); - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); - s.tmp_0.arg0 = s.handlers___154142; - s.tmp_0.arg1 = inline__P154148; + s.handlers___180758 = (r0); + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); + s.tmp_0.arg0 = s.handlers___180758; + s.tmp_0.arg1 = inline__P180764; s.callLocIdx = 1207; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); s.tmp_0.arg0 = 20; s.callLocIdx = 1208; s.pc = 5; return s.tmp_0; case 5: @@ -6616,22 +6659,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P154140.info = {"start":8762,"length":535,"line":280,"column":34,"endLine":294,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P180756.info = {"start":8762,"length":535,"line":280,"column":34,"endLine":294,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P154140_mk(s) { +function inline__P180756_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154140, depth: s.depth + 1, + parent: s, fn: inline__P180756, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - handlers___154142: undefined, + handlers___180758: undefined, } } -function inline__P154148(s) { +function inline__P180764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6654,7 +6697,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lock"] = (true); - r0 = pxsim_pxtcore_mkAction(1, inline__P154157); + r0 = pxsim_pxtcore_mkAction(1, inline__P180773); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim.control.runInParallel(s.tmp_0); @@ -6664,12 +6707,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P154148.info = {"start":8913,"length":319,"line":283,"column":37,"endLine":291,"endColumn":21,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["h"]} +inline__P180764.info = {"start":8913,"length":319,"line":283,"column":37,"endLine":291,"endColumn":21,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["h"]} -function inline__P154148_mk(s) { +function inline__P180764_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154148, depth: s.depth + 1, + parent: s, fn: inline__P180764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6681,7 +6724,7 @@ function inline__P154148_mk(s) { -function inline__P154157(s) { +function inline__P180773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6709,12 +6752,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P154157.info = {"start":9052,"length":130,"line":286,"column":50,"endLine":289,"endColumn":29,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P180773.info = {"start":9052,"length":130,"line":286,"column":50,"endLine":289,"endColumn":29,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P154157_mk(s) { +function inline__P180773_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154157, depth: s.depth + 1, + parent: s, fn: inline__P180773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -6723,7 +6766,7 @@ function inline__P154157_mk(s) { -function scene_GameForeverHandler_constructor__P148352(s) { +function scene_GameForeverHandler_constructor__P174968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6739,18 +6782,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_GameForeverHandler__C148350_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_GameForeverHandler__C174966_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_GameForeverHandler_constructor__P148352.info = {"start":1340,"length":65,"line":47,"column":8,"endLine":49,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","handler"]} +scene_GameForeverHandler_constructor__P174968.info = {"start":1340,"length":65,"line":47,"column":8,"endLine":49,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","handler"]} -function scene_GameForeverHandler_constructor__P148352_mk(s) { +function scene_GameForeverHandler_constructor__P174968_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_GameForeverHandler_constructor__P148352, depth: s.depth + 1, + parent: s, fn: scene_GameForeverHandler_constructor__P174968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6760,7 +6803,7 @@ function scene_GameForeverHandler_constructor__P148352_mk(s) { -function helpers_arrayForEach__P146042(s) { +function helpers_arrayForEach__P172658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6770,49 +6813,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___154175 = undefined; - s.i___154178 = undefined; + s.len___180791 = undefined; + s.i___180794 = 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___154175 = (r0); - s.i___154178 = (0); + s.len___180791 = (r0); + s.i___180794 = (0); case 1: - r0 = (s.i___154178 < s.len___154175); + r0 = (s.i___180794 < s.len___180791); 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___154178); + r0 = pxsim_Array__getAt(s.arg0, s.i___180794); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___154178; + s.tmp_1.arg1 = s.i___180794; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___154178 + 1); - s.i___154178 = (r0); + r0 = (s.i___180794 + 1); + s.i___180794 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P146042.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__P172658.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__P146042_mk(s) { +function helpers_arrayForEach__P172658_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P146042, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P172658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___154175: undefined, - i___154178: undefined, + len___180791: undefined, + i___180794: undefined, arg0: undefined, arg1: undefined, } } @@ -6821,7 +6864,7 @@ function helpers_arrayForEach__P146042_mk(s) { -function story_spriteMoveToLocation__P149752(s) { +function story_spriteMoveToLocation__P176368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6831,13 +6874,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.distance___154194 = undefined; - s.time___154200 = undefined; - s.angle___154206 = undefined; - s.key___154235 = undefined; - s.done___154241 = undefined; - s.ref___154242 = undefined; - s.task___154257 = undefined; + s.distance___180810 = undefined; + s.time___180816 = undefined; + s.angle___180822 = undefined; + s.key___180851 = undefined; + s.done___180857 = undefined; + s.ref___180858 = undefined; + s.task___180873 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6845,20 +6888,20 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = story_calculateDistance__P152438_mk(s); + s.tmp_0 = story_calculateDistance__P179054_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 1731; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.distance___154194 = (r0); - r0 = (s.distance___154194 / s.arg3); + s.distance___180810 = (r0); + r0 = (s.distance___180810 / s.arg3); s.tmp_0 = r0; r0 = (s.tmp_0 * 1000); - s.time___154200 = (r0); + s.time___180816 = (r0); s.tmp_1 = r0 = s.arg2; - s.tmp_3 = Sprite_y__P147981_mk(s); + s.tmp_3 = Sprite_y__P174597_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1732; s.pc = 4; return s.tmp_3; case 4: @@ -6867,7 +6910,7 @@ switch (step) { r0 = (s.tmp_1 - s.tmp_2); s.tmp_0 = r0; s.tmp_5 = r0 = s.arg1; - s.tmp_7 = Sprite_x__P147979_mk(s); + s.tmp_7 = Sprite_x__P174595_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 1733; s.pc = 5; return s.tmp_7; case 5: @@ -6876,31 +6919,31 @@ switch (step) { r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; r0 = pxsim.Math_.atan2(s.tmp_0, s.tmp_4); - s.angle___154206 = (r0); - s.tmp_0 = Sprite_ax__P147988_mk(s); + s.angle___180822 = (r0); + s.tmp_0 = Sprite_ax__P174604_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1734; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_ay__P147990_mk(s); + s.tmp_0 = Sprite_ay__P174606_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1735; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = Sprite_vx__P147984_mk(s); + s.tmp_0 = Sprite_vx__P174600_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = pxsim.Math_.cos(s.angle___154206); + r0 = pxsim.Math_.cos(s.angle___180822); s.tmp_1 = r0; r0 = (s.tmp_1 * s.arg3); s.tmp_0.arg1 = r0; s.callLocIdx = 1736; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_vy__P147986_mk(s); + s.tmp_0 = Sprite_vy__P174602_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = pxsim.Math_.sin(s.angle___154206); + r0 = pxsim.Math_.sin(s.angle___180822); s.tmp_1 = r0; r0 = (s.tmp_1 * s.arg3); s.tmp_0.arg1 = r0; @@ -6919,48 +6962,48 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("move_", s.tmp_0); - s.key___154235 = (r0); - s.tmp_0 = story__cancelTask__P149749_mk(s); - s.tmp_0.arg0 = s.key___154235; + s.key___180851 = (r0); + s.tmp_0 = story__cancelTask__P176365_mk(s); + s.tmp_0.arg0 = s.key___180851; s.callLocIdx = 1739; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.done___154241 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.done___154241, false); - r0 = pxsim_pxtcore_mkAction(4, inline__P154244); + s.done___180857 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.done___180857, false); + r0 = pxsim_pxtcore_mkAction(4, inline__P180860); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg2); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.done___154241); - s.tmp_1 = setTimeout__P146349_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.done___180857); + s.tmp_1 = setTimeout__P172965_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.time___154200; + s.tmp_1.arg1 = s.time___180816; s.callLocIdx = 1744; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - s.ref___154242 = (r0); + s.ref___180858 = (r0); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "key", s.key___154235); - r0 = pxsim_pxtcore_mkAction(1, inline__P154259); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "key", s.key___180851); + r0 = pxsim_pxtcore_mkAction(1, inline__P180875); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.done___154241); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.done___180857); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "isDone", s.tmp_1); - r0 = pxsim_pxtcore_mkAction(3, inline__P154261); + r0 = pxsim_pxtcore_mkAction(3, inline__P180877); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.done___154241); + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.done___180857); r0 = pxsim_pxtrt_stclo(s.tmp_2, 1, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_2, 2, s.ref___154242); + r0 = pxsim_pxtrt_stclo(s.tmp_2, 2, s.ref___180858); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cancel", s.tmp_2); - s.task___154257 = (s.tmp_0); - s.tmp_0 = story__trackTask__P149748_mk(s); - s.tmp_0.arg0 = s.task___154257; + s.task___180873 = (s.tmp_0); + s.tmp_0 = story__trackTask__P176364_mk(s); + s.tmp_0.arg0 = s.task___180873; s.callLocIdx = 1748; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_3 = story__isInQueueStoryPart__P149750_mk(s); + s.tmp_3 = story__isInQueueStoryPart__P176366_mk(s); s.callLocIdx = 1749; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; @@ -6971,14 +7014,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_5 = story__currentCutscene__P149780_mk(s); + s.tmp_5 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1750; s.pc = 15; return s.tmp_5; case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4).fields["currentTask"] = (s.task___154257); - s.tmp_0 = story__pauseUntilTaskIsComplete__P149779_mk(s); - s.tmp_0.arg0 = s.task___154257; + r0 = (s.tmp_4).fields["currentTask"] = (s.task___180873); + s.tmp_0 = story__pauseUntilTaskIsComplete__P176395_mk(s); + s.tmp_0.arg0 = s.task___180873; s.callLocIdx = 1751; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; @@ -6988,12 +7031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_spriteMoveToLocation__P149752.info = {"start":1007,"length":1121,"line":24,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"spriteMoveToLocation","argumentNames":["sprite","x","y","speed"]} +story_spriteMoveToLocation__P176368.info = {"start":1007,"length":1121,"line":24,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"spriteMoveToLocation","argumentNames":["sprite","x","y","speed"]} -function story_spriteMoveToLocation__P149752_mk(s) { +function story_spriteMoveToLocation__P176368_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_spriteMoveToLocation__P149752, depth: s.depth + 1, + parent: s, fn: story_spriteMoveToLocation__P176368, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7003,13 +7046,13 @@ function story_spriteMoveToLocation__P149752_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - distance___154194: undefined, - time___154200: undefined, - angle___154206: undefined, - key___154235: undefined, - done___154241: undefined, - ref___154242: undefined, - task___154257: undefined, + distance___180810: undefined, + time___180816: undefined, + angle___180822: undefined, + key___180851: undefined, + done___180857: undefined, + ref___180858: undefined, + task___180873: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7020,7 +7063,7 @@ function story_spriteMoveToLocation__P149752_mk(s) { -function inline__P154244(s) { +function inline__P180860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7030,25 +7073,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = Sprite_vx__P147984_mk(s); + s.tmp_0 = Sprite_vx__P174600_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; s.callLocIdx = 1740; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_vy__P147986_mk(s); + s.tmp_0 = Sprite_vy__P174602_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; s.callLocIdx = 1741; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P147980_mk(s); + s.tmp_0 = Sprite_x__P174596_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; s.callLocIdx = 1742; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P147982_mk(s); + s.tmp_0 = Sprite_y__P174598_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[2]; s.callLocIdx = 1743; s.pc = 4; return s.tmp_0; @@ -7059,12 +7102,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P154244.info = {"start":1528,"length":154,"line":38,"column":29,"endLine":44,"endColumn":9,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"inline","argumentNames":[]} +inline__P180860.info = {"start":1528,"length":154,"line":38,"column":29,"endLine":44,"endColumn":9,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"inline","argumentNames":[]} -function inline__P154244_mk(s) { +function inline__P180860_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154244, depth: s.depth + 1, + parent: s, fn: inline__P180860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -7073,7 +7116,7 @@ function inline__P154244_mk(s) { -function inline__P154259(s) { +function inline__P180875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7087,12 +7130,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P154259.info = {"start":1761,"length":10,"line":48,"column":20,"endLine":48,"endColumn":30,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"inline","argumentNames":[]} +inline__P180875.info = {"start":1761,"length":10,"line":48,"column":20,"endLine":48,"endColumn":30,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"inline","argumentNames":[]} -function inline__P154259_mk(s) { +function inline__P180875_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154259, depth: s.depth + 1, + parent: s, fn: inline__P180875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -7100,7 +7143,7 @@ function inline__P154259_mk(s) { -function inline__P154261(s) { +function inline__P180877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7111,19 +7154,19 @@ switch (step) { case 0: r0 = pxsim_pxtrt_stlocRef(s.caps[0], true); - s.tmp_0 = Sprite_vx__P147984_mk(s); + s.tmp_0 = Sprite_vx__P174600_mk(s); s.tmp_0.arg0 = s.caps[1]; s.tmp_0.arg1 = 0; s.callLocIdx = 1745; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_vy__P147986_mk(s); + s.tmp_0 = Sprite_vy__P174602_mk(s); s.tmp_0.arg0 = s.caps[1]; s.tmp_0.arg1 = 0; s.callLocIdx = 1746; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = clearTimeout__P146350_mk(s); + s.tmp_0 = clearTimeout__P172966_mk(s); s.tmp_0.arg0 = s.caps[2]; s.callLocIdx = 1747; s.pc = 3; return s.tmp_0; case 3: @@ -7132,12 +7175,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P154261.info = {"start":1793,"length":147,"line":49,"column":20,"endLine":54,"endColumn":13,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"inline","argumentNames":[]} +inline__P180877.info = {"start":1793,"length":147,"line":49,"column":20,"endLine":54,"endColumn":13,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"inline","argumentNames":[]} -function inline__P154261_mk(s) { +function inline__P180877_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154261, depth: s.depth + 1, + parent: s, fn: inline__P180877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -7146,7 +7189,7 @@ function inline__P154261_mk(s) { -function story_moveTaskKey__P152439(s) { +function story_moveTaskKey__P179055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7175,12 +7218,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_moveTaskKey__P152439.info = {"start":2872,"length":80,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"moveTaskKey","argumentNames":["sprite"]} +story_moveTaskKey__P179055.info = {"start":2872,"length":80,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"moveTaskKey","argumentNames":["sprite"]} -function story_moveTaskKey__P152439_mk(s) { +function story_moveTaskKey__P179055_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_moveTaskKey__P152439, depth: s.depth + 1, + parent: s, fn: story_moveTaskKey__P179055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7191,7 +7234,7 @@ function story_moveTaskKey__P152439_mk(s) { -function story_calculateDistance__P152438(s) { +function story_calculateDistance__P179054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7207,7 +7250,7 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_4 = Sprite_x__P147979_mk(s); + s.tmp_4 = Sprite_x__P174595_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1752; s.pc = 1; return s.tmp_4; case 1: @@ -7217,7 +7260,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim.Math_.pow(s.tmp_2, 2); s.tmp_1 = r0; - s.tmp_8 = Sprite_y__P147981_mk(s); + s.tmp_8 = Sprite_y__P174597_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 1753; s.pc = 2; return s.tmp_8; case 2: @@ -7233,12 +7276,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_calculateDistance__P152438.info = {"start":2713,"length":153,"line":83,"column":4,"endLine":85,"endColumn":5,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"calculateDistance","argumentNames":["sprite","x","y"]} +story_calculateDistance__P179054.info = {"start":2713,"length":153,"line":83,"column":4,"endLine":85,"endColumn":5,"fileName":"pxt_modules/arcade-story/move.ts","functionName":"calculateDistance","argumentNames":["sprite","x","y"]} -function story_calculateDistance__P152438_mk(s) { +function story_calculateDistance__P179054_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_calculateDistance__P152438, depth: s.depth + 1, + parent: s, fn: story_calculateDistance__P179054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7258,7 +7301,7 @@ function story_calculateDistance__P152438_mk(s) { -function story__currentCutscene__P149780(s) { +function story__currentCutscene__P176396(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7268,27 +7311,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stateStack___152445); + r0 = pxsim_numops_toBoolDecr(globals.stateStack___179061); 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.stateStack___152445 = (r0); - s.tmp_0 = game_addScenePushHandler__P148501_mk(s); - s.tmp_0.arg0 = inline__P154539; + globals.stateStack___179061 = (r0); + s.tmp_0 = game_addScenePushHandler__P175117_mk(s); + s.tmp_0.arg0 = inline__P181155; s.callLocIdx = 1818; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P148503_mk(s); - s.tmp_0.arg0 = inline__P154546; + s.tmp_0 = game_addScenePopHandler__P175119_mk(s); + s.tmp_0.arg0 = inline__P181162; s.callLocIdx = 1820; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 1: case 2: - r0 = pxsim_Array__length(globals.stateStack___152445); + r0 = pxsim_Array__length(globals.stateStack___179061); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -7296,18 +7339,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(story_ConversationState__C152446_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_ConversationState__C179062_VT); s.tmp_3 = r0; - s.tmp_4 = story_ConversationState_constructor__P152449_mk(s); + s.tmp_4 = story_ConversationState_constructor__P179065_mk(s); s.tmp_4.arg0 = s.tmp_3; s.callLocIdx = 1821; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - r0 = pxsim_Array__push(globals.stateStack___152445, s.tmp_3); + r0 = pxsim_Array__push(globals.stateStack___179061, s.tmp_3); case 3: case 4: - s.tmp_0 = r0 = globals.stateStack___152445; - r0 = pxsim_Array__length(globals.stateStack___152445); + s.tmp_0 = r0 = globals.stateStack___179061; + r0 = pxsim_Array__length(globals.stateStack___179061); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -7315,12 +7358,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story__currentCutscene__P149780.info = {"start":12144,"length":598,"line":332,"column":4,"endLine":351,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"_currentCutscene","argumentNames":[]} +story__currentCutscene__P176396.info = {"start":12144,"length":598,"line":332,"column":4,"endLine":351,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"_currentCutscene","argumentNames":[]} -function story__currentCutscene__P149780_mk(s) { +function story__currentCutscene__P176396_mk(s) { checkStack(s.depth); return { - parent: s, fn: story__currentCutscene__P149780, depth: s.depth + 1, + parent: s, fn: story__currentCutscene__P176396, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7333,7 +7376,7 @@ function story__currentCutscene__P149780_mk(s) { -function inline__P154539(s) { +function inline__P181155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7343,24 +7386,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore_mkClassInstance(story_ConversationState__C152446_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_ConversationState__C179062_VT); s.tmp_0 = r0; - s.tmp_1 = story_ConversationState_constructor__P152449_mk(s); + s.tmp_1 = story_ConversationState_constructor__P179065_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1817; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_Array__push(globals.stateStack___152445, s.tmp_0); + r0 = pxsim_Array__push(globals.stateStack___179061, s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P154539.info = {"start":12275,"length":79,"line":336,"column":37,"endLine":338,"endColumn":13,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":[]} +inline__P181155.info = {"start":12275,"length":79,"line":336,"column":37,"endLine":338,"endColumn":13,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":[]} -function inline__P154539_mk(s) { +function inline__P181155_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154539, depth: s.depth + 1, + parent: s, fn: inline__P181155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7370,7 +7413,7 @@ function inline__P154539_mk(s) { -function inline__P154546(s) { +function inline__P181162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7380,13 +7423,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_Array__length(globals.stateStack___152445); + r0 = pxsim_Array__length(globals.stateStack___179061); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = story_ConversationState_cancel__P152448_mk(s); - s.tmp_2 = r0 = globals.stateStack___152445; - r0 = pxsim_Array__length(globals.stateStack___152445); + s.tmp_1 = story_ConversationState_cancel__P179064_mk(s); + s.tmp_2 = r0 = globals.stateStack___179061; + r0 = pxsim_Array__length(globals.stateStack___179061); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); s.tmp_3 = r0; @@ -7395,19 +7438,19 @@ switch (step) { s.callLocIdx = 1819; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = pxsim_Array_.pop(globals.stateStack___152445); + r0 = pxsim_Array_.pop(globals.stateStack___179061); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P154546.info = {"start":12394,"length":182,"line":340,"column":36,"endLine":345,"endColumn":13,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":[]} +inline__P181162.info = {"start":12394,"length":182,"line":340,"column":36,"endLine":345,"endColumn":13,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":[]} -function inline__P154546_mk(s) { +function inline__P181162_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154546, depth: s.depth + 1, + parent: s, fn: inline__P181162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7420,7 +7463,7 @@ function inline__P154546_mk(s) { -function story_ConversationState_constructor__P152449(s) { +function story_ConversationState_constructor__P179065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7435,7 +7478,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_ConversationState__C152446_VT)) failedCast(r0); + if (!checkSubtype(r0, story_ConversationState__C179062_VT)) failedCast(r0); r0 = (s.arg0).fields["state"] = (0); r0 = (s.arg0).fields["soundEnabled"] = (true); s.tmp_0 = r0 = s.arg0; @@ -7446,12 +7489,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_ConversationState_constructor__P152449.info = {"start":365,"length":137,"line":17,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":["this"]} +story_ConversationState_constructor__P179065.info = {"start":365,"length":137,"line":17,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":["this"]} -function story_ConversationState_constructor__P152449_mk(s) { +function story_ConversationState_constructor__P179065_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_ConversationState_constructor__P152449, depth: s.depth + 1, + parent: s, fn: story_ConversationState_constructor__P179065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7462,7 +7505,7 @@ function story_ConversationState_constructor__P152449_mk(s) { -function story_ConversationState_cancel__P152448(s) { +function story_ConversationState_cancel__P179064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7477,15 +7520,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_ConversationState__C152446_VT)) failedCast(r0); - s.tmp_1 = story_menu_isMenuOpen__P149850_mk(s); + if (!checkSubtype(r0, story_ConversationState__C179062_VT)) failedCast(r0); + s.tmp_1 = story_menu_isMenuOpen__P176466_mk(s); s.callLocIdx = 1773; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = story_menu_closeMenu__P149846_mk(s); + s.tmp_2 = story_menu_closeMenu__P176462_mk(s); s.callLocIdx = 1774; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; @@ -7546,12 +7589,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_ConversationState_cancel__P152448.info = {"start":3792,"length":386,"line":100,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"cancel","argumentNames":["this"]} +story_ConversationState_cancel__P179064.info = {"start":3792,"length":386,"line":100,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"cancel","argumentNames":["this"]} -function story_ConversationState_cancel__P152448_mk(s) { +function story_ConversationState_cancel__P179064_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_ConversationState_cancel__P152448, depth: s.depth + 1, + parent: s, fn: story_ConversationState_cancel__P179064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7564,7 +7607,7 @@ function story_ConversationState_cancel__P152448_mk(s) { -function story_menu_isMenuOpen__P149850(s) { +function story_menu_isMenuOpen__P176466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7574,34 +7617,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___155245 = undefined; - s.tmp_0 = story_menu__getState__P149861_mk(s); + s.state___181861 = undefined; + s.tmp_0 = story_menu__getState__P176477_mk(s); s.callLocIdx = 1911; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___155245 = (r0); - r0 = s.state___155245.fields["menu"]; + s.state___181861 = (r0); + r0 = s.state___181861.fields["menu"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["open"]; return leave(s, r0) default: oops() } } } -story_menu_isMenuOpen__P149850.info = {"start":977,"length":116,"line":33,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"isMenuOpen","argumentNames":[]} +story_menu_isMenuOpen__P176466.info = {"start":977,"length":116,"line":33,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"isMenuOpen","argumentNames":[]} -function story_menu_isMenuOpen__P149850_mk(s) { +function story_menu_isMenuOpen__P176466_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_isMenuOpen__P149850, depth: s.depth + 1, + parent: s, fn: story_menu_isMenuOpen__P176466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - state___155245: undefined, + state___181861: undefined, } } -function story_menu__getState__P149861(s) { +function story_menu__getState__P176477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7611,20 +7654,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = story_menu__init__P149860_mk(s); + s.tmp_0 = story_menu__init__P176476_mk(s); s.callLocIdx = 1934; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.state___152474; + r0 = globals.state___179090; return leave(s, r0) default: oops() } } } -story_menu__getState__P149861.info = {"start":4460,"length":74,"line":149,"column":4,"endLine":152,"endColumn":5,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"_getState","argumentNames":[]} +story_menu__getState__P176477.info = {"start":4460,"length":74,"line":149,"column":4,"endLine":152,"endColumn":5,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"_getState","argumentNames":[]} -function story_menu__getState__P149861_mk(s) { +function story_menu__getState__P176477_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu__getState__P149861, depth: s.depth + 1, + parent: s, fn: story_menu__getState__P176477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -7633,7 +7676,7 @@ function story_menu__getState__P149861_mk(s) { -function story_menu__init__P149860(s) { +function story_menu__init__P176476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7643,36 +7686,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.debounce___154612 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.sceneStack___152475); + s.debounce___181228 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.sceneStack___179091); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: r0 = pxsim_Array__mk(); - globals.sceneStack___152475 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(story_menu__BlockMenuState__C149852_VT); + globals.sceneStack___179091 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(story_menu__BlockMenuState__C176468_VT); s.tmp_0 = r0; - s.tmp_1 = story_menu__BlockMenuState_constructor__P149856_mk(s); + s.tmp_1 = story_menu__BlockMenuState_constructor__P176472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1915; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - globals.state___152474 = (s.tmp_0); + globals.state___179090 = (s.tmp_0); r0 = pxsim_pxtrt.mklocRef(); - s.debounce___154612 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.debounce___154612, 100); - r0 = pxsim_pxtcore_mkAction(1, inline__P154615); + s.debounce___181228 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.debounce___181228, 100); + r0 = pxsim_pxtcore_mkAction(1, inline__P181231); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.debounce___154612); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.debounce___181228); r0 = pxsim.control.runInParallel(s.tmp_0); - s.tmp_0 = game_addScenePushHandler__P148501_mk(s); - s.tmp_0.arg0 = inline__P154672; + s.tmp_0 = game_addScenePushHandler__P175117_mk(s); + s.tmp_0.arg0 = inline__P181288; s.callLocIdx = 1930; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P148503_mk(s); - s.tmp_0.arg0 = inline__P154682; + s.tmp_0 = game_addScenePopHandler__P175119_mk(s); + s.tmp_0.arg0 = inline__P181298; s.callLocIdx = 1933; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -7681,23 +7724,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu__init__P149860.info = {"start":2269,"length":2185,"line":84,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"_init","argumentNames":[]} +story_menu__init__P176476.info = {"start":2269,"length":2185,"line":84,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"_init","argumentNames":[]} -function story_menu__init__P149860_mk(s) { +function story_menu__init__P176476_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu__init__P149860, depth: s.depth + 1, + parent: s, fn: story_menu__init__P176476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - debounce___154612: undefined, + debounce___181228: undefined, } } -function inline__P154615(s) { +function inline__P181231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7707,17 +7750,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handler___154631 = undefined; - s.unnamed1076___U1 = undefined; - s.unnamed1077___U2 = undefined; + s.handler___181247 = undefined; + s.unnamed1184___U1 = undefined; + s.unnamed1185___U2 = undefined; case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 18; continue; } - s.tmp_0 = controller_pauseUntilAnyButtonIsPressed__P147900_mk(s); + s.tmp_0 = controller_pauseUntilAnyButtonIsPressed__P174516_mk(s); s.callLocIdx = 1916; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = globals.state___152474.fields["controlsEnabled"]; + r0 = globals.state___179090.fields["controlsEnabled"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -7728,7 +7771,7 @@ switch (step) { { step = 1; continue; } case 2: case 3: - r0 = globals.state___152474.fields["menu"]; + r0 = globals.state___179090.fields["menu"]; r0 = r0.fields["style"]; s.tmp_4 = r0; r0 = (s.tmp_4 === 0); @@ -7740,9 +7783,9 @@ switch (step) { case 4: r0 = pxsim_pxtrt_stlocRef(s.caps[0], 100); case 5: - s.tmp_1 = controller_Button__C147850_v0_1_mk(s); - s.tmp_1.arg0 = globals.A___147824; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C174466_v0_1_mk(s); + s.tmp_1.arg0 = globals.A___174440; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C174466_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 20; return s.tmp_1; case 20: @@ -7750,28 +7793,28 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.handler___154631 = (undefined); - r0 = globals.state___152474.fields["handlers"]; - s.unnamed1076___U1 = (r0); - s.unnamed1077___U2 = (0); + s.handler___181247 = (undefined); + r0 = globals.state___179090.fields["handlers"]; + s.unnamed1184___U1 = (r0); + s.unnamed1185___U2 = (0); case 6: - s.tmp_0 = r0 = s.unnamed1077___U2; - r0 = pxsim_Array__length(s.unnamed1076___U1); + s.tmp_0 = r0 = s.unnamed1185___U2; + r0 = pxsim_Array__length(s.unnamed1184___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed1076___U1, s.unnamed1077___U2); - s.handler___154631 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1184___U1, s.unnamed1185___U2); + s.handler___181247 = (r0); s.tmp_2 = lambda_3_mk(s); - s.tmp_2.argL = s.handler___154631; - s.tmp_3 = story_menu_MenuSprite_selectedMenuOption__P149830_mk(s); - r0 = globals.state___152474.fields["menu"]; + s.tmp_2.argL = s.handler___181247; + s.tmp_3 = story_menu_MenuSprite_selectedMenuOption__P176446_mk(s); + r0 = globals.state___179090.fields["menu"]; s.tmp_3.arg0 = r0; s.callLocIdx = 1917; s.pc = 22; return s.tmp_3; case 22: r0 = s.retval; s.tmp_2.arg0 = r0; - r0 = globals.state___152474.fields["menu"]; + r0 = globals.state___179090.fields["menu"]; s.tmp_4 = r0; r0 = s.tmp_4.fields["selectedIndex"]; s.tmp_2.arg1 = r0; @@ -7779,12 +7822,12 @@ switch (step) { s.callLocIdx = 1919; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; - r0 = (s.unnamed1077___U2 + 1); - s.unnamed1077___U2 = (r0); + r0 = (s.unnamed1185___U2 + 1); + s.unnamed1185___U2 = (r0); { step = 6; continue; } case 7: - s.unnamed1076___U1 = (undefined); - s.tmp_0 = pause__P146339_mk(s); + s.unnamed1184___U1 = (undefined); + s.tmp_0 = pause__P172955_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg0 = r0; s.callLocIdx = 1920; s.pc = 23; return s.tmp_0; @@ -7792,9 +7835,9 @@ switch (step) { r0 = s.retval; case 8: case 9: - s.tmp_1 = controller_Button__C147850_v0_1_mk(s); - s.tmp_1.arg0 = globals.up___147827; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C174466_v0_1_mk(s); + s.tmp_1.arg0 = globals.up___174443; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C174466_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 24; return s.tmp_1; case 24: @@ -7802,14 +7845,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_2 = story_menu_MenuSprite_moveSelectionVertical__P149833_mk(s); - r0 = globals.state___152474.fields["menu"]; + s.tmp_2 = story_menu_MenuSprite_moveSelectionVertical__P176449_mk(s); + r0 = globals.state___179090.fields["menu"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = true; s.callLocIdx = 1921; s.pc = 25; return s.tmp_2; case 25: r0 = s.retval; - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg0 = r0; s.callLocIdx = 1922; s.pc = 26; return s.tmp_0; @@ -7817,9 +7860,9 @@ switch (step) { r0 = s.retval; case 10: case 11: - s.tmp_1 = controller_Button__C147850_v0_1_mk(s); - s.tmp_1.arg0 = globals.down___147829; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C174466_v0_1_mk(s); + s.tmp_1.arg0 = globals.down___174445; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C174466_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: @@ -7827,14 +7870,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_2 = story_menu_MenuSprite_moveSelectionVertical__P149833_mk(s); - r0 = globals.state___152474.fields["menu"]; + s.tmp_2 = story_menu_MenuSprite_moveSelectionVertical__P176449_mk(s); + r0 = globals.state___179090.fields["menu"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = false; s.callLocIdx = 1923; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg0 = r0; s.callLocIdx = 1924; s.pc = 29; return s.tmp_0; @@ -7842,9 +7885,9 @@ switch (step) { r0 = s.retval; case 12: case 13: - s.tmp_1 = controller_Button__C147850_v0_1_mk(s); - s.tmp_1.arg0 = globals.left___147826; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C174466_v0_1_mk(s); + s.tmp_1.arg0 = globals.left___174442; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C174466_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 30; return s.tmp_1; case 30: @@ -7852,14 +7895,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_2 = story_menu_MenuSprite_moveSelectionHorizontal__P149834_mk(s); - r0 = globals.state___152474.fields["menu"]; + s.tmp_2 = story_menu_MenuSprite_moveSelectionHorizontal__P176450_mk(s); + r0 = globals.state___179090.fields["menu"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = true; s.callLocIdx = 1925; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg0 = r0; s.callLocIdx = 1926; s.pc = 32; return s.tmp_0; @@ -7867,9 +7910,9 @@ switch (step) { r0 = s.retval; case 14: case 15: - s.tmp_1 = controller_Button__C147850_v0_1_mk(s); - s.tmp_1.arg0 = globals.right___147828; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C174466_v0_1_mk(s); + s.tmp_1.arg0 = globals.right___174444; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C174466_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 33; return s.tmp_1; case 33: @@ -7877,14 +7920,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.tmp_2 = story_menu_MenuSprite_moveSelectionHorizontal__P149834_mk(s); - r0 = globals.state___152474.fields["menu"]; + s.tmp_2 = story_menu_MenuSprite_moveSelectionHorizontal__P176450_mk(s); + r0 = globals.state___179090.fields["menu"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = false; s.callLocIdx = 1927; s.pc = 34; return s.tmp_2; case 34: r0 = s.retval; - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg0 = r0; s.callLocIdx = 1928; s.pc = 35; return s.tmp_0; @@ -7898,28 +7941,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P154615.info = {"start":2630,"length":1320,"line":93,"column":30,"endLine":129,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"inline","argumentNames":[]} +inline__P181231.info = {"start":2630,"length":1320,"line":93,"column":30,"endLine":129,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"inline","argumentNames":[]} -function inline__P154615_mk(s) { +function inline__P181231_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154615, depth: s.depth + 1, + parent: s, fn: inline__P181231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - handler___154631: undefined, - unnamed1076___U1: undefined, - unnamed1077___U2: undefined, + handler___181247: undefined, + unnamed1184___U1: undefined, + unnamed1185___U2: undefined, } } -function inline__P154672(s) { +function inline__P181288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7933,25 +7976,25 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_Array__push(globals.sceneStack___152475, globals.state___152474); - r0 = pxsim_pxtcore_mkClassInstance(story_menu__BlockMenuState__C149852_VT); + r0 = pxsim_Array__push(globals.sceneStack___179091, globals.state___179090); + r0 = pxsim_pxtcore_mkClassInstance(story_menu__BlockMenuState__C176468_VT); s.tmp_0 = r0; - s.tmp_1 = story_menu__BlockMenuState_constructor__P149856_mk(s); + s.tmp_1 = story_menu__BlockMenuState_constructor__P176472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1929; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - globals.state___152474 = (s.tmp_0); + globals.state___179090 = (s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P154672.info = {"start":3986,"length":123,"line":131,"column":33,"endLine":134,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P181288.info = {"start":3986,"length":123,"line":131,"column":33,"endLine":134,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"inline","argumentNames":["oldScene"]} -function inline__P154672_mk(s) { +function inline__P181288_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154672, depth: s.depth + 1, + parent: s, fn: inline__P181288, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7962,7 +8005,7 @@ function inline__P154672_mk(s) { -function inline__P154682(s) { +function inline__P181298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7976,42 +8019,42 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_Array__length(globals.sceneStack___152475); + r0 = pxsim_Array__length(globals.sceneStack___179091); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_Array_.pop(globals.sceneStack___152475); - globals.state___152474 = (r0); + r0 = pxsim_Array_.pop(globals.sceneStack___179091); + globals.state___179090 = (r0); { step = 4; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.state___152474); + r0 = pxsim_numops_toBoolDecr(globals.state___179090); if (!r0) { step = 2; continue; } - s.tmp_0 = story_menu__BlockMenuState_destroy__P149859_mk(s); - s.tmp_0.arg0 = globals.state___152474; + s.tmp_0 = story_menu__BlockMenuState_destroy__P176475_mk(s); + s.tmp_0.arg0 = globals.state___179090; s.callLocIdx = 1931; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: case 3: - r0 = pxsim_pxtcore_mkClassInstance(story_menu__BlockMenuState__C149852_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu__BlockMenuState__C176468_VT); s.tmp_0 = r0; - s.tmp_1 = story_menu__BlockMenuState_constructor__P149856_mk(s); + s.tmp_1 = story_menu__BlockMenuState_constructor__P176472_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1932; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - globals.state___152474 = (s.tmp_0); + globals.state___179090 = (s.tmp_0); case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P154682.info = {"start":4145,"length":301,"line":136,"column":32,"endLine":146,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P181298.info = {"start":4145,"length":301,"line":136,"column":32,"endLine":146,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"inline","argumentNames":["oldScene"]} -function inline__P154682_mk(s) { +function inline__P181298_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154682, depth: s.depth + 1, + parent: s, fn: inline__P181298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8022,7 +8065,7 @@ function inline__P154682_mk(s) { -function story_menu__BlockMenuState_destroy__P149859(s) { +function story_menu__BlockMenuState_destroy__P176475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8037,8 +8080,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu__BlockMenuState__C149852_VT)) failedCast(r0); - s.tmp_0 = story_menu_MenuSprite_destroy__P149840_mk(s); + if (!checkSubtype(r0, story_menu__BlockMenuState__C176468_VT)) failedCast(r0); + s.tmp_0 = story_menu_MenuSprite_destroy__P176456_mk(s); r0 = s.arg0.fields["menu"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1914; s.pc = 1; return s.tmp_0; @@ -8048,12 +8091,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu__BlockMenuState_destroy__P149859.info = {"start":2064,"length":54,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"destroy","argumentNames":["this"]} +story_menu__BlockMenuState_destroy__P176475.info = {"start":2064,"length":54,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"destroy","argumentNames":["this"]} -function story_menu__BlockMenuState_destroy__P149859_mk(s) { +function story_menu__BlockMenuState_destroy__P176475_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu__BlockMenuState_destroy__P149859, depth: s.depth + 1, + parent: s, fn: story_menu__BlockMenuState_destroy__P176475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8063,7 +8106,7 @@ function story_menu__BlockMenuState_destroy__P149859_mk(s) { -function story_menu_MenuSprite_destroy__P149840(s) { +function story_menu_MenuSprite_destroy__P176456(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8078,8 +8121,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 1863; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -8090,12 +8133,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_destroy__P149840.info = {"start":5899,"length":85,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"destroy","argumentNames":["this"]} +story_menu_MenuSprite_destroy__P176456.info = {"start":5899,"length":85,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"destroy","argumentNames":["this"]} -function story_menu_MenuSprite_destroy__P149840_mk(s) { +function story_menu_MenuSprite_destroy__P176456_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_destroy__P149840, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_destroy__P176456, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8106,7 +8149,7 @@ function story_menu_MenuSprite_destroy__P149840_mk(s) { -function story_menu__BlockMenuState_constructor__P149856(s) { +function story_menu__BlockMenuState_constructor__P176472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8121,10 +8164,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu__BlockMenuState__C149852_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(story_menu_MenuSprite__C149823_VT); + if (!checkSubtype(r0, story_menu__BlockMenuState__C176468_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_MenuSprite__C176439_VT); s.tmp_0 = r0; - s.tmp_1 = story_menu_MenuSprite_constructor__P149825_mk(s); + s.tmp_1 = story_menu_MenuSprite_constructor__P176441_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1913; s.pc = 1; return s.tmp_1; case 1: @@ -8139,12 +8182,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu__BlockMenuState_constructor__P149856.info = {"start":1432,"length":140,"line":48,"column":8,"endLine":52,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"inline","argumentNames":["this"]} +story_menu__BlockMenuState_constructor__P176472.info = {"start":1432,"length":140,"line":48,"column":8,"endLine":52,"endColumn":9,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"inline","argumentNames":["this"]} -function story_menu__BlockMenuState_constructor__P149856_mk(s) { +function story_menu__BlockMenuState_constructor__P176472_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu__BlockMenuState_constructor__P149856, depth: s.depth + 1, + parent: s, fn: story_menu__BlockMenuState_constructor__P176472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8155,7 +8198,7 @@ function story_menu__BlockMenuState_constructor__P149856_mk(s) { -function story_menu_MenuSprite_constructor__P149825(s) { +function story_menu_MenuSprite_constructor__P176441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8170,8 +8213,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P147807_mk(s); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P174423_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 100; s.callLocIdx = 1836; s.pc = 1; return s.tmp_0; @@ -8179,14 +8222,14 @@ switch (step) { r0 = s.retval; r0 = (s.arg0).fields["selectedIndex"] = (0); r0 = (s.arg0).fields["style"] = (1); - s.tmp_0 = story_menu_MenuSprite_setLocation__P149829_mk(s); + s.tmp_0 = story_menu_MenuSprite_setLocation__P176445_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.callLocIdx = 1837; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = (s.arg0).fields["open"] = (false); - s.tmp_0 = story_menu_MenuSprite_setColors__P149827_mk(s); + s.tmp_0 = story_menu_MenuSprite_setColors__P176443_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 15; s.tmp_0.arg2 = 1; @@ -8200,12 +8243,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_constructor__P149825.info = {"start":1511,"length":279,"line":62,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"inline","argumentNames":["this"]} +story_menu_MenuSprite_constructor__P176441.info = {"start":1511,"length":279,"line":62,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"inline","argumentNames":["this"]} -function story_menu_MenuSprite_constructor__P149825_mk(s) { +function story_menu_MenuSprite_constructor__P176441_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_constructor__P149825, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_constructor__P176441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8215,7 +8258,7 @@ function story_menu_MenuSprite_constructor__P149825_mk(s) { -function story_menu_MenuSprite_setLocation__P149829(s) { +function story_menu_MenuSprite_setLocation__P176445(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8231,17 +8274,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = (s.arg0).fields["location"] = (s.arg1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = story_menu_getLayoutMetrics__P152473_mk(s); + s.tmp_2 = story_menu_getLayoutMetrics__P179089_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 1847; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["metrics"] = (s.tmp_1); - s.tmp_0 = story_menu_MenuSprite_recreateLabels__P152465_mk(s); + s.tmp_0 = story_menu_MenuSprite_recreateLabels__P179081_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1848; s.pc = 2; return s.tmp_0; case 2: @@ -8250,12 +8293,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_setLocation__P149829.info = {"start":2493,"length":175,"line":89,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setLocation","argumentNames":["this","location"]} +story_menu_MenuSprite_setLocation__P176445.info = {"start":2493,"length":175,"line":89,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setLocation","argumentNames":["this","location"]} -function story_menu_MenuSprite_setLocation__P149829_mk(s) { +function story_menu_MenuSprite_setLocation__P176445_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_setLocation__P149829, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_setLocation__P176445, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8268,7 +8311,7 @@ function story_menu_MenuSprite_setLocation__P149829_mk(s) { -function story_menu_getLayoutMetrics__P152473(s) { +function story_menu_getLayoutMetrics__P179089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8278,20 +8321,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___155097 = undefined; - s.maxHeight___155104 = undefined; + s.maxWidth___181713 = undefined; + s.maxHeight___181720 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_0 = r0; r0 = (s.tmp_0 - 4); - s.maxWidth___155097 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___147749); + s.maxWidth___181713 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_0 = r0; r0 = (s.tmp_0 - 4); - s.maxHeight___155104 = (r0); + s.maxHeight___181720 = (r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } @@ -8316,23 +8359,23 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 1: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_1 = r0; - s.tmp_2 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_2 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = 2; s.tmp_2.arg2 = 2; - s.tmp_2.arg3 = s.maxWidth___155097; - s.tmp_2.arg4 = s.maxHeight___155104; + s.tmp_2.arg3 = s.maxWidth___181713; + s.tmp_2.arg4 = s.maxHeight___181720; s.callLocIdx = 1899; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; r0 = s.tmp_1; { step = 12; continue; } case 2: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_3 = r0; - s.tmp_4 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_4 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 0; s.tmp_4.arg2 = 0; @@ -8344,14 +8387,14 @@ switch (step) { r0 = s.tmp_3; { step = 12; continue; } case 3: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_5 = r0; - s.tmp_6 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_6 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_6.arg0 = s.tmp_5; s.tmp_6.arg1 = 2; s.tmp_6.arg2 = 2; - s.tmp_6.arg3 = s.maxWidth___155097; - r0 = (s.maxHeight___155104 >> 1); + s.tmp_6.arg3 = s.maxWidth___181713; + r0 = (s.maxHeight___181720 >> 1); s.tmp_6.arg4 = r0; s.callLocIdx = 1901; s.pc = 15; return s.tmp_6; case 15: @@ -8359,35 +8402,35 @@ switch (step) { r0 = s.tmp_5; { step = 12; continue; } case 4: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_7 = r0; - s.tmp_8 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_8 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_8.arg0 = s.tmp_7; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_9 = r0; r0 = (s.tmp_9 >> 1); s.tmp_8.arg1 = r0; s.tmp_8.arg2 = 2; - r0 = (s.maxWidth___155097 >> 1); + r0 = (s.maxWidth___181713 >> 1); s.tmp_8.arg3 = r0; - s.tmp_8.arg4 = s.maxHeight___155104; + s.tmp_8.arg4 = s.maxHeight___181720; s.callLocIdx = 1902; s.pc = 16; return s.tmp_8; case 16: r0 = s.retval; r0 = s.tmp_7; { step = 12; continue; } case 5: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_10 = r0; - s.tmp_11 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_11 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_11.arg0 = s.tmp_10; s.tmp_11.arg1 = 2; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_12 = r0; r0 = (s.tmp_12 >> 1); s.tmp_11.arg2 = r0; - s.tmp_11.arg3 = s.maxWidth___155097; - r0 = (s.maxHeight___155104 >> 1); + s.tmp_11.arg3 = s.maxWidth___181713; + r0 = (s.maxHeight___181720 >> 1); s.tmp_11.arg4 = r0; s.callLocIdx = 1903; s.pc = 17; return s.tmp_11; case 17: @@ -8395,33 +8438,33 @@ switch (step) { r0 = s.tmp_10; { step = 12; continue; } case 6: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_13 = r0; - s.tmp_14 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_14 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_14.arg0 = s.tmp_13; s.tmp_14.arg1 = 2; s.tmp_14.arg2 = 2; - r0 = (s.maxWidth___155097 >> 1); + r0 = (s.maxWidth___181713 >> 1); s.tmp_14.arg3 = r0; - s.tmp_14.arg4 = s.maxHeight___155104; + s.tmp_14.arg4 = s.maxHeight___181720; s.callLocIdx = 1904; s.pc = 18; return s.tmp_14; case 18: r0 = s.retval; r0 = s.tmp_13; { step = 12; continue; } case 7: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_15 = r0; - s.tmp_16 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_16 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_16.arg0 = s.tmp_15; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_17 = r0; r0 = (s.tmp_17 >> 1); s.tmp_16.arg1 = r0; s.tmp_16.arg2 = 2; - r0 = (s.maxWidth___155097 >> 1); + r0 = (s.maxWidth___181713 >> 1); s.tmp_16.arg3 = r0; - r0 = (s.maxHeight___155104 >> 1); + r0 = (s.maxHeight___181720 >> 1); s.tmp_16.arg4 = r0; s.callLocIdx = 1905; s.pc = 19; return s.tmp_16; case 19: @@ -8429,21 +8472,21 @@ switch (step) { r0 = s.tmp_15; { step = 12; continue; } case 8: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_18 = r0; - s.tmp_19 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_19 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_19.arg0 = s.tmp_18; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_20 = r0; r0 = (s.tmp_20 >> 1); s.tmp_19.arg1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_21 = r0; r0 = (s.tmp_21 >> 1); s.tmp_19.arg2 = r0; - r0 = (s.maxWidth___155097 >> 1); + r0 = (s.maxWidth___181713 >> 1); s.tmp_19.arg3 = r0; - r0 = (s.maxHeight___155104 >> 1); + r0 = (s.maxHeight___181720 >> 1); s.tmp_19.arg4 = r0; s.callLocIdx = 1906; s.pc = 20; return s.tmp_19; case 20: @@ -8451,18 +8494,18 @@ switch (step) { r0 = s.tmp_18; { step = 12; continue; } case 9: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_22 = r0; - s.tmp_23 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_23 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_23.arg0 = s.tmp_22; s.tmp_23.arg1 = 2; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_24 = r0; r0 = (s.tmp_24 >> 1); s.tmp_23.arg2 = r0; - r0 = (s.maxWidth___155097 >> 1); + r0 = (s.maxWidth___181713 >> 1); s.tmp_23.arg3 = r0; - r0 = (s.maxHeight___155104 >> 1); + r0 = (s.maxHeight___181720 >> 1); s.tmp_23.arg4 = r0; s.callLocIdx = 1907; s.pc = 21; return s.tmp_23; case 21: @@ -8470,15 +8513,15 @@ switch (step) { r0 = s.tmp_22; { step = 12; continue; } case 10: - r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C152459_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_LayoutMetrics__C179075_VT); s.tmp_25 = r0; - s.tmp_26 = story_menu_LayoutMetrics_constructor__P152462_mk(s); + s.tmp_26 = story_menu_LayoutMetrics_constructor__P179078_mk(s); s.tmp_26.arg0 = s.tmp_25; s.tmp_26.arg1 = 2; s.tmp_26.arg2 = 2; - r0 = (s.maxWidth___155097 >> 1); + r0 = (s.maxWidth___181713 >> 1); s.tmp_26.arg3 = r0; - r0 = (s.maxHeight___155104 >> 1); + r0 = (s.maxHeight___181720 >> 1); s.tmp_26.arg4 = r0; s.callLocIdx = 1908; s.pc = 22; return s.tmp_26; case 22: @@ -8491,12 +8534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_getLayoutMetrics__P152473.info = {"start":12307,"length":1546,"line":395,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"getLayoutMetrics","argumentNames":["layout"]} +story_menu_getLayoutMetrics__P179089.info = {"start":12307,"length":1546,"line":395,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"getLayoutMetrics","argumentNames":["layout"]} -function story_menu_getLayoutMetrics__P152473_mk(s) { +function story_menu_getLayoutMetrics__P179089_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_getLayoutMetrics__P152473, depth: s.depth + 1, + parent: s, fn: story_menu_getLayoutMetrics__P179089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8525,8 +8568,8 @@ function story_menu_getLayoutMetrics__P152473_mk(s) { tmp_24: undefined, tmp_25: undefined, tmp_26: undefined, - maxWidth___155097: undefined, - maxHeight___155104: undefined, + maxWidth___181713: undefined, + maxHeight___181720: undefined, arg0: undefined, } } @@ -8534,7 +8577,7 @@ function story_menu_getLayoutMetrics__P152473_mk(s) { -function story_menu_LayoutMetrics_constructor__P152462(s) { +function story_menu_LayoutMetrics_constructor__P179078(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8553,7 +8596,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_LayoutMetrics__C152459_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_LayoutMetrics__C179075_VT)) failedCast(r0); r0 = (s.arg0).fields["left"] = (s.arg1); r0 = (s.arg0).fields["top"] = (s.arg2); r0 = (s.arg0).fields["width"] = (s.arg3); @@ -8562,12 +8605,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_LayoutMetrics_constructor__P152462.info = {"start":708,"length":109,"line":33,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"inline","argumentNames":["this","left","top","width","height"]} +story_menu_LayoutMetrics_constructor__P179078.info = {"start":708,"length":109,"line":33,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"inline","argumentNames":["this","left","top","width","height"]} -function story_menu_LayoutMetrics_constructor__P152462_mk(s) { +function story_menu_LayoutMetrics_constructor__P179078_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_LayoutMetrics_constructor__P152462, depth: s.depth + 1, + parent: s, fn: story_menu_LayoutMetrics_constructor__P179078, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8580,7 +8623,7 @@ function story_menu_LayoutMetrics_constructor__P152462_mk(s) { -function story_menu_MenuSprite_recreateLabels__P152465(s) { +function story_menu_MenuSprite_recreateLabels__P179081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8590,16 +8633,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.labelWidth___154968 = undefined; - s.option___154972 = undefined; - s.unnamed1074___U2 = undefined; - s.unnamed1075___U3 = undefined; + s.labelWidth___181584 = undefined; + s.option___181588 = undefined; + s.unnamed1182___U2 = undefined; + s.unnamed1183___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -8615,42 +8658,42 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_3 = story_menu_MenuSprite_getMaxLabelWidth__P152464_mk(s); + s.tmp_3 = story_menu_MenuSprite_getMaxLabelWidth__P179080_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1869; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; - s.labelWidth___154968 = (r0); - s.option___154972 = (undefined); + s.labelWidth___181584 = (r0); + s.option___181588 = (undefined); r0 = s.arg0.fields["options"]; - s.unnamed1074___U2 = (r0); - s.unnamed1075___U3 = (0); + s.unnamed1182___U2 = (r0); + s.unnamed1183___U3 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1075___U3; - r0 = pxsim_Array__length(s.unnamed1074___U2); + s.tmp_0 = r0 = s.unnamed1183___U3; + r0 = pxsim_Array__length(s.unnamed1182___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1074___U2, s.unnamed1075___U3); - s.option___154972 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(story_menu_ScrollingLabel__C152469_VT); + r0 = pxsim_Array__getAt(s.unnamed1182___U2, s.unnamed1183___U3); + s.option___181588 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(story_menu_ScrollingLabel__C179085_VT); s.tmp_2 = r0; - s.tmp_3 = story_menu_ScrollingLabel_constructor__P152472_mk(s); + s.tmp_3 = story_menu_ScrollingLabel_constructor__P179088_mk(s); s.tmp_3.arg0 = s.tmp_2; - s.tmp_3.arg1 = s.option___154972; - s.tmp_3.arg2 = s.labelWidth___154968; + s.tmp_3.arg1 = s.option___181588; + s.tmp_3.arg2 = s.labelWidth___181584; s.callLocIdx = 1870; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; r0 = s.arg0.fields["labels"]; s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_4, s.tmp_2); - r0 = (s.unnamed1075___U3 + 1); - s.unnamed1075___U3 = (r0); + r0 = (s.unnamed1183___U3 + 1); + s.unnamed1183___U3 = (r0); { step = 3; continue; } case 4: - s.unnamed1074___U2 = (undefined); - s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + s.unnamed1182___U2 = (undefined); + s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_0.arg1 = r0; @@ -8662,22 +8705,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_recreateLabels__P152465.info = {"start":6948,"length":363,"line":236,"column":8,"endLine":247,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"recreateLabels","argumentNames":["this"]} +story_menu_MenuSprite_recreateLabels__P179081.info = {"start":6948,"length":363,"line":236,"column":8,"endLine":247,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"recreateLabels","argumentNames":["this"]} -function story_menu_MenuSprite_recreateLabels__P152465_mk(s) { +function story_menu_MenuSprite_recreateLabels__P179081_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_recreateLabels__P152465, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_recreateLabels__P179081, 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, - labelWidth___154968: undefined, - option___154972: undefined, - unnamed1074___U2: undefined, - unnamed1075___U3: undefined, + labelWidth___181584: undefined, + option___181588: undefined, + unnamed1182___U2: undefined, + unnamed1183___U3: undefined, arg0: undefined, } } @@ -8685,7 +8728,7 @@ function story_menu_MenuSprite_recreateLabels__P152465_mk(s) { -function story_menu_ScrollingLabel_constructor__P152472(s) { +function story_menu_ScrollingLabel_constructor__P179088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8695,7 +8738,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fullLength___155012 = undefined; + s.fullLength___181628 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8703,7 +8746,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_ScrollingLabel__C152469_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_ScrollingLabel__C179085_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["scrolling"] = (false); r0 = (s.arg0).fields["pauseTime"] = (1000); @@ -8714,7 +8757,7 @@ switch (step) { r0 = (s.arg0).fields["offset"] = (0); r0 = (s.arg0).fields["width"] = (s.arg2); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = image_getFontForText__P147694_mk(s); + s.tmp_2 = image_getFontForText__P174310_mk(s); r0 = s.arg0.fields["text"]; s.tmp_2.arg0 = r0; s.callLocIdx = 1884; s.pc = 1; return s.tmp_2; @@ -8741,7 +8784,7 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 * s.tmp_2); - s.fullLength___155012 = (r0); + s.fullLength___181628 = (r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = r0 = s.arg2; s.tmp_4 = if_charWidth_1_mk(s); @@ -8762,7 +8805,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["maxCharacters"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = r0 = s.fullLength___155012; + s.tmp_2 = r0 = s.fullLength___181628; r0 = s.arg0.fields["maxCharacters"]; s.tmp_4 = r0; s.tmp_6 = if_charWidth_1_mk(s); @@ -8820,12 +8863,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_ScrollingLabel_constructor__P152472.info = {"start":9645,"length":646,"line":319,"column":8,"endLine":334,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"inline","argumentNames":["this","text","maxWidth"]} +story_menu_ScrollingLabel_constructor__P179088.info = {"start":9645,"length":646,"line":319,"column":8,"endLine":334,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"inline","argumentNames":["this","text","maxWidth"]} -function story_menu_ScrollingLabel_constructor__P152472_mk(s) { +function story_menu_ScrollingLabel_constructor__P179088_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_ScrollingLabel_constructor__P152472, depth: s.depth + 1, + parent: s, fn: story_menu_ScrollingLabel_constructor__P179088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8834,7 +8877,7 @@ function story_menu_ScrollingLabel_constructor__P152472_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - fullLength___155012: undefined, + fullLength___181628: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8844,7 +8887,7 @@ function story_menu_ScrollingLabel_constructor__P152472_mk(s) { -function image_getFontForText__P147694(s) { +function image_getFontForText__P174310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8854,52 +8897,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___155052 = undefined; + s.i___181668 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___155052 = (0); + s.i___181668 = (0); case 1: - s.tmp_1 = r0 = s.i___155052; + s.tmp_1 = r0 = s.i___181668; 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___155052); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___181668); 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___147693; + r0 = globals.font12___174309; { step = 5; continue; } case 2: case 3: - r0 = (s.i___155052 + 1); - s.i___155052 = (r0); + r0 = (s.i___181668 + 1); + s.i___181668 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___147692; + r0 = globals.font8___174308; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P147694.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__P174310.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__P147694_mk(s) { +function image_getFontForText__P174310_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P147694, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P174310, 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___155052: undefined, + i___181668: undefined, arg0: undefined, } } @@ -8907,7 +8950,7 @@ function image_getFontForText__P147694_mk(s) { -function story_menu_MenuSprite_getMaxLabelWidth__P152464(s) { +function story_menu_MenuSprite_getMaxLabelWidth__P179080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8922,7 +8965,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["style"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 0); @@ -8954,12 +8997,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_getMaxLabelWidth__P152464.info = {"start":6703,"length":235,"line":229,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"getMaxLabelWidth","argumentNames":["this"]} +story_menu_MenuSprite_getMaxLabelWidth__P179080.info = {"start":6703,"length":235,"line":229,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"getMaxLabelWidth","argumentNames":["this"]} -function story_menu_MenuSprite_getMaxLabelWidth__P152464_mk(s) { +function story_menu_MenuSprite_getMaxLabelWidth__P179080_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_getMaxLabelWidth__P152464, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_getMaxLabelWidth__P179080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8977,7 +9020,7 @@ function story_menu_MenuSprite_getMaxLabelWidth__P152464_mk(s) { -function story_menu_MenuSprite_setSelectedIndex__P149832(s) { +function story_menu_MenuSprite_setSelectedIndex__P176448(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8987,14 +9030,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.numOptions___154728 = undefined; + s.numOptions___181344 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -9008,8 +9051,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.numOptions___154728 = (s.tmp_2); - r0 = pxsim_numops_toBoolDecr(s.numOptions___154728); + s.numOptions___181344 = (s.tmp_2); + r0 = pxsim_numops_toBoolDecr(s.numOptions___181344); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9034,7 +9077,7 @@ switch (step) { s.arg1 = (r0); { step = 5; continue; } case 6: - r0 = (s.arg1 % s.numOptions___154728); + r0 = (s.arg1 % s.numOptions___181344); s.arg1 = (r0); r0 = s.arg0.fields["labels"]; s.tmp_0 = r0; @@ -9053,7 +9096,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 9; continue; } - s.tmp_4 = story_menu_ScrollingLabel_setScrolling__P152470_mk(s); + s.tmp_4 = story_menu_ScrollingLabel_setScrolling__P179086_mk(s); r0 = s.arg0.fields["labels"]; s.tmp_5 = r0; r0 = s.arg0.fields["selectedIndex"]; @@ -9084,7 +9127,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 13; continue; } - s.tmp_4 = story_menu_ScrollingLabel_setScrolling__P152470_mk(s); + s.tmp_4 = story_menu_ScrollingLabel_setScrolling__P179086_mk(s); r0 = s.arg0.fields["labels"]; s.tmp_5 = r0; r0 = s.arg0.fields["selectedIndex"]; @@ -9102,12 +9145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_setSelectedIndex__P149832.info = {"start":2981,"length":617,"line":107,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setSelectedIndex","argumentNames":["this","index"]} +story_menu_MenuSprite_setSelectedIndex__P176448.info = {"start":2981,"length":617,"line":107,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setSelectedIndex","argumentNames":["this","index"]} -function story_menu_MenuSprite_setSelectedIndex__P149832_mk(s) { +function story_menu_MenuSprite_setSelectedIndex__P176448_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_setSelectedIndex__P149832, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_setSelectedIndex__P176448, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9116,7 +9159,7 @@ function story_menu_MenuSprite_setSelectedIndex__P149832_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - numOptions___154728: undefined, + numOptions___181344: undefined, arg0: undefined, arg1: undefined, } } @@ -9125,7 +9168,7 @@ function story_menu_MenuSprite_setSelectedIndex__P149832_mk(s) { -function story_menu_ScrollingLabel_setScrolling__P152470(s) { +function story_menu_ScrollingLabel_setScrolling__P179086(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9141,7 +9184,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_ScrollingLabel__C152469_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_ScrollingLabel__C179085_VT)) failedCast(r0); r0 = s.arg0.fields["scrolling"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -9157,12 +9200,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_ScrollingLabel_setScrolling__P152470.info = {"start":10301,"length":215,"line":336,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setScrolling","argumentNames":["this","scrolling"]} +story_menu_ScrollingLabel_setScrolling__P179086.info = {"start":10301,"length":215,"line":336,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setScrolling","argumentNames":["this","scrolling"]} -function story_menu_ScrollingLabel_setScrolling__P152470_mk(s) { +function story_menu_ScrollingLabel_setScrolling__P179086_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_ScrollingLabel_setScrolling__P152470, depth: s.depth + 1, + parent: s, fn: story_menu_ScrollingLabel_setScrolling__P179086, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9174,7 +9217,7 @@ function story_menu_ScrollingLabel_setScrolling__P152470_mk(s) { -function story_menu_MenuSprite_setColors__P149827(s) { +function story_menu_MenuSprite_setColors__P176443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9193,10 +9236,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P146062_mk(s); - s.tmp_3 = Math_min__P146063_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); + s.tmp_3 = Math_min__P172679_mk(s); r0 = (s.arg1 | 0); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 15; @@ -9211,8 +9254,8 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["foreground"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P146062_mk(s); - s.tmp_3 = Math_min__P146063_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); + s.tmp_3 = Math_min__P172679_mk(s); r0 = (s.arg2 | 0); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 15; @@ -9227,8 +9270,8 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["background"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P146062_mk(s); - s.tmp_3 = Math_min__P146063_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); + s.tmp_3 = Math_min__P172679_mk(s); r0 = (s.arg3 | 0); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 15; @@ -9243,8 +9286,8 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["cursorForeground"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P146062_mk(s); - s.tmp_3 = Math_min__P146063_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); + s.tmp_3 = Math_min__P172679_mk(s); r0 = (s.arg4 | 0); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 15; @@ -9262,12 +9305,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_setColors__P149827.info = {"start":1966,"length":429,"line":78,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setColors","argumentNames":["this","foreground","background","cursorForeground","cursorBackground"]} +story_menu_MenuSprite_setColors__P176443.info = {"start":1966,"length":429,"line":78,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setColors","argumentNames":["this","foreground","background","cursorForeground","cursorBackground"]} -function story_menu_MenuSprite_setColors__P149827_mk(s) { +function story_menu_MenuSprite_setColors__P176443_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_setColors__P149827, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_setColors__P176443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9284,7 +9327,7 @@ function story_menu_MenuSprite_setColors__P149827_mk(s) { -function sprites_BaseSprite_constructor__P147807(s) { +function sprites_BaseSprite_constructor__P174423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9300,15 +9343,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C147805_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P147810_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C174421_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P174426_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 188; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P148396_mk(s); - s.tmp_1 = game_currentScene__P148484_mk(s); + s.tmp_0 = scene_Scene_addSprite__P175012_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 189; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -9321,12 +9364,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P147807.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__P174423.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__P147807_mk(s) { +function sprites_BaseSprite_constructor__P174423_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P147807, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P174423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9338,7 +9381,7 @@ function sprites_BaseSprite_constructor__P147807_mk(s) { -function scene_Scene_addSprite__P148396(s) { +function scene_Scene_addSprite__P175012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9354,7 +9397,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C148371_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C174987_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -9381,12 +9424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P148396.info = {"start":6859,"length":128,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P175012.info = {"start":6859,"length":128,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function scene_Scene_addSprite__P148396_mk(s) { +function scene_Scene_addSprite__P175012_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P148396, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P175012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9400,7 +9443,7 @@ function scene_Scene_addSprite__P148396_mk(s) { -function sprites_BaseSprite_z__P147810(s) { +function sprites_BaseSprite_z__P174426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9416,7 +9459,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C147805_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C174421_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -9424,7 +9467,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__P148484_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 191; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -9440,12 +9483,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P147810.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__P174426.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__P147810_mk(s) { +function sprites_BaseSprite_z__P174426_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P147810, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P174426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9459,7 +9502,7 @@ function sprites_BaseSprite_z__P147810_mk(s) { -function sprites_BaseSprite_z__P147809(s) { +function sprites_BaseSprite_z__P174425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9474,18 +9517,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C147805_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C174421_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P147809.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__P147809.isGetter = true; +sprites_BaseSprite_z__P174425.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__P174425.isGetter = true; -function sprites_BaseSprite_z__P147809_mk(s) { +function sprites_BaseSprite_z__P174425_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P147809, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P174425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9494,7 +9537,7 @@ function sprites_BaseSprite_z__P147809_mk(s) { -function story_menu_MenuSprite_moveSelectionHorizontal__P149834(s) { +function story_menu_MenuSprite_moveSelectionHorizontal__P176450(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9510,7 +9553,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["style"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 0); @@ -9525,7 +9568,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_5 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + s.tmp_5 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_5.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_6 = r0; @@ -9536,7 +9579,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_1 = r0; @@ -9552,12 +9595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_moveSelectionHorizontal__P149834.info = {"start":4982,"length":358,"line":164,"column":8,"endLine":173,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"moveSelectionHorizontal","argumentNames":["this","left"]} +story_menu_MenuSprite_moveSelectionHorizontal__P176450.info = {"start":4982,"length":358,"line":164,"column":8,"endLine":173,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"moveSelectionHorizontal","argumentNames":["this","left"]} -function story_menu_MenuSprite_moveSelectionHorizontal__P149834_mk(s) { +function story_menu_MenuSprite_moveSelectionHorizontal__P176450_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_moveSelectionHorizontal__P149834, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_moveSelectionHorizontal__P176450, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9574,7 +9617,7 @@ function story_menu_MenuSprite_moveSelectionHorizontal__P149834_mk(s) { -function story_menu_MenuSprite_moveSelectionVertical__P149833(s) { +function story_menu_MenuSprite_moveSelectionVertical__P176449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9590,7 +9633,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["style"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 0); @@ -9622,7 +9665,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } - s.tmp_8 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + s.tmp_8 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_8.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_9 = r0; @@ -9639,7 +9682,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + s.tmp_2 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_3 = r0; @@ -9650,7 +9693,7 @@ switch (step) { r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_1 = r0; @@ -9663,7 +9706,7 @@ switch (step) { case 6: { step = 8; continue; } case 7: - s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_1 = r0; @@ -9709,7 +9752,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 14; continue; } - s.tmp_9 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + s.tmp_9 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_9.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_10 = r0; @@ -9720,7 +9763,7 @@ switch (step) { r0 = s.retval; { step = 15; continue; } case 14: - s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_1 = r0; @@ -9735,14 +9778,14 @@ switch (step) { case 17: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 18; continue; } - s.tmp_0 = story_menu_MenuSprite_previous__P149836_mk(s); + s.tmp_0 = story_menu_MenuSprite_previous__P176452_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1857; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; { step = 19; continue; } case 18: - s.tmp_0 = story_menu_MenuSprite_next__P149835_mk(s); + s.tmp_0 = story_menu_MenuSprite_next__P176451_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1858; s.pc = 28; return s.tmp_0; case 28: @@ -9753,12 +9796,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_moveSelectionVertical__P149833.info = {"start":3608,"length":1364,"line":127,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"moveSelectionVertical","argumentNames":["this","up"]} +story_menu_MenuSprite_moveSelectionVertical__P176449.info = {"start":3608,"length":1364,"line":127,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"moveSelectionVertical","argumentNames":["this","up"]} -function story_menu_MenuSprite_moveSelectionVertical__P149833_mk(s) { +function story_menu_MenuSprite_moveSelectionVertical__P176449_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_moveSelectionVertical__P149833, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_moveSelectionVertical__P176449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9779,7 +9822,7 @@ function story_menu_MenuSprite_moveSelectionVertical__P149833_mk(s) { -function story_menu_MenuSprite_previous__P149836(s) { +function story_menu_MenuSprite_previous__P176452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9794,8 +9837,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); - s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); + s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_1 = r0; @@ -9808,12 +9851,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_previous__P149836.info = {"start":5437,"length":81,"line":179,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"previous","argumentNames":["this"]} +story_menu_MenuSprite_previous__P176452.info = {"start":5437,"length":81,"line":179,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"previous","argumentNames":["this"]} -function story_menu_MenuSprite_previous__P149836_mk(s) { +function story_menu_MenuSprite_previous__P176452_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_previous__P149836, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_previous__P176452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9824,7 +9867,7 @@ function story_menu_MenuSprite_previous__P149836_mk(s) { -function story_menu_MenuSprite_next__P149835(s) { +function story_menu_MenuSprite_next__P176451(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9839,8 +9882,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); - s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P149832_mk(s); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); + s.tmp_0 = story_menu_MenuSprite_setSelectedIndex__P176448_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["selectedIndex"]; s.tmp_1 = r0; @@ -9853,12 +9896,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_next__P149835.info = {"start":5350,"length":77,"line":175,"column":8,"endLine":177,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"next","argumentNames":["this"]} +story_menu_MenuSprite_next__P176451.info = {"start":5350,"length":77,"line":175,"column":8,"endLine":177,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"next","argumentNames":["this"]} -function story_menu_MenuSprite_next__P149835_mk(s) { +function story_menu_MenuSprite_next__P176451_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_next__P149835, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_next__P176451, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9869,7 +9912,7 @@ function story_menu_MenuSprite_next__P149835_mk(s) { -function story_menu_MenuSprite_selectedMenuIndex__P149831(s) { +function story_menu_MenuSprite_selectedMenuIndex__P176447(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9884,17 +9927,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["selectedIndex"]; return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_selectedMenuIndex__P149831.info = {"start":2893,"length":78,"line":103,"column":8,"endLine":105,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"selectedMenuIndex","argumentNames":["this"]} +story_menu_MenuSprite_selectedMenuIndex__P176447.info = {"start":2893,"length":78,"line":103,"column":8,"endLine":105,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"selectedMenuIndex","argumentNames":["this"]} -function story_menu_MenuSprite_selectedMenuIndex__P149831_mk(s) { +function story_menu_MenuSprite_selectedMenuIndex__P176447_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_selectedMenuIndex__P149831, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_selectedMenuIndex__P176447, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9903,7 +9946,7 @@ function story_menu_MenuSprite_selectedMenuIndex__P149831_mk(s) { -function story_menu_MenuSprite_selectedMenuOption__P149830(s) { +function story_menu_MenuSprite_selectedMenuOption__P176446(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9918,7 +9961,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -9957,12 +10000,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_selectedMenuOption__P149830.info = {"start":2678,"length":205,"line":95,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"selectedMenuOption","argumentNames":["this"]} +story_menu_MenuSprite_selectedMenuOption__P176446.info = {"start":2678,"length":205,"line":95,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"selectedMenuOption","argumentNames":["this"]} -function story_menu_MenuSprite_selectedMenuOption__P149830_mk(s) { +function story_menu_MenuSprite_selectedMenuOption__P176446_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_selectedMenuOption__P149830, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_selectedMenuOption__P176446, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9981,7 +10024,7 @@ function story_menu_MenuSprite_selectedMenuOption__P149830_mk(s) { -function story_menu_MenuSprite_isOpen__P149838(s) { +function story_menu_MenuSprite_isOpen__P176454(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9996,17 +10039,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["open"]; return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_isOpen__P149838.info = {"start":5752,"length":59,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"isOpen","argumentNames":["this"]} +story_menu_MenuSprite_isOpen__P176454.info = {"start":5752,"length":59,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"isOpen","argumentNames":["this"]} -function story_menu_MenuSprite_isOpen__P149838_mk(s) { +function story_menu_MenuSprite_isOpen__P176454_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_isOpen__P149838, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_isOpen__P176454, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10015,7 +10058,7 @@ function story_menu_MenuSprite_isOpen__P149838_mk(s) { -function story_menu_closeMenu__P149846(s) { +function story_menu_closeMenu__P176462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10025,14 +10068,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___154592 = undefined; - s.tmp_0 = story_menu__getState__P149861_mk(s); + s.state___181208 = undefined; + s.tmp_0 = story_menu__getState__P176477_mk(s); s.callLocIdx = 1909; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___154592 = (r0); - s.tmp_0 = story_menu_MenuSprite_setMenuOpen__P149839_mk(s); - r0 = s.state___154592.fields["menu"]; + s.state___181208 = (r0); + s.tmp_0 = story_menu_MenuSprite_setMenuOpen__P176455_mk(s); + r0 = s.state___181208.fields["menu"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = false; s.callLocIdx = 1910; s.pc = 2; return s.tmp_0; @@ -10042,22 +10085,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_closeMenu__P149846.info = {"start":390,"length":109,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"closeMenu","argumentNames":[]} +story_menu_closeMenu__P176462.info = {"start":390,"length":109,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/arcade-story/menuState.ts","functionName":"closeMenu","argumentNames":[]} -function story_menu_closeMenu__P149846_mk(s) { +function story_menu_closeMenu__P176462_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_closeMenu__P149846, depth: s.depth + 1, + parent: s, fn: story_menu_closeMenu__P176462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - state___154592: undefined, + state___181208: undefined, } } -function story_menu_MenuSprite_setMenuOpen__P149839(s) { +function story_menu_MenuSprite_setMenuOpen__P176455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10073,18 +10116,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = (s.arg0).fields["open"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_setMenuOpen__P149839.info = {"start":5821,"length":68,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setMenuOpen","argumentNames":["this","open"]} +story_menu_MenuSprite_setMenuOpen__P176455.info = {"start":5821,"length":68,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"setMenuOpen","argumentNames":["this","open"]} -function story_menu_MenuSprite_setMenuOpen__P149839_mk(s) { +function story_menu_MenuSprite_setMenuOpen__P176455_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_setMenuOpen__P149839, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_setMenuOpen__P176455, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10094,7 +10137,7 @@ function story_menu_MenuSprite_setMenuOpen__P149839_mk(s) { -function story__pauseUntilTaskIsComplete__P149779(s) { +function story__pauseUntilTaskIsComplete__P176395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10104,21 +10147,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___154282 = undefined; + s.state___180898 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = story__currentCutscene__P149780_mk(s); + s.tmp_0 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1814; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___154282 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P154287); + s.state___180898 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P180903); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.state___154282); - s.tmp_1 = pauseUntil__P146293_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.state___180898); + s.tmp_1 = pauseUntil__P172909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1816; s.pc = 2; return s.tmp_1; @@ -10128,16 +10171,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -story__pauseUntilTaskIsComplete__P149779.info = {"start":11953,"length":185,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"_pauseUntilTaskIsComplete","argumentNames":["task"]} +story__pauseUntilTaskIsComplete__P176395.info = {"start":11953,"length":185,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"_pauseUntilTaskIsComplete","argumentNames":["task"]} -function story__pauseUntilTaskIsComplete__P149779_mk(s) { +function story__pauseUntilTaskIsComplete__P176395_mk(s) { checkStack(s.depth); return { - parent: s, fn: story__pauseUntilTaskIsComplete__P149779, depth: s.depth + 1, + parent: s, fn: story__pauseUntilTaskIsComplete__P176395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - state___154282: undefined, + state___180898: undefined, arg0: undefined, } } @@ -10145,7 +10188,7 @@ function story__pauseUntilTaskIsComplete__P149779_mk(s) { -function inline__P154287(s) { +function inline__P180903(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10184,12 +10227,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P154287.info = {"start":12076,"length":54,"line":329,"column":19,"endLine":329,"endColumn":73,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":[]} +inline__P180903.info = {"start":12076,"length":54,"line":329,"column":19,"endLine":329,"endColumn":73,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":[]} -function inline__P154287_mk(s) { +function inline__P180903_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154287, depth: s.depth + 1, + parent: s, fn: inline__P180903, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10201,7 +10244,7 @@ function inline__P154287_mk(s) { -function pauseUntil__P146293(s) { +function pauseUntil__P172909(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10248,7 +10291,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P146292_mk(s); + s.tmp_0 = control___queuePollEvent__P172908_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -10260,12 +10303,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P146293.info = {"start":2205,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} +pauseUntil__P172909.info = {"start":2205,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} -function pauseUntil__P146293_mk(s) { +function pauseUntil__P172909_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P146293, depth: s.depth + 1, + parent: s, fn: pauseUntil__P172909, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10281,7 +10324,7 @@ function pauseUntil__P146293_mk(s) { -function control___queuePollEvent__P146292(s) { +function control___queuePollEvent__P172908(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10291,16 +10334,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___154314 = undefined; + s.ev___180930 = 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__C150097_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C176713_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P150098_mk(s); + s.tmp_1 = control_PollEvent_constructor__P176714_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1.arg1 = r0; @@ -10316,8 +10359,8 @@ switch (step) { s.callLocIdx = 39; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___154314 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___150100); + s.ev___180930 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___176716); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10325,19 +10368,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___154314); - globals._pollEventQueue___150100 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P150101); + r0 = pxsim_Array__push(s.tmp_2, s.ev___180930); + globals._pollEventQueue___176716 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P176717); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___150100, s.ev___154314); + r0 = pxsim_Array__push(globals._pollEventQueue___176716, s.ev___180930); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P146317_mk(s); - r0 = s.ev___154314.fields["eid"]; + s.tmp_0 = control_onEvent__P172933_mk(s); + r0 = s.ev___180930.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___154314.fields["vid"]; + r0 = s.ev___180930.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -10346,9 +10389,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___154314.fields["eid"]; + r0 = s.ev___180930.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___154314.fields["vid"]; + r0 = s.ev___180930.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -10361,17 +10404,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P146292.info = {"start":1262,"length":739,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} +control___queuePollEvent__P172908.info = {"start":1262,"length":739,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} -function control___queuePollEvent__P146292_mk(s) { +function control___queuePollEvent__P172908_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P146292, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P172908, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___154314: undefined, + ev___180930: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10381,7 +10424,7 @@ function control___queuePollEvent__P146292_mk(s) { -function control_pollEvents__P150101(s) { +function control_pollEvents__P176717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10391,31 +10434,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___154440 = undefined; - s.i___154443 = undefined; - s.ev___154449 = undefined; + s.now___181056 = undefined; + s.i___181059 = undefined; + s.ev___181065 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___150100); + r0 = pxsim_Array__length(globals._pollEventQueue___176716); 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___154440 = (r0); - s.i___154443 = (0); + s.now___181056 = (r0); + s.i___181059 = (0); case 2: - s.tmp_1 = r0 = s.i___154443; - r0 = pxsim_Array__length(globals._pollEventQueue___150100); + s.tmp_1 = r0 = s.i___181059; + r0 = pxsim_Array__length(globals._pollEventQueue___176716); 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___150100, s.i___154443); - s.ev___154449 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___176716, s.i___181059); + s.ev___181065 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___154449; + s.tmp_1.arg0 = s.ev___181065; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 36; s.pc = 13; return s.tmp_1; @@ -10433,7 +10476,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___154449.fields["timeOut"]; + r0 = s.ev___181065.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -10442,11 +10485,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___154449.fields["start"]; + r0 = s.ev___181065.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___154440 - s.tmp_5); + r0 = (s.now___181056 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___154449.fields["timeOut"]; + r0 = s.ev___181065.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -10458,50 +10501,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___154449.fields["eid"]; + r0 = s.ev___181065.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___154449.fields["vid"]; + r0 = s.ev___181065.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___154449.fields["once"]; + r0 = s.ev___181065.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P146033_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___150100; - s.tmp_1.arg1 = s.i___154443; + s.tmp_1 = helpers_arraySplice__P172649_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___176716; + s.tmp_1.arg1 = s.i___181059; s.tmp_1.arg2 = 1; s.callLocIdx = 37; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___154443 - 1); - s.i___154443 = (r0); + r0 = (s.i___181059 - 1); + s.i___181059 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___154443 + 1); - s.i___154443 = (r0); + r0 = (s.i___181059 + 1); + s.i___181059 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 38; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___150100 = (undefined); + globals._pollEventQueue___176716 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P150101.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P176717.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__P150101_mk(s) { +function control_pollEvents__P176717_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P150101, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P176717, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10514,16 +10557,16 @@ function control_pollEvents__P150101_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___154440: undefined, - i___154443: undefined, - ev___154449: undefined, + now___181056: undefined, + i___181059: undefined, + ev___181065: undefined, } } -function helpers_arraySplice__P146033(s) { +function helpers_arraySplice__P172649(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10533,7 +10576,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___154497 = undefined; + s.i___181113 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10547,15 +10590,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___154497 = (0); + s.i___181113 = (0); case 3: - r0 = (s.i___154497 < s.arg2); + r0 = (s.i___181113 < 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___154497 + 1); - s.i___154497 = (r0); + r0 = (s.i___181113 + 1); + s.i___181113 = (r0); { step = 3; continue; } case 4: case 5: @@ -10563,15 +10606,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P146033.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__P172649.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__P146033_mk(s) { +function helpers_arraySplice__P172649_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P146033, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P172649, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___154497: undefined, + i___181113: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10581,7 +10624,7 @@ function helpers_arraySplice__P146033_mk(s) { -function control_PollEvent_constructor__P150098(s) { +function control_PollEvent_constructor__P176714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10602,7 +10645,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C150097_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C176713_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -10613,12 +10656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P150098.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__P176714.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__P150098_mk(s) { +function control_PollEvent_constructor__P176714_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P150098, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P176714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10633,7 +10676,7 @@ function control_PollEvent_constructor__P150098_mk(s) { -function control_onEvent__P146317(s) { +function control_onEvent__P172933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10643,7 +10686,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___154356 = undefined; + s.ctx___180972 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10651,12 +10694,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P146334_mk(s); + s.tmp_0 = control_eventContext__P172950_mk(s); s.callLocIdx = 51; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___154356 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___154356); + s.ctx___180972 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___180972); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10665,8 +10708,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__P146331_mk(s); - s.tmp_0.arg0 = s.ctx___154356; + s.tmp_0 = control_EventContext_registerHandler__P172947_mk(s); + s.tmp_0.arg0 = s.ctx___180972; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -10679,16 +10722,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P146317.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__P172933.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__P146317_mk(s) { +function control_onEvent__P172933_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P146317, depth: s.depth + 1, + parent: s, fn: control_onEvent__P172933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___154356: undefined, + ctx___180972: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10699,7 +10742,7 @@ function control_onEvent__P146317_mk(s) { -function control_eventContext__P146334(s) { +function control_eventContext__P172950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10709,10 +10752,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___150126); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___176742); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___150126; - r0 = pxsim_Array__length(globals.eventContexts___150126); + s.tmp_0 = r0 = globals.eventContexts___176742; + r0 = pxsim_Array__length(globals.eventContexts___176742); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -10727,12 +10770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P146334.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P172950.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P146334_mk(s) { +function control_eventContext__P172950_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P146334, depth: s.depth + 1, + parent: s, fn: control_eventContext__P172950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10744,7 +10787,7 @@ function control_eventContext__P146334_mk(s) { -function control_EventContext_registerHandler__P146331(s) { +function control_EventContext_registerHandler__P172947(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10754,10 +10797,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___154379 = undefined; - s.unnamed1040___U1 = undefined; - s.unnamed1041___U2 = undefined; - s.hn___154402 = undefined; + s.h___180995 = undefined; + s.unnamed1148___U1 = undefined; + s.unnamed1149___U2 = undefined; + s.hn___181018 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10767,20 +10810,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C146321_VT)) failedCast(r0); - s.h___154379 = (undefined); + if (!checkSubtype(r0, control_EventContext__C172937_VT)) failedCast(r0); + s.h___180995 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed1040___U1 = (r0); - s.unnamed1041___U2 = (0); + s.unnamed1148___U1 = (r0); + s.unnamed1149___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1041___U2; - r0 = pxsim_Array__length(s.unnamed1040___U1); + s.tmp_0 = r0 = s.unnamed1149___U2; + r0 = pxsim_Array__length(s.unnamed1148___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1040___U1, s.unnamed1041___U2); - s.h___154379 = (r0); - r0 = s.h___154379.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed1148___U1, s.unnamed1149___U2); + s.h___180995 = (r0); + r0 = s.h___180995.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -10789,7 +10832,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___154379.fields["value"]; + r0 = s.h___180995.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -10797,19 +10840,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___154379).fields["flags"] = (s.arg4); - r0 = (s.h___154379).fields["handler"] = (s.arg3); + r0 = (s.h___180995).fields["flags"] = (s.arg4); + r0 = (s.h___180995).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed1041___U2 + 1); - s.unnamed1041___U2 = (r0); + r0 = (s.unnamed1149___U2 + 1); + s.unnamed1149___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed1040___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C150118_VT); + s.unnamed1148___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C176734_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P150121_mk(s); + s.tmp_1 = control_EventHandler_constructor__P176737_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -10818,12 +10861,12 @@ switch (step) { s.callLocIdx = 64; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___154402 = (s.tmp_0); + s.hn___181018 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___154402); - s.tmp_0 = control_EventHandler_register__P150119_mk(s); - s.tmp_0.arg0 = s.hn___154402; + r0 = pxsim_Array__push(s.tmp_0, s.hn___181018); + s.tmp_0 = control_EventHandler_register__P176735_mk(s); + s.tmp_0.arg0 = s.hn___181018; s.callLocIdx = 65; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -10832,12 +10875,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P146331.info = {"start":5573,"length":525,"line":169,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P172947.info = {"start":5573,"length":525,"line":169,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function control_EventContext_registerHandler__P146331_mk(s) { +function control_EventContext_registerHandler__P172947_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P146331, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P172947, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10845,10 +10888,10 @@ function control_EventContext_registerHandler__P146331_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___154379: undefined, - unnamed1040___U1: undefined, - unnamed1041___U2: undefined, - hn___154402: undefined, + h___180995: undefined, + unnamed1148___U1: undefined, + unnamed1149___U2: undefined, + hn___181018: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10860,7 +10903,7 @@ function control_EventContext_registerHandler__P146331_mk(s) { -function control_EventHandler_constructor__P150121(s) { +function control_EventHandler_constructor__P176737(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10879,7 +10922,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C150118_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C176734_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -10888,12 +10931,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P150121.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__P176737.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__P150121_mk(s) { +function control_EventHandler_constructor__P176737_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P150121, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P176737, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10906,7 +10949,7 @@ function control_EventHandler_constructor__P150121_mk(s) { -function control_EventHandler_register__P150119(s) { +function control_EventHandler_register__P176735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10921,8 +10964,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C150118_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P154423); + if (!checkSubtype(r0, control_EventHandler__C176734_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P181039); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -10936,12 +10979,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P150119.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__P176735.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__P150119_mk(s) { +function control_EventHandler_register__P176735_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P150119, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P176735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10954,7 +10997,7 @@ function control_EventHandler_register__P150119_mk(s) { -function inline__P154423(s) { +function inline__P181039(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10987,12 +11030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P154423.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P181039.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P154423_mk(s) { +function inline__P181039_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P154423, depth: s.depth + 1, + parent: s, fn: inline__P181039, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11002,7 +11045,7 @@ function inline__P154423_mk(s) { -function story__isInQueueStoryPart__P149750(s) { +function story__isInQueueStoryPart__P176366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11012,27 +11055,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___155270 = undefined; - s.tmp_0 = r0 = globals.stateStack___152436; + s.state___181886 = undefined; + s.tmp_0 = r0 = globals.stateStack___179052; 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.stateStack___152436); + r0 = pxsim_Array__length(globals.stateStack___179052); 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 = r0 = globals.stateStack___152436; - r0 = pxsim_Array__length(globals.stateStack___152436); + s.tmp_2 = r0 = globals.stateStack___179052; + r0 = pxsim_Array__length(globals.stateStack___179052); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); - s.state___155270 = (r0); - r0 = s.state___155270.fields["lock"]; + s.state___181886 = (r0); + r0 = s.state___181886.fields["lock"]; { step = 5; continue; } case 3: case 4: @@ -11041,26 +11084,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -story__isInQueueStoryPart__P149750.info = {"start":2219,"length":215,"line":86,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"_isInQueueStoryPart","argumentNames":[]} +story__isInQueueStoryPart__P176366.info = {"start":2219,"length":215,"line":86,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"_isInQueueStoryPart","argumentNames":[]} -function story__isInQueueStoryPart__P149750_mk(s) { +function story__isInQueueStoryPart__P176366_mk(s) { checkStack(s.depth); return { - parent: s, fn: story__isInQueueStoryPart__P149750, depth: s.depth + 1, + parent: s, fn: story__isInQueueStoryPart__P176366, 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___155270: undefined, + state___181886: undefined, } } -function story__cancelTask__P149749(s) { +function story__cancelTask__P176365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11070,19 +11113,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___157783 = undefined; + s.state___184399 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals.stateStack___152436; + s.tmp_0 = r0 = globals.stateStack___179052; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = r0 = globals.stateStack___152436; - r0 = pxsim_Array__length(globals.stateStack___152436); + s.tmp_1 = r0 = globals.stateStack___179052; + r0 = pxsim_Array__length(globals.stateStack___179052); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -11090,11 +11133,11 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.state___157783 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.state___157783); + s.state___184399 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.state___184399); if (!r0) { step = 3; continue; } - s.tmp_0 = story_StoryState_cancelByKey__P149743_mk(s); - s.tmp_0.arg0 = s.state___157783; + s.tmp_0 = story_StoryState_cancelByKey__P176359_mk(s); + s.tmp_0.arg0 = s.state___184399; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1719; s.pc = 5; return s.tmp_0; case 5: @@ -11105,19 +11148,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -story__cancelTask__P149749.info = {"start":2027,"length":186,"line":79,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"_cancelTask","argumentNames":["key"]} +story__cancelTask__P176365.info = {"start":2027,"length":186,"line":79,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"_cancelTask","argumentNames":["key"]} -function story__cancelTask__P149749_mk(s) { +function story__cancelTask__P176365_mk(s) { checkStack(s.depth); return { - parent: s, fn: story__cancelTask__P149749, depth: s.depth + 1, + parent: s, fn: story__cancelTask__P176365, 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___157783: undefined, + state___184399: undefined, arg0: undefined, } } @@ -11125,7 +11168,7 @@ function story__cancelTask__P149749_mk(s) { -function story_StoryState_cancelByKey__P149743(s) { +function story_StoryState_cancelByKey__P176359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11135,30 +11178,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.task___157797 = undefined; - s.unnamed1072___U1 = undefined; - s.unnamed1073___U2 = undefined; + s.task___184413 = undefined; + s.unnamed1180___U1 = undefined; + s.unnamed1181___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_StoryState__C149735_VT)) failedCast(r0); - s.task___157797 = (undefined); + if (!checkSubtype(r0, story_StoryState__C176351_VT)) failedCast(r0); + s.task___184413 = (undefined); r0 = s.arg0.fields["activeTasks"]; - s.unnamed1072___U1 = (r0); - s.unnamed1073___U2 = (0); + s.unnamed1180___U1 = (r0); + s.unnamed1181___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1073___U2; - r0 = pxsim_Array__length(s.unnamed1072___U1); + s.tmp_0 = r0 = s.unnamed1181___U2; + r0 = pxsim_Array__length(s.unnamed1180___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1072___U1, s.unnamed1073___U2); - s.task___157797 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1180___U1, s.unnamed1181___U2); + s.task___184413 = (r0); s.tmp_4 = if_key_1_mk(s); - s.tmp_4.arg0 = s.task___157797; + s.tmp_4.arg0 = s.task___184413; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "key"); } else { @@ -11178,7 +11221,7 @@ switch (step) { { step = 3; continue; } case 2: s.tmp_5 = if_cancel_1_mk(s); - s.tmp_5.arg0 = s.task___157797; + s.tmp_5.arg0 = s.task___184413; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "cancel"); } else { @@ -11195,7 +11238,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 4; continue; } s.tmp_7 = if_cancel_1_mk(s); - s.tmp_7.arg0 = s.task___157797; + s.tmp_7.arg0 = s.task___184413; if (!s.tmp_7.arg0.vtable.iface) { setupLambda(s.tmp_7, pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "cancel"), 1); s.callLocIdx = 1712; s.pc = 10; return s.tmp_7; @@ -11210,22 +11253,22 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed1073___U2 + 1); - s.unnamed1073___U2 = (r0); + r0 = (s.unnamed1181___U2 + 1); + s.unnamed1181___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed1072___U1 = (undefined); + s.unnamed1180___U1 = (undefined); case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -story_StoryState_cancelByKey__P149743.info = {"start":629,"length":237,"line":27,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"cancelByKey","argumentNames":["this","key"]} +story_StoryState_cancelByKey__P176359.info = {"start":629,"length":237,"line":27,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"cancelByKey","argumentNames":["this","key"]} -function story_StoryState_cancelByKey__P149743_mk(s) { +function story_StoryState_cancelByKey__P176359_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_StoryState_cancelByKey__P149743, depth: s.depth + 1, + parent: s, fn: story_StoryState_cancelByKey__P176359, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11235,9 +11278,9 @@ function story_StoryState_cancelByKey__P149743_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - task___157797: undefined, - unnamed1072___U1: undefined, - unnamed1073___U2: undefined, + task___184413: undefined, + unnamed1180___U1: undefined, + unnamed1181___U2: undefined, arg0: undefined, arg1: undefined, } } @@ -11246,7 +11289,7 @@ function story_StoryState_cancelByKey__P149743_mk(s) { -function story__trackTask__P149748(s) { +function story__trackTask__P176364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11256,23 +11299,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___155280 = undefined; + s.state___181896 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = story_init__P152437_mk(s); + s.tmp_0 = story_init__P179053_mk(s); s.callLocIdx = 1717; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = r0 = globals.stateStack___152436; + s.tmp_0 = r0 = globals.stateStack___179052; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = r0 = globals.stateStack___152436; - r0 = pxsim_Array__length(globals.stateStack___152436); + s.tmp_1 = r0 = globals.stateStack___179052; + r0 = pxsim_Array__length(globals.stateStack___179052); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -11280,11 +11323,11 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.state___155280 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.state___155280); + s.state___181896 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.state___181896); if (!r0) { step = 3; continue; } - s.tmp_0 = story_StoryState_trackTask__P149740_mk(s); - s.tmp_0.arg0 = s.state___155280; + s.tmp_0 = story_StoryState_trackTask__P176356_mk(s); + s.tmp_0.arg0 = s.state___181896; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1718; s.pc = 6; return s.tmp_0; case 6: @@ -11295,19 +11338,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -story__trackTask__P149748.info = {"start":1822,"length":199,"line":71,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"_trackTask","argumentNames":["task"]} +story__trackTask__P176364.info = {"start":1822,"length":199,"line":71,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"_trackTask","argumentNames":["task"]} -function story__trackTask__P149748_mk(s) { +function story__trackTask__P176364_mk(s) { checkStack(s.depth); return { - parent: s, fn: story__trackTask__P149748, depth: s.depth + 1, + parent: s, fn: story__trackTask__P176364, 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___155280: undefined, + state___181896: undefined, arg0: undefined, } } @@ -11315,7 +11358,7 @@ function story__trackTask__P149748_mk(s) { -function story_init__P152437(s) { +function story_init__P179053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11325,15 +11368,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.lock___155304 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.stateStack___152436); + s.lock___181920 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.stateStack___179052); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(story_StoryState__C149735_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_StoryState__C176351_VT); s.tmp_0 = r0; - s.tmp_1 = story_StoryState_constructor__P149739_mk(s); + s.tmp_1 = story_StoryState_constructor__P176355_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1720; s.pc = 4; return s.tmp_1; case 4: @@ -11341,20 +11384,20 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_0); - globals.stateStack___152436 = (s.tmp_2); - s.lock___155304 = (false); - s.tmp_0 = game_addScenePushHandler__P148501_mk(s); - s.tmp_0.arg0 = inline__P155306; + globals.stateStack___179052 = (s.tmp_2); + s.lock___181920 = (false); + s.tmp_0 = game_addScenePushHandler__P175117_mk(s); + s.tmp_0.arg0 = inline__P181922; s.callLocIdx = 1722; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P148503_mk(s); - s.tmp_0.arg0 = inline__P155313; + s.tmp_0 = game_addScenePopHandler__P175119_mk(s); + s.tmp_0.arg0 = inline__P181929; s.callLocIdx = 1724; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = game_onUpdate__P148495_mk(s); - s.tmp_0.arg0 = inline__P155326; + s.tmp_0 = game_onUpdate__P175111_mk(s); + s.tmp_0.arg0 = inline__P181942; s.callLocIdx = 1730; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -11363,24 +11406,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_init__P152437.info = {"start":2440,"length":1250,"line":94,"column":4,"endLine":136,"endColumn":5,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"init","argumentNames":[]} +story_init__P179053.info = {"start":2440,"length":1250,"line":94,"column":4,"endLine":136,"endColumn":5,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"init","argumentNames":[]} -function story_init__P152437_mk(s) { +function story_init__P179053_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_init__P152437, depth: s.depth + 1, + parent: s, fn: story_init__P179053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - lock___155304: undefined, + lock___181920: undefined, } } -function inline__P155306(s) { +function inline__P181922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11390,24 +11433,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore_mkClassInstance(story_StoryState__C149735_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_StoryState__C176351_VT); s.tmp_0 = r0; - s.tmp_1 = story_StoryState_constructor__P149739_mk(s); + s.tmp_1 = story_StoryState_constructor__P176355_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1721; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_Array__push(globals.stateStack___152436, s.tmp_0); + r0 = pxsim_Array__push(globals.stateStack___179052, s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P155306.info = {"start":2593,"length":70,"line":101,"column":33,"endLine":103,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":[]} +inline__P181922.info = {"start":2593,"length":70,"line":101,"column":33,"endLine":103,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":[]} -function inline__P155306_mk(s) { +function inline__P181922_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155306, depth: s.depth + 1, + parent: s, fn: inline__P181922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11417,7 +11460,7 @@ function inline__P155306_mk(s) { -function inline__P155313(s) { +function inline__P181929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11427,33 +11470,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_Array_.pop(globals.stateStack___152436); - r0 = pxsim_Array__length(globals.stateStack___152436); + r0 = pxsim_Array_.pop(globals.stateStack___179052); + r0 = pxsim_Array__length(globals.stateStack___179052); s.tmp_1 = r0; r0 = (s.tmp_1 === 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(story_StoryState__C149735_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_StoryState__C176351_VT); s.tmp_2 = r0; - s.tmp_3 = story_StoryState_constructor__P149739_mk(s); + s.tmp_3 = story_StoryState_constructor__P176355_mk(s); s.tmp_3.arg0 = s.tmp_2; s.callLocIdx = 1723; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - r0 = pxsim_Array__push(globals.stateStack___152436, s.tmp_2); + r0 = pxsim_Array__push(globals.stateStack___179052, s.tmp_2); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P155313.info = {"start":2699,"length":161,"line":105,"column":32,"endLine":111,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":[]} +inline__P181929.info = {"start":2699,"length":161,"line":105,"column":32,"endLine":111,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":[]} -function inline__P155313_mk(s) { +function inline__P181929_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155313, depth: s.depth + 1, + parent: s, fn: inline__P181929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11465,7 +11508,7 @@ function inline__P155313_mk(s) { -function inline__P155326(s) { +function inline__P181942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11475,34 +11518,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___155327 = undefined; - s.tmp_0 = r0 = globals.stateStack___152436; - r0 = pxsim_Array__length(globals.stateStack___152436); + s.state___181943 = undefined; + s.tmp_0 = r0 = globals.stateStack___179052; + r0 = pxsim_Array__length(globals.stateStack___179052); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); - s.state___155327 = (r0); - s.tmp_0 = story_StoryState_clearFinishedTasks__P149745_mk(s); - s.tmp_0.arg0 = s.state___155327; + s.state___181943 = (r0); + s.tmp_0 = story_StoryState_clearFinishedTasks__P176361_mk(s); + s.tmp_0.arg0 = s.state___181943; s.callLocIdx = 1725; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = s.state___155327.fields["lock"]; + r0 = s.state___181943.fields["lock"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } { step = 13; continue; } case 1: case 2: - r0 = s.state___155327.fields["queue"]; + r0 = s.state___181943.fields["queue"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 11; continue; } - s.tmp_4 = story_StoryState_shouldAdvance__P149742_mk(s); - s.tmp_4.arg0 = s.state___155327; + s.tmp_4 = story_StoryState_shouldAdvance__P176358_mk(s); + s.tmp_4.arg0 = s.state___181943; s.callLocIdx = 1726; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; @@ -11512,7 +11555,7 @@ switch (step) { r0 = s.tmp_3; { step = 4; continue; } case 3: - r0 = s.state___155327.fields["running"]; + r0 = s.state___181943.fields["running"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); s.tmp_5 = r0; @@ -11522,30 +11565,30 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 9; continue; } - r0 = s.state___155327.fields["running"]; + r0 = s.state___181943.fields["running"]; s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 5; continue; } - r0 = s.state___155327.fields["queue"]; + r0 = s.state___181943.fields["queue"]; s.tmp_9 = r0; r0 = pxsim_Array_.removeAt(s.tmp_9, 0); - s.tmp_0 = story_StoryState_reset__P149741_mk(s); - s.tmp_0.arg0 = s.state___155327; + s.tmp_0 = story_StoryState_reset__P176357_mk(s); + s.tmp_0.arg0 = s.state___181943; s.callLocIdx = 1728; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 5: case 6: - r0 = s.state___155327.fields["queue"]; + r0 = s.state___181943.fields["queue"]; s.tmp_1 = r0; r0 = pxsim_Array__length(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.state___155327).fields["running"] = (true); - r0 = pxsim_pxtcore_mkAction(1, inline__P155361); + r0 = (s.state___181943).fields["running"] = (true); + r0 = pxsim_pxtcore_mkAction(1, inline__P181977); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.state___155327); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.state___181943); r0 = pxsim.control.runInParallel(s.tmp_0); case 7: case 8: @@ -11558,12 +11601,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155326.info = {"start":2886,"length":796,"line":113,"column":22,"endLine":135,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":[]} +inline__P181942.info = {"start":2886,"length":796,"line":113,"column":22,"endLine":135,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":[]} -function inline__P155326_mk(s) { +function inline__P181942_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155326, depth: s.depth + 1, + parent: s, fn: inline__P181942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11575,14 +11618,14 @@ function inline__P155326_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - state___155327: undefined, + state___181943: undefined, } } -function inline__P155361(s) { +function inline__P181977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11607,12 +11650,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155361.info = {"start":3436,"length":180,"line":127,"column":46,"endLine":131,"endColumn":25,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":[]} +inline__P181977.info = {"start":3436,"length":180,"line":127,"column":46,"endLine":131,"endColumn":25,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":[]} -function inline__P155361_mk(s) { +function inline__P181977_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155361, depth: s.depth + 1, + parent: s, fn: inline__P181977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11622,7 +11665,7 @@ function inline__P155361_mk(s) { -function story_StoryState_clearFinishedTasks__P149745(s) { +function story_StoryState_clearFinishedTasks__P176361(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11637,11 +11680,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_StoryState__C149735_VT)) failedCast(r0); - s.tmp_1 = helpers_arraySome__P146040_mk(s); + if (!checkSubtype(r0, story_StoryState__C176351_VT)) failedCast(r0); + s.tmp_1 = helpers_arraySome__P172656_mk(s); r0 = s.arg0.fields["activeTasks"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P155412; + s.tmp_1.arg1 = inline__P182028; s.callLocIdx = 1714; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -11649,10 +11692,10 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = r0 = s.arg0; - s.tmp_4 = helpers_arrayFilter__P146043_mk(s); + s.tmp_4 = helpers_arrayFilter__P172659_mk(s); r0 = s.arg0.fields["activeTasks"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P155421; + s.tmp_4.arg1 = inline__P182037; s.callLocIdx = 1716; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; @@ -11664,12 +11707,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_StoryState_clearFinishedTasks__P149745.info = {"start":1093,"length":194,"line":45,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"clearFinishedTasks","argumentNames":["this"]} +story_StoryState_clearFinishedTasks__P176361.info = {"start":1093,"length":194,"line":45,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"clearFinishedTasks","argumentNames":["this"]} -function story_StoryState_clearFinishedTasks__P149745_mk(s) { +function story_StoryState_clearFinishedTasks__P176361_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_StoryState_clearFinishedTasks__P149745, depth: s.depth + 1, + parent: s, fn: story_StoryState_clearFinishedTasks__P176361, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11683,7 +11726,7 @@ function story_StoryState_clearFinishedTasks__P149745_mk(s) { -function inline__P155412(s) { +function inline__P182028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11713,12 +11756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155412.info = {"start":1154,"length":21,"line":46,"column":38,"endLine":46,"endColumn":59,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":["task"]} +inline__P182028.info = {"start":1154,"length":21,"line":46,"column":38,"endLine":46,"endColumn":59,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":["task"]} -function inline__P155412_mk(s) { +function inline__P182028_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155412, depth: s.depth + 1, + parent: s, fn: inline__P182028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11728,7 +11771,7 @@ function inline__P155412_mk(s) { -function inline__P155421(s) { +function inline__P182037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11762,12 +11805,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155421.info = {"start":1239,"length":22,"line":47,"column":59,"endLine":47,"endColumn":81,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":["task"]} +inline__P182037.info = {"start":1239,"length":22,"line":47,"column":59,"endLine":47,"endColumn":81,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":["task"]} -function inline__P155421_mk(s) { +function inline__P182037_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155421, depth: s.depth + 1, + parent: s, fn: inline__P182037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11779,7 +11822,7 @@ function inline__P155421_mk(s) { -function helpers_arraySome__P146040(s) { +function helpers_arraySome__P172656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11789,26 +11832,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___155393 = undefined; - s.i___155396 = undefined; + s.len___182009 = undefined; + s.i___182012 = 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___155393 = (r0); - s.i___155396 = (0); + s.len___182009 = (r0); + s.i___182012 = (0); case 1: - r0 = (s.i___155396 < s.len___155393); + r0 = (s.i___182012 < s.len___182009); 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___155396); + r0 = pxsim_Array__getAt(s.arg0, s.i___182012); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___155396; + s.tmp_2.arg1 = s.i___182012; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: @@ -11820,8 +11863,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___155396 + 1); - s.i___155396 = (r0); + r0 = (s.i___182012 + 1); + s.i___182012 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -11829,18 +11872,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P146040.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__P172656.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__P146040_mk(s) { +function helpers_arraySome__P172656_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P146040, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P172656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___155393: undefined, - i___155396: undefined, + len___182009: undefined, + i___182012: undefined, arg0: undefined, arg1: undefined, } } @@ -11849,7 +11892,7 @@ function helpers_arraySome__P146040_mk(s) { -function story_StoryState_shouldAdvance__P149742(s) { +function story_StoryState_shouldAdvance__P176358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11864,11 +11907,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_StoryState__C149735_VT)) failedCast(r0); - s.tmp_2 = helpers_arraySome__P146040_mk(s); + if (!checkSubtype(r0, story_StoryState__C176351_VT)) failedCast(r0); + s.tmp_2 = helpers_arraySome__P172656_mk(s); r0 = s.arg0.fields["activeTasks"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P155382; + s.tmp_2.arg1 = inline__P181998; s.callLocIdx = 1709; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; @@ -11879,12 +11922,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_StoryState_shouldAdvance__P149742.info = {"start":525,"length":94,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"shouldAdvance","argumentNames":["this"]} +story_StoryState_shouldAdvance__P176358.info = {"start":525,"length":94,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"shouldAdvance","argumentNames":["this"]} -function story_StoryState_shouldAdvance__P149742_mk(s) { +function story_StoryState_shouldAdvance__P176358_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_StoryState_shouldAdvance__P149742, depth: s.depth + 1, + parent: s, fn: story_StoryState_shouldAdvance__P176358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11896,7 +11939,7 @@ function story_StoryState_shouldAdvance__P149742_mk(s) { -function inline__P155382(s) { +function inline__P181998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11930,12 +11973,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155382.info = {"start":585,"length":22,"line":24,"column":42,"endLine":24,"endColumn":64,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":["task"]} +inline__P181998.info = {"start":585,"length":22,"line":24,"column":42,"endLine":24,"endColumn":64,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":["task"]} -function inline__P155382_mk(s) { +function inline__P181998_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155382, depth: s.depth + 1, + parent: s, fn: inline__P181998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11947,7 +11990,7 @@ function inline__P155382_mk(s) { -function story_StoryState_reset__P149741(s) { +function story_StoryState_reset__P176357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11962,7 +12005,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_StoryState__C149735_VT)) failedCast(r0); + if (!checkSubtype(r0, story_StoryState__C176351_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -11972,12 +12015,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_StoryState_reset__P149741.info = {"start":427,"length":88,"line":18,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"reset","argumentNames":["this"]} +story_StoryState_reset__P176357.info = {"start":427,"length":88,"line":18,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"reset","argumentNames":["this"]} -function story_StoryState_reset__P149741_mk(s) { +function story_StoryState_reset__P176357_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_StoryState_reset__P149741, depth: s.depth + 1, + parent: s, fn: story_StoryState_reset__P176357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11988,7 +12031,7 @@ function story_StoryState_reset__P149741_mk(s) { -function story_StoryState_constructor__P149739(s) { +function story_StoryState_constructor__P176355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12003,7 +12046,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_StoryState__C149735_VT)) failedCast(r0); + if (!checkSubtype(r0, story_StoryState__C176351_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -12017,12 +12060,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_StoryState_constructor__P149739.info = {"start":210,"length":123,"line":8,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":["this"]} +story_StoryState_constructor__P176355.info = {"start":210,"length":123,"line":8,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"inline","argumentNames":["this"]} -function story_StoryState_constructor__P149739_mk(s) { +function story_StoryState_constructor__P176355_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_StoryState_constructor__P149739, depth: s.depth + 1, + parent: s, fn: story_StoryState_constructor__P176355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12033,7 +12076,7 @@ function story_StoryState_constructor__P149739_mk(s) { -function game_onUpdate__P148495(s) { +function game_onUpdate__P175111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12047,7 +12090,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P150475_mk(s); + s.tmp_0 = game_init__P177091_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1196; s.pc = 4; return s.tmp_0; case 4: @@ -12061,8 +12104,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P146329_mk(s); - s.tmp_3 = game_eventContext__P148487_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P172945_mk(s); + s.tmp_3 = game_eventContext__P175103_mk(s); s.callLocIdx = 1197; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; @@ -12077,12 +12120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P148495.info = {"start":7427,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P175111.info = {"start":7427,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdate","argumentNames":["a"]} -function game_onUpdate__P148495_mk(s) { +function game_onUpdate__P175111_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P148495, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P175111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12095,7 +12138,7 @@ function game_onUpdate__P148495_mk(s) { -function game_init__P150475(s) { +function game_init__P177091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12109,7 +12152,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___150467); + r0 = pxsim_numops_toBoolDecr(globals._scene___177083); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -12124,73 +12167,73 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C148371_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C174987_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P148392_mk(s); + s.tmp_4 = scene_Scene_constructor__P175008_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P146335_mk(s); + s.tmp_5 = control_pushEventContext__P172951_mk(s); s.callLocIdx = 1163; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___150467; + s.tmp_4.arg2 = globals._scene___177083; s.callLocIdx = 1164; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___150467 = (s.tmp_3); + globals._scene___177083 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P148393_mk(s); - s.tmp_0.arg0 = globals._scene___150467; + s.tmp_0 = scene_Scene_init__P175009_mk(s); + s.tmp_0.arg0 = globals._scene___177083; s.callLocIdx = 1165; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___148482); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___175098); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - globals.winEffect___148482 = (globals.confetti___148753); + globals.winEffect___175098 = (globals.confetti___175369); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___148483); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___175099); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - globals.loseEffect___148483 = (globals.melt___148774); + globals.loseEffect___175099 = (globals.melt___175390); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___150466); + r0 = pxsim_numops_toBoolDecr(globals.winSound___177082); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - globals.winSound___150466 = (globals.powerUp___147555); + globals.winSound___177082 = (globals.powerUp___174171); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___150464); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___177080); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - globals.loseSound___150464 = (globals.wawawawaa___147552); + globals.loseSound___177080 = (globals.wawawawaa___174168); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P150475.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P177091.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function game_init__P150475_mk(s) { +function game_init__P177091_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P150475, depth: s.depth + 1, + parent: s, fn: game_init__P177091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12205,7 +12248,7 @@ function game_init__P150475_mk(s) { -function inline__P155671(s) { +function inline__P182287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12215,11 +12258,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___155674 = undefined; - s.j___155682 = undefined; - s.x___155687 = undefined; - s.y___155693 = undefined; - s.c___155699 = undefined; + s.rounds___182290 = undefined; + s.j___182298 = undefined; + s.x___182303 = undefined; + s.y___182309 = undefined; + s.c___182315 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12232,14 +12275,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___155674 = (r0); - s.j___155682 = (0); + s.rounds___182290 = (r0); + s.j___182298 = (0); case 1: - r0 = (s.j___155682 < s.rounds___155674); + r0 = (s.j___182298 < s.rounds___182290); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P148542_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P175158_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -12249,8 +12292,8 @@ switch (step) { s.callLocIdx = 47; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___155687 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P148542_mk(s); + s.x___182303 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P175158_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -12260,42 +12303,42 @@ switch (step) { s.callLocIdx = 48; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___155693 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___155687, s.y___155693); - s.c___155699 = (r0); + s.y___182309 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___182303, s.y___182309); + s.c___182315 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___155687; - r0 = (s.y___155693 + 1); + s.tmp_1 = r0 = s.x___182303; + r0 = (s.y___182309 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___155699); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___182315); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___155687; - r0 = (s.y___155693 + 2); + s.tmp_1 = r0 = s.x___182303; + r0 = (s.y___182309 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___155699); - r0 = (s.j___155682 + 1); - s.j___155682 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___182315); + r0 = (s.j___182298 + 1); + s.j___182298 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P155671.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +inline__P182287.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 inline__P155671_mk(s) { +function inline__P182287_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155671, depth: s.depth + 1, + parent: s, fn: inline__P182287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___155674: undefined, - j___155682: undefined, - x___155687: undefined, - y___155693: undefined, - c___155699: undefined, + rounds___182290: undefined, + j___182298: undefined, + x___182303: undefined, + y___182309: undefined, + c___182315: undefined, arg0: undefined, arg1: undefined, } } @@ -12304,7 +12347,7 @@ function inline__P155671_mk(s) { -function Math_FastRandom_randomRange__P148542(s) { +function Math_FastRandom_randomRange__P175158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12321,12 +12364,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C148538_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C175154_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__P148541_mk(s); + s.tmp_2 = Math_FastRandom_next__P175157_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1215; s.pc = 3; return s.tmp_2; case 3: @@ -12347,12 +12390,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P148542.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__P175158.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__P148542_mk(s) { +function Math_FastRandom_randomRange__P175158_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P148542, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P175158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12369,7 +12412,7 @@ function Math_FastRandom_randomRange__P148542_mk(s) { -function Math_FastRandom_next__P148541(s) { +function Math_FastRandom_next__P175157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12384,7 +12427,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C148538_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C175154_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -12405,12 +12448,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P148541.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__P175157.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__P148541_mk(s) { +function Math_FastRandom_next__P175157_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P148541, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P175157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12427,7 +12470,7 @@ function Math_FastRandom_next__P148541_mk(s) { -function effects_ImageEffect_constructor__P148769(s) { +function effects_ImageEffect_constructor__P175385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12444,11 +12487,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C148768_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C175384_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C148538_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C175154_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P148540_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P175156_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1516; s.pc = 1; return s.tmp_1; @@ -12461,12 +12504,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P148769.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__P175385.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__P148769_mk(s) { +function effects_ImageEffect_constructor__P175385_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P148769, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P175385, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12479,7 +12522,7 @@ function effects_ImageEffect_constructor__P148769_mk(s) { -function scene_Scene_init__P148393(s) { +function scene_Scene_init__P175009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12494,7 +12537,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C148371_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C174987_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12502,7 +12545,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P147652_mk(s); + s.tmp_1 = power_poke__P174268_mk(s); s.callLocIdx = 1051; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -12511,10 +12554,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, inline__P155791); + r0 = pxsim_pxtcore_mkAction(1, inline__P182407); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P146329_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P172945_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -12522,18 +12565,18 @@ switch (step) { s.callLocIdx = 1054; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P146329_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P172945_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P147869; + s.tmp_0.arg2 = controller__moveSprites__P174485; s.callLocIdx = 1055; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P155815); + r0 = pxsim_pxtcore_mkAction(1, inline__P182431); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P146329_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P172945_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -12541,10 +12584,10 @@ switch (step) { s.callLocIdx = 1057; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P155828); + r0 = pxsim_pxtcore_mkAction(1, inline__P182444); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P146329_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P172945_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -12552,10 +12595,10 @@ switch (step) { s.callLocIdx = 1061; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P155849); + r0 = pxsim_pxtcore_mkAction(1, inline__P182465); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P146329_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P172945_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -12563,10 +12606,10 @@ switch (step) { s.callLocIdx = 1063; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P155857); + r0 = pxsim_pxtcore_mkAction(1, inline__P182473); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P146329_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P172945_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -12574,19 +12617,19 @@ switch (step) { s.callLocIdx = 1067; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P146329_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P172945_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P147710; + s.tmp_0.arg2 = control___screen_update__P174326; s.callLocIdx = 1068; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P155886); + r0 = pxsim_pxtcore_mkAction(1, inline__P182502); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___148391; + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___175007; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1070; s.pc = 12; return s.tmp_1; case 12: @@ -12596,12 +12639,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P148393.info = {"start":4168,"length":2477,"line":122,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P175009.info = {"start":4168,"length":2477,"line":122,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -function scene_Scene_init__P148393_mk(s) { +function scene_Scene_init__P175009_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P148393, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P175009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12612,7 +12655,7 @@ function scene_Scene_init__P148393_mk(s) { -function inline__P155791(s) { +function inline__P182407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12631,7 +12674,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__P147897_mk(s); + s.tmp_0 = controller___update__P174513_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -12645,12 +12688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155791.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P182407.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P155791_mk(s) { +function inline__P182407_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155791, depth: s.depth + 1, + parent: s, fn: inline__P182407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12662,7 +12705,7 @@ function inline__P155791_mk(s) { -function inline__P155815(s) { +function inline__P182431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12672,7 +12715,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C148115_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C174731_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -12681,7 +12724,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C148115_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C174731_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: @@ -12690,12 +12733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155815.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P182431.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P155815_mk(s) { +function inline__P182431_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155815, depth: s.depth + 1, + parent: s, fn: inline__P182431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12706,7 +12749,7 @@ function inline__P155815_mk(s) { -function inline__P155828(s) { +function inline__P182444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12716,39 +12759,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___155829 = undefined; - s.s___155837 = undefined; - s.unnamed1060___U2 = undefined; - s.unnamed1061___U3 = undefined; + s.dt___182445 = undefined; + s.s___182453 = undefined; + s.unnamed1168___U2 = undefined; + s.unnamed1169___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___155829 = (r0); - s.tmp_0 = scene_Camera_update__P148328_mk(s); + s.dt___182445 = (r0); + s.tmp_0 = scene_Camera_update__P174944_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1059; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___155837 = (undefined); + s.s___182453 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed1060___U2 = (r0); - s.unnamed1061___U3 = (0); + s.unnamed1168___U2 = (r0); + s.unnamed1169___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1061___U3; - r0 = pxsim_Array__length(s.unnamed1060___U2); + s.tmp_0 = r0 = s.unnamed1169___U3; + r0 = pxsim_Array__length(s.unnamed1168___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1060___U2, s.unnamed1061___U3); - s.s___155837 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1168___U2, s.unnamed1169___U3); + s.s___182453 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___155837; + s.tmp_2.arg0 = s.s___182453; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___155829; + s.tmp_2.arg2 = s.dt___182445; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 1060; s.pc = 4; return s.tmp_2; @@ -12760,36 +12803,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed1061___U3 + 1); - s.unnamed1061___U3 = (r0); + r0 = (s.unnamed1169___U3 + 1); + s.unnamed1169___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1060___U2 = (undefined); + s.unnamed1168___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P155828.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P182444.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P155828_mk(s) { +function inline__P182444_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155828, depth: s.depth + 1, + parent: s, fn: inline__P182444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___155829: undefined, - s___155837: undefined, - unnamed1060___U2: undefined, - unnamed1061___U3: undefined, + dt___182445: undefined, + s___182453: undefined, + unnamed1168___U2: undefined, + unnamed1169___U3: undefined, } } -function inline__P155849(s) { +function inline__P182465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12799,7 +12842,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P148398_mk(s); + s.tmp_0 = scene_Scene_render__P175014_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1062; s.pc = 1; return s.tmp_0; case 1: @@ -12808,12 +12851,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155849.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P182465.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P155849_mk(s) { +function inline__P182465_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155849, depth: s.depth + 1, + parent: s, fn: inline__P182465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -12822,7 +12865,7 @@ function inline__P155849_mk(s) { -function inline__P155857(s) { +function inline__P182473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12832,26 +12875,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___148481; + s.tmp_0 = r0 = globals.stats___175097; 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___146324; + r0 = globals.control_EventContext_onStats___172940; 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___146324; - if ((globals.control_EventContext_lastStats___146323) && (globals.control_EventContext_lastStats___146323).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___172940; + if ((globals.control_EventContext_lastStats___172939) && (globals.control_EventContext_lastStats___172939).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___146323); + pxsim_String__stringConv(globals.control_EventContext_lastStats___172939); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___146323) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___172939) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -12887,23 +12930,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___148480); + r0 = pxsim_numops_toBoolDecr(globals.debug___175096); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C148115_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C174731_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C148115_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C174731_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__P148606_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P175222_mk(s); s.callLocIdx = 1065; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P147653_mk(s); + s.tmp_0 = power_checkDeepSleep__P174269_mk(s); s.callLocIdx = 1066; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -12911,12 +12954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155857.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P182473.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P155857_mk(s) { +function inline__P182473_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155857, depth: s.depth + 1, + parent: s, fn: inline__P182473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12933,7 +12976,7 @@ function inline__P155857_mk(s) { -function inline__P155886(s) { +function inline__P182502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12958,12 +13001,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155886.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P182502.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function inline__P155886_mk(s) { +function inline__P182502_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155886, depth: s.depth + 1, + parent: s, fn: inline__P182502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12973,7 +13016,7 @@ function inline__P155886_mk(s) { -function game_consoleOverlay_draw__P148606(s) { +function game_consoleOverlay_draw__P175222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12983,16 +13026,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___155935 = undefined; - s.top___155940 = undefined; - s.i___155946 = undefined; - s.t___155959 = undefined; - s.tOff___155966 = undefined; - s.tab___155968 = undefined; - s.unnamed1064___U6 = undefined; - s.unnamed1065___U7 = undefined; - s.padding___155970 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___150765); + s.height___182551 = undefined; + s.top___182556 = undefined; + s.i___182562 = undefined; + s.t___182575 = undefined; + s.tOff___182582 = undefined; + s.tab___182584 = undefined; + s.unnamed1172___U6 = undefined; + s.unnamed1173___U7 = undefined; + s.padding___182586 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___177381); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13001,7 +13044,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___150719); + r0 = pxsim_numops_toBoolDecr(globals.instance___177335); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -13017,7 +13060,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___150773; + s.tmp_7.arg0 = globals.consoleFont___177389; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -13030,10 +13073,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___155935 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___148481); + s.height___182551 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___175097); if (!r0) { step = 5; continue; } - r0 = s.height___155935; + r0 = s.height___182551; { step = 6; continue; } case 5: r0 = 0; @@ -13041,17 +13084,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___155940 = (r0); - s.i___155946 = (0); + s.top___182556 = (r0); + s.i___182562 = (0); case 7: - s.tmp_1 = r0 = s.i___155946; - r0 = pxsim_Array__length(globals.consoleStrings___150765); + s.tmp_1 = r0 = s.i___182562; + r0 = pxsim_Array__length(globals.consoleStrings___177381); 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___150765, s.i___155946); + r0 = pxsim_Array__getAt(globals.consoleStrings___177381, s.i___182562); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -13059,43 +13102,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P146054_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___150765, s.i___155946); + s.tmp_6 = helpers_stringSplit__P172670_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___177381, s.i___182562); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.callLocIdx = 1378; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___155959 = (r0); - s.tOff___155966 = (0); - s.tab___155968 = (undefined); - s.unnamed1064___U6 = (s.t___155959); - s.unnamed1065___U7 = (0); + s.t___182575 = (r0); + s.tOff___182582 = (0); + s.tab___182584 = (undefined); + s.unnamed1172___U6 = (s.t___182575); + s.unnamed1173___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed1065___U7; - r0 = pxsim_Array__length(s.unnamed1064___U6); + s.tmp_0 = r0 = s.unnamed1173___U7; + r0 = pxsim_Array__length(s.unnamed1172___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed1064___U6, s.unnamed1065___U7); - s.tab___155968 = (r0); - s.tmp_2 = r0 = globals.tabSize___150767; - s.tmp_5 = r0 = s.tOff___155966; - r0 = pxsim_String_.length(s.tab___155968); + r0 = pxsim_Array__getAt(s.unnamed1172___U6, s.unnamed1173___U7); + s.tab___182584 = (r0); + s.tmp_2 = r0 = globals.tabSize___177383; + s.tmp_5 = r0 = s.tOff___182582; + r0 = pxsim_String_.length(s.tab___182584); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___150767); + r0 = (s.tmp_4 % globals.tabSize___177383); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___155970 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_0.arg1 = s.tab___155968; - s.tmp_2 = r0 = s.tOff___155966; + s.padding___182586 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_0.arg1 = s.tab___182584; + s.tmp_2 = r0 = s.tOff___182582; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___150773; + s.tmp_4.arg0 = globals.consoleFont___177389; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -13111,50 +13154,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___155940; - r0 = (s.i___155946 * s.height___155935); + s.tmp_5 = r0 = s.top___182556; + r0 = (s.i___182562 * s.height___182551); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___150764; - s.tmp_0.arg5 = globals.consoleFont___150773; + s.tmp_0.arg4 = globals.consoleColor___177380; + s.tmp_0.arg5 = globals.consoleFont___177389; s.tmp_0.arg6 = undefined; s.callLocIdx = 1380; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___155966; - r0 = pxsim_String_.length(s.tab___155968); + s.tmp_0 = r0 = s.tOff___182582; + r0 = pxsim_String_.length(s.tab___182584); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___155970); + r0 = (s.tmp_2 + s.padding___182586); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___155966 = (r0); - r0 = (s.unnamed1065___U7 + 1); - s.unnamed1065___U7 = (r0); + s.tOff___182582 = (r0); + r0 = (s.unnamed1173___U7 + 1); + s.unnamed1173___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed1064___U6 = (undefined); + s.unnamed1172___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = pxsim_Array__getAt(globals.consoleStrings___150765, s.i___155946); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = pxsim_Array__getAt(globals.consoleStrings___177381, s.i___182562); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___155940; - r0 = (s.i___155946 * s.height___155935); + s.tmp_1 = r0 = s.top___182556; + r0 = (s.i___182562 * s.height___182551); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___150764; - s.tmp_0.arg5 = globals.consoleFont___150773; + s.tmp_0.arg4 = globals.consoleColor___177380; + s.tmp_0.arg5 = globals.consoleFont___177389; s.tmp_0.arg6 = undefined; s.callLocIdx = 1381; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___155946 + 1); - s.i___155946 = (r0); + r0 = (s.i___182562 + 1); + s.i___182562 = (r0); { step = 7; continue; } case 12: case 13: @@ -13162,12 +13205,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P148606.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__P175222.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__P148606_mk(s) { +function game_consoleOverlay_draw__P175222_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P148606, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P175222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13177,22 +13220,22 @@ function game_consoleOverlay_draw__P148606_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___155935: undefined, - top___155940: undefined, - i___155946: undefined, - t___155959: undefined, - tOff___155966: undefined, - tab___155968: undefined, - unnamed1064___U6: undefined, - unnamed1065___U7: undefined, - padding___155970: undefined, + height___182551: undefined, + top___182556: undefined, + i___182562: undefined, + t___182575: undefined, + tOff___182582: undefined, + tab___182584: undefined, + unnamed1172___U6: undefined, + unnamed1173___U7: undefined, + padding___182586: undefined, } } -function scene_systemMenu_isVisible__P148587(s) { +function scene_systemMenu_isVisible__P175203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13202,7 +13245,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___150719); + r0 = pxsim_numops_toBoolDecr(globals.instance___177335); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -13212,12 +13255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P148587.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__P175203.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__P148587_mk(s) { +function scene_systemMenu_isVisible__P175203_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P148587, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P175203, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13228,7 +13271,7 @@ function scene_systemMenu_isVisible__P148587_mk(s) { -function helpers_imagePrint__P147707(s) { +function helpers_imagePrint__P174323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13238,31 +13281,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___156042 = undefined; - s.cp___156044 = undefined; - s.mult___156045 = undefined; - s.dataW___156050 = undefined; - s.dataH___156056 = undefined; - s.byteHeight___156062 = undefined; - s.charSize___156068 = undefined; - s.dataSize___156072 = undefined; - s.fontdata___156076 = undefined; - s.lastchar___156079 = undefined; - s.imgBuf___156086 = undefined; - s.xOffset___156110 = undefined; - s.yOffset___156111 = undefined; - s.ch___156126 = undefined; - s.l___156145 = undefined; - s.r___156146 = undefined; - s.off___156148 = undefined; - s.guess___156149 = undefined; - s.m___156168 = undefined; - s.v___156177 = undefined; - s.i___156233 = undefined; - s.j___156238 = undefined; - s.mask___156239 = undefined; - s.c___156240 = undefined; - s.n___156257 = undefined; + s.x0___182658 = undefined; + s.cp___182660 = undefined; + s.mult___182661 = undefined; + s.dataW___182666 = undefined; + s.dataH___182672 = undefined; + s.byteHeight___182678 = undefined; + s.charSize___182684 = undefined; + s.dataSize___182688 = undefined; + s.fontdata___182692 = undefined; + s.lastchar___182695 = undefined; + s.imgBuf___182702 = undefined; + s.xOffset___182726 = undefined; + s.yOffset___182727 = undefined; + s.ch___182742 = undefined; + s.l___182761 = undefined; + s.r___182762 = undefined; + s.off___182764 = undefined; + s.guess___182765 = undefined; + s.m___182784 = undefined; + s.v___182793 = undefined; + s.i___182849 = undefined; + s.j___182854 = undefined; + s.mask___182855 = undefined; + s.c___182856 = undefined; + s.n___182873 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13283,7 +13326,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P147694_mk(s); + s.tmp_2 = image_getFontForText__P174310_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 157; s.pc = 39; return s.tmp_2; case 39: @@ -13300,8 +13343,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___156042 = (s.arg2); - s.cp___156044 = (0); + s.x0___182658 = (s.arg2); + s.cp___182660 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -13335,7 +13378,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___156045 = (s.tmp_3); + s.mult___182661 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -13349,8 +13392,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___156045); - s.dataW___156050 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___182661); + s.dataW___182666 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -13364,16 +13407,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___156045); - s.dataH___156056 = (r0); - r0 = (s.dataH___156056 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___182661); + s.dataH___182672 = (r0); + r0 = (s.dataH___182672 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___156062 = (r0); - r0 = (s.byteHeight___156062 * s.dataW___156050); - s.charSize___156068 = (r0); - r0 = (2 + s.charSize___156068); - s.dataSize___156072 = (r0); + s.byteHeight___182678 = (r0); + r0 = (s.byteHeight___182678 * s.dataW___182666); + s.charSize___182684 = (r0); + r0 = (2 + s.charSize___182684); + s.dataSize___182688 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -13386,44 +13429,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___156076 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___156076); + s.fontdata___182692 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___182692); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___156072); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___182688); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___156079 = (r0); - r0 = (s.mult___156045 == 1); + s.lastchar___182695 = (r0); + r0 = (s.mult___182661 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___156068); + r0 = (8 + s.charSize___182684); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___156086 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___156086, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___156086, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___156086, 2, s.dataW___156050); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___156086, 4, s.dataH___156056); + s.imgBuf___182702 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___182702, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___182702, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___182702, 2, s.dataW___182666); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___182702, 4, s.dataH___182672); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___156044; + s.tmp_1 = r0 = s.cp___182660; 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___156110 = (0); - s.yOffset___156111 = (0); + s.xOffset___182726 = (0); + s.yOffset___182727 = (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___156044; + s.tmp_1 = r0 = s.cp___182660; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -13433,7 +13476,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___156044); + r0 = pxsim_Array__getAt(s.arg6, s.cp___182660); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -13445,9 +13488,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___156110 = (r0); + s.xOffset___182726 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___156044); + r0 = pxsim_Array__getAt(s.arg6, s.cp___182660); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -13459,15 +13502,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___156111 = (r0); + s.yOffset___182727 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___156044; + s.tmp_0 = r0 = s.cp___182660; r0 = (s.tmp_0 + 1); - s.cp___156044 = (r0); + s.cp___182660 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___156126 = (r0); - r0 = (s.ch___156126 == 10); + s.ch___182742 = (r0); + r0 = (s.ch___182742 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -13489,89 +13532,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___156042); + s.arg2 = (s.x0___182658); case 14: case 15: - r0 = (s.ch___156126 < 32); + r0 = (s.ch___182742 < 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___156145 = (0); - s.r___156146 = (s.lastchar___156079); - s.off___156148 = (0); - r0 = (s.ch___156126 - 32); + s.l___182761 = (0); + s.r___182762 = (s.lastchar___182695); + s.off___182764 = (0); + r0 = (s.ch___182742 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___156072); - s.guess___156149 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___156076, 4, s.guess___156149); + r0 = (s.tmp_0 * s.dataSize___182688); + s.guess___182765 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___182692, 4, s.guess___182765); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___156126); + r0 = (s.tmp_1 == s.ch___182742); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___156148 = (s.guess___156149); + s.off___182764 = (s.guess___182765); { step = 25; continue; } case 18: case 19: - r0 = (s.l___156145 <= s.r___156146); + r0 = (s.l___182761 <= s.r___182762); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___156145; - r0 = (s.r___156146 - s.l___156145); + s.tmp_1 = r0 = s.l___182761; + r0 = (s.r___182762 - s.l___182761); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___156168 = (r0); - s.tmp_0 = r0 = s.fontdata___156076; - r0 = (s.m___156168 * s.dataSize___156072); + s.m___182784 = (r0); + s.tmp_0 = r0 = s.fontdata___182692; + r0 = (s.m___182784 * s.dataSize___182688); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___156177 = (r0); - r0 = (s.v___156177 == s.ch___156126); + s.v___182793 = (r0); + r0 = (s.v___182793 == s.ch___182742); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___156168 * s.dataSize___156072); - s.off___156148 = (r0); + r0 = (s.m___182784 * s.dataSize___182688); + s.off___182764 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___156177 < s.ch___156126); + r0 = (s.v___182793 < s.ch___182742); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___156168 + 1); - s.l___156145 = (r0); + r0 = (s.m___182784 + 1); + s.l___182761 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___156168 - 1); - s.r___156146 = (r0); + r0 = (s.m___182784 - 1); + s.r___182762 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___156045 == 1); + r0 = (s.mult___182661 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___156086; - s.tmp_3 = r0 = s.fontdata___156076; - r0 = (s.off___156148 + 2); + s.tmp_1 = r0 = s.imgBuf___182702; + s.tmp_3 = r0 = s.fontdata___182692; + r0 = (s.off___182764 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___156068); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___182684); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P147674_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P174290_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___156086; - r0 = (s.arg2 + s.xOffset___156110); + s.tmp_0.arg1 = s.imgBuf___182702; + r0 = (s.arg2 + s.xOffset___182726); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___156111); + r0 = (s.arg3 + s.yOffset___182727); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 166; s.pc = 48; return s.tmp_0; @@ -13595,88 +13638,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___156148 + 2); - s.off___156148 = (r0); - s.i___156233 = (0); + r0 = (s.off___182764 + 2); + s.off___182764 = (r0); + s.i___182849 = (0); case 27: - r0 = (s.i___156233 < s.dataW___156050); + r0 = (s.i___182849 < s.dataW___182666); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___156238 = (0); - s.mask___156239 = (1); - s.tmp_0 = r0 = s.off___156148; + s.j___182854 = (0); + s.mask___182855 = (1); + s.tmp_0 = r0 = s.off___182764; r0 = (s.tmp_0 + 1); - s.off___156148 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___156076, s.tmp_0); - s.c___156240 = (r0); + s.off___182764 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___182692, s.tmp_0); + s.c___182856 = (r0); case 28: - r0 = (s.j___156238 < s.dataH___156056); + r0 = (s.j___182854 < s.dataH___182672); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___156239 == 256); + r0 = (s.mask___182855 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___156148; + s.tmp_2 = r0 = s.off___182764; r0 = (s.tmp_2 + 1); - s.off___156148 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___156076, s.tmp_2); - s.c___156240 = (r0); - s.mask___156239 = (1); + s.off___182764 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___182692, s.tmp_2); + s.c___182856 = (r0); + s.mask___182855 = (1); case 29: case 30: - s.n___156257 = (0); + s.n___182873 = (0); case 31: - r0 = (s.c___156240 & s.mask___156239); + r0 = (s.c___182856 & s.mask___182855); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___156257 + 1); - s.n___156257 = (r0); - r0 = (s.mask___156239 << 1); - s.mask___156239 = (r0); + r0 = (s.n___182873 + 1); + s.n___182873 = (r0); + r0 = (s.mask___182855 << 1); + s.mask___182855 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___156257); + r0 = pxsim_numops_toBoolDecr(s.n___182873); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___156110 * s.mult___156045); + r0 = (s.xOffset___182726 * s.mult___182661); 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___156238 + s.yOffset___156111); + r0 = (s.j___182854 + s.yOffset___182727); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___156045); + r0 = (s.tmp_5 * s.mult___182661); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___156045; - r0 = (s.mult___156045 * s.n___156257); + s.tmp_0.arg3 = s.mult___182661; + r0 = (s.mult___182661 * s.n___182873); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 168; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___156238 + s.n___156257); - s.j___156238 = (r0); + r0 = (s.j___182854 + s.n___182873); + s.j___182854 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___156239 << 1); - s.mask___156239 = (r0); - r0 = (s.j___156238 + 1); - s.j___156238 = (r0); + r0 = (s.mask___182855 << 1); + s.mask___182855 = (r0); + r0 = (s.j___182854 + 1); + s.j___182854 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___156045); + r0 = (s.arg2 + s.mult___182661); s.arg2 = (r0); - r0 = (s.i___156233 + 1); - s.i___156233 = (r0); + r0 = (s.i___182849 + 1); + s.i___182849 = (r0); { step = 27; continue; } case 36: case 37: @@ -13686,12 +13729,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P147707.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__P174323.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__P147707_mk(s) { +function helpers_imagePrint__P174323_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P147707, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P174323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13699,31 +13742,31 @@ function helpers_imagePrint__P147707_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___156042: undefined, - cp___156044: undefined, - mult___156045: undefined, - dataW___156050: undefined, - dataH___156056: undefined, - byteHeight___156062: undefined, - charSize___156068: undefined, - dataSize___156072: undefined, - fontdata___156076: undefined, - lastchar___156079: undefined, - imgBuf___156086: undefined, - xOffset___156110: undefined, - yOffset___156111: undefined, - ch___156126: undefined, - l___156145: undefined, - r___156146: undefined, - off___156148: undefined, - guess___156149: undefined, - m___156168: undefined, - v___156177: undefined, - i___156233: undefined, - j___156238: undefined, - mask___156239: undefined, - c___156240: undefined, - n___156257: undefined, + x0___182658: undefined, + cp___182660: undefined, + mult___182661: undefined, + dataW___182666: undefined, + dataH___182672: undefined, + byteHeight___182678: undefined, + charSize___182684: undefined, + dataSize___182688: undefined, + fontdata___182692: undefined, + lastchar___182695: undefined, + imgBuf___182702: undefined, + xOffset___182726: undefined, + yOffset___182727: undefined, + ch___182742: undefined, + l___182761: undefined, + r___182762: undefined, + off___182764: undefined, + guess___182765: undefined, + m___182784: undefined, + v___182793: undefined, + i___182849: undefined, + j___182854: undefined, + mask___182855: undefined, + c___182856: undefined, + n___182873: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13737,7 +13780,7 @@ function helpers_imagePrint__P147707_mk(s) { -function helpers_imageFillRect__P147675(s) { +function helpers_imageFillRect__P174291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13757,14 +13800,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P150204_mk(s); + s.tmp_2 = helpers_pack__P176820_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 137; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P150204_mk(s); + s.tmp_4 = helpers_pack__P176820_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 138; s.pc = 2; return s.tmp_4; @@ -13776,12 +13819,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P147675.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P174291.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P147675_mk(s) { +function helpers_imageFillRect__P174291_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P147675, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P174291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13800,7 +13843,7 @@ function helpers_imageFillRect__P147675_mk(s) { -function helpers_pack__P150204(s) { +function helpers_pack__P176820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13815,7 +13858,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P146059_mk(s); + s.tmp_2 = Math_clamp__P172675_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -13826,7 +13869,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P146059_mk(s); + s.tmp_5 = Math_clamp__P172675_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -13841,12 +13884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P150204.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P176820.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P150204_mk(s) { +function helpers_pack__P176820_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P150204, depth: s.depth + 1, + parent: s, fn: helpers_pack__P176820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13862,7 +13905,7 @@ function helpers_pack__P150204_mk(s) { -function helpers_imageDrawIcon__P147674(s) { +function helpers_imageDrawIcon__P174290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13882,7 +13925,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P150204_mk(s); + s.tmp_3 = helpers_pack__P176820_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 136; s.pc = 1; return s.tmp_3; @@ -13894,12 +13937,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P147674.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P174290.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P147674_mk(s) { +function helpers_imageDrawIcon__P174290_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P147674, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P174290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13916,7 +13959,7 @@ function helpers_imageDrawIcon__P147674_mk(s) { -function scene_Scene_render__P148398(s) { +function scene_Scene_render__P175014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13926,15 +13969,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___156414 = undefined; - s.unnamed1062___U1 = undefined; - s.unnamed1063___U2 = undefined; + s.s___183030 = undefined; + s.unnamed1170___U1 = undefined; + s.unnamed1171___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C148371_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C174987_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -13965,7 +14008,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__P148398_mk(s); + s.tmp_3 = scene_Scene_render__P175014_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.callLocIdx = 1072; s.pc = 12; return s.tmp_3; @@ -13973,7 +14016,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P148232_mk(s); + s.tmp_0 = scene_Background_draw__P174848_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1073; s.pc = 13; return s.tmp_0; @@ -13986,10 +14029,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P146038_mk(s); + s.tmp_2 = helpers_arraySort__P172654_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P156391; + s.tmp_2.arg1 = inline__P183007; s.callLocIdx = 1078; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -14001,20 +14044,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___156414 = (undefined); + s.s___183030 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed1062___U1 = (r0); - s.unnamed1063___U2 = (0); + s.unnamed1170___U1 = (r0); + s.unnamed1171___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed1063___U2; - r0 = pxsim_Array__length(s.unnamed1062___U1); + s.tmp_0 = r0 = s.unnamed1171___U2; + r0 = pxsim_Array__length(s.unnamed1170___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed1062___U1, s.unnamed1063___U2); - s.s___156414 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1170___U1, s.unnamed1171___U2); + s.s___183030 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___156414; + s.tmp_2.arg0 = s.s___183030; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -14028,11 +14071,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed1063___U2 + 1); - s.unnamed1063___U2 = (r0); + r0 = (s.unnamed1171___U2 + 1); + s.unnamed1171___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed1062___U1 = (undefined); + s.unnamed1170___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -14044,21 +14087,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P148398.info = {"start":7844,"length":917,"line":221,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P175014.info = {"start":7844,"length":917,"line":221,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -function scene_Scene_render__P148398_mk(s) { +function scene_Scene_render__P175014_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P148398, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P175014, 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___156414: undefined, - unnamed1062___U1: undefined, - unnamed1063___U2: undefined, + s___183030: undefined, + unnamed1170___U1: undefined, + unnamed1171___U2: undefined, arg0: undefined, } } @@ -14066,7 +14109,7 @@ function scene_Scene_render__P148398_mk(s) { -function inline__P156391(s) { +function inline__P183007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14148,12 +14191,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P156391.info = {"start":8422,"length":52,"line":235,"column":37,"endLine":235,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P183007.info = {"start":8422,"length":52,"line":235,"column":37,"endLine":235,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P156391_mk(s) { +function inline__P183007_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P156391, depth: s.depth + 1, + parent: s, fn: inline__P183007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14173,7 +14216,7 @@ function inline__P156391_mk(s) { -function scene_Background_draw__P148232(s) { +function scene_Background_draw__P174848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14188,27 +14231,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C148223_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C174839_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___147749, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___174365, 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___147749, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___174365, 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, inline__P156562); + r0 = pxsim_pxtcore_mkAction(1, inline__P183178); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P146042_mk(s); + s.tmp_2 = helpers_arrayForEach__P172658_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -14221,12 +14264,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P148232.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__P174848.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__P148232_mk(s) { +function scene_Background_draw__P174848_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P148232, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P174848, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14238,7 +14281,7 @@ function scene_Background_draw__P148232_mk(s) { -function inline__P156562(s) { +function inline__P183178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14248,8 +14291,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___156564 = undefined; - s.oy___156575 = undefined; + s.ox___183180 = undefined; + s.oy___183191 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -14264,7 +14307,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___156564 = (r0); + s.ox___183180 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -14275,11 +14318,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___156575 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P148241_mk(s); + s.oy___183191 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P174857_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___156564; - s.tmp_0.arg2 = s.oy___156575; + s.tmp_0.arg1 = s.ox___183180; + s.tmp_0.arg2 = s.oy___183191; s.callLocIdx = 903; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -14287,19 +14330,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P156562.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P183178.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} -function inline__P156562_mk(s) { +function inline__P183178_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P156562, depth: s.depth + 1, + parent: s, fn: inline__P183178, 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___156564: undefined, - oy___156575: undefined, + ox___183180: undefined, + oy___183191: undefined, arg0: undefined, } } @@ -14307,7 +14350,7 @@ function inline__P156562_mk(s) { -function scene_BackgroundLayer_draw__P148241(s) { +function scene_BackgroundLayer_draw__P174857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14317,19 +14360,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___156593 = undefined; - s.h___156596 = undefined; - s.pw___156599 = undefined; - s.ph___156603 = undefined; - s.rx___156612 = undefined; - s.ry___156615 = undefined; - s.y___156684 = undefined; - s.py___156685 = undefined; - s.dh___156694 = undefined; - s.x___156702 = undefined; - s.rxl___156703 = undefined; - s.px___156709 = undefined; - s.dw___156713 = undefined; + s.w___183209 = undefined; + s.h___183212 = undefined; + s.pw___183215 = undefined; + s.ph___183219 = undefined; + s.rx___183228 = undefined; + s.ry___183231 = undefined; + s.y___183300 = undefined; + s.py___183301 = undefined; + s.dh___183310 = undefined; + s.x___183318 = undefined; + s.rxl___183319 = undefined; + s.px___183325 = undefined; + s.dw___183329 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14337,20 +14380,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C148233_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___147749); - s.w___156593 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___147749); - s.h___156596 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C174849_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___174365); + s.w___183209 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___174365); + s.h___183212 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___156599 = (r0); + s.pw___183215 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___156603 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___156599); + s.ph___183219 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___183215); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -14359,7 +14402,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___156603); + r0 = pxsim_numops_toBoolDecr(s.ph___183219); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -14371,9 +14414,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___156612 = (r0); + s.rx___183228 = (r0); r0 = (0 - s.arg2); - s.ry___156615 = (r0); + s.ry___183231 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -14383,20 +14426,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___156612; - r0 = (s.w___156593 + s.pw___156599); + s.tmp_1 = r0 = s.rx___183228; + r0 = (s.w___183209 + s.pw___183215); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___156612 = (r0); + s.rx___183228 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___156612; - r0 = (s.w___156593 + s.pw___156599); + s.tmp_0 = r0 = s.rx___183228; + r0 = (s.w___183209 + s.pw___183215); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___156612 = (r0); + s.rx___183228 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -14407,120 +14450,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___156615; - r0 = (s.h___156596 + s.ph___156603); + s.tmp_1 = r0 = s.ry___183231; + r0 = (s.h___183212 + s.ph___183219); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___156615 = (r0); + s.ry___183231 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___156615; - r0 = (s.h___156596 + s.ph___156603); + s.tmp_0 = r0 = s.ry___183231; + r0 = (s.h___183212 + s.ph___183219); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___156615 = (r0); + s.ry___183231 = (r0); case 10: - r0 = (s.rx___156612 % s.w___156593); - s.rx___156612 = (r0); - r0 = (s.rx___156612 < 0); + r0 = (s.rx___183228 % s.w___183209); + s.rx___183228 = (r0); + r0 = (s.rx___183228 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___156612 + s.w___156593); - s.rx___156612 = (r0); + r0 = (s.rx___183228 + s.w___183209); + s.rx___183228 = (r0); case 11: case 12: - r0 = (s.ry___156615 % s.h___156596); - s.ry___156615 = (r0); - r0 = (s.ry___156615 < 0); + r0 = (s.ry___183231 % s.h___183212); + s.ry___183231 = (r0); + r0 = (s.ry___183231 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___156615 + s.h___156596); - s.ry___156615 = (r0); + r0 = (s.ry___183231 + s.h___183212); + s.ry___183231 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___156612); - s.rx___156612 = (r0); - r0 = pxsim.Math_.floor(s.ry___156615); - s.ry___156615 = (r0); - s.y___156684 = (0); - s.py___156685 = (0); + r0 = pxsim.Math_.floor(s.rx___183228); + s.rx___183228 = (r0); + r0 = pxsim.Math_.floor(s.ry___183231); + s.ry___183231 = (r0); + s.y___183300 = (0); + s.py___183301 = (0); case 15: - r0 = (s.y___156684 < s.h___156596); + r0 = (s.y___183300 < s.h___183212); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___156684 % s.ph___156603); - s.py___156685 = (r0); - s.tmp_0 = Math_min__P146063_mk(s); - r0 = (s.ph___156603 - s.py___156685); + r0 = (s.y___183300 % s.ph___183219); + s.py___183301 = (r0); + s.tmp_0 = Math_min__P172679_mk(s); + r0 = (s.ph___183219 - s.py___183301); s.tmp_0.arg0 = r0; - r0 = (s.h___156596 - s.ry___156615); + r0 = (s.h___183212 - s.ry___183231); s.tmp_0.arg1 = r0; s.callLocIdx = 906; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___156694 = (r0); - s.x___156702 = (0); - s.rxl___156703 = (s.rx___156612); + s.dh___183310 = (r0); + s.x___183318 = (0); + s.rxl___183319 = (s.rx___183228); case 16: - r0 = (s.x___156702 < s.w___156593); + r0 = (s.x___183318 < s.w___183209); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___156702 % s.pw___156599); - s.px___156709 = (r0); - s.tmp_0 = Math_min__P146063_mk(s); - r0 = (s.pw___156599 - s.px___156709); + r0 = (s.x___183318 % s.pw___183215); + s.px___183325 = (r0); + s.tmp_0 = Math_min__P172679_mk(s); + r0 = (s.pw___183215 - s.px___183325); s.tmp_0.arg0 = r0; - r0 = (s.w___156593 - s.rxl___156703); + r0 = (s.w___183209 - s.rxl___183319); s.tmp_0.arg1 = r0; s.callLocIdx = 907; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___156713 = (r0); + s.dw___183329 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___147749, s.tmp_0, s.rxl___156703, s.ry___156615); - r0 = (s.rxl___156703 + s.dw___156713); + r0 = pxsim_ImageMethods.drawImage(globals.screen___174365, s.tmp_0, s.rxl___183319, s.ry___183231); + r0 = (s.rxl___183319 + s.dw___183329); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___156593); - s.rxl___156703 = (r0); + r0 = (s.tmp_0 % s.w___183209); + s.rxl___183319 = (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___156713; + r0 = s.dw___183329; { step = 18; continue; } case 17: - r0 = s.w___156593; + r0 = s.w___183209; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___156702 + s.tmp_1); - s.x___156702 = (r0); + r0 = (s.x___183318 + s.tmp_1); + s.x___183318 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___156615 + s.dh___156694); + r0 = (s.ry___183231 + s.dh___183310); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___156596); - s.ry___156615 = (r0); + r0 = (s.tmp_0 % s.h___183212); + s.ry___183231 = (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___156694; + r0 = s.dh___183310; { step = 21; continue; } case 20: - r0 = s.h___156596; + r0 = s.h___183212; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___156684 + s.tmp_1); - s.y___156684 = (r0); + r0 = (s.y___183300 + s.tmp_1); + s.y___183300 = (r0); { step = 15; continue; } case 22: case 23: @@ -14528,30 +14571,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P148241.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__P174857.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__P148241_mk(s) { +function scene_BackgroundLayer_draw__P174857_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P148241, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P174857, 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___156593: undefined, - h___156596: undefined, - pw___156599: undefined, - ph___156603: undefined, - rx___156612: undefined, - ry___156615: undefined, - y___156684: undefined, - py___156685: undefined, - dh___156694: undefined, - x___156702: undefined, - rxl___156703: undefined, - px___156709: undefined, - dw___156713: undefined, + w___183209: undefined, + h___183212: undefined, + pw___183215: undefined, + ph___183219: undefined, + rx___183228: undefined, + ry___183231: undefined, + y___183300: undefined, + py___183301: undefined, + dh___183310: undefined, + x___183318: undefined, + rxl___183319: undefined, + px___183325: undefined, + dw___183329: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -14561,7 +14604,7 @@ function scene_BackgroundLayer_draw__P148241_mk(s) { -function helpers_arraySort__P146038(s) { +function helpers_arraySort__P172654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14593,10 +14636,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (inline__P156436); + s.arg1 = (inline__P183052); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P150051_mk(s); + s.tmp_0 = helpers_sortHelper__P176667_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 3; s.pc = 5; return s.tmp_0; @@ -14605,12 +14648,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P146038.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__P172654.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__P146038_mk(s) { +function helpers_arraySort__P172654_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P146038, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P172654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14624,7 +14667,7 @@ function helpers_arraySort__P146038_mk(s) { -function inline__P156436(s) { +function inline__P183052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14634,26 +14677,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___156439 = undefined; - s.bIsUndef___156443 = undefined; - s.aIsNull___156454 = undefined; - s.bIsNull___156458 = undefined; + s.aIsUndef___183055 = undefined; + s.bIsUndef___183059 = undefined; + s.aIsNull___183070 = undefined; + s.bIsNull___183074 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___156439 = (r0); + s.aIsUndef___183055 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___156443 = (r0); - s.tmp_0 = r0 = s.aIsUndef___156439; + s.bIsUndef___183059 = (r0); + s.tmp_0 = r0 = s.aIsUndef___183055; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___156443; + r0 = s.bIsUndef___183059; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -14663,13 +14706,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___156439); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___183055); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___156443); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___183059); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -14678,16 +14721,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___156454 = (r0); + s.aIsNull___183070 = (r0); r0 = (s.arg1 === null); - s.bIsNull___156458 = (r0); - s.tmp_0 = r0 = s.aIsNull___156454; + s.bIsNull___183074 = (r0); + s.tmp_0 = r0 = s.aIsNull___183070; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___156458; + r0 = s.bIsNull___183074; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -14697,13 +14740,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___156454); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___183070); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___156458); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___183074); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -14742,12 +14785,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P156436.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"]} +inline__P183052.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 inline__P156436_mk(s) { +function inline__P183052_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P156436, depth: s.depth + 1, + parent: s, fn: inline__P183052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14757,10 +14800,10 @@ function inline__P156436_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___156439: undefined, - bIsUndef___156443: undefined, - aIsNull___156454: undefined, - bIsNull___156458: undefined, + aIsUndef___183055: undefined, + bIsUndef___183059: undefined, + aIsNull___183070: undefined, + bIsNull___183074: undefined, arg0: undefined, arg1: undefined, } } @@ -14769,7 +14812,7 @@ function inline__P156436_mk(s) { -function helpers_sortHelper__P150051(s) { +function helpers_sortHelper__P176667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14779,9 +14822,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___156493 = undefined; - s.i___156496 = undefined; - s.j___156502 = undefined; + s.len___183109 = undefined; + s.i___183112 = undefined; + s.j___183118 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14809,28 +14852,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___156493 = (r0); - s.i___156496 = (0); + s.len___183109 = (r0); + s.i___183112 = (0); case 5: - s.tmp_1 = r0 = s.i___156496; - r0 = (s.len___156493 - 1); + s.tmp_1 = r0 = s.i___183112; + r0 = (s.len___183109 - 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___156496 + 1); - s.j___156502 = (r0); + r0 = (s.i___183112 + 1); + s.j___183118 = (r0); case 6: - r0 = (s.j___156502 < s.len___156493); + r0 = (s.j___183118 < s.len___183109); 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___156496); + r0 = pxsim_Array__getAt(s.arg0, s.i___183112); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___156502); + r0 = pxsim_Array__getAt(s.arg0, s.j___183118); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 1; s.pc = 12; return s.tmp_3; @@ -14841,21 +14884,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P150050_mk(s); + s.tmp_4 = helpers_swap__P176666_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___156496; - s.tmp_4.arg2 = s.j___156502; + s.tmp_4.arg1 = s.i___183112; + s.tmp_4.arg2 = s.j___183118; s.callLocIdx = 2; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___156502 + 1); - s.j___156502 = (r0); + r0 = (s.j___183118 + 1); + s.j___183118 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___156496 + 1); - s.i___156496 = (r0); + r0 = (s.i___183112 + 1); + s.i___183112 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -14863,21 +14906,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P150051.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__P176667.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__P150051_mk(s) { +function helpers_sortHelper__P176667_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P150051, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P176667, 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___156493: undefined, - i___156496: undefined, - j___156502: undefined, + len___183109: undefined, + i___183112: undefined, + j___183118: undefined, arg0: undefined, arg1: undefined, } } @@ -14886,7 +14929,7 @@ function helpers_sortHelper__P150051_mk(s) { -function helpers_swap__P150050(s) { +function helpers_swap__P176666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14896,7 +14939,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___156531 = undefined; + s.temp___183147 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14904,28 +14947,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___156531 = (r0); + s.temp___183147 = (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___156531); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___183147); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P150050.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__P176666.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__P150050_mk(s) { +function helpers_swap__P176666_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P150050, depth: s.depth + 1, + parent: s, fn: helpers_swap__P176666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___156531: undefined, + temp___183147: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -14935,7 +14978,7 @@ function helpers_swap__P150050_mk(s) { -function scene_Camera_update__P148328(s) { +function scene_Camera_update__P174944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14945,32 +14988,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___156794 = undefined; - s.percentComplete___156808 = undefined; - s.damp___156815 = undefined; - s.f___156824 = undefined; - s.x___156830 = undefined; - s.y___156837 = undefined; + s.elapsed___183410 = undefined; + s.percentComplete___183424 = undefined; + s.damp___183431 = undefined; + s.f___183440 = undefined; + s.x___183446 = undefined; + s.y___183453 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C148312_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = scene_Camera_offsetX__P148318_mk(s); + s.tmp_1 = scene_Camera_offsetX__P174934_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P147979_mk(s); + s.tmp_3 = Sprite_x__P174595_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 1033; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; @@ -14979,16 +15022,16 @@ switch (step) { s.callLocIdx = 1034; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P148320_mk(s); + s.tmp_0 = scene_Camera_offsetY__P174936_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P147981_mk(s); + s.tmp_2 = Sprite_y__P174597_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 1035; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -14999,7 +15042,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P148318_mk(s); + s.tmp_0 = scene_Camera_offsetX__P174934_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; @@ -15009,7 +15052,7 @@ switch (step) { s.callLocIdx = 1038; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P148320_mk(s); + s.tmp_0 = scene_Camera_offsetY__P174936_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; @@ -15038,10 +15081,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___156794 = (r0); + s.elapsed___183410 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___156794 >= s.tmp_1); + r0 = (s.elapsed___183410 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -15050,49 +15093,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___156794 / s.tmp_0); - s.percentComplete___156808 = (r0); - s.damp___156815 = (1); - r0 = (s.percentComplete___156808 >= 0.75); + r0 = (s.elapsed___183410 / s.tmp_0); + s.percentComplete___183424 = (r0); + s.damp___183431 = (1); + r0 = (s.percentComplete___183424 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P146062_mk(s); + s.tmp_1 = Math_max__P172678_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___156808); + r0 = (1 - s.percentComplete___183424); s.tmp_1.arg1 = r0; s.callLocIdx = 1043; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___156815 = (r0); + s.damp___183431 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___156815); - s.f___156824 = (r0); + r0 = (s.tmp_0 * s.damp___183431); + s.f___183440 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___156824); + r0 = (s.tmp_1 * s.f___183440); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___156830 = (r0); + s.x___183446 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___156824); + r0 = (s.tmp_1 * s.f___183440); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___156837 = (r0); + s.y___183453 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___156830); + r0 = (s.tmp_2 + s.x___183446); 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___156837); + r0 = (s.tmp_2 + s.y___183453); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -15102,12 +15145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P148328.info = {"start":2297,"length":1397,"line":77,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P174944.info = {"start":2297,"length":1397,"line":77,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P148328_mk(s) { +function scene_Camera_update__P174944_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P148328, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P174944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15115,12 +15158,12 @@ function scene_Camera_update__P148328_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___156794: undefined, - percentComplete___156808: undefined, - damp___156815: undefined, - f___156824: undefined, - x___156830: undefined, - y___156837: undefined, + elapsed___183410: undefined, + percentComplete___183424: undefined, + damp___183431: undefined, + f___183440: undefined, + x___183446: undefined, + y___183453: undefined, arg0: undefined, } } @@ -15128,7 +15171,7 @@ function scene_Camera_update__P148328_mk(s) { -function scene_Camera_offsetY__P148320(s) { +function scene_Camera_offsetY__P174936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15138,27 +15181,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___156856 = undefined; + s.scene___183472 = 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__C148312_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1030; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___156856 = (r0); - r0 = s.scene___156856.fields["tileMap"]; + s.scene___183472 = (r0); + r0 = s.scene___183472.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___156856.fields["tileMap"]; + r0 = s.scene___183472.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -15175,8 +15218,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_9 = tiles_TileMap_offsetY__P148281_mk(s); - r0 = s.scene___156856.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P174897_mk(s); + r0 = s.scene___183472.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 1032; s.pc = 6; return s.tmp_9; @@ -15192,12 +15235,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P148320.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} +scene_Camera_offsetY__P174936.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} -function scene_Camera_offsetY__P148320_mk(s) { +function scene_Camera_offsetY__P174936_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P148320, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P174936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15209,7 +15252,7 @@ function scene_Camera_offsetY__P148320_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___156856: undefined, + scene___183472: undefined, arg0: undefined, arg1: undefined, } } @@ -15218,7 +15261,7 @@ function scene_Camera_offsetY__P148320_mk(s) { -function tiles_TileMap_enabled__P148286(s) { +function tiles_TileMap_enabled__P174902(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15233,7 +15276,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -15246,13 +15289,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P148286.info = {"start":7163,"length":66,"line":262,"column":8,"endLine":264,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P148286.isGetter = true; +tiles_TileMap_enabled__P174902.info = {"start":7163,"length":66,"line":262,"column":8,"endLine":264,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P174902.isGetter = true; -function tiles_TileMap_enabled__P148286_mk(s) { +function tiles_TileMap_enabled__P174902_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P148286, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P174902, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15265,7 +15308,7 @@ function tiles_TileMap_enabled__P148286_mk(s) { -function tiles_TileMap_offsetY__P148281(s) { +function tiles_TileMap_offsetY__P174897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15281,17 +15324,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P146059_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P172675_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P146062_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P148283_mk(s); + s.tmp_1 = Math_max__P172678_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P174899_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 929; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -15307,12 +15350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P148281.info = {"start":6616,"length":123,"line":240,"column":8,"endLine":242,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P174897.info = {"start":6616,"length":123,"line":240,"column":8,"endLine":242,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_TileMap_offsetY__P148281_mk(s) { +function tiles_TileMap_offsetY__P174897_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P148281, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P174897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15327,7 +15370,7 @@ function tiles_TileMap_offsetY__P148281_mk(s) { -function tiles_TileMap_areaHeight__P148283(s) { +function tiles_TileMap_areaHeight__P174899(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15342,7 +15385,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -15364,12 +15407,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P148283.info = {"start":6850,"length":93,"line":248,"column":8,"endLine":250,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P174899.info = {"start":6850,"length":93,"line":248,"column":8,"endLine":250,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_TileMap_areaHeight__P148283_mk(s) { +function tiles_TileMap_areaHeight__P174899_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P148283, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P174899, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15383,7 +15426,7 @@ function tiles_TileMap_areaHeight__P148283_mk(s) { -function tiles_TileMap_scale__P148278(s) { +function tiles_TileMap_scale__P174894(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15398,18 +15441,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P148278.info = {"start":6181,"length":55,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P148278.isGetter = true; +tiles_TileMap_scale__P174894.info = {"start":6181,"length":55,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P174894.isGetter = true; -function tiles_TileMap_scale__P148278_mk(s) { +function tiles_TileMap_scale__P174894_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P148278, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P174894, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15418,7 +15461,7 @@ function tiles_TileMap_scale__P148278_mk(s) { -function tiles_TileMapData_height__P148265(s) { +function tiles_TileMapData_height__P174881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15433,18 +15476,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P148265.info = {"start":3734,"length":65,"line":139,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} -tiles_TileMapData_height__P148265.isGetter = true; +tiles_TileMapData_height__P174881.info = {"start":3734,"length":65,"line":139,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P174881.isGetter = true; -function tiles_TileMapData_height__P148265_mk(s) { +function tiles_TileMapData_height__P174881_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P148265, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P174881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15453,7 +15496,7 @@ function tiles_TileMapData_height__P148265_mk(s) { -function scene_Camera_offsetY__P148319(s) { +function scene_Camera_offsetY__P174935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15468,18 +15511,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C148312_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P148319.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} -scene_Camera_offsetY__P148319.isGetter = true; +scene_Camera_offsetY__P174935.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} +scene_Camera_offsetY__P174935.isGetter = true; -function scene_Camera_offsetY__P148319_mk(s) { +function scene_Camera_offsetY__P174935_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P148319, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P174935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15488,7 +15531,7 @@ function scene_Camera_offsetY__P148319_mk(s) { -function scene_Camera_offsetX__P148318(s) { +function scene_Camera_offsetX__P174934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15498,27 +15541,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___156912 = undefined; + s.scene___183528 = 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__C148312_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1027; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___156912 = (r0); - r0 = s.scene___156912.fields["tileMap"]; + s.scene___183528 = (r0); + r0 = s.scene___183528.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___156912.fields["tileMap"]; + r0 = s.scene___183528.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -15535,8 +15578,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_9 = tiles_TileMap_offsetX__P148280_mk(s); - r0 = s.scene___156912.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P174896_mk(s); + r0 = s.scene___183528.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 1029; s.pc = 6; return s.tmp_9; @@ -15552,12 +15595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P148318.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} +scene_Camera_offsetX__P174934.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} -function scene_Camera_offsetX__P148318_mk(s) { +function scene_Camera_offsetX__P174934_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P148318, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P174934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15569,7 +15612,7 @@ function scene_Camera_offsetX__P148318_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___156912: undefined, + scene___183528: undefined, arg0: undefined, arg1: undefined, } } @@ -15578,7 +15621,7 @@ function scene_Camera_offsetX__P148318_mk(s) { -function tiles_TileMap_offsetX__P148280(s) { +function tiles_TileMap_offsetX__P174896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15594,17 +15637,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P146059_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P172675_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P146062_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P148282_mk(s); + s.tmp_1 = Math_max__P172678_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P174898_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 926; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -15620,12 +15663,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P148280.info = {"start":6485,"length":121,"line":236,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P174896.info = {"start":6485,"length":121,"line":236,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_TileMap_offsetX__P148280_mk(s) { +function tiles_TileMap_offsetX__P174896_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P148280, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P174896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15640,7 +15683,7 @@ function tiles_TileMap_offsetX__P148280_mk(s) { -function tiles_TileMap_areaWidth__P148282(s) { +function tiles_TileMap_areaWidth__P174898(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15655,7 +15698,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -15677,12 +15720,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P148282.info = {"start":6749,"length":91,"line":244,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P174898.info = {"start":6749,"length":91,"line":244,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_TileMap_areaWidth__P148282_mk(s) { +function tiles_TileMap_areaWidth__P174898_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P148282, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P174898, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15696,7 +15739,7 @@ function tiles_TileMap_areaWidth__P148282_mk(s) { -function tiles_TileMapData_width__P148264(s) { +function tiles_TileMapData_width__P174880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15711,18 +15754,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P148264.info = {"start":3661,"length":63,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} -tiles_TileMapData_width__P148264.isGetter = true; +tiles_TileMapData_width__P174880.info = {"start":3661,"length":63,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P174880.isGetter = true; -function tiles_TileMapData_width__P148264_mk(s) { +function tiles_TileMapData_width__P174880_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P148264, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P174880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15731,7 +15774,7 @@ function tiles_TileMapData_width__P148264_mk(s) { -function scene_Camera_offsetX__P148317(s) { +function scene_Camera_offsetX__P174933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15746,18 +15789,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C148312_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P148317.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} -scene_Camera_offsetX__P148317.isGetter = true; +scene_Camera_offsetX__P174933.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} +scene_Camera_offsetX__P174933.isGetter = true; -function scene_Camera_offsetX__P148317_mk(s) { +function scene_Camera_offsetX__P174933_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P148317, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P174933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15766,7 +15809,7 @@ function scene_Camera_offsetX__P148317_mk(s) { -function PhysicsEngine_move__P148121(s) { +function PhysicsEngine_move__P174737(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15782,17 +15825,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C148115_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C174731_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P148121.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__P174737.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__P148121_mk(s) { +function PhysicsEngine_move__P174737_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P148121, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P174737, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15802,7 +15845,7 @@ function PhysicsEngine_move__P148121_mk(s) { -function PhysicsEngine_draw__P148120(s) { +function PhysicsEngine_draw__P174736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15817,17 +15860,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C148115_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C174731_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P148120.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__P174736.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__P148120_mk(s) { +function PhysicsEngine_draw__P174736_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P148120, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P174736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15836,7 +15879,7 @@ function PhysicsEngine_draw__P148120_mk(s) { -function controller___update__P147897(s) { +function controller___update__P174513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15846,7 +15889,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___157271 = undefined; + s.dtms___183887 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -15854,12 +15897,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___157271 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P157278); + s.dtms___183887 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P183894); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___157271); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); - s.tmp_2 = controller_players__P147865_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___183887); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); + s.tmp_2 = controller_players__P174481_mk(s); s.callLocIdx = 259; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -15872,17 +15915,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P147897.info = {"start":17961,"length":137,"line":550,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P174513.info = {"start":17961,"length":137,"line":550,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} -function controller___update__P147897_mk(s) { +function controller___update__P174513_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P147897, depth: s.depth + 1, + parent: s, fn: controller___update__P174513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___157271: undefined, + dtms___183887: undefined, arg0: undefined, } } @@ -15890,7 +15933,7 @@ function controller___update__P147897_mk(s) { -function inline__P157278(s) { +function inline__P183894(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15904,7 +15947,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P147895_mk(s); + s.tmp_0 = controller_Controller___update__P174511_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 260; s.pc = 1; return s.tmp_0; @@ -15914,12 +15957,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P157278.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P183894.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function inline__P157278_mk(s) { +function inline__P183894_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P157278, depth: s.depth + 1, + parent: s, fn: inline__P183894, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15929,7 +15972,7 @@ function inline__P157278_mk(s) { -function controller_Controller___update__P147895(s) { +function controller_Controller___update__P174511(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15945,7 +15988,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -15956,10 +15999,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, inline__P157291); + r0 = pxsim_pxtcore_mkAction(1, inline__P183907); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -15970,12 +16013,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P147895.info = {"start":17439,"length":124,"line":532,"column":8,"endLine":535,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P174511.info = {"start":17439,"length":124,"line":532,"column":8,"endLine":535,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Controller___update__P147895_mk(s) { +function controller_Controller___update__P174511_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P147895, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P174511, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15989,7 +16032,7 @@ function controller_Controller___update__P147895_mk(s) { -function inline__P157291(s) { +function inline__P183907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16003,7 +16046,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P147862_mk(s); + s.tmp_0 = controller_Button___update__P174478_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -16014,12 +16057,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P157291.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P183907.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} -function inline__P157291_mk(s) { +function inline__P183907_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P157291, depth: s.depth + 1, + parent: s, fn: inline__P183907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16029,7 +16072,7 @@ function inline__P157291_mk(s) { -function controller_Button___update__P147862(s) { +function controller_Button___update__P174478(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16039,16 +16082,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___157308 = undefined; - s.interval___157317 = undefined; - s.count___157330 = undefined; + s.delay___183924 = undefined; + s.interval___183933 = undefined; + s.count___183946 = 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__C147850_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C174466_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -16072,31 +16115,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___150283; + r0 = globals.defaultRepeatDelay___176899; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___157308 = (s.tmp_2); + s.delay___183924 = (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___150285; + r0 = globals.defaultRepeatInterval___176901; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___157317 = (s.tmp_2); + s.interval___183933 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___157308); + r0 = (s.tmp_1 < s.delay___183924); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -16105,26 +16148,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___157308); + r0 = (s.tmp_5 - s.delay___183924); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___157317); + r0 = (s.tmp_4 - s.interval___183933); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___157317); + r0 = (s.tmp_3 / s.interval___183933); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___157330 = (r0); + s.count___183946 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___157330 != s.tmp_1); + r0 = (s.count___183946 != 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__P150290_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P176906_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 207; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___157330); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___183946); case 9: case 10: case 11: @@ -16132,12 +16175,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P147862.info = {"start":5117,"length":704,"line":164,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Button___update__P174478.info = {"start":5117,"length":704,"line":164,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Button___update__P147862_mk(s) { +function controller_Button___update__P174478_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P147862, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P174478, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16145,9 +16188,9 @@ function controller_Button___update__P147862_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___157308: undefined, - interval___157317: undefined, - count___157330: undefined, + delay___183924: undefined, + interval___183933: undefined, + count___183946: undefined, arg0: undefined, arg1: undefined, } } @@ -16156,7 +16199,7 @@ function controller_Button___update__P147862_mk(s) { -function controller_Button_raiseButtonRepeat__P150290(s) { +function controller_Button_raiseButtonRepeat__P176906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16171,8 +16214,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C147850_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___150281); + if (!checkSubtype(r0, controller_Button__C174466_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___176897); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -16187,12 +16230,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P150290.info = {"start":2887,"length":211,"line":99,"column":8,"endLine":104,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P176906.info = {"start":2887,"length":211,"line":99,"column":8,"endLine":104,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -function controller_Button_raiseButtonRepeat__P150290_mk(s) { +function controller_Button_raiseButtonRepeat__P176906_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P150290, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P176906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16202,7 +16245,7 @@ function controller_Button_raiseButtonRepeat__P150290_mk(s) { -function controller_players__P147865(s) { +function controller_players__P174481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16212,25 +16255,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P147864_mk(s); + s.tmp_0 = controller__player1__P174480_mk(s); s.callLocIdx = 210; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P146043_mk(s); - s.tmp_0.arg0 = globals._players___150294; - s.tmp_0.arg1 = inline__P157163; + s.tmp_0 = helpers_arrayFilter__P172659_mk(s); + s.tmp_0.arg0 = globals._players___176910; + s.tmp_0.arg1 = inline__P183779; s.callLocIdx = 211; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P147865.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P174481.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} -function controller_players__P147865_mk(s) { +function controller_players__P174481_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P147865, depth: s.depth + 1, + parent: s, fn: controller_players__P174481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16239,7 +16282,7 @@ function controller_players__P147865_mk(s) { -function inline__P157163(s) { +function inline__P183779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16263,12 +16306,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P157163.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P183779.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function inline__P157163_mk(s) { +function inline__P183779_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P157163, depth: s.depth + 1, + parent: s, fn: inline__P183779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16280,7 +16323,7 @@ function inline__P157163_mk(s) { -function controller__player1__P147864(s) { +function controller__player1__P174480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16290,7 +16333,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___150294); + r0 = pxsim_numops_toBoolDecr(globals._players___176910); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -16299,7 +16342,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___150294, 0); + r0 = pxsim_Array__getAt(globals._players___176910, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -16309,18 +16352,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__C147870_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C174486_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___147826); - r0 = pxsim_Array__push(s.tmp_6, globals.up___147827); - r0 = pxsim_Array__push(s.tmp_6, globals.right___147828); - r0 = pxsim_Array__push(s.tmp_6, globals.down___147829); - r0 = pxsim_Array__push(s.tmp_6, globals.A___147824); - r0 = pxsim_Array__push(s.tmp_6, globals.B___147825); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___147830); - s.tmp_7 = controller_Controller_constructor__P147874_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___174442); + r0 = pxsim_Array__push(s.tmp_6, globals.up___174443); + r0 = pxsim_Array__push(s.tmp_6, globals.right___174444); + r0 = pxsim_Array__push(s.tmp_6, globals.down___174445); + r0 = pxsim_Array__push(s.tmp_6, globals.A___174440); + r0 = pxsim_Array__push(s.tmp_6, globals.B___174441); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___174446); + s.tmp_7 = controller_Controller_constructor__P174490_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -16329,16 +16372,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___150294, 0); + r0 = pxsim_Array__getAt(globals._players___176910, 0); return leave(s, r0) default: oops() } } } -controller__player1__P147864.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P174480.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} -function controller__player1__P147864_mk(s) { +function controller__player1__P174480_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P147864, depth: s.depth + 1, + parent: s, fn: controller__player1__P174480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16354,7 +16397,7 @@ function controller__player1__P147864_mk(s) { -function controller_Controller_constructor__P147874(s) { +function controller_Controller_constructor__P174490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16364,9 +16407,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___157213 = undefined; - s.i___157221 = undefined; - s.i___157239 = undefined; + s.leftId___183829 = undefined; + s.i___183837 = undefined; + s.i___183855 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16374,7 +16417,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -16398,18 +16441,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___157213 = (r0); - s.i___157221 = (0); + s.leftId___183829 = (r0); + s.i___183837 = (0); case 2: - r0 = (s.i___157221 < 7); + r0 = (s.i___183837 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C147850_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C174466_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P147856_mk(s); + s.tmp_2 = controller_Button_constructor__P174472_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___157213 + s.i___157221); + r0 = (s.leftId___183829 + s.i___183837); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 215; s.pc = 7; return s.tmp_2; @@ -16418,14 +16461,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___157221 + 1); - s.i___157221 = (r0); + r0 = (s.i___183837 + 1); + s.i___183837 = (r0); { step = 2; continue; } case 3: case 4: - s.i___157239 = (0); + s.i___183855 = (0); case 5: - s.tmp_1 = r0 = s.i___157239; + s.tmp_1 = r0 = s.i___183855; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -16436,14 +16479,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___157239); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___183855); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___157239 + 1); - s.i___157239 = (r0); + r0 = (s.i___183855 + 1); + s.i___183855 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P150295_mk(s); + s.tmp_0 = controller_addController__P176911_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 216; s.pc = 8; return s.tmp_0; case 8: @@ -16452,12 +16495,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P147874.info = {"start":7849,"length":696,"line":249,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} +controller_Controller_constructor__P174490.info = {"start":7849,"length":696,"line":249,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} -function controller_Controller_constructor__P147874_mk(s) { +function controller_Controller_constructor__P174490_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P147874, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P174490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16465,9 +16508,9 @@ function controller_Controller_constructor__P147874_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___157213: undefined, - i___157221: undefined, - i___157239: undefined, + leftId___183829: undefined, + i___183837: undefined, + i___183855: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16477,7 +16520,7 @@ function controller_Controller_constructor__P147874_mk(s) { -function controller_addController__P150295(s) { +function controller_addController__P176911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16491,17 +16534,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___150294); + r0 = pxsim_numops_toBoolDecr(globals._players___176910); 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___150294 = (r0); + globals._players___176910 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___150294; + s.tmp_0 = r0 = globals._players___176910; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -16511,12 +16554,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P150295.info = {"start":6613,"length":157,"line":207,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P176911.info = {"start":6613,"length":157,"line":207,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -function controller_addController__P150295_mk(s) { +function controller_addController__P176911_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P150295, depth: s.depth + 1, + parent: s, fn: controller_addController__P176911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16528,7 +16571,7 @@ function controller_addController__P150295_mk(s) { -function controller__moveSprites__P147869(s) { +function controller__moveSprites__P174485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16538,13 +16581,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); - s.tmp_1 = controller_players__P147865_mk(s); + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); + s.tmp_1 = controller_players__P174481_mk(s); s.callLocIdx = 212; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P156962; + s.tmp_0.arg1 = inline__P183578; s.callLocIdx = 214; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -16552,12 +16595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P147869.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P174485.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} -function controller__moveSprites__P147869_mk(s) { +function controller__moveSprites__P174485_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P147869, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P174485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16567,7 +16610,7 @@ function controller__moveSprites__P147869_mk(s) { -function inline__P156962(s) { +function inline__P183578(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16581,7 +16624,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P147894_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P174510_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 213; s.pc = 1; return s.tmp_0; case 1: @@ -16590,12 +16633,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P156962.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P183578.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function inline__P156962_mk(s) { +function inline__P183578_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P156962, depth: s.depth + 1, + parent: s, fn: inline__P183578, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16605,7 +16648,7 @@ function inline__P156962_mk(s) { -function controller_Controller___preUpdate__P147894(s) { +function controller_Controller___preUpdate__P174510(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16615,20 +16658,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___156969 = undefined; - s.svx___156970 = undefined; - s.svy___156971 = undefined; - s.svxInCricle___157006 = undefined; - s.svyInCircle___157008 = undefined; - s.sq___157010 = undefined; - s.scale___157025 = undefined; + s.deadSprites___183585 = undefined; + s.svx___183586 = undefined; + s.svy___183587 = undefined; + s.svxInCricle___183622 = undefined; + s.svyInCircle___183624 = undefined; + s.sq___183626 = undefined; + s.scale___183641 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P147875_mk(s); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P174491_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 232; s.pc = 18; return s.tmp_3; case 18: @@ -16644,21 +16687,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___156969 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___156969, false); + s.deadSprites___183585 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___183585, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___156970 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___156970, 0); + s.svx___183586 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___183586, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___156971 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___156971, 0); + s.svy___183587 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___183587, 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___156970; - s.tmp_5 = controller_Button_pressureLevel__P147860_mk(s); - s.tmp_6 = controller_Controller_right__P147880_mk(s); + s.tmp_1 = r0 = s.svx___183586; + s.tmp_5 = controller_Button_pressureLevel__P174476_mk(s); + s.tmp_6 = controller_Controller_right__P174496_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 233; s.pc = 20; return s.tmp_6; case 20: @@ -16668,8 +16711,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P147860_mk(s); - s.tmp_9 = controller_Controller_left__P147879_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P174476_mk(s); + s.tmp_9 = controller_Controller_left__P174495_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 235; s.pc = 22; return s.tmp_9; case 22: @@ -16684,9 +16727,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___156971; - s.tmp_4 = controller_Button_pressureLevel__P147860_mk(s); - s.tmp_5 = controller_Controller_down__P147882_mk(s); + s.tmp_0 = r0 = s.svy___183587; + s.tmp_4 = controller_Button_pressureLevel__P174476_mk(s); + s.tmp_5 = controller_Controller_down__P174498_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 237; s.pc = 24; return s.tmp_5; case 24: @@ -16696,8 +16739,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P147860_mk(s); - s.tmp_8 = controller_Controller_up__P147881_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P174476_mk(s); + s.tmp_8 = controller_Controller_up__P174497_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 239; s.pc = 26; return s.tmp_8; case 26: @@ -16714,14 +16757,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C147850_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P147880_mk(s); + s.tmp_1 = controller_Button__C174466_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P174496_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 241; 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__C147850_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C174466_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: @@ -16736,14 +16779,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C147850_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P147879_mk(s); + s.tmp_5 = controller_Button__C174466_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P174495_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 242; 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__C147850_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C174466_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: @@ -16758,18 +16801,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___156970; + s.tmp_8 = r0 = s.svx___183586; 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__C147850_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P147882_mk(s); + s.tmp_1 = controller_Button__C174466_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P174498_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 243; 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__C147850_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C174466_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: @@ -16784,14 +16827,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C147850_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P147881_mk(s); + s.tmp_5 = controller_Button__C174466_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P174497_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 244; 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__C147850_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C174466_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: @@ -16806,57 +16849,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___156971; + s.tmp_8 = r0 = s.svy___183587; 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___157006 = (r0); - s.tmp_0 = r0 = s.svxInCricle___157006; - r0 = pxsim_pxtrt_ldlocRef(s.svx___156970); + s.svxInCricle___183622 = (r0); + s.tmp_0 = r0 = s.svxInCricle___183622; + r0 = pxsim_pxtrt_ldlocRef(s.svx___183586); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___157008 = (r0); - s.tmp_0 = r0 = s.svyInCircle___157008; - r0 = pxsim_pxtrt_ldlocRef(s.svy___156971); + s.svyInCircle___183624 = (r0); + s.tmp_0 = r0 = s.svyInCircle___183624; + r0 = pxsim_pxtrt_ldlocRef(s.svy___183587); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___156970); + r0 = pxsim_pxtrt_ldlocRef(s.svx___183586); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___156970); + r0 = pxsim_pxtrt_ldlocRef(s.svx___183586); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___156971); + r0 = pxsim_pxtrt_ldlocRef(s.svy___183587); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___156971); + r0 = pxsim_pxtrt_ldlocRef(s.svy___183587); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___157010 = (r0); - r0 = (s.sq___157010 > 65536); + s.sq___183626 = (r0); + r0 = (s.sq___183626 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___157010); + r0 = (65536 / s.sq___183626); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___157025 = (r0); - s.tmp_0 = r0 = s.svxInCricle___157006; - s.tmp_3 = r0 = s.scale___157025; - r0 = pxsim_pxtrt_ldlocRef(s.svx___156970); + s.scale___183641 = (r0); + s.tmp_0 = r0 = s.svxInCricle___183622; + s.tmp_3 = r0 = s.scale___183641; + r0 = pxsim_pxtrt_ldlocRef(s.svx___183586); 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___157008; - s.tmp_3 = r0 = s.scale___157025; - r0 = pxsim_pxtrt_ldlocRef(s.svy___156971); + s.tmp_0 = r0 = s.svyInCircle___183624; + s.tmp_3 = r0 = s.scale___183641; + r0 = pxsim_pxtrt_ldlocRef(s.svy___183587); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -16865,15 +16908,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, inline__P157043); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___156969); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___156970); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___156971); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___157006); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___157008); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P147875_mk(s); + r0 = pxsim_pxtcore_mkAction(5, inline__P183659); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___183585); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___183586); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___183587); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___183622); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___183624); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P174491_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 245; s.pc = 36; return s.tmp_2; case 36: @@ -16883,20 +16926,20 @@ switch (step) { s.callLocIdx = 253; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___156969); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___183585); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P147876_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P174492_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P146043_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P147875_mk(s); + s.tmp_2 = helpers_arrayFilter__P172659_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P174491_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 254; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P157100; + s.tmp_2.arg1 = inline__P183716; s.callLocIdx = 255; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -16911,12 +16954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P147894.info = {"start":14894,"length":2535,"line":466,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P174510.info = {"start":14894,"length":2535,"line":466,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -function controller_Controller___preUpdate__P147894_mk(s) { +function controller_Controller___preUpdate__P174510_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P147894, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P174510, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16928,13 +16971,13 @@ function controller_Controller___preUpdate__P147894_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___156969: undefined, - svx___156970: undefined, - svy___156971: undefined, - svxInCricle___157006: undefined, - svyInCircle___157008: undefined, - sq___157010: undefined, - scale___157025: undefined, + deadSprites___183585: undefined, + svx___183586: undefined, + svy___183587: undefined, + svxInCricle___183622: undefined, + svyInCircle___183624: undefined, + sq___183626: undefined, + scale___183641: undefined, arg0: undefined, } } @@ -16942,7 +16985,7 @@ function controller_Controller___preUpdate__P147894_mk(s) { -function inline__P157043(s) { +function inline__P183659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16952,9 +16995,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___157046 = undefined; - s.vx___157047 = undefined; - s.vy___157048 = undefined; + s.s___183662 = undefined; + s.vx___183663 = undefined; + s.vy___183664 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -16972,7 +17015,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___157046 = (r0); + s.s___183662 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -16985,7 +17028,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___157047 = (r0); + s.vx___183663 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -16998,8 +17041,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___157048 = (r0); - r0 = s.s___157046.fields["flags"]; + s.vy___183664 = (r0); + r0 = s.s___183662.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -17013,14 +17056,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___157047); + r0 = pxsim_numops_toBoolDecr(s.vx___183663); if (!r0) { step = 3; continue; } - r0 = (s.s___157046).fields["_vx"] = (0); + r0 = (s.s___183662).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___157048); + r0 = pxsim_numops_toBoolDecr(s.vy___183664); if (!r0) { step = 5; continue; } - r0 = (s.s___157046).fields["_vy"] = (0); + r0 = (s.s___183662).fields["_vy"] = (0); case 5: case 6: case 7: @@ -17038,48 +17081,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___157047; + s.tmp_2 = r0 = s.vx___183663; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___157048; + r0 = s.vy___183664; 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___157046; + s.tmp_4 = r0 = s.s___183662; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___157047); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___183663); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___157046; + s.tmp_0 = r0 = s.s___183662; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___157048); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___183664); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___157047); + r0 = pxsim_numops_toBoolDecr(s.vx___183663); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___157046; + s.tmp_0 = r0 = s.s___183662; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___157047); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___183663); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___157048); + r0 = pxsim_numops_toBoolDecr(s.vy___183664); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___157046; + s.tmp_0 = r0 = s.s___183662; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___157048); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___183664); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -17096,12 +17139,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P157043.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P183659.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -function inline__P157043_mk(s) { +function inline__P183659_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P157043, depth: s.depth + 1, + parent: s, fn: inline__P183659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17110,9 +17153,9 @@ function inline__P157043_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___157046: undefined, - vx___157047: undefined, - vy___157048: undefined, + s___183662: undefined, + vx___183663: undefined, + vy___183664: undefined, arg0: undefined, } } @@ -17120,7 +17163,7 @@ function inline__P157043_mk(s) { -function inline__P157100(s) { +function inline__P183716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17145,12 +17188,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P157100.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P183716.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} -function inline__P157100_mk(s) { +function inline__P183716_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P157100, depth: s.depth + 1, + parent: s, fn: inline__P183716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17162,7 +17205,7 @@ function inline__P157100_mk(s) { -function controller_Controller_down__P147882(s) { +function controller_Controller_down__P174498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17177,7 +17220,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -17186,13 +17229,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P147882.info = {"start":9528,"length":77,"line":312,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} -controller_Controller_down__P147882.isGetter = true; +controller_Controller_down__P174498.info = {"start":9528,"length":77,"line":312,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} +controller_Controller_down__P174498.isGetter = true; -function controller_Controller_down__P147882_mk(s) { +function controller_Controller_down__P174498_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P147882, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P174498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17203,7 +17246,7 @@ function controller_Controller_down__P147882_mk(s) { -function controller_Controller_button__P150296(s) { +function controller_Controller_button__P176912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17219,7 +17262,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -17228,12 +17271,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P150296.info = {"start":11484,"length":105,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P176912.info = {"start":11484,"length":105,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} -function controller_Controller_button__P150296_mk(s) { +function controller_Controller_button__P176912_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P150296, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P176912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17245,7 +17288,7 @@ function controller_Controller_button__P150296_mk(s) { -function controller_Controller_up__P147881(s) { +function controller_Controller_up__P174497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17260,7 +17303,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -17269,13 +17312,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P147881.info = {"start":9376,"length":73,"line":304,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} -controller_Controller_up__P147881.isGetter = true; +controller_Controller_up__P174497.info = {"start":9376,"length":73,"line":304,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} +controller_Controller_up__P174497.isGetter = true; -function controller_Controller_up__P147881_mk(s) { +function controller_Controller_up__P174497_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P147881, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P174497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17286,7 +17329,7 @@ function controller_Controller_up__P147881_mk(s) { -function controller_Controller_right__P147880(s) { +function controller_Controller_right__P174496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17301,7 +17344,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -17310,13 +17353,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P147880.info = {"start":9220,"length":79,"line":296,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} -controller_Controller_right__P147880.isGetter = true; +controller_Controller_right__P174496.info = {"start":9220,"length":79,"line":296,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} +controller_Controller_right__P174496.isGetter = true; -function controller_Controller_right__P147880_mk(s) { +function controller_Controller_right__P174496_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P147880, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P174496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17327,7 +17370,7 @@ function controller_Controller_right__P147880_mk(s) { -function controller_Controller_left__P147879(s) { +function controller_Controller_left__P174495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17342,7 +17385,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -17351,13 +17394,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P147879.info = {"start":9063,"length":77,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} -controller_Controller_left__P147879.isGetter = true; +controller_Controller_left__P174495.info = {"start":9063,"length":77,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} +controller_Controller_left__P174495.isGetter = true; -function controller_Controller_left__P147879_mk(s) { +function controller_Controller_left__P174495_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P147879, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P174495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17368,7 +17411,7 @@ function controller_Controller_left__P147879_mk(s) { -function controller_Controller__controlledSprites__P147876(s) { +function controller_Controller__controlledSprites__P174492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17384,8 +17427,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 218; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -17398,12 +17441,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P147876.info = {"start":8697,"length":134,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} +controller_Controller__controlledSprites__P174492.info = {"start":8697,"length":134,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} -function controller_Controller__controlledSprites__P147876_mk(s) { +function controller_Controller__controlledSprites__P174492_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P147876, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P174492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17416,7 +17459,7 @@ function controller_Controller__controlledSprites__P147876_mk(s) { -function controller_Controller__controlledSprites__P147875(s) { +function controller_Controller__controlledSprites__P174491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17431,8 +17474,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 217; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -17444,13 +17487,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P147875.info = {"start":8555,"length":132,"line":268,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} -controller_Controller__controlledSprites__P147875.isGetter = true; +controller_Controller__controlledSprites__P174491.info = {"start":8555,"length":132,"line":268,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} +controller_Controller__controlledSprites__P174491.isGetter = true; -function controller_Controller__controlledSprites__P147875_mk(s) { +function controller_Controller__controlledSprites__P174491_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P147875, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P174491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17462,7 +17505,7 @@ function controller_Controller__controlledSprites__P147875_mk(s) { -function controller_Button_pressureLevel__P147860(s) { +function controller_Button_pressureLevel__P174476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17477,16 +17520,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C147850_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C174466_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__C147850_v0_1_mk(s); + s.tmp_3 = controller_Button__C174466_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C174466_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: @@ -17515,12 +17558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P147860.info = {"start":4279,"length":311,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"pressureLevel","argumentNames":["this"]} +controller_Button_pressureLevel__P174476.info = {"start":4279,"length":311,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"pressureLevel","argumentNames":["this"]} -function controller_Button_pressureLevel__P147860_mk(s) { +function controller_Button_pressureLevel__P174476_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P147860, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P174476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17535,7 +17578,7 @@ function controller_Button_pressureLevel__P147860_mk(s) { -function Fx_imul__P146093(s) { +function Fx_imul__P172709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17554,12 +17597,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P146093.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__P172709.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__P146093_mk(s) { +function Fx_imul__P172709_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P146093, depth: s.depth + 1, + parent: s, fn: Fx_imul__P172709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17569,7 +17612,7 @@ function Fx_imul__P146093_mk(s) { -function power_checkDeepSleep__P147653(s) { +function power_checkDeepSleep__P174269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17579,13 +17622,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___155890 = undefined; - s.to___155893 = undefined; - s.tmp_0 = power_init__P150195_mk(s); + s.p___182506 = undefined; + s.to___182509 = undefined; + s.tmp_0 = power_init__P176811_mk(s); s.callLocIdx = 133; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___150193; + s.tmp_0 = r0 = globals._poked___176809; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -17595,8 +17638,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___155890 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___150194; + s.p___182506 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___176810; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -17606,8 +17649,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___155893 = (s.tmp_1); - r0 = (s.to___155893 > 0); + s.to___182509 = (s.tmp_1); + r0 = (s.to___182509 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -17616,9 +17659,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___155890); + r0 = (s.tmp_2 - s.p___182506); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___155893); + r0 = (s.tmp_1 > s.to___182509); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -17644,12 +17687,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P147653.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P174269.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__P147653_mk(s) { +function power_checkDeepSleep__P174269_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P147653, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P174269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17658,15 +17701,15 @@ function power_checkDeepSleep__P147653_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___155890: undefined, - to___155893: undefined, + p___182506: undefined, + to___182509: undefined, } } -function power_init__P150195(s) { +function power_init__P176811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17676,7 +17719,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___150194 !== undefined); + r0 = (globals._timeout___176810 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -17686,21 +17729,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___150194 = (r0); - r0 = (globals._timeout___150194 > 0); + globals._timeout___176810 = (r0); + r0 = (globals._timeout___176810 > 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___150194 < 300000); + r0 = (globals._timeout___176810 < 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___150194 = (300000); + globals._timeout___176810 = (300000); case 5: case 6: case 7: @@ -17708,12 +17751,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P150195.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P176811.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__P150195_mk(s) { +function power_init__P176811_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P150195, depth: s.depth + 1, + parent: s, fn: power_init__P176811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17723,7 +17766,7 @@ function power_init__P150195_mk(s) { -function power_poke__P147652(s) { +function power_poke__P174268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17733,22 +17776,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P150195_mk(s); + s.tmp_0 = power_init__P176811_mk(s); s.callLocIdx = 132; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___150193 = (r0); + globals._poked___176809 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P147652.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P174268.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__P147652_mk(s) { +function power_poke__P174268_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P147652, depth: s.depth + 1, + parent: s, fn: power_poke__P174268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17757,7 +17800,7 @@ function power_poke__P147652_mk(s) { -function control_EventContext_deltaTime__P146326(s) { +function control_EventContext_deltaTime__P172942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17772,20 +17815,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C146321_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C172937_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__P146326.info = {"start":2097,"length":75,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P146326.isGetter = true; +control_EventContext_deltaTime__P172942.info = {"start":2097,"length":75,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} +control_EventContext_deltaTime__P172942.isGetter = true; -function control_EventContext_deltaTime__P146326_mk(s) { +function control_EventContext_deltaTime__P172942_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P146326, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P172942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17795,7 +17838,7 @@ function control_EventContext_deltaTime__P146326_mk(s) { -function scene_Scene_constructor__P148392(s) { +function scene_Scene_constructor__P175008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17812,13 +17855,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C148371_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C174987_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__C148131_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C174747_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P148132_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P174748_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -17827,17 +17870,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C148312_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C174928_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P148316_mk(s); + s.tmp_1 = scene_Camera_constructor__P174932_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1049; 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__C148223_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C174839_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P148227_mk(s); + s.tmp_1 = scene_Background_constructor__P174843_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -17894,12 +17937,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P148392.info = {"start":3365,"length":793,"line":102,"column":8,"endLine":120,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P175008.info = {"start":3365,"length":793,"line":102,"column":8,"endLine":120,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -function scene_Scene_constructor__P148392_mk(s) { +function scene_Scene_constructor__P175008_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P148392, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P175008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17912,7 +17955,7 @@ function scene_Scene_constructor__P148392_mk(s) { -function scene_Camera_constructor__P148316(s) { +function scene_Camera_constructor__P174932(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17927,7 +17970,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C148312_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -17936,12 +17979,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P148316.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} +scene_Camera_constructor__P174932.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} -function scene_Camera_constructor__P148316_mk(s) { +function scene_Camera_constructor__P174932_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P148316, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P174932, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17950,7 +17993,7 @@ function scene_Camera_constructor__P148316_mk(s) { -function scene_Background_constructor__P148227(s) { +function scene_Background_constructor__P174843(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17966,7 +18009,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C148223_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C174839_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -17977,12 +18020,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P148227.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__P174843.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__P148227_mk(s) { +function scene_Background_constructor__P174843_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P148227, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P174843, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17994,7 +18037,7 @@ function scene_Background_constructor__P148227_mk(s) { -function ArcadePhysicsEngine_constructor__P148132(s) { +function ArcadePhysicsEngine_constructor__P174748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18012,33 +18055,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_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__C148050_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C174666_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P148051_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P174667_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 574; 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__P148134_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P174750_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 575; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P148138_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P174754_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 576; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P148136_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P174752_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 577; s.pc = 4; return s.tmp_0; @@ -18048,12 +18091,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P148132.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__P174748.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__P148132_mk(s) { +function ArcadePhysicsEngine_constructor__P174748_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P148132, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P174748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18067,7 +18110,7 @@ function ArcadePhysicsEngine_constructor__P148132_mk(s) { -function ArcadePhysicsEngine_maxStep__P148138(s) { +function ArcadePhysicsEngine_maxStep__P174754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18083,7 +18126,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18094,12 +18137,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P148138.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__P174754.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__P148138_mk(s) { +function ArcadePhysicsEngine_maxStep__P174754_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P148138, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P174754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18112,7 +18155,7 @@ function ArcadePhysicsEngine_maxStep__P148138_mk(s) { -function ArcadePhysicsEngine_maxStep__P148137(s) { +function ArcadePhysicsEngine_maxStep__P174753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18127,7 +18170,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -18136,13 +18179,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P148137.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__P148137.isGetter = true; +ArcadePhysicsEngine_maxStep__P174753.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__P174753.isGetter = true; -function ArcadePhysicsEngine_maxStep__P148137_mk(s) { +function ArcadePhysicsEngine_maxStep__P174753_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P148137, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P174753, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18153,7 +18196,7 @@ function ArcadePhysicsEngine_maxStep__P148137_mk(s) { -function Fx_toInt__P146102(s) { +function Fx_toInt__P172718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18173,12 +18216,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P146102.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} +Fx_toInt__P172718.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} -function Fx_toInt__P146102_mk(s) { +function Fx_toInt__P172718_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P146102, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P172718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18188,7 +18231,7 @@ function Fx_toInt__P146102_mk(s) { -function ArcadePhysicsEngine_minStep__P148136(s) { +function ArcadePhysicsEngine_minStep__P174752(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18204,7 +18247,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18215,12 +18258,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P148136.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__P174752.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__P148136_mk(s) { +function ArcadePhysicsEngine_minStep__P174752_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P148136, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P174752, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18233,7 +18276,7 @@ function ArcadePhysicsEngine_minStep__P148136_mk(s) { -function ArcadePhysicsEngine_minStep__P148135(s) { +function ArcadePhysicsEngine_minStep__P174751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18248,7 +18291,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -18257,13 +18300,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P148135.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__P148135.isGetter = true; +ArcadePhysicsEngine_minStep__P174751.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__P174751.isGetter = true; -function ArcadePhysicsEngine_minStep__P148135_mk(s) { +function ArcadePhysicsEngine_minStep__P174751_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P148135, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P174751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18274,7 +18317,7 @@ function ArcadePhysicsEngine_minStep__P148135_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P148134(s) { +function ArcadePhysicsEngine_maxSpeed__P174750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18290,7 +18333,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18307,12 +18350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P148134.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__P174750.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__P148134_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P174750_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P148134, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P174750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18325,7 +18368,7 @@ function ArcadePhysicsEngine_maxSpeed__P148134_mk(s) { -function Fx_neg__P146087(s) { +function Fx_neg__P172703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18343,12 +18386,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P146087.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__P172703.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__P146087_mk(s) { +function Fx_neg__P172703_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P146087, depth: s.depth + 1, + parent: s, fn: Fx_neg__P172703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18357,7 +18400,7 @@ function Fx_neg__P146087_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P148133(s) { +function ArcadePhysicsEngine_maxSpeed__P174749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18372,7 +18415,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -18381,13 +18424,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P148133.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__P148133.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P174749.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__P174749.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P148133_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P174749_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P148133, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P174749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18398,7 +18441,7 @@ function ArcadePhysicsEngine_maxSpeed__P148133_mk(s) { -function PhysicsEngine_constructor__P148116(s) { +function PhysicsEngine_constructor__P174732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18413,17 +18456,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C148115_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C174731_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P148116.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__P174732.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__P148116_mk(s) { +function PhysicsEngine_constructor__P174732_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P148116, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P174732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18432,7 +18475,7 @@ function PhysicsEngine_constructor__P148116_mk(s) { -function sprites_SpriteMap_constructor__P148051(s) { +function sprites_SpriteMap_constructor__P174667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18447,7 +18490,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C148050_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -18456,12 +18499,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P148051.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__P174667.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__P148051_mk(s) { +function sprites_SpriteMap_constructor__P174667_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P148051, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P174667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18472,7 +18515,7 @@ function sprites_SpriteMap_constructor__P148051_mk(s) { -function control_pushEventContext__P146335(s) { +function control_pushEventContext__P172951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18482,63 +18525,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___157371 = undefined; - s.n___157377 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___150126); + s.ctx___183987 = undefined; + s.n___183993 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___176742); 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___150126 = (r0); + globals.eventContexts___176742 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P146334_mk(s); + s.tmp_0 = control_eventContext__P172950_mk(s); s.callLocIdx = 66; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___157371 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___157371); + s.ctx___183987 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___183987); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P146328_mk(s); - s.tmp_0.arg0 = s.ctx___157371; + s.tmp_0 = control_EventContext_unregister__P172944_mk(s); + s.tmp_0.arg0 = s.ctx___183987; s.callLocIdx = 67; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C146321_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C172937_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P146325_mk(s); + s.tmp_1 = control_EventContext_constructor__P172941_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 68; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___157377 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___150126, s.n___157377); - r0 = s.n___157377; + s.n___183993 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___176742, s.n___183993); + r0 = s.n___183993; return leave(s, r0) default: oops() } } } -control_pushEventContext__P146335.info = {"start":7123,"length":340,"line":216,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P172951.info = {"start":7123,"length":340,"line":216,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -function control_pushEventContext__P146335_mk(s) { +function control_pushEventContext__P172951_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P146335, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P172951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___157371: undefined, - n___157377: undefined, + ctx___183987: undefined, + n___183993: undefined, } } -function control_EventContext_unregister__P146328(s) { +function control_EventContext_unregister__P172944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18548,37 +18591,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___157406 = undefined; - s.unnamed1038___U1 = undefined; - s.unnamed1039___U2 = undefined; + s.h___184022 = undefined; + s.unnamed1146___U1 = undefined; + s.unnamed1147___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C146321_VT)) failedCast(r0); - s.h___157406 = (undefined); + if (!checkSubtype(r0, control_EventContext__C172937_VT)) failedCast(r0); + s.h___184022 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed1038___U1 = (r0); - s.unnamed1039___U2 = (0); + s.unnamed1146___U1 = (r0); + s.unnamed1147___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1039___U2; - r0 = pxsim_Array__length(s.unnamed1038___U1); + s.tmp_0 = r0 = s.unnamed1147___U2; + r0 = pxsim_Array__length(s.unnamed1146___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1038___U1, s.unnamed1039___U2); - s.h___157406 = (r0); - s.tmp_2 = control_EventHandler_unregister__P150120_mk(s); - s.tmp_2.arg0 = s.h___157406; + r0 = pxsim_Array__getAt(s.unnamed1146___U1, s.unnamed1147___U2); + s.h___184022 = (r0); + s.tmp_2 = control_EventHandler_unregister__P176736_mk(s); + s.tmp_2.arg0 = s.h___184022; s.callLocIdx = 62; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed1039___U2 + 1); - s.unnamed1039___U2 = (r0); + r0 = (s.unnamed1147___U2 + 1); + s.unnamed1147___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1038___U1 = (undefined); + s.unnamed1146___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -18589,19 +18632,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P146328.info = {"start":4534,"length":131,"line":137,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P172944.info = {"start":4534,"length":131,"line":137,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventContext_unregister__P146328_mk(s) { +function control_EventContext_unregister__P172944_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P146328, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P172944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___157406: undefined, - unnamed1038___U1: undefined, - unnamed1039___U2: undefined, + h___184022: undefined, + unnamed1146___U1: undefined, + unnamed1147___U2: undefined, arg0: undefined, } } @@ -18609,7 +18652,7 @@ function control_EventContext_unregister__P146328_mk(s) { -function control_EventHandler_unregister__P150120(s) { +function control_EventHandler_unregister__P176736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18624,24 +18667,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C150118_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C176734_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__P150122, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P176738, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P150120.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__P176736.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__P150120_mk(s) { +function control_EventHandler_unregister__P176736_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P150120, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P176736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18653,7 +18696,7 @@ function control_EventHandler_unregister__P150120_mk(s) { -function control_doNothing__P150122(s) { +function control_doNothing__P176738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18667,12 +18710,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P150122.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P176738.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__P150122_mk(s) { +function control_doNothing__P176738_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P150122, depth: s.depth + 1, + parent: s, fn: control_doNothing__P176738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -18680,7 +18723,7 @@ function control_doNothing__P150122_mk(s) { -function control_EventContext_constructor__P146325(s) { +function control_EventContext_constructor__P172941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18695,7 +18738,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C146321_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C172937_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -18705,26 +18748,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___146323); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___172939); 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___146323 = (r0); + globals.control_EventContext_lastStats___172939 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P146325.info = {"start":1740,"length":347,"line":58,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P172941.info = {"start":1740,"length":347,"line":58,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -function control_EventContext_constructor__P146325_mk(s) { +function control_EventContext_constructor__P172941_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P146325, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P172941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18735,7 +18778,7 @@ function control_EventContext_constructor__P146325_mk(s) { -function control_EventContext_registerFrameHandler__P146329(s) { +function control_EventContext_registerFrameHandler__P172945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18745,8 +18788,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___155447 = undefined; - s.i___155456 = undefined; + s.fn___182063 = undefined; + s.i___182072 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18754,7 +18797,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C146321_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C172937_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18767,20 +18810,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__P150124_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P176740_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 63; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C146318_VT); - s.fn___155447 = (r0); - r0 = (s.fn___155447).fields["order"] = (s.arg1); - r0 = (s.fn___155447).fields["handler"] = (s.arg2); - s.i___155456 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C172934_VT); + s.fn___182063 = (r0); + r0 = (s.fn___182063).fields["order"] = (s.arg1); + r0 = (s.fn___182063).fields["handler"] = (s.arg2); + s.i___182072 = (0); case 3: - s.tmp_1 = r0 = s.i___155456; + s.tmp_1 = r0 = s.i___182072; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -18791,7 +18834,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___155456); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___182072); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -18800,29 +18843,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___155456, s.fn___155447); - r0 = s.fn___155447; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___182072, s.fn___182063); + r0 = s.fn___182063; { step = 7; continue; } case 4: case 5: - r0 = (s.i___155456 + 1); - s.i___155456 = (r0); + r0 = (s.i___182072 + 1); + s.i___182072 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___155447); - r0 = s.fn___155447; + r0 = pxsim_Array__push(s.tmp_0, s.fn___182063); + r0 = s.fn___182063; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P146329.info = {"start":4675,"length":643,"line":143,"column":8,"endLine":160,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P172945.info = {"start":4675,"length":643,"line":143,"column":8,"endLine":160,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -function control_EventContext_registerFrameHandler__P146329_mk(s) { +function control_EventContext_registerFrameHandler__P172945_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P146329, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P172945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18832,8 +18875,8 @@ function control_EventContext_registerFrameHandler__P146329_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___155447: undefined, - i___155456: undefined, + fn___182063: undefined, + i___182072: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18843,7 +18886,7 @@ function control_EventContext_registerFrameHandler__P146329_mk(s) { -function control_EventContext_registerFrameCallbacks__P150124(s) { +function control_EventContext_registerFrameCallbacks__P176740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18853,13 +18896,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___155490 = undefined; + s.worker___182106 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C146321_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C172937_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18872,28 +18915,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___155490 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P155496); + s.worker___182106 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P182112); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___155490); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___182106); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P150124.info = {"start":3481,"length":895,"line":105,"column":8,"endLine":129,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P176740.info = {"start":3481,"length":895,"line":105,"column":8,"endLine":129,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -function control_EventContext_registerFrameCallbacks__P150124_mk(s) { +function control_EventContext_registerFrameCallbacks__P176740_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P150124, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P176740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___155490: undefined, + worker___182106: undefined, arg0: undefined, } } @@ -18901,7 +18944,7 @@ function control_EventContext_registerFrameCallbacks__P150124_mk(s) { -function inline__P155496(s) { +function inline__P182112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18911,15 +18954,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___155526 = undefined; + s.delay___182142 = 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, inline__P155502); + r0 = pxsim_pxtcore_mkAction(1, inline__P182118); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P146293_mk(s); + s.tmp_2 = pauseUntil__P172909_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 57; s.pc = 5; return s.tmp_2; @@ -18942,14 +18985,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__P150123_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P176739_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 58; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___155526 = (r0); - s.tmp_0 = pause__P146339_mk(s); - s.tmp_0.arg0 = s.delay___155526; + s.delay___182142 = (r0); + s.tmp_0 = pause__P172955_mk(s); + s.tmp_0.arg0 = s.delay___182142; s.callLocIdx = 59; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -18960,24 +19003,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155496.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P182112.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P155496_mk(s) { +function inline__P182112_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155496, depth: s.depth + 1, + parent: s, fn: inline__P182112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___155526: undefined, + delay___182142: undefined, } } -function inline__P155502(s) { +function inline__P182118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18995,12 +19038,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P155502.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P182118.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P155502_mk(s) { +function inline__P182118_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P155502, depth: s.depth + 1, + parent: s, fn: inline__P182118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19010,7 +19053,7 @@ function inline__P155502_mk(s) { -function control_EventContext_runCallbacks__P150123(s) { +function control_EventContext_runCallbacks__P176739(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19020,42 +19063,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___155535 = undefined; - s.f___155548 = undefined; - s.unnamed1034___U2 = undefined; - s.unnamed1035___U3 = undefined; - s.runtime___155553 = undefined; - s.fps___155573 = undefined; - s.delay___155635 = undefined; + s.loopStart___182151 = undefined; + s.f___182164 = undefined; + s.unnamed1142___U2 = undefined; + s.unnamed1143___U3 = undefined; + s.runtime___182169 = undefined; + s.fps___182189 = undefined; + s.delay___182251 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C146321_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C172937_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___155535 = (r0); + s.loopStart___182151 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___155535 - s.tmp_2); + r0 = (s.loopStart___182151 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___155535); - s.f___155548 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___182151); + s.f___182164 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed1034___U2 = (r0); - s.unnamed1035___U3 = (0); + s.unnamed1142___U2 = (r0); + s.unnamed1143___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1035___U3; - r0 = pxsim_Array__length(s.unnamed1034___U2); + s.tmp_0 = r0 = s.unnamed1143___U3; + r0 = pxsim_Array__length(s.unnamed1142___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1034___U2, s.unnamed1035___U3); - s.f___155548 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1142___U2, s.unnamed1143___U3); + s.f___182164 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___155548; + s.tmp_2.arg0 = s.f___182164; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 54; s.pc = 13; return s.tmp_2; @@ -19067,19 +19110,19 @@ switch (step) { } case 13: r0 = s.retval; - r0 = (s.unnamed1035___U3 + 1); - s.unnamed1035___U3 = (r0); + r0 = (s.unnamed1143___U3 + 1); + s.unnamed1143___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1034___U2 = (undefined); + s.unnamed1142___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___155535); - s.runtime___155553 = (r0); + r0 = (s.tmp_0 - s.loopStart___182151); + s.runtime___182169 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___155553); + r0 = (s.tmp_2 + s.runtime___182169); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -19112,8 +19155,8 @@ switch (step) { r0 = (s.tmp_6 / 1000); s.tmp_5 = r0; r0 = (s.tmp_4 / s.tmp_5); - s.fps___155573 = (r0); - r0 = pxsim.Math_.round(s.fps___155573); + s.fps___182189 = (r0); + r0 = pxsim.Math_.round(s.fps___182189); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 14); @@ -19125,21 +19168,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___146323 = (r0); - r0 = (s.fps___155573 < 99); + globals.control_EventContext_lastStats___172939 = (r0); + r0 = (s.fps___182189 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___146323) && (globals.control_EventContext_lastStats___146323).vtable) { + if ((globals.control_EventContext_lastStats___172939) && (globals.control_EventContext_lastStats___172939).vtable) { setupResume(s, 15); - pxsim_String__stringConv(globals.control_EventContext_lastStats___146323); + pxsim_String__stringConv(globals.control_EventContext_lastStats___172939); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___146323) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___172939) + ""; } case 15: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___155573 * 10); + r0 = (s.fps___182189 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -19166,10 +19209,10 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___146323 = (r0); + globals.control_EventContext_lastStats___172939 = (r0); case 5: case 6: - s.tmp_2 = control_ramSize__P146272_mk(s); + s.tmp_2 = control_ramSize__P172888_mk(s); s.callLocIdx = 55; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; @@ -19189,7 +19232,7 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_8 = r0; - r0 = (s.fps___155573 * 100); + r0 = (s.fps___182189 * 100); s.tmp_11 = r0; r0 = (s.tmp_11 | 0); s.tmp_10 = r0; @@ -19230,24 +19273,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 11: case 12: - s.tmp_0 = Math_max__P146062_mk(s); + s.tmp_0 = Math_max__P172678_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___155553); + r0 = (20 - s.runtime___182169); s.tmp_0.arg1 = r0; s.callLocIdx = 56; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.delay___155635 = (r0); - r0 = s.delay___155635; + s.delay___182251 = (r0); + r0 = s.delay___182251; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P150123.info = {"start":2182,"length":1246,"line":74,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P176739.info = {"start":2182,"length":1246,"line":74,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_EventContext_runCallbacks__P150123_mk(s) { +function control_EventContext_runCallbacks__P176739_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P150123, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P176739, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19263,13 +19306,13 @@ function control_EventContext_runCallbacks__P150123_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - loopStart___155535: undefined, - f___155548: undefined, - unnamed1034___U2: undefined, - unnamed1035___U3: undefined, - runtime___155553: undefined, - fps___155573: undefined, - delay___155635: undefined, + loopStart___182151: undefined, + f___182164: undefined, + unnamed1142___U2: undefined, + unnamed1143___U3: undefined, + runtime___182169: undefined, + fps___182189: undefined, + delay___182251: undefined, arg0: undefined, } } @@ -19277,39 +19320,7 @@ function control_EventContext_runCallbacks__P150123_mk(s) { -function helpers_arrayShift__P146035(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = pxsim_Array_.removeAt(s.arg0, 0); - return leave(s, r0) - default: oops() -} } } -helpers_arrayShift__P146035.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__P146035_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: helpers_arrayShift__P146035, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function story_StoryState_trackTask__P149740(s) { +function story_StoryState_trackTask__P176356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19325,7 +19336,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_StoryState__C149735_VT)) failedCast(r0); + if (!checkSubtype(r0, story_StoryState__C176351_VT)) failedCast(r0); r0 = s.arg0.fields["activeTasks"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -19333,12 +19344,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_StoryState_trackTask__P149740.info = {"start":343,"length":74,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"trackTask","argumentNames":["this","task"]} +story_StoryState_trackTask__P176356.info = {"start":343,"length":74,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/arcade-story/sequence.ts","functionName":"trackTask","argumentNames":["this","task"]} -function story_StoryState_trackTask__P149740_mk(s) { +function story_StoryState_trackTask__P176356_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_StoryState_trackTask__P149740, depth: s.depth + 1, + parent: s, fn: story_StoryState_trackTask__P176356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19349,7 +19360,7 @@ function story_StoryState_trackTask__P149740_mk(s) { -function Sprite_ax__P147988(s) { +function Sprite_ax__P174604(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19365,7 +19376,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -19376,12 +19387,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P147988.info = {"start":3327,"length":51,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P174604.info = {"start":3327,"length":51,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P147988_mk(s) { +function Sprite_ax__P174604_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P147988, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P174604, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19394,7 +19405,7 @@ function Sprite_ax__P147988_mk(s) { -function Sprite_ax__P147987(s) { +function Sprite_ax__P174603(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19409,20 +19420,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P147987.info = {"start":3161,"length":60,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P147987.isGetter = true; +Sprite_ax__P174603.info = {"start":3161,"length":60,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P174603.isGetter = true; -function Sprite_ax__P147987_mk(s) { +function Sprite_ax__P174603_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P147987, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P174603, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19432,7 +19443,7 @@ function Sprite_ax__P147987_mk(s) { -function Fx_toFloat__P146103(s) { +function Fx_toFloat__P172719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19450,12 +19461,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P146103.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} +Fx_toFloat__P172719.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} -function Fx_toFloat__P146103_mk(s) { +function Fx_toFloat__P172719_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P146103, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P172719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19464,7 +19475,7 @@ function Fx_toFloat__P146103_mk(s) { -function Sprite_vy__P147986(s) { +function Sprite_vy__P174602(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19480,7 +19491,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -19491,12 +19502,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P147986.info = {"start":2988,"length":51,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P174602.info = {"start":2988,"length":51,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P147986_mk(s) { +function Sprite_vy__P174602_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P147986, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P174602, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19509,7 +19520,7 @@ function Sprite_vy__P147986_mk(s) { -function Sprite_vy__P147985(s) { +function Sprite_vy__P174601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19524,20 +19535,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P147985.info = {"start":2826,"length":60,"line":109,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P147985.isGetter = true; +Sprite_vy__P174601.info = {"start":2826,"length":60,"line":109,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P174601.isGetter = true; -function Sprite_vy__P147985_mk(s) { +function Sprite_vy__P174601_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P147985, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P174601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19547,7 +19558,7 @@ function Sprite_vy__P147985_mk(s) { -function Sprite_vx__P147984(s) { +function Sprite_vx__P174600(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19563,7 +19574,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -19574,12 +19585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P147984.info = {"start":2657,"length":51,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P174600.info = {"start":2657,"length":51,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P147984_mk(s) { +function Sprite_vx__P174600_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P147984, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P174600, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19592,7 +19603,7 @@ function Sprite_vx__P147984_mk(s) { -function Sprite_vx__P147983(s) { +function Sprite_vx__P174599(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19607,20 +19618,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P147983.info = {"start":2495,"length":60,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P147983.isGetter = true; +Sprite_vx__P174599.info = {"start":2495,"length":60,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P174599.isGetter = true; -function Sprite_vx__P147983_mk(s) { +function Sprite_vx__P174599_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P147983, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P174599, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19630,7 +19641,7 @@ function Sprite_vx__P147983_mk(s) { -function Sprite_y__P147982(s) { +function Sprite_y__P174598(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19646,8 +19657,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P148021_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P174637_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -19665,12 +19676,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P147982.info = {"start":2305,"length":72,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P174598.info = {"start":2305,"length":72,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P147982_mk(s) { +function Sprite_y__P174598_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P147982, depth: s.depth + 1, + parent: s, fn: Sprite_y__P174598, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19685,7 +19696,7 @@ function Sprite_y__P147982_mk(s) { -function Sprite_top__P148021(s) { +function Sprite_top__P174637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19695,22 +19706,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___157634 = undefined; + s.physics___184250 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 363; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___157634 = (r0); - s.tmp_0 = PhysicsEngine__C148115_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___157634; + s.physics___184250 = (r0); + s.tmp_0 = PhysicsEngine__C174731_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___184250; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -19721,7 +19732,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__C148115_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C174731_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: @@ -19730,18 +19741,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P148021.info = {"start":10016,"length":256,"line":361,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P174637.info = {"start":10016,"length":256,"line":361,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P148021_mk(s) { +function Sprite_top__P174637_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P148021, depth: s.depth + 1, + parent: s, fn: Sprite_top__P174637, 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___157634: undefined, + physics___184250: undefined, arg0: undefined, arg1: undefined, } } @@ -19750,7 +19761,7 @@ function Sprite_top__P148021_mk(s) { -function PhysicsEngine_moveSprite__P148119(s) { +function PhysicsEngine_moveSprite__P174735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19768,17 +19779,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C148115_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C174731_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P148119.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__P174735.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__P148119_mk(s) { +function PhysicsEngine_moveSprite__P174735_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P148119, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P174735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19790,7 +19801,7 @@ function PhysicsEngine_moveSprite__P148119_mk(s) { -function Fx_sub__P146091(s) { +function Fx_sub__P172707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19809,12 +19820,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P146091.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__P172707.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__P146091_mk(s) { +function Fx_sub__P172707_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P146091, depth: s.depth + 1, + parent: s, fn: Fx_sub__P172707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19824,7 +19835,7 @@ function Fx_sub__P146091_mk(s) { -function Sprite_top__P148020(s) { +function Sprite_top__P174636(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19839,20 +19850,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P148020.info = {"start":9873,"length":53,"line":356,"column":4,"endLine":358,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P148020.isGetter = true; +Sprite_top__P174636.info = {"start":9873,"length":53,"line":356,"column":4,"endLine":358,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P174636.isGetter = true; -function Sprite_top__P148020_mk(s) { +function Sprite_top__P174636_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P148020, depth: s.depth + 1, + parent: s, fn: Sprite_top__P174636, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19862,7 +19873,7 @@ function Sprite_top__P148020_mk(s) { -function Sprite_y__P147981(s) { +function Sprite_y__P174597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19877,7 +19888,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -19892,13 +19903,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P147981.info = {"start":2132,"length":85,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P147981.isGetter = true; +Sprite_y__P174597.info = {"start":2132,"length":85,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P174597.isGetter = true; -function Sprite_y__P147981_mk(s) { +function Sprite_y__P174597_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P147981, depth: s.depth + 1, + parent: s, fn: Sprite_y__P174597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19912,7 +19923,7 @@ function Sprite_y__P147981_mk(s) { -function Sprite_x__P147980(s) { +function Sprite_x__P174596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19928,8 +19939,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P148017_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P174633_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -19947,12 +19958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P147980.info = {"start":1956,"length":72,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P174596.info = {"start":1956,"length":72,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P147980_mk(s) { +function Sprite_x__P174596_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P147980, depth: s.depth + 1, + parent: s, fn: Sprite_x__P174596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19967,7 +19978,7 @@ function Sprite_x__P147980_mk(s) { -function Sprite_left__P148017(s) { +function Sprite_left__P174633(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19977,22 +19988,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___157675 = undefined; + s.physics___184291 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 355; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___157675 = (r0); - s.tmp_0 = PhysicsEngine__C148115_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___157675; + s.physics___184291 = (r0); + s.tmp_0 = PhysicsEngine__C174731_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___184291; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -20003,7 +20014,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__C148115_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C174731_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: @@ -20012,18 +20023,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P148017.info = {"start":9212,"length":257,"line":331,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P174633.info = {"start":9212,"length":257,"line":331,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P148017_mk(s) { +function Sprite_left__P174633_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P148017, depth: s.depth + 1, + parent: s, fn: Sprite_left__P174633, 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___157675: undefined, + physics___184291: undefined, arg0: undefined, arg1: undefined, } } @@ -20032,7 +20043,7 @@ function Sprite_left__P148017_mk(s) { -function Sprite_left__P148016(s) { +function Sprite_left__P174632(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20047,20 +20058,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P148016.info = {"start":9068,"length":53,"line":326,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P148016.isGetter = true; +Sprite_left__P174632.info = {"start":9068,"length":53,"line":326,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P174632.isGetter = true; -function Sprite_left__P148016_mk(s) { +function Sprite_left__P174632_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P148016, depth: s.depth + 1, + parent: s, fn: Sprite_left__P174632, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20070,7 +20081,7 @@ function Sprite_left__P148016_mk(s) { -function Sprite_x__P147979(s) { +function Sprite_x__P174595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20085,7 +20096,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -20100,13 +20111,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P147979.info = {"start":1784,"length":84,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P147979.isGetter = true; +Sprite_x__P174595.info = {"start":1784,"length":84,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P174595.isGetter = true; -function Sprite_x__P147979_mk(s) { +function Sprite_x__P174595_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P147979, depth: s.depth + 1, + parent: s, fn: Sprite_x__P174595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20120,7 +20131,7 @@ function Sprite_x__P147979_mk(s) { -function clearTimeout__P146350(s) { +function clearTimeout__P172966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20134,7 +20145,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = control_clearInterval__P146281_mk(s); + s.tmp_0 = control_clearInterval__P172897_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.callLocIdx = 72; s.pc = 1; return s.tmp_0; @@ -20144,12 +20155,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -clearTimeout__P146350.info = {"start":826,"length":114,"line":35,"column":0,"endLine":37,"endColumn":1,"fileName":"pxt_modules/base/scheduling.ts","functionName":"clearTimeout","argumentNames":["intervalId"]} +clearTimeout__P172966.info = {"start":826,"length":114,"line":35,"column":0,"endLine":37,"endColumn":1,"fileName":"pxt_modules/base/scheduling.ts","functionName":"clearTimeout","argumentNames":["intervalId"]} -function clearTimeout__P146350_mk(s) { +function clearTimeout__P172966_mk(s) { checkStack(s.depth); return { - parent: s, fn: clearTimeout__P146350, depth: s.depth + 1, + parent: s, fn: clearTimeout__P172966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20159,7 +20170,7 @@ function clearTimeout__P146350_mk(s) { -function control_clearInterval__P146281(s) { +function control_clearInterval__P172897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20169,14 +20180,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___157590 = undefined; - s.it___157596 = undefined; + s.i___184206 = undefined; + s.it___184212 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._intervals___150091); + r0 = pxsim_numops_toBoolDecr(globals._intervals___176707); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -20185,18 +20196,18 @@ switch (step) { { step = 9; continue; } case 1: case 2: - s.i___157590 = (0); + s.i___184206 = (0); case 3: - s.tmp_1 = r0 = s.i___157590; - r0 = pxsim_Array__length(globals._intervals___150091); + s.tmp_1 = r0 = s.i___184206; + r0 = pxsim_Array__length(globals._intervals___176707); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(globals._intervals___150091, s.i___157590); - s.it___157596 = (r0); - r0 = s.it___157596.fields["id"]; + r0 = pxsim_Array__getAt(globals._intervals___176707, s.i___184206); + s.it___184212 = (r0); + r0 = s.it___184212.fields["id"]; s.tmp_1 = r0; r0 = (s.tmp_1 == s.arg0); s.tmp_0 = r0; @@ -20205,7 +20216,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = s.it___157596.fields["mode"]; + r0 = s.it___184212.fields["mode"]; s.tmp_2 = r0; r0 = (s.tmp_2 == s.arg1); case 5: @@ -20213,16 +20224,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 6; continue; } - s.tmp_4 = control_Interval_cancel__P150094_mk(s); - s.tmp_4.arg0 = s.it___157596; + s.tmp_4 = control_Interval_cancel__P176710_mk(s); + s.tmp_4.arg0 = s.it___184212; s.callLocIdx = 35; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; { step = 8; continue; } case 6: case 7: - r0 = (s.i___157590 + 1); - s.i___157590 = (r0); + r0 = (s.i___184206 + 1); + s.i___184206 = (r0); { step = 3; continue; } case 8: case 9: @@ -20230,20 +20241,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_clearInterval__P146281.info = {"start":1826,"length":342,"line":61,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/interval.ts","functionName":"clearInterval","argumentNames":["intervalId","mode"]} +control_clearInterval__P172897.info = {"start":1826,"length":342,"line":61,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/interval.ts","functionName":"clearInterval","argumentNames":["intervalId","mode"]} -function control_clearInterval__P146281_mk(s) { +function control_clearInterval__P172897_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_clearInterval__P146281, depth: s.depth + 1, + parent: s, fn: control_clearInterval__P172897, 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___157590: undefined, - it___157596: undefined, + i___184206: undefined, + it___184212: undefined, arg0: undefined, arg1: undefined, } } @@ -20252,7 +20263,7 @@ function control_clearInterval__P146281_mk(s) { -function control_Interval_cancel__P150094(s) { +function control_Interval_cancel__P176710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20267,18 +20278,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_Interval__C150092_VT)) failedCast(r0); + if (!checkSubtype(r0, control_Interval__C176708_VT)) failedCast(r0); r0 = (s.arg0).fields["delay"] = (-1); r0 = undefined; return leave(s, r0) default: oops() } } } -control_Interval_cancel__P150094.info = {"start":1493,"length":49,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/base/interval.ts","functionName":"cancel","argumentNames":["this"]} +control_Interval_cancel__P176710.info = {"start":1493,"length":49,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/base/interval.ts","functionName":"cancel","argumentNames":["this"]} -function control_Interval_cancel__P150094_mk(s) { +function control_Interval_cancel__P176710_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_Interval_cancel__P150094, depth: s.depth + 1, + parent: s, fn: control_Interval_cancel__P176710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20287,7 +20298,7 @@ function control_Interval_cancel__P150094_mk(s) { -function setTimeout__P146349(s) { +function setTimeout__P172965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20302,7 +20313,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = control_setInterval__P146280_mk(s); + s.tmp_0 = control_setInterval__P172896_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = 1; @@ -20312,12 +20323,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -setTimeout__P146349.info = {"start":610,"length":139,"line":26,"column":0,"endLine":28,"endColumn":1,"fileName":"pxt_modules/base/scheduling.ts","functionName":"setTimeout","argumentNames":["func","delay"]} +setTimeout__P172965.info = {"start":610,"length":139,"line":26,"column":0,"endLine":28,"endColumn":1,"fileName":"pxt_modules/base/scheduling.ts","functionName":"setTimeout","argumentNames":["func","delay"]} -function setTimeout__P146349_mk(s) { +function setTimeout__P172965_mk(s) { checkStack(s.depth); return { - parent: s, fn: setTimeout__P146349, depth: s.depth + 1, + parent: s, fn: setTimeout__P172965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20328,7 +20339,7 @@ function setTimeout__P146349_mk(s) { -function control_setInterval__P146280(s) { +function control_setInterval__P172896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20338,7 +20349,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.interval___157709 = undefined; + s.interval___184325 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20364,19 +20375,19 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals._intervals___150091); + r0 = pxsim_numops_toBoolDecr(globals._intervals___176707); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } r0 = pxsim_Array__mk(); - globals._intervals___150091 = (r0); + globals._intervals___176707 = (r0); case 5: case 6: - r0 = pxsim_pxtcore_mkClassInstance(control_Interval__C150092_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_Interval__C176708_VT); s.tmp_0 = r0; - s.tmp_1 = control_Interval_constructor__P150095_mk(s); + s.tmp_1 = control_Interval_constructor__P176711_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -20384,25 +20395,25 @@ switch (step) { s.callLocIdx = 34; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.interval___157709 = (s.tmp_0); - r0 = s.interval___157709.fields["id"]; + s.interval___184325 = (s.tmp_0); + r0 = s.interval___184325.fields["id"]; case 7: return leave(s, r0) default: oops() } } } -control_setInterval__P146280.info = {"start":1554,"length":266,"line":54,"column":4,"endLine":59,"endColumn":5,"fileName":"pxt_modules/base/interval.ts","functionName":"setInterval","argumentNames":["func","delay","mode"]} +control_setInterval__P172896.info = {"start":1554,"length":266,"line":54,"column":4,"endLine":59,"endColumn":5,"fileName":"pxt_modules/base/interval.ts","functionName":"setInterval","argumentNames":["func","delay","mode"]} -function control_setInterval__P146280_mk(s) { +function control_setInterval__P172896_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_setInterval__P146280, depth: s.depth + 1, + parent: s, fn: control_setInterval__P172896, 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, - interval___157709: undefined, + interval___184325: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20412,7 +20423,7 @@ function control_setInterval__P146280_mk(s) { -function control_Interval_constructor__P150095(s) { +function control_Interval_constructor__P176711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20430,8 +20441,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_Interval__C150092_VT)) failedCast(r0); - r0 = pxsim_Array__length(globals._intervals___150091); + if (!checkSubtype(r0, control_Interval__C176708_VT)) failedCast(r0); + r0 = pxsim_Array__length(globals._intervals___176707); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -20440,8 +20451,8 @@ switch (step) { r0 = 1; { step = 2; continue; } case 1: - s.tmp_3 = r0 = globals._intervals___150091; - r0 = pxsim_Array__length(globals._intervals___150091); + s.tmp_3 = r0 = globals._intervals___176707; + r0 = pxsim_Array__length(globals._intervals___176707); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; @@ -20456,8 +20467,8 @@ switch (step) { r0 = (s.arg0).fields["func"] = (s.arg1); r0 = (s.arg0).fields["delay"] = (s.arg2); r0 = (s.arg0).fields["mode"] = (s.arg3); - r0 = pxsim_Array__push(globals._intervals___150091, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P157749); + r0 = pxsim_Array__push(globals._intervals___176707, s.arg0); + r0 = pxsim_pxtcore_mkAction(1, inline__P184365); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim.control.runInParallel(s.tmp_0); @@ -20465,12 +20476,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_Interval_constructor__P150095.info = {"start":283,"length":367,"line":15,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/base/interval.ts","functionName":"inline","argumentNames":["this","func","delay","mode"]} +control_Interval_constructor__P176711.info = {"start":283,"length":367,"line":15,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/base/interval.ts","functionName":"inline","argumentNames":["this","func","delay","mode"]} -function control_Interval_constructor__P150095_mk(s) { +function control_Interval_constructor__P176711_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_Interval_constructor__P150095, depth: s.depth + 1, + parent: s, fn: control_Interval_constructor__P176711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20489,7 +20500,7 @@ function control_Interval_constructor__P150095_mk(s) { -function inline__P157749(s) { +function inline__P184365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20499,7 +20510,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = control_Interval_work__P150093_mk(s); + s.tmp_0 = control_Interval_work__P176709_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 29; s.pc = 1; return s.tmp_0; case 1: @@ -20508,12 +20519,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P157749.info = {"start":621,"length":17,"line":23,"column":34,"endLine":23,"endColumn":51,"fileName":"pxt_modules/base/interval.ts","functionName":"inline","argumentNames":[]} +inline__P184365.info = {"start":621,"length":17,"line":23,"column":34,"endLine":23,"endColumn":51,"fileName":"pxt_modules/base/interval.ts","functionName":"inline","argumentNames":[]} -function inline__P157749_mk(s) { +function inline__P184365_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P157749, depth: s.depth + 1, + parent: s, fn: inline__P184365, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20522,7 +20533,7 @@ function inline__P157749_mk(s) { -function control_Interval_work__P150093(s) { +function control_Interval_work__P176709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20537,7 +20548,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_Interval__C150092_VT)) failedCast(r0); + if (!checkSubtype(r0, control_Interval__C176708_VT)) failedCast(r0); r0 = s.arg0.fields["mode"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -20556,7 +20567,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - s.tmp_3 = pause__P146339_mk(s); + s.tmp_3 = pause__P172955_mk(s); r0 = s.arg0.fields["delay"]; s.tmp_3.arg0 = r0; s.callLocIdx = 30; s.pc = 13; return s.tmp_3; @@ -20594,7 +20605,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_2 = pause__P146339_mk(s); + s.tmp_2 = pause__P172955_mk(s); r0 = s.arg0.fields["delay"]; s.tmp_2.arg0 = r0; s.callLocIdx = 32; s.pc = 15; return s.tmp_2; @@ -20624,17 +20635,17 @@ switch (step) { { step = 8; continue; } case 11: case 12: - r0 = pxsim_Array_.removeElement(globals._intervals___150091, s.arg0); + r0 = pxsim_Array_.removeElement(globals._intervals___176707, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -control_Interval_work__P150093.info = {"start":660,"length":823,"line":26,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/base/interval.ts","functionName":"work","argumentNames":["this"]} +control_Interval_work__P176709.info = {"start":660,"length":823,"line":26,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/base/interval.ts","functionName":"work","argumentNames":["this"]} -function control_Interval_work__P150093_mk(s) { +function control_Interval_work__P176709_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_Interval_work__P150093, depth: s.depth + 1, + parent: s, fn: control_Interval_work__P176709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20647,7 +20658,7 @@ function control_Interval_work__P150093_mk(s) { -function timer_after__P149648(s) { +function timer_after__P176264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20662,7 +20673,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = setTimeout__P146349_mk(s); + s.tmp_0 = setTimeout__P172965_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1644; s.pc = 1; return s.tmp_0; @@ -20672,12 +20683,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -timer_after__P149648.info = {"start":317,"length":96,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/Timers/timers.ts","functionName":"after","argumentNames":["time","thenDo"]} +timer_after__P176264.info = {"start":317,"length":96,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/Timers/timers.ts","functionName":"after","argumentNames":["time","thenDo"]} -function timer_after__P149648_mk(s) { +function timer_after__P176264_mk(s) { checkStack(s.depth); return { - parent: s, fn: timer_after__P149648, depth: s.depth + 1, + parent: s, fn: timer_after__P176264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20688,7 +20699,7 @@ function timer_after__P149648_mk(s) { -function scene_cameraFollowSprite__P148416(s) { +function scene_cameraFollowSprite__P175032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20698,32 +20709,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___157892 = undefined; + s.scene___184508 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1089; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___157892 = (r0); - r0 = s.scene___157892.fields["camera"]; + s.scene___184508 = (r0); + r0 = s.scene___184508.fields["camera"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["sprite"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_cameraFollowSprite__P148416.info = {"start":3990,"length":139,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} +scene_cameraFollowSprite__P175032.info = {"start":3990,"length":139,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} -function scene_cameraFollowSprite__P148416_mk(s) { +function scene_cameraFollowSprite__P175032_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_cameraFollowSprite__P148416, depth: s.depth + 1, + parent: s, fn: scene_cameraFollowSprite__P175032, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___157892: undefined, + scene___184508: undefined, arg0: undefined, } } @@ -20731,7 +20742,7 @@ function scene_cameraFollowSprite__P148416_mk(s) { -function sprites_create__P147921(s) { +function sprites_create__P174537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20741,51 +20752,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___162016 = undefined; - s.sprite___162019 = undefined; + s.scene___188632 = undefined; + s.sprite___188635 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 283; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___162016 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C147970_VT); + s.scene___188632 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C174586_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P148007_mk(s); + s.tmp_1 = Sprite_constructor__P174623_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 284; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___162019 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P148025_mk(s); - s.tmp_0.arg0 = s.sprite___162019; + s.sprite___188635 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P174641_mk(s); + s.tmp_0.arg0 = s.sprite___188635; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 285; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C148115_v0_2_mk(s); - r0 = s.scene___162016.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C174731_v0_2_mk(s); + r0 = s.scene___188632.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___162019; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C148115_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___188635; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C174731_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, inline__P162034); + r0 = pxsim_pxtcore_mkAction(1, inline__P188650); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P162041); + r0 = pxsim_pxtcore_mkAction(1, inline__P188657); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___162019); - s.tmp_2 = helpers_arrayForEach__P146042_mk(s); - s.tmp_3 = helpers_arrayFilter__P146043_mk(s); - r0 = s.scene___162016.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___188635); + s.tmp_2 = helpers_arrayForEach__P172658_mk(s); + s.tmp_3 = helpers_arrayFilter__P172659_mk(s); + r0 = s.scene___188632.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 286; s.pc = 6; return s.tmp_3; @@ -20796,23 +20807,23 @@ switch (step) { s.callLocIdx = 288; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___162019; + r0 = s.sprite___188635; return leave(s, r0) default: oops() } } } -sprites_create__P147921.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__P174537.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__P147921_mk(s) { +function sprites_create__P174537_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P147921, depth: s.depth + 1, + parent: s, fn: sprites_create__P174537, 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___162016: undefined, - sprite___162019: undefined, + scene___188632: undefined, + sprite___188635: undefined, arg0: undefined, arg1: undefined, } } @@ -20821,7 +20832,7 @@ function sprites_create__P147921_mk(s) { -function inline__P162034(s) { +function inline__P188650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20841,12 +20852,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P162034.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P188650.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -function inline__P162034_mk(s) { +function inline__P188650_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P162034, depth: s.depth + 1, + parent: s, fn: inline__P188650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20856,7 +20867,7 @@ function inline__P162034_mk(s) { -function inline__P162041(s) { +function inline__P188657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20888,12 +20899,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P162041.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P188657.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -function inline__P162041_mk(s) { +function inline__P188657_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P162041, depth: s.depth + 1, + parent: s, fn: inline__P188657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20903,7 +20914,7 @@ function inline__P162041_mk(s) { -function PhysicsEngine_addSprite__P148117(s) { +function PhysicsEngine_addSprite__P174733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20919,17 +20930,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C148115_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C174731_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P148117.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__P174733.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__P148117_mk(s) { +function PhysicsEngine_addSprite__P174733_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P148117, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P174733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20939,7 +20950,7 @@ function PhysicsEngine_addSprite__P148117_mk(s) { -function Sprite_constructor__P148007(s) { +function Sprite_constructor__P174623(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20955,15 +20966,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P147807_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P174423_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 325; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -20977,7 +20988,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___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -20996,50 +21007,50 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P147984_mk(s); + s.tmp_0 = Sprite_vx__P174600_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 328; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P147986_mk(s); + s.tmp_0 = Sprite_vy__P174602_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 329; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P147988_mk(s); + s.tmp_0 = Sprite_ax__P174604_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 330; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P147990_mk(s); + s.tmp_0 = Sprite_ay__P174606_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 331; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P147992_mk(s); + s.tmp_0 = Sprite_fx__P174608_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 332; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P147994_mk(s); + s.tmp_0 = Sprite_fy__P174610_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 333; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P148010_mk(s); + s.tmp_0 = Sprite_setImage__P174626_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 334; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P148025_mk(s); + s.tmp_0 = Sprite_setKind__P174641_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 335; s.pc = 9; return s.tmp_0; @@ -21059,12 +21070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P148007.info = {"start":5461,"length":618,"line":208,"column":4,"endLine":228,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P174623.info = {"start":5461,"length":618,"line":208,"column":4,"endLine":228,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P148007_mk(s) { +function Sprite_constructor__P174623_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P148007, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P174623, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21081,7 +21092,7 @@ function Sprite_constructor__P148007_mk(s) { -function Sprite_fy__P147994(s) { +function Sprite_fy__P174610(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21097,9 +21108,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P146062_mk(s); + s.tmp_3 = Math_max__P172678_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 323; s.pc = 1; return s.tmp_3; @@ -21115,12 +21126,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P147994.info = {"start":4340,"length":64,"line":157,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P174610.info = {"start":4340,"length":64,"line":157,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P147994_mk(s) { +function Sprite_fy__P174610_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P147994, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P174610, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21135,7 +21146,7 @@ function Sprite_fy__P147994_mk(s) { -function Sprite_fy__P147993(s) { +function Sprite_fy__P174609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21150,20 +21161,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P147993.info = {"start":4178,"length":60,"line":152,"column":4,"endLine":154,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P147993.isGetter = true; +Sprite_fy__P174609.info = {"start":4178,"length":60,"line":152,"column":4,"endLine":154,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P174609.isGetter = true; -function Sprite_fy__P147993_mk(s) { +function Sprite_fy__P174609_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P147993, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P174609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21173,7 +21184,7 @@ function Sprite_fy__P147993_mk(s) { -function Sprite_fx__P147992(s) { +function Sprite_fx__P174608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21189,9 +21200,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P146062_mk(s); + s.tmp_3 = Math_max__P172678_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 320; s.pc = 1; return s.tmp_3; @@ -21207,12 +21218,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P147992.info = {"start":3997,"length":64,"line":147,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P174608.info = {"start":3997,"length":64,"line":147,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P147992_mk(s) { +function Sprite_fx__P174608_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P147992, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P174608, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21227,7 +21238,7 @@ function Sprite_fx__P147992_mk(s) { -function Sprite_fx__P147991(s) { +function Sprite_fx__P174607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21242,20 +21253,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P147991.info = {"start":3835,"length":60,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P147991.isGetter = true; +Sprite_fx__P174607.info = {"start":3835,"length":60,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P174607.isGetter = true; -function Sprite_fx__P147991_mk(s) { +function Sprite_fx__P174607_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P147991, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P174607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21265,7 +21276,7 @@ function Sprite_fx__P147991_mk(s) { -function info_setLife__P148168(s) { +function info_setLife__P174784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21279,8 +21290,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_setLife__P148204_mk(s); - s.tmp_0.arg0 = globals.player1___148215; + s.tmp_0 = info_PlayerInfo_setLife__P174820_mk(s); + s.tmp_0.arg0 = globals.player1___174831; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 838; s.pc = 1; return s.tmp_0; case 1: @@ -21289,12 +21300,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_setLife__P148168.info = {"start":8333,"length":78,"line":291,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"setLife","argumentNames":["value"]} +info_setLife__P174784.info = {"start":8333,"length":78,"line":291,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"setLife","argumentNames":["value"]} -function info_setLife__P148168_mk(s) { +function info_setLife__P174784_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_setLife__P148168, depth: s.depth + 1, + parent: s, fn: info_setLife__P174784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21304,7 +21315,7 @@ function info_setLife__P148168_mk(s) { -function info_PlayerInfo_constructor__P148196(s) { +function info_PlayerInfo_constructor__P174812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21320,7 +21331,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); r0 = (s.arg0).fields["_player"] = (s.arg1); r0 = (s.arg0).fields["border"] = (1); r0 = (s.arg0).fields["fc"] = (1); @@ -21336,7 +21347,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } @@ -21356,7 +21367,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 4; continue; } @@ -21369,7 +21380,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_1 = r0; r0 = (s.tmp_0).fields["x"] = (s.tmp_1); r0 = (s.arg0).fields["y"] = (0); @@ -21380,7 +21391,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } @@ -21394,13 +21405,13 @@ switch (step) { r0 = (s.arg0).fields["bg"] = (s.tmp_2); r0 = (s.arg0).fields["x"] = (0); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["up"] = (true); { step = 12; continue; } case 9: - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -21413,11 +21424,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); 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___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["left"] = (true); @@ -21425,17 +21436,17 @@ switch (step) { case 12: case 13: case 14: - r0 = pxsim_numops_toBoolDecr(globals.players___150349); + r0 = pxsim_numops_toBoolDecr(globals.players___176965); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } r0 = pxsim_Array__mk(); - globals.players___150349 = (r0); + globals.players___176965 = (r0); case 15: case 16: - s.tmp_0 = r0 = globals.players___150349; + s.tmp_0 = r0 = globals.players___176965; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -21445,12 +21456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_constructor__P148196.info = {"start":15446,"length":1370,"line":515,"column":8,"endLine":552,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} +info_PlayerInfo_constructor__P174812.info = {"start":15446,"length":1370,"line":515,"column":8,"endLine":552,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} -function info_PlayerInfo_constructor__P148196_mk(s) { +function info_PlayerInfo_constructor__P174812_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_constructor__P148196, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_constructor__P174812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21464,7 +21475,7 @@ function info_PlayerInfo_constructor__P148196_mk(s) { -function info_PlayerInfo_setLife__P148204(s) { +function info_PlayerInfo_setLife__P174820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21474,32 +21485,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___157998 = undefined; + s.state___184614 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P148197_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P174813_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 861; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___157998 = (r0); - s.tmp_0 = info_updateFlag__P150398_mk(s); + s.state___184614 = (r0); + s.tmp_0 = info_updateFlag__P177014_mk(s); s.tmp_0.arg0 = 4; s.tmp_0.arg1 = true; s.callLocIdx = 862; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = info_PlayerInfo_life__P148203_mk(s); + s.tmp_0 = info_PlayerInfo_life__P174819_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 863; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = r0 = s.state___157998; + s.tmp_0 = r0 = s.state___184614; r0 = (s.arg1 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["life"] = (s.tmp_1); @@ -21507,16 +21518,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_setLife__P148204.info = {"start":19455,"length":222,"line":645,"column":8,"endLine":651,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"setLife","argumentNames":["this","value"]} +info_PlayerInfo_setLife__P174820.info = {"start":19455,"length":222,"line":645,"column":8,"endLine":651,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"setLife","argumentNames":["this","value"]} -function info_PlayerInfo_setLife__P148204_mk(s) { +function info_PlayerInfo_setLife__P174820_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_setLife__P148204, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_setLife__P174820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - state___157998: undefined, + state___184614: undefined, arg0: undefined, arg1: undefined, } } @@ -21525,7 +21536,7 @@ function info_PlayerInfo_setLife__P148204_mk(s) { -function info_updateFlag__P150398(s) { +function info_updateFlag__P177014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21540,13 +21551,13 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = info_initHUD__P150394_mk(s); + s.tmp_0 = info_initHUD__P177010_mk(s); s.callLocIdx = 840; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.infoState___150348; + s.tmp_0 = r0 = globals.infoState___176964; r0 = s.tmp_0.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 | s.arg0); @@ -21554,8 +21565,8 @@ switch (step) { r0 = (s.tmp_0).fields["visibilityFlag"] = (s.tmp_1); { step = 2; continue; } case 1: - s.tmp_0 = r0 = globals.infoState___150348; - r0 = globals.infoState___150348.fields["visibilityFlag"]; + s.tmp_0 = r0 = globals.infoState___176964; + r0 = globals.infoState___176964.fields["visibilityFlag"]; s.tmp_4 = r0; r0 = (~ s.tmp_4); s.tmp_3 = r0; @@ -21569,12 +21580,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_updateFlag__P150398.info = {"start":11455,"length":204,"line":393,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"updateFlag","argumentNames":["flag","on"]} +info_updateFlag__P177014.info = {"start":11455,"length":204,"line":393,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"updateFlag","argumentNames":["flag","on"]} -function info_updateFlag__P150398_mk(s) { +function info_updateFlag__P177014_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_updateFlag__P150398, depth: s.depth + 1, + parent: s, fn: info_updateFlag__P177014, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21589,7 +21600,7 @@ function info_updateFlag__P150398_mk(s) { -function info_initHUD__P150394(s) { +function info_initHUD__P177010(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21599,22 +21610,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.infoState___150348); + r0 = pxsim_numops_toBoolDecr(globals.infoState___176964); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C150345_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C176961_VT); s.tmp_0 = r0; - s.tmp_1 = info_InfoState_constructor__P150346_mk(s); + s.tmp_1 = info_InfoState_constructor__P176962_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 812; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - globals.infoState___150348 = (s.tmp_0); - s.tmp_0 = scene_createRenderable__P148335_mk(s); + globals.infoState___176964 = (s.tmp_0); + s.tmp_0 = scene_createRenderable__P174951_mk(s); s.tmp_0.arg0 = 100; - s.tmp_0.arg1 = inline__P158059; + s.tmp_0.arg1 = inline__P184675; s.tmp_0.arg2 = undefined; s.callLocIdx = 828; s.pc = 5; return s.tmp_0; case 5: @@ -21624,12 +21635,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD__P150394.info = {"start":2595,"length":2080,"line":97,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} +info_initHUD__P177010.info = {"start":2595,"length":2080,"line":97,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} -function info_initHUD__P150394_mk(s) { +function info_initHUD__P177010_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD__P150394, depth: s.depth + 1, + parent: s, fn: info_initHUD__P177010, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21639,7 +21650,7 @@ function info_initHUD__P150394_mk(s) { -function inline__P158059(s) { +function inline__P184675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21649,12 +21660,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ps___158068 = undefined; - s.p___158089 = undefined; - s.scene___158123 = undefined; - s.elapsed___158126 = undefined; - s.t___158134 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.infoState___150348); + s.ps___184684 = undefined; + s.p___184705 = undefined; + s.scene___184739 = undefined; + s.elapsed___184742 = undefined; + s.t___184750 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.infoState___176964); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -21663,36 +21674,36 @@ switch (step) { { step = 23; continue; } case 1: case 2: - r0 = globals.infoState___150348.fields["visibilityFlag"]; + r0 = globals.infoState___176964.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_arrayFilter__P146043_mk(s); - s.tmp_2.arg0 = globals.players___150349; - s.tmp_2.arg1 = inline__P158070; + s.tmp_2 = helpers_arrayFilter__P172659_mk(s); + s.tmp_2.arg0 = globals.players___176965; + s.tmp_2.arg1 = inline__P184686; s.callLocIdx = 813; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.ps___158068 = (r0); - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); - s.tmp_0.arg0 = s.ps___158068; - s.tmp_0.arg1 = inline__P158079; + s.ps___184684 = (r0); + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); + s.tmp_0.arg0 = s.ps___184684; + s.tmp_0.arg1 = inline__P184695; s.callLocIdx = 815; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); - s.tmp_0.arg0 = s.ps___158068; - s.tmp_0.arg1 = inline__P158085; + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); + s.tmp_0.arg0 = s.ps___184684; + s.tmp_0.arg1 = inline__P184701; s.callLocIdx = 817; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 12; continue; } case 3: - s.p___158089 = (globals.player1___148215); - s.tmp_1 = info_PlayerInfo_hasScore__P148202_mk(s); - s.tmp_1.arg0 = s.p___158089; + s.p___184705 = (globals.player1___174831); + s.tmp_1 = info_PlayerInfo_hasScore__P174818_mk(s); + s.tmp_1.arg0 = s.p___184705; s.callLocIdx = 818; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; @@ -21702,7 +21713,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = globals.infoState___150348.fields["visibilityFlag"]; + r0 = globals.infoState___176964.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 2); case 5: @@ -21710,15 +21721,15 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 6; continue; } - s.tmp_4 = info_PlayerInfo_drawScore__P148210_mk(s); - s.tmp_4.arg0 = s.p___158089; + s.tmp_4 = info_PlayerInfo_drawScore__P174826_mk(s); + s.tmp_4.arg0 = s.p___184705; s.callLocIdx = 819; s.pc = 28; return s.tmp_4; case 28: r0 = s.retval; case 6: case 7: - s.tmp_1 = info_PlayerInfo_hasLife__P148206_mk(s); - s.tmp_1.arg0 = s.p___158089; + s.tmp_1 = info_PlayerInfo_hasLife__P174822_mk(s); + s.tmp_1.arg0 = s.p___184705; s.callLocIdx = 820; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; @@ -21728,7 +21739,7 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = globals.infoState___150348.fields["visibilityFlag"]; + r0 = globals.infoState___176964.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 4); case 9: @@ -21736,21 +21747,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_4 = info_PlayerInfo_drawLives__P148211_mk(s); - s.tmp_4.arg0 = s.p___158089; + s.tmp_4 = info_PlayerInfo_drawLives__P174827_mk(s); + s.tmp_4.arg0 = s.p___184705; s.callLocIdx = 821; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 10: case 11: - s.tmp_0 = info_PlayerInfo_raiseLifeZero__P148208_mk(s); - s.tmp_0.arg0 = s.p___158089; + s.tmp_0 = info_PlayerInfo_raiseLifeZero__P174824_mk(s); + s.tmp_0.arg0 = s.p___184705; s.tmp_0.arg1 = true; s.callLocIdx = 822; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; case 12: - r0 = globals.infoState___150348.fields["gameEnd"]; + r0 = globals.infoState___176964.fields["gameEnd"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -21759,7 +21770,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - r0 = globals.infoState___150348.fields["visibilityFlag"]; + r0 = globals.infoState___176964.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 1); case 14: @@ -21767,30 +21778,30 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 21; continue; } - s.tmp_4 = game_currentScene__P148484_mk(s); + s.tmp_4 = game_currentScene__P175100_mk(s); s.callLocIdx = 823; s.pc = 32; return s.tmp_4; case 32: r0 = s.retval; - s.scene___158123 = (r0); - r0 = globals.infoState___150348.fields["gameEnd"]; + s.scene___184739 = (r0); + r0 = globals.infoState___176964.fields["gameEnd"]; s.tmp_0 = r0; - r0 = s.scene___158123.fields["_millis"]; + r0 = s.scene___184739.fields["_millis"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.elapsed___158126 = (r0); - s.tmp_0 = info_drawTimer__P150399_mk(s); - s.tmp_0.arg0 = s.elapsed___158126; + s.elapsed___184742 = (r0); + s.tmp_0 = info_drawTimer__P177015_mk(s); + s.tmp_0.arg0 = s.elapsed___184742; s.callLocIdx = 825; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - r0 = (s.elapsed___158126 / 1000); - s.t___158134 = (r0); - r0 = (s.t___158134 <= 0); + r0 = (s.elapsed___184742 / 1000); + s.t___184750 = (r0); + r0 = (s.t___184750 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.t___158134 = (0); - r0 = globals.infoState___150348.fields["countdownExpired"]; + s.t___184750 = (0); + r0 = globals.infoState___176964.fields["countdownExpired"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -21798,14 +21809,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = (globals.infoState___150348).fields["countdownExpired"] = (true); - r0 = (globals.infoState___150348).fields["gameEnd"] = (undefined); - r0 = globals.infoState___150348.fields["countdownEndHandler"]; + r0 = (globals.infoState___176964).fields["countdownExpired"] = (true); + r0 = (globals.infoState___176964).fields["gameEnd"] = (undefined); + r0 = globals.infoState___176964.fields["countdownEndHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } s.tmp_1 = if_countdownEndHandler_1_mk(s); - s.tmp_1.arg0 = globals.infoState___150348; + s.tmp_1.arg0 = globals.infoState___176964; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "countdownEndHandler"), 1); s.callLocIdx = 826; s.pc = 34; return s.tmp_1; @@ -21819,7 +21830,7 @@ switch (step) { r0 = s.retval; { step = 16; continue; } case 15: - s.tmp_0 = game_over__P148494_mk(s); + s.tmp_0 = game_over__P175110_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = undefined; s.callLocIdx = 827; s.pc = 35; return s.tmp_0; @@ -21837,30 +21848,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P158059.info = {"start":2755,"length":1903,"line":104,"column":12,"endLine":145,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P184675.info = {"start":2755,"length":1903,"line":104,"column":12,"endLine":145,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P158059_mk(s) { +function inline__P184675_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P158059, depth: s.depth + 1, + parent: s, fn: inline__P184675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - ps___158068: undefined, - p___158089: undefined, - scene___158123: undefined, - elapsed___158126: undefined, - t___158134: undefined, + ps___184684: undefined, + p___184705: undefined, + scene___184739: undefined, + elapsed___184742: undefined, + t___184750: undefined, } } -function inline__P158070(s) { +function inline__P184686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21884,12 +21895,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P158070.info = {"start":3003,"length":8,"line":109,"column":46,"endLine":109,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P184686.info = {"start":3003,"length":8,"line":109,"column":46,"endLine":109,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P158070_mk(s) { +function inline__P184686_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P158070, depth: s.depth + 1, + parent: s, fn: inline__P184686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21901,7 +21912,7 @@ function inline__P158070_mk(s) { -function inline__P158079(s) { +function inline__P184695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21915,7 +21926,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_drawPlayer__P148209_mk(s); + s.tmp_0 = info_PlayerInfo_drawPlayer__P174825_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 814; s.pc = 1; return s.tmp_0; case 1: @@ -21924,12 +21935,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P158079.info = {"start":3087,"length":19,"line":111,"column":31,"endLine":111,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P184695.info = {"start":3087,"length":19,"line":111,"column":31,"endLine":111,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P158079_mk(s) { +function inline__P184695_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P158079, depth: s.depth + 1, + parent: s, fn: inline__P184695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21939,7 +21950,7 @@ function inline__P158079_mk(s) { -function inline__P158085(s) { +function inline__P184701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21953,7 +21964,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_raiseLifeZero__P148208_mk(s); + s.tmp_0 = info_PlayerInfo_raiseLifeZero__P174824_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 816; s.pc = 1; return s.tmp_0; @@ -21963,12 +21974,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P158085.info = {"start":3189,"length":27,"line":113,"column":31,"endLine":113,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P184701.info = {"start":3189,"length":27,"line":113,"column":31,"endLine":113,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P158085_mk(s) { +function inline__P184701_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P158085, depth: s.depth + 1, + parent: s, fn: inline__P184701, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21978,7 +21989,7 @@ function inline__P158085_mk(s) { -function info_drawTimer__P150399(s) { +function info_drawTimer__P177015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21988,18 +21999,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___158163 = undefined; - s.smallFont___158165 = undefined; - s.seconds___158167 = undefined; - s.width___158171 = undefined; - s.left___158176 = undefined; - s.color1___158186 = undefined; - s.color2___158190 = undefined; - s.temp___158203 = undefined; - s.remainder___158239 = undefined; - s.decimalLeft___158258 = undefined; - s.minutes___158276 = undefined; - s.remainder___158280 = undefined; + s.font___184779 = undefined; + s.smallFont___184781 = undefined; + s.seconds___184783 = undefined; + s.width___184787 = undefined; + s.left___184792 = undefined; + s.color1___184802 = undefined; + s.color2___184806 = undefined; + s.temp___184819 = undefined; + s.remainder___184855 = undefined; + s.decimalLeft___184874 = undefined; + s.minutes___184892 = undefined; + s.remainder___184896 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -22013,12 +22024,12 @@ switch (step) { case 2: r0 = (s.arg0 | 0); s.arg0 = (r0); - s.font___158163 = (globals.font8___147692); - s.smallFont___158165 = (globals.font5___147697); + s.font___184779 = (globals.font8___174308); + s.smallFont___184781 = (globals.font5___174313); r0 = pxsim.Math_.idiv(s.arg0, 1000); - s.seconds___158167 = (r0); + s.seconds___184783 = (r0); s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___158163; + s.tmp_2.arg0 = s.font___184779; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -22033,29 +22044,29 @@ switch (step) { r0 = (s.tmp_1 * 5); s.tmp_0 = r0; r0 = (s.tmp_0 - 2); - s.width___158171 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___147749); + s.width___184787 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; - r0 = (s.width___158171 >> 1); + r0 = (s.width___184787 >> 1); s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.left___158176 = (r0); - r0 = globals.infoState___150348.fields["fontColor"]; - s.color1___158186 = (r0); - r0 = globals.infoState___150348.fields["bgColor"]; - s.color2___158190 = (r0); - r0 = (s.seconds___158167 < 10); + s.left___184792 = (r0); + r0 = globals.infoState___176964.fields["fontColor"]; + s.color1___184802 = (r0); + r0 = globals.infoState___176964.fields["bgColor"]; + s.color2___184806 = (r0); + r0 = (s.seconds___184783 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.seconds___158167 & 1); + r0 = (s.seconds___184783 & 1); case 4: // jmp value (already in r0) s.tmp_1 = r0; @@ -22064,7 +22075,7 @@ switch (step) { r0 = s.tmp_1; { step = 6; continue; } case 5: - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -22074,20 +22085,20 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 7; continue; } - s.temp___158203 = (s.color1___158186); - s.color1___158186 = (s.color2___158190); - s.color2___158190 = (s.temp___158203); + s.temp___184819 = (s.color1___184802); + s.color1___184802 = (s.color2___184806); + s.color2___184806 = (s.temp___184819); case 7: case 8: - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.left___158176 - 3); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.left___184792 - 3); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___158171 + 6); + r0 = (s.width___184787 + 6); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___158163; + s.tmp_2.arg0 = s.font___184779; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -22101,20 +22112,20 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___150348.fields["borderColor"]; + r0 = globals.infoState___176964.fields["borderColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 843; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.left___158176 - 2); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.left___184792 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___158171 + 4); + r0 = (s.width___184787 + 4); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___158163; + s.tmp_2.arg0 = s.font___184779; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -22128,22 +22139,22 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.color2___158190; + s.tmp_0.arg5 = s.color2___184806; s.callLocIdx = 845; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = (s.seconds___158167 < 60); + r0 = (s.seconds___184783 < 60); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } r0 = (s.arg0 % 1000); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 10); - s.remainder___158239 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_3 = info_formatDecimal__P150401_mk(s); - s.tmp_3.arg0 = s.seconds___158167; + s.remainder___184855 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_3 = info_formatDecimal__P177017_mk(s); + s.tmp_3.arg0 = s.seconds___184783; s.callLocIdx = 846; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; @@ -22159,17 +22170,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "."); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___158176; + s.tmp_0.arg2 = s.left___184792; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___158186; - s.tmp_0.arg5 = s.font___158163; + s.tmp_0.arg4 = s.color1___184802; + s.tmp_0.arg5 = s.font___184779; s.tmp_0.arg6 = undefined; s.callLocIdx = 847; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.left___158176; + s.tmp_0 = r0 = s.left___184792; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___158163; + s.tmp_3.arg0 = s.font___184779; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -22184,33 +22195,33 @@ switch (step) { r0 = (3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.decimalLeft___158258 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_1 = info_formatDecimal__P150401_mk(s); - s.tmp_1.arg0 = s.remainder___158239; + s.decimalLeft___184874 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_1 = info_formatDecimal__P177017_mk(s); + s.tmp_1.arg0 = s.remainder___184855; s.callLocIdx = 849; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.decimalLeft___158258; + s.tmp_0.arg2 = s.decimalLeft___184874; s.tmp_0.arg3 = 3; - s.tmp_0.arg4 = s.color1___158186; - s.tmp_0.arg5 = s.smallFont___158165; + s.tmp_0.arg4 = s.color1___184802; + s.tmp_0.arg5 = s.smallFont___184781; s.tmp_0.arg6 = undefined; s.callLocIdx = 850; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim.Math_.idiv(s.seconds___158167, 60); - s.minutes___158276 = (r0); - r0 = (s.seconds___158167 % 60); - s.remainder___158280 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_5 = info_formatDecimal__P150401_mk(s); - s.tmp_5.arg0 = s.minutes___158276; + r0 = pxsim.Math_.idiv(s.seconds___184783, 60); + s.minutes___184892 = (r0); + r0 = (s.seconds___184783 % 60); + s.remainder___184896 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_5 = info_formatDecimal__P177017_mk(s); + s.tmp_5.arg0 = s.minutes___184892; s.callLocIdx = 851; s.pc = 23; return s.tmp_5; case 23: r0 = s.retval; @@ -22235,8 +22246,8 @@ switch (step) { case 25: r0 = s.retval; s.tmp_1 = r0; - s.tmp_8 = info_formatDecimal__P150401_mk(s); - s.tmp_8.arg0 = s.remainder___158280; + s.tmp_8 = info_formatDecimal__P177017_mk(s); + s.tmp_8.arg0 = s.remainder___184896; s.callLocIdx = 852; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; @@ -22252,10 +22263,10 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___158176; + s.tmp_0.arg2 = s.left___184792; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___158186; - s.tmp_0.arg5 = s.font___158163; + s.tmp_0.arg4 = s.color1___184802; + s.tmp_0.arg5 = s.font___184779; s.tmp_0.arg6 = undefined; s.callLocIdx = 853; s.pc = 22; return s.tmp_0; case 22: @@ -22265,12 +22276,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_drawTimer__P150399.info = {"start":13488,"length":1328,"line":462,"column":4,"endLine":497,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} +info_drawTimer__P177015.info = {"start":13488,"length":1328,"line":462,"column":4,"endLine":497,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} -function info_drawTimer__P150399_mk(s) { +function info_drawTimer__P177015_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_drawTimer__P150399, depth: s.depth + 1, + parent: s, fn: info_drawTimer__P177015, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22281,18 +22292,18 @@ function info_drawTimer__P150399_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - font___158163: undefined, - smallFont___158165: undefined, - seconds___158167: undefined, - width___158171: undefined, - left___158176: undefined, - color1___158186: undefined, - color2___158190: undefined, - temp___158203: undefined, - remainder___158239: undefined, - decimalLeft___158258: undefined, - minutes___158276: undefined, - remainder___158280: undefined, + font___184779: undefined, + smallFont___184781: undefined, + seconds___184783: undefined, + width___184787: undefined, + left___184792: undefined, + color1___184802: undefined, + color2___184806: undefined, + temp___184819: undefined, + remainder___184855: undefined, + decimalLeft___184874: undefined, + minutes___184892: undefined, + remainder___184896: undefined, arg0: undefined, } } @@ -22300,7 +22311,7 @@ function info_drawTimer__P150399_mk(s) { -function info_formatDecimal__P150401(s) { +function info_formatDecimal__P177017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22338,12 +22349,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_formatDecimal__P150401.info = {"start":28426,"length":156,"line":916,"column":4,"endLine":922,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} +info_formatDecimal__P177017.info = {"start":28426,"length":156,"line":916,"column":4,"endLine":922,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} -function info_formatDecimal__P150401_mk(s) { +function info_formatDecimal__P177017_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_formatDecimal__P150401, depth: s.depth + 1, + parent: s, fn: info_formatDecimal__P177017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22354,7 +22365,7 @@ function info_formatDecimal__P150401_mk(s) { -function info_InfoState_constructor__P150346(s) { +function info_InfoState_constructor__P176962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22369,24 +22380,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_InfoState__C150345_VT)) failedCast(r0); + if (!checkSubtype(r0, info_InfoState__C176961_VT)) failedCast(r0); r0 = (s.arg0).fields["visibilityFlag"] = (8); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["playerStates"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = info_defaultHeartImage__P150396_mk(s); + s.tmp_2 = info_defaultHeartImage__P177012_mk(s); s.callLocIdx = 806; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["heartImage"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.ofBuffer(_hex158981); + r0 = pxsim.image.ofBuffer(_hex185597); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -22398,7 +22409,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["bgColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -22410,7 +22421,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["borderColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -22433,12 +22444,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_InfoState_constructor__P150346.info = {"start":1045,"length":674,"line":43,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_InfoState_constructor__P176962.info = {"start":1045,"length":674,"line":43,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_InfoState_constructor__P150346_mk(s) { +function info_InfoState_constructor__P176962_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_InfoState_constructor__P150346, depth: s.depth + 1, + parent: s, fn: info_InfoState_constructor__P176962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22446,12 +22457,12 @@ function info_InfoState_constructor__P150346_mk(s) { arg0: undefined, } } -const _hex158981 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") +const _hex185597 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") -function info_defaultHeartImage__P150396(s) { +function info_defaultHeartImage__P177012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22461,14 +22472,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex159009); + r0 = pxsim.image.ofBuffer(_hex185625); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex159011); + r0 = pxsim.image.ofBuffer(_hex185627); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -22476,24 +22487,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultHeartImage__P150396.info = {"start":5080,"length":592,"line":162,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} +info_defaultHeartImage__P177012.info = {"start":5080,"length":592,"line":162,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} -function info_defaultHeartImage__P150396_mk(s) { +function info_defaultHeartImage__P177012_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultHeartImage__P150396, depth: s.depth + 1, + parent: s, fn: info_defaultHeartImage__P177012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex159009 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") -const _hex159011 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") +const _hex185625 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") +const _hex185627 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") -function scene_Scene_millis__P148395(s) { +function scene_Scene_millis__P175011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22508,17 +22519,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C148371_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C174987_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P148395.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P175011.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function scene_Scene_millis__P148395_mk(s) { +function scene_Scene_millis__P175011_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P148395, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P175011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -22527,7 +22538,7 @@ function scene_Scene_millis__P148395_mk(s) { -function scene_createRenderable__P148335(s) { +function scene_createRenderable__P174951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22537,14 +22548,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___158952 = undefined; + s.renderable___185568 = 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__C148330_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C174946_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -22552,11 +22563,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P158958; + r0 = inline__P185574; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P148331_mk(s); + s.tmp_3 = scene_Renderable_constructor__P174947_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -22564,23 +22575,23 @@ switch (step) { s.callLocIdx = 1047; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___158952 = (s.tmp_0); - r0 = s.renderable___158952; + s.renderable___185568 = (s.tmp_0); + r0 = s.renderable___185568; return leave(s, r0) default: oops() } } } -scene_createRenderable__P148335.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__P174951.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__P148335_mk(s) { +function scene_createRenderable__P174951_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P148335, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P174951, 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___158952: undefined, + renderable___185568: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22590,7 +22601,7 @@ function scene_createRenderable__P148335_mk(s) { -function inline__P158958(s) { +function inline__P185574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22604,12 +22615,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P158958.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P185574.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P158958_mk(s) { +function inline__P185574_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P158958, depth: s.depth + 1, + parent: s, fn: inline__P185574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -22617,7 +22628,7 @@ function inline__P158958_mk(s) { -function scene_Renderable_constructor__P148331(s) { +function scene_Renderable_constructor__P174947(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22635,10 +22646,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C148330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C174946_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P147807_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P174423_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 1044; s.pc = 1; return s.tmp_0; @@ -22648,12 +22659,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P148331.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__P174947.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__P148331_mk(s) { +function scene_Renderable_constructor__P174947_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P148331, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P174947, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22666,7 +22677,7 @@ function scene_Renderable_constructor__P148331_mk(s) { -function info_PlayerInfo_drawLives__P148211(s) { +function info_PlayerInfo_drawLives__P174827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22676,25 +22687,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___158320 = undefined; - s.font___158326 = undefined; - s.i___158370 = undefined; - s.num___158392 = undefined; - s.textWidth___158399 = undefined; - s.mult___158452 = undefined; + s.state___184936 = undefined; + s.font___184942 = undefined; + s.i___184986 = undefined; + s.num___185008 = undefined; + s.textWidth___185015 = undefined; + s.mult___185068 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P148197_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P174813_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 894; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.state___158320 = (r0); - r0 = s.state___158320.fields["life"]; + s.state___184936 = (r0); + r0 = s.state___184936.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -22703,20 +22714,20 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.font___158326 = (globals.font8___147692); - r0 = s.state___158320.fields["life"]; + s.font___184942 = (globals.font8___174308); + r0 = s.state___184936.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_imageFillRect__P147675_mk(s); - s.tmp_2.arg0 = globals.screen___147749; + s.tmp_2 = helpers_imageFillRect__P174291_mk(s); + s.tmp_2.arg0 = globals.screen___174365; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; - r0 = s.state___158320.fields["life"]; + r0 = s.state___184936.fields["life"]; s.tmp_4 = r0; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -22726,24 +22737,24 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_2.arg3 = r0; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); s.tmp_8 = r0; r0 = (s.tmp_8 + 4); s.tmp_2.arg4 = r0; - r0 = globals.infoState___150348.fields["borderColor"]; + r0 = globals.infoState___176964.fields["borderColor"]; s.tmp_2.arg5 = r0; s.callLocIdx = 895; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = s.state___158320.fields["life"]; + r0 = s.state___184936.fields["life"]; s.tmp_2 = r0; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; @@ -22753,30 +22764,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg3 = r0; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.height(s.tmp_7); s.tmp_6 = r0; r0 = (s.tmp_6 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___150348.fields["bgColor"]; + r0 = globals.infoState___176964.fields["bgColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 896; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.i___158370 = (0); + s.i___184986 = (0); case 3: - r0 = s.state___158320.fields["life"]; + r0 = s.state___184936.fields["life"]; s.tmp_1 = r0; - r0 = (s.i___158370 < s.tmp_1); + r0 = (s.i___184986 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = r0 = globals.screen___147749; - r0 = globals.infoState___150348.fields["heartImage"]; + s.tmp_2 = r0 = globals.screen___174365; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_3 = r0; - s.tmp_6 = r0 = s.i___158370; - r0 = globals.infoState___150348.fields["heartImage"]; + s.tmp_6 = r0 = s.i___184986; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.width(s.tmp_9); s.tmp_8 = r0; @@ -22787,13 +22798,13 @@ switch (step) { r0 = (1 + s.tmp_5); s.tmp_4 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_2, s.tmp_3, s.tmp_4, 1); - r0 = (s.i___158370 + 1); - s.i___158370 = (r0); + r0 = (s.i___184986 + 1); + s.i___184986 = (r0); { step = 3; continue; } case 4: { step = 6; continue; } case 5: - r0 = s.state___158320.fields["life"]; + r0 = s.state___184936.fields["life"]; s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 11); @@ -22807,11 +22818,11 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_2); - s.num___158392 = (r0); - r0 = pxsim_String_.length(s.num___158392); + s.num___185008 = (r0); + r0 = pxsim_String_.length(s.num___185008); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___158326; + s.tmp_3.arg0 = s.font___184942; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -22826,85 +22837,85 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.textWidth___158399 = (r0); - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.textWidth___185015 = (r0); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___150348.fields["multiplierImage"]; + r0 = globals.infoState___176964.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___158399); + r0 = (s.tmp_2 + s.textWidth___185015); s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg3 = r0; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 4); s.tmp_0.arg4 = r0; - r0 = globals.infoState___150348.fields["borderColor"]; + r0 = globals.infoState___176964.fields["borderColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 898; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___150348.fields["multiplierImage"]; + r0 = globals.infoState___176964.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___158399); + r0 = (s.tmp_2 + s.textWidth___185015); s.tmp_1 = r0; r0 = (s.tmp_1 + 4); s.tmp_0.arg3 = r0; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___150348.fields["bgColor"]; + r0 = globals.infoState___176964.fields["bgColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 899; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___147749, s.tmp_0, 1, 1); - r0 = globals.infoState___150348.fields["multiplierImage"]; + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___174365, s.tmp_0, 1, 1); + r0 = globals.infoState___176964.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___158452 = (r0); - r0 = globals.infoState___150348.fields["fontColor"]; + s.mult___185068 = (r0); + r0 = globals.infoState___176964.fields["fontColor"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___158452, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___147749; - s.tmp_1 = r0 = s.mult___158452; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___185068, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___174365; + s.tmp_1 = r0 = s.mult___185068; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_2 = r0; s.tmp_8 = if_charHeight_1_mk(s); - s.tmp_8.arg0 = s.font___158326; + s.tmp_8.arg0 = s.font___184942; if (!s.tmp_8.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_8.arg0, "charHeight"); } else { @@ -22916,7 +22927,7 @@ switch (step) { case 15: r0 = s.retval; s.tmp_7 = r0; - r0 = globals.infoState___150348.fields["multiplierImage"]; + r0 = globals.infoState___176964.fields["multiplierImage"]; s.tmp_10 = r0; r0 = pxsim_ImageMethods.height(s.tmp_10); s.tmp_9 = r0; @@ -22925,25 +22936,25 @@ switch (step) { r0 = (s.tmp_6 - 1); s.tmp_5 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_5); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_0.arg1 = s.num___158392; - r0 = globals.infoState___150348.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_0.arg1 = s.num___185008; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_2 + 3); s.tmp_1 = r0; - r0 = globals.infoState___150348.fields["multiplierImage"]; + r0 = globals.infoState___176964.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_1 + s.tmp_4); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; - r0 = globals.infoState___150348.fields["fontColor"]; + r0 = globals.infoState___176964.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___158326; + s.tmp_0.arg5 = s.font___184942; s.tmp_0.arg6 = undefined; s.callLocIdx = 901; s.pc = 16; return s.tmp_0; case 16: @@ -22954,12 +22965,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawLives__P148211.info = {"start":25956,"length":2458,"line":847,"column":8,"endLine":913,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} +info_PlayerInfo_drawLives__P174827.info = {"start":25956,"length":2458,"line":847,"column":8,"endLine":913,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} -function info_PlayerInfo_drawLives__P148211_mk(s) { +function info_PlayerInfo_drawLives__P174827_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawLives__P148211, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawLives__P174827, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22972,12 +22983,12 @@ function info_PlayerInfo_drawLives__P148211_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - state___158320: undefined, - font___158326: undefined, - i___158370: undefined, - num___158392: undefined, - textWidth___158399: undefined, - mult___158452: undefined, + state___184936: undefined, + font___184942: undefined, + i___184986: undefined, + num___185008: undefined, + textWidth___185015: undefined, + mult___185068: undefined, arg0: undefined, } } @@ -22985,7 +22996,7 @@ function info_PlayerInfo_drawLives__P148211_mk(s) { -function info_PlayerInfo_drawScore__P148210(s) { +function info_PlayerInfo_drawScore__P174826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22995,42 +23006,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___158508 = undefined; - s.font___158512 = undefined; - s.offsetY___158513 = undefined; - s.num___158522 = undefined; - s.width___158526 = undefined; + s.s___185124 = undefined; + s.font___185128 = undefined; + s.offsetY___185129 = undefined; + s.num___185138 = undefined; + s.width___185142 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_1 = info_PlayerInfo_score__P148199_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_1 = info_PlayerInfo_score__P174815_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 887; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.s___158508 = (r0); - r0 = (s.s___158508 >= 1000000); + s.s___185124 = (r0); + r0 = (s.s___185124 >= 1000000); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offsetY___158513 = (2); - s.font___158512 = (globals.font5___147697); + s.offsetY___185129 = (2); + s.font___185128 = (globals.font5___174313); { step = 2; continue; } case 1: - s.offsetY___158513 = (1); - s.font___158512 = (globals.font8___147692); + s.offsetY___185129 = (1); + s.font___185128 = (globals.font8___174308); case 2: - r0 = pxsim_numops.toString(s.s___158508); - s.num___158522 = (r0); - r0 = pxsim_String_.length(s.num___158522); + r0 = pxsim_numops.toString(s.s___185124); + s.num___185138 = (r0); + r0 = pxsim_String_.length(s.num___185138); s.tmp_0 = r0; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___158512; + s.tmp_2.arg0 = s.font___185128; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -23043,20 +23054,20 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.width___158526 = (r0); - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + s.width___185142 = (r0); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___158526); + r0 = (s.tmp_2 - s.width___185142); s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___147692; + s.tmp_4.arg0 = globals.font8___174308; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { @@ -23070,24 +23081,24 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___150348.fields["borderColor"]; + r0 = globals.infoState___176964.fields["borderColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 890; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___158526); + r0 = (s.tmp_2 - s.width___185142); s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___147692; + s.tmp_4.arg0 = globals.font8___174308; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { @@ -23101,22 +23112,22 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_0.arg4 = r0; - r0 = globals.infoState___150348.fields["bgColor"]; + r0 = globals.infoState___176964.fields["bgColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 892; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_0.arg1 = s.num___158522; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_0.arg1 = s.num___185138; + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___158526); + r0 = (s.tmp_1 - s.width___185142); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.offsetY___158513; - r0 = globals.infoState___150348.fields["fontColor"]; + s.tmp_0.arg3 = s.offsetY___185129; + r0 = globals.infoState___176964.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___158512; + s.tmp_0.arg5 = s.font___185128; s.tmp_0.arg6 = undefined; s.callLocIdx = 893; s.pc = 9; return s.tmp_0; case 9: @@ -23125,23 +23136,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawScore__P148210.info = {"start":24898,"length":1048,"line":807,"column":8,"endLine":845,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} +info_PlayerInfo_drawScore__P174826.info = {"start":24898,"length":1048,"line":807,"column":8,"endLine":845,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} -function info_PlayerInfo_drawScore__P148210_mk(s) { +function info_PlayerInfo_drawScore__P174826_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawScore__P148210, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawScore__P174826, 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___158508: undefined, - font___158512: undefined, - offsetY___158513: undefined, - num___158522: undefined, - width___158526: undefined, + s___185124: undefined, + font___185128: undefined, + offsetY___185129: undefined, + num___185138: undefined, + width___185142: undefined, arg0: undefined, } } @@ -23149,7 +23160,7 @@ function info_PlayerInfo_drawScore__P148210_mk(s) { -function info_PlayerInfo_score__P148199(s) { +function info_PlayerInfo_score__P174815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23159,13 +23170,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___158587 = undefined; + s.state___185203 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); r0 = s.arg0.fields["showScore"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -23184,35 +23195,35 @@ switch (step) { r0 = (s.arg0).fields["showPlayer"] = (true); case 3: case 4: - s.tmp_0 = info_PlayerInfo_getState__P148197_mk(s); + s.tmp_0 = info_PlayerInfo_getState__P174813_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 858; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.state___158587 = (r0); - r0 = s.state___158587.fields["score"]; + s.state___185203 = (r0); + r0 = s.state___185203.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.state___158587).fields["score"] = (0); + r0 = (s.state___185203).fields["score"] = (0); case 5: case 6: - r0 = s.state___158587.fields["score"]; + r0 = s.state___185203.fields["score"]; return leave(s, r0) default: oops() } } } -info_PlayerInfo_score__P148199.info = {"start":17492,"length":314,"line":578,"column":8,"endLine":587,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} +info_PlayerInfo_score__P174815.info = {"start":17492,"length":314,"line":578,"column":8,"endLine":587,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} -function info_PlayerInfo_score__P148199_mk(s) { +function info_PlayerInfo_score__P174815_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_score__P148199, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_score__P174815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - state___158587: undefined, + state___185203: undefined, arg0: undefined, } } @@ -23220,7 +23231,7 @@ function info_PlayerInfo_score__P148199_mk(s) { -function info_PlayerInfo_drawPlayer__P148209(s) { +function info_PlayerInfo_drawPlayer__P174825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23230,44 +23241,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___158630 = undefined; - s.font___158633 = undefined; - s.score___158635 = undefined; - s.life___158636 = undefined; - s.height___158637 = undefined; - s.scoreWidth___158638 = undefined; - s.lifeWidth___158639 = undefined; - s.offsetY___158642 = undefined; - s.showScore___158643 = undefined; - s.showLife___158651 = undefined; - s.width___158719 = undefined; - s.x___158729 = undefined; - s.y___158736 = undefined; - s.bump___158769 = undefined; - s.xLoc___158794 = undefined; - s.mult___158805 = undefined; - s.pNum___158867 = undefined; - s.iconWidth___158874 = undefined; - s.iconHeight___158882 = undefined; - s.iconX___158890 = undefined; - s.iconY___158902 = undefined; + s.state___185246 = undefined; + s.font___185249 = undefined; + s.score___185251 = undefined; + s.life___185252 = undefined; + s.height___185253 = undefined; + s.scoreWidth___185254 = undefined; + s.lifeWidth___185255 = undefined; + s.offsetY___185258 = undefined; + s.showScore___185259 = undefined; + s.showLife___185267 = undefined; + s.width___185335 = undefined; + s.x___185345 = undefined; + s.y___185352 = undefined; + s.bump___185385 = undefined; + s.xLoc___185410 = undefined; + s.mult___185421 = undefined; + s.pNum___185483 = undefined; + s.iconWidth___185490 = undefined; + s.iconHeight___185498 = undefined; + s.iconX___185506 = undefined; + s.iconY___185518 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P148197_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P174813_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 870; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.state___158630 = (r0); - s.font___158633 = (globals.font5___147697); - s.height___158637 = (4); - s.scoreWidth___158638 = (0); - s.lifeWidth___158639 = (0); - s.offsetY___158642 = (2); + s.state___185246 = (r0); + s.font___185249 = (globals.font5___174313); + s.height___185253 = (4); + s.scoreWidth___185254 = (0); + s.lifeWidth___185255 = (0); + s.offsetY___185258 = (2); r0 = s.arg0.fields["showScore"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -23275,13 +23286,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___158630.fields["score"]; + r0 = s.state___185246.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.showScore___158643 = (s.tmp_2); + s.showScore___185259 = (s.tmp_2); r0 = s.arg0.fields["showLife"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -23289,18 +23300,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.state___158630.fields["life"]; + r0 = s.state___185246.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.showLife___158651 = (s.tmp_2); - r0 = pxsim_numops_toBoolDecr(s.showScore___158643); + s.showLife___185267 = (s.tmp_2); + r0 = pxsim_numops_toBoolDecr(s.showScore___185259); if (!r0) { step = 5; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_0 = r0; - r0 = s.state___158630.fields["score"]; + r0 = s.state___185246.fields["score"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 44); @@ -23312,11 +23323,11 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.score___158635 = (r0); - r0 = pxsim_String_.length(s.score___158635); + s.score___185251 = (r0); + r0 = pxsim_String_.length(s.score___185251); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___158633; + s.tmp_3.arg0 = s.font___185249; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -23331,10 +23342,10 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.scoreWidth___158638 = (r0); - s.tmp_0 = r0 = s.height___158637; + s.scoreWidth___185254 = (r0); + s.tmp_0 = r0 = s.height___185253; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___158633; + s.tmp_2.arg0 = s.font___185249; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -23347,10 +23358,10 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___158637 = (r0); - s.tmp_0 = r0 = s.offsetY___158642; + s.height___185253 = (r0); + s.tmp_0 = r0 = s.offsetY___185258; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.font___158633; + s.tmp_3.arg0 = s.font___185249; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { @@ -23365,12 +23376,12 @@ switch (step) { r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.offsetY___158642 = (r0); + s.offsetY___185258 = (r0); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(s.showLife___158651); + r0 = pxsim_numops_toBoolDecr(s.showLife___185267); if (!r0) { step = 9; continue; } - r0 = s.state___158630.fields["life"]; + r0 = s.state___185246.fields["life"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 7; continue; } @@ -23393,21 +23404,21 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.life___158636 = (r0); - r0 = globals.infoState___150348.fields["heartImage"]; + s.life___185252 = (r0); + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; - r0 = globals.infoState___150348.fields["multiplierImage"]; + r0 = globals.infoState___176964.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - r0 = pxsim_String_.length(s.life___158636); + r0 = pxsim_String_.length(s.life___185252); s.tmp_7 = r0; s.tmp_9 = if_charWidth_1_mk(s); - s.tmp_9.arg0 = s.font___158633; + s.tmp_9.arg0 = s.font___185249; if (!s.tmp_9.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "charWidth"); } else { @@ -23424,44 +23435,44 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_6); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.lifeWidth___158639 = (r0); - s.tmp_0 = r0 = s.height___158637; - r0 = globals.infoState___150348.fields["heartImage"]; + s.lifeWidth___185255 = (r0); + s.tmp_0 = r0 = s.height___185253; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___158637 = (r0); + s.height___185253 = (r0); case 9: case 10: - s.tmp_0 = Math_max__P146062_mk(s); - s.tmp_0.arg0 = s.scoreWidth___158638; - s.tmp_0.arg1 = s.lifeWidth___158639; + s.tmp_0 = Math_max__P172678_mk(s); + s.tmp_0.arg0 = s.scoreWidth___185254; + s.tmp_0.arg1 = s.lifeWidth___185255; s.callLocIdx = 875; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.width___158719 = (r0); - s.tmp_0 = r0 = s.showScore___158643; + s.width___185335 = (r0); + s.tmp_0 = r0 = s.showScore___185259; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = s.showLife___158651; + r0 = s.showLife___185267; case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - r0 = (s.height___158637 + 1); - s.height___158637 = (r0); + r0 = (s.height___185253 + 1); + s.height___185253 = (r0); case 13: case 14: r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = s.width___158719; + r0 = s.width___185335; { step = 16; continue; } case 15: r0 = 0; @@ -23471,12 +23482,12 @@ switch (step) { r0 = s.arg0.fields["x"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.x___158729 = (r0); + s.x___185345 = (r0); r0 = s.arg0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = s.height___158637; + r0 = s.height___185253; { step = 18; continue; } case 17: r0 = 0; @@ -23486,39 +23497,39 @@ switch (step) { r0 = s.arg0.fields["y"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.y___158736 = (r0); - s.tmp_0 = r0 = s.showScore___158643; + s.y___185352 = (r0); + s.tmp_0 = r0 = s.showScore___185259; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 19; continue; } r0 = s.tmp_0; { step = 20; continue; } case 19: - r0 = s.showLife___158651; + r0 = s.showLife___185267; case 20: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 21; continue; } - s.tmp_2 = helpers_imageFillRect__P147675_mk(s); - s.tmp_2.arg0 = globals.screen___147749; - s.tmp_2.arg1 = s.x___158729; - s.tmp_2.arg2 = s.y___158736; - s.tmp_2.arg3 = s.width___158719; - s.tmp_2.arg4 = s.height___158637; + s.tmp_2 = helpers_imageFillRect__P174291_mk(s); + s.tmp_2.arg0 = globals.screen___174365; + s.tmp_2.arg1 = s.x___185345; + s.tmp_2.arg2 = s.y___185352; + s.tmp_2.arg3 = s.width___185335; + s.tmp_2.arg4 = s.height___185253; r0 = s.arg0.fields["border"]; s.tmp_2.arg5 = r0; s.callLocIdx = 876; s.pc = 51; return s.tmp_2; case 51: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.x___158729 + 1); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.x___185345 + 1); s.tmp_0.arg1 = r0; - r0 = (s.y___158736 + 1); + r0 = (s.y___185352 + 1); s.tmp_0.arg2 = r0; - r0 = (s.width___158719 - 2); + r0 = (s.width___185335 - 2); s.tmp_0.arg3 = r0; - r0 = (s.height___158637 - 2); + r0 = (s.height___185253 - 2); s.tmp_0.arg4 = r0; r0 = s.arg0.fields["bg"]; s.tmp_0.arg5 = r0; @@ -23527,84 +23538,84 @@ switch (step) { r0 = s.retval; case 21: case 22: - r0 = pxsim_numops_toBoolDecr(s.showScore___158643); + r0 = pxsim_numops_toBoolDecr(s.showScore___185259); if (!r0) { step = 25; continue; } r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - r0 = (s.width___158719 - s.scoreWidth___158638); + r0 = (s.width___185335 - s.scoreWidth___185254); { step = 24; continue; } case 23: r0 = 0; case 24: // jmp value (already in r0) s.tmp_1 = r0; - s.bump___158769 = (s.tmp_1); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_0.arg1 = s.score___158635; - r0 = (s.x___158729 + 1); + s.bump___185385 = (s.tmp_1); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_0.arg1 = s.score___185251; + r0 = (s.x___185345 + 1); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.bump___158769); + r0 = (s.tmp_2 + s.bump___185385); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___158736 + 2); + r0 = (s.y___185352 + 2); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___158633; + s.tmp_0.arg5 = s.font___185249; s.tmp_0.arg6 = undefined; s.callLocIdx = 878; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; case 25: case 26: - r0 = pxsim_numops_toBoolDecr(s.showLife___158651); + r0 = pxsim_numops_toBoolDecr(s.showLife___185267); if (!r0) { step = 29; continue; } r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - r0 = (s.width___158719 - s.lifeWidth___158639); + r0 = (s.width___185335 - s.lifeWidth___185255); { step = 28; continue; } case 27: r0 = 0; case 28: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___158729 + 1); + r0 = (s.x___185345 + 1); s.tmp_2 = r0; r0 = (s.tmp_2 + s.tmp_1); - s.xLoc___158794 = (r0); - r0 = globals.infoState___150348.fields["multiplierImage"]; + s.xLoc___185410 = (r0); + r0 = globals.infoState___176964.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___158805 = (r0); + s.mult___185421 = (r0); r0 = s.arg0.fields["fc"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___158805, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___147749; - r0 = globals.infoState___150348.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___185421, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___174365; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_1 = r0; - s.tmp_2 = r0 = s.xLoc___158794; - r0 = (s.y___158736 + s.offsetY___158642); + s.tmp_2 = r0 = s.xLoc___185410; + r0 = (s.y___185352 + s.offsetY___185258); s.tmp_3 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_3); - s.tmp_0 = r0 = globals.screen___147749; - s.tmp_1 = r0 = s.mult___158805; - s.tmp_3 = r0 = s.xLoc___158794; - r0 = globals.infoState___150348.fields["heartImage"]; + s.tmp_0 = r0 = globals.screen___174365; + s.tmp_1 = r0 = s.mult___185421; + s.tmp_3 = r0 = s.xLoc___185410; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = (s.y___158736 + s.offsetY___158642); + r0 = (s.y___185352 + s.offsetY___185258); s.tmp_9 = r0; s.tmp_11 = if_charHeight_1_mk(s); - s.tmp_11.arg0 = s.font___158633; + s.tmp_11.arg0 = s.font___185249; if (!s.tmp_11.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_11.arg0, "charHeight"); } else { @@ -23618,7 +23629,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_9 + s.tmp_10); s.tmp_8 = r0; - r0 = globals.infoState___150348.fields["multiplierImage"]; + r0 = globals.infoState___176964.fields["multiplierImage"]; s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(s.tmp_13); s.tmp_12 = r0; @@ -23627,17 +23638,17 @@ switch (step) { r0 = (s.tmp_7 - 1); s.tmp_6 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_6); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_0.arg1 = s.life___158636; - s.tmp_3 = r0 = s.xLoc___158794; - r0 = globals.infoState___150348.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_0.arg1 = s.life___185252; + s.tmp_3 = r0 = s.xLoc___185410; + r0 = globals.infoState___176964.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = globals.infoState___150348.fields["multiplierImage"]; + r0 = globals.infoState___176964.fields["multiplierImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -23645,11 +23656,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___158736 + s.offsetY___158642); + r0 = (s.y___185352 + s.offsetY___185258); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___158633; + s.tmp_0.arg5 = s.font___185249; s.tmp_0.arg6 = undefined; s.callLocIdx = 880; s.pc = 55; return s.tmp_0; case 55: @@ -23674,11 +23685,11 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - s.pNum___158867 = (r0); - r0 = pxsim_String_.length(s.pNum___158867); + s.pNum___185483 = (r0); + r0 = pxsim_String_.length(s.pNum___185483); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___158633; + s.tmp_3.arg0 = s.font___185249; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -23693,11 +23704,11 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.iconWidth___158874 = (r0); - s.tmp_0 = Math_max__P146062_mk(s); - s.tmp_0.arg0 = s.height___158637; + s.iconWidth___185490 = (r0); + s.tmp_0 = Math_max__P172678_mk(s); + s.tmp_0.arg0 = s.height___185253; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___158633; + s.tmp_2.arg0 = s.font___185249; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -23714,25 +23725,25 @@ switch (step) { s.callLocIdx = 883; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.iconHeight___158882 = (r0); + s.iconHeight___185498 = (r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = (s.x___158729 - s.iconWidth___158874); + r0 = (s.x___185345 - s.iconWidth___185490); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); { step = 32; continue; } case 31: - r0 = (s.x___158729 + s.width___158719); + r0 = (s.x___185345 + s.width___185335); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); case 32: // jmp value (already in r0) s.tmp_3 = r0; - s.iconX___158890 = (s.tmp_3); - s.iconY___158902 = (s.y___158736); - r0 = pxsim_numops_toBoolDecr(s.showScore___158643); + s.iconX___185506 = (s.tmp_3); + s.iconY___185518 = (s.y___185352); + r0 = pxsim_numops_toBoolDecr(s.showScore___185259); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23741,7 +23752,7 @@ switch (step) { r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = pxsim_numops_toBoolDecr(s.showLife___158651); + r0 = pxsim_numops_toBoolDecr(s.showLife___185267); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 34: @@ -23760,41 +23771,41 @@ switch (step) { case 36: // jmp value (already in r0) s.tmp_5 = r0; - r0 = (s.iconX___158890 + s.tmp_5); - s.iconX___158890 = (r0); + r0 = (s.iconX___185506 + s.tmp_5); + s.iconX___185506 = (r0); r0 = s.arg0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = (s.iconY___158902 - 3); - s.iconY___158902 = (r0); + r0 = (s.iconY___185518 - 3); + s.iconY___185518 = (r0); case 37: case 38: case 39: case 40: - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_0.arg1 = s.iconX___158890; - s.tmp_0.arg2 = s.iconY___158902; - s.tmp_0.arg3 = s.iconWidth___158874; - s.tmp_0.arg4 = s.iconHeight___158882; + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_0.arg1 = s.iconX___185506; + s.tmp_0.arg2 = s.iconY___185518; + s.tmp_0.arg3 = s.iconWidth___185490; + s.tmp_0.arg4 = s.iconHeight___185498; r0 = s.arg0.fields["border"]; s.tmp_0.arg5 = r0; s.callLocIdx = 884; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_0.arg1 = s.pNum___158867; - r0 = (s.iconX___158890 + 1); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_0.arg1 = s.pNum___185483; + r0 = (s.iconX___185506 + 1); s.tmp_0.arg2 = r0; - s.tmp_2 = r0 = s.iconY___158902; - r0 = (s.iconHeight___158882 >> 1); + s.tmp_2 = r0 = s.iconY___185518; + r0 = (s.iconHeight___185498 >> 1); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; s.tmp_6 = if_charHeight_1_mk(s); - s.tmp_6.arg0 = s.font___158633; + s.tmp_6.arg0 = s.font___185249; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "charHeight"); } else { @@ -23812,7 +23823,7 @@ switch (step) { s.tmp_0.arg3 = r0; r0 = s.arg0.fields["bg"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___158633; + s.tmp_0.arg5 = s.font___185249; s.tmp_0.arg6 = undefined; s.callLocIdx = 886; s.pc = 61; return s.tmp_0; case 61: @@ -23823,12 +23834,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawPlayer__P148209.info = {"start":21253,"length":3635,"line":702,"column":8,"endLine":805,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} +info_PlayerInfo_drawPlayer__P174825.info = {"start":21253,"length":3635,"line":702,"column":8,"endLine":805,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} -function info_PlayerInfo_drawPlayer__P148209_mk(s) { +function info_PlayerInfo_drawPlayer__P174825_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawPlayer__P148209, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawPlayer__P174825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23844,27 +23855,27 @@ function info_PlayerInfo_drawPlayer__P148209_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - state___158630: undefined, - font___158633: undefined, - score___158635: undefined, - life___158636: undefined, - height___158637: undefined, - scoreWidth___158638: undefined, - lifeWidth___158639: undefined, - offsetY___158642: undefined, - showScore___158643: undefined, - showLife___158651: undefined, - width___158719: undefined, - x___158729: undefined, - y___158736: undefined, - bump___158769: undefined, - xLoc___158794: undefined, - mult___158805: undefined, - pNum___158867: undefined, - iconWidth___158874: undefined, - iconHeight___158882: undefined, - iconX___158890: undefined, - iconY___158902: undefined, + state___185246: undefined, + font___185249: undefined, + score___185251: undefined, + life___185252: undefined, + height___185253: undefined, + scoreWidth___185254: undefined, + lifeWidth___185255: undefined, + offsetY___185258: undefined, + showScore___185259: undefined, + showLife___185267: undefined, + width___185335: undefined, + x___185345: undefined, + y___185352: undefined, + bump___185385: undefined, + xLoc___185410: undefined, + mult___185421: undefined, + pNum___185483: undefined, + iconWidth___185490: undefined, + iconHeight___185498: undefined, + iconX___185506: undefined, + iconY___185518: undefined, arg0: undefined, } } @@ -23872,7 +23883,7 @@ function info_PlayerInfo_drawPlayer__P148209_mk(s) { -function info_PlayerInfo_raiseLifeZero__P148208(s) { +function info_PlayerInfo_raiseLifeZero__P174824(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23882,21 +23893,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___158608 = undefined; + s.state___185224 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P148197_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P174813_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 867; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.state___158608 = (r0); - r0 = s.state___158608.fields["life"]; + s.state___185224 = (r0); + r0 = s.state___185224.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== null); s.tmp_0 = r0; @@ -23905,7 +23916,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___158608.fields["life"]; + r0 = s.state___185224.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 <= 0); case 2: @@ -23913,13 +23924,13 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - r0 = (s.state___158608).fields["life"] = (null); - r0 = s.state___158608.fields["lifeZeroHandler"]; + r0 = (s.state___185224).fields["life"] = (null); + r0 = s.state___185224.fields["lifeZeroHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = if_lifeZeroHandler_1_mk(s); - s.tmp_1.arg0 = s.state___158608; + s.tmp_1.arg0 = s.state___185224; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "lifeZeroHandler"), 1); s.callLocIdx = 868; s.pc = 10; return s.tmp_1; @@ -23935,7 +23946,7 @@ switch (step) { case 3: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 4; continue; } - s.tmp_0 = game_over__P148494_mk(s); + s.tmp_0 = game_over__P175110_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = undefined; s.callLocIdx = 869; s.pc = 11; return s.tmp_0; @@ -23950,18 +23961,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_raiseLifeZero__P148208.info = {"start":20869,"length":374,"line":690,"column":8,"endLine":700,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} +info_PlayerInfo_raiseLifeZero__P174824.info = {"start":20869,"length":374,"line":690,"column":8,"endLine":700,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} -function info_PlayerInfo_raiseLifeZero__P148208_mk(s) { +function info_PlayerInfo_raiseLifeZero__P174824_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_raiseLifeZero__P148208, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_raiseLifeZero__P174824, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - state___158608: undefined, + state___185224: undefined, arg0: undefined, arg1: undefined, } } @@ -23970,7 +23981,7 @@ function info_PlayerInfo_raiseLifeZero__P148208_mk(s) { -function info_PlayerInfo_hasLife__P148206(s) { +function info_PlayerInfo_hasLife__P174822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23980,20 +23991,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___158495 = undefined; + s.state___185111 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P148197_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P174813_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 866; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.state___158495 = (r0); - r0 = s.state___158495.fields["life"]; + s.state___185111 = (r0); + r0 = s.state___185111.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -24002,7 +24013,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___158495.fields["life"]; + r0 = s.state___185111.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 !== null); case 2: @@ -24012,18 +24023,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_hasLife__P148206.info = {"start":20346,"length":141,"line":673,"column":8,"endLine":676,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} +info_PlayerInfo_hasLife__P174822.info = {"start":20346,"length":141,"line":673,"column":8,"endLine":676,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} -function info_PlayerInfo_hasLife__P148206_mk(s) { +function info_PlayerInfo_hasLife__P174822_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_hasLife__P148206, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_hasLife__P174822, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - state___158495: undefined, + state___185111: undefined, arg0: undefined, } } @@ -24031,7 +24042,7 @@ function info_PlayerInfo_hasLife__P148206_mk(s) { -function info_PlayerInfo_hasScore__P148202(s) { +function info_PlayerInfo_hasScore__P174818(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24041,34 +24052,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___158599 = undefined; + s.state___185215 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P148197_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P174813_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 859; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___158599 = (r0); - r0 = s.state___158599.fields["score"]; + s.state___185215 = (r0); + r0 = s.state___185215.fields["score"]; s.tmp_0 = r0; r0 = (s.tmp_0 !== undefined); return leave(s, r0) default: oops() } } } -info_PlayerInfo_hasScore__P148202.info = {"start":18619,"length":111,"line":616,"column":8,"endLine":619,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} +info_PlayerInfo_hasScore__P174818.info = {"start":18619,"length":111,"line":616,"column":8,"endLine":619,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} -function info_PlayerInfo_hasScore__P148202_mk(s) { +function info_PlayerInfo_hasScore__P174818_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_hasScore__P148202, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_hasScore__P174818, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - state___158599: undefined, + state___185215: undefined, arg0: undefined, } } @@ -24076,7 +24087,7 @@ function info_PlayerInfo_hasScore__P148202_mk(s) { -function info_PlayerInfo_life__P148203(s) { +function info_PlayerInfo_life__P174819(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24086,19 +24097,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___158009 = undefined; + s.state___184625 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P148197_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P174813_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 860; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.state___158009 = (r0); + s.state___184625 = (r0); r0 = s.arg0.fields["showLife"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -24117,16 +24128,16 @@ switch (step) { r0 = (s.arg0).fields["showPlayer"] = (true); case 3: case 4: - r0 = s.state___158009.fields["life"]; + r0 = s.state___184625.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.state___158009).fields["life"] = (3); + r0 = (s.state___184625).fields["life"] = (3); case 5: case 6: - r0 = s.state___158009.fields["life"]; + r0 = s.state___184625.fields["life"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 7; continue; } @@ -24141,16 +24152,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_life__P148203.info = {"start":18903,"length":334,"line":627,"column":8,"endLine":636,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"life","argumentNames":["this"]} +info_PlayerInfo_life__P174819.info = {"start":18903,"length":334,"line":627,"column":8,"endLine":636,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"life","argumentNames":["this"]} -function info_PlayerInfo_life__P148203_mk(s) { +function info_PlayerInfo_life__P174819_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_life__P148203, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_life__P174819, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - state___158009: undefined, + state___184625: undefined, arg0: undefined, } } @@ -24158,7 +24169,7 @@ function info_PlayerInfo_life__P148203_mk(s) { -function info_PlayerInfo_getState__P148197(s) { +function info_PlayerInfo_getState__P174813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24173,13 +24184,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_init__P150400_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_init__P177016_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 857; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.infoState___150348.fields["playerStates"]; + r0 = globals.infoState___176964.fields["playerStates"]; s.tmp_0 = r0; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; @@ -24189,12 +24200,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_getState__P148197.info = {"start":17088,"length":121,"line":562,"column":8,"endLine":565,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} +info_PlayerInfo_getState__P174813.info = {"start":17088,"length":121,"line":562,"column":8,"endLine":565,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} -function info_PlayerInfo_getState__P148197_mk(s) { +function info_PlayerInfo_getState__P174813_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_getState__P148197, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_getState__P174813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24206,7 +24217,7 @@ function info_PlayerInfo_getState__P148197_mk(s) { -function info_PlayerInfo_init__P150400(s) { +function info_PlayerInfo_init__P177016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24221,8 +24232,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_initHUD__P150394_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_initHUD__P177010_mk(s); s.callLocIdx = 854; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -24232,13 +24243,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = info_initMultiHUD__P150395_mk(s); + s.tmp_2 = info_initMultiHUD__P177011_mk(s); s.callLocIdx = 855; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 1: case 2: - r0 = globals.infoState___150348.fields["playerStates"]; + r0 = globals.infoState___176964.fields["playerStates"]; s.tmp_3 = r0; r0 = s.arg0.fields["_player"]; s.tmp_5 = r0; @@ -24252,10 +24263,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C148155_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C174771_VT); s.tmp_6 = r0; r0 = undefined; - r0 = globals.infoState___150348.fields["playerStates"]; + r0 = globals.infoState___176964.fields["playerStates"]; s.tmp_7 = r0; r0 = s.arg0.fields["_player"]; s.tmp_9 = r0; @@ -24268,12 +24279,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_init__P150400.info = {"start":16826,"length":252,"line":554,"column":8,"endLine":560,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} +info_PlayerInfo_init__P177016.info = {"start":16826,"length":252,"line":554,"column":8,"endLine":560,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} -function info_PlayerInfo_init__P150400_mk(s) { +function info_PlayerInfo_init__P177016_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_init__P150400, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_init__P177016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24292,7 +24303,7 @@ function info_PlayerInfo_init__P150400_mk(s) { -function info_initMultiHUD__P150395(s) { +function info_initMultiHUD__P177011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24302,7 +24313,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.infoState___150348.fields["visibilityFlag"]; + r0 = globals.infoState___176964.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; @@ -24311,13 +24322,13 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = r0 = globals.infoState___150348; + s.tmp_2 = r0 = globals.infoState___176964; r0 = s.tmp_2.fields["visibilityFlag"]; s.tmp_4 = r0; r0 = (s.tmp_4 | 16); s.tmp_3 = r0; r0 = (s.tmp_2).fields["visibilityFlag"] = (s.tmp_3); - r0 = globals.infoState___150348.fields["visibilityFlag"]; + r0 = globals.infoState___176964.fields["visibilityFlag"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 32); s.tmp_2 = r0; @@ -24327,8 +24338,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = globals.infoState___150348; - s.tmp_6 = info_defaultMultiplayerHeartImage__P150397_mk(s); + s.tmp_4 = r0 = globals.infoState___176964; + s.tmp_6 = info_defaultMultiplayerHeartImage__P177013_mk(s); s.callLocIdx = 829; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; @@ -24336,8 +24347,8 @@ switch (step) { r0 = (s.tmp_4).fields["heartImage"] = (s.tmp_5); case 3: case 4: - s.tmp_0 = r0 = globals.infoState___150348; - r0 = pxsim.image.ofBuffer(_hex159062); + s.tmp_0 = r0 = globals.infoState___176964; + r0 = pxsim.image.ofBuffer(_hex185678); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); case 5: @@ -24345,12 +24356,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initMultiHUD__P150395.info = {"start":4681,"length":393,"line":149,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} +info_initMultiHUD__P177011.info = {"start":4681,"length":393,"line":149,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} -function info_initMultiHUD__P150395_mk(s) { +function info_initMultiHUD__P177011_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initMultiHUD__P150395, depth: s.depth + 1, + parent: s, fn: info_initMultiHUD__P177011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24361,12 +24372,12 @@ function info_initMultiHUD__P150395_mk(s) { tmp_6: undefined, } } -const _hex159062 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") +const _hex185678 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") -function info_defaultMultiplayerHeartImage__P150397(s) { +function info_defaultMultiplayerHeartImage__P177013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24376,14 +24387,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex159066); + r0 = pxsim.image.ofBuffer(_hex185682); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex159068); + r0 = pxsim.image.ofBuffer(_hex185684); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -24391,24 +24402,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultMultiplayerHeartImage__P150397.info = {"start":5678,"length":503,"line":185,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} +info_defaultMultiplayerHeartImage__P177013.info = {"start":5678,"length":503,"line":185,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} -function info_defaultMultiplayerHeartImage__P150397_mk(s) { +function info_defaultMultiplayerHeartImage__P177013_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultMultiplayerHeartImage__P150397, depth: s.depth + 1, + parent: s, fn: info_defaultMultiplayerHeartImage__P177013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex159066 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") -const _hex159068 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") +const _hex185682 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") +const _hex185684 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") -function info_PlayerState_constructor__P148159(s) { +function info_PlayerState_constructor__P174775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24423,17 +24434,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerState__C148155_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerState__C174771_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -info_PlayerState_constructor__P148159.info = {"start":608,"length":17,"line":27,"column":8,"endLine":27,"endColumn":25,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_PlayerState_constructor__P174775.info = {"start":608,"length":17,"line":27,"column":8,"endLine":27,"endColumn":25,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_PlayerState_constructor__P148159_mk(s) { +function info_PlayerState_constructor__P174775_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerState_constructor__P148159, depth: s.depth + 1, + parent: s, fn: info_PlayerState_constructor__P174775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -24442,7 +24453,7 @@ function info_PlayerState_constructor__P148159_mk(s) { -function helpers_getTilemapByName__P148812(s) { +function helpers_arrayShift__P172651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24456,7 +24467,39 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers__getFactoryInstance__P148810_mk(s); + r0 = pxsim_Array_.removeAt(s.arg0, 0); + return leave(s, r0) + default: oops() +} } } +helpers_arrayShift__P172651.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__P172651_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_arrayShift__P172651, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function helpers_getTilemapByName__P175428(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + s.tmp_0 = helpers__getFactoryInstance__P175426_mk(s); s.tmp_0.arg0 = "tilemap"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1549; s.pc = 1; return s.tmp_0; @@ -24465,12 +24508,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_getTilemapByName__P148812.info = {"start":2439,"length":107,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTilemapByName","argumentNames":["name"]} +helpers_getTilemapByName__P175428.info = {"start":2439,"length":107,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTilemapByName","argumentNames":["name"]} -function helpers_getTilemapByName__P148812_mk(s) { +function helpers_getTilemapByName__P175428_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_getTilemapByName__P148812, depth: s.depth + 1, + parent: s, fn: helpers_getTilemapByName__P175428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24480,7 +24523,7 @@ function helpers_getTilemapByName__P148812_mk(s) { -function helpers__getFactoryInstance__P148810(s) { +function helpers__getFactoryInstance__P175426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24490,30 +24533,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___159076 = undefined; - s.unnamed1066___U1 = undefined; - s.unnamed1067___U2 = undefined; - s.data___159083 = undefined; + s.factory___185692 = undefined; + s.unnamed1174___U1 = undefined; + s.unnamed1175___U2 = undefined; + s.data___185699 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___150950); + r0 = pxsim_numops_toBoolDecr(globals.factories___177566); if (!r0) { step = 7; continue; } - s.factory___159076 = (undefined); - s.unnamed1066___U1 = (globals.factories___150950); - s.unnamed1067___U2 = (0); + s.factory___185692 = (undefined); + s.unnamed1174___U1 = (globals.factories___177566); + s.unnamed1175___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1067___U2; - r0 = pxsim_Array__length(s.unnamed1066___U1); + s.tmp_0 = r0 = s.unnamed1175___U2; + r0 = pxsim_Array__length(s.unnamed1174___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1066___U1, s.unnamed1067___U2); - s.factory___159076 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1174___U1, s.unnamed1175___U2); + s.factory___185692 = (r0); s.tmp_4 = if_kind_1_mk(s); - s.tmp_4.arg0 = s.factory___159076; + s.tmp_4.arg0 = s.factory___185692; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "kind"); } else { @@ -24530,7 +24573,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } s.tmp_5 = if_factory_2_mk(s); - s.tmp_5.arg0 = s.factory___159076; + s.tmp_5.arg0 = s.factory___185692; s.tmp_5.arg1 = s.arg1; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "factory"), 2); @@ -24543,20 +24586,20 @@ switch (step) { } case 11: r0 = s.retval; - s.data___159083 = (r0); - r0 = pxsim_numops_toBoolDecr(s.data___159083); + s.data___185699 = (r0); + r0 = pxsim_numops_toBoolDecr(s.data___185699); if (!r0) { step = 2; continue; } - r0 = s.data___159083; + r0 = s.data___185699; { step = 9; continue; } case 2: case 3: case 4: case 5: - r0 = (s.unnamed1067___U2 + 1); - s.unnamed1067___U2 = (r0); + r0 = (s.unnamed1175___U2 + 1); + s.unnamed1175___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed1066___U1 = (undefined); + s.unnamed1174___U1 = (undefined); case 7: case 8: r0 = null; @@ -24564,12 +24607,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers__getFactoryInstance__P148810.info = {"start":1897,"length":348,"line":58,"column":4,"endLine":68,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_getFactoryInstance","argumentNames":["kind","name"]} +helpers__getFactoryInstance__P175426.info = {"start":1897,"length":348,"line":58,"column":4,"endLine":68,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_getFactoryInstance","argumentNames":["kind","name"]} -function helpers__getFactoryInstance__P148810_mk(s) { +function helpers__getFactoryInstance__P175426_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers__getFactoryInstance__P148810, depth: s.depth + 1, + parent: s, fn: helpers__getFactoryInstance__P175426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24577,10 +24620,10 @@ function helpers__getFactoryInstance__P148810_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___159076: undefined, - unnamed1066___U1: undefined, - unnamed1067___U2: undefined, - data___159083: undefined, + factory___185692: undefined, + unnamed1174___U1: undefined, + unnamed1175___U2: undefined, + data___185699: undefined, arg0: undefined, arg1: undefined, } } @@ -24589,7 +24632,7 @@ function helpers__getFactoryInstance__P148810_mk(s) { -function tilemap__P148799(s) { +function tilemap__P175415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24608,12 +24651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tilemap__P148799.info = {"start":58,"length":78,"line":2,"column":0,"endLine":2,"endColumn":78,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tilemap","argumentNames":["lits","args"]} +tilemap__P175415.info = {"start":58,"length":78,"line":2,"column":0,"endLine":2,"endColumn":78,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tilemap","argumentNames":["lits","args"]} -function tilemap__P148799_mk(s) { +function tilemap__P175415_mk(s) { checkStack(s.depth); return { - parent: s, fn: tilemap__P148799, depth: s.depth + 1, + parent: s, fn: tilemap__P175415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24623,7 +24666,7 @@ function tilemap__P148799_mk(s) { -function tiles_createMap__P149942(s) { +function tiles_createMap__P176558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24637,9 +24680,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_WorldMap__C149936_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_WorldMap__C176552_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_WorldMap_constructor__P149939_mk(s); + s.tmp_1 = tiles_WorldMap_constructor__P176555_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 2014; s.pc = 1; return s.tmp_1; @@ -24649,12 +24692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_createMap__P149942.info = {"start":3438,"length":111,"line":116,"column":4,"endLine":118,"endColumn":5,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"createMap","argumentNames":["tilemap"]} +tiles_createMap__P176558.info = {"start":3438,"length":111,"line":116,"column":4,"endLine":118,"endColumn":5,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"createMap","argumentNames":["tilemap"]} -function tiles_createMap__P149942_mk(s) { +function tiles_createMap__P176558_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_createMap__P149942, depth: s.depth + 1, + parent: s, fn: tiles_createMap__P176558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24665,7 +24708,7 @@ function tiles_createMap__P149942_mk(s) { -function tiles_WorldMap_constructor__P149939(s) { +function tiles_WorldMap_constructor__P176555(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24681,7 +24724,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_WorldMap__C149936_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_WorldMap__C176552_VT)) failedCast(r0); r0 = (s.arg0).fields["tilemap"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -24691,12 +24734,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_WorldMap_constructor__P149939.info = {"start":1102,"length":125,"line":41,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"inline","argumentNames":["this","tilemap"]} +tiles_WorldMap_constructor__P176555.info = {"start":1102,"length":125,"line":41,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"inline","argumentNames":["this","tilemap"]} -function tiles_WorldMap_constructor__P149939_mk(s) { +function tiles_WorldMap_constructor__P176555_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_WorldMap_constructor__P149939, depth: s.depth + 1, + parent: s, fn: tiles_WorldMap_constructor__P176555, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24708,7 +24751,7 @@ function tiles_WorldMap_constructor__P149939_mk(s) { -function inline__P159107(s) { +function inline__P185723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24718,13 +24761,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___159110 = undefined; + s.factory___185726 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C148697_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C175313_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -24759,27 +24802,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P148698_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P175314_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 37; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___159110 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P148674_mk(s); - s.tmp_0.arg0 = s.factory___159110; + s.factory___185726 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P175290_mk(s); + s.tmp_0.arg0 = s.factory___185726; s.tmp_0.arg1 = 30; s.callLocIdx = 38; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C148630_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C175246_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P148635_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P175251_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___159110; + s.tmp_1.arg3 = s.factory___185726; s.callLocIdx = 39; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -24787,12 +24830,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P159107.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +inline__P185723.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 inline__P159107_mk(s) { +function inline__P185723_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P159107, depth: s.depth + 1, + parent: s, fn: inline__P185723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24800,7 +24843,7 @@ function inline__P159107_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___159110: undefined, + factory___185726: undefined, arg0: undefined, arg1: undefined, } } @@ -24809,7 +24852,7 @@ function inline__P159107_mk(s) { -function particles_ParticleSource_constructor__P148635(s) { +function particles_ParticleSource_constructor__P175251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24819,8 +24862,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___159131 = undefined; - s.removedSource___159140 = undefined; + s.sources___185747 = undefined; + s.removedSource___185756 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24829,62 +24872,62 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P147807_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P174423_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1384; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P150825_mk(s); + s.tmp_0 = particles_init__P177441_mk(s); s.callLocIdx = 1385; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P150831_mk(s); + s.tmp_0 = particles_particleSources__P177447_mk(s); s.callLocIdx = 1386; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___159131 = (r0); - r0 = pxsim_Array__length(s.sources___159131); + s.sources___185747 = (r0); + r0 = pxsim_Array__length(s.sources___185747); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___150802); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___177418); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P150828_mk(s); - s.tmp_2.arg0 = s.sources___159131; + s.tmp_2 = particles_sortSources__P177444_mk(s); + s.tmp_2.arg0 = s.sources___185747; s.callLocIdx = 1387; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___159131, 0); - s.removedSource___159140 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P148645_mk(s); - s.tmp_0.arg0 = s.removedSource___159140; + r0 = pxsim_Array_.removeAt(s.sources___185747, 0); + s.removedSource___185756 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P175261_mk(s); + s.tmp_0.arg0 = s.removedSource___185756; s.callLocIdx = 1389; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P148644_mk(s); - s.tmp_0.arg0 = s.removedSource___159140; + s.tmp_0 = particles_ParticleSource_destroy__P175260_mk(s); + s.tmp_0.arg0 = s.removedSource___185756; s.callLocIdx = 1390; 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__P148647_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P175263_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1391; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P148639_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P175255_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.callLocIdx = 1392; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P148646_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P175262_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1393; s.pc = 13; return s.tmp_0; @@ -24899,18 +24942,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___148650; + r0 = globals.defaultFactory___175266; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P148649_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P175265_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 1394; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___159131, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P148643_mk(s); + r0 = pxsim_Array__push(s.sources___185747, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P175259_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1395; s.pc = 15; return s.tmp_0; @@ -24920,18 +24963,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P148635.info = {"start":2290,"length":899,"line":86,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} +particles_ParticleSource_constructor__P175251.info = {"start":2290,"length":899,"line":86,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} -function particles_ParticleSource_constructor__P148635_mk(s) { +function particles_ParticleSource_constructor__P175251_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P148635, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P175251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___159131: undefined, - removedSource___159140: undefined, + sources___185747: undefined, + removedSource___185756: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24942,7 +24985,7 @@ function particles_ParticleSource_constructor__P148635_mk(s) { -function particles_particleSources__P150831(s) { +function particles_particleSources__P177447(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24952,33 +24995,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___159448 = undefined; - s.tmp_0 = game_currentScene__P148484_mk(s); + s.sources___186064 = undefined; + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1446; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___159448 = (r0); - r0 = s.sources___159448; + s.sources___186064 = (r0); + r0 = s.sources___186064; return leave(s, r0) default: oops() } } } -particles_particleSources__P150831.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P177447.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} -function particles_particleSources__P150831_mk(s) { +function particles_particleSources__P177447_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P150831, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P177447, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___159448: undefined, + sources___186064: undefined, } } -function particles_sortSources__P150828(s) { +function particles_sortSources__P177444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24992,9 +25035,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P146038_mk(s); + s.tmp_0 = helpers_arraySort__P172654_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P159434; + s.tmp_0.arg1 = inline__P186050; s.callLocIdx = 1433; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -25002,12 +25045,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources__P150828.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} +particles_sortSources__P177444.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} -function particles_sortSources__P150828_mk(s) { +function particles_sortSources__P177444_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P150828, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P177444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25017,7 +25060,7 @@ function particles_sortSources__P150828_mk(s) { -function inline__P159434(s) { +function inline__P186050(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25055,12 +25098,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P159434.info = {"start":10080,"length":50,"line":332,"column":21,"endLine":332,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P186050.info = {"start":10080,"length":50,"line":332,"column":21,"endLine":332,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P159434_mk(s) { +function inline__P186050_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P159434, depth: s.depth + 1, + parent: s, fn: inline__P186050, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25076,7 +25119,7 @@ function inline__P159434_mk(s) { -function particles_init__P150825(s) { +function particles_init__P177441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25086,33 +25129,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___159453 = undefined; - s.tmp_0 = game_currentScene__P148484_mk(s); + s.scene___186069 = undefined; + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1423; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___159453 = (r0); - r0 = s.scene___159453.fields["particleSources"]; + s.scene___186069 = (r0); + r0 = s.scene___186069.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___159453; + s.tmp_1 = r0 = s.scene___186069; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___150820 = (r0); - s.tmp_0 = game_onUpdate__P148495_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P150826; + globals.lastUpdate___177436 = (r0); + s.tmp_0 = game_onUpdate__P175111_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P177442; s.callLocIdx = 1424; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P148496_mk(s); + s.tmp_0 = game_onUpdateInterval__P175112_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P150827; + s.tmp_0.arg1 = particles_pruneParticles__P177443; s.callLocIdx = 1425; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -25121,24 +25164,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P150825.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P177441.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} -function particles_init__P150825_mk(s) { +function particles_init__P177441_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P150825, depth: s.depth + 1, + parent: s, fn: particles_init__P177441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___159453: undefined, + scene___186069: undefined, } } -function particles_pruneParticles__P150827(s) { +function particles_pruneParticles__P177443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25148,25 +25191,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___159468 = undefined; - s.tmp_0 = particles_particleSources__P150831_mk(s); + s.sources___186084 = undefined; + s.tmp_0 = particles_particleSources__P177447_mk(s); s.callLocIdx = 1429; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___159468 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___159468); + s.sources___186084 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___186084); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); - s.tmp_1 = helpers_arraySlice__P146048_mk(s); - s.tmp_1.arg0 = s.sources___159468; + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); + s.tmp_1 = helpers_arraySlice__P172664_mk(s); + s.tmp_1.arg0 = s.sources___186084; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___159468); + r0 = pxsim_Array__length(s.sources___186084); s.tmp_1.arg2 = r0; s.callLocIdx = 1430; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P159477; + s.tmp_0.arg1 = inline__P186093; s.callLocIdx = 1432; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -25176,23 +25219,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P150827.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P177443.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} -function particles_pruneParticles__P150827_mk(s) { +function particles_pruneParticles__P177443_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P150827, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P177443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___159468: undefined, + sources___186084: undefined, } } -function inline__P159477(s) { +function inline__P186093(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25206,7 +25249,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P148638_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P175254_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1431; s.pc = 1; return s.tmp_0; case 1: @@ -25215,12 +25258,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P159477.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P186093.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function inline__P159477_mk(s) { +function inline__P186093_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P159477, depth: s.depth + 1, + parent: s, fn: inline__P186093, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25230,7 +25273,7 @@ function inline__P159477_mk(s) { -function particles_ParticleSource__prune__P148638(s) { +function particles_ParticleSource__prune__P175254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25240,15 +25283,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___159385 = undefined; - s.sources___159393 = undefined; - s.current___159407 = undefined; + s.scene___186001 = undefined; + s.sources___186009 = undefined; + s.current___186023 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -25291,36 +25334,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P148484_mk(s); + s.tmp_5 = game_currentScene__P175100_mk(s); s.callLocIdx = 1404; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___159385 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___159385); + s.scene___186001 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___186001); if (!r0) { step = 7; continue; } - r0 = s.scene___159385.fields["allSprites"]; + r0 = s.scene___186001.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P150831_mk(s); + s.tmp_0 = particles_particleSources__P177447_mk(s); s.callLocIdx = 1405; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___159393 = (r0); - s.tmp_0 = r0 = s.sources___159393; + s.sources___186009 = (r0); + s.tmp_0 = r0 = s.sources___186009; 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___159393); + r0 = pxsim_Array__length(s.sources___186009); 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___159393, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___186009, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -25329,35 +25372,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___159407 = (r0); + s.current___186023 = (r0); case 15: - s.tmp_0 = r0 = s.current___159407; + s.tmp_0 = r0 = s.current___186023; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___159407.fields["next"]; + r0 = s.current___186023.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___159407.fields["next"]; + r0 = s.current___186023.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___159407.fields["next"]; + r0 = s.current___186023.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___159407).fields["next"] = (s.tmp_4); + r0 = (s.current___186023).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___159407.fields["next"]; - s.current___159407 = (r0); + r0 = s.current___186023.fields["next"]; + s.current___186023 = (r0); case 19: { step = 15; continue; } case 20: @@ -25365,12 +25408,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P148638.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} +particles_ParticleSource__prune__P175254.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} -function particles_ParticleSource__prune__P148638_mk(s) { +function particles_ParticleSource__prune__P175254_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P148638, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P175254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25378,9 +25421,9 @@ function particles_ParticleSource__prune__P148638_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___159385: undefined, - sources___159393: undefined, - current___159407: undefined, + scene___186001: undefined, + sources___186009: undefined, + current___186023: undefined, arg0: undefined, } } @@ -25388,7 +25431,7 @@ function particles_ParticleSource__prune__P148638_mk(s) { -function helpers_arraySlice__P146048(s) { +function helpers_arraySlice__P172664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25398,9 +25441,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___159484 = undefined; - s.len___159486 = undefined; - s.i___159520 = undefined; + s.res___186100 = undefined; + s.len___186102 = undefined; + s.i___186136 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25408,9 +25451,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___159484 = (r0); + s.res___186100 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___159486 = (r0); + s.len___186102 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -25422,8 +25465,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P146062_mk(s); - r0 = (s.len___159486 + s.arg1); + s.tmp_1 = Math_max__P172678_mk(s); + r0 = (s.len___186102 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 10; s.pc = 16; return s.tmp_1; @@ -25433,11 +25476,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___159486); + r0 = (s.arg1 > s.len___186102); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___159484; + r0 = s.res___186100; { step = 15; continue; } case 5: case 6: @@ -25445,57 +25488,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___159486); + s.arg2 = (s.len___186102); { 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___159486 + s.arg2); + r0 = (s.len___186102 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___159486); + r0 = (s.arg2 > s.len___186102); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___159486); + s.arg2 = (s.len___186102); case 11: case 12: - s.i___159520 = (s.arg1); + s.i___186136 = (s.arg1); case 13: - r0 = (s.i___159520 < s.arg2); + r0 = (s.i___186136 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___159484; - r0 = pxsim_Array__getAt(s.arg0, s.i___159520); + s.tmp_1 = r0 = s.res___186100; + r0 = pxsim_Array__getAt(s.arg0, s.i___186136); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___159520 + 1); - s.i___159520 = (r0); + r0 = (s.i___186136 + 1); + s.i___186136 = (r0); { step = 13; continue; } case 14: - r0 = s.res___159484; + r0 = s.res___186100; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P146048.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__P172664.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__P146048_mk(s) { +function helpers_arraySlice__P172664_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P146048, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P172664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___159484: undefined, - len___159486: undefined, - i___159520: undefined, + res___186100: undefined, + len___186102: undefined, + i___186136: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25505,7 +25548,7 @@ function helpers_arraySlice__P146048_mk(s) { -function particles_updateParticles__P150826(s) { +function particles_updateParticles__P177442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25515,16 +25558,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___159561 = undefined; - s.time___159568 = undefined; - s.dt___159571 = undefined; - s.i___159577 = undefined; - s.tmp_0 = particles_particleSources__P150831_mk(s); + s.sources___186177 = undefined; + s.time___186184 = undefined; + s.dt___186187 = undefined; + s.i___186193 = undefined; + s.tmp_0 = particles_particleSources__P177447_mk(s); s.callLocIdx = 1426; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___159561 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___159561); + s.sources___186177 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___186177); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -25533,34 +25576,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P150828_mk(s); - s.tmp_2.arg0 = s.sources___159561; + s.tmp_2 = particles_sortSources__P177444_mk(s); + s.tmp_2.arg0 = s.sources___186177; s.callLocIdx = 1427; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___159568 = (r0); - r0 = (s.time___159568 - globals.lastUpdate___150820); - s.dt___159571 = (r0); - globals.lastUpdate___150820 = (s.time___159568); - s.i___159577 = (0); + s.time___186184 = (r0); + r0 = (s.time___186184 - globals.lastUpdate___177436); + s.dt___186187 = (r0); + globals.lastUpdate___177436 = (s.time___186184); + s.i___186193 = (0); case 3: - s.tmp_1 = r0 = s.i___159577; - r0 = pxsim_Array__length(s.sources___159561); + s.tmp_1 = r0 = s.i___186193; + r0 = pxsim_Array__length(s.sources___186177); 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__P148637_mk(s); - r0 = pxsim_Array__getAt(s.sources___159561, s.i___159577); + s.tmp_3 = particles_ParticleSource__update__P175253_mk(s); + r0 = pxsim_Array__getAt(s.sources___186177, s.i___186193); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___159571; + s.tmp_3.arg1 = s.dt___186187; s.callLocIdx = 1428; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___159577 + 1); - s.i___159577 = (r0); + r0 = (s.i___186193 + 1); + s.i___186193 = (r0); { step = 3; continue; } case 4: case 5: @@ -25568,28 +25611,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P150826.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P177442.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} -function particles_updateParticles__P150826_mk(s) { +function particles_updateParticles__P177442_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P150826, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P177442, 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___159561: undefined, - time___159568: undefined, - dt___159571: undefined, - i___159577: undefined, + sources___186177: undefined, + time___186184: undefined, + dt___186187: undefined, + i___186193: undefined, } } -function particles_ParticleSource__update__P148637(s) { +function particles_ParticleSource__update__P175253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25599,16 +25642,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___159640 = undefined; - s.current___159659 = undefined; - s.fixedDt___159667 = undefined; + s.p___186256 = undefined; + s.current___186275 = undefined; + s.fixedDt___186283 = 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__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -25634,7 +25677,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__P148644_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P175260_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1399; s.pc = 28; return s.tmp_0; case 28: @@ -25707,7 +25750,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P148642_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P175258_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1402; s.pc = 31; return s.tmp_2; case 31: @@ -25725,18 +25768,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__C148666_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C175282_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__C148666_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C175282_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___159640 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___159640); + s.p___186256 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___186256); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -25747,8 +25790,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___159640).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___159640); + r0 = (s.p___186256).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___186256); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -25763,7 +25806,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___159659 = (r0); + s.current___186275 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -25775,36 +25818,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___159667 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___159667); + s.fixedDt___186283 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___186283); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___159659.fields["lifespan"]; + r0 = s.current___186275.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___159659; + s.tmp_2 = r0 = s.current___186275; 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__C148630_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C175246_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___159659; - s.tmp_0.arg2 = s.fixedDt___159667; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C148630_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___186275; + s.tmp_0.arg2 = s.fixedDt___186283; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C175246_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___159659.fields["next"]; + r0 = s.current___186275.fields["next"]; s.tmp_0 = r0; - s.current___159659 = (r0); + s.current___186275 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -25813,15 +25856,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___159659; + s.tmp_0 = r0 = s.current___186275; 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___159659.fields["next"]; + r0 = s.current___186275.fields["next"]; s.tmp_0 = r0; - s.current___159659 = (r0); + s.current___186275 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -25832,12 +25875,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P148637.info = {"start":3677,"length":1400,"line":123,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} +particles_ParticleSource__update__P175253.info = {"start":3677,"length":1400,"line":123,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} -function particles_ParticleSource__update__P148637_mk(s) { +function particles_ParticleSource__update__P175253_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P148637, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P175253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25847,9 +25890,9 @@ function particles_ParticleSource__update__P148637_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___159640: undefined, - current___159659: undefined, - fixedDt___159667: undefined, + p___186256: undefined, + current___186275: undefined, + fixedDt___186283: undefined, arg0: undefined, arg1: undefined, } } @@ -25858,7 +25901,7 @@ function particles_ParticleSource__update__P148637_mk(s) { -function particles_ParticleSource_updateParticle__P150822(s) { +function particles_ParticleSource_updateParticle__P177438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25875,7 +25918,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -25930,12 +25973,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P150822.info = {"start":8231,"length":357,"line":276,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} +particles_ParticleSource_updateParticle__P177438.info = {"start":8231,"length":357,"line":276,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} -function particles_ParticleSource_updateParticle__P150822_mk(s) { +function particles_ParticleSource_updateParticle__P177438_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P150822, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P177438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25952,7 +25995,7 @@ function particles_ParticleSource_updateParticle__P150822_mk(s) { -function Fx_rightShift__P146101(s) { +function Fx_rightShift__P172717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25971,12 +26014,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P146101.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} +Fx_rightShift__P172717.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} -function Fx_rightShift__P146101_mk(s) { +function Fx_rightShift__P172717_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P146101, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P172717, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25986,7 +26029,7 @@ function Fx_rightShift__P146101_mk(s) { -function Fx_mul__P146092(s) { +function Fx_mul__P172708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26007,12 +26050,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P146092.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__P172708.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__P146092_mk(s) { +function Fx_mul__P172708_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P146092, depth: s.depth + 1, + parent: s, fn: Fx_mul__P172708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26023,7 +26066,7 @@ function Fx_mul__P146092_mk(s) { -function Fx_add__P146089(s) { +function Fx_add__P172705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26042,12 +26085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P146089.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__P172705.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__P146089_mk(s) { +function Fx_add__P172705_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P146089, depth: s.depth + 1, + parent: s, fn: Fx_add__P172705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26057,7 +26100,7 @@ function Fx_add__P146089_mk(s) { -function particles_ParticleFactory_createParticle__P148668(s) { +function particles_ParticleFactory_createParticle__P175284(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26067,17 +26110,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___159764 = undefined; + s.p___186380 = 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__C148666_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C148611_VT); - s.p___159764 = (r0); - s.tmp_0 = r0 = s.p___159764; + if (!checkSubtype(r0, particles_ParticleFactory__C175282_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C175227_VT); + s.p___186380 = (r0); + s.tmp_0 = r0 = s.p___186380; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -26096,7 +26139,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___159764; + s.tmp_0 = r0 = s.p___186380; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -26115,26 +26158,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___159764).fields["vx"] = (0); - r0 = (s.p___159764).fields["vy"] = (0); - r0 = (s.p___159764).fields["lifespan"] = (500); - r0 = s.p___159764; + r0 = (s.p___186380).fields["vx"] = (0); + r0 = (s.p___186380).fields["vy"] = (0); + r0 = (s.p___186380).fields["lifespan"] = (500); + r0 = s.p___186380; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P148668.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__P175284.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__P148668_mk(s) { +function particles_ParticleFactory_createParticle__P175284_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P148668, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P175284, 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___159764: undefined, + p___186380: undefined, arg0: undefined, arg1: undefined, } } @@ -26143,7 +26186,7 @@ function particles_ParticleFactory_createParticle__P148668_mk(s) { -function game_onUpdateInterval__P148496(s) { +function game_onUpdateInterval__P175112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26153,13 +26196,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___159544 = undefined; + s.timer___186160 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P150475_mk(s); + s.tmp_0 = game_init__P177091_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1199; s.pc = 6; return s.tmp_0; case 6: @@ -26183,15 +26226,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___159544 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___159544, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P159548); + s.timer___186160 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___186160, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P186164); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___159544); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___186160); 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__P146329_mk(s); - s.tmp_2 = game_eventContext__P148487_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P172945_mk(s); + s.tmp_2 = game_eventContext__P175103_mk(s); s.callLocIdx = 1200; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -26206,17 +26249,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P148496.info = {"start":7929,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +game_onUpdateInterval__P175112.info = {"start":7929,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -function game_onUpdateInterval__P148496_mk(s) { +function game_onUpdateInterval__P175112_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P148496, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P175112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___159544: undefined, + timer___186160: undefined, arg0: undefined, arg1: undefined, } } @@ -26225,7 +26268,7 @@ function game_onUpdateInterval__P148496_mk(s) { -function inline__P159548(s) { +function inline__P186164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26235,22 +26278,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___159549 = undefined; - s.tmp_1 = game_currentScene__P148484_mk(s); + s.time___186165 = undefined; + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 1201; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___159549 = (r0); + s.time___186165 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___159549); + r0 = (s.tmp_1 <= s.time___186165); 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___159549 + s.caps[1]); + r0 = (s.time___186165 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -26265,25 +26308,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P159548.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P186164.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P159548_mk(s) { +function inline__P186164_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P159548, depth: s.depth + 1, + parent: s, fn: inline__P186164, 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___159549: undefined, + time___186165: undefined, } } -function particles_SprayFactory_constructor__P148671(s) { +function particles_SprayFactory_constructor__P175287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26301,19 +26344,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C148670_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C175286_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P150846_mk(s); + s.tmp_0 = particles_initTrig__P177462_mk(s); s.callLocIdx = 1460; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P148674_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P175290_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1461; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P148675_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P175291_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -26324,12 +26367,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P148671.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__P175287.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__P148671_mk(s) { +function particles_SprayFactory_constructor__P175287_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P148671, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P175287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26342,7 +26385,7 @@ function particles_SprayFactory_constructor__P148671_mk(s) { -function particles_initTrig__P150846(s) { +function particles_initTrig__P177462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26352,36 +26395,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___150832); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___177448); 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__P148664_mk(s); + s.tmp_2 = particles_cacheSin__P175280_mk(s); s.tmp_2.arg0 = 100; s.callLocIdx = 1448; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___150832 = (r0); - s.tmp_0 = particles_cacheCos__P148665_mk(s); + globals.cachedSin___177448 = (r0); + s.tmp_0 = particles_cacheCos__P175281_mk(s); s.tmp_0.arg0 = 100; s.callLocIdx = 1449; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___150833 = (r0); + globals.cachedCos___177449 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P150846.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P177462.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__P150846_mk(s) { +function particles_initTrig__P177462_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P150846, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P177462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26392,7 +26435,7 @@ function particles_initTrig__P150846_mk(s) { -function particles_cacheCos__P148665(s) { +function particles_cacheCos__P175281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26402,25 +26445,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___159263 = undefined; - s.anglePerSlice___159265 = undefined; - s.i___159271 = undefined; + s.cos___185879 = undefined; + s.anglePerSlice___185881 = undefined; + s.i___185887 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___159263 = (r0); + s.cos___185879 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___159265 = (r0); - s.i___159271 = (0); + s.anglePerSlice___185881 = (r0); + s.i___185887 = (0); case 1: - r0 = (s.i___159271 < s.arg0); + r0 = (s.i___185887 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___159263; - r0 = (s.i___159271 * s.anglePerSlice___159265); + s.tmp_1 = r0 = s.cos___185879; + r0 = (s.i___185887 * s.anglePerSlice___185881); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -26429,20 +26472,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___159271 + 1); - s.i___159271 = (r0); + r0 = (s.i___185887 + 1); + s.i___185887 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___159263; + r0 = s.cos___185879; return leave(s, r0) default: oops() } } } -particles_cacheCos__P148665.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__P175281.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__P148665_mk(s) { +function particles_cacheCos__P175281_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P148665, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P175281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26450,9 +26493,9 @@ function particles_cacheCos__P148665_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___159263: undefined, - anglePerSlice___159265: undefined, - i___159271: undefined, + cos___185879: undefined, + anglePerSlice___185881: undefined, + i___185887: undefined, arg0: undefined, } } @@ -26460,7 +26503,7 @@ function particles_cacheCos__P148665_mk(s) { -function particles_cacheSin__P148664(s) { +function particles_cacheSin__P175280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26470,25 +26513,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___159289 = undefined; - s.anglePerSlice___159291 = undefined; - s.i___159297 = undefined; + s.sin___185905 = undefined; + s.anglePerSlice___185907 = undefined; + s.i___185913 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___159289 = (r0); + s.sin___185905 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___159291 = (r0); - s.i___159297 = (0); + s.anglePerSlice___185907 = (r0); + s.i___185913 = (0); case 1: - r0 = (s.i___159297 < s.arg0); + r0 = (s.i___185913 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___159289; - r0 = (s.i___159297 * s.anglePerSlice___159291); + s.tmp_1 = r0 = s.sin___185905; + r0 = (s.i___185913 * s.anglePerSlice___185907); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -26497,20 +26540,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___159297 + 1); - s.i___159297 = (r0); + r0 = (s.i___185913 + 1); + s.i___185913 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___159289; + r0 = s.sin___185905; return leave(s, r0) default: oops() } } } -particles_cacheSin__P148664.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__P175280.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__P148664_mk(s) { +function particles_cacheSin__P175280_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P148664, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P175280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26518,9 +26561,9 @@ function particles_cacheSin__P148664_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___159289: undefined, - anglePerSlice___159291: undefined, - i___159297: undefined, + sin___185905: undefined, + anglePerSlice___185907: undefined, + i___185913: undefined, arg0: undefined, } } @@ -26528,7 +26571,7 @@ function particles_cacheSin__P148664_mk(s) { -function particles_SprayFactory_setDirection__P148675(s) { +function particles_SprayFactory_setDirection__P175291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26545,9 +26588,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C148670_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C175286_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P150851_mk(s); + s.tmp_4 = particles_toRadians__P177467_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -26557,19 +26600,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___150845); + r0 = (s.tmp_3 / globals.angleSlice___177461); 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__P150851_mk(s); + s.tmp_4 = particles_toRadians__P177467_mk(s); s.tmp_4.arg0 = s.arg2; s.callLocIdx = 1471; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___150845); + r0 = (s.tmp_3 / globals.angleSlice___177461); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -26578,12 +26621,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P148675.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__P175291.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__P148675_mk(s) { +function particles_SprayFactory_setDirection__P175291_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P148675, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P175291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26601,7 +26644,7 @@ function particles_SprayFactory_setDirection__P148675_mk(s) { -function particles_toRadians__P150851(s) { +function particles_toRadians__P177467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26619,7 +26662,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P146060_mk(s); + s.tmp_3 = Math_abs__P172676_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1452; s.pc = 3; return s.tmp_3; case 3: @@ -26638,12 +26681,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P150851.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__P177467.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__P150851_mk(s) { +function particles_toRadians__P177467_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P150851, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P177467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26656,7 +26699,7 @@ function particles_toRadians__P150851_mk(s) { -function particles_ParticleFactory_constructor__P148667(s) { +function particles_ParticleFactory_constructor__P175283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26671,17 +26714,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C148666_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C175282_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P148667.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__P175283.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__P148667_mk(s) { +function particles_ParticleFactory_constructor__P175283_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P148667, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P175283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26690,7 +26733,7 @@ function particles_ParticleFactory_constructor__P148667_mk(s) { -function particles_ParticleSource_setFactory__P148649(s) { +function particles_ParticleSource_setFactory__P175265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26706,7 +26749,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -26716,12 +26759,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P148649.info = {"start":8107,"length":114,"line":271,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} +particles_ParticleSource_setFactory__P175265.info = {"start":8107,"length":114,"line":271,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} -function particles_ParticleSource_setFactory__P148649_mk(s) { +function particles_ParticleSource_setFactory__P175265_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P148649, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P175265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26731,7 +26774,7 @@ function particles_ParticleSource_setFactory__P148649_mk(s) { -function particles_ParticleSource_setRate__P148647(s) { +function particles_ParticleSource_setRate__P175263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26747,7 +26790,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -26759,12 +26802,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P148647.info = {"start":7785,"length":139,"line":258,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} +particles_ParticleSource_setRate__P175263.info = {"start":7785,"length":139,"line":258,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} -function particles_ParticleSource_setRate__P148647_mk(s) { +function particles_ParticleSource_setRate__P175263_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P148647, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P175263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26777,7 +26820,7 @@ function particles_ParticleSource_setRate__P148647_mk(s) { -function particles_ParticleSource_setAnchor__P148646(s) { +function particles_ParticleSource_setAnchor__P175262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26793,18 +26836,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P148646.info = {"start":7577,"length":79,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} +particles_ParticleSource_setAnchor__P175262.info = {"start":7577,"length":79,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} -function particles_ParticleSource_setAnchor__P148646_mk(s) { +function particles_ParticleSource_setAnchor__P175262_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P148646, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P175262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26814,7 +26857,7 @@ function particles_ParticleSource_setAnchor__P148646_mk(s) { -function particles_ParticleSource_clear__P148645(s) { +function particles_ParticleSource_clear__P175261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26829,18 +26872,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P148645.info = {"start":7407,"length":54,"line":242,"column":8,"endLine":244,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} +particles_ParticleSource_clear__P175261.info = {"start":7407,"length":54,"line":242,"column":8,"endLine":244,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} -function particles_ParticleSource_clear__P148645_mk(s) { +function particles_ParticleSource_clear__P175261_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P148645, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P175261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26849,7 +26892,7 @@ function particles_ParticleSource_clear__P148645_mk(s) { -function particles_ParticleSource_destroy__P148644(s) { +function particles_ParticleSource_destroy__P175260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26864,8 +26907,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P148643_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P175259_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1409; s.pc = 1; return s.tmp_0; @@ -26877,7 +26920,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__P148638_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P175254_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1410; s.pc = 2; return s.tmp_0; case 2: @@ -26886,12 +26929,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P148644.info = {"start":7077,"length":240,"line":232,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} +particles_ParticleSource_destroy__P175260.info = {"start":7077,"length":240,"line":232,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} -function particles_ParticleSource_destroy__P148644_mk(s) { +function particles_ParticleSource_destroy__P175260_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P148644, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P175260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26903,7 +26946,7 @@ function particles_ParticleSource_destroy__P148644_mk(s) { -function particles_ParticleSource_enabled__P148643(s) { +function particles_ParticleSource_enabled__P175259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26919,9 +26962,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P148642_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P175258_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1408; s.pc = 5; return s.tmp_3; case 5: @@ -26952,12 +26995,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P148643.info = {"start":6799,"length":214,"line":222,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} +particles_ParticleSource_enabled__P175259.info = {"start":6799,"length":214,"line":222,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} -function particles_ParticleSource_enabled__P148643_mk(s) { +function particles_ParticleSource_enabled__P175259_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P148643, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P175259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26974,7 +27017,7 @@ function particles_ParticleSource_enabled__P148643_mk(s) { -function particles_ParticleSource_enabled__P148642(s) { +function particles_ParticleSource_enabled__P175258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26989,7 +27032,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -27004,13 +27047,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P148642.info = {"start":6605,"length":76,"line":215,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} -particles_ParticleSource_enabled__P148642.isGetter = true; +particles_ParticleSource_enabled__P175258.info = {"start":6605,"length":76,"line":215,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} +particles_ParticleSource_enabled__P175258.isGetter = true; -function particles_ParticleSource_enabled__P148642_mk(s) { +function particles_ParticleSource_enabled__P175258_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P148642, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P175258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27024,7 +27067,7 @@ function particles_ParticleSource_enabled__P148642_mk(s) { -function particles_ParticleSource_setAcceleration__P148639(s) { +function particles_ParticleSource_setAcceleration__P175255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27041,7 +27084,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -27058,12 +27101,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P148639.info = {"start":6009,"length":113,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} +particles_ParticleSource_setAcceleration__P175255.info = {"start":6009,"length":113,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} -function particles_ParticleSource_setAcceleration__P148639_mk(s) { +function particles_ParticleSource_setAcceleration__P175255_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P148639, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P175255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27077,7 +27120,7 @@ function particles_ParticleSource_setAcceleration__P148639_mk(s) { -function particles_SprayFactory_setSpeed__P148674(s) { +function particles_SprayFactory_setSpeed__P175290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27093,7 +27136,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C148670_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C175286_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -27104,12 +27147,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P148674.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__P175290.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__P148674_mk(s) { +function particles_SprayFactory_setSpeed__P175290_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P148674, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P175290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27122,7 +27165,7 @@ function particles_SprayFactory_setSpeed__P148674_mk(s) { -function particles_ConfettiFactory_constructor__P148698(s) { +function particles_ConfettiFactory_constructor__P175314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27132,8 +27175,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___159796 = undefined; - s.i___159812 = undefined; + s.confetti___186412 = undefined; + s.i___186428 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27141,52 +27184,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C148697_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C175313_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex159799); + r0 = pxsim.image.ofBuffer(_hex186415); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex159801); + r0 = pxsim.image.ofBuffer(_hex186417); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex159803); + r0 = pxsim.image.ofBuffer(_hex186419); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex159805); + r0 = pxsim.image.ofBuffer(_hex186421); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex159807); + r0 = pxsim.image.ofBuffer(_hex186423); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___159796 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P148693_mk(s); + s.confetti___186412 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P175309_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___159796, 0); + r0 = pxsim_Array__getAt(s.confetti___186412, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1494; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___159812 = (1); + s.i___186428 = (1); case 1: - s.tmp_1 = r0 = s.i___159812; - r0 = pxsim_Array__length(s.confetti___159796); + s.tmp_1 = r0 = s.i___186428; + r0 = pxsim_Array__length(s.confetti___186412); 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__P148694_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P175310_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___159796, s.i___159812); + r0 = pxsim_Array__getAt(s.confetti___186412, s.i___186428); s.tmp_3.arg1 = r0; s.callLocIdx = 1495; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___159812 + 1); - s.i___159812 = (r0); + r0 = (s.i___186428 + 1); + s.i___186428 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -27195,12 +27238,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P148698.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__P175314.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__P148698_mk(s) { +function particles_ConfettiFactory_constructor__P175314_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P148698, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P175314, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27208,23 +27251,23 @@ function particles_ConfettiFactory_constructor__P148698_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___159796: undefined, - i___159812: undefined, + confetti___186412: undefined, + i___186428: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex159799 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex159801 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex159803 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex159805 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex159807 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex186415 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex186417 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex186419 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex186421 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex186423 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P148694(s) { +function particles_ShapeFactory_addShape__P175310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27240,7 +27283,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C148692_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C175308_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -27252,12 +27295,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P148694.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__P175310.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__P148694_mk(s) { +function particles_ShapeFactory_addShape__P175310_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P148694, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P175310, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27268,7 +27311,7 @@ function particles_ShapeFactory_addShape__P148694_mk(s) { -function particles_ShapeFactory_constructor__P148693(s) { +function particles_ShapeFactory_constructor__P175309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27286,8 +27329,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C148692_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P148681_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C175308_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P175297_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -27324,12 +27367,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P148693.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__P175309.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__P148693_mk(s) { +function particles_ShapeFactory_constructor__P175309_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P148693, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P175309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27346,7 +27389,7 @@ function particles_ShapeFactory_constructor__P148693_mk(s) { -function particles_AreaFactory_constructor__P148681(s) { +function particles_AreaFactory_constructor__P175297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27365,8 +27408,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C148676_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P148671_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C175292_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P175287_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -27396,9 +27439,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__C148538_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C175154_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P148540_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P175156_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1473; s.pc = 6; return s.tmp_1; @@ -27409,12 +27452,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P148681.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__P175297.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__P148681_mk(s) { +function particles_AreaFactory_constructor__P175297_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P148681, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P175297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27429,7 +27472,7 @@ function particles_AreaFactory_constructor__P148681_mk(s) { -function effects_ScreenEffect_constructor__P148746(s) { +function effects_ScreenEffect_constructor__P175362(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27448,8 +27491,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C148745_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P148742_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C175361_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P175358_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -27462,12 +27505,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P148746.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__P175362.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__P148746_mk(s) { +function effects_ScreenEffect_constructor__P175362_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P148746, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P175362, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27481,7 +27524,7 @@ function effects_ScreenEffect_constructor__P148746_mk(s) { -function effects_ParticleEffect_constructor__P148742(s) { +function effects_ParticleEffect_constructor__P175358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27499,7 +27542,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C148741_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C175357_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -27507,12 +27550,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P148742.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__P175358.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__P148742_mk(s) { +function effects_ParticleEffect_constructor__P175358_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P148742, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P175358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27524,7 +27567,7 @@ function effects_ParticleEffect_constructor__P148742_mk(s) { -function game_over__P148494(s) { +function game_over__P175110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27534,29 +27577,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scoreInfo___159933 = undefined; - s.highScore___159937 = undefined; - s.overDialog___159966 = undefined; + s.scoreInfo___186549 = undefined; + s.highScore___186553 = undefined; + s.overDialog___186582 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P150475_mk(s); + s.tmp_0 = game_init__P177091_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1178; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__isOver___150474); + r0 = pxsim_numops_toBoolDecr(globals.__isOver___177090); if (!r0) { step = 1; continue; } { step = 17; continue; } case 1: case 2: - globals.__isOver___150474 = (true); - r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___150472); + globals.__isOver___177090 = (true); + r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___177088); if (!r0) { step = 3; continue; } s.tmp_0 = lambda_2_mk(s); - s.tmp_0.argL = globals.__gameOverHandler___150472; + s.tmp_0.argL = globals.__gameOverHandler___177088; s.tmp_0.arg0 = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1179; s.pc = 19; return s.tmp_0; @@ -27572,85 +27615,85 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 4; continue; } - r0 = globals.winEffect___148482; + r0 = globals.winEffect___175098; { step = 5; continue; } case 4: - r0 = globals.loseEffect___148483; + r0 = globals.loseEffect___175099; case 5: // jmp value (already in r0) s.tmp_2 = r0; s.arg1 = (s.tmp_2); case 6: case 7: - s.tmp_0 = info_PlayerInfo_getState__P148197_mk(s); - s.tmp_0.arg0 = globals.player1___148215; + s.tmp_0 = info_PlayerInfo_getState__P174813_mk(s); + s.tmp_0.arg0 = globals.player1___174831; s.callLocIdx = 1180; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.scoreInfo___159933 = (r0); - s.tmp_0 = info_highScore__P148163_mk(s); + s.scoreInfo___186549 = (r0); + s.tmp_0 = info_highScore__P174779_mk(s); s.callLocIdx = 1181; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.highScore___159937 = (r0); - r0 = s.scoreInfo___159933.fields["score"]; + s.highScore___186553 = (r0); + r0 = s.scoreInfo___186549.fields["score"]; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.highScore___159937); + r0 = (s.tmp_1 > s.highScore___186553); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_2 = info_saveHighScore__P148160_mk(s); + s.tmp_2 = info_saveHighScore__P174776_mk(s); s.callLocIdx = 1182; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; case 8: case 9: case 10: - s.tmp_0 = r0 = globals._sceneStack___150468; + s.tmp_0 = r0 = globals._sceneStack___177084; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = pxsim_Array__length(globals._sceneStack___150468); + r0 = pxsim_Array__length(globals._sceneStack___177084); case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = scene_Scene_destroy__P148397_mk(s); - s.tmp_2.arg0 = globals._scene___150467; + s.tmp_2 = scene_Scene_destroy__P175013_mk(s); + s.tmp_2.arg0 = globals._scene___177083; s.callLocIdx = 1183; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; - s.tmp_0 = game_popScene__P148489_mk(s); + s.tmp_0 = game_popScene__P175105_mk(s); s.callLocIdx = 1184; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; { step = 10; continue; } case 13: - s.tmp_0 = game_pushScene__P148488_mk(s); + s.tmp_0 = game_pushScene__P175104_mk(s); s.callLocIdx = 1185; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = scene_setBackgroundImage__P148411_mk(s); - r0 = pxsim_ImageMethods.clone(globals.screen___147749); + s.tmp_0 = scene_setBackgroundImage__P175027_mk(s); + r0 = pxsim_ImageMethods.clone(globals.screen___174365); s.tmp_0.arg0 = r0; s.callLocIdx = 1186; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 14; continue; } - s.tmp_0 = music_Melody_play__P147542_mk(s); - s.tmp_0.arg0 = globals.winSound___150466; + s.tmp_0 = music_Melody_play__P174158_mk(s); + s.tmp_0.arg0 = globals.winSound___177082; s.tmp_0.arg1 = 255; s.callLocIdx = 1187; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; { step = 15; continue; } case 14: - s.tmp_0 = music_Melody_play__P147542_mk(s); - s.tmp_0.arg0 = globals.loseSound___150464; + s.tmp_0 = music_Melody_play__P174158_mk(s); + s.tmp_0.arg0 = globals.loseSound___177080; s.tmp_0.arg1 = 255; s.callLocIdx = 1188; s.pc = 28; return s.tmp_0; case 28: @@ -27669,44 +27712,44 @@ switch (step) { } case 29: r0 = s.retval; - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); s.tmp_0.arg0 = 400; s.callLocIdx = 1190; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C148468_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C175084_VT); s.tmp_0 = r0; - s.tmp_1 = game_GameOverDialog_constructor__P148469_mk(s); + s.tmp_1 = game_GameOverDialog_constructor__P175085_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - r0 = s.scoreInfo___159933.fields["score"]; + r0 = s.scoreInfo___186549.fields["score"]; s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = s.highScore___159937; + s.tmp_1.arg3 = s.highScore___186553; s.callLocIdx = 1191; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - s.overDialog___159966 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(1, inline__P159976); + s.overDialog___186582 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(1, inline__P186592); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___159966); - s.tmp_1 = scene_createRenderable__P148335_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___186582); + s.tmp_1 = scene_createRenderable__P174951_mk(s); s.tmp_1.arg0 = 100; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; s.callLocIdx = 1192; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); s.tmp_0.arg0 = 500; s.callLocIdx = 1193; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = game_GameOverDialog_displayCursor__P148470_mk(s); - s.tmp_0.arg0 = s.overDialog___159966; + s.tmp_0 = game_GameOverDialog_displayCursor__P175086_mk(s); + s.tmp_0.arg0 = s.overDialog___186582; s.callLocIdx = 1194; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = game_waitAnyButton__P148486_mk(s); + s.tmp_0 = game_waitAnyButton__P175102_mk(s); s.callLocIdx = 1195; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; @@ -27722,19 +27765,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_over__P148494.info = {"start":5382,"length":1774,"line":181,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} +game_over__P175110.info = {"start":5382,"length":1774,"line":181,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} -function game_over__P148494_mk(s) { +function game_over__P175110_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_over__P148494, depth: s.depth + 1, + parent: s, fn: game_over__P175110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scoreInfo___159933: undefined, - highScore___159937: undefined, - overDialog___159966: undefined, + scoreInfo___186549: undefined, + highScore___186553: undefined, + overDialog___186582: undefined, arg0: undefined, arg1: undefined, } } @@ -27743,7 +27786,7 @@ function game_over__P148494_mk(s) { -function inline__P159976(s) { +function inline__P186592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27757,9 +27800,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_GameOverDialog__C148468_v0_1_mk(s); + s.tmp_0 = game_GameOverDialog__C175084_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C148468_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C175084_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 1; return s.tmp_0; case 1: @@ -27767,7 +27810,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.caps[0].fields["image"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_4 = r0; r0 = s.caps[0].fields["image"]; s.tmp_6 = r0; @@ -27782,12 +27825,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P159976.info = {"start":6721,"length":254,"line":218,"column":48,"endLine":225,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} +inline__P186592.info = {"start":6721,"length":254,"line":218,"column":48,"endLine":225,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} -function inline__P159976_mk(s) { +function inline__P186592_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P159976, depth: s.depth + 1, + parent: s, fn: inline__P186592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27803,7 +27846,7 @@ function inline__P159976_mk(s) { -function game_popScene__P148489(s) { +function game_popScene__P175105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27813,57 +27856,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___160603 = undefined; - s.tmp_0 = game_currentScene__P148484_mk(s); + s.oldScene___187219 = undefined; + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1172; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___160603 = (r0); - s.tmp_0 = r0 = globals._sceneStack___150468; + s.oldScene___187219 = (r0); + s.tmp_0 = r0 = globals._sceneStack___177084; 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___150468); + r0 = pxsim_Array__length(globals._sceneStack___177084); 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___150468); - globals._scene___150467 = (r0); - s.tmp_0 = control_popEventContext__P146336_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___177084); + globals._scene___177083 = (r0); + s.tmp_0 = control_popEventContext__P172952_mk(s); s.callLocIdx = 1173; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___150467); + r0 = pxsim_numops_toBoolDecr(globals._scene___177083); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P146336_mk(s); + s.tmp_0 = control_popEventContext__P172952_mk(s); s.callLocIdx = 1174; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___150467 = (undefined); + globals._scene___177083 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___150467); + r0 = pxsim_numops_toBoolDecr(globals._scene___177083); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P148662_mk(s); + s.tmp_0 = particles_enableAll__P175278_mk(s); s.callLocIdx = 1175; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___150470); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___177086); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P160624); + r0 = pxsim_pxtcore_mkAction(1, inline__P187240); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___160603); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___150470; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___187219); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___177086; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1177; s.pc = 15; return s.tmp_1; case 15: @@ -27874,23 +27917,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P148489.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P175105.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} -function game_popScene__P148489_mk(s) { +function game_popScene__P175105_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P148489, depth: s.depth + 1, + parent: s, fn: game_popScene__P175105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___160603: undefined, + oldScene___187219: undefined, } } -function inline__P160624(s) { +function inline__P187240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27915,12 +27958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P160624.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P187240.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function inline__P160624_mk(s) { +function inline__P187240_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P160624, depth: s.depth + 1, + parent: s, fn: inline__P187240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27930,7 +27973,7 @@ function inline__P160624_mk(s) { -function particles_enableAll__P148662(s) { +function particles_enableAll__P175278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27940,21 +27983,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___160628 = undefined; - s.tmp_0 = particles_particleSources__P150831_mk(s); + s.sources___187244 = undefined; + s.tmp_0 = particles_particleSources__P177447_mk(s); s.callLocIdx = 1442; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___160628 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___160628); + s.sources___187244 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___187244); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); - s.tmp_0.arg0 = s.sources___160628; - s.tmp_0.arg1 = inline__P160634; + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); + s.tmp_0.arg0 = s.sources___187244; + s.tmp_0.arg1 = inline__P187250; s.callLocIdx = 1444; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P150827_mk(s); + s.tmp_0 = particles_pruneParticles__P177443_mk(s); s.callLocIdx = 1445; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -27964,22 +28007,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P148662.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P175278.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} -function particles_enableAll__P148662_mk(s) { +function particles_enableAll__P175278_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P148662, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P175278, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___160628: undefined, + sources___187244: undefined, } } -function inline__P160634(s) { +function inline__P187250(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27993,7 +28036,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P148643_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P175259_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1443; s.pc = 1; return s.tmp_0; @@ -28003,12 +28046,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P160634.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P187250.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function inline__P160634_mk(s) { +function inline__P187250_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P160634, depth: s.depth + 1, + parent: s, fn: inline__P187250, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28018,7 +28061,7 @@ function inline__P160634_mk(s) { -function control_popEventContext__P146336(s) { +function control_popEventContext__P172952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28028,9 +28071,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___160641 = undefined; - s.context___160649 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___150126); + s.ctx___187257 = undefined; + s.context___187265 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___176742); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28039,9 +28082,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___150126); - s.ctx___160641 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___160641); + r0 = pxsim_Array_.pop(globals.eventContexts___176742); + s.ctx___187257 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___187257); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28050,53 +28093,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P146328_mk(s); - s.tmp_2.arg0 = s.ctx___160641; + s.tmp_2 = control_EventContext_unregister__P172944_mk(s); + s.tmp_2.arg0 = s.ctx___187257; s.callLocIdx = 69; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___150126; - r0 = pxsim_Array__length(globals.eventContexts___150126); + s.tmp_0 = r0 = globals.eventContexts___176742; + r0 = pxsim_Array__length(globals.eventContexts___176742); 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___160649 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___160649); + s.context___187265 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___187265); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P146327_mk(s); - s.tmp_0.arg0 = s.context___160649; + s.tmp_0 = control_EventContext_register__P172943_mk(s); + s.tmp_0.arg0 = s.context___187265; s.callLocIdx = 70; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___150126 = (undefined); + globals.eventContexts___176742 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P146336.info = {"start":7568,"length":413,"line":232,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P172952.info = {"start":7568,"length":413,"line":232,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -function control_popEventContext__P146336_mk(s) { +function control_popEventContext__P172952_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P146336, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P172952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___160641: undefined, - context___160649: undefined, + ctx___187257: undefined, + context___187265: undefined, } } -function control_EventContext_register__P146327(s) { +function control_EventContext_register__P172943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28106,38 +28149,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___160662 = undefined; - s.unnamed1036___U1 = undefined; - s.unnamed1037___U2 = undefined; + s.h___187278 = undefined; + s.unnamed1144___U1 = undefined; + s.unnamed1145___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C146321_VT)) failedCast(r0); - s.h___160662 = (undefined); + if (!checkSubtype(r0, control_EventContext__C172937_VT)) failedCast(r0); + s.h___187278 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed1036___U1 = (r0); - s.unnamed1037___U2 = (0); + s.unnamed1144___U1 = (r0); + s.unnamed1145___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1037___U2; - r0 = pxsim_Array__length(s.unnamed1036___U1); + s.tmp_0 = r0 = s.unnamed1145___U2; + r0 = pxsim_Array__length(s.unnamed1144___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1036___U1, s.unnamed1037___U2); - s.h___160662 = (r0); - s.tmp_2 = control_EventHandler_register__P150119_mk(s); - s.tmp_2.arg0 = s.h___160662; + r0 = pxsim_Array__getAt(s.unnamed1144___U1, s.unnamed1145___U2); + s.h___187278 = (r0); + s.tmp_2 = control_EventHandler_register__P176735_mk(s); + s.tmp_2.arg0 = s.h___187278; s.callLocIdx = 60; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed1037___U2 + 1); - s.unnamed1037___U2 = (r0); + r0 = (s.unnamed1145___U2 + 1); + s.unnamed1145___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1036___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P150124_mk(s); + s.unnamed1144___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P176740_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 61; s.pc = 4; return s.tmp_0; case 4: @@ -28146,19 +28189,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P146327.info = {"start":4386,"length":138,"line":131,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P172943.info = {"start":4386,"length":138,"line":131,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventContext_register__P146327_mk(s) { +function control_EventContext_register__P172943_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P146327, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P172943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___160662: undefined, - unnamed1036___U1: undefined, - unnamed1037___U2: undefined, + h___187278: undefined, + unnamed1144___U1: undefined, + unnamed1145___U2: undefined, arg0: undefined, } } @@ -28166,7 +28209,7 @@ function control_EventContext_register__P146327_mk(s) { -function game_pushScene__P148488(s) { +function game_pushScene__P175104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28176,43 +28219,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___160560 = undefined; - s.tmp_0 = game_currentScene__P148484_mk(s); + s.oldScene___187176 = undefined; + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1166; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___160560 = (r0); - s.tmp_0 = particles_clearAll__P148660_mk(s); + s.oldScene___187176 = (r0); + s.tmp_0 = particles_clearAll__P175276_mk(s); s.callLocIdx = 1167; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P148661_mk(s); + s.tmp_0 = particles_disableAll__P175277_mk(s); s.callLocIdx = 1168; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___150468); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___177084); 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___150468 = (r0); + globals._sceneStack___177084 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___150468, globals._scene___150467); - s.tmp_0 = game_init__P150475_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___177084, globals._scene___177083); + s.tmp_0 = game_init__P177091_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1169; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___150469); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___177085); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P160577); + r0 = pxsim_pxtcore_mkAction(1, inline__P187193); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___160560); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___150469; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___187176); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___177085; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1171; s.pc = 9; return s.tmp_1; case 9: @@ -28223,23 +28266,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P148488.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P175104.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} -function game_pushScene__P148488_mk(s) { +function game_pushScene__P175104_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P148488, depth: s.depth + 1, + parent: s, fn: game_pushScene__P175104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___160560: undefined, + oldScene___187176: undefined, } } -function inline__P160577(s) { +function inline__P187193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28264,12 +28307,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P160577.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P187193.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function inline__P160577_mk(s) { +function inline__P187193_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P160577, depth: s.depth + 1, + parent: s, fn: inline__P187193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28279,7 +28322,7 @@ function inline__P160577_mk(s) { -function particles_disableAll__P148661(s) { +function particles_disableAll__P175277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28289,21 +28332,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___160581 = undefined; - s.tmp_0 = particles_particleSources__P150831_mk(s); + s.sources___187197 = undefined; + s.tmp_0 = particles_particleSources__P177447_mk(s); s.callLocIdx = 1438; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___160581 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___160581); + s.sources___187197 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___187197); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); - s.tmp_0.arg0 = s.sources___160581; - s.tmp_0.arg1 = inline__P160587; + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); + s.tmp_0.arg0 = s.sources___187197; + s.tmp_0.arg1 = inline__P187203; s.callLocIdx = 1440; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P150827_mk(s); + s.tmp_0 = particles_pruneParticles__P177443_mk(s); s.callLocIdx = 1441; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -28313,22 +28356,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P148661.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P175277.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} -function particles_disableAll__P148661_mk(s) { +function particles_disableAll__P175277_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P148661, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P175277, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___160581: undefined, + sources___187197: undefined, } } -function inline__P160587(s) { +function inline__P187203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28342,7 +28385,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P148643_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P175259_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1439; s.pc = 1; return s.tmp_0; @@ -28352,12 +28395,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P160587.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P187203.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function inline__P160587_mk(s) { +function inline__P187203_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P160587, depth: s.depth + 1, + parent: s, fn: inline__P187203, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28367,7 +28410,7 @@ function inline__P160587_mk(s) { -function particles_clearAll__P148660(s) { +function particles_clearAll__P175276(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28377,21 +28420,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___160592 = undefined; - s.tmp_0 = particles_particleSources__P150831_mk(s); + s.sources___187208 = undefined; + s.tmp_0 = particles_particleSources__P177447_mk(s); s.callLocIdx = 1434; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___160592 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___160592); + s.sources___187208 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___187208); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); - s.tmp_0.arg0 = s.sources___160592; - s.tmp_0.arg1 = inline__P160598; + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); + s.tmp_0.arg0 = s.sources___187208; + s.tmp_0.arg1 = inline__P187214; s.callLocIdx = 1436; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P150827_mk(s); + s.tmp_0 = particles_pruneParticles__P177443_mk(s); s.callLocIdx = 1437; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -28401,22 +28444,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P148660.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P175276.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} -function particles_clearAll__P148660_mk(s) { +function particles_clearAll__P175276_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P148660, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P175276, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___160592: undefined, + sources___187208: undefined, } } -function inline__P160598(s) { +function inline__P187214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28430,7 +28473,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P148645_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P175261_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1435; s.pc = 1; return s.tmp_0; case 1: @@ -28439,12 +28482,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P160598.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P187214.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function inline__P160598_mk(s) { +function inline__P187214_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P160598, depth: s.depth + 1, + parent: s, fn: inline__P187214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28454,7 +28497,7 @@ function inline__P160598_mk(s) { -function game_waitAnyButton__P148486(s) { +function game_waitAnyButton__P175102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28464,17 +28507,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___150471); + r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___177087); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__waitAnyButton___150471; + s.tmp_0.argL = globals.__waitAnyButton___177087; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1160; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); s.tmp_0.arg0 = 3000; s.callLocIdx = 1161; s.pc = 4; return s.tmp_0; case 4: @@ -28484,12 +28527,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_waitAnyButton__P148486.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} +game_waitAnyButton__P175102.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} -function game_waitAnyButton__P148486_mk(s) { +function game_waitAnyButton__P175102_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_waitAnyButton__P148486, depth: s.depth + 1, + parent: s, fn: game_waitAnyButton__P175102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -28498,7 +28541,7 @@ function game_waitAnyButton__P148486_mk(s) { -function game_GameOverDialog_update__P148471(s) { +function game_GameOverDialog_update__P175087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28513,15 +28556,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C148468_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P150442_mk(s); + if (!checkSubtype(r0, game_GameOverDialog__C175084_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P177058_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1142; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = game_GameOverDialog__C148468_v2_1_mk(s); + s.tmp_0 = game_GameOverDialog__C175084_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C148468_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C175084_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 4; return s.tmp_0; case 4: @@ -28530,7 +28573,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_BaseDialog_drawCursorRow__P148445_mk(s); + s.tmp_1 = game_BaseDialog_drawCursorRow__P175061_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1143; s.pc = 5; return s.tmp_1; case 5: @@ -28541,12 +28584,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_update__P148471.info = {"start":11515,"length":173,"line":352,"column":8,"endLine":359,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_GameOverDialog_update__P175087.info = {"start":11515,"length":173,"line":352,"column":8,"endLine":359,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_GameOverDialog_update__P148471_mk(s) { +function game_GameOverDialog_update__P175087_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_update__P148471, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_update__P175087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28557,7 +28600,7 @@ function game_GameOverDialog_update__P148471_mk(s) { -function game_BaseDialog_clearInterior__P150442(s) { +function game_BaseDialog_clearInterior__P177058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28567,21 +28610,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___160198 = undefined; - s.s___160205 = undefined; + s.d___186814 = undefined; + s.s___186821 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P150441_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P177057_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 4; s.tmp_2.arg2 = 1; @@ -28600,9 +28643,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.d___160198 = (1); + s.d___186814 = (1); case 3: - s.tmp_1 = r0 = s.d___160198; + s.tmp_1 = r0 = s.d___186814; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -28611,9 +28654,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.s___160205 = (1); + s.s___186821 = (1); case 4: - s.tmp_1 = r0 = s.s___160205; + s.tmp_1 = r0 = s.s___186821; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -28622,20 +28665,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P150443_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P177059_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 4; - s.tmp_4.arg2 = s.d___160198; - s.tmp_4.arg3 = s.s___160205; + s.tmp_4.arg2 = s.d___186814; + s.tmp_4.arg3 = s.s___186821; s.callLocIdx = 1117; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; - r0 = (s.s___160205 + 1); - s.s___160205 = (r0); + r0 = (s.s___186821 + 1); + s.s___186821 = (r0); { step = 4; continue; } case 5: - r0 = (s.d___160198 + 1); - s.d___160198 = (r0); + r0 = (s.d___186814 + 1); + s.d___186814 = (r0); { step = 3; continue; } case 6: case 7: @@ -28643,20 +28686,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_clearInterior__P150442.info = {"start":3942,"length":342,"line":133,"column":8,"endLine":142,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} +game_BaseDialog_clearInterior__P177058.info = {"start":3942,"length":342,"line":133,"column":8,"endLine":142,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} -function game_BaseDialog_clearInterior__P150442_mk(s) { +function game_BaseDialog_clearInterior__P177058_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_clearInterior__P150442, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_clearInterior__P177058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___160198: undefined, - s___160205: undefined, + d___186814: undefined, + s___186821: undefined, arg0: undefined, } } @@ -28664,7 +28707,7 @@ function game_BaseDialog_clearInterior__P150442_mk(s) { -function game_BaseDialog_drawPartial__P150443(s) { +function game_BaseDialog_drawPartial__P177059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28674,12 +28717,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___160223 = undefined; - s.y0___160231 = undefined; - s.xf___160239 = undefined; - s.yf___160246 = undefined; - s.e___160253 = undefined; - s.t___160259 = undefined; + s.x0___186839 = undefined; + s.y0___186847 = undefined; + s.xf___186855 = undefined; + s.yf___186862 = undefined; + s.e___186869 = undefined; + s.t___186875 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28688,7 +28731,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = s.arg0.fields["innerLeft"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -28696,7 +28739,7 @@ switch (step) { r0 = (s.arg2 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.x0___160223 = (r0); + s.x0___186839 = (r0); r0 = s.arg0.fields["innerTop"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -28704,68 +28747,68 @@ switch (step) { r0 = (s.arg3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y0___160231 = (r0); + s.y0___186847 = (r0); r0 = (s.arg1 % 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.xf___160239 = (r0); + s.xf___186855 = (r0); r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.yf___160246 = (r0); - s.e___160253 = (0); + s.yf___186862 = (r0); + s.e___186869 = (0); case 1: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.e___160253 < s.tmp_1); + r0 = (s.e___186869 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.t___160259 = (0); + s.t___186875 = (0); case 2: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.t___160259 < s.tmp_1); + r0 = (s.t___186875 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["image"]; s.tmp_2 = r0; - r0 = (s.x0___160223 + s.e___160253); + r0 = (s.x0___186839 + s.e___186869); s.tmp_3 = r0; - r0 = (s.y0___160231 + s.t___160259); + r0 = (s.y0___186847 + s.t___186875); s.tmp_4 = r0; r0 = s.arg0.fields["frame"]; s.tmp_6 = r0; - r0 = (s.xf___160239 + s.e___160253); + r0 = (s.xf___186855 + s.e___186869); s.tmp_7 = r0; - r0 = (s.yf___160246 + s.t___160259); + r0 = (s.yf___186862 + s.t___186875); s.tmp_8 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_6, s.tmp_7, s.tmp_8); s.tmp_5 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_2, s.tmp_3, s.tmp_4, s.tmp_5); - r0 = (s.t___160259 + 1); - s.t___160259 = (r0); + r0 = (s.t___186875 + 1); + s.t___186875 = (r0); { step = 2; continue; } case 3: - r0 = (s.e___160253 + 1); - s.e___160253 = (r0); + r0 = (s.e___186869 + 1); + s.e___186869 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawPartial__P150443.info = {"start":4294,"length":604,"line":144,"column":8,"endLine":159,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} +game_BaseDialog_drawPartial__P177059.info = {"start":4294,"length":604,"line":144,"column":8,"endLine":159,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} -function game_BaseDialog_drawPartial__P150443_mk(s) { +function game_BaseDialog_drawPartial__P177059_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawPartial__P150443, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawPartial__P177059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28776,12 +28819,12 @@ function game_BaseDialog_drawPartial__P150443_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - x0___160223: undefined, - y0___160231: undefined, - xf___160239: undefined, - yf___160246: undefined, - e___160253: undefined, - t___160259: undefined, + x0___186839: undefined, + y0___186847: undefined, + xf___186855: undefined, + yf___186862: undefined, + e___186869: undefined, + t___186875: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28792,7 +28835,7 @@ function game_BaseDialog_drawPartial__P150443_mk(s) { -function game_BaseDialog_fastFill__P150441(s) { +function game_BaseDialog_fastFill__P177057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28802,7 +28845,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.color___160295 = undefined; + s.color___186911 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28813,7 +28856,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = s.arg0.fields["frame"]; s.tmp_0 = r0; r0 = (s.arg1 % 3); @@ -28821,8 +28864,8 @@ switch (step) { r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_2 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_2); - s.color___160295 = (r0); - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); + s.color___186911 = (r0); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["innerLeft"]; @@ -28835,7 +28878,7 @@ switch (step) { s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg4; s.tmp_0.arg4 = s.arg5; - s.tmp_0.arg5 = s.color___160295; + s.tmp_0.arg5 = s.color___186911; s.callLocIdx = 1115; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -28843,17 +28886,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_fastFill__P150441.info = {"start":3683,"length":249,"line":128,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} +game_BaseDialog_fastFill__P177057.info = {"start":3683,"length":249,"line":128,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} -function game_BaseDialog_fastFill__P150441_mk(s) { +function game_BaseDialog_fastFill__P177057_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_fastFill__P150441, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_fastFill__P177057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - color___160295: undefined, + color___186911: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28866,7 +28909,7 @@ function game_BaseDialog_fastFill__P150441_mk(s) { -function game_GameOverDialog_drawTextCore__P148472(s) { +function game_GameOverDialog_drawTextCore__P175088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28876,13 +28919,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scoreColor___160118 = undefined; + s.scoreColor___186734 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C148468_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C175084_VT)) failedCast(r0); r0 = s.arg0.fields["win"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -28894,7 +28937,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } @@ -28905,13 +28948,13 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = helpers_imagePrintCenter__P147706_mk(s); + s.tmp_4 = helpers_imagePrintCenter__P174322_mk(s); r0 = s.arg0.fields["image"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.tmp_1; s.tmp_4.arg2 = 8; s.tmp_4.arg3 = s.tmp_3; - s.tmp_4.arg4 = globals.font8___147692; + s.tmp_4.arg4 = globals.font8___174308; s.callLocIdx = 1144; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; @@ -28921,7 +28964,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } @@ -28932,8 +28975,8 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.scoreColor___160118 = (s.tmp_3); - s.tmp_0 = helpers_imagePrintCenter__P147706_mk(s); + s.scoreColor___186734 = (s.tmp_3); + s.tmp_0 = helpers_imagePrintCenter__P174322_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["score"]; @@ -28950,8 +28993,8 @@ switch (step) { r0 = pxsim_String__concat("Score:", s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 23; - s.tmp_0.arg3 = s.scoreColor___160118; - s.tmp_0.arg4 = globals.font8___147692; + s.tmp_0.arg3 = s.scoreColor___186734; + s.tmp_0.arg4 = globals.font8___174308; s.callLocIdx = 1145; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; @@ -28959,19 +29002,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_imagePrintCenter__P147706_mk(s); + s.tmp_1 = helpers_imagePrintCenter__P174322_mk(s); r0 = s.arg0.fields["image"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = "New High Score!"; s.tmp_1.arg2 = 34; - s.tmp_1.arg3 = s.scoreColor___160118; - s.tmp_1.arg4 = globals.font5___147697; + s.tmp_1.arg3 = s.scoreColor___186734; + s.tmp_1.arg4 = globals.font5___174313; s.callLocIdx = 1146; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = helpers_imagePrintCenter__P147706_mk(s); + s.tmp_0 = helpers_imagePrintCenter__P174322_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["highScore"]; @@ -28988,8 +29031,8 @@ switch (step) { r0 = pxsim_String__concat("HI", s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 34; - s.tmp_0.arg3 = s.scoreColor___160118; - s.tmp_0.arg4 = globals.font8___147692; + s.tmp_0.arg3 = s.scoreColor___186734; + s.tmp_0.arg4 = globals.font8___174308; s.callLocIdx = 1147; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; @@ -29000,19 +29043,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_drawTextCore__P148472.info = {"start":11698,"length":1200,"line":361,"column":8,"endLine":398,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_GameOverDialog_drawTextCore__P175088.info = {"start":11698,"length":1200,"line":361,"column":8,"endLine":398,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_GameOverDialog_drawTextCore__P148472_mk(s) { +function game_GameOverDialog_drawTextCore__P175088_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_drawTextCore__P148472, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_drawTextCore__P175088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - scoreColor___160118: undefined, + scoreColor___186734: undefined, arg0: undefined, } } @@ -29020,7 +29063,7 @@ function game_GameOverDialog_drawTextCore__P148472_mk(s) { -function helpers_imagePrintCenter__P147706(s) { +function helpers_imagePrintCenter__P174322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29030,8 +29073,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___160166 = undefined; - s.x___160172 = undefined; + s.w___186782 = undefined; + s.x___186788 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29046,7 +29089,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P147694_mk(s); + s.tmp_2 = image_getFontForText__P174310_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 154; s.pc = 3; return s.tmp_2; case 3: @@ -29070,17 +29113,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___160166 = (r0); + s.w___186782 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___160166); + r0 = (s.tmp_1 - s.w___186782); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___160172 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); + s.x___186788 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___160172; + s.tmp_0.arg2 = s.x___186788; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -29092,18 +29135,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P147706.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__P174322.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__P147706_mk(s) { +function helpers_imagePrintCenter__P174322_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P147706, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P174322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___160166: undefined, - x___160172: undefined, + w___186782: undefined, + x___186788: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29115,7 +29158,7 @@ function helpers_imagePrintCenter__P147706_mk(s) { -function game_BaseDialog_drawCursorRow__P148445(s) { +function game_BaseDialog_drawCursorRow__P175061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29125,21 +29168,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.offset___160013 = undefined; + s.offset___186629 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); - s.offset___160013 = (0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); + s.offset___186629 = (0); r0 = s.arg0.fields["cursorCount"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 20); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offset___160013 = (1); + s.offset___186629 = (1); case 1: case 2: s.tmp_0 = r0 = s.arg0; @@ -29156,7 +29199,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_6 = r0; - s.tmp_8 = game_BaseDialog_textAreaWidth__P150446_mk(s); + s.tmp_8 = game_BaseDialog_textAreaWidth__P177062_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 1096; s.pc = 3; return s.tmp_8; case 3: @@ -29168,7 +29211,7 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_5 + s.tmp_9); s.tmp_4 = r0; - r0 = (s.tmp_4 + s.offset___160013); + r0 = (s.tmp_4 + s.offset___186629); s.tmp_3 = r0; r0 = s.arg0.fields["cursor"]; s.tmp_11 = r0; @@ -29182,7 +29225,7 @@ switch (step) { s.tmp_17 = r0; r0 = (s.tmp_16 + s.tmp_17); s.tmp_15 = r0; - s.tmp_19 = game_BaseDialog_textAreaHeight__P150447_mk(s); + s.tmp_19 = game_BaseDialog_textAreaHeight__P177063_mk(s); s.tmp_19.arg0 = s.arg0; s.callLocIdx = 1097; s.pc = 4; return s.tmp_19; case 4: @@ -29205,12 +29248,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawCursorRow__P148445.info = {"start":1863,"length":479,"line":75,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} +game_BaseDialog_drawCursorRow__P175061.info = {"start":1863,"length":479,"line":75,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} -function game_BaseDialog_drawCursorRow__P148445_mk(s) { +function game_BaseDialog_drawCursorRow__P175061_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawCursorRow__P148445, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawCursorRow__P175061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29235,7 +29278,7 @@ function game_BaseDialog_drawCursorRow__P148445_mk(s) { tmp_20: undefined, tmp_21: undefined, tmp_22: undefined, - offset___160013: undefined, + offset___186629: undefined, arg0: undefined, } } @@ -29243,7 +29286,7 @@ function game_BaseDialog_drawCursorRow__P148445_mk(s) { -function game_BaseDialog_textAreaHeight__P150447(s) { +function game_BaseDialog_textAreaHeight__P177063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29258,14 +29301,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerTop"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P146063_mk(s); + s.tmp_7 = Math_min__P172679_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; @@ -29283,12 +29326,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaHeight__P150447.info = {"start":5240,"length":143,"line":173,"column":8,"endLine":175,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} +game_BaseDialog_textAreaHeight__P177063.info = {"start":5240,"length":143,"line":173,"column":8,"endLine":175,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} -function game_BaseDialog_textAreaHeight__P150447_mk(s) { +function game_BaseDialog_textAreaHeight__P177063_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaHeight__P150447, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaHeight__P177063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29305,7 +29348,7 @@ function game_BaseDialog_textAreaHeight__P150447_mk(s) { -function game_BaseDialog_textAreaWidth__P150446(s) { +function game_BaseDialog_textAreaWidth__P177062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29320,14 +29363,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.width(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P146063_mk(s); + s.tmp_7 = Math_min__P172679_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; @@ -29345,12 +29388,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaWidth__P150446.info = {"start":5088,"length":142,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} +game_BaseDialog_textAreaWidth__P177062.info = {"start":5088,"length":142,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} -function game_BaseDialog_textAreaWidth__P150446_mk(s) { +function game_BaseDialog_textAreaWidth__P177062_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaWidth__P150446, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaWidth__P177062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29367,7 +29410,7 @@ function game_BaseDialog_textAreaWidth__P150446_mk(s) { -function game_BaseDialog_cursorRowHeight__P150444(s) { +function game_BaseDialog_cursorRowHeight__P177060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29382,7 +29425,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = s.arg0.fields["cursor"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.height(s.tmp_1); @@ -29391,12 +29434,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_cursorRowHeight__P150444.info = {"start":4908,"length":82,"line":161,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} +game_BaseDialog_cursorRowHeight__P177060.info = {"start":4908,"length":82,"line":161,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} -function game_BaseDialog_cursorRowHeight__P150444_mk(s) { +function game_BaseDialog_cursorRowHeight__P177060_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_cursorRowHeight__P150444, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_cursorRowHeight__P177060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29407,7 +29450,7 @@ function game_BaseDialog_cursorRowHeight__P150444_mk(s) { -function game_GameOverDialog_displayCursor__P148470(s) { +function game_GameOverDialog_displayCursor__P175086(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29422,18 +29465,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C148468_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C175084_VT)) failedCast(r0); r0 = (s.arg0).fields["cursorOn"] = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverDialog_displayCursor__P148470.info = {"start":11444,"length":61,"line":348,"column":8,"endLine":350,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} +game_GameOverDialog_displayCursor__P175086.info = {"start":11444,"length":61,"line":348,"column":8,"endLine":350,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} -function game_GameOverDialog_displayCursor__P148470_mk(s) { +function game_GameOverDialog_displayCursor__P175086_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_displayCursor__P148470, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_displayCursor__P175086, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29442,7 +29485,7 @@ function game_GameOverDialog_displayCursor__P148470_mk(s) { -function game_GameOverDialog_constructor__P148469(s) { +function game_GameOverDialog_constructor__P175085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29460,16 +29503,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C148468_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C175084_VT)) failedCast(r0); r0 = (s.arg0).fields["win"] = (s.arg1); r0 = (s.arg0).fields["score"] = (s.arg2); r0 = (s.arg0).fields["highScore"] = (s.arg3); - s.tmp_0 = game_BaseDialog_constructor__P148441_mk(s); + s.tmp_0 = game_BaseDialog_constructor__P175057_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 46; - s.tmp_1 = game_defaultSplashFrame__P150454_mk(s); + s.tmp_1 = game_defaultSplashFrame__P177070_mk(s); s.callLocIdx = 1140; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -29492,12 +29535,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_constructor__P148469.info = {"start":11128,"length":306,"line":338,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} +game_GameOverDialog_constructor__P175085.info = {"start":11128,"length":306,"line":338,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} -function game_GameOverDialog_constructor__P148469_mk(s) { +function game_GameOverDialog_constructor__P175085_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_constructor__P148469, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_constructor__P175085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29513,7 +29556,7 @@ function game_GameOverDialog_constructor__P148469_mk(s) { -function game_defaultSplashFrame__P150454(s) { +function game_defaultSplashFrame__P177070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29523,14 +29566,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex160338); + r0 = pxsim.image.ofBuffer(_hex186954); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex160340); + r0 = pxsim.image.ofBuffer(_hex186956); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -29538,24 +29581,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultSplashFrame__P150454.info = {"start":17020,"length":220,"line":531,"column":4,"endLine":544,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} +game_defaultSplashFrame__P177070.info = {"start":17020,"length":220,"line":531,"column":4,"endLine":544,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} -function game_defaultSplashFrame__P150454_mk(s) { +function game_defaultSplashFrame__P177070_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultSplashFrame__P150454, depth: s.depth + 1, + parent: s, fn: game_defaultSplashFrame__P177070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex160338 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") -const _hex160340 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") +const _hex186954 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") +const _hex186956 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") -function game_BaseDialog_constructor__P148441(s) { +function game_BaseDialog_constructor__P175057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29575,7 +29618,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.image.create(s.arg1, s.arg2); s.tmp_1 = r0; @@ -29586,7 +29629,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.dialogFrame___150435; + r0 = globals.dialogFrame___177051; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -29595,12 +29638,12 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - s.tmp_3 = game_defaultFrame__P150453_mk(s); + s.tmp_3 = game_defaultFrame__P177069_mk(s); s.callLocIdx = 1090; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; - globals.dialogFrame___150435 = (r0); + globals.dialogFrame___177051 = (r0); r0 = s.tmp_2; case 4: // jmp value (already in r0) @@ -29612,7 +29655,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = globals.font8___147692; + r0 = globals.font8___174308; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -29623,7 +29666,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = globals.dialogCursor___150436; + r0 = globals.dialogCursor___177052; case 8: // jmp value (already in r0) s.tmp_1 = r0; @@ -29632,26 +29675,26 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 9: - s.tmp_3 = game_defaultCursorImage__P150455_mk(s); + s.tmp_3 = game_defaultCursorImage__P177071_mk(s); s.callLocIdx = 1091; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; s.tmp_2 = r0; - globals.dialogCursor___150436 = (r0); + globals.dialogCursor___177052 = (r0); r0 = s.tmp_2; case 10: // jmp value (already in r0) s.tmp_4 = r0; r0 = (s.arg0).fields["cursor"] = (s.tmp_4); - r0 = (globals.dialogTextColor___150437 == undefined); + r0 = (globals.dialogTextColor___177053 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - globals.dialogTextColor___150437 = (15); + globals.dialogTextColor___177053 = (15); r0 = 15; { step = 12; continue; } case 11: - r0 = globals.dialogTextColor___150437; + r0 = globals.dialogTextColor___177053; case 12: // jmp value (already in r0) s.tmp_1 = r0; @@ -29709,12 +29752,12 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["innerTop"] = (s.tmp_1); r0 = (s.arg0).fields["cursorCount"] = (0); - s.tmp_0 = game_BaseDialog_drawBorder__P150440_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P177056_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1092; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_clearInterior__P150442_mk(s); + s.tmp_0 = game_BaseDialog_clearInterior__P177058_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1093; s.pc = 16; return s.tmp_0; case 16: @@ -29723,12 +29766,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_constructor__P148441.info = {"start":665,"length":895,"line":37,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_constructor__P175057.info = {"start":665,"length":895,"line":37,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -function game_BaseDialog_constructor__P148441_mk(s) { +function game_BaseDialog_constructor__P175057_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_constructor__P148441, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_constructor__P175057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29749,7 +29792,7 @@ function game_BaseDialog_constructor__P148441_mk(s) { -function game_defaultCursorImage__P150455(s) { +function game_defaultCursorImage__P177071(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29759,14 +29802,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex160524); + r0 = pxsim.image.ofBuffer(_hex187140); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex160526); + r0 = pxsim.image.ofBuffer(_hex187142); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -29774,24 +29817,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultCursorImage__P150455.info = {"start":17246,"length":690,"line":546,"column":4,"endLine":572,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} +game_defaultCursorImage__P177071.info = {"start":17246,"length":690,"line":546,"column":4,"endLine":572,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} -function game_defaultCursorImage__P150455_mk(s) { +function game_defaultCursorImage__P177071_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultCursorImage__P150455, depth: s.depth + 1, + parent: s, fn: game_defaultCursorImage__P177071, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex160524 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") -const _hex160526 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") +const _hex187140 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") +const _hex187142 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") -function game_defaultFrame__P150453(s) { +function game_defaultFrame__P177069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29801,14 +29844,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___147749); + r0 = pxsim_ImageMethods.isMono(globals.screen___174365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex160530); + r0 = pxsim.image.ofBuffer(_hex187146); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex160532); + r0 = pxsim.image.ofBuffer(_hex187148); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -29816,24 +29859,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultFrame__P150453.info = {"start":16458,"length":556,"line":507,"column":4,"endLine":529,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} +game_defaultFrame__P177069.info = {"start":16458,"length":556,"line":507,"column":4,"endLine":529,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} -function game_defaultFrame__P150453_mk(s) { +function game_defaultFrame__P177069_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultFrame__P150453, depth: s.depth + 1, + parent: s, fn: game_defaultFrame__P177069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex160530 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") -const _hex160532 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") +const _hex187146 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") +const _hex187148 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") -function game_BaseDialog_drawBorder__P150440(s) { +function game_BaseDialog_drawBorder__P177056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29843,22 +29886,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.y___160455 = undefined; - s.c___160471 = undefined; - s.r___160505 = undefined; + s.y___187071 = undefined; + s.c___187087 = undefined; + s.r___187121 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P150441_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P177057_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; @@ -29868,7 +29911,7 @@ switch (step) { s.callLocIdx = 1099; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P150441_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P177057_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; @@ -29881,7 +29924,7 @@ switch (step) { s.callLocIdx = 1100; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P150441_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P177057_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; r0 = s.arg0.fields["columns"]; @@ -29894,7 +29937,7 @@ switch (step) { s.callLocIdx = 1101; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P150441_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P177057_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 0; @@ -29907,7 +29950,7 @@ switch (step) { s.callLocIdx = 1102; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P150441_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P177057_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; @@ -29926,22 +29969,22 @@ switch (step) { r0 = s.arg0.fields["rows"]; s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.y___160455 = (r0); - s.tmp_0 = game_BaseDialog_fastFill__P150441_mk(s); + s.y___187071 = (r0); + s.tmp_0 = game_BaseDialog_fastFill__P177057_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.y___160455; + s.tmp_0.arg3 = s.y___187071; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; s.callLocIdx = 1104; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P150441_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P177057_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = s.y___160455; + s.tmp_0.arg3 = s.y___187071; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 2); @@ -29950,14 +29993,14 @@ switch (step) { s.callLocIdx = 1105; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P150441_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P177057_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.y___160455; + s.tmp_0.arg3 = s.y___187071; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; s.callLocIdx = 1106; s.pc = 19; return s.tmp_0; @@ -29966,19 +30009,19 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.c___160471 = (0); + s.c___187087 = (0); case 3: r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; - r0 = (s.c___160471 < s.tmp_1); + r0 = (s.c___187087 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.c___160471 == 0); + r0 = (s.c___187087 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = game_BaseDialog_drawPartial__P150443_mk(s); + s.tmp_3 = game_BaseDialog_drawPartial__P177059_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; @@ -29986,7 +30029,7 @@ switch (step) { s.callLocIdx = 1107; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P150443_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P177059_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; @@ -29999,7 +30042,7 @@ switch (step) { r0 = s.retval; { step = 7; continue; } case 4: - s.tmp_1 = r0 = s.c___160471; + s.tmp_1 = r0 = s.c___187087; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -30008,18 +30051,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P150443_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P177059_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; - s.tmp_4.arg2 = s.c___160471; + s.tmp_4.arg2 = s.c___187087; s.tmp_4.arg3 = 0; s.callLocIdx = 1109; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P150443_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P177059_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; - s.tmp_0.arg2 = s.c___160471; + s.tmp_0.arg2 = s.c___187087; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); @@ -30029,18 +30072,18 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = game_BaseDialog_drawPartial__P150443_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P177059_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.tmp_0.arg2 = s.c___160471; + s.tmp_0.arg2 = s.c___187087; s.tmp_0.arg3 = 0; s.callLocIdx = 1111; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P150443_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P177059_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; - s.tmp_0.arg2 = s.c___160471; + s.tmp_0.arg2 = s.c___187087; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); @@ -30050,13 +30093,13 @@ switch (step) { r0 = s.retval; case 6: case 7: - r0 = (s.c___160471 + 1); - s.c___160471 = (r0); + r0 = (s.c___187087 + 1); + s.c___187087 = (r0); { step = 3; continue; } case 8: - s.r___160505 = (1); + s.r___187121 = (1); case 9: - s.tmp_1 = r0 = s.r___160505; + s.tmp_1 = r0 = s.r___187121; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -30065,27 +30108,27 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P150443_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P177059_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 3; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.r___160505; + s.tmp_4.arg3 = s.r___187121; s.callLocIdx = 1113; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P150443_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P177059_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.r___160505; + s.tmp_0.arg3 = s.r___187121; s.callLocIdx = 1114; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - r0 = (s.r___160505 + 1); - s.r___160505 = (r0); + r0 = (s.r___187121 + 1); + s.r___187121 = (r0); { step = 9; continue; } case 10: case 11: @@ -30093,21 +30136,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawBorder__P150440.info = {"start":2352,"length":1321,"line":90,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} +game_BaseDialog_drawBorder__P177056.info = {"start":2352,"length":1321,"line":90,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} -function game_BaseDialog_drawBorder__P150440_mk(s) { +function game_BaseDialog_drawBorder__P177056_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawBorder__P150440, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawBorder__P177056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - y___160455: undefined, - c___160471: undefined, - r___160505: undefined, + y___187071: undefined, + c___187087: undefined, + r___187121: undefined, arg0: undefined, } } @@ -30115,7 +30158,7 @@ function game_BaseDialog_drawBorder__P150440_mk(s) { -function scene_setBackgroundImage__P148411(s) { +function scene_setBackgroundImage__P175027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30125,18 +30168,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___160534 = undefined; + s.scene___187150 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1080; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___160534 = (r0); - s.tmp_0 = scene_Background_image__P148230_mk(s); - r0 = s.scene___160534.fields["background"]; + s.scene___187150 = (r0); + s.tmp_0 = scene_Background_image__P174846_mk(s); + r0 = s.scene___187150.fields["background"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1081; s.pc = 2; return s.tmp_0; @@ -30146,15 +30189,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_setBackgroundImage__P148411.info = {"start":1938,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} +scene_setBackgroundImage__P175027.info = {"start":1938,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -function scene_setBackgroundImage__P148411_mk(s) { +function scene_setBackgroundImage__P175027_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundImage__P148411, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundImage__P175027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___160534: undefined, + scene___187150: undefined, arg0: undefined, } } @@ -30162,7 +30205,7 @@ function scene_setBackgroundImage__P148411_mk(s) { -function scene_Background_image__P148230(s) { +function scene_Background_image__P174846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30178,18 +30221,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C148223_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C174839_VT)) failedCast(r0); r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_image__P148230.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} +scene_Background_image__P174846.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} -function scene_Background_image__P148230_mk(s) { +function scene_Background_image__P174846_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P148230, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P174846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30199,7 +30242,7 @@ function scene_Background_image__P148230_mk(s) { -function scene_Background_image__P148229(s) { +function scene_Background_image__P174845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30214,7 +30257,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C148223_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C174839_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -30224,9 +30267,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_3 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_6 = r0; r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; @@ -30237,13 +30280,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Background_image__P148229.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} -scene_Background_image__P148229.isGetter = true; +scene_Background_image__P174845.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} +scene_Background_image__P174845.isGetter = true; -function scene_Background_image__P148229_mk(s) { +function scene_Background_image__P174845_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P148229, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P174845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30259,7 +30302,7 @@ function scene_Background_image__P148229_mk(s) { -function scene_Scene_destroy__P148397(s) { +function scene_Scene_destroy__P175013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30274,7 +30317,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C148371_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C174987_VT)) failedCast(r0); r0 = (s.arg0).fields["eventContext"] = (undefined); r0 = (s.arg0).fields["background"] = (undefined); r0 = (s.arg0).fields["tileMap"] = (undefined); @@ -30296,12 +30339,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_destroy__P148397.info = {"start":6997,"length":764,"line":198,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} +scene_Scene_destroy__P175013.info = {"start":6997,"length":764,"line":198,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} -function scene_Scene_destroy__P148397_mk(s) { +function scene_Scene_destroy__P175013_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_destroy__P148397, depth: s.depth + 1, + parent: s, fn: scene_Scene_destroy__P175013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30310,7 +30353,7 @@ function scene_Scene_destroy__P148397_mk(s) { -function info_highScore__P148163(s) { +function info_highScore__P174779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30320,7 +30363,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P147780_mk(s); + s.tmp_1 = settings_readNumber__P174396_mk(s); s.tmp_1.arg0 = "high-score"; s.callLocIdx = 837; s.pc = 3; return s.tmp_1; case 3: @@ -30339,12 +30382,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_highScore__P148163.info = {"start":7086,"length":98,"line":240,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} +info_highScore__P174779.info = {"start":7086,"length":98,"line":240,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} -function info_highScore__P148163_mk(s) { +function info_highScore__P174779_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_highScore__P148163, depth: s.depth + 1, + parent: s, fn: info_highScore__P174779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30355,7 +30398,7 @@ function info_highScore__P148163_mk(s) { -function settings_readNumber__P147780(s) { +function settings_readNumber__P174396(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30365,15 +30408,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___160899 = undefined; - s.nums___160906 = undefined; + s.buf___187515 = undefined; + s.nums___187522 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___160899 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___160899); + s.buf___187515 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___187515); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -30383,20 +30426,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P146113_mk(s); - s.tmp_2.arg0 = s.buf___160899; + s.tmp_2 = msgpack_unpackNumberArray__P172729_mk(s); + s.tmp_2.arg0 = s.buf___187515; s.tmp_2.arg1 = 0; s.callLocIdx = 186; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___160906 = (r0); - s.tmp_0 = r0 = s.nums___160906; + s.nums___187522 = (r0); + s.tmp_0 = r0 = s.nums___187522; 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___160906); + r0 = pxsim_Array__length(s.nums___187522); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -30404,7 +30447,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___160906, 0); + r0 = pxsim_Array__getAt(s.nums___187522, 0); { step = 7; continue; } case 4: case 5: @@ -30416,18 +30459,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P147780.info = {"start":2887,"length":313,"line":114,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} +settings_readNumber__P174396.info = {"start":2887,"length":313,"line":114,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} -function settings_readNumber__P147780_mk(s) { +function settings_readNumber__P174396_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P147780, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P174396, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___160899: undefined, - nums___160906: undefined, + buf___187515: undefined, + nums___187522: undefined, arg0: undefined, } } @@ -30435,7 +30478,7 @@ function settings_readNumber__P147780_mk(s) { -function settings_readBuffer__P147778(s) { +function settings_readBuffer__P174394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30453,12 +30496,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P147778.info = {"start":2516,"length":72,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} +settings_readBuffer__P174394.info = {"start":2516,"length":72,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} -function settings_readBuffer__P147778_mk(s) { +function settings_readBuffer__P174394_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P147778, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P174394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30467,7 +30510,7 @@ function settings_readBuffer__P147778_mk(s) { -function msgpack_unpackNumberArray__P146113(s) { +function msgpack_unpackNumberArray__P172729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30477,16 +30520,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___160919 = undefined; - s.fmt___160926 = undefined; - s.v___160935 = undefined; + s.res___187535 = undefined; + s.fmt___187542 = undefined; + s.v___187551 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___160919 = (r0); + s.res___187535 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -30498,14 +30541,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P150066_mk(s); + s.tmp_4 = msgpack_tagFormat__P176682_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 24; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___160926 = (r0); - r0 = (s.fmt___160926 === null); + s.fmt___187542 = (r0); + r0 = (s.fmt___187542 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -30513,21 +30556,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___160935 = (r0); - r0 = (-31 <= s.v___160935); + s.v___187551 = (r0); + r0 = (-31 <= s.v___187551); 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___160935 <= 127); + r0 = (s.v___187551 <= 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___160919, s.v___160935); + r0 = pxsim_Array__push(s.res___187535, s.v___187551); { step = 5; continue; } case 4: r0 = null; @@ -30535,13 +30578,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___160919; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___160926, s.arg1); + s.tmp_0 = r0 = s.res___187535; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___187542, 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__P146105_mk(s); - s.tmp_2.arg0 = s.fmt___160926; + s.tmp_2 = pins_sizeOf__P172721_mk(s); + s.tmp_2.arg0 = s.fmt___187542; s.callLocIdx = 25; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -30562,26 +30605,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___160919; + r0 = s.res___187535; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P146113.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__P172729.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__P146113_mk(s) { +function msgpack_unpackNumberArray__P172729_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P146113, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P172729, 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___160919: undefined, - fmt___160926: undefined, - v___160935: undefined, + res___187535: undefined, + fmt___187542: undefined, + v___187551: undefined, arg0: undefined, arg1: undefined, } } @@ -30590,7 +30633,7 @@ function msgpack_unpackNumberArray__P146113_mk(s) { -function msgpack_tagFormat__P150066(s) { +function msgpack_tagFormat__P176682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30650,12 +30693,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P150066.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__P176682.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__P150066_mk(s) { +function msgpack_tagFormat__P176682_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P150066, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P176682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30665,7 +30708,7 @@ function msgpack_tagFormat__P150066_mk(s) { -function pins_sizeOf__P146105(s) { +function pins_sizeOf__P172721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30679,7 +30722,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P146141_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P172757_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 21; s.pc = 1; return s.tmp_0; case 1: @@ -30687,12 +30730,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P146105.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__P172721.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__P146105_mk(s) { +function pins_sizeOf__P172721_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P146105, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P172721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30702,7 +30745,7 @@ function pins_sizeOf__P146105_mk(s) { -function Buffer_sizeOfNumberFormat__P146141(s) { +function Buffer_sizeOfNumberFormat__P172757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30781,12 +30824,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P146141.info = {"start":12548,"length":856,"line":427,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} +Buffer_sizeOfNumberFormat__P172757.info = {"start":12548,"length":856,"line":427,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} -function Buffer_sizeOfNumberFormat__P146141_mk(s) { +function Buffer_sizeOfNumberFormat__P172757_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P146141, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P172757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30796,7 +30839,7 @@ function Buffer_sizeOfNumberFormat__P146141_mk(s) { -function info_saveHighScore__P148160(s) { +function info_saveHighScore__P174776(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30806,20 +30849,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hs___160721 = undefined; - s.curr___160738 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.players___150349); + s.hs___187337 = undefined; + s.curr___187354 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.players___176965); if (!r0) { step = 5; continue; } r0 = pxsim_pxtrt.mklocRef(); - s.hs___160721 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hs___160721, 0); - r0 = pxsim_pxtcore_mkAction(1, inline__P160731); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___160721); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); - s.tmp_2 = helpers_arrayFilter__P146043_mk(s); - s.tmp_2.arg0 = globals.players___150349; - s.tmp_2.arg1 = inline__P160725; + s.hs___187337 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hs___187337, 0); + r0 = pxsim_pxtcore_mkAction(1, inline__P187347); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___187337); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); + s.tmp_2 = helpers_arrayFilter__P172659_mk(s); + s.tmp_2.arg0 = globals.players___176965; + s.tmp_2.arg1 = inline__P187341; s.callLocIdx = 831; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -30828,30 +30871,30 @@ switch (step) { s.callLocIdx = 834; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.tmp_0 = settings_readNumber__P147780_mk(s); + s.tmp_0 = settings_readNumber__P174396_mk(s); s.tmp_0.arg0 = "high-score"; s.callLocIdx = 835; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.curr___160738 = (r0); - r0 = (s.curr___160738 == null); + s.curr___187354 = (r0); + r0 = (s.curr___187354 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_pxtrt_ldlocRef(s.hs___160721); + r0 = pxsim_pxtrt_ldlocRef(s.hs___187337); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.curr___160738); + r0 = (s.tmp_1 > s.curr___187354); case 2: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_3 = settings_writeNumber__P147776_mk(s); + s.tmp_3 = settings_writeNumber__P174392_mk(s); s.tmp_3.arg0 = "high-score"; - r0 = pxsim_pxtrt_ldlocRef(s.hs___160721); + r0 = pxsim_pxtrt_ldlocRef(s.hs___187337); s.tmp_3.arg1 = r0; s.callLocIdx = 836; s.pc = 10; return s.tmp_3; case 10: @@ -30864,26 +30907,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_saveHighScore__P148160.info = {"start":6187,"length":383,"line":204,"column":4,"endLine":214,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} +info_saveHighScore__P174776.info = {"start":6187,"length":383,"line":204,"column":4,"endLine":214,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} -function info_saveHighScore__P148160_mk(s) { +function info_saveHighScore__P174776_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveHighScore__P148160, depth: s.depth + 1, + parent: s, fn: info_saveHighScore__P174776, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - hs___160721: undefined, - curr___160738: undefined, + hs___187337: undefined, + curr___187354: undefined, } } -function inline__P160725(s) { +function inline__P187341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30903,7 +30946,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = info_PlayerInfo_hasScore__P148202_mk(s); + s.tmp_1 = info_PlayerInfo_hasScore__P174818_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 830; s.pc = 3; return s.tmp_1; case 3: @@ -30915,12 +30958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P160725.info = {"start":6312,"length":22,"line":208,"column":24,"endLine":208,"endColumn":46,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P187341.info = {"start":6312,"length":22,"line":208,"column":24,"endLine":208,"endColumn":46,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P160725_mk(s) { +function inline__P187341_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P160725, depth: s.depth + 1, + parent: s, fn: inline__P187341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30932,7 +30975,7 @@ function inline__P160725_mk(s) { -function inline__P160731(s) { +function inline__P187347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30947,10 +30990,10 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = Math_max__P146062_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_2.arg0 = r0; - s.tmp_3 = info_PlayerInfo_score__P148199_mk(s); + s.tmp_3 = info_PlayerInfo_score__P174815_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 832; s.pc = 2; return s.tmp_3; case 2: @@ -30965,12 +31008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P160731.info = {"start":6361,"length":33,"line":209,"column":25,"endLine":209,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +inline__P187347.info = {"start":6361,"length":33,"line":209,"column":25,"endLine":209,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function inline__P160731_mk(s) { +function inline__P187347_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P160731, depth: s.depth + 1, + parent: s, fn: inline__P187347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30983,7 +31026,7 @@ function inline__P160731_mk(s) { -function settings_writeNumber__P147776(s) { +function settings_writeNumber__P174392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31001,9 +31044,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__P147774_mk(s); + s.tmp_1 = settings_writeBuffer__P174390_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P146114_mk(s); + s.tmp_2 = msgpack_packNumberArray__P172730_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 182; s.pc = 2; return s.tmp_2; case 2: @@ -31016,12 +31059,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P147776.info = {"start":2087,"length":122,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} +settings_writeNumber__P174392.info = {"start":2087,"length":122,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} -function settings_writeNumber__P147776_mk(s) { +function settings_writeNumber__P174392_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P147776, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P174392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31034,7 +31077,7 @@ function settings_writeNumber__P147776_mk(s) { -function settings_writeBuffer__P147774(s) { +function settings_writeBuffer__P174390(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31061,12 +31104,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P147774.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__P174390.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__P147774_mk(s) { +function settings_writeBuffer__P174390_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P147774, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P174390, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31077,7 +31120,7 @@ function settings_writeBuffer__P147774_mk(s) { -function msgpack_packNumberArray__P146114(s) { +function msgpack_packNumberArray__P172730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31087,100 +31130,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___160759 = undefined; - s.n___160761 = undefined; - s.unnamed1030___U2 = undefined; - s.unnamed1031___U3 = undefined; - s.buf___160771 = undefined; - s.n___160777 = undefined; - s.unnamed1032___U6 = undefined; - s.unnamed1033___U7 = undefined; + s.off___187375 = undefined; + s.n___187377 = undefined; + s.unnamed1138___U2 = undefined; + s.unnamed1139___U3 = undefined; + s.buf___187387 = undefined; + s.n___187393 = undefined; + s.unnamed1140___U6 = undefined; + s.unnamed1141___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___160759 = (0); - s.n___160761 = (undefined); - s.unnamed1030___U2 = (s.arg0); - s.unnamed1031___U3 = (0); + s.off___187375 = (0); + s.n___187377 = (undefined); + s.unnamed1138___U2 = (s.arg0); + s.unnamed1139___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1031___U3; - r0 = pxsim_Array__length(s.unnamed1030___U2); + s.tmp_0 = r0 = s.unnamed1139___U3; + r0 = pxsim_Array__length(s.unnamed1138___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1030___U2, s.unnamed1031___U3); - s.n___160761 = (r0); - s.tmp_2 = r0 = s.off___160759; - s.tmp_4 = msgpack_packNumberCore__P150067_mk(s); + r0 = pxsim_Array__getAt(s.unnamed1138___U2, s.unnamed1139___U3); + s.n___187377 = (r0); + s.tmp_2 = r0 = s.off___187375; + s.tmp_4 = msgpack_packNumberCore__P176683_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___160759; - s.tmp_4.arg2 = s.n___160761; + s.tmp_4.arg1 = s.off___187375; + s.tmp_4.arg2 = s.n___187377; s.callLocIdx = 26; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___160759 = (r0); - r0 = (s.unnamed1031___U3 + 1); - s.unnamed1031___U3 = (r0); + s.off___187375 = (r0); + r0 = (s.unnamed1139___U3 + 1); + s.unnamed1139___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1030___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___160759); - s.buf___160771 = (r0); - s.off___160759 = (0); - s.n___160777 = (undefined); - s.unnamed1032___U6 = (s.arg0); - s.unnamed1033___U7 = (0); + s.unnamed1138___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___187375); + s.buf___187387 = (r0); + s.off___187375 = (0); + s.n___187393 = (undefined); + s.unnamed1140___U6 = (s.arg0); + s.unnamed1141___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1033___U7; - r0 = pxsim_Array__length(s.unnamed1032___U6); + s.tmp_0 = r0 = s.unnamed1141___U7; + r0 = pxsim_Array__length(s.unnamed1140___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1032___U6, s.unnamed1033___U7); - s.n___160777 = (r0); - s.tmp_2 = r0 = s.off___160759; - s.tmp_4 = msgpack_packNumberCore__P150067_mk(s); - s.tmp_4.arg0 = s.buf___160771; - s.tmp_4.arg1 = s.off___160759; - s.tmp_4.arg2 = s.n___160777; + r0 = pxsim_Array__getAt(s.unnamed1140___U6, s.unnamed1141___U7); + s.n___187393 = (r0); + s.tmp_2 = r0 = s.off___187375; + s.tmp_4 = msgpack_packNumberCore__P176683_mk(s); + s.tmp_4.arg0 = s.buf___187387; + s.tmp_4.arg1 = s.off___187375; + s.tmp_4.arg2 = s.n___187393; s.callLocIdx = 27; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___160759 = (r0); - r0 = (s.unnamed1033___U7 + 1); - s.unnamed1033___U7 = (r0); + s.off___187375 = (r0); + r0 = (s.unnamed1141___U7 + 1); + s.unnamed1141___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed1032___U6 = (undefined); - r0 = s.buf___160771; + s.unnamed1140___U6 = (undefined); + r0 = s.buf___187387; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P146114.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__P172730.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__P146114_mk(s) { +function msgpack_packNumberArray__P172730_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P146114, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P172730, 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___160759: undefined, - n___160761: undefined, - unnamed1030___U2: undefined, - unnamed1031___U3: undefined, - buf___160771: undefined, - n___160777: undefined, - unnamed1032___U6: undefined, - unnamed1033___U7: undefined, + off___187375: undefined, + n___187377: undefined, + unnamed1138___U2: undefined, + unnamed1139___U3: undefined, + buf___187387: undefined, + n___187393: undefined, + unnamed1140___U6: undefined, + unnamed1141___U7: undefined, arg0: undefined, } } @@ -31188,7 +31231,7 @@ function msgpack_packNumberArray__P146114_mk(s) { -function msgpack_packNumberCore__P150067(s) { +function msgpack_packNumberCore__P176683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31198,15 +31241,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___160791 = undefined; - s.fmt___160834 = undefined; + s.tag___187407 = undefined; + s.fmt___187450 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___160791 = (203); + s.tag___187407 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -31256,17 +31299,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___160791 = (204); + s.tag___187407 = (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___160791 = (205); + s.tag___187407 = (205); { step = 10; continue; } case 9: - s.tag___160791 = (206); + s.tag___187407 = (206); case 10: case 11: { step = 17; continue; } @@ -31275,41 +31318,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___160791 = (208); + s.tag___187407 = (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___160791 = (209); + s.tag___187407 = (209); { step = 15; continue; } case 14: - s.tag___160791 = (210); + s.tag___187407 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P150066_mk(s); - s.tmp_0.arg0 = s.tag___160791; + s.tmp_0 = msgpack_tagFormat__P176682_mk(s); + s.tmp_0.arg0 = s.tag___187407; s.callLocIdx = 22; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___160834 = (r0); + s.fmt___187450 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___160791); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___187407); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___160834; + s.tmp_1 = r0 = s.fmt___187450; 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__P146105_mk(s); - s.tmp_1.arg0 = s.fmt___160834; + s.tmp_1 = pins_sizeOf__P172721_mk(s); + s.tmp_1.arg0 = s.fmt___187450; s.callLocIdx = 23; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -31319,12 +31362,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P150067.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__P176683.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__P150067_mk(s) { +function msgpack_packNumberCore__P176683_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P150067, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P176683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31334,8 +31377,8 @@ function msgpack_packNumberCore__P150067_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___160791: undefined, - fmt___160834: undefined, + tag___187407: undefined, + fmt___187450: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31345,7 +31388,7 @@ function msgpack_packNumberCore__P150067_mk(s) { -function story_printCharacterText__P149771(s) { +function story_printCharacterText__P176387(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31355,15 +31398,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.task___160992 = undefined; - s.labelText___161000 = undefined; - s.labelBackdrop___161021 = undefined; + s.task___187608 = undefined; + s.labelText___187616 = undefined; + s.labelBackdrop___187637 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = story__currentCutscene__P149780_mk(s); + s.tmp_2 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1787; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; @@ -31376,7 +31419,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_3 = story_printDialog__P152450_mk(s); + s.tmp_3 = story_printDialog__P179066_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 80; s.tmp_3.arg2 = 90; @@ -31388,27 +31431,27 @@ switch (step) { s.callLocIdx = 1788; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; - s.task___160992 = (r0); + s.task___187608 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(story_TextSprite__C149793_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_TextSprite__C176409_VT); s.tmp_0 = r0; - s.tmp_1 = story_ShapeSprite_constructor__P149787_mk(s); + s.tmp_1 = story_ShapeSprite_constructor__P176403_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 101; s.callLocIdx = 1789; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.labelText___161000 = (s.tmp_0); - s.tmp_0 = story_TextSprite_setText__P149795_mk(s); - s.tmp_0.arg0 = s.labelText___161000; + s.labelText___187616 = (s.tmp_0); + s.tmp_0 = story_TextSprite_setText__P176411_mk(s); + s.tmp_0.arg0 = s.labelText___187616; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1790; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = r0 = s.labelText___161000; - s.tmp_3 = story_TextSprite_getHeight__P149797_mk(s); - s.tmp_3.arg0 = s.labelText___161000; + s.tmp_0 = r0 = s.labelText___187616; + s.tmp_3 = story_TextSprite_getHeight__P176413_mk(s); + s.tmp_3.arg0 = s.labelText___187616; s.callLocIdx = 1791; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; @@ -31416,34 +31459,34 @@ switch (step) { r0 = (65 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["top"] = (s.tmp_1); - s.tmp_0 = story_ShapeSprite_attachToTask__P149789_mk(s); - s.tmp_0.arg0 = s.labelText___161000; - s.tmp_0.arg1 = s.task___160992; + s.tmp_0 = story_ShapeSprite_attachToTask__P176405_mk(s); + s.tmp_0.arg0 = s.labelText___187616; + s.tmp_0.arg1 = s.task___187608; s.callLocIdx = 1792; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = (s.labelText___161000).fields["left"] = (3); - r0 = pxsim_pxtcore_mkClassInstance(story_RectangleSprite__C149798_VT); + r0 = (s.labelText___187616).fields["left"] = (3); + r0 = pxsim_pxtcore_mkClassInstance(story_RectangleSprite__C176414_VT); s.tmp_0 = r0; - s.tmp_1 = story_ShapeSprite_constructor__P149787_mk(s); + s.tmp_1 = story_ShapeSprite_constructor__P176403_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; s.callLocIdx = 1793; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - s.labelBackdrop___161021 = (s.tmp_0); - s.tmp_0 = story_RectangleSprite_setDimensions__P149802_mk(s); - s.tmp_0.arg0 = s.labelBackdrop___161021; - s.tmp_2 = story_TextSprite_getWidth__P149796_mk(s); - s.tmp_2.arg0 = s.labelText___161000; + s.labelBackdrop___187637 = (s.tmp_0); + s.tmp_0 = story_RectangleSprite_setDimensions__P176418_mk(s); + s.tmp_0.arg0 = s.labelBackdrop___187637; + s.tmp_2 = story_TextSprite_getWidth__P176412_mk(s); + s.tmp_2.arg0 = s.labelText___187616; s.callLocIdx = 1794; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg1 = r0; - s.tmp_4 = story_TextSprite_getHeight__P149797_mk(s); - s.tmp_4.arg0 = s.labelText___161000; + s.tmp_4 = story_TextSprite_getHeight__P176413_mk(s); + s.tmp_4.arg0 = s.labelText___187616; s.callLocIdx = 1795; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; @@ -31453,21 +31496,21 @@ switch (step) { s.callLocIdx = 1796; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = story_ShapeSprite_setColor__P149788_mk(s); - s.tmp_0.arg0 = s.labelBackdrop___161021; + s.tmp_0 = story_ShapeSprite_setColor__P176404_mk(s); + s.tmp_0.arg0 = s.labelBackdrop___187637; s.tmp_0.arg1 = 6; s.callLocIdx = 1797; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.labelBackdrop___161021; - r0 = s.labelText___161000.fields["left"]; + s.tmp_0 = r0 = s.labelBackdrop___187637; + r0 = s.labelText___187616.fields["left"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["left"] = (s.tmp_1); - s.tmp_0 = r0 = s.labelBackdrop___161021; - s.tmp_4 = story_TextSprite_getHeight__P149797_mk(s); - s.tmp_4.arg0 = s.labelText___161000; + s.tmp_0 = r0 = s.labelBackdrop___187637; + s.tmp_4 = story_TextSprite_getHeight__P176413_mk(s); + s.tmp_4.arg0 = s.labelText___187616; s.callLocIdx = 1798; s.pc = 17; return s.tmp_4; case 17: r0 = s.retval; @@ -31477,22 +31520,22 @@ switch (step) { r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["top"] = (s.tmp_1); - s.tmp_0 = story_ShapeSprite_attachToTask__P149789_mk(s); - s.tmp_0.arg0 = s.labelBackdrop___161021; - s.tmp_0.arg1 = s.task___160992; + s.tmp_0 = story_ShapeSprite_attachToTask__P176405_mk(s); + s.tmp_0.arg0 = s.labelBackdrop___187637; + s.tmp_0.arg1 = s.task___187608; s.callLocIdx = 1799; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: case 4: - s.tmp_1 = story__currentCutscene__P149780_mk(s); + s.tmp_1 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1800; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0).fields["currentTask"] = (s.task___160992); - s.tmp_0 = story__pauseUntilTaskIsComplete__P149779_mk(s); - s.tmp_0.arg0 = s.task___160992; + r0 = (s.tmp_0).fields["currentTask"] = (s.task___187608); + s.tmp_0 = story__pauseUntilTaskIsComplete__P176395_mk(s); + s.tmp_0.arg0 = s.task___187608; s.callLocIdx = 1801; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; @@ -31501,21 +31544,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_printCharacterText__P149771.info = {"start":6075,"length":1023,"line":166,"column":4,"endLine":190,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"printCharacterText","argumentNames":["text","label"]} +story_printCharacterText__P176387.info = {"start":6075,"length":1023,"line":166,"column":4,"endLine":190,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"printCharacterText","argumentNames":["text","label"]} -function story_printCharacterText__P149771_mk(s) { +function story_printCharacterText__P176387_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_printCharacterText__P149771, depth: s.depth + 1, + parent: s, fn: story_printCharacterText__P176387, 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, - task___160992: undefined, - labelText___161000: undefined, - labelBackdrop___161021: undefined, + task___187608: undefined, + labelText___187616: undefined, + labelBackdrop___187637: undefined, arg0: undefined, arg1: undefined, } } @@ -31524,7 +31567,7 @@ function story_printCharacterText__P149771_mk(s) { -function story_printDialog__P152450(s) { +function story_printDialog__P179066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31534,12 +31577,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___161131 = undefined; - s.script___161135 = undefined; - s.left___161159 = undefined; - s.top___161164 = undefined; - s.bubble___161169 = undefined; - s.backdrop___161194 = undefined; + s.font___187747 = undefined; + s.script___187751 = undefined; + s.left___187775 = undefined; + s.top___187780 = undefined; + s.bubble___187785 = undefined; + s.backdrop___187810 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31551,12 +31594,12 @@ switch (step) { s.arg7 = (s.lambdaArgs[7]); s.lambdaArgs = null; } - s.tmp_0 = image_getFontForText__P147694_mk(s); + s.tmp_0 = image_getFontForText__P174310_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1802; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.font___161131 = (r0); + s.font___187747 = (r0); r0 = (s.arg7 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -31568,13 +31611,13 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = story__formatText__P149764_mk(s); + s.tmp_2 = story__formatText__P176380_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; r0 = (s.arg4 - 8); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___161131; + s.tmp_5.arg0 = s.font___187747; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charWidth"); } else { @@ -31591,7 +31634,7 @@ switch (step) { r0 = (s.arg3 - 8); s.tmp_6 = r0; s.tmp_8 = if_charHeight_1_mk(s); - s.tmp_8.arg0 = s.font___161131; + s.tmp_8.arg0 = s.font___187747; if (!s.tmp_8.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_8.arg0, "charHeight"); } else { @@ -31608,9 +31651,9 @@ switch (step) { s.callLocIdx = 1805; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; - s.script___161135 = (r0); - s.tmp_0 = story_Script_setColors__P149727_mk(s); - s.tmp_0.arg0 = s.script___161135; + s.script___187751 = (r0); + s.tmp_0 = story_Script_setColors__P176343_mk(s); + s.tmp_0.arg0 = s.script___187751; s.tmp_0.arg1 = s.arg5; s.tmp_0.arg2 = 0; s.callLocIdx = 1806; s.pc = 7; return s.tmp_0; @@ -31620,86 +31663,86 @@ switch (step) { r0 = (s.arg4 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.left___161159 = (r0); + s.left___187775 = (r0); s.tmp_0 = r0 = s.arg2; r0 = (s.arg3 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.top___161164 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(story_Bubble__C149686_VT); + s.top___187780 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(story_Bubble__C176302_VT); s.tmp_0 = r0; - s.tmp_1 = story_Bubble_constructor__P149691_mk(s); + s.tmp_1 = story_Bubble_constructor__P176307_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 99; s.tmp_1.arg2 = true; s.callLocIdx = 1807; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.bubble___161169 = (s.tmp_0); - s.tmp_0 = story_Bubble_setAlign__P149695_mk(s); - s.tmp_0.arg0 = s.bubble___161169; - s.tmp_0.arg1 = s.left___161159; - s.tmp_0.arg2 = s.top___161164; + s.bubble___187785 = (s.tmp_0); + s.tmp_0 = story_Bubble_setAlign__P176311_mk(s); + s.tmp_0.arg0 = s.bubble___187785; + s.tmp_0.arg1 = s.left___187775; + s.tmp_0.arg2 = s.top___187780; s.callLocIdx = 1808; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = s.script___161135.fields["foregroundColor"]; + r0 = s.script___187751.fields["foregroundColor"]; s.tmp_0 = r0; - r0 = (s.bubble___161169).fields["foregroundColor"] = (s.tmp_0); - r0 = s.script___161135.fields["backgroundColor"]; + r0 = (s.bubble___187785).fields["foregroundColor"] = (s.tmp_0); + r0 = s.script___187751.fields["backgroundColor"]; s.tmp_0 = r0; - r0 = (s.bubble___161169).fields["backgroundColor"] = (s.tmp_0); - r0 = s.script___161135.fields["pagePauseMillis"]; + r0 = (s.bubble___187785).fields["backgroundColor"] = (s.tmp_0); + r0 = s.script___187751.fields["pagePauseMillis"]; s.tmp_0 = r0; - r0 = (s.bubble___161169).fields["pagePauseLength"] = (s.tmp_0); - s.tmp_0 = story_Bubble_startMessage__P149697_mk(s); - s.tmp_0.arg0 = s.bubble___161169; - r0 = s.script___161135.fields["pages"]; + r0 = (s.bubble___187785).fields["pagePauseLength"] = (s.tmp_0); + s.tmp_0 = story_Bubble_startMessage__P176313_mk(s); + s.tmp_0.arg0 = s.bubble___187785; + r0 = s.script___187751.fields["pages"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = undefined; s.callLocIdx = 1809; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(story_RectangleSprite__C149798_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_RectangleSprite__C176414_VT); s.tmp_0 = r0; - s.tmp_1 = story_ShapeSprite_constructor__P149787_mk(s); + s.tmp_1 = story_ShapeSprite_constructor__P176403_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 98; s.callLocIdx = 1810; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - s.backdrop___161194 = (s.tmp_0); - s.tmp_0 = story_ShapeSprite_setColor__P149788_mk(s); - s.tmp_0.arg0 = s.backdrop___161194; + s.backdrop___187810 = (s.tmp_0); + s.tmp_0 = story_ShapeSprite_setColor__P176404_mk(s); + s.tmp_0.arg0 = s.backdrop___187810; s.tmp_0.arg1 = s.arg6; s.callLocIdx = 1811; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = story_RectangleSprite_setDimensions__P149802_mk(s); - s.tmp_0.arg0 = s.backdrop___161194; + s.tmp_0 = story_RectangleSprite_setDimensions__P176418_mk(s); + s.tmp_0.arg0 = s.backdrop___187810; s.tmp_0.arg1 = s.arg4; s.tmp_0.arg2 = s.arg3; s.callLocIdx = 1812; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = (s.backdrop___161194).fields["left"] = (s.left___161159); - r0 = (s.backdrop___161194).fields["top"] = (s.top___161164); - s.tmp_0 = story_ShapeSprite_attachToTask__P149789_mk(s); - s.tmp_0.arg0 = s.backdrop___161194; - s.tmp_0.arg1 = s.bubble___161169; + r0 = (s.backdrop___187810).fields["left"] = (s.left___187775); + r0 = (s.backdrop___187810).fields["top"] = (s.top___187780); + s.tmp_0 = story_ShapeSprite_attachToTask__P176405_mk(s); + s.tmp_0.arg0 = s.backdrop___187810; + s.tmp_0.arg1 = s.bubble___187785; s.callLocIdx = 1813; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = s.bubble___161169; + r0 = s.bubble___187785; return leave(s, r0) default: oops() } } } -story_printDialog__P152450.info = {"start":10856,"length":1091,"line":302,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"printDialog","argumentNames":["text","x","y","height","width","foreground","background","speed"]} +story_printDialog__P179066.info = {"start":10856,"length":1091,"line":302,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"printDialog","argumentNames":["text","x","y","height","width","foreground","background","speed"]} -function story_printDialog__P152450_mk(s) { +function story_printDialog__P179066_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_printDialog__P152450, depth: s.depth + 1, + parent: s, fn: story_printDialog__P179066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31710,12 +31753,12 @@ function story_printDialog__P152450_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - font___161131: undefined, - script___161135: undefined, - left___161159: undefined, - top___161164: undefined, - bubble___161169: undefined, - backdrop___161194: undefined, + font___187747: undefined, + script___187751: undefined, + left___187775: undefined, + top___187780: undefined, + bubble___187785: undefined, + backdrop___187810: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31730,7 +31773,7 @@ function story_printDialog__P152450_mk(s) { -function story__formatText__P149764(s) { +function story__formatText__P176380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31740,11 +31783,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.result___161379 = undefined; - s.lastBreakLocation___161383 = undefined; - s.lastBreak___161384 = undefined; - s.line___161385 = undefined; - s.index___161386 = undefined; + s.result___187995 = undefined; + s.lastBreakLocation___187999 = undefined; + s.lastBreak___188000 = undefined; + s.line___188001 = undefined; + s.index___188002 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31752,40 +31795,40 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(story_Script__C149717_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_Script__C176333_VT); s.tmp_0 = r0; - s.tmp_1 = story_Script_constructor__P149724_mk(s); + s.tmp_1 = story_Script_constructor__P176340_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1754; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - s.result___161379 = (s.tmp_0); - s.lastBreakLocation___161383 = (0); - s.lastBreak___161384 = (0); - s.line___161385 = (0); - s.index___161386 = (0); + s.result___187995 = (s.tmp_0); + s.lastBreakLocation___187999 = (0); + s.lastBreak___188000 = (0); + s.line___188001 = (0); + s.index___188002 = (0); case 1: - s.tmp_1 = r0 = s.index___161386; + s.tmp_1 = r0 = s.index___188002; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - r0 = pxsim_String_.charAt(s.arg0, s.index___161386); + r0 = pxsim_String_.charAt(s.arg0, s.index___188002); s.tmp_4 = r0; r0 = (s.tmp_4 === "\n"); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - s.tmp_5 = story_Script_addLineToCurrentPage__P149725_mk(s); - s.tmp_5.arg0 = s.result___161379; - s.tmp_6 = story_formatLine__P152444_mk(s); - s.tmp_7 = helpers_stringSubstr__P146051_mk(s); + s.tmp_5 = story_Script_addLineToCurrentPage__P176341_mk(s); + s.tmp_5.arg0 = s.result___187995; + s.tmp_6 = story_formatLine__P179060_mk(s); + s.tmp_7 = helpers_stringSubstr__P172667_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.lastBreak___161384; - r0 = (s.index___161386 - s.lastBreak___161384); + s.tmp_7.arg1 = s.lastBreak___188000; + r0 = (s.index___188002 - s.lastBreak___188000); s.tmp_7.arg2 = r0; s.callLocIdx = 1755; s.pc = 22; return s.tmp_7; case 22: @@ -31799,14 +31842,14 @@ switch (step) { s.callLocIdx = 1757; s.pc = 20; return s.tmp_5; case 20: r0 = s.retval; - r0 = (s.index___161386 + 1); - s.index___161386 = (r0); - s.lastBreak___161384 = (s.index___161386); - r0 = (s.line___161385 + 1); - s.line___161385 = (r0); + r0 = (s.index___188002 + 1); + s.index___188002 = (r0); + s.lastBreak___188000 = (s.index___188002); + r0 = (s.line___188001 + 1); + s.line___188001 = (r0); { step = 9; continue; } case 2: - r0 = pxsim_String_.charAt(s.arg0, s.index___161386); + r0 = pxsim_String_.charAt(s.arg0, s.index___188002); s.tmp_1 = r0; r0 = (s.tmp_1 === "\\"); s.tmp_0 = r0; @@ -31816,7 +31859,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_3 = r0 = s.arg0; - r0 = (s.index___161386 + 1); + r0 = (s.index___188002 + 1); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); s.tmp_2 = r0; @@ -31826,13 +31869,13 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } - s.tmp_6 = story_Script_addLineToCurrentPage__P149725_mk(s); - s.tmp_6.arg0 = s.result___161379; - s.tmp_7 = story_formatLine__P152444_mk(s); - s.tmp_8 = helpers_stringSubstr__P146051_mk(s); + s.tmp_6 = story_Script_addLineToCurrentPage__P176341_mk(s); + s.tmp_6.arg0 = s.result___187995; + s.tmp_7 = story_formatLine__P179060_mk(s); + s.tmp_8 = helpers_stringSubstr__P172667_mk(s); s.tmp_8.arg0 = s.arg0; - s.tmp_8.arg1 = s.lastBreak___161384; - r0 = (s.index___161386 - s.lastBreak___161384); + s.tmp_8.arg1 = s.lastBreak___188000; + r0 = (s.index___188002 - s.lastBreak___188000); s.tmp_8.arg2 = r0; s.callLocIdx = 1758; s.pc = 25; return s.tmp_8; case 25: @@ -31846,15 +31889,15 @@ switch (step) { s.callLocIdx = 1760; s.pc = 23; return s.tmp_6; case 23: r0 = s.retval; - r0 = (s.index___161386 + 2); - s.index___161386 = (r0); - s.lastBreak___161384 = (s.index___161386); - r0 = (s.line___161385 + 1); - s.line___161385 = (r0); + r0 = (s.index___188002 + 2); + s.index___188002 = (r0); + s.lastBreak___188000 = (s.index___188002); + r0 = (s.line___188001 + 1); + s.line___188001 = (r0); { step = 8; continue; } case 5: - s.tmp_1 = story_isBreakCharacter__P152443_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.index___161386); + s.tmp_1 = story_isBreakCharacter__P179059_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.index___188002); s.tmp_1.arg0 = r0; s.callLocIdx = 1761; s.pc = 26; return s.tmp_1; case 26: @@ -31862,36 +31905,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.lastBreakLocation___161383 = (s.index___161386); + s.lastBreakLocation___187999 = (s.index___188002); case 6: case 7: case 8: case 9: - r0 = (s.index___161386 - s.lastBreak___161384); + r0 = (s.index___188002 - s.lastBreak___188000); s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.lastBreakLocation___161383 === s.index___161386); + r0 = (s.lastBreakLocation___187999 === s.index___188002); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); if (!r0) { step = 10; continue; } r0 = s.tmp_2; { step = 11; continue; } case 10: - r0 = (s.lastBreakLocation___161383 < s.lastBreak___161384); + r0 = (s.lastBreakLocation___187999 < s.lastBreak___188000); case 11: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = story_Script_addLineToCurrentPage__P149725_mk(s); - s.tmp_4.arg0 = s.result___161379; - s.tmp_5 = story_formatLine__P152444_mk(s); - s.tmp_6 = helpers_stringSubstr__P146051_mk(s); + s.tmp_4 = story_Script_addLineToCurrentPage__P176341_mk(s); + s.tmp_4.arg0 = s.result___187995; + s.tmp_5 = story_formatLine__P179060_mk(s); + s.tmp_6 = helpers_stringSubstr__P172667_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.lastBreak___161384; + s.tmp_6.arg1 = s.lastBreak___188000; s.tmp_6.arg2 = s.arg2; s.callLocIdx = 1762; s.pc = 29; return s.tmp_6; case 29: @@ -31905,18 +31948,18 @@ switch (step) { s.callLocIdx = 1764; s.pc = 27; return s.tmp_4; case 27: r0 = s.retval; - s.lastBreak___161384 = (s.index___161386); - r0 = (s.line___161385 + 1); - s.line___161385 = (r0); + s.lastBreak___188000 = (s.index___188002); + r0 = (s.line___188001 + 1); + s.line___188001 = (r0); { step = 13; continue; } case 12: - s.tmp_0 = story_Script_addLineToCurrentPage__P149725_mk(s); - s.tmp_0.arg0 = s.result___161379; - s.tmp_1 = story_formatLine__P152444_mk(s); - s.tmp_2 = helpers_stringSubstr__P146051_mk(s); + s.tmp_0 = story_Script_addLineToCurrentPage__P176341_mk(s); + s.tmp_0.arg0 = s.result___187995; + s.tmp_1 = story_formatLine__P179060_mk(s); + s.tmp_2 = helpers_stringSubstr__P172667_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.lastBreak___161384; - r0 = (s.lastBreakLocation___161383 - s.lastBreak___161384); + s.tmp_2.arg1 = s.lastBreak___188000; + r0 = (s.lastBreakLocation___187999 - s.lastBreak___188000); s.tmp_2.arg2 = r0; s.callLocIdx = 1765; s.pc = 32; return s.tmp_2; case 32: @@ -31930,37 +31973,37 @@ switch (step) { s.callLocIdx = 1767; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.lastBreak___161384 = (s.lastBreakLocation___161383); - r0 = (s.line___161385 + 1); - s.line___161385 = (r0); + s.lastBreak___188000 = (s.lastBreakLocation___187999); + r0 = (s.line___188001 + 1); + s.line___188001 = (r0); case 13: case 14: case 15: - r0 = (s.line___161385 >= s.arg3); + r0 = (s.line___188001 >= s.arg3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.line___161385 = (0); - s.tmp_0 = story_Script_newPage__P149726_mk(s); - s.tmp_0.arg0 = s.result___161379; + s.line___188001 = (0); + s.tmp_0 = story_Script_newPage__P176342_mk(s); + s.tmp_0.arg0 = s.result___187995; s.callLocIdx = 1768; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 16: case 17: - r0 = (s.index___161386 + 1); - s.index___161386 = (r0); + r0 = (s.index___188002 + 1); + s.index___188002 = (r0); { step = 1; continue; } case 18: - s.tmp_0 = story_Script_addLineToCurrentPage__P149725_mk(s); - s.tmp_0.arg0 = s.result___161379; - s.tmp_1 = story_formatLine__P152444_mk(s); - s.tmp_2 = helpers_stringSubstr__P146051_mk(s); + s.tmp_0 = story_Script_addLineToCurrentPage__P176341_mk(s); + s.tmp_0.arg0 = s.result___187995; + s.tmp_1 = story_formatLine__P179060_mk(s); + s.tmp_2 = helpers_stringSubstr__P172667_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.lastBreak___161384; + s.tmp_2.arg1 = s.lastBreak___188000; r0 = pxsim_String_.length(s.arg0); s.tmp_3 = r0; - r0 = (s.tmp_3 - s.lastBreak___161384); + r0 = (s.tmp_3 - s.lastBreak___188000); s.tmp_2.arg2 = r0; s.callLocIdx = 1769; s.pc = 36; return s.tmp_2; case 36: @@ -31974,16 +32017,16 @@ switch (step) { s.callLocIdx = 1771; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - r0 = s.result___161379; + r0 = s.result___187995; return leave(s, r0) default: oops() } } } -story__formatText__P149764.info = {"start":2683,"length":1905,"line":67,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/arcade-story/text.ts","functionName":"_formatText","argumentNames":["text","speed","maxLineLength","maxLinesPerPage"]} +story__formatText__P176380.info = {"start":2683,"length":1905,"line":67,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/arcade-story/text.ts","functionName":"_formatText","argumentNames":["text","speed","maxLineLength","maxLinesPerPage"]} -function story__formatText__P149764_mk(s) { +function story__formatText__P176380_mk(s) { checkStack(s.depth); return { - parent: s, fn: story__formatText__P149764, depth: s.depth + 1, + parent: s, fn: story__formatText__P176380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31994,11 +32037,11 @@ function story__formatText__P149764_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - result___161379: undefined, - lastBreakLocation___161383: undefined, - lastBreak___161384: undefined, - line___161385: undefined, - index___161386: undefined, + result___187995: undefined, + lastBreakLocation___187999: undefined, + lastBreak___188000: undefined, + line___188001: undefined, + index___188002: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32009,7 +32052,7 @@ function story__formatText__P149764_mk(s) { -function story_formatLine__P152444(s) { +function story_formatLine__P179060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32019,26 +32062,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___161560 = undefined; + s.i___188176 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___161560 = (0); + s.i___188176 = (0); case 1: - r0 = pxsim_String_.charAt(s.arg0, s.i___161560); + r0 = pxsim_String_.charAt(s.arg0, s.i___188176); s.tmp_1 = r0; r0 = (s.tmp_1 === " "); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = (s.i___161560 + 1); - s.i___161560 = (r0); + r0 = (s.i___188176 + 1); + s.i___188176 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = helpers_stringSubstr__P146051_mk(s); + s.tmp_0 = helpers_stringSubstr__P172667_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___161560; + s.tmp_0.arg1 = s.i___188176; r0 = pxsim_String_.length(s.arg0); s.tmp_0.arg2 = r0; s.callLocIdx = 1772; s.pc = 3; return s.tmp_0; @@ -32047,16 +32090,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_formatLine__P152444.info = {"start":4594,"length":148,"line":116,"column":4,"endLine":120,"endColumn":5,"fileName":"pxt_modules/arcade-story/text.ts","functionName":"formatLine","argumentNames":["text"]} +story_formatLine__P179060.info = {"start":4594,"length":148,"line":116,"column":4,"endLine":120,"endColumn":5,"fileName":"pxt_modules/arcade-story/text.ts","functionName":"formatLine","argumentNames":["text"]} -function story_formatLine__P152444_mk(s) { +function story_formatLine__P179060_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_formatLine__P152444, depth: s.depth + 1, + parent: s, fn: story_formatLine__P179060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___161560: undefined, + i___188176: undefined, arg0: undefined, } } @@ -32064,7 +32107,7 @@ function story_formatLine__P152444_mk(s) { -function story_isBreakCharacter__P152443(s) { +function story_isBreakCharacter__P179059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32144,12 +32187,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_isBreakCharacter__P152443.info = {"start":2443,"length":234,"line":60,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/arcade-story/text.ts","functionName":"isBreakCharacter","argumentNames":["charCode"]} +story_isBreakCharacter__P179059.info = {"start":2443,"length":234,"line":60,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/arcade-story/text.ts","functionName":"isBreakCharacter","argumentNames":["charCode"]} -function story_isBreakCharacter__P152443_mk(s) { +function story_isBreakCharacter__P179059_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_isBreakCharacter__P152443, depth: s.depth + 1, + parent: s, fn: story_isBreakCharacter__P179059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32168,7 +32211,7 @@ function story_isBreakCharacter__P152443_mk(s) { -function story_Script_newPage__P149726(s) { +function story_Script_newPage__P176342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32183,10 +32226,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Script__C149717_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(story_MessagePage__C149683_VT); + if (!checkSubtype(r0, story_Script__C176333_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(story_MessagePage__C176299_VT); s.tmp_0 = r0; - s.tmp_1 = story_MessagePage_constructor__P149685_mk(s); + s.tmp_1 = story_MessagePage_constructor__P176301_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__mk(); s.tmp_1.arg1 = r0; @@ -32200,12 +32243,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Script_newPage__P149726.info = {"start":1604,"length":71,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/arcade-story/script.ts","functionName":"newPage","argumentNames":["this"]} +story_Script_newPage__P176342.info = {"start":1604,"length":71,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/arcade-story/script.ts","functionName":"newPage","argumentNames":["this"]} -function story_Script_newPage__P149726_mk(s) { +function story_Script_newPage__P176342_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Script_newPage__P149726, depth: s.depth + 1, + parent: s, fn: story_Script_newPage__P176342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32217,7 +32260,7 @@ function story_Script_newPage__P149726_mk(s) { -function story_MessagePage_constructor__P149685(s) { +function story_MessagePage_constructor__P176301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32233,18 +32276,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_MessagePage__C149683_VT)) failedCast(r0); + if (!checkSubtype(r0, story_MessagePage__C176299_VT)) failedCast(r0); r0 = (s.arg0).fields["lines"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -story_MessagePage_constructor__P149685.info = {"start":1316,"length":77,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"inline","argumentNames":["this","lines"]} +story_MessagePage_constructor__P176301.info = {"start":1316,"length":77,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"inline","argumentNames":["this","lines"]} -function story_MessagePage_constructor__P149685_mk(s) { +function story_MessagePage_constructor__P176301_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_MessagePage_constructor__P149685, depth: s.depth + 1, + parent: s, fn: story_MessagePage_constructor__P176301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32254,7 +32297,7 @@ function story_MessagePage_constructor__P149685_mk(s) { -function story_Script_addLineToCurrentPage__P149725(s) { +function story_Script_addLineToCurrentPage__P176341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32271,7 +32314,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Script__C149717_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Script__C176333_VT)) failedCast(r0); r0 = s.arg0.fields["pages"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -32282,9 +32325,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(story_MessagePage__C149683_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_MessagePage__C176299_VT); s.tmp_4 = r0; - s.tmp_5 = story_MessagePage_constructor__P149685_mk(s); + s.tmp_5 = story_MessagePage_constructor__P176301_mk(s); s.tmp_5.arg0 = s.tmp_4; r0 = pxsim_Array__mk(); s.tmp_5.arg1 = r0; @@ -32307,7 +32350,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); r0 = r0.fields["lines"]; s.tmp_0 = r0; - s.tmp_6 = story_line__P149704_mk(s); + s.tmp_6 = story_line__P176320_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = s.arg2; s.callLocIdx = 1706; s.pc = 4; return s.tmp_6; @@ -32319,12 +32362,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Script_addLineToCurrentPage__P149725.info = {"start":1165,"length":247,"line":40,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/arcade-story/script.ts","functionName":"addLineToCurrentPage","argumentNames":["this","text","speed"]} +story_Script_addLineToCurrentPage__P176341.info = {"start":1165,"length":247,"line":40,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/arcade-story/script.ts","functionName":"addLineToCurrentPage","argumentNames":["this","text","speed"]} -function story_Script_addLineToCurrentPage__P149725_mk(s) { +function story_Script_addLineToCurrentPage__P176341_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Script_addLineToCurrentPage__P149725, depth: s.depth + 1, + parent: s, fn: story_Script_addLineToCurrentPage__P176341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32342,7 +32385,7 @@ function story_Script_addLineToCurrentPage__P149725_mk(s) { -function story_line__P149704(s) { +function story_line__P176320(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32357,11 +32400,11 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(story_MessageLine__C149677_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_MessageLine__C176293_VT); s.tmp_0 = r0; - r0 = pxsim_pxtcore_mkClassInstance(story_MessagePart__C149670_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_MessagePart__C176286_VT); s.tmp_1 = r0; - s.tmp_2 = story_MessagePart_constructor__P149675_mk(s); + s.tmp_2 = story_MessagePart_constructor__P176291_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = s.arg1; @@ -32371,7 +32414,7 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_1); - s.tmp_4 = story_MessageLine_constructor__P149681_mk(s); + s.tmp_4 = story_MessageLine_constructor__P176297_mk(s); s.tmp_4.arg0 = s.tmp_0; s.tmp_4.arg1 = s.tmp_3; s.callLocIdx = 1704; s.pc = 2; return s.tmp_4; @@ -32381,12 +32424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_line__P149704.info = {"start":10835,"length":137,"line":376,"column":4,"endLine":378,"endColumn":5,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"line","argumentNames":["text","speed"]} +story_line__P176320.info = {"start":10835,"length":137,"line":376,"column":4,"endLine":378,"endColumn":5,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"line","argumentNames":["text","speed"]} -function story_line__P149704_mk(s) { +function story_line__P176320_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_line__P149704, depth: s.depth + 1, + parent: s, fn: story_line__P176320, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32401,7 +32444,7 @@ function story_line__P149704_mk(s) { -function story_MessageLine_constructor__P149681(s) { +function story_MessageLine_constructor__P176297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32411,64 +32454,64 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___161644 = undefined; - s.unnamed1068___U1 = undefined; - s.unnamed1069___U2 = undefined; + s.p___188260 = undefined; + s.unnamed1176___U1 = undefined; + s.unnamed1177___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_MessageLine__C149677_VT)) failedCast(r0); + if (!checkSubtype(r0, story_MessageLine__C176293_VT)) failedCast(r0); r0 = (s.arg0).fields["parts"] = (s.arg1); r0 = (s.arg0).fields["width"] = (0); r0 = (s.arg0).fields["height"] = (0); - s.p___161644 = (undefined); - s.unnamed1068___U1 = (s.arg1); - s.unnamed1069___U2 = (0); + s.p___188260 = (undefined); + s.unnamed1176___U1 = (s.arg1); + s.unnamed1177___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1069___U2; - r0 = pxsim_Array__length(s.unnamed1068___U1); + s.tmp_0 = r0 = s.unnamed1177___U2; + r0 = pxsim_Array__length(s.unnamed1176___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1068___U1, s.unnamed1069___U2); - s.p___161644 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1176___U1, s.unnamed1177___U2); + s.p___188260 = (r0); s.tmp_2 = r0 = s.arg0; r0 = s.tmp_2.fields["width"]; s.tmp_4 = r0; - r0 = s.p___161644.fields["width"]; + r0 = s.p___188260.fields["width"]; s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_2).fields["width"] = (s.tmp_3); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P146062_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); r0 = s.arg0.fields["height"]; s.tmp_2.arg0 = r0; - r0 = s.p___161644.fields["height"]; + r0 = s.p___188260.fields["height"]; s.tmp_2.arg1 = r0; s.callLocIdx = 1655; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); - r0 = (s.unnamed1069___U2 + 1); - s.unnamed1069___U2 = (r0); + r0 = (s.unnamed1177___U2 + 1); + s.unnamed1177___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1068___U1 = (undefined); + s.unnamed1176___U1 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -story_MessageLine_constructor__P149681.info = {"start":845,"length":288,"line":28,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"inline","argumentNames":["this","parts"]} +story_MessageLine_constructor__P176297.info = {"start":845,"length":288,"line":28,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"inline","argumentNames":["this","parts"]} -function story_MessageLine_constructor__P149681_mk(s) { +function story_MessageLine_constructor__P176297_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_MessageLine_constructor__P149681, depth: s.depth + 1, + parent: s, fn: story_MessageLine_constructor__P176297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32476,9 +32519,9 @@ function story_MessageLine_constructor__P149681_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - p___161644: undefined, - unnamed1068___U1: undefined, - unnamed1069___U2: undefined, + p___188260: undefined, + unnamed1176___U1: undefined, + unnamed1177___U2: undefined, arg0: undefined, arg1: undefined, } } @@ -32487,7 +32530,7 @@ function story_MessageLine_constructor__P149681_mk(s) { -function story_MessagePart_constructor__P149675(s) { +function story_MessagePart_constructor__P176291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32497,7 +32540,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.f___161619 = undefined; + s.f___188235 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32505,18 +32548,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_MessagePart__C149670_VT)) failedCast(r0); + if (!checkSubtype(r0, story_MessagePart__C176286_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["charsPerSecond"] = (s.arg2); - s.tmp_0 = image_getFontForText__P147694_mk(s); + s.tmp_0 = image_getFontForText__P174310_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 1650; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.f___161619 = (r0); + s.f___188235 = (r0); s.tmp_0 = r0 = s.arg0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.f___161619; + s.tmp_3.arg0 = s.f___188235; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -32535,7 +32578,7 @@ switch (step) { r0 = (s.tmp_0).fields["width"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.f___161619; + s.tmp_2.arg0 = s.f___188235; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -32552,19 +32595,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_MessagePart_constructor__P149675.info = {"start":223,"length":284,"line":7,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"inline","argumentNames":["this","text","charsPerSecond"]} +story_MessagePart_constructor__P176291.info = {"start":223,"length":284,"line":7,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"inline","argumentNames":["this","text","charsPerSecond"]} -function story_MessagePart_constructor__P149675_mk(s) { +function story_MessagePart_constructor__P176291_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_MessagePart_constructor__P149675, depth: s.depth + 1, + parent: s, fn: story_MessagePart_constructor__P176291, 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, - f___161619: undefined, + f___188235: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32574,7 +32617,7 @@ function story_MessagePart_constructor__P149675_mk(s) { -function story_Script_constructor__P149724(s) { +function story_Script_constructor__P176340(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32590,7 +32633,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Script__C149717_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Script__C176333_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } @@ -32604,19 +32647,19 @@ switch (step) { r0 = (s.arg0).fields["pages"] = (s.tmp_1); r0 = (s.arg0).fields["foregroundColor"] = (15); r0 = (s.arg0).fields["backgroundColor"] = (1); - r0 = (s.arg0).fields["pagePauseMillis"] = (globals._defaultPagePauseLength___149715); - r0 = (s.arg0).fields["finalPagePauseLength"] = (globals._defaultFinalPagePauseLength___149716); + r0 = (s.arg0).fields["pagePauseMillis"] = (globals._defaultPagePauseLength___176331); + r0 = (s.arg0).fields["finalPagePauseLength"] = (globals._defaultFinalPagePauseLength___176332); r0 = (s.arg0).fields["relativeToCamera"] = (false); r0 = undefined; return leave(s, r0) default: oops() } } } -story_Script_constructor__P149724.info = {"start":629,"length":337,"line":25,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/arcade-story/script.ts","functionName":"inline","argumentNames":["this","pages"]} +story_Script_constructor__P176340.info = {"start":629,"length":337,"line":25,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/arcade-story/script.ts","functionName":"inline","argumentNames":["this","pages"]} -function story_Script_constructor__P149724_mk(s) { +function story_Script_constructor__P176340_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Script_constructor__P149724, depth: s.depth + 1, + parent: s, fn: story_Script_constructor__P176340, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32628,7 +32671,7 @@ function story_Script_constructor__P149724_mk(s) { -function helpers_stringSubstr__P146051(s) { +function helpers_stringSubstr__P172667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32670,12 +32713,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSubstr__P146051.info = {"start":11286,"length":204,"line":379,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSubstr","argumentNames":["s","start","length"]} +helpers_stringSubstr__P172667.info = {"start":11286,"length":204,"line":379,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSubstr","argumentNames":["s","start","length"]} -function helpers_stringSubstr__P146051_mk(s) { +function helpers_stringSubstr__P172667_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSubstr__P146051, depth: s.depth + 1, + parent: s, fn: helpers_stringSubstr__P172667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32690,7 +32733,7 @@ function helpers_stringSubstr__P146051_mk(s) { -function story_Script_setColors__P149727(s) { +function story_Script_setColors__P176343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32707,19 +32750,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Script__C149717_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Script__C176333_VT)) failedCast(r0); r0 = (s.arg0).fields["foregroundColor"] = (s.arg1); r0 = (s.arg0).fields["backgroundColor"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -story_Script_setColors__P149727.info = {"start":2065,"length":155,"line":67,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/arcade-story/script.ts","functionName":"setColors","argumentNames":["this","foreground","background"]} +story_Script_setColors__P176343.info = {"start":2065,"length":155,"line":67,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/arcade-story/script.ts","functionName":"setColors","argumentNames":["this","foreground","background"]} -function story_Script_setColors__P149727_mk(s) { +function story_Script_setColors__P176343_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Script_setColors__P149727, depth: s.depth + 1, + parent: s, fn: story_Script_setColors__P176343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32730,7 +32773,7 @@ function story_Script_setColors__P149727_mk(s) { -function story_Bubble_startMessage__P149697(s) { +function story_Bubble_startMessage__P176313(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32747,7 +32790,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = (s.arg0).fields["pages"] = (s.arg1); r0 = (s.arg0).fields["endCB"] = (s.arg2); r0 = (s.arg0).fields["state"] = (0); @@ -32755,7 +32798,7 @@ switch (step) { r0 = (s.arg0).fields["lineIndex"] = (0); r0 = (s.arg0).fields["tick"] = (0); r0 = (s.arg0).fields["partIndex"] = (-1); - s.tmp_0 = story_Bubble_advancePart__P152426_mk(s); + s.tmp_0 = story_Bubble_advancePart__P179042_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1671; s.pc = 1; return s.tmp_0; case 1: @@ -32767,12 +32810,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_startMessage__P149697.info = {"start":6550,"length":377,"line":229,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"startMessage","argumentNames":["this","pages","onEnd"]} +story_Bubble_startMessage__P176313.info = {"start":6550,"length":377,"line":229,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"startMessage","argumentNames":["this","pages","onEnd"]} -function story_Bubble_startMessage__P149697_mk(s) { +function story_Bubble_startMessage__P176313_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_startMessage__P149697, depth: s.depth + 1, + parent: s, fn: story_Bubble_startMessage__P176313, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32784,7 +32827,7 @@ function story_Bubble_startMessage__P149697_mk(s) { -function story_Bubble_advancePart__P152426(s) { +function story_Bubble_advancePart__P179042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32799,7 +32842,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = (s.arg0).fields["tick"] = (0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["partIndex"]; @@ -32807,7 +32850,7 @@ switch (step) { r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["partIndex"] = (s.tmp_1); - s.tmp_1 = story_Bubble_currentPart__P152423_mk(s); + s.tmp_1 = story_Bubble_currentPart__P179039_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1683; s.pc = 3; return s.tmp_1; case 3: @@ -32815,9 +32858,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = story_Bubble_setRate__P152425_mk(s); + s.tmp_2 = story_Bubble_setRate__P179041_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_3 = story_Bubble_currentPart__P152423_mk(s); + s.tmp_3 = story_Bubble_currentPart__P179039_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1684; s.pc = 5; return s.tmp_3; case 5: @@ -32829,7 +32872,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = story_Bubble_advanceLine__P152427_mk(s); + s.tmp_0 = story_Bubble_advanceLine__P179043_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1686; s.pc = 6; return s.tmp_0; case 6: @@ -32839,12 +32882,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_advancePart__P152426.info = {"start":8673,"length":275,"line":305,"column":8,"endLine":315,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"advancePart","argumentNames":["this"]} +story_Bubble_advancePart__P179042.info = {"start":8673,"length":275,"line":305,"column":8,"endLine":315,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"advancePart","argumentNames":["this"]} -function story_Bubble_advancePart__P152426_mk(s) { +function story_Bubble_advancePart__P179042_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_advancePart__P152426, depth: s.depth + 1, + parent: s, fn: story_Bubble_advancePart__P179042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32857,7 +32900,7 @@ function story_Bubble_advancePart__P152426_mk(s) { -function story_Bubble_advanceLine__P152427(s) { +function story_Bubble_advanceLine__P179043(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32872,14 +32915,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["lineIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["lineIndex"] = (s.tmp_1); - s.tmp_1 = story_Bubble_currentLine__P152422_mk(s); + s.tmp_1 = story_Bubble_currentLine__P179038_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1687; s.pc = 5; return s.tmp_1; case 5: @@ -32888,7 +32931,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["partIndex"] = (-1); - s.tmp_0 = story_Bubble_advancePart__P152426_mk(s); + s.tmp_0 = story_Bubble_advancePart__P179042_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1688; s.pc = 6; return s.tmp_0; case 6: @@ -32932,12 +32975,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_advanceLine__P152427.info = {"start":8958,"length":509,"line":317,"column":8,"endLine":333,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"advanceLine","argumentNames":["this"]} +story_Bubble_advanceLine__P179043.info = {"start":8958,"length":509,"line":317,"column":8,"endLine":333,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"advanceLine","argumentNames":["this"]} -function story_Bubble_advanceLine__P152427_mk(s) { +function story_Bubble_advanceLine__P179043_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_advanceLine__P152427, depth: s.depth + 1, + parent: s, fn: story_Bubble_advanceLine__P179043, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32955,7 +32998,7 @@ function story_Bubble_advanceLine__P152427_mk(s) { -function story_Bubble_currentLine__P152422(s) { +function story_Bubble_currentLine__P179038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32970,7 +33013,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = s.arg0.fields["pages"]; s.tmp_1 = r0; r0 = s.arg0.fields["pageIndex"]; @@ -32999,13 +33042,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -story_Bubble_currentLine__P152422.info = {"start":6294,"length":118,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"currentLine","argumentNames":["this"]} -story_Bubble_currentLine__P152422.isGetter = true; +story_Bubble_currentLine__P179038.info = {"start":6294,"length":118,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"currentLine","argumentNames":["this"]} +story_Bubble_currentLine__P179038.isGetter = true; -function story_Bubble_currentLine__P152422_mk(s) { +function story_Bubble_currentLine__P179038_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_currentLine__P152422, depth: s.depth + 1, + parent: s, fn: story_Bubble_currentLine__P179038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33022,7 +33065,7 @@ function story_Bubble_currentLine__P152422_mk(s) { -function story_Bubble_currentPage__P152421(s) { +function story_Bubble_currentPage__P179037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33037,7 +33080,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = s.arg0.fields["pages"]; s.tmp_0 = r0; r0 = s.arg0.fields["pageIndex"]; @@ -33046,13 +33089,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -story_Bubble_currentPage__P152421.info = {"start":6198,"length":86,"line":217,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"currentPage","argumentNames":["this"]} -story_Bubble_currentPage__P152421.isGetter = true; +story_Bubble_currentPage__P179037.info = {"start":6198,"length":86,"line":217,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"currentPage","argumentNames":["this"]} +story_Bubble_currentPage__P179037.isGetter = true; -function story_Bubble_currentPage__P152421_mk(s) { +function story_Bubble_currentPage__P179037_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_currentPage__P152421, depth: s.depth + 1, + parent: s, fn: story_Bubble_currentPage__P179037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33063,7 +33106,7 @@ function story_Bubble_currentPage__P152421_mk(s) { -function story_Bubble_setRate__P152425(s) { +function story_Bubble_setRate__P179041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33079,7 +33122,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -33090,12 +33133,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_setRate__P152425.info = {"start":8551,"length":112,"line":301,"column":8,"endLine":303,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"setRate","argumentNames":["this","charsPerSecond"]} +story_Bubble_setRate__P179041.info = {"start":8551,"length":112,"line":301,"column":8,"endLine":303,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"setRate","argumentNames":["this","charsPerSecond"]} -function story_Bubble_setRate__P152425_mk(s) { +function story_Bubble_setRate__P179041_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_setRate__P152425, depth: s.depth + 1, + parent: s, fn: story_Bubble_setRate__P179041, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33108,7 +33151,7 @@ function story_Bubble_setRate__P152425_mk(s) { -function story_Bubble_currentPart__P152423(s) { +function story_Bubble_currentPart__P179039(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33123,8 +33166,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); - s.tmp_1 = story_Bubble_currentLine__P152422_mk(s); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); + s.tmp_1 = story_Bubble_currentLine__P179038_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1669; s.pc = 3; return s.tmp_1; case 3: @@ -33135,7 +33178,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_3 = story_Bubble_currentLine__P152422_mk(s); + s.tmp_3 = story_Bubble_currentLine__P179038_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1670; s.pc = 4; return s.tmp_3; case 4: @@ -33152,13 +33195,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -story_Bubble_currentPart__P152423.info = {"start":6422,"length":118,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"currentPart","argumentNames":["this"]} -story_Bubble_currentPart__P152423.isGetter = true; +story_Bubble_currentPart__P179039.info = {"start":6422,"length":118,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"currentPart","argumentNames":["this"]} +story_Bubble_currentPart__P179039.isGetter = true; -function story_Bubble_currentPart__P152423_mk(s) { +function story_Bubble_currentPart__P179039_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_currentPart__P152423, depth: s.depth + 1, + parent: s, fn: story_Bubble_currentPart__P179039, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33173,7 +33216,7 @@ function story_Bubble_currentPart__P152423_mk(s) { -function story_Bubble_setAlign__P149695(s) { +function story_Bubble_setAlign__P176311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33190,19 +33233,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = (s.arg0).fields["leftAlign"] = (s.arg1); r0 = (s.arg0).fields["topAlign"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -story_Bubble_setAlign__P149695.info = {"start":3003,"length":115,"line":119,"column":8,"endLine":122,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"setAlign","argumentNames":["this","left","top"]} +story_Bubble_setAlign__P176311.info = {"start":3003,"length":115,"line":119,"column":8,"endLine":122,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"setAlign","argumentNames":["this","left","top"]} -function story_Bubble_setAlign__P149695_mk(s) { +function story_Bubble_setAlign__P176311_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_setAlign__P149695, depth: s.depth + 1, + parent: s, fn: story_Bubble_setAlign__P176311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33213,7 +33256,7 @@ function story_Bubble_setAlign__P149695_mk(s) { -function story_Bubble_constructor__P149691(s) { +function story_Bubble_constructor__P176307(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33230,13 +33273,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = (s.arg0).fields["relativeToCamera"] = (s.arg2); r0 = (s.arg0).fields["pagePauseLength"] = (1000); r0 = (s.arg0).fields["finalPagePauseLength"] = (1000); r0 = (s.arg0).fields["foregroundColor"] = (15); r0 = (s.arg0).fields["backgroundColor"] = (1); - s.tmp_0 = sprites_BaseSprite_constructor__P147807_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P174423_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1657; s.pc = 1; return s.tmp_0; @@ -33258,12 +33301,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_constructor__P149691.info = {"start":2353,"length":371,"line":89,"column":8,"endLine":105,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"inline","argumentNames":["this","z","relativeToCamera"]} +story_Bubble_constructor__P176307.info = {"start":2353,"length":371,"line":89,"column":8,"endLine":105,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"inline","argumentNames":["this","z","relativeToCamera"]} -function story_Bubble_constructor__P149691_mk(s) { +function story_Bubble_constructor__P176307_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_constructor__P149691, depth: s.depth + 1, + parent: s, fn: story_Bubble_constructor__P176307, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33276,7 +33319,7 @@ function story_Bubble_constructor__P149691_mk(s) { -function story_RectangleSprite_setDimensions__P149802(s) { +function story_RectangleSprite_setDimensions__P176418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33293,19 +33336,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_RectangleSprite__C149798_VT)) failedCast(r0); + if (!checkSubtype(r0, story_RectangleSprite__C176414_VT)) failedCast(r0); r0 = (s.arg0).fields["width"] = (s.arg1); r0 = (s.arg0).fields["height"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -story_RectangleSprite_setDimensions__P149802.info = {"start":1871,"length":122,"line":75,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"setDimensions","argumentNames":["this","width","height"]} +story_RectangleSprite_setDimensions__P176418.info = {"start":1871,"length":122,"line":75,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"setDimensions","argumentNames":["this","width","height"]} -function story_RectangleSprite_setDimensions__P149802_mk(s) { +function story_RectangleSprite_setDimensions__P176418_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_RectangleSprite_setDimensions__P149802, depth: s.depth + 1, + parent: s, fn: story_RectangleSprite_setDimensions__P176418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33316,7 +33359,7 @@ function story_RectangleSprite_setDimensions__P149802_mk(s) { -function story_TextSprite_getHeight__P149797(s) { +function story_TextSprite_getHeight__P176413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33331,13 +33374,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_TextSprite__C149793_VT)) failedCast(r0); + if (!checkSubtype(r0, story_TextSprite__C176409_VT)) failedCast(r0); r0 = s.arg0.fields["text"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_1 = if_charHeight_1_mk(s); - s.tmp_2 = image_getFontForText__P147694_mk(s); + s.tmp_2 = image_getFontForText__P174310_mk(s); r0 = s.arg0.fields["text"]; s.tmp_2.arg0 = r0; s.callLocIdx = 1831; s.pc = 4; return s.tmp_2; @@ -33364,12 +33407,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_TextSprite_getHeight__P149797.info = {"start":1404,"length":128,"line":57,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"getHeight","argumentNames":["this"]} +story_TextSprite_getHeight__P176413.info = {"start":1404,"length":128,"line":57,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"getHeight","argumentNames":["this"]} -function story_TextSprite_getHeight__P149797_mk(s) { +function story_TextSprite_getHeight__P176413_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_TextSprite_getHeight__P149797, depth: s.depth + 1, + parent: s, fn: story_TextSprite_getHeight__P176413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33382,7 +33425,7 @@ function story_TextSprite_getHeight__P149797_mk(s) { -function story_TextSprite_getWidth__P149796(s) { +function story_TextSprite_getWidth__P176412(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33397,13 +33440,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_TextSprite__C149793_VT)) failedCast(r0); + if (!checkSubtype(r0, story_TextSprite__C176409_VT)) failedCast(r0); r0 = s.arg0.fields["text"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_3 = image_getFontForText__P147694_mk(s); + s.tmp_3 = image_getFontForText__P174310_mk(s); r0 = s.arg0.fields["text"]; s.tmp_3.arg0 = r0; s.callLocIdx = 1829; s.pc = 4; return s.tmp_3; @@ -33436,12 +33479,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_TextSprite_getWidth__P149796.info = {"start":1249,"length":145,"line":51,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"getWidth","argumentNames":["this"]} +story_TextSprite_getWidth__P176412.info = {"start":1249,"length":145,"line":51,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"getWidth","argumentNames":["this"]} -function story_TextSprite_getWidth__P149796_mk(s) { +function story_TextSprite_getWidth__P176412_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_TextSprite_getWidth__P149796, depth: s.depth + 1, + parent: s, fn: story_TextSprite_getWidth__P176412, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33457,7 +33500,7 @@ function story_TextSprite_getWidth__P149796_mk(s) { -function story_TextSprite_setText__P149795(s) { +function story_TextSprite_setText__P176411(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33473,18 +33516,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_TextSprite__C149793_VT)) failedCast(r0); + if (!checkSubtype(r0, story_TextSprite__C176409_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -story_TextSprite_setText__P149795.info = {"start":1176,"length":63,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"setText","argumentNames":["this","text"]} +story_TextSprite_setText__P176411.info = {"start":1176,"length":63,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"setText","argumentNames":["this","text"]} -function story_TextSprite_setText__P149795_mk(s) { +function story_TextSprite_setText__P176411_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_TextSprite_setText__P149795, depth: s.depth + 1, + parent: s, fn: story_TextSprite_setText__P176411, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33494,7 +33537,7 @@ function story_TextSprite_setText__P149795_mk(s) { -function story_ShapeSprite_attachToTask__P149789(s) { +function story_ShapeSprite_attachToTask__P176405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33510,18 +33553,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_ShapeSprite__C149782_VT)) failedCast(r0); + if (!checkSubtype(r0, story_ShapeSprite__C176398_VT)) failedCast(r0); r0 = (s.arg0).fields["parent"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -story_ShapeSprite_attachToTask__P149789.info = {"start":397,"length":68,"line":18,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"attachToTask","argumentNames":["this","task"]} +story_ShapeSprite_attachToTask__P176405.info = {"start":397,"length":68,"line":18,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"attachToTask","argumentNames":["this","task"]} -function story_ShapeSprite_attachToTask__P149789_mk(s) { +function story_ShapeSprite_attachToTask__P176405_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_ShapeSprite_attachToTask__P149789, depth: s.depth + 1, + parent: s, fn: story_ShapeSprite_attachToTask__P176405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33531,7 +33574,7 @@ function story_ShapeSprite_attachToTask__P149789_mk(s) { -function story_ShapeSprite_setColor__P149788(s) { +function story_ShapeSprite_setColor__P176404(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33547,18 +33590,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_ShapeSprite__C149782_VT)) failedCast(r0); + if (!checkSubtype(r0, story_ShapeSprite__C176398_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -story_ShapeSprite_setColor__P149788.info = {"start":320,"length":67,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"setColor","argumentNames":["this","color"]} +story_ShapeSprite_setColor__P176404.info = {"start":320,"length":67,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"setColor","argumentNames":["this","color"]} -function story_ShapeSprite_setColor__P149788_mk(s) { +function story_ShapeSprite_setColor__P176404_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_ShapeSprite_setColor__P149788, depth: s.depth + 1, + parent: s, fn: story_ShapeSprite_setColor__P176404, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33568,7 +33611,7 @@ function story_ShapeSprite_setColor__P149788_mk(s) { -function story_ShapeSprite_constructor__P149787(s) { +function story_ShapeSprite_constructor__P176403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33584,8 +33627,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_ShapeSprite__C149782_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P147807_mk(s); + if (!checkSubtype(r0, story_ShapeSprite__C176398_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P174423_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1822; s.pc = 1; return s.tmp_0; @@ -33598,12 +33641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_ShapeSprite_constructor__P149787.info = {"start":173,"length":137,"line":7,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"inline","argumentNames":["this","z"]} +story_ShapeSprite_constructor__P176403.info = {"start":173,"length":137,"line":7,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"inline","argumentNames":["this","z"]} -function story_ShapeSprite_constructor__P149787_mk(s) { +function story_ShapeSprite_constructor__P176403_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_ShapeSprite_constructor__P149787, depth: s.depth + 1, + parent: s, fn: story_ShapeSprite_constructor__P176403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33614,7 +33657,7 @@ function story_ShapeSprite_constructor__P149787_mk(s) { -function sprites_setDataSprite__P149660(s) { +function sprites_setDataSprite__P176276(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33624,7 +33667,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___162138 = undefined; + s.d___188754 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33651,31 +33694,31 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_4 = Sprite_data__P147995_mk(s); + s.tmp_4 = Sprite_data__P174611_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1648; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; - s.d___162138 = (r0); - r0 = pxsim_pxtrt.mapSetGeneric(s.d___162138, s.arg1, s.arg2); + s.d___188754 = (r0); + r0 = pxsim_pxtrt.mapSetGeneric(s.d___188754, s.arg1, s.arg2); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_setDataSprite__P149660.info = {"start":3072,"length":176,"line":99,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"setDataSprite","argumentNames":["sprite","name","value"]} +sprites_setDataSprite__P176276.info = {"start":3072,"length":176,"line":99,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"setDataSprite","argumentNames":["sprite","name","value"]} -function sprites_setDataSprite__P149660_mk(s) { +function sprites_setDataSprite__P176276_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_setDataSprite__P149660, depth: s.depth + 1, + parent: s, fn: sprites_setDataSprite__P176276, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___162138: undefined, + d___188754: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33685,7 +33728,7 @@ function sprites_setDataSprite__P149660_mk(s) { -function Sprite_data__P147995(s) { +function Sprite_data__P174611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33700,7 +33743,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33719,13 +33762,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P147995.info = {"start":4477,"length":92,"line":166,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P147995.isGetter = true; +Sprite_data__P174611.info = {"start":4477,"length":92,"line":166,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P174611.isGetter = true; -function Sprite_data__P147995_mk(s) { +function Sprite_data__P174611_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P147995, depth: s.depth + 1, + parent: s, fn: Sprite_data__P174611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33739,7 +33782,7 @@ function Sprite_data__P147995_mk(s) { -function Sprite_follow__P148045(s) { +function Sprite_follow__P174661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33749,9 +33792,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sc___162151 = undefined; - s.lastTime___162160 = undefined; - s.fs___162311 = undefined; + s.sc___188767 = undefined; + s.lastTime___188776 = undefined; + s.fs___188927 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33760,7 +33803,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = (s.arg1 === s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -33768,12 +33811,12 @@ switch (step) { { step = 13; continue; } case 1: case 2: - s.tmp_1 = game_currentScene__P148484_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 475; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.sc___162151 = (r0); - r0 = s.sc___162151.fields["followingSprites"]; + s.sc___188767 = (r0); + r0 = s.sc___188767.fields["followingSprites"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -33781,25 +33824,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = r0 = s.sc___162151; + s.tmp_3 = r0 = s.sc___188767; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["followingSprites"] = (s.tmp_4); r0 = pxsim_pxtrt.mklocRef(); - s.lastTime___162160 = (r0); - s.tmp_0 = r0 = s.lastTime___162160; - s.tmp_2 = game_runtime__P148500_mk(s); + s.lastTime___188776 = (r0); + s.tmp_0 = r0 = s.lastTime___188776; + s.tmp_2 = game_runtime__P175116_mk(s); s.callLocIdx = 476; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtcore_mkAction(2, inline__P162166); + r0 = pxsim_pxtcore_mkAction(2, inline__P188782); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.lastTime___162160); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.sc___162151); - s.tmp_1 = control_EventContext_registerFrameHandler__P146329_mk(s); - r0 = s.sc___162151.fields["eventContext"]; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.lastTime___188776); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.sc___188767); + s.tmp_1 = control_EventContext_registerFrameHandler__P172945_mk(s); + r0 = s.sc___188767.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 14; s.tmp_1.arg2 = s.tmp_0; @@ -33808,17 +33851,17 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkAction(1, inline__P162313); + r0 = pxsim_pxtcore_mkAction(1, inline__P188929); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFind__P146044_mk(s); - r0 = s.sc___162151.fields["followingSprites"]; + s.tmp_1 = helpers_arrayFind__P172660_mk(s); + r0 = s.sc___188767.fields["followingSprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 507; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.fs___162311 = (r0); + s.fs___188927 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -33836,18 +33879,18 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 9; continue; } - r0 = pxsim_numops_toBoolDecr(s.fs___162311); + r0 = pxsim_numops_toBoolDecr(s.fs___188927); if (!r0) { step = 7; continue; } - r0 = s.sc___162151.fields["followingSprites"]; + r0 = s.sc___188767.fields["followingSprites"]; s.tmp_4 = r0; - r0 = pxsim_Array_.removeElement(s.tmp_4, s.fs___162311); - s.tmp_0 = Sprite_vx__P147984_mk(s); + r0 = pxsim_Array_.removeElement(s.tmp_4, s.fs___188927); + s.tmp_0 = Sprite_vx__P174600_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 508; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = Sprite_vy__P147986_mk(s); + s.tmp_0 = Sprite_vy__P174602_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 509; s.pc = 19; return s.tmp_0; @@ -33857,15 +33900,15 @@ switch (step) { case 8: { step = 12; continue; } case 9: - r0 = pxsim_numops_toBoolDecr(s.fs___162311); + r0 = pxsim_numops_toBoolDecr(s.fs___188927); 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 = 10; continue; } - r0 = pxsim_pxtcore_mkClassInstance(sprites_FollowingSprite__C147919_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_FollowingSprite__C174535_VT); s.tmp_2 = r0; - s.tmp_3 = sprites_FollowingSprite_constructor__P147920_mk(s); + s.tmp_3 = sprites_FollowingSprite_constructor__P174536_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg0; s.tmp_3.arg2 = s.arg1; @@ -33874,14 +33917,14 @@ switch (step) { s.callLocIdx = 510; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - r0 = s.sc___162151.fields["followingSprites"]; + r0 = s.sc___188767.fields["followingSprites"]; s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_4, s.tmp_2); { step = 11; continue; } case 10: - r0 = (s.fs___162311).fields["target"] = (s.arg1); - r0 = (s.fs___162311).fields["rate"] = (s.arg2); - r0 = (s.fs___162311).fields["turnRate"] = (s.arg3); + r0 = (s.fs___188927).fields["target"] = (s.arg1); + r0 = (s.fs___188927).fields["rate"] = (s.arg2); + r0 = (s.fs___188927).fields["turnRate"] = (s.arg3); case 11: case 12: case 13: @@ -33889,21 +33932,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_follow__P148045.info = {"start":31120,"length":3303,"line":929,"column":4,"endLine":1012,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"follow","argumentNames":["this","target","speed","turnRate"]} +Sprite_follow__P174661.info = {"start":31120,"length":3303,"line":929,"column":4,"endLine":1012,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"follow","argumentNames":["this","target","speed","turnRate"]} -function Sprite_follow__P148045_mk(s) { +function Sprite_follow__P174661_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_follow__P148045, depth: s.depth + 1, + parent: s, fn: Sprite_follow__P174661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - sc___162151: undefined, - lastTime___162160: undefined, - fs___162311: undefined, + sc___188767: undefined, + lastTime___188776: undefined, + fs___188927: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33914,7 +33957,7 @@ function Sprite_follow__P148045_mk(s) { -function inline__P162166(s) { +function inline__P188782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33924,45 +33967,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currTime___162167 = undefined; - s.timeDiff___162170 = undefined; - s.destroyedSprites___162176 = undefined; - s.tmp_0 = game_runtime__P148500_mk(s); + s.currTime___188783 = undefined; + s.timeDiff___188786 = undefined; + s.destroyedSprites___188792 = undefined; + s.tmp_0 = game_runtime__P175116_mk(s); s.callLocIdx = 477; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.currTime___162167 = (r0); - s.tmp_1 = r0 = s.currTime___162167; + s.currTime___188783 = (r0); + s.tmp_1 = r0 = s.currTime___188783; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 / 1000); - s.timeDiff___162170 = (r0); + s.timeDiff___188786 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.destroyedSprites___162176 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.destroyedSprites___162176, false); - r0 = pxsim_pxtcore_mkAction(2, inline__P162180); + s.destroyedSprites___188792 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.destroyedSprites___188792, false); + r0 = pxsim_pxtcore_mkAction(2, inline__P188796); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.destroyedSprites___162176); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.timeDiff___162170); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.destroyedSprites___188792); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.timeDiff___188786); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); r0 = s.caps[1].fields["followingSprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 504; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.caps[0], s.currTime___162167); - r0 = pxsim_pxtrt_ldlocRef(s.destroyedSprites___162176); + r0 = pxsim_pxtrt_stlocRef(s.caps[0], s.currTime___188783); + r0 = pxsim_pxtrt_ldlocRef(s.destroyedSprites___188792); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_1 = r0 = s.caps[1]; - s.tmp_3 = helpers_arrayFilter__P146043_mk(s); + s.tmp_3 = helpers_arrayFilter__P172659_mk(s); r0 = s.caps[1].fields["followingSprites"]; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = inline__P162295; + s.tmp_3.arg1 = inline__P188911; s.callLocIdx = 505; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; @@ -33974,27 +34017,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P162166.info = {"start":31449,"length":2372,"line":937,"column":79,"endLine":989,"endColumn":13,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":[]} +inline__P188782.info = {"start":31449,"length":2372,"line":937,"column":79,"endLine":989,"endColumn":13,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":[]} -function inline__P162166_mk(s) { +function inline__P188782_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P162166, depth: s.depth + 1, + parent: s, fn: inline__P188782, 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, - currTime___162167: undefined, - timeDiff___162170: undefined, - destroyedSprites___162176: undefined, + currTime___188783: undefined, + timeDiff___188786: undefined, + destroyedSprites___188792: undefined, } } -function inline__P162180(s) { +function inline__P188796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34004,18 +34047,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.target___162183 = undefined; - s.self___162184 = undefined; - s.turnRate___162185 = undefined; - s.rate___162186 = undefined; - s.dx___162200 = undefined; - s.dy___162206 = undefined; - s.maxMomentumDiff___162233 = undefined; - s.angleToTarget___162240 = undefined; - s.targetTrajectoryVx___162245 = undefined; - s.targetTrajectoryVy___162251 = undefined; - s.diffVx___162257 = undefined; - s.diffVy___162262 = undefined; + s.target___188799 = undefined; + s.self___188800 = undefined; + s.turnRate___188801 = undefined; + s.rate___188802 = undefined; + s.dx___188816 = undefined; + s.dy___188822 = undefined; + s.maxMomentumDiff___188849 = undefined; + s.angleToTarget___188856 = undefined; + s.targetTrajectoryVx___188861 = undefined; + s.targetTrajectoryVy___188867 = undefined; + s.diffVx___188873 = undefined; + s.diffVy___188878 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -34033,7 +34076,7 @@ switch (step) { } case 8: r0 = s.retval; - s.target___162183 = (r0); + s.target___188799 = (r0); s.tmp_2 = if_self_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -34046,7 +34089,7 @@ switch (step) { } case 9: r0 = s.retval; - s.self___162184 = (r0); + s.self___188800 = (r0); s.tmp_3 = if_turnRate_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -34059,7 +34102,7 @@ switch (step) { } case 10: r0 = s.retval; - s.turnRate___162185 = (r0); + s.turnRate___188801 = (r0); s.tmp_4 = if_rate_1_mk(s); s.tmp_4.arg0 = s.tmp_1; if (!s.tmp_4.arg0.vtable.iface) { @@ -34072,10 +34115,10 @@ switch (step) { } case 11: r0 = s.retval; - s.rate___162186 = (r0); - r0 = s.self___162184.fields["flags"]; + s.rate___188802 = (r0); + r0 = s.self___188800.fields["flags"]; s.tmp_2 = r0; - r0 = s.target___162183.fields["flags"]; + r0 = s.target___188799.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_2 | s.tmp_3); s.tmp_1 = r0; @@ -34083,14 +34126,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_vx__P147984_mk(s); - s.tmp_4.arg0 = s.self___162184; + s.tmp_4 = Sprite_vx__P174600_mk(s); + s.tmp_4.arg0 = s.self___188800; s.tmp_4.arg1 = 0; s.callLocIdx = 482; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.tmp_0 = Sprite_vy__P147986_mk(s); - s.tmp_0.arg0 = s.self___162184; + s.tmp_0 = Sprite_vy__P174602_mk(s); + s.tmp_0.arg0 = s.self___188800; s.tmp_0.arg1 = 0; s.callLocIdx = 483; s.pc = 13; return s.tmp_0; case 13: @@ -34099,36 +34142,36 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_1 = Sprite_x__P147979_mk(s); - s.tmp_1.arg0 = s.target___162183; + s.tmp_1 = Sprite_x__P174595_mk(s); + s.tmp_1.arg0 = s.target___188799; s.callLocIdx = 484; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_x__P147979_mk(s); - s.tmp_3.arg0 = s.self___162184; + s.tmp_3 = Sprite_x__P174595_mk(s); + s.tmp_3.arg0 = s.self___188800; s.callLocIdx = 485; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 - s.tmp_2); - s.dx___162200 = (r0); - s.tmp_1 = Sprite_y__P147981_mk(s); - s.tmp_1.arg0 = s.target___162183; + s.dx___188816 = (r0); + s.tmp_1 = Sprite_y__P174597_mk(s); + s.tmp_1.arg0 = s.target___188799; s.callLocIdx = 486; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_y__P147981_mk(s); - s.tmp_3.arg0 = s.self___162184; + s.tmp_3 = Sprite_y__P174597_mk(s); + s.tmp_3.arg0 = s.self___188800; s.callLocIdx = 487; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 - s.tmp_2); - s.dy___162206 = (r0); - s.tmp_2 = Math_abs__P146060_mk(s); - s.tmp_2.arg0 = s.dx___162200; + s.dy___188822 = (r0); + s.tmp_2 = Math_abs__P172676_mk(s); + s.tmp_2.arg0 = s.dx___188816; s.callLocIdx = 488; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; @@ -34140,8 +34183,8 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_4 = Math_abs__P146060_mk(s); - s.tmp_4.arg0 = s.dy___162206; + s.tmp_4 = Math_abs__P172676_mk(s); + s.tmp_4.arg0 = s.dy___188822; s.callLocIdx = 489; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; @@ -34152,10 +34195,10 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } - s.tmp_6 = Sprite_x__P147980_mk(s); - s.tmp_6.arg0 = s.self___162184; - s.tmp_7 = Sprite_x__P147979_mk(s); - s.tmp_7.arg0 = s.target___162183; + s.tmp_6 = Sprite_x__P174596_mk(s); + s.tmp_6.arg0 = s.self___188800; + s.tmp_7 = Sprite_x__P174595_mk(s); + s.tmp_7.arg0 = s.target___188799; s.callLocIdx = 490; s.pc = 21; return s.tmp_7; case 21: r0 = s.retval; @@ -34163,10 +34206,10 @@ switch (step) { s.callLocIdx = 491; s.pc = 20; return s.tmp_6; case 20: r0 = s.retval; - s.tmp_0 = Sprite_y__P147982_mk(s); - s.tmp_0.arg0 = s.self___162184; - s.tmp_1 = Sprite_y__P147981_mk(s); - s.tmp_1.arg0 = s.target___162183; + s.tmp_0 = Sprite_y__P174598_mk(s); + s.tmp_0.arg0 = s.self___188800; + s.tmp_1 = Sprite_y__P174597_mk(s); + s.tmp_1.arg0 = s.target___188799; s.callLocIdx = 492; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -34174,14 +34217,14 @@ switch (step) { s.callLocIdx = 493; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = Sprite_vx__P147984_mk(s); - s.tmp_0.arg0 = s.self___162184; + s.tmp_0 = Sprite_vx__P174600_mk(s); + s.tmp_0.arg0 = s.self___188800; s.tmp_0.arg1 = 0; s.callLocIdx = 494; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = Sprite_vy__P147986_mk(s); - s.tmp_0.arg0 = s.self___162184; + s.tmp_0 = Sprite_vy__P174602_mk(s); + s.tmp_0.arg0 = s.self___188800; s.tmp_0.arg1 = 0; s.callLocIdx = 495; s.pc = 25; return s.tmp_0; case 25: @@ -34189,54 +34232,54 @@ switch (step) { { step = 7; continue; } case 5: case 6: - r0 = (s.caps[1] * s.turnRate___162185); + r0 = (s.caps[1] * s.turnRate___188801); s.tmp_0 = r0; - r0 = (s.rate___162186 / 50); + r0 = (s.rate___188802 / 50); s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.maxMomentumDiff___162233 = (r0); - r0 = pxsim.Math_.atan2(s.dy___162206, s.dx___162200); - s.angleToTarget___162240 = (r0); - r0 = pxsim.Math_.cos(s.angleToTarget___162240); - s.tmp_0 = r0; - r0 = (s.tmp_0 * s.rate___162186); - s.targetTrajectoryVx___162245 = (r0); - r0 = pxsim.Math_.sin(s.angleToTarget___162240); - s.tmp_0 = r0; - r0 = (s.tmp_0 * s.rate___162186); - s.targetTrajectoryVy___162251 = (r0); - s.tmp_0 = r0 = s.targetTrajectoryVx___162245; - s.tmp_2 = Sprite_vx__P147983_mk(s); - s.tmp_2.arg0 = s.self___162184; + s.maxMomentumDiff___188849 = (r0); + r0 = pxsim.Math_.atan2(s.dy___188822, s.dx___188816); + s.angleToTarget___188856 = (r0); + r0 = pxsim.Math_.cos(s.angleToTarget___188856); + s.tmp_0 = r0; + r0 = (s.tmp_0 * s.rate___188802); + s.targetTrajectoryVx___188861 = (r0); + r0 = pxsim.Math_.sin(s.angleToTarget___188856); + s.tmp_0 = r0; + r0 = (s.tmp_0 * s.rate___188802); + s.targetTrajectoryVy___188867 = (r0); + s.tmp_0 = r0 = s.targetTrajectoryVx___188861; + s.tmp_2 = Sprite_vx__P174599_mk(s); + s.tmp_2.arg0 = s.self___188800; s.callLocIdx = 496; s.pc = 26; return s.tmp_2; case 26: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.diffVx___162257 = (r0); - s.tmp_0 = r0 = s.targetTrajectoryVy___162251; - s.tmp_2 = Sprite_vy__P147985_mk(s); - s.tmp_2.arg0 = s.self___162184; + s.diffVx___188873 = (r0); + s.tmp_0 = r0 = s.targetTrajectoryVy___188867; + s.tmp_2 = Sprite_vy__P174601_mk(s); + s.tmp_2.arg0 = s.self___188800; s.callLocIdx = 497; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.diffVy___162262 = (r0); - s.tmp_0 = Sprite_vx__P147984_mk(s); - s.tmp_1 = r0 = s.self___162184; + s.diffVy___188878 = (r0); + s.tmp_0 = Sprite_vx__P174600_mk(s); + s.tmp_1 = r0 = s.self___188800; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_vx__P147983_mk(s); + s.tmp_3 = Sprite_vx__P174599_mk(s); s.tmp_3.arg0 = s.tmp_1; s.callLocIdx = 499; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = Math_clamp__P146059_mk(s); - r0 = (0 - s.maxMomentumDiff___162233); + s.tmp_5 = Math_clamp__P172675_mk(s); + r0 = (0 - s.maxMomentumDiff___188849); s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = s.maxMomentumDiff___162233; - s.tmp_5.arg2 = s.diffVx___162257; + s.tmp_5.arg1 = s.maxMomentumDiff___188849; + s.tmp_5.arg2 = s.diffVx___188873; s.callLocIdx = 498; s.pc = 30; return s.tmp_5; case 30: r0 = s.retval; @@ -34246,20 +34289,20 @@ switch (step) { s.callLocIdx = 500; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.tmp_0 = Sprite_vy__P147986_mk(s); - s.tmp_1 = r0 = s.self___162184; + s.tmp_0 = Sprite_vy__P174602_mk(s); + s.tmp_1 = r0 = s.self___188800; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_vy__P147985_mk(s); + s.tmp_3 = Sprite_vy__P174601_mk(s); s.tmp_3.arg0 = s.tmp_1; s.callLocIdx = 502; s.pc = 32; return s.tmp_3; case 32: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = Math_clamp__P146059_mk(s); - r0 = (0 - s.maxMomentumDiff___162233); + s.tmp_5 = Math_clamp__P172675_mk(s); + r0 = (0 - s.maxMomentumDiff___188849); s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = s.maxMomentumDiff___162233; - s.tmp_5.arg2 = s.diffVy___162262; + s.tmp_5.arg1 = s.maxMomentumDiff___188849; + s.tmp_5.arg2 = s.diffVy___188878; s.callLocIdx = 501; s.pc = 33; return s.tmp_5; case 33: r0 = s.retval; @@ -34274,12 +34317,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P162180.info = {"start":31660,"length":1810,"line":942,"column":44,"endLine":980,"endColumn":17,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["fs"]} +inline__P188796.info = {"start":31660,"length":1810,"line":942,"column":44,"endLine":980,"endColumn":17,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["fs"]} -function inline__P162180_mk(s) { +function inline__P188796_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P162180, depth: s.depth + 1, + parent: s, fn: inline__P188796, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34289,18 +34332,18 @@ function inline__P162180_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - target___162183: undefined, - self___162184: undefined, - turnRate___162185: undefined, - rate___162186: undefined, - dx___162200: undefined, - dy___162206: undefined, - maxMomentumDiff___162233: undefined, - angleToTarget___162240: undefined, - targetTrajectoryVx___162245: undefined, - targetTrajectoryVy___162251: undefined, - diffVx___162257: undefined, - diffVy___162262: undefined, + target___188799: undefined, + self___188800: undefined, + turnRate___188801: undefined, + rate___188802: undefined, + dx___188816: undefined, + dy___188822: undefined, + maxMomentumDiff___188849: undefined, + angleToTarget___188856: undefined, + targetTrajectoryVx___188861: undefined, + targetTrajectoryVy___188867: undefined, + diffVx___188873: undefined, + diffVy___188878: undefined, arg0: undefined, } } @@ -34308,7 +34351,7 @@ function inline__P162180_mk(s) { -function inline__P162295(s) { +function inline__P188911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34338,12 +34381,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P162295.info = {"start":33720,"length":67,"line":987,"column":32,"endLine":987,"endColumn":99,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["fs"]} +inline__P188911.info = {"start":33720,"length":67,"line":987,"column":32,"endLine":987,"endColumn":99,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["fs"]} -function inline__P162295_mk(s) { +function inline__P188911_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P162295, depth: s.depth + 1, + parent: s, fn: inline__P188911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34357,7 +34400,7 @@ function inline__P162295_mk(s) { -function inline__P162313(s) { +function inline__P188929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34380,12 +34423,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P162313.info = {"start":33879,"length":27,"line":992,"column":44,"endLine":992,"endColumn":71,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["fs"]} +inline__P188929.info = {"start":33879,"length":27,"line":992,"column":44,"endLine":992,"endColumn":71,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["fs"]} -function inline__P162313_mk(s) { +function inline__P188929_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P162313, depth: s.depth + 1, + parent: s, fn: inline__P188929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34396,7 +34439,7 @@ function inline__P162313_mk(s) { -function game_runtime__P148500(s) { +function game_runtime__P175116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34406,7 +34449,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = game_currentScene__P148484_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 1213; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -34415,12 +34458,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_runtime__P148500.info = {"start":10291,"length":81,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"runtime","argumentNames":[]} +game_runtime__P175116.info = {"start":10291,"length":81,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"runtime","argumentNames":[]} -function game_runtime__P148500_mk(s) { +function game_runtime__P175116_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_runtime__P148500, depth: s.depth + 1, + parent: s, fn: game_runtime__P175116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34430,7 +34473,7 @@ function game_runtime__P148500_mk(s) { -function sprites_FollowingSprite_constructor__P147920(s) { +function sprites_FollowingSprite_constructor__P174536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34449,7 +34492,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_FollowingSprite__C147919_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_FollowingSprite__C174535_VT)) failedCast(r0); r0 = (s.arg0).fields["self"] = (s.arg1); r0 = (s.arg0).fields["target"] = (s.arg2); r0 = (s.arg0).fields["rate"] = (s.arg3); @@ -34458,12 +34501,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_FollowingSprite_constructor__P147920.info = {"start":401,"length":163,"line":18,"column":8,"endLine":23,"endColumn":13,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["this","self","target","rate","turnRate"]} +sprites_FollowingSprite_constructor__P174536.info = {"start":401,"length":163,"line":18,"column":8,"endLine":23,"endColumn":13,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["this","self","target","rate","turnRate"]} -function sprites_FollowingSprite_constructor__P147920_mk(s) { +function sprites_FollowingSprite_constructor__P174536_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_FollowingSprite_constructor__P147920, depth: s.depth + 1, + parent: s, fn: sprites_FollowingSprite_constructor__P174536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34476,7 +34519,7 @@ function sprites_FollowingSprite_constructor__P147920_mk(s) { -function helpers_arrayFind__P146044(s) { +function helpers_arrayFind__P172660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34486,28 +34529,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___162362 = undefined; - s.i___162365 = undefined; - s.v___162370 = undefined; + s.len___188978 = undefined; + s.i___188981 = undefined; + s.v___188986 = 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___162362 = (r0); - s.i___162365 = (0); + s.len___188978 = (r0); + s.i___188981 = (0); case 1: - r0 = (s.i___162365 < s.len___162362); + r0 = (s.i___188981 < s.len___188978); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___162365); - s.v___162370 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___188981); + s.v___188986 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___162370; - s.tmp_1.arg1 = s.i___162365; + s.tmp_1.arg0 = s.v___188986; + s.tmp_1.arg1 = s.i___188981; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 8; s.pc = 6; return s.tmp_1; case 6: @@ -34515,12 +34558,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = s.v___162370; + r0 = s.v___188986; { step = 5; continue; } case 2: case 3: - r0 = (s.i___162365 + 1); - s.i___162365 = (r0); + r0 = (s.i___188981 + 1); + s.i___188981 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -34528,18 +34571,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayFind__P146044.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} +helpers_arrayFind__P172660.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} -function helpers_arrayFind__P146044_mk(s) { +function helpers_arrayFind__P172660_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFind__P146044, depth: s.depth + 1, + parent: s, fn: helpers_arrayFind__P172660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___162362: undefined, - i___162365: undefined, - v___162370: undefined, + len___188978: undefined, + i___188981: undefined, + v___188986: undefined, arg0: undefined, arg1: undefined, } } @@ -34548,7 +34591,7 @@ function helpers_arrayFind__P146044_mk(s) { -function sprites_onOverlap__P148062(s) { +function sprites_onOverlap__P174678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34558,10 +34601,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sc___162396 = undefined; - s.overlapHandlers___162399 = undefined; - s.overlapMap___162402 = undefined; - s.associate___162405 = undefined; + s.sc___189012 = undefined; + s.overlapHandlers___189015 = undefined; + s.overlapMap___189018 = undefined; + s.associate___189021 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34595,21 +34638,21 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_4 = game_currentScene__P148484_mk(s); + s.tmp_4 = game_currentScene__P175100_mk(s); s.callLocIdx = 555; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - s.sc___162396 = (r0); - r0 = s.sc___162396.fields["overlapHandlers"]; - s.overlapHandlers___162399 = (r0); - r0 = s.sc___162396.fields["overlapMap"]; - s.overlapMap___162402 = (r0); - r0 = pxsim_pxtcore_mkAction(1, associate__P162405); + s.sc___189012 = (r0); + r0 = s.sc___189012.fields["overlapHandlers"]; + s.overlapHandlers___189015 = (r0); + r0 = s.sc___189012.fields["overlapMap"]; + s.overlapMap___189018 = (r0); + r0 = pxsim_pxtcore_mkAction(1, associate__P189021); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overlapMap___162402); - s.associate___162405 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overlapMap___189018); + s.associate___189021 = (s.tmp_0); s.tmp_1 = lambda_3_mk(s); - s.tmp_1.argL = s.associate___162405; + s.tmp_1.argL = s.associate___189021; s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; setupLambda(s.tmp_1, s.tmp_1.argL); @@ -34617,16 +34660,16 @@ switch (step) { case 9: r0 = s.retval; s.tmp_0 = lambda_3_mk(s); - s.tmp_0.argL = s.associate___162405; + s.tmp_0.argL = s.associate___189021; s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 557; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_OverlapHandler__C148344_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_OverlapHandler__C174960_VT); s.tmp_0 = r0; - s.tmp_1 = scene_OverlapHandler_constructor__P148345_mk(s); + s.tmp_1 = scene_OverlapHandler_constructor__P174961_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -34634,28 +34677,28 @@ switch (step) { s.callLocIdx = 558; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.overlapHandlers___162399, s.tmp_0); + r0 = pxsim_Array__push(s.overlapHandlers___189015, s.tmp_0); case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_onOverlap__P148062.info = {"start":1605,"length":755,"line":50,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlap","argumentNames":["kind","otherKind","handler"]} +sprites_onOverlap__P174678.info = {"start":1605,"length":755,"line":50,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlap","argumentNames":["kind","otherKind","handler"]} -function sprites_onOverlap__P148062_mk(s) { +function sprites_onOverlap__P174678_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_onOverlap__P148062, depth: s.depth + 1, + parent: s, fn: sprites_onOverlap__P174678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - sc___162396: undefined, - overlapHandlers___162399: undefined, - overlapMap___162402: undefined, - associate___162405: undefined, + sc___189012: undefined, + overlapHandlers___189015: undefined, + overlapMap___189018: undefined, + associate___189021: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34665,7 +34708,7 @@ function sprites_onOverlap__P148062_mk(s) { -function associate__P162405(s) { +function associate__P189021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34702,12 +34745,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -associate__P162405.info = {"start":1942,"length":172,"line":56,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"associate","argumentNames":["a","b"]} +associate__P189021.info = {"start":1942,"length":172,"line":56,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"associate","argumentNames":["a","b"]} -function associate__P162405_mk(s) { +function associate__P189021_mk(s) { checkStack(s.depth); return { - parent: s, fn: associate__P162405, depth: s.depth + 1, + parent: s, fn: associate__P189021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34723,7 +34766,7 @@ function associate__P162405_mk(s) { -function scene_OverlapHandler_constructor__P148345(s) { +function scene_OverlapHandler_constructor__P174961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34741,7 +34784,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_OverlapHandler__C148344_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_OverlapHandler__C174960_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg1); r0 = (s.arg0).fields["otherKind"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -34749,12 +34792,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_OverlapHandler_constructor__P148345.info = {"start":655,"length":171,"line":22,"column":8,"endLine":26,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","kind","otherKind","handler"]} +scene_OverlapHandler_constructor__P174961.info = {"start":655,"length":171,"line":22,"column":8,"endLine":26,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","kind","otherKind","handler"]} -function scene_OverlapHandler_constructor__P148345_mk(s) { +function scene_OverlapHandler_constructor__P174961_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_OverlapHandler_constructor__P148345, depth: s.depth + 1, + parent: s, fn: scene_OverlapHandler_constructor__P174961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34766,7 +34809,7 @@ function scene_OverlapHandler_constructor__P148345_mk(s) { -function Make_Key_for__P150024(s) { +function Make_Key_for__P201245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34780,65 +34823,65 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = sprites_create__P147921_mk(s); - r0 = pxsim.image.ofBuffer(_hex152925); + s.tmp_0 = sprites_create__P174537_mk(s); + r0 = pxsim.image.ofBuffer(_hex201278); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.Key___150023; - s.callLocIdx = 132; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = globals.Key___201058; + s.callLocIdx = 133; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - globals.KKey___150025 = (r0); - s.tmp_0 = tiles_placeOnRandomTile__P148308_mk(s); - s.tmp_0.arg0 = globals.KKey___150025; - s.tmp_1 = helpers_getTileByName__P148815_mk(s); + globals.KKey___201274 = (r0); + s.tmp_0 = tiles_placeOnRandomTile__P174924_mk(s); + s.tmp_0.arg0 = globals.KKey___201274; + s.tmp_1 = helpers_getTileByName__P175431_mk(s); s.tmp_1.arg0 = "myTile2"; - s.callLocIdx = 133; s.pc = 3; return s.tmp_1; + s.callLocIdx = 134; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 134; s.pc = 2; return s.tmp_0; + s.callLocIdx = 135; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tiles_coverAllTiles__P149888_mk(s); - s.tmp_1 = helpers_getTileByName__P148815_mk(s); + s.tmp_0 = tiles_coverAllTiles__P176504_mk(s); + s.tmp_1 = helpers_getTileByName__P175431_mk(s); s.tmp_1.arg0 = "myTile2"; - s.callLocIdx = 135; s.pc = 5; return s.tmp_1; + s.callLocIdx = 136; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.floorDarkDiamond___149399; - s.callLocIdx = 136; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = globals.floorDarkDiamond___176015; + s.callLocIdx = 137; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_setDataString__P149656_mk(s); - s.tmp_0.arg0 = globals.KKey___150025; + s.tmp_0 = sprites_setDataString__P176272_mk(s); + s.tmp_0.arg0 = globals.KKey___201274; s.tmp_0.arg1 = "KeyKind"; s.tmp_0.arg2 = s.arg0; - s.callLocIdx = 137; s.pc = 6; return s.tmp_0; + s.callLocIdx = 138; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Make_Key_for__P150024.info = {"start":5668,"length":945,"line":153,"column":0,"endLine":175,"endColumn":1,"fileName":"main.ts","functionName":"Make_Key_for","argumentNames":["KeyKind"]} +Make_Key_for__P201245.info = {"start":5668,"length":945,"line":153,"column":0,"endLine":175,"endColumn":1,"fileName":"main.ts","functionName":"Make_Key_for","argumentNames":["KeyKind"]} -function Make_Key_for__P150024_mk(s) { +function Make_Key_for__P201245_mk(s) { checkStack(s.depth); return { - parent: s, fn: Make_Key_for__P150024, depth: s.depth + 1, + parent: s, fn: Make_Key_for__P201245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, arg0: undefined, } } -const _hex152925 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000050500000505505005050000050000500505000005000555555550000500005000000000050550500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex201278 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000050500000505505005050000050000500505000005000555555550000500005000000000050550500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function sprites_setDataString__P149656(s) { +function sprites_setDataString__P176272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34848,7 +34891,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___161689 = undefined; + s.d___188305 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34875,31 +34918,31 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_4 = Sprite_data__P147995_mk(s); + s.tmp_4 = Sprite_data__P174611_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1646; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; - s.d___161689 = (r0); - r0 = pxsim_pxtrt.mapSetGeneric(s.d___161689, s.arg1, s.arg2); + s.d___188305 = (r0); + r0 = pxsim_pxtrt.mapSetGeneric(s.d___188305, s.arg1, s.arg2); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_setDataString__P149656.info = {"start":1479,"length":176,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"setDataString","argumentNames":["sprite","name","value"]} +sprites_setDataString__P176272.info = {"start":1479,"length":176,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"setDataString","argumentNames":["sprite","name","value"]} -function sprites_setDataString__P149656_mk(s) { +function sprites_setDataString__P176272_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_setDataString__P149656, depth: s.depth + 1, + parent: s, fn: sprites_setDataString__P176272, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___161689: undefined, + d___188305: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34909,7 +34952,7 @@ function sprites_setDataString__P149656_mk(s) { -function tiles_coverAllTiles__P149888(s) { +function tiles_coverAllTiles__P176504(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34924,10 +34967,10 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkAction(1, inline__P161709); + r0 = pxsim_pxtcore_mkAction(1, inline__P188325); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = tiles_forEachTileOfKind__P149894_mk(s); + s.tmp_1 = tiles_forEachTileOfKind__P176510_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1973; s.pc = 1; return s.tmp_1; @@ -34937,12 +34980,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_coverAllTiles__P149888.info = {"start":2217,"length":144,"line":54,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"coverAllTiles","argumentNames":["tileKind","cover"]} +tiles_coverAllTiles__P176504.info = {"start":2217,"length":144,"line":54,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"coverAllTiles","argumentNames":["tileKind","cover"]} -function tiles_coverAllTiles__P149888_mk(s) { +function tiles_coverAllTiles__P176504_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_coverAllTiles__P149888, depth: s.depth + 1, + parent: s, fn: tiles_coverAllTiles__P176504, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34954,7 +34997,7 @@ function tiles_coverAllTiles__P149888_mk(s) { -function inline__P161709(s) { +function inline__P188325(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34968,7 +35011,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tiles_createTileSprite__P149887_mk(s); + s.tmp_0 = tiles_createTileSprite__P176503_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 1972; s.pc = 1; return s.tmp_0; @@ -34977,12 +35020,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P161709.info = {"start":2317,"length":35,"line":55,"column":36,"endLine":55,"endColumn":71,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"inline","argumentNames":["loc"]} +inline__P188325.info = {"start":2317,"length":35,"line":55,"column":36,"endLine":55,"endColumn":71,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"inline","argumentNames":["loc"]} -function inline__P161709_mk(s) { +function inline__P188325_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P161709, depth: s.depth + 1, + parent: s, fn: inline__P188325, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34992,7 +35035,7 @@ function inline__P161709_mk(s) { -function tiles_forEachTileOfKind__P149894(s) { +function tiles_forEachTileOfKind__P176510(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35002,40 +35045,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___161765 = undefined; - s.width___161768 = undefined; - s.c___161771 = undefined; - s.r___161776 = undefined; + s.height___188381 = undefined; + s.width___188384 = undefined; + s.c___188387 = undefined; + s.r___188392 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_tilemapRows__P149922_mk(s); + s.tmp_0 = tiles_tilemapRows__P176538_mk(s); s.callLocIdx = 1981; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.height___161765 = (r0); - s.tmp_0 = tiles_tilemapColumns__P149921_mk(s); + s.height___188381 = (r0); + s.tmp_0 = tiles_tilemapColumns__P176537_mk(s); s.callLocIdx = 1982; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.width___161768 = (r0); - s.c___161771 = (0); + s.width___188384 = (r0); + s.c___188387 = (0); case 1: - r0 = (s.c___161771 < s.width___161768); + r0 = (s.c___188387 < s.width___188384); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.r___161776 = (0); + s.r___188392 = (0); case 2: - r0 = (s.r___161776 < s.height___161765); + r0 = (s.r___188392 < s.height___188381); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_tileIsCore__P152486_mk(s); - s.tmp_2.arg0 = s.c___161771; - s.tmp_2.arg1 = s.r___161776; + s.tmp_2 = tiles_tileIsCore__P179102_mk(s); + s.tmp_2.arg0 = s.c___188387; + s.tmp_2.arg1 = s.r___188392; s.tmp_2.arg2 = s.arg0; s.callLocIdx = 1983; s.pc = 9; return s.tmp_2; case 9: @@ -35045,9 +35088,9 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_3 = lambda_2_mk(s); s.tmp_3.argL = s.arg1; - s.tmp_4 = tiles_getTileLocation__P148303_mk(s); - s.tmp_4.arg0 = s.c___161771; - s.tmp_4.arg1 = s.r___161776; + s.tmp_4 = tiles_getTileLocation__P174919_mk(s); + s.tmp_4.arg0 = s.c___188387; + s.tmp_4.arg1 = s.r___188392; s.callLocIdx = 1984; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; @@ -35058,34 +35101,34 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = (s.r___161776 + 1); - s.r___161776 = (r0); + r0 = (s.r___188392 + 1); + s.r___188392 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___161771 + 1); - s.c___161771 = (r0); + r0 = (s.c___188387 + 1); + s.c___188387 = (r0); { step = 1; continue; } case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_forEachTileOfKind__P149894.info = {"start":5882,"length":730,"line":159,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"forEachTileOfKind","argumentNames":["tileKind","cb"]} +tiles_forEachTileOfKind__P176510.info = {"start":5882,"length":730,"line":159,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"forEachTileOfKind","argumentNames":["tileKind","cb"]} -function tiles_forEachTileOfKind__P149894_mk(s) { +function tiles_forEachTileOfKind__P176510_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_forEachTileOfKind__P149894, depth: s.depth + 1, + parent: s, fn: tiles_forEachTileOfKind__P176510, 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, - height___161765: undefined, - width___161768: undefined, - c___161771: undefined, - r___161776: undefined, + height___188381: undefined, + width___188384: undefined, + c___188387: undefined, + r___188392: undefined, arg0: undefined, arg1: undefined, } } @@ -35094,7 +35137,7 @@ function tiles_forEachTileOfKind__P149894_mk(s) { -function tiles_tileIsCore__P152486(s) { +function tiles_tileIsCore__P179102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35111,7 +35154,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg2; - s.tmp_2 = tiles_getTileAt__P148305_mk(s); + s.tmp_2 = tiles_getTileAt__P174921_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 1980; s.pc = 1; return s.tmp_2; @@ -35122,12 +35165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_tileIsCore__P152486.info = {"start":5245,"length":132,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"tileIsCore","argumentNames":["col","row","tile"]} +tiles_tileIsCore__P179102.info = {"start":5245,"length":132,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"tileIsCore","argumentNames":["col","row","tile"]} -function tiles_tileIsCore__P152486_mk(s) { +function tiles_tileIsCore__P179102_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_tileIsCore__P152486, depth: s.depth + 1, + parent: s, fn: tiles_tileIsCore__P179102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35141,7 +35184,7 @@ function tiles_tileIsCore__P152486_mk(s) { -function tiles_getTileAt__P148305(s) { +function tiles_getTileAt__P174921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35151,17 +35194,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___161849 = undefined; + s.scene___188465 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1015; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.scene___161849 = (r0); + s.scene___188465 = (r0); r0 = (s.arg0 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -35178,7 +35221,7 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - r0 = s.scene___161849.fields["tileMap"]; + r0 = s.scene___188465.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -35188,15 +35231,15 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 5; continue; } - r0 = pxsim.image.ofBuffer(_hex161864); + r0 = pxsim.image.ofBuffer(_hex188480); { step = 7; continue; } case 5: case 6: - s.tmp_5 = tiles_TileMap_getTileImage__P148298_mk(s); - r0 = s.scene___161849.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P174914_mk(s); + r0 = s.scene___188465.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P148253_mk(s); - s.tmp_7 = tiles_getTileLocation__P148303_mk(s); + s.tmp_6 = tiles_Location_tileSet__P174869_mk(s); + s.tmp_7 = tiles_getTileLocation__P174919_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; s.callLocIdx = 1016; s.pc = 11; return s.tmp_7; @@ -35214,12 +35257,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileAt__P148305.info = {"start":17008,"length":275,"line":536,"column":4,"endLine":540,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileAt","argumentNames":["col","row"]} +tiles_getTileAt__P174921.info = {"start":17008,"length":275,"line":536,"column":4,"endLine":540,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileAt","argumentNames":["col","row"]} -function tiles_getTileAt__P148305_mk(s) { +function tiles_getTileAt__P174921_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileAt__P148305, depth: s.depth + 1, + parent: s, fn: tiles_getTileAt__P174921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35229,17 +35272,17 @@ function tiles_getTileAt__P148305_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___161849: undefined, + scene___188465: undefined, arg0: undefined, arg1: undefined, } } -const _hex161864 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex188480 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P148298(s) { +function tiles_TileMap_getTileImage__P174914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35255,8 +35298,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P148271_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P174887_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -35266,12 +35309,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P148298.info = {"start":13755,"length":96,"line":443,"column":8,"endLine":445,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P174914.info = {"start":13755,"length":96,"line":443,"column":8,"endLine":445,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P148298_mk(s) { +function tiles_TileMap_getTileImage__P174914_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P148298, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P174914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35282,7 +35325,7 @@ function tiles_TileMap_getTileImage__P148298_mk(s) { -function tiles_TileMap_data__P150410(s) { +function tiles_TileMap_data__P177026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35297,18 +35340,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P150410.info = {"start":6400,"length":75,"line":232,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P150410.isGetter = true; +tiles_TileMap_data__P177026.info = {"start":6400,"length":75,"line":232,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P177026.isGetter = true; -function tiles_TileMap_data__P150410_mk(s) { +function tiles_TileMap_data__P177026_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P150410, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P177026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35317,7 +35360,7 @@ function tiles_TileMap_data__P150410_mk(s) { -function tiles_TileMapData_getTileImage__P148271(s) { +function tiles_TileMapData_getTileImage__P174887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35327,25 +35370,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___161935 = undefined; - s.cachedImage___161939 = undefined; - s.originalImage___161946 = undefined; + s.size___188551 = undefined; + s.cachedImage___188555 = undefined; + s.originalImage___188562 = 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__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___161935 = (r0); + s.size___188551 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___161939 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___161939); + s.cachedImage___188555 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___188555); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35354,58 +35397,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___161946 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___161946); + s.originalImage___188562 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___188562); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___161946); + r0 = pxsim_ImageMethods.width(s.originalImage___188562); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___161935); + r0 = (s.tmp_1 <= s.size___188551); 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___161946); + r0 = pxsim_ImageMethods.height(s.originalImage___188562); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___161935); + r0 = (s.tmp_2 <= s.size___188551); 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___161939 = (s.originalImage___161946); + s.cachedImage___188555 = (s.originalImage___188562); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___161935, s.size___161935); - s.cachedImage___161939 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___161939, s.originalImage___161946, 0, 0); + r0 = pxsim.image.create(s.size___188551, s.size___188551); + s.cachedImage___188555 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___188555, s.originalImage___188562, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___161939); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___188555); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___161939; + r0 = s.cachedImage___188555; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P148271.info = {"start":4599,"length":717,"line":172,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P174887.info = {"start":4599,"length":717,"line":172,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMapData_getTileImage__P148271_mk(s) { +function tiles_TileMapData_getTileImage__P174887_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P148271, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P174887, 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___161935: undefined, - cachedImage___161939: undefined, - originalImage___161946: undefined, + size___188551: undefined, + cachedImage___188555: undefined, + originalImage___188562: undefined, arg0: undefined, arg1: undefined, } } @@ -35414,7 +35457,7 @@ function tiles_TileMapData_getTileImage__P148271_mk(s) { -function tiles_TileMapData_scale__P148266(s) { +function tiles_TileMapData_scale__P174882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35429,18 +35472,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P148266.info = {"start":3809,"length":66,"line":143,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMapData_scale__P148266.isGetter = true; +tiles_TileMapData_scale__P174882.info = {"start":3809,"length":66,"line":143,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P174882.isGetter = true; -function tiles_TileMapData_scale__P148266_mk(s) { +function tiles_TileMapData_scale__P174882_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P148266, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P174882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35449,7 +35492,7 @@ function tiles_TileMapData_scale__P148266_mk(s) { -function tiles_Location_tileSet__P148253(s) { +function tiles_Location_tileSet__P174869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35464,8 +35507,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C148247_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P148289_mk(s); + if (!checkSubtype(r0, tiles_Location__C174863_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P174905_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; @@ -35478,13 +35521,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P148253.info = {"start":981,"length":101,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -tiles_Location_tileSet__P148253.isGetter = true; +tiles_Location_tileSet__P174869.info = {"start":981,"length":101,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P174869.isGetter = true; -function tiles_Location_tileSet__P148253_mk(s) { +function tiles_Location_tileSet__P174869_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P148253, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P174869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35494,7 +35537,7 @@ function tiles_Location_tileSet__P148253_mk(s) { -function tiles_TileMap_getTileIndex__P148289(s) { +function tiles_TileMap_getTileIndex__P174905(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35511,8 +35554,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P148268_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P174884_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -35523,12 +35566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P148289.info = {"start":7436,"length":105,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P174905.info = {"start":7436,"length":105,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_TileMap_getTileIndex__P148289_mk(s) { +function tiles_TileMap_getTileIndex__P174905_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P148289, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P174905, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35540,7 +35583,7 @@ function tiles_TileMap_getTileIndex__P148289_mk(s) { -function tiles_TileMapData_getTile__P148268(s) { +function tiles_TileMapData_getTile__P174884(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35557,8 +35600,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P148274_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P174890_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -35591,12 +35634,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P148268.info = {"start":3997,"length":200,"line":152,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P174884.info = {"start":3997,"length":200,"line":152,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMapData_getTile__P148268_mk(s) { +function tiles_TileMapData_getTile__P174884_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P148268, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P174884, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35616,7 +35659,7 @@ function tiles_TileMapData_getTile__P148268_mk(s) { -function tiles_TileMapData_isOutsideMap__P148274(s) { +function tiles_TileMapData_isOutsideMap__P174890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35633,7 +35676,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -35673,12 +35716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P148274.info = {"start":5580,"length":132,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P174890.info = {"start":5580,"length":132,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_TileMapData_isOutsideMap__P148274_mk(s) { +function tiles_TileMapData_isOutsideMap__P174890_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P148274, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P174890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35697,7 +35740,7 @@ function tiles_TileMapData_isOutsideMap__P148274_mk(s) { -function tiles_tilemapRows__P149922(s) { +function tiles_tilemapRows__P176538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35707,14 +35750,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___162002 = undefined; - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tm___188618 = undefined; + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 2000; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___162002 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tm___162002); + s.tm___188618 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tm___188618); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35724,39 +35767,39 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = tiles_TileMap_areaHeight__P148283_mk(s); - s.tmp_3.arg0 = s.tm___162002; + s.tmp_3 = tiles_TileMap_areaHeight__P174899_mk(s); + s.tmp_3.arg0 = s.tm___188618; s.callLocIdx = 2001; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; - r0 = s.tm___162002.fields["_scale"]; + r0 = s.tm___188618.fields["_scale"]; s.tmp_4 = r0; r0 = (s.tmp_2 >> s.tmp_4); case 3: return leave(s, r0) default: oops() } } } -tiles_tilemapRows__P149922.info = {"start":14483,"length":170,"line":414,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"tilemapRows","argumentNames":[]} +tiles_tilemapRows__P176538.info = {"start":14483,"length":170,"line":414,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"tilemapRows","argumentNames":[]} -function tiles_tilemapRows__P149922_mk(s) { +function tiles_tilemapRows__P176538_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_tilemapRows__P149922, depth: s.depth + 1, + parent: s, fn: tiles_tilemapRows__P176538, 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, - tm___162002: undefined, + tm___188618: undefined, } } -function tiles_tilemapColumns__P149921(s) { +function tiles_tilemapColumns__P176537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35766,15 +35809,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___161983 = undefined; - s.height___161989 = undefined; - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tm___188599 = undefined; + s.height___188605 = undefined; + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1995; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___161983 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tm___161983); + s.tm___188599 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tm___188599); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35784,50 +35827,50 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = tiles_TileMap_areaHeight__P148283_mk(s); - s.tmp_3.arg0 = s.tm___161983; + s.tmp_3 = tiles_TileMap_areaHeight__P174899_mk(s); + s.tmp_3.arg0 = s.tm___188599; s.callLocIdx = 1996; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; - r0 = s.tm___161983.fields["_scale"]; + r0 = s.tm___188599.fields["_scale"]; s.tmp_4 = r0; r0 = (s.tmp_2 >> s.tmp_4); - s.height___161989 = (r0); - s.tmp_1 = tiles_TileMap_areaWidth__P148282_mk(s); - s.tmp_1.arg0 = s.tm___161983; + s.height___188605 = (r0); + s.tmp_1 = tiles_TileMap_areaWidth__P174898_mk(s); + s.tmp_1.arg0 = s.tm___188599; s.callLocIdx = 1998; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0 = r0; - r0 = s.tm___161983.fields["_scale"]; + r0 = s.tm___188599.fields["_scale"]; s.tmp_2 = r0; r0 = (s.tmp_0 >> s.tmp_2); case 3: return leave(s, r0) default: oops() } } } -tiles_tilemapColumns__P149921.info = {"start":14044,"length":225,"line":400,"column":4,"endLine":406,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"tilemapColumns","argumentNames":[]} +tiles_tilemapColumns__P176537.info = {"start":14044,"length":225,"line":400,"column":4,"endLine":406,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"tilemapColumns","argumentNames":[]} -function tiles_tilemapColumns__P149921_mk(s) { +function tiles_tilemapColumns__P176537_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_tilemapColumns__P149921, depth: s.depth + 1, + parent: s, fn: tiles_tilemapColumns__P176537, 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, - tm___161983: undefined, - height___161989: undefined, + tm___188599: undefined, + height___188605: undefined, } } -function tiles_getTileLocation__P148303(s) { +function tiles_getTileLocation__P174919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35837,17 +35880,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___161795 = undefined; + s.scene___188411 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1010; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.scene___161795 = (r0); + s.scene___188411 = (r0); r0 = (s.arg0 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -35864,7 +35907,7 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - r0 = s.scene___161795.fields["tileMap"]; + r0 = s.scene___188411.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -35878,8 +35921,8 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_5 = tiles_TileMap_getTile__P148288_mk(s); - r0 = s.scene___161795.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTile__P174904_mk(s); + r0 = s.scene___188411.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; s.tmp_5.arg2 = s.arg1; @@ -35890,12 +35933,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileLocation__P148303.info = {"start":16341,"length":247,"line":516,"column":4,"endLine":520,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileLocation","argumentNames":["col","row"]} +tiles_getTileLocation__P174919.info = {"start":16341,"length":247,"line":516,"column":4,"endLine":520,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileLocation","argumentNames":["col","row"]} -function tiles_getTileLocation__P148303_mk(s) { +function tiles_getTileLocation__P174919_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileLocation__P148303, depth: s.depth + 1, + parent: s, fn: tiles_getTileLocation__P174919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35903,7 +35946,7 @@ function tiles_getTileLocation__P148303_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___161795: undefined, + scene___188411: undefined, arg0: undefined, arg1: undefined, } } @@ -35912,7 +35955,7 @@ function tiles_getTileLocation__P148303_mk(s) { -function tiles_TileMap_getTile__P148288(s) { +function tiles_TileMap_getTile__P174904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35929,10 +35972,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C148247_VT); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C174863_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P148250_mk(s); + s.tmp_1 = tiles_Location_constructor__P174866_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -35944,12 +35987,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P148288.info = {"start":7315,"length":111,"line":270,"column":8,"endLine":272,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P174904.info = {"start":7315,"length":111,"line":270,"column":8,"endLine":272,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMap_getTile__P148288_mk(s) { +function tiles_TileMap_getTile__P174904_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P148288, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P174904, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35962,7 +36005,7 @@ function tiles_TileMap_getTile__P148288_mk(s) { -function tiles_Location_constructor__P148250(s) { +function tiles_Location_constructor__P174866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35980,7 +36023,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C148247_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C174863_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -35988,12 +36031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P148250.info = {"start":528,"length":153,"line":27,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P174866.info = {"start":528,"length":153,"line":27,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -function tiles_Location_constructor__P148250_mk(s) { +function tiles_Location_constructor__P174866_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P148250, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P174866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36005,7 +36048,7 @@ function tiles_Location_constructor__P148250_mk(s) { -function tiles_createTileSprite__P149887(s) { +function tiles_createTileSprite__P176503(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36015,28 +36058,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.coverSprite___161716 = undefined; + s.coverSprite___188332 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = sprites_create__P147921_mk(s); + s.tmp_0 = sprites_create__P174537_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = globals._TileSprite___149885; + s.tmp_0.arg1 = globals._TileSprite___176501; s.callLocIdx = 1968; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.coverSprite___161716 = (r0); - s.tmp_0 = Sprite_setFlag__P148035_mk(s); - s.tmp_0.arg0 = s.coverSprite___161716; + s.coverSprite___188332 = (r0); + s.tmp_0 = Sprite_setFlag__P174651_mk(s); + s.tmp_0.arg0 = s.coverSprite___188332; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; s.callLocIdx = 1969; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = if_z_2_mk(s); - s.tmp_0.arg0 = s.coverSprite___161716; + s.tmp_0.arg0 = s.coverSprite___188332; s.tmp_0.arg1 = -1; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapSetByString(s.tmp_0.arg0, "z", s.tmp_0.arg1); @@ -36048,25 +36091,25 @@ switch (step) { } case 3: r0 = s.retval; - s.tmp_0 = tiles_placeOnTile__P148307_mk(s); - s.tmp_0.arg0 = s.coverSprite___161716; + s.tmp_0 = tiles_placeOnTile__P174923_mk(s); + s.tmp_0.arg0 = s.coverSprite___188332; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1971; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = s.coverSprite___161716; + r0 = s.coverSprite___188332; return leave(s, r0) default: oops() } } } -tiles_createTileSprite__P149887.info = {"start":867,"length":703,"line":25,"column":4,"endLine":39,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"createTileSprite","argumentNames":["location","cover"]} +tiles_createTileSprite__P176503.info = {"start":867,"length":703,"line":25,"column":4,"endLine":39,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"createTileSprite","argumentNames":["location","cover"]} -function tiles_createTileSprite__P149887_mk(s) { +function tiles_createTileSprite__P176503_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_createTileSprite__P149887, depth: s.depth + 1, + parent: s, fn: tiles_createTileSprite__P176503, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - coverSprite___161716: undefined, + coverSprite___188332: undefined, arg0: undefined, arg1: undefined, } } @@ -36075,7 +36118,7 @@ function tiles_createTileSprite__P149887_mk(s) { -function Sprite_setFlag__P148035(s) { +function Sprite_setFlag__P174651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36092,7 +36135,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -36127,7 +36170,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = Sprite_setFlag__P148035_mk(s); + s.tmp_2 = Sprite_setFlag__P174651_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 512; @@ -36141,12 +36184,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P148035.info = {"start":25010,"length":292,"line":761,"column":4,"endLine":768,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P174651.info = {"start":25010,"length":292,"line":761,"column":4,"endLine":768,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P148035_mk(s) { +function Sprite_setFlag__P174651_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P148035, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P174651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36162,7 +36205,7 @@ function Sprite_setFlag__P148035_mk(s) { -function Sprite_setImage__P148010(s) { +function Sprite_setImage__P174626(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36178,7 +36221,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -36189,7 +36232,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite_setHitbox__P148011_mk(s); + s.tmp_0 = Sprite_setHitbox__P174627_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 336; s.pc = 4; return s.tmp_0; case 4: @@ -36199,12 +36242,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P148010.info = {"start":7108,"length":133,"line":258,"column":4,"endLine":262,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P174626.info = {"start":7108,"length":133,"line":258,"column":4,"endLine":262,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P148010_mk(s) { +function Sprite_setImage__P174626_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P148010, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P174626, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36216,7 +36259,7 @@ function Sprite_setImage__P148010_mk(s) { -function Sprite_setHitbox__P148011(s) { +function Sprite_setHitbox__P174627(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36226,29 +36269,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___162451 = undefined; - s.oMinX___162459 = undefined; - s.oMinY___162463 = undefined; - s.oMaxX___162467 = undefined; - s.oMaxY___162474 = undefined; - s.nMinX___162481 = undefined; - s.nMinY___162484 = undefined; - s.nMaxX___162487 = undefined; - s.nMaxY___162493 = undefined; - s.xDiff___162499 = undefined; - s.yDiff___162510 = undefined; + s.newHitBox___189067 = undefined; + s.oMinX___189075 = undefined; + s.oMinY___189079 = undefined; + s.oMaxX___189083 = undefined; + s.oMaxY___189090 = undefined; + s.nMinX___189097 = undefined; + s.nMinY___189100 = undefined; + s.nMaxX___189103 = undefined; + s.nMaxY___189109 = undefined; + s.xDiff___189115 = undefined; + s.yDiff___189126 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_0 = game_calculateHitBox__P147917_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_0 = game_calculateHitBox__P174533_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 337; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.newHitBox___162451 = (r0); + s.newHitBox___189067 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -36257,95 +36300,95 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___162451); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___189067); { step = 7; continue; } case 1: case 2: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___162459 = (r0); + s.oMinX___189075 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___162463 = (r0); + s.oMinY___189079 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___162459 + s.tmp_0); - s.oMaxX___162467 = (r0); + r0 = (s.oMinX___189075 + s.tmp_0); + s.oMaxX___189083 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___162463 + s.tmp_0); - s.oMaxY___162474 = (r0); - r0 = s.newHitBox___162451.fields["ox"]; - s.nMinX___162481 = (r0); - r0 = s.newHitBox___162451.fields["oy"]; - s.nMinY___162484 = (r0); - r0 = s.newHitBox___162451.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___162481 + s.tmp_0); - s.nMaxX___162487 = (r0); - r0 = s.newHitBox___162451.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___162484 + s.tmp_0); - s.nMaxY___162493 = (r0); - s.tmp_1 = Fx_abs__P146097_mk(s); - r0 = (s.oMinX___162459 - s.nMinX___162481); + r0 = (s.oMinY___189079 + s.tmp_0); + s.oMaxY___189090 = (r0); + r0 = s.newHitBox___189067.fields["ox"]; + s.nMinX___189097 = (r0); + r0 = s.newHitBox___189067.fields["oy"]; + s.nMinY___189100 = (r0); + r0 = s.newHitBox___189067.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___189097 + s.tmp_0); + s.nMaxX___189103 = (r0); + r0 = s.newHitBox___189067.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___189100 + s.tmp_0); + s.nMaxY___189109 = (r0); + s.tmp_1 = Fx_abs__P172713_mk(s); + r0 = (s.oMinX___189075 - s.nMinX___189097); s.tmp_1.arg0 = r0; s.callLocIdx = 343; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P146097_mk(s); - r0 = (s.oMaxX___162467 - s.nMaxX___162487); + s.tmp_3 = Fx_abs__P172713_mk(s); + r0 = (s.oMaxX___189083 - s.nMaxX___189103); s.tmp_3.arg0 = r0; s.callLocIdx = 345; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___162499 = (r0); - s.tmp_1 = Fx_abs__P146097_mk(s); - r0 = (s.oMinY___162463 - s.nMinY___162484); + s.xDiff___189115 = (r0); + s.tmp_1 = Fx_abs__P172713_mk(s); + r0 = (s.oMinY___189079 - s.nMinY___189100); s.tmp_1.arg0 = r0; s.callLocIdx = 348; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P146097_mk(s); - r0 = (s.oMaxY___162474 - s.nMaxY___162493); + s.tmp_3 = Fx_abs__P172713_mk(s); + r0 = (s.oMaxY___189090 - s.nMaxY___189109); s.tmp_3.arg0 = r0; s.callLocIdx = 350; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___162510 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___162451); - r0 = (s.xDiff___162499 <= 512); + s.yDiff___189126 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___189067); + r0 = (s.xDiff___189115 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["ox"] = (s.oMinX___162459); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___189075); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___162467 - s.oMinX___162459); + r0 = (s.oMaxX___189083 - s.oMinX___189075); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 3: case 4: - r0 = (s.yDiff___162510 <= 512); + r0 = (s.yDiff___189126 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["oy"] = (s.oMinY___162463); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___189079); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___162474 - s.oMinY___162463); + r0 = (s.oMaxY___189090 - s.oMinY___189079); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 5: @@ -36355,28 +36398,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P148011.info = {"start":7247,"length":1296,"line":264,"column":4,"endLine":303,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P174627.info = {"start":7247,"length":1296,"line":264,"column":4,"endLine":303,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P148011_mk(s) { +function Sprite_setHitbox__P174627_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P148011, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P174627, 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___162451: undefined, - oMinX___162459: undefined, - oMinY___162463: undefined, - oMaxX___162467: undefined, - oMaxY___162474: undefined, - nMinX___162481: undefined, - nMinY___162484: undefined, - nMaxX___162487: undefined, - nMaxY___162493: undefined, - xDiff___162499: undefined, - yDiff___162510: undefined, + newHitBox___189067: undefined, + oMinX___189075: undefined, + oMinY___189079: undefined, + oMaxX___189083: undefined, + oMaxY___189090: undefined, + nMinX___189097: undefined, + nMinY___189100: undefined, + nMaxX___189103: undefined, + nMaxY___189109: undefined, + xDiff___189115: undefined, + yDiff___189126: undefined, arg0: undefined, } } @@ -36384,7 +36427,7 @@ function Sprite_setHitbox__P148011_mk(s) { -function game_calculateHitBox__P147917(s) { +function game_calculateHitBox__P174533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36394,104 +36437,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___162559 = undefined; - s.minX___162562 = undefined; - s.minY___162565 = undefined; - s.maxX___162568 = undefined; - s.maxY___162569 = undefined; - s.c___162570 = undefined; - s.r___162576 = undefined; - s.width___162607 = undefined; - s.height___162613 = undefined; + s.i___189175 = undefined; + s.minX___189178 = undefined; + s.minY___189181 = undefined; + s.maxX___189184 = undefined; + s.maxY___189185 = undefined; + s.c___189186 = undefined; + s.r___189192 = undefined; + s.width___189223 = undefined; + s.height___189229 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - s.i___162559 = (r0); - r0 = pxsim_ImageMethods.width(s.i___162559); - s.minX___162562 = (r0); - r0 = pxsim_ImageMethods.height(s.i___162559); - s.minY___162565 = (r0); - s.maxX___162568 = (0); - s.maxY___162569 = (0); - s.c___162570 = (0); - case 1: - s.tmp_1 = r0 = s.c___162570; - r0 = pxsim_ImageMethods.width(s.i___162559); + s.i___189175 = (r0); + r0 = pxsim_ImageMethods.width(s.i___189175); + s.minX___189178 = (r0); + r0 = pxsim_ImageMethods.height(s.i___189175); + s.minY___189181 = (r0); + s.maxX___189184 = (0); + s.maxY___189185 = (0); + s.c___189186 = (0); + case 1: + s.tmp_1 = r0 = s.c___189186; + r0 = pxsim_ImageMethods.width(s.i___189175); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.r___162576 = (0); + s.r___189192 = (0); case 2: - s.tmp_1 = r0 = s.r___162576; - r0 = pxsim_ImageMethods.height(s.i___162559); + s.tmp_1 = r0 = s.r___189192; + r0 = pxsim_ImageMethods.height(s.i___189175); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.getPixel(s.i___162559, s.c___162570, s.r___162576); + r0 = pxsim_ImageMethods.getPixel(s.i___189175, s.c___189186, s.r___189192); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Math_min__P146063_mk(s); - s.tmp_4.arg0 = s.minX___162562; - s.tmp_4.arg1 = s.c___162570; + s.tmp_4 = Math_min__P172679_mk(s); + s.tmp_4.arg0 = s.minX___189178; + s.tmp_4.arg1 = s.c___189186; s.callLocIdx = 278; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.minX___162562 = (r0); - s.tmp_0 = Math_min__P146063_mk(s); - s.tmp_0.arg0 = s.minY___162565; - s.tmp_0.arg1 = s.r___162576; + s.minX___189178 = (r0); + s.tmp_0 = Math_min__P172679_mk(s); + s.tmp_0.arg0 = s.minY___189181; + s.tmp_0.arg1 = s.r___189192; s.callLocIdx = 279; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.minY___162565 = (r0); - s.tmp_0 = Math_max__P146062_mk(s); - s.tmp_0.arg0 = s.maxX___162568; - s.tmp_0.arg1 = s.c___162570; + s.minY___189181 = (r0); + s.tmp_0 = Math_max__P172678_mk(s); + s.tmp_0.arg0 = s.maxX___189184; + s.tmp_0.arg1 = s.c___189186; s.callLocIdx = 280; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.maxX___162568 = (r0); - s.tmp_0 = Math_max__P146062_mk(s); - s.tmp_0.arg0 = s.maxY___162569; - s.tmp_0.arg1 = s.r___162576; + s.maxX___189184 = (r0); + s.tmp_0 = Math_max__P172678_mk(s); + s.tmp_0.arg0 = s.maxY___189185; + s.tmp_0.arg1 = s.r___189192; s.callLocIdx = 281; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___162569 = (r0); + s.maxY___189185 = (r0); case 3: case 4: - r0 = (s.r___162576 + 1); - s.r___162576 = (r0); + r0 = (s.r___189192 + 1); + s.r___189192 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___162570 + 1); - s.c___162570 = (r0); + r0 = (s.c___189186 + 1); + s.c___189186 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___162568 - s.minX___162562); + r0 = (s.maxX___189184 - s.minX___189178); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___162607 = (r0); - r0 = (s.maxY___162569 - s.minY___162565); + s.width___189223 = (r0); + r0 = (s.maxY___189185 - s.minY___189181); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___162613 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C147906_VT); + s.height___189229 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C174522_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P147912_mk(s); + s.tmp_1 = game_Hitbox_constructor__P174528_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___162607; - s.tmp_1.arg3 = s.height___162613; - s.tmp_1.arg4 = s.minX___162562; - s.tmp_1.arg5 = s.minY___162565; + s.tmp_1.arg2 = s.width___189223; + s.tmp_1.arg3 = s.height___189229; + s.tmp_1.arg4 = s.minX___189178; + s.tmp_1.arg5 = s.minY___189181; s.callLocIdx = 282; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -36499,27 +36542,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P147917.info = {"start":894,"length":684,"line":40,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} +game_calculateHitBox__P174533.info = {"start":894,"length":684,"line":40,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} -function game_calculateHitBox__P147917_mk(s) { +function game_calculateHitBox__P174533_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P147917, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P174533, 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___162559: undefined, - minX___162562: undefined, - minY___162565: undefined, - maxX___162568: undefined, - maxY___162569: undefined, - c___162570: undefined, - r___162576: undefined, - width___162607: undefined, - height___162613: undefined, + i___189175: undefined, + minX___189178: undefined, + minY___189181: undefined, + maxX___189184: undefined, + maxY___189185: undefined, + c___189186: undefined, + r___189192: undefined, + width___189223: undefined, + height___189229: undefined, arg0: undefined, } } @@ -36527,7 +36570,7 @@ function game_calculateHitBox__P147917_mk(s) { -function Sprite_image__P148009(s) { +function Sprite_image__P174625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36542,18 +36585,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P148009.info = {"start":6832,"length":54,"line":248,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P148009.isGetter = true; +Sprite_image__P174625.info = {"start":6832,"length":54,"line":248,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P174625.isGetter = true; -function Sprite_image__P148009_mk(s) { +function Sprite_image__P174625_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P148009, depth: s.depth + 1, + parent: s, fn: Sprite_image__P174625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36562,7 +36605,7 @@ function Sprite_image__P148009_mk(s) { -function game_Hitbox_constructor__P147912(s) { +function game_Hitbox_constructor__P174528(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36582,7 +36625,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C147906_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C174522_VT)) failedCast(r0); r0 = (s.arg0).fields["parent"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = (s.arg2 * 256); @@ -36612,12 +36655,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P147912.info = {"start":151,"length":266,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} +game_Hitbox_constructor__P174528.info = {"start":151,"length":266,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} -function game_Hitbox_constructor__P147912_mk(s) { +function game_Hitbox_constructor__P174528_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P147912, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P174528, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36634,7 +36677,7 @@ function game_Hitbox_constructor__P147912_mk(s) { -function Fx_abs__P146097(s) { +function Fx_abs__P172713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36664,12 +36707,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P146097.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__P172713.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__P146097_mk(s) { +function Fx_abs__P172713_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P146097, depth: s.depth + 1, + parent: s, fn: Fx_abs__P172713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36679,7 +36722,7 @@ function Fx_abs__P146097_mk(s) { -function Sprite_ay__P147990(s) { +function Sprite_ay__P174606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36695,7 +36738,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -36706,12 +36749,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P147990.info = {"start":3666,"length":51,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P174606.info = {"start":3666,"length":51,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P147990_mk(s) { +function Sprite_ay__P174606_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P147990, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P174606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36724,7 +36767,7 @@ function Sprite_ay__P147990_mk(s) { -function Sprite_ay__P147989(s) { +function Sprite_ay__P174605(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36739,20 +36782,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P147989.info = {"start":3500,"length":60,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P147989.isGetter = true; +Sprite_ay__P174605.info = {"start":3500,"length":60,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P174605.isGetter = true; -function Sprite_ay__P147989_mk(s) { +function Sprite_ay__P174605_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P147989, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P174605, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36762,7 +36805,7 @@ function Sprite_ay__P147989_mk(s) { -function tiles_placeOnRandomTile__P148308(s) { +function tiles_placeOnRandomTile__P174924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36772,7 +36815,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loc___162673 = undefined; + s.loc___189289 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36787,7 +36830,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = game_currentScene__P148484_mk(s); + s.tmp_4 = game_currentScene__P175100_mk(s); s.callLocIdx = 1021; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; @@ -36804,16 +36847,16 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_6 = tiles_getRandomTileByType__P148310_mk(s); + s.tmp_6 = tiles_getRandomTileByType__P174926_mk(s); s.tmp_6.arg0 = s.arg1; s.callLocIdx = 1022; s.pc = 9; return s.tmp_6; case 9: r0 = s.retval; - s.loc___162673 = (r0); - r0 = pxsim_numops_toBoolDecr(s.loc___162673); + s.loc___189289 = (r0); + r0 = pxsim_numops_toBoolDecr(s.loc___189289); if (!r0) { step = 5; continue; } - s.tmp_0 = tiles_Location_place__P148254_mk(s); - s.tmp_0.arg0 = s.loc___162673; + s.tmp_0 = tiles_Location_place__P174870_mk(s); + s.tmp_0.arg0 = s.loc___189289; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1023; s.pc = 10; return s.tmp_0; case 10: @@ -36825,12 +36868,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_placeOnRandomTile__P148308.info = {"start":18893,"length":232,"line":582,"column":4,"endLine":587,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"placeOnRandomTile","argumentNames":["sprite","tile"]} +tiles_placeOnRandomTile__P174924.info = {"start":18893,"length":232,"line":582,"column":4,"endLine":587,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"placeOnRandomTile","argumentNames":["sprite","tile"]} -function tiles_placeOnRandomTile__P148308_mk(s) { +function tiles_placeOnRandomTile__P174924_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_placeOnRandomTile__P148308, depth: s.depth + 1, + parent: s, fn: tiles_placeOnRandomTile__P174924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36839,7 +36882,7 @@ function tiles_placeOnRandomTile__P148308_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - loc___162673: undefined, + loc___189289: undefined, arg0: undefined, arg1: undefined, } } @@ -36848,7 +36891,7 @@ function tiles_placeOnRandomTile__P148308_mk(s) { -function tiles_getRandomTileByType__P148310(s) { +function tiles_getRandomTileByType__P174926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36858,18 +36901,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___162741 = undefined; - s.index___162751 = undefined; - s.sample___162757 = undefined; + s.scene___189357 = undefined; + s.index___189367 = undefined; + s.sample___189373 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1024; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___162741 = (r0); + s.scene___189357 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -36879,7 +36922,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___162741.fields["tileMap"]; + r0 = s.scene___189357.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -36893,34 +36936,34 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getImageType__P148291_mk(s); - r0 = s.scene___162741.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getImageType__P174907_mk(s); + r0 = s.scene___189357.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; s.callLocIdx = 1025; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; - s.index___162751 = (r0); - s.tmp_0 = tiles_TileMap_sampleTilesByType__P148294_mk(s); - r0 = s.scene___162741.fields["tileMap"]; + s.index___189367 = (r0); + s.tmp_0 = tiles_TileMap_sampleTilesByType__P174910_mk(s); + r0 = s.scene___189357.fields["tileMap"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___162751; + s.tmp_0.arg1 = s.index___189367; s.tmp_0.arg2 = 1; s.callLocIdx = 1026; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.sample___162757 = (r0); - r0 = pxsim_Array__getAt(s.sample___162757, 0); + s.sample___189373 = (r0); + r0 = pxsim_Array__getAt(s.sample___189373, 0); case 5: return leave(s, r0) default: oops() } } } -tiles_getRandomTileByType__P148310.info = {"start":19875,"length":324,"line":609,"column":4,"endLine":616,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getRandomTileByType","argumentNames":["tile"]} +tiles_getRandomTileByType__P174926.info = {"start":19875,"length":324,"line":609,"column":4,"endLine":616,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getRandomTileByType","argumentNames":["tile"]} -function tiles_getRandomTileByType__P148310_mk(s) { +function tiles_getRandomTileByType__P174926_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getRandomTileByType__P148310, depth: s.depth + 1, + parent: s, fn: tiles_getRandomTileByType__P174926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36928,9 +36971,9 @@ function tiles_getRandomTileByType__P148310_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___162741: undefined, - index___162751: undefined, - sample___162757: undefined, + scene___189357: undefined, + index___189367: undefined, + sample___189373: undefined, arg0: undefined, } } @@ -36938,7 +36981,7 @@ function tiles_getRandomTileByType__P148310_mk(s) { -function tiles_TileMap_sampleTilesByType__P148294(s) { +function tiles_TileMap_sampleTilesByType__P174910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36948,12 +36991,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.count___162777 = undefined; - s.reservoir___162778 = undefined; - s.col___162780 = undefined; - s.row___162787 = undefined; - s.currTile___162794 = undefined; - s.potentialIndex___162813 = undefined; + s.count___189393 = undefined; + s.reservoir___189394 = undefined; + s.col___189396 = undefined; + s.row___189403 = undefined; + s.currTile___189410 = undefined; + s.potentialIndex___189429 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36961,8 +37004,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMap_isInvalidIndex__P150411_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMap_isInvalidIndex__P177027_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 946; s.pc = 18; return s.tmp_1; @@ -37005,12 +37048,12 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.count___162777 = (0); + s.count___189393 = (0); r0 = pxsim_Array__mk(); - s.reservoir___162778 = (r0); - s.col___162780 = (0); + s.reservoir___189394 = (r0); + s.col___189396 = (0); case 7: - s.tmp_1 = r0 = s.col___162780; + s.tmp_1 = r0 = s.col___189396; r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_width"]; @@ -37019,9 +37062,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.row___162787 = (0); + s.row___189403 = (0); case 8: - s.tmp_1 = r0 = s.row___162787; + s.tmp_1 = r0 = s.row___189403; r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_height"]; @@ -37030,79 +37073,79 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_4 = tiles_TileMapData_getTile__P148268_mk(s); + s.tmp_4 = tiles_TileMapData_getTile__P174884_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.col___162780; - s.tmp_4.arg2 = s.row___162787; + s.tmp_4.arg1 = s.col___189396; + s.tmp_4.arg2 = s.row___189403; s.callLocIdx = 950; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; - s.currTile___162794 = (r0); - r0 = (s.currTile___162794 === s.arg1); + s.currTile___189410 = (r0); + r0 = (s.currTile___189410 === s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.count___162777 < s.arg2); + r0 = (s.count___189393 < s.arg2); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C148247_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C174863_VT); s.tmp_2 = r0; - s.tmp_3 = tiles_Location_constructor__P148250_mk(s); + s.tmp_3 = tiles_Location_constructor__P174866_mk(s); s.tmp_3.arg0 = s.tmp_2; - s.tmp_3.arg1 = s.col___162780; - s.tmp_3.arg2 = s.row___162787; + s.tmp_3.arg1 = s.col___189396; + s.tmp_3.arg2 = s.row___189403; s.tmp_3.arg3 = s.arg0; s.callLocIdx = 951; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - r0 = pxsim_Array__push(s.reservoir___162778, s.tmp_2); + r0 = pxsim_Array__push(s.reservoir___189394, s.tmp_2); { step = 12; continue; } case 9: - r0 = pxsim.Math_.randomRange(0, s.count___162777); - s.potentialIndex___162813 = (r0); - r0 = (s.potentialIndex___162813 < s.arg2); + r0 = pxsim.Math_.randomRange(0, s.count___189393); + s.potentialIndex___189429 = (r0); + r0 = (s.potentialIndex___189429 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C148247_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C174863_VT); s.tmp_1 = r0; - s.tmp_2 = tiles_Location_constructor__P148250_mk(s); + s.tmp_2 = tiles_Location_constructor__P174866_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = s.col___162780; - s.tmp_2.arg2 = s.row___162787; + s.tmp_2.arg1 = s.col___189396; + s.tmp_2.arg2 = s.row___189403; s.tmp_2.arg3 = s.arg0; s.callLocIdx = 952; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; - r0 = pxsim_Array_.setAt(s.reservoir___162778, s.potentialIndex___162813, s.tmp_1); + r0 = pxsim_Array_.setAt(s.reservoir___189394, s.potentialIndex___189429, s.tmp_1); case 10: case 11: case 12: - r0 = (s.count___162777 + 1); - s.count___162777 = (r0); + r0 = (s.count___189393 + 1); + s.count___189393 = (r0); case 13: case 14: - r0 = (s.row___162787 + 1); - s.row___162787 = (r0); + r0 = (s.row___189403 + 1); + s.row___189403 = (r0); { step = 8; continue; } case 15: - r0 = (s.col___162780 + 1); - s.col___162780 = (r0); + r0 = (s.col___189396 + 1); + s.col___189396 = (r0); { step = 7; continue; } case 16: - r0 = s.reservoir___162778; + r0 = s.reservoir___189394; case 17: return leave(s, r0) default: oops() } } } -tiles_TileMap_sampleTilesByType__P148294.info = {"start":9016,"length":1101,"line":318,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"sampleTilesByType","argumentNames":["this","index","maxCount"]} +tiles_TileMap_sampleTilesByType__P174910.info = {"start":9016,"length":1101,"line":318,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"sampleTilesByType","argumentNames":["this","index","maxCount"]} -function tiles_TileMap_sampleTilesByType__P148294_mk(s) { +function tiles_TileMap_sampleTilesByType__P174910_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_sampleTilesByType__P148294, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_sampleTilesByType__P174910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37114,12 +37157,12 @@ function tiles_TileMap_sampleTilesByType__P148294_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - count___162777: undefined, - reservoir___162778: undefined, - col___162780: undefined, - row___162787: undefined, - currTile___162794: undefined, - potentialIndex___162813: undefined, + count___189393: undefined, + reservoir___189394: undefined, + col___189396: undefined, + row___189403: undefined, + currTile___189410: undefined, + potentialIndex___189429: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37129,7 +37172,7 @@ function tiles_TileMap_sampleTilesByType__P148294_mk(s) { -function tiles_TileMap_isInvalidIndex__P150411(s) { +function tiles_TileMap_isInvalidIndex__P177027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37145,7 +37188,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -37161,12 +37204,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isInvalidIndex__P150411.info = {"start":10127,"length":106,"line":344,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} +tiles_TileMap_isInvalidIndex__P177027.info = {"start":10127,"length":106,"line":344,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} -function tiles_TileMap_isInvalidIndex__P150411_mk(s) { +function tiles_TileMap_isInvalidIndex__P177027_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isInvalidIndex__P150411, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isInvalidIndex__P177027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37178,7 +37221,7 @@ function tiles_TileMap_isInvalidIndex__P150411_mk(s) { -function tiles_TileMap_getImageType__P148291(s) { +function tiles_TileMap_getImageType__P174907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37188,48 +37231,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tileset___162846 = undefined; - s.i___162851 = undefined; - s.newIndex___162865 = undefined; + s.tileset___189462 = undefined; + s.i___189467 = undefined; + s.newIndex___189481 = 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__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["tileset"]; - s.tileset___162846 = (r0); - s.i___162851 = (0); + s.tileset___189462 = (r0); + s.i___189467 = (0); case 1: - s.tmp_1 = r0 = s.i___162851; - r0 = pxsim_Array__length(s.tileset___162846); + s.tmp_1 = r0 = s.i___189467; + r0 = pxsim_Array__length(s.tileset___189462); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.tileset___162846, s.i___162851); + r0 = pxsim_Array__getAt(s.tileset___189462, s.i___189467); s.tmp_4 = r0; r0 = pxsim_ImageMethods.equals(s.tmp_4, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - r0 = s.i___162851; + r0 = s.i___189467; { step = 7; continue; } case 2: case 3: - r0 = (s.i___162851 + 1); - s.i___162851 = (r0); + r0 = (s.i___189467 + 1); + s.i___189467 = (r0); { step = 1; continue; } case 4: - r0 = pxsim_Array__length(s.tileset___162846); - s.newIndex___162865 = (r0); - s.tmp_3 = tiles_TileMap_isInvalidIndex__P150411_mk(s); + r0 = pxsim_Array__length(s.tileset___189462); + s.newIndex___189481 = (r0); + s.tmp_3 = tiles_TileMap_isInvalidIndex__P177027_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.newIndex___162865; + s.tmp_3.arg1 = s.newIndex___189481; s.callLocIdx = 943; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; @@ -37240,8 +37283,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_Array__push(s.tileset___162846, s.arg1); - r0 = s.newIndex___162865; + r0 = pxsim_Array__push(s.tileset___189462, s.arg1); + r0 = s.newIndex___189481; { step = 7; continue; } case 5: case 6: @@ -37250,21 +37293,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getImageType__P148291.info = {"start":7770,"length":482,"line":283,"column":8,"endLine":296,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getImageType","argumentNames":["this","im"]} +tiles_TileMap_getImageType__P174907.info = {"start":7770,"length":482,"line":283,"column":8,"endLine":296,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getImageType","argumentNames":["this","im"]} -function tiles_TileMap_getImageType__P148291_mk(s) { +function tiles_TileMap_getImageType__P174907_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getImageType__P148291, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getImageType__P174907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - tileset___162846: undefined, - i___162851: undefined, - newIndex___162865: undefined, + tileset___189462: undefined, + i___189467: undefined, + newIndex___189481: undefined, arg0: undefined, arg1: undefined, } } @@ -37273,7 +37316,7 @@ function tiles_TileMap_getImageType__P148291_mk(s) { -function tiles_TileMapData_getTileset__P148270(s) { +function tiles_TileMapData_getTileset__P174886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37288,17 +37331,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); r0 = s.arg0.fields["tileset"]; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileset__P148270.info = {"start":4532,"length":57,"line":168,"column":8,"endLine":170,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileset","argumentNames":["this"]} +tiles_TileMapData_getTileset__P174886.info = {"start":4532,"length":57,"line":168,"column":8,"endLine":170,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileset","argumentNames":["this"]} -function tiles_TileMapData_getTileset__P148270_mk(s) { +function tiles_TileMapData_getTileset__P174886_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileset__P148270, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileset__P174886, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -37307,7 +37350,7 @@ function tiles_TileMapData_getTileset__P148270_mk(s) { -function tiles_Location_place__P148254(s) { +function tiles_Location_place__P174870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37323,7 +37366,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C148247_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C174863_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -37333,15 +37376,15 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = Sprite_setPosition__P148026_mk(s); + s.tmp_2 = Sprite_setPosition__P174642_mk(s); s.tmp_2.arg0 = s.arg1; - s.tmp_3 = tiles_Location_x__P148251_mk(s); + s.tmp_3 = tiles_Location_x__P174867_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 911; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2.arg1 = r0; - s.tmp_4 = tiles_Location_y__P148252_mk(s); + s.tmp_4 = tiles_Location_y__P174868_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 912; s.pc = 6; return s.tmp_4; case 6: @@ -37355,12 +37398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_place__P148254.info = {"start":1189,"length":126,"line":51,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"place","argumentNames":["this","mySprite"]} +tiles_Location_place__P174870.info = {"start":1189,"length":126,"line":51,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"place","argumentNames":["this","mySprite"]} -function tiles_Location_place__P148254_mk(s) { +function tiles_Location_place__P174870_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_place__P148254, depth: s.depth + 1, + parent: s, fn: tiles_Location_place__P174870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37375,7 +37418,7 @@ function tiles_Location_place__P148254_mk(s) { -function tiles_Location_y__P148252(s) { +function tiles_Location_y__P174868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37385,22 +37428,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___162690 = undefined; + s.scale___189306 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C148247_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C174863_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___162690 = (r0); + s.scale___189306 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___162690); + r0 = (s.tmp_1 << s.scale___189306); s.tmp_0 = r0; - r0 = (s.scale___162690 - 1); + r0 = (s.scale___189306 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -37408,19 +37451,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P148252.info = {"start":836,"length":135,"line":38,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} -tiles_Location_y__P148252.isGetter = true; +tiles_Location_y__P174868.info = {"start":836,"length":135,"line":38,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P174868.isGetter = true; -function tiles_Location_y__P148252_mk(s) { +function tiles_Location_y__P174868_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P148252, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P174868, 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___162690: undefined, + scale___189306: undefined, arg0: undefined, } } @@ -37428,7 +37471,7 @@ function tiles_Location_y__P148252_mk(s) { -function tiles_Location_x__P148251(s) { +function tiles_Location_x__P174867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37438,22 +37481,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___162707 = undefined; + s.scale___189323 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C148247_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C174863_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___162707 = (r0); + s.scale___189323 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___162707); + r0 = (s.tmp_1 << s.scale___189323); s.tmp_0 = r0; - r0 = (s.scale___162707 - 1); + r0 = (s.scale___189323 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -37461,19 +37504,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P148251.info = {"start":691,"length":135,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} -tiles_Location_x__P148251.isGetter = true; +tiles_Location_x__P174867.info = {"start":691,"length":135,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P174867.isGetter = true; -function tiles_Location_x__P148251_mk(s) { +function tiles_Location_x__P174867_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P148251, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P174867, 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___162707: undefined, + scale___189323: undefined, arg0: undefined, } } @@ -37481,7 +37524,7 @@ function tiles_Location_x__P148251_mk(s) { -function Sprite_setPosition__P148026(s) { +function Sprite_setPosition__P174642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37491,7 +37534,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___162726 = undefined; + s.physics___189342 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37499,18 +37542,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 375; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___162726 = (r0); - s.tmp_0 = PhysicsEngine__C148115_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___162726; + s.physics___189342 = (r0); + s.tmp_0 = PhysicsEngine__C174731_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___189342; s.tmp_0.arg1 = s.arg0; s.tmp_2 = r0 = s.arg1; - s.tmp_4 = Sprite_x__P147979_mk(s); + s.tmp_4 = Sprite_x__P174595_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 376; s.pc = 3; return s.tmp_4; case 3: @@ -37523,7 +37566,7 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_0.arg2 = r0; s.tmp_7 = r0 = s.arg2; - s.tmp_9 = Sprite_y__P147981_mk(s); + s.tmp_9 = Sprite_y__P174597_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 378; s.pc = 4; return s.tmp_9; case 4: @@ -37535,7 +37578,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_10 | 0); s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C148115_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C174731_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: @@ -37544,12 +37587,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setPosition__P148026.info = {"start":12245,"length":220,"line":436,"column":4,"endLine":443,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} +Sprite_setPosition__P174642.info = {"start":12245,"length":220,"line":436,"column":4,"endLine":443,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} -function Sprite_setPosition__P148026_mk(s) { +function Sprite_setPosition__P174642_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setPosition__P148026, depth: s.depth + 1, + parent: s, fn: Sprite_setPosition__P174642, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37562,7 +37605,7 @@ function Sprite_setPosition__P148026_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - physics___162726: undefined, + physics___189342: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37572,7 +37615,7 @@ function Sprite_setPosition__P148026_mk(s) { -function lantern_startLanternEffect__P149880(s) { +function lantern_startLanternEffect__P176496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37582,7 +37625,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.effect___162886 = undefined; + s.effect___189502 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -37593,26 +37636,26 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = lantern_stopLanternEffect__P149881_mk(s); + s.tmp_2 = lantern_stopLanternEffect__P176497_mk(s); s.callLocIdx = 1961; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; { step = 3; continue; } case 1: case 2: - s.tmp_0 = lantern_LanternEffect_getInstance__P149874_mk(s); + s.tmp_0 = lantern_LanternEffect_getInstance__P176490_mk(s); s.callLocIdx = 1962; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.effect___162886 = (r0); - s.tmp_0 = lantern_LanternEffect_setAnchor__P149877_mk(s); - s.tmp_0.arg0 = s.effect___162886; + s.effect___189502 = (r0); + s.tmp_0 = lantern_LanternEffect_setAnchor__P176493_mk(s); + s.tmp_0.arg0 = s.effect___189502; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1963; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = lantern_LanternEffect_startScreenEffect__P149875_mk(s); - s.tmp_0.arg0 = s.effect___162886; + s.tmp_0 = lantern_LanternEffect_startScreenEffect__P176491_mk(s); + s.tmp_0.arg0 = s.effect___189502; s.callLocIdx = 1964; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -37621,17 +37664,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -lantern_startLanternEffect__P149880.info = {"start":6576,"length":267,"line":181,"column":4,"endLine":190,"endColumn":5,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"startLanternEffect","argumentNames":["anchor"]} +lantern_startLanternEffect__P176496.info = {"start":6576,"length":267,"line":181,"column":4,"endLine":190,"endColumn":5,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"startLanternEffect","argumentNames":["anchor"]} -function lantern_startLanternEffect__P149880_mk(s) { +function lantern_startLanternEffect__P176496_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_startLanternEffect__P149880, depth: s.depth + 1, + parent: s, fn: lantern_startLanternEffect__P176496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - effect___162886: undefined, + effect___189502: undefined, arg0: undefined, } } @@ -37639,7 +37682,7 @@ function lantern_startLanternEffect__P149880_mk(s) { -function lantern_stopLanternEffect__P149881(s) { +function lantern_stopLanternEffect__P176497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37649,8 +37692,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = lantern_LanternEffect_stopScreenEffect__P149876_mk(s); - s.tmp_1 = lantern_LanternEffect_getInstance__P149874_mk(s); + s.tmp_0 = lantern_LanternEffect_stopScreenEffect__P176492_mk(s); + s.tmp_1 = lantern_LanternEffect_getInstance__P176490_mk(s); s.callLocIdx = 1965; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -37662,12 +37705,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -lantern_stopLanternEffect__P149881.info = {"start":6863,"length":99,"line":193,"column":4,"endLine":195,"endColumn":5,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"stopLanternEffect","argumentNames":[]} +lantern_stopLanternEffect__P176497.info = {"start":6863,"length":99,"line":193,"column":4,"endLine":195,"endColumn":5,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"stopLanternEffect","argumentNames":[]} -function lantern_stopLanternEffect__P149881_mk(s) { +function lantern_stopLanternEffect__P176497_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_stopLanternEffect__P149881, depth: s.depth + 1, + parent: s, fn: lantern_stopLanternEffect__P176497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37677,7 +37720,7 @@ function lantern_stopLanternEffect__P149881_mk(s) { -function lantern_LanternEffect_stopScreenEffect__P149876(s) { +function lantern_LanternEffect_stopScreenEffect__P176492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37692,18 +37735,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, lantern_LanternEffect__C149873_VT)) failedCast(r0); + if (!checkSubtype(r0, lantern_LanternEffect__C176489_VT)) failedCast(r0); r0 = (s.arg0).fields["running"] = (false); r0 = undefined; return leave(s, r0) default: oops() } } } -lantern_LanternEffect_stopScreenEffect__P149876.info = {"start":5890,"length":64,"line":154,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"stopScreenEffect","argumentNames":["this"]} +lantern_LanternEffect_stopScreenEffect__P176492.info = {"start":5890,"length":64,"line":154,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"stopScreenEffect","argumentNames":["this"]} -function lantern_LanternEffect_stopScreenEffect__P149876_mk(s) { +function lantern_LanternEffect_stopScreenEffect__P176492_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_LanternEffect_stopScreenEffect__P149876, depth: s.depth + 1, + parent: s, fn: lantern_LanternEffect_stopScreenEffect__P176492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -37712,7 +37755,7 @@ function lantern_LanternEffect_stopScreenEffect__P149876_mk(s) { -function lantern_LanternEffect_setAnchor__P149877(s) { +function lantern_LanternEffect_setAnchor__P176493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37728,12 +37771,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, lantern_LanternEffect__C149873_VT)) failedCast(r0); + if (!checkSubtype(r0, lantern_LanternEffect__C176489_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P163220); + r0 = pxsim_pxtcore_mkAction(1, inline__P189836); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); r0 = s.arg0.fields["sources"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -37744,12 +37787,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -lantern_LanternEffect_setAnchor__P149877.info = {"start":5964,"length":210,"line":158,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} +lantern_LanternEffect_setAnchor__P176493.info = {"start":5964,"length":210,"line":158,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} -function lantern_LanternEffect_setAnchor__P149877_mk(s) { +function lantern_LanternEffect_setAnchor__P176493_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_LanternEffect_setAnchor__P149877, depth: s.depth + 1, + parent: s, fn: lantern_LanternEffect_setAnchor__P176493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37761,7 +37804,7 @@ function lantern_LanternEffect_setAnchor__P149877_mk(s) { -function inline__P163220(s) { +function inline__P189836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37783,12 +37826,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P163220.info = {"start":6064,"length":98,"line":160,"column":33,"endLine":162,"endColumn":13,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":["value","index"]} +inline__P189836.info = {"start":6064,"length":98,"line":160,"column":33,"endLine":162,"endColumn":13,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":["value","index"]} -function inline__P163220_mk(s) { +function inline__P189836_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P163220, depth: s.depth + 1, + parent: s, fn: inline__P189836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37799,7 +37842,7 @@ function inline__P163220_mk(s) { -function lantern_LanternEffect_startScreenEffect__P149875(s) { +function lantern_LanternEffect_startScreenEffect__P176491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37809,14 +37852,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___162903 = undefined; - s.up___162915 = undefined; + s.index___189519 = undefined; + s.up___189531 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, lantern_LanternEffect__C149873_VT)) failedCast(r0); + if (!checkSubtype(r0, lantern_LanternEffect__C176489_VT)) failedCast(r0); r0 = (s.arg0).fields["running"] = (true); r0 = s.arg0.fields["init"]; s.tmp_0 = r0; @@ -37827,13 +37870,13 @@ switch (step) { case 2: r0 = (s.arg0).fields["init"] = (true); r0 = pxsim_pxtrt.mklocRef(); - s.index___162903 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.index___162903, 0); - r0 = pxsim_pxtcore_mkAction(2, inline__P162906); + s.index___189519 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.index___189519, 0); + r0 = pxsim_pxtcore_mkAction(2, inline__P189522); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___162903); - s.tmp_1 = scene_createRenderable__P148335_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___189519); + s.tmp_1 = scene_createRenderable__P174951_mk(s); s.tmp_1.arg0 = 91; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; @@ -37841,14 +37884,14 @@ switch (step) { case 4: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.up___162915 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.up___162915, true); - r0 = pxsim_pxtcore_mkAction(3, inline__P162917); + s.up___189531 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.up___189531, true); + r0 = pxsim_pxtcore_mkAction(3, inline__P189533); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___162903); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.up___162915); - s.tmp_1 = game_onUpdateInterval__P148496_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___189519); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.up___189531); + s.tmp_1 = game_onUpdateInterval__P175112_mk(s); s.tmp_1.arg0 = 1000; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1955; s.pc = 5; return s.tmp_1; @@ -37859,17 +37902,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -lantern_LanternEffect_startScreenEffect__P149875.info = {"start":4983,"length":897,"line":119,"column":8,"endLine":152,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"startScreenEffect","argumentNames":["this"]} +lantern_LanternEffect_startScreenEffect__P176491.info = {"start":4983,"length":897,"line":119,"column":8,"endLine":152,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"startScreenEffect","argumentNames":["this"]} -function lantern_LanternEffect_startScreenEffect__P149875_mk(s) { +function lantern_LanternEffect_startScreenEffect__P176491_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_LanternEffect_startScreenEffect__P149875, depth: s.depth + 1, + parent: s, fn: lantern_LanternEffect_startScreenEffect__P176491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - index___162903: undefined, - up___162915: undefined, + index___189519: undefined, + up___189531: undefined, arg0: undefined, } } @@ -37877,7 +37920,7 @@ function lantern_LanternEffect_startScreenEffect__P149875_mk(s) { -function inline__P162906(s) { +function inline__P189522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37898,7 +37941,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = lantern_LightSource_apply__P149872_mk(s); + s.tmp_3 = lantern_LightSource_apply__P176488_mk(s); r0 = s.caps[0].fields["sources"]; s.tmp_4 = r0; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); @@ -37913,12 +37956,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P162906.info = {"start":5172,"length":109,"line":127,"column":39,"endLine":130,"endColumn":13,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":[]} +inline__P189522.info = {"start":5172,"length":109,"line":127,"column":39,"endLine":130,"endColumn":13,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":[]} -function inline__P162906_mk(s) { +function inline__P189522_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P162906, depth: s.depth + 1, + parent: s, fn: inline__P189522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37932,7 +37975,7 @@ function inline__P162906_mk(s) { -function inline__P162917(s) { +function inline__P189533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38021,12 +38064,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P162917.info = {"start":5352,"length":517,"line":134,"column":40,"endLine":151,"endColumn":13,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":[]} +inline__P189533.info = {"start":5352,"length":517,"line":134,"column":40,"endLine":151,"endColumn":13,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":[]} -function inline__P162917_mk(s) { +function inline__P189533_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P162917, depth: s.depth + 1, + parent: s, fn: inline__P189533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38042,7 +38085,7 @@ function inline__P162917_mk(s) { -function lantern_LightSource_apply__P149872(s) { +function lantern_LightSource_apply__P176488(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38052,28 +38095,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.camera___162947 = undefined; - s.halfh___162951 = undefined; - s.cx___162954 = undefined; - s.cy___162961 = undefined; - s.prev___162968 = undefined; - s.offset___162969 = undefined; - s.band___162970 = undefined; - s.y___163023 = undefined; + s.camera___189563 = undefined; + s.halfh___189567 = undefined; + s.cx___189570 = undefined; + s.cy___189577 = undefined; + s.prev___189584 = undefined; + s.offset___189585 = undefined; + s.band___189586 = undefined; + s.y___189639 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, lantern_LightSource__C149866_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, lantern_LightSource__C176482_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1935; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = r0.fields["camera"]; - s.camera___162947 = (r0); + s.camera___189563 = (r0); r0 = s.arg0.fields["width"]; - s.halfh___162951 = (r0); + s.halfh___189567 = (r0); s.tmp_1 = if_x_1_mk(s); r0 = s.arg0.fields["anchor"]; s.tmp_1.arg0 = r0; @@ -38088,10 +38131,10 @@ switch (step) { case 8: r0 = s.retval; s.tmp_0 = r0; - r0 = s.camera___162947.fields["drawOffsetX"]; + r0 = s.camera___189563.fields["drawOffsetX"]; s.tmp_2 = r0; r0 = (s.tmp_0 - s.tmp_2); - s.cx___162954 = (r0); + s.cx___189570 = (r0); s.tmp_1 = if_y_1_mk(s); r0 = s.arg0.fields["anchor"]; s.tmp_1.arg0 = r0; @@ -38106,17 +38149,17 @@ switch (step) { case 9: r0 = s.retval; s.tmp_0 = r0; - r0 = s.camera___162947.fields["drawOffsetY"]; + r0 = s.camera___189563.fields["drawOffsetY"]; s.tmp_2 = r0; r0 = (s.tmp_0 - s.tmp_2); - s.cy___162961 = (r0); - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.cy___189577 = (r0); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_0.arg3 = r0; - r0 = (s.cy___162961 - s.halfh___162951); + r0 = (s.cy___189577 - s.halfh___189567); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg4 = r0; @@ -38124,51 +38167,51 @@ switch (step) { s.callLocIdx = 1938; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_0.arg1 = 0; - r0 = (s.cy___162961 - s.halfh___162951); + r0 = (s.cy___189577 - s.halfh___189567); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.cx___162954 - s.halfh___162951); + r0 = (s.cx___189570 - s.halfh___189567); s.tmp_0.arg3 = r0; - r0 = (s.halfh___162951 << 1); + r0 = (s.halfh___189567 << 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; s.callLocIdx = 1939; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.cx___162954 + s.halfh___162951); + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.cx___189570 + s.halfh___189567); s.tmp_0.arg1 = r0; - r0 = (s.cy___162961 - s.halfh___162951); + r0 = (s.cy___189577 - s.halfh___189567); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_3 = r0; - r0 = (s.tmp_3 - s.cx___162954); + r0 = (s.tmp_3 - s.cx___189570); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.halfh___162951); + r0 = (s.tmp_2 - s.halfh___189567); s.tmp_0.arg3 = r0; - r0 = (s.halfh___162951 << 1); + r0 = (s.halfh___189567 << 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; s.callLocIdx = 1940; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_0.arg1 = 0; - r0 = (s.cy___162961 + s.halfh___162951); + r0 = (s.cy___189577 + s.halfh___189567); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_1 = r0; - r0 = (s.cy___162961 + s.halfh___162951); + r0 = (s.cy___189577 + s.halfh___189567); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg4 = r0; @@ -38176,40 +38219,40 @@ switch (step) { s.callLocIdx = 1941; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.y___163023 = (0); + s.y___189639 = (0); case 1: - r0 = (s.y___163023 < s.halfh___162951); + r0 = (s.y___189639 < s.halfh___189567); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } r0 = s.arg0.fields["rings"]; - s.band___162970 = (r0); - s.prev___162968 = (0); + s.band___189586 = (r0); + s.prev___189584 = (0); r0 = s.arg0.fields["offsetTable"]; s.tmp_0 = r0; r0 = s.arg0.fields["rings"]; s.tmp_4 = r0; - r0 = (s.y___163023 * s.tmp_4); + r0 = (s.y___189639 * s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 + s.band___162970); + r0 = (s.tmp_3 + s.band___189586); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getByte(s.tmp_0, s.tmp_1); - s.offset___162969 = (r0); - s.tmp_0 = helpers_imageMapRect__P147676_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.cx___162954 - s.halfh___162951); + s.offset___189585 = (r0); + s.tmp_0 = helpers_imageMapRect__P174292_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.cx___189570 - s.halfh___189567); s.tmp_0.arg1 = r0; - r0 = (s.cy___162961 + s.y___163023); + r0 = (s.cy___189577 + s.y___189639); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.halfh___162951 - s.offset___162969); + r0 = (s.halfh___189567 - s.offset___189585); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_2 = r0 = globals.bandPalettes___152476; - r0 = pxsim_Array__length(globals.bandPalettes___152476); + s.tmp_2 = r0 = globals.bandPalettes___179092; + r0 = pxsim_Array__length(globals.bandPalettes___179092); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); s.tmp_3 = r0; @@ -38218,17 +38261,17 @@ switch (step) { s.callLocIdx = 1942; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = helpers_imageMapRect__P147676_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.cx___162954 - s.halfh___162951); + s.tmp_0 = helpers_imageMapRect__P174292_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.cx___189570 - s.halfh___189567); s.tmp_0.arg1 = r0; - r0 = (s.cy___162961 - s.y___163023); + r0 = (s.cy___189577 - s.y___189639); s.tmp_0.arg2 = r0; - r0 = (s.halfh___162951 - s.offset___162969); + r0 = (s.halfh___189567 - s.offset___189585); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_1 = r0 = globals.bandPalettes___152476; - r0 = pxsim_Array__length(globals.bandPalettes___152476); + s.tmp_1 = r0 = globals.bandPalettes___179092; + r0 = pxsim_Array__length(globals.bandPalettes___179092); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -38237,19 +38280,19 @@ switch (step) { s.callLocIdx = 1943; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = helpers_imageMapRect__P147676_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.cx___162954 + s.offset___162969); + s.tmp_0 = helpers_imageMapRect__P174292_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.cx___189570 + s.offset___189585); s.tmp_0.arg1 = r0; - r0 = (s.cy___162961 + s.y___163023); + r0 = (s.cy___189577 + s.y___189639); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.halfh___162951 - s.offset___162969); + r0 = (s.halfh___189567 - s.offset___189585); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_2 = r0 = globals.bandPalettes___152476; - r0 = pxsim_Array__length(globals.bandPalettes___152476); + s.tmp_2 = r0 = globals.bandPalettes___179092; + r0 = pxsim_Array__length(globals.bandPalettes___179092); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); s.tmp_3 = r0; @@ -38258,17 +38301,17 @@ switch (step) { s.callLocIdx = 1944; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = helpers_imageMapRect__P147676_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.cx___162954 + s.offset___162969); + s.tmp_0 = helpers_imageMapRect__P174292_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.cx___189570 + s.offset___189585); s.tmp_0.arg1 = r0; - r0 = (s.cy___162961 - s.y___163023); + r0 = (s.cy___189577 - s.y___189639); s.tmp_0.arg2 = r0; - r0 = (s.halfh___162951 - s.offset___162969); + r0 = (s.halfh___189567 - s.offset___189585); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_1 = r0 = globals.bandPalettes___152476; - r0 = pxsim_Array__length(globals.bandPalettes___152476); + s.tmp_1 = r0 = globals.bandPalettes___179092; + r0 = pxsim_Array__length(globals.bandPalettes___179092); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -38278,7 +38321,7 @@ switch (step) { case 17: r0 = s.retval; case 2: - r0 = (s.band___162970 > 0); + r0 = (s.band___189586 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -38286,116 +38329,116 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["rings"]; s.tmp_5 = r0; - r0 = (s.y___163023 * s.tmp_5); + r0 = (s.y___189639 * s.tmp_5); s.tmp_4 = r0; - r0 = (s.tmp_4 + s.band___162970); + r0 = (s.tmp_4 + s.band___189586); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getByte(s.tmp_1, s.tmp_2); - s.offset___162969 = (r0); - r0 = pxsim_numops_toBoolDecr(s.offset___162969); + s.offset___189585 = (r0); + r0 = pxsim_numops_toBoolDecr(s.offset___189585); if (!r0) { step = 3; continue; } - s.tmp_0 = r0 = s.offset___162969; + s.tmp_0 = r0 = s.offset___189585; r0 = pxsim.Math_.randomRange(0, 11); s.tmp_2 = r0; r0 = pxsim.Math_.idiv(s.tmp_2, 5); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.offset___162969 = (r0); + s.offset___189585 = (r0); case 3: case 4: - s.tmp_0 = helpers_imageMapRect__P147676_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.cx___162954 + s.offset___162969); + s.tmp_0 = helpers_imageMapRect__P174292_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.cx___189570 + s.offset___189585); s.tmp_0.arg1 = r0; - r0 = (s.cy___162961 + s.y___163023); + r0 = (s.cy___189577 + s.y___189639); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.prev___162968 - s.offset___162969); + r0 = (s.prev___189584 - s.offset___189585); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_2 = r0 = globals.bandPalettes___152476; - r0 = (s.band___162970 - 1); + s.tmp_2 = r0 = globals.bandPalettes___179092; + r0 = (s.band___189586 - 1); s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); s.tmp_0.arg5 = r0; s.callLocIdx = 1946; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = helpers_imageMapRect__P147676_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.cx___162954 - s.prev___162968); + s.tmp_0 = helpers_imageMapRect__P174292_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.cx___189570 - s.prev___189584); s.tmp_0.arg1 = r0; - r0 = (s.cy___162961 + s.y___163023); + r0 = (s.cy___189577 + s.y___189639); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.prev___162968 - s.offset___162969); + r0 = (s.prev___189584 - s.offset___189585); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_2 = r0 = globals.bandPalettes___152476; - r0 = (s.band___162970 - 1); + s.tmp_2 = r0 = globals.bandPalettes___179092; + r0 = (s.band___189586 - 1); s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); s.tmp_0.arg5 = r0; s.callLocIdx = 1947; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = helpers_imageMapRect__P147676_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.cx___162954 + s.offset___162969); + s.tmp_0 = helpers_imageMapRect__P174292_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.cx___189570 + s.offset___189585); s.tmp_0.arg1 = r0; - r0 = (s.cy___162961 - s.y___163023); + r0 = (s.cy___189577 - s.y___189639); s.tmp_0.arg2 = r0; - r0 = (s.prev___162968 - s.offset___162969); + r0 = (s.prev___189584 - s.offset___189585); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_1 = r0 = globals.bandPalettes___152476; - r0 = (s.band___162970 - 1); + s.tmp_1 = r0 = globals.bandPalettes___179092; + r0 = (s.band___189586 - 1); s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); s.tmp_0.arg5 = r0; s.callLocIdx = 1948; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = helpers_imageMapRect__P147676_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - r0 = (s.cx___162954 - s.prev___162968); + s.tmp_0 = helpers_imageMapRect__P174292_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + r0 = (s.cx___189570 - s.prev___189584); s.tmp_0.arg1 = r0; - r0 = (s.cy___162961 - s.y___163023); + r0 = (s.cy___189577 - s.y___189639); s.tmp_0.arg2 = r0; - r0 = (s.prev___162968 - s.offset___162969); + r0 = (s.prev___189584 - s.offset___189585); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_1 = r0 = globals.bandPalettes___152476; - r0 = (s.band___162970 - 1); + s.tmp_1 = r0 = globals.bandPalettes___179092; + r0 = (s.band___189586 - 1); s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); s.tmp_0.arg5 = r0; s.callLocIdx = 1949; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.prev___162968 = (s.offset___162969); - r0 = (s.band___162970 - 1); - s.band___162970 = (r0); + s.prev___189584 = (s.offset___189585); + r0 = (s.band___189586 - 1); + s.band___189586 = (r0); { step = 2; continue; } case 5: - r0 = (s.y___163023 + 1); - s.y___163023 = (r0); + r0 = (s.y___189639 + 1); + s.y___189639 = (r0); { step = 1; continue; } case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -lantern_LightSource_apply__P149872.info = {"start":1562,"length":2365,"line":41,"column":8,"endLine":86,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"apply","argumentNames":["this"]} +lantern_LightSource_apply__P176488.info = {"start":1562,"length":2365,"line":41,"column":8,"endLine":86,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"apply","argumentNames":["this"]} -function lantern_LightSource_apply__P149872_mk(s) { +function lantern_LightSource_apply__P176488_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_LightSource_apply__P149872, depth: s.depth + 1, + parent: s, fn: lantern_LightSource_apply__P176488, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38403,14 +38446,14 @@ function lantern_LightSource_apply__P149872_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - camera___162947: undefined, - halfh___162951: undefined, - cx___162954: undefined, - cy___162961: undefined, - prev___162968: undefined, - offset___162969: undefined, - band___162970: undefined, - y___163023: undefined, + camera___189563: undefined, + halfh___189567: undefined, + cx___189570: undefined, + cy___189577: undefined, + prev___189584: undefined, + offset___189585: undefined, + band___189586: undefined, + y___189639: undefined, arg0: undefined, } } @@ -38418,7 +38461,7 @@ function lantern_LightSource_apply__P149872_mk(s) { -function helpers_imageMapRect__P147676(s) { +function helpers_imageMapRect__P174292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38438,14 +38481,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P150204_mk(s); + s.tmp_2 = helpers_pack__P176820_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 139; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P150204_mk(s); + s.tmp_4 = helpers_pack__P176820_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 140; s.pc = 2; return s.tmp_4; @@ -38457,12 +38500,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageMapRect__P147676.info = {"start":3814,"length":158,"line":134,"column":4,"endLine":136,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageMapRect","argumentNames":["img","x","y","w","h","m"]} +helpers_imageMapRect__P174292.info = {"start":3814,"length":158,"line":134,"column":4,"endLine":136,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageMapRect","argumentNames":["img","x","y","w","h","m"]} -function helpers_imageMapRect__P147676_mk(s) { +function helpers_imageMapRect__P174292_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageMapRect__P147676, depth: s.depth + 1, + parent: s, fn: helpers_imageMapRect__P174292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38481,7 +38524,7 @@ function helpers_imageMapRect__P147676_mk(s) { -function lantern_LanternEffect_getInstance__P149874(s) { +function lantern_LanternEffect_getInstance__P176490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38491,32 +38534,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.lantern_LanternEffect_instance___152482); + r0 = pxsim_numops_toBoolDecr(globals.lantern_LanternEffect_instance___179098); 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(lantern_LanternEffect__C149873_VT); + r0 = pxsim_pxtcore_mkClassInstance(lantern_LanternEffect__C176489_VT); s.tmp_2 = r0; - s.tmp_3 = lantern_LanternEffect_constructor__P152483_mk(s); + s.tmp_3 = lantern_LanternEffect_constructor__P179099_mk(s); s.tmp_3.arg0 = s.tmp_2; s.callLocIdx = 1950; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - globals.lantern_LanternEffect_instance___152482 = (s.tmp_2); + globals.lantern_LanternEffect_instance___179098 = (s.tmp_2); case 1: case 2: - r0 = globals.lantern_LanternEffect_instance___152482; + r0 = globals.lantern_LanternEffect_instance___179098; return leave(s, r0) default: oops() } } } -lantern_LanternEffect_getInstance__P149874.info = {"start":4251,"length":169,"line":97,"column":8,"endLine":100,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"getInstance","argumentNames":[]} +lantern_LanternEffect_getInstance__P176490.info = {"start":4251,"length":169,"line":97,"column":8,"endLine":100,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"getInstance","argumentNames":[]} -function lantern_LanternEffect_getInstance__P149874_mk(s) { +function lantern_LanternEffect_getInstance__P176490_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_LanternEffect_getInstance__P149874, depth: s.depth + 1, + parent: s, fn: lantern_LanternEffect_getInstance__P176490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38528,7 +38571,7 @@ function lantern_LanternEffect_getInstance__P149874_mk(s) { -function lantern_LanternEffect_constructor__P152483(s) { +function lantern_LanternEffect_constructor__P179099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38538,50 +38581,50 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.band___163236 = undefined; - s.buffer___163240 = undefined; - s.i___163244 = undefined; + s.band___189852 = undefined; + s.buffer___189856 = undefined; + s.i___189860 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, lantern_LanternEffect__C149873_VT)) failedCast(r0); + if (!checkSubtype(r0, lantern_LanternEffect__C176489_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - globals.bandPalettes___152476 = (r0); - s.band___163236 = (0); + globals.bandPalettes___179092 = (r0); + s.band___189852 = (0); case 1: - r0 = (s.band___163236 < 6); + r0 = (s.band___189852 < 6); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } r0 = pxsim.pins.createBuffer(16); - s.buffer___163240 = (r0); - s.i___163244 = (0); + s.buffer___189856 = (r0); + s.i___189860 = (0); case 2: - r0 = (s.i___163244 < 16); + r0 = (s.i___189860 < 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = r0 = s.buffer___163240; - s.tmp_2 = r0 = s.i___163244; - s.tmp_4 = r0 = globals.palette_ramps___152479; - s.tmp_5 = r0 = s.i___163244; - r0 = (s.band___163236 + 1); + s.tmp_1 = r0 = s.buffer___189856; + s.tmp_2 = r0 = s.i___189860; + s.tmp_4 = r0 = globals.palette_ramps___179095; + s.tmp_5 = r0 = s.i___189860; + r0 = (s.band___189852 + 1); s.tmp_6 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_4, s.tmp_5, s.tmp_6); s.tmp_3 = r0; r0 = pxsim.BufferMethods.setByte(s.tmp_1, s.tmp_2, s.tmp_3); - r0 = (s.i___163244 + 1); - s.i___163244 = (r0); + r0 = (s.i___189860 + 1); + s.i___189860 = (r0); { step = 2; continue; } case 3: - r0 = pxsim_Array__push(globals.bandPalettes___152476, s.buffer___163240); - r0 = (s.band___163236 + 1); - s.band___163236 = (r0); + r0 = pxsim_Array__push(globals.bandPalettes___179092, s.buffer___189856); + r0 = (s.band___189852 + 1); + s.band___189852 = (r0); { step = 1; continue; } case 4: - s.tmp_0 = lantern_LanternEffect_setBandWidth__P149878_mk(s); + s.tmp_0 = lantern_LanternEffect_setBandWidth__P176494_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 13; s.callLocIdx = 1951; s.pc = 5; return s.tmp_0; @@ -38589,17 +38632,17 @@ switch (step) { r0 = s.retval; r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "x", s.tmp_1); - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "y", s.tmp_3); - s.tmp_5 = lantern_LanternEffect_setAnchor__P149877_mk(s); + s.tmp_5 = lantern_LanternEffect_setAnchor__P176493_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = s.tmp_0; s.callLocIdx = 1952; s.pc = 6; return s.tmp_5; @@ -38611,12 +38654,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -lantern_LanternEffect_constructor__P152483.info = {"start":4430,"length":543,"line":102,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":["this"]} +lantern_LanternEffect_constructor__P179099.info = {"start":4430,"length":543,"line":102,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":["this"]} -function lantern_LanternEffect_constructor__P152483_mk(s) { +function lantern_LanternEffect_constructor__P179099_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_LanternEffect_constructor__P152483, depth: s.depth + 1, + parent: s, fn: lantern_LanternEffect_constructor__P179099, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38625,9 +38668,9 @@ function lantern_LanternEffect_constructor__P152483_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - band___163236: undefined, - buffer___163240: undefined, - i___163244: undefined, + band___189852: undefined, + buffer___189856: undefined, + i___189860: undefined, arg0: undefined, } } @@ -38635,7 +38678,7 @@ function lantern_LanternEffect_constructor__P152483_mk(s) { -function lantern_LanternEffect_setBandWidth__P149878(s) { +function lantern_LanternEffect_setBandWidth__P176494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38651,10 +38694,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, lantern_LanternEffect__C149873_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(lantern_LightSource__C149866_VT); + if (!checkSubtype(r0, lantern_LanternEffect__C176489_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(lantern_LightSource__C176482_VT); s.tmp_0 = r0; - s.tmp_1 = lantern_LightSource_constructor__P149871_mk(s); + s.tmp_1 = lantern_LightSource_constructor__P176487_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; r0 = (s.arg1 - 1); @@ -38666,9 +38709,9 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(lantern_LightSource__C149866_VT); + r0 = pxsim_pxtcore_mkClassInstance(lantern_LightSource__C176482_VT); s.tmp_3 = r0; - s.tmp_4 = lantern_LightSource_constructor__P149871_mk(s); + s.tmp_4 = lantern_LightSource_constructor__P176487_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 4; s.tmp_4.arg2 = s.arg1; @@ -38677,9 +38720,9 @@ switch (step) { case 2: r0 = s.retval; r0 = pxsim_Array__push(s.tmp_2, s.tmp_3); - r0 = pxsim_pxtcore_mkClassInstance(lantern_LightSource__C149866_VT); + r0 = pxsim_pxtcore_mkClassInstance(lantern_LightSource__C176482_VT); s.tmp_5 = r0; - s.tmp_6 = lantern_LightSource_constructor__P149871_mk(s); + s.tmp_6 = lantern_LightSource_constructor__P176487_mk(s); s.tmp_6.arg0 = s.tmp_5; s.tmp_6.arg1 = 4; r0 = (s.arg1 + 1); @@ -38690,7 +38733,7 @@ switch (step) { r0 = s.retval; r0 = pxsim_Array__push(s.tmp_2, s.tmp_5); r0 = (s.arg0).fields["sources"] = (s.tmp_2); - s.tmp_0 = lantern_LanternEffect_setAnchor__P149877_mk(s); + s.tmp_0 = lantern_LanternEffect_setAnchor__P176493_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["anchor"]; s.tmp_0.arg1 = r0; @@ -38701,12 +38744,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -lantern_LanternEffect_setBandWidth__P149878.info = {"start":6184,"length":269,"line":165,"column":8,"endLine":173,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"setBandWidth","argumentNames":["this","width"]} +lantern_LanternEffect_setBandWidth__P176494.info = {"start":6184,"length":269,"line":165,"column":8,"endLine":173,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"setBandWidth","argumentNames":["this","width"]} -function lantern_LanternEffect_setBandWidth__P149878_mk(s) { +function lantern_LanternEffect_setBandWidth__P176494_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_LanternEffect_setBandWidth__P149878, depth: s.depth + 1, + parent: s, fn: lantern_LanternEffect_setBandWidth__P176494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38723,7 +38766,7 @@ function lantern_LanternEffect_setBandWidth__P149878_mk(s) { -function lantern_LightSource_constructor__P149871(s) { +function lantern_LightSource_constructor__P176487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38733,11 +38776,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.halfh___163301 = undefined; - s.x___163317 = undefined; - s.band___163318 = undefined; - s.y2___163319 = undefined; - s.y___163320 = undefined; + s.halfh___189917 = undefined; + s.x___189933 = undefined; + s.band___189934 = undefined; + s.y2___189935 = undefined; + s.y___189936 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38746,7 +38789,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, lantern_LightSource__C149866_VT)) failedCast(r0); + if (!checkSubtype(r0, lantern_LightSource__C176482_VT)) failedCast(r0); r0 = (s.arg0).fields["rings"] = (s.arg1); r0 = (s.arg0).fields["bandWidth"] = (s.arg2); r0 = (s.arg0).fields["centerRadius"] = (s.arg3); @@ -38754,32 +38797,32 @@ switch (step) { r0 = (s.arg1 * s.arg2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.halfh___163301 = (r0); + s.halfh___189917 = (r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 + 1); s.tmp_3 = r0; - r0 = (s.tmp_3 * s.halfh___163301); + r0 = (s.tmp_3 * s.halfh___189917); s.tmp_2 = r0; r0 = pxsim.pins.createBuffer(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetTable"] = (s.tmp_1); - s.y___163320 = (0); + s.y___189936 = (0); case 1: - r0 = (s.y___163320 < s.halfh___163301); + r0 = (s.y___189936 < s.halfh___189917); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim.Math_.pow(s.y___163320, 2); - s.y2___163319 = (r0); - s.band___163318 = (0); + r0 = pxsim.Math_.pow(s.y___189936, 2); + s.y2___189935 = (r0); + s.band___189934 = (0); case 2: - r0 = (s.band___163318 < s.arg1); + r0 = (s.band___189934 < s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_5 = r0 = s.arg3; s.tmp_7 = r0 = s.arg2; - r0 = (s.band___163318 + 1); + r0 = (s.band___189934 + 1); s.tmp_8 = r0; r0 = (s.tmp_7 * s.tmp_8); s.tmp_6 = r0; @@ -38787,39 +38830,39 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim.Math_.pow(s.tmp_4, 2); s.tmp_3 = r0; - r0 = (s.tmp_3 - s.y2___163319); + r0 = (s.tmp_3 - s.y2___189935); s.tmp_2 = r0; r0 = pxsim.Math_.sqrt(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.x___163317 = (r0); + s.x___189933 = (r0); r0 = s.arg0.fields["offsetTable"]; s.tmp_0 = r0; - r0 = (s.y___163320 * s.arg1); + r0 = (s.y___189936 * s.arg1); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.band___163318); + r0 = (s.tmp_2 + s.band___189934); s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setByte(s.tmp_0, s.tmp_1, s.x___163317); - r0 = (s.band___163318 + 1); - s.band___163318 = (r0); + r0 = pxsim.BufferMethods.setByte(s.tmp_0, s.tmp_1, s.x___189933); + r0 = (s.band___189934 + 1); + s.band___189934 = (r0); { step = 2; continue; } case 3: - r0 = (s.y___163320 + 1); - s.y___163320 = (r0); + r0 = (s.y___189936 + 1); + s.y___189936 = (r0); { step = 1; continue; } case 4: - r0 = (s.arg0).fields["width"] = (s.halfh___163301); - r0 = (s.arg0).fields["height"] = (s.halfh___163301); + r0 = (s.arg0).fields["width"] = (s.halfh___189917); + r0 = (s.arg0).fields["height"] = (s.halfh___189917); r0 = undefined; return leave(s, r0) default: oops() } } } -lantern_LightSource_constructor__P149871.info = {"start":560,"length":992,"line":19,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":["this","rings","bandWidth","centerRadius"]} +lantern_LightSource_constructor__P176487.info = {"start":560,"length":992,"line":19,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/pxt-lantern/lantern.ts","functionName":"inline","argumentNames":["this","rings","bandWidth","centerRadius"]} -function lantern_LightSource_constructor__P149871_mk(s) { +function lantern_LightSource_constructor__P176487_mk(s) { checkStack(s.depth); return { - parent: s, fn: lantern_LightSource_constructor__P149871, depth: s.depth + 1, + parent: s, fn: lantern_LightSource_constructor__P176487, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38830,11 +38873,11 @@ function lantern_LightSource_constructor__P149871_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - halfh___163301: undefined, - x___163317: undefined, - band___163318: undefined, - y2___163319: undefined, - y___163320: undefined, + halfh___189917: undefined, + x___189933: undefined, + band___189934: undefined, + y2___189935: undefined, + y___189936: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38845,7 +38888,7 @@ function lantern_LightSource_constructor__P149871_mk(s) { -function tiles_loadMap__P149944(s) { +function tiles_loadMap__P176560(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38855,30 +38898,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loaded___163374 = undefined; + s.loaded___189990 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tiles_getLoadedMap__P149945_mk(s); + s.tmp_0 = tiles_getLoadedMap__P176561_mk(s); s.callLocIdx = 2015; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.loaded___163374 = (r0); - s.tmp_0 = tiles_destroySpritesOfKind__P149890_mk(s); - s.tmp_0.arg0 = globals._TileSprite___149885; + s.loaded___189990 = (r0); + s.tmp_0 = tiles_destroySpritesOfKind__P176506_mk(s); + s.tmp_0.arg0 = globals._TileSprite___176501; s.callLocIdx = 2016; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.loaded___163374); + r0 = pxsim_numops_toBoolDecr(s.loaded___189990); if (!r0) { step = 1; continue; } - s.tmp_0 = tiles_OverWorldState_callUnloadListeners__P152500_mk(s); + s.tmp_0 = tiles_OverWorldState_callUnloadListeners__P179116_mk(s); s.callLocIdx = 2017; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 1: case 2: - s.tmp_1 = tiles_OverWorldState_getInstance__P152499_mk(s); + s.tmp_1 = tiles_OverWorldState_getInstance__P179115_mk(s); s.callLocIdx = 2018; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -38886,7 +38929,7 @@ switch (step) { r0 = (s.tmp_0).fields["loadedMap"] = (s.arg0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 3; continue; } - s.tmp_0 = scene_setTileMapLevel__P148414_mk(s); + s.tmp_0 = scene_setTileMapLevel__P175030_mk(s); r0 = s.arg0.fields["tilemap"]; s.tmp_0.arg0 = r0; s.callLocIdx = 2019; s.pc = 9; return s.tmp_0; @@ -38895,7 +38938,7 @@ switch (step) { r0 = pxsim.control.raiseEvent(7686, 7687); { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P148484_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 2020; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -38906,16 +38949,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_loadMap__P149944.info = {"start":4338,"length":519,"line":144,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"loadMap","argumentNames":["map"]} +tiles_loadMap__P176560.info = {"start":4338,"length":519,"line":144,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"loadMap","argumentNames":["map"]} -function tiles_loadMap__P149944_mk(s) { +function tiles_loadMap__P176560_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_loadMap__P149944, depth: s.depth + 1, + parent: s, fn: tiles_loadMap__P176560, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - loaded___163374: undefined, + loaded___189990: undefined, arg0: undefined, } } @@ -38923,7 +38966,7 @@ function tiles_loadMap__P149944_mk(s) { -function tiles_OverWorldState_callUnloadListeners__P152500(s) { +function tiles_OverWorldState_callUnloadListeners__P179116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38933,30 +38976,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___163690 = undefined; - s.listener___163694 = undefined; - s.unnamed1078___U2 = undefined; - s.unnamed1079___U3 = undefined; - s.tmp_0 = tiles_OverWorldState_getInstance__P152499_mk(s); + s.state___190306 = undefined; + s.listener___190310 = undefined; + s.unnamed1186___U2 = undefined; + s.unnamed1187___U3 = undefined; + s.tmp_0 = tiles_OverWorldState_getInstance__P179115_mk(s); s.callLocIdx = 2010; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.state___163690 = (r0); - s.listener___163694 = (undefined); - r0 = s.state___163690.fields["listeners"]; - s.unnamed1078___U2 = (r0); - s.unnamed1079___U3 = (0); + s.state___190306 = (r0); + s.listener___190310 = (undefined); + r0 = s.state___190306.fields["listeners"]; + s.unnamed1186___U2 = (r0); + s.unnamed1187___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1079___U3; - r0 = pxsim_Array__length(s.unnamed1078___U2); + s.tmp_0 = r0 = s.unnamed1187___U3; + r0 = pxsim_Array__length(s.unnamed1186___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1078___U2, s.unnamed1079___U3); - s.listener___163694 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1186___U2, s.unnamed1187___U3); + s.listener___190310 = (r0); s.tmp_2 = lambda_2_mk(s); - s.tmp_2.argL = s.listener___163694; - s.tmp_3 = tiles_getLoadedMap__P149945_mk(s); + s.tmp_2.argL = s.listener___190310; + s.tmp_3 = tiles_getLoadedMap__P176561_mk(s); s.callLocIdx = 2012; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; @@ -38965,37 +39008,37 @@ switch (step) { s.callLocIdx = 2013; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; - r0 = (s.unnamed1079___U3 + 1); - s.unnamed1079___U3 = (r0); + r0 = (s.unnamed1187___U3 + 1); + s.unnamed1187___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1078___U2 = (undefined); + s.unnamed1186___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_OverWorldState_callUnloadListeners__P152500.info = {"start":1657,"length":207,"line":60,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"callUnloadListeners","argumentNames":[]} +tiles_OverWorldState_callUnloadListeners__P179116.info = {"start":1657,"length":207,"line":60,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"callUnloadListeners","argumentNames":[]} -function tiles_OverWorldState_callUnloadListeners__P152500_mk(s) { +function tiles_OverWorldState_callUnloadListeners__P179116_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_OverWorldState_callUnloadListeners__P152500, depth: s.depth + 1, + parent: s, fn: tiles_OverWorldState_callUnloadListeners__P179116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - state___163690: undefined, - listener___163694: undefined, - unnamed1078___U2: undefined, - unnamed1079___U3: undefined, + state___190306: undefined, + listener___190310: undefined, + unnamed1186___U2: undefined, + unnamed1187___U3: undefined, } } -function tiles_OverWorldState_getUnloadListeners__P152501(s) { +function tiles_OverWorldState_getUnloadListeners__P179117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39010,17 +39053,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_OverWorldState__C152498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_OverWorldState__C179114_VT)) failedCast(r0); r0 = s.arg0.fields["listeners"]; return leave(s, r0) default: oops() } } } -tiles_OverWorldState_getUnloadListeners__P152501.info = {"start":2277,"length":69,"line":81,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"getUnloadListeners","argumentNames":["this"]} +tiles_OverWorldState_getUnloadListeners__P179117.info = {"start":2277,"length":69,"line":81,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"getUnloadListeners","argumentNames":["this"]} -function tiles_OverWorldState_getUnloadListeners__P152501_mk(s) { +function tiles_OverWorldState_getUnloadListeners__P179117_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_OverWorldState_getUnloadListeners__P152501, depth: s.depth + 1, + parent: s, fn: tiles_OverWorldState_getUnloadListeners__P179117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39029,7 +39072,7 @@ function tiles_OverWorldState_getUnloadListeners__P152501_mk(s) { -function tiles_OverWorldState_getInstance__P152499(s) { +function tiles_OverWorldState_getInstance__P179115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39039,32 +39082,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.tiles_OverWorldState_instance___152505); + r0 = pxsim_numops_toBoolDecr(globals.tiles_OverWorldState_instance___179121); 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(tiles_OverWorldState__C152498_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_OverWorldState__C179114_VT); s.tmp_2 = r0; - s.tmp_3 = tiles_OverWorldState_constructor__P152506_mk(s); + s.tmp_3 = tiles_OverWorldState_constructor__P179122_mk(s); s.tmp_3.arg0 = s.tmp_2; s.callLocIdx = 2009; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - globals.tiles_OverWorldState_instance___152505 = (s.tmp_2); + globals.tiles_OverWorldState_instance___179121 = (s.tmp_2); case 1: case 2: - r0 = globals.tiles_OverWorldState_instance___152505; + r0 = globals.tiles_OverWorldState_instance___179121; return leave(s, r0) default: oops() } } } -tiles_OverWorldState_getInstance__P152499.info = {"start":1460,"length":185,"line":55,"column":8,"endLine":58,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"getInstance","argumentNames":[]} +tiles_OverWorldState_getInstance__P179115.info = {"start":1460,"length":185,"line":55,"column":8,"endLine":58,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"getInstance","argumentNames":[]} -function tiles_OverWorldState_getInstance__P152499_mk(s) { +function tiles_OverWorldState_getInstance__P179115_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_OverWorldState_getInstance__P152499, depth: s.depth + 1, + parent: s, fn: tiles_OverWorldState_getInstance__P179115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39076,7 +39119,7 @@ function tiles_OverWorldState_getInstance__P152499_mk(s) { -function tiles_OverWorldState_constructor__P152506(s) { +function tiles_OverWorldState_constructor__P179122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39091,7 +39134,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_OverWorldState__C152498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_OverWorldState__C179114_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -39106,12 +39149,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_OverWorldState_constructor__P152506.info = {"start":2090,"length":175,"line":74,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"inline","argumentNames":["this"]} +tiles_OverWorldState_constructor__P179122.info = {"start":2090,"length":175,"line":74,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"inline","argumentNames":["this"]} -function tiles_OverWorldState_constructor__P152506_mk(s) { +function tiles_OverWorldState_constructor__P179122_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_OverWorldState_constructor__P152506, depth: s.depth + 1, + parent: s, fn: tiles_OverWorldState_constructor__P179122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39122,7 +39165,7 @@ function tiles_OverWorldState_constructor__P152506_mk(s) { -function tiles_getLoadedMap__P149945(s) { +function tiles_getLoadedMap__P176561(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39132,7 +39175,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tiles_OverWorldState_getInstance__P152499_mk(s); + s.tmp_0 = tiles_OverWorldState_getInstance__P179115_mk(s); s.callLocIdx = 2021; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -39140,12 +39183,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getLoadedMap__P149945.info = {"start":5036,"length":104,"line":170,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"getLoadedMap","argumentNames":[]} +tiles_getLoadedMap__P176561.info = {"start":5036,"length":104,"line":170,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"getLoadedMap","argumentNames":[]} -function tiles_getLoadedMap__P149945_mk(s) { +function tiles_getLoadedMap__P176561_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getLoadedMap__P149945, depth: s.depth + 1, + parent: s, fn: tiles_getLoadedMap__P176561, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -39154,7 +39197,7 @@ function tiles_getLoadedMap__P149945_mk(s) { -function tiles_destroySpritesOfKind__P149890(s) { +function tiles_destroySpritesOfKind__P176506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39168,14 +39211,14 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); - s.tmp_1 = sprites_allOfKind__P147923_mk(s); + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); + s.tmp_1 = sprites_allOfKind__P174539_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1974; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P163707; + s.tmp_0.arg1 = inline__P190323; s.callLocIdx = 1976; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -39183,12 +39226,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_destroySpritesOfKind__P149890.info = {"start":4059,"length":131,"line":104,"column":4,"endLine":106,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"destroySpritesOfKind","argumentNames":["spriteKind"]} +tiles_destroySpritesOfKind__P176506.info = {"start":4059,"length":131,"line":104,"column":4,"endLine":106,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"destroySpritesOfKind","argumentNames":["spriteKind"]} -function tiles_destroySpritesOfKind__P149890_mk(s) { +function tiles_destroySpritesOfKind__P176506_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_destroySpritesOfKind__P149890, depth: s.depth + 1, + parent: s, fn: tiles_destroySpritesOfKind__P176506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39199,7 +39242,7 @@ function tiles_destroySpritesOfKind__P149890_mk(s) { -function inline__P163707(s) { +function inline__P190323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39213,7 +39256,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_destroy__P148043_mk(s); + s.tmp_0 = Sprite_destroy__P174659_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; @@ -39224,12 +39267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P163707.info = {"start":4165,"length":16,"line":105,"column":46,"endLine":105,"endColumn":62,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"inline","argumentNames":["s"]} +inline__P190323.info = {"start":4165,"length":16,"line":105,"column":46,"endLine":105,"endColumn":62,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"inline","argumentNames":["s"]} -function inline__P163707_mk(s) { +function inline__P190323_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P163707, depth: s.depth + 1, + parent: s, fn: inline__P190323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39239,7 +39282,7 @@ function inline__P163707_mk(s) { -function sprites_allOfKind__P147923(s) { +function sprites_allOfKind__P174539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39249,17 +39292,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___163714 = undefined; + s.spritesByKind___190330 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 289; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___163714 = (r0); + s.spritesByKind___190330 = (r0); r0 = (s.arg0 >= 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -39271,7 +39314,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___163714, s.arg0); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___190330, s.arg0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -39285,8 +39328,8 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 3: - s.tmp_6 = sprites_SpriteSet_sprites__P148071_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___163714, s.arg0); + s.tmp_6 = sprites_SpriteSet_sprites__P174687_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___190330, s.arg0); s.tmp_6.arg0 = r0; s.callLocIdx = 290; s.pc = 7; return s.tmp_6; case 7: @@ -39298,12 +39341,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_allOfKind__P147923.info = {"start":1936,"length":234,"line":68,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"allOfKind","argumentNames":["kind"]} +sprites_allOfKind__P174539.info = {"start":1936,"length":234,"line":68,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"allOfKind","argumentNames":["kind"]} -function sprites_allOfKind__P147923_mk(s) { +function sprites_allOfKind__P174539_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_allOfKind__P147923, depth: s.depth + 1, + parent: s, fn: sprites_allOfKind__P174539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39312,7 +39355,7 @@ function sprites_allOfKind__P147923_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - spritesByKind___163714: undefined, + spritesByKind___190330: undefined, arg0: undefined, } } @@ -39320,7 +39363,7 @@ function sprites_allOfKind__P147923_mk(s) { -function sprites_SpriteSet_sprites__P148071(s) { +function sprites_SpriteSet_sprites__P174687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39335,23 +39378,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C148067_VT)) failedCast(r0); - s.tmp_0 = helpers_arrayFilter__P146043_mk(s); + if (!checkSubtype(r0, sprites_SpriteSet__C174683_VT)) failedCast(r0); + s.tmp_0 = helpers_arrayFilter__P172659_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P163736; + s.tmp_0.arg1 = inline__P190352; s.callLocIdx = 563; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -sprites_SpriteSet_sprites__P148071.info = {"start":784,"length":104,"line":33,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"sprites","argumentNames":["this"]} +sprites_SpriteSet_sprites__P174687.info = {"start":784,"length":104,"line":33,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"sprites","argumentNames":["this"]} -function sprites_SpriteSet_sprites__P148071_mk(s) { +function sprites_SpriteSet_sprites__P174687_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_sprites__P148071, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_sprites__P174687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39361,7 +39404,7 @@ function sprites_SpriteSet_sprites__P148071_mk(s) { -function inline__P163736(s) { +function inline__P190352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39385,12 +39428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P163736.info = {"start":836,"length":40,"line":34,"column":40,"endLine":34,"endColumn":80,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["s"]} +inline__P190352.info = {"start":836,"length":40,"line":34,"column":40,"endLine":34,"endColumn":80,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["s"]} -function inline__P163736_mk(s) { +function inline__P190352_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P163736, depth: s.depth + 1, + parent: s, fn: inline__P190352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39402,7 +39445,7 @@ function inline__P163736_mk(s) { -function scene_setTileMapLevel__P148414(s) { +function scene_setTileMapLevel__P175030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39412,17 +39455,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___163399 = undefined; + s.scene___190015 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1084; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.scene___163399 = (r0); - r0 = s.scene___163399.fields["tileMap"]; + s.scene___190015 = (r0); + r0 = s.scene___190015.fields["tileMap"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -39430,26 +39473,26 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMap__C148275_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMap__C174891_VT); s.tmp_3 = r0; - s.tmp_4 = tiles_TileMap_constructor__P148277_mk(s); + s.tmp_4 = tiles_TileMap_constructor__P174893_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 4; s.callLocIdx = 1085; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; - r0 = (s.scene___163399).fields["tileMap"] = (s.tmp_3); + r0 = (s.scene___190015).fields["tileMap"] = (s.tmp_3); case 1: case 2: - s.tmp_0 = tiles_TileMap_setData__P148287_mk(s); - r0 = s.scene___163399.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_setData__P174903_mk(s); + r0 = s.scene___190015.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1086; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tiles_TileMap_scale__P148279_mk(s); - r0 = s.scene___163399.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_scale__P174895_mk(s); + r0 = s.scene___190015.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_0.arg1 = r0; @@ -39460,19 +39503,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_setTileMapLevel__P148414.info = {"start":2994,"length":260,"line":113,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setTileMapLevel","argumentNames":["map"]} +scene_setTileMapLevel__P175030.info = {"start":2994,"length":260,"line":113,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setTileMapLevel","argumentNames":["map"]} -function scene_setTileMapLevel__P148414_mk(s) { +function scene_setTileMapLevel__P175030_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTileMapLevel__P148414, depth: s.depth + 1, + parent: s, fn: scene_setTileMapLevel__P175030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - scene___163399: undefined, + scene___190015: undefined, arg0: undefined, } } @@ -39480,7 +39523,7 @@ function scene_setTileMapLevel__P148414_mk(s) { -function tiles_TileMap_setData__P148287(s) { +function tiles_TileMap_setData__P174903(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39496,18 +39539,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = (s.arg0).fields["_map"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_TileMap_setData__P148287.info = {"start":7239,"length":66,"line":266,"column":8,"endLine":268,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setData","argumentNames":["this","map"]} +tiles_TileMap_setData__P174903.info = {"start":7239,"length":66,"line":266,"column":8,"endLine":268,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setData","argumentNames":["this","map"]} -function tiles_TileMap_setData__P148287_mk(s) { +function tiles_TileMap_setData__P174903_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setData__P148287, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setData__P174903, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39517,7 +39560,7 @@ function tiles_TileMap_setData__P148287_mk(s) { -function tiles_TileMap_scale__P148279(s) { +function tiles_TileMap_scale__P174895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39533,13 +39576,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_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__P148267_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P174883_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -39552,12 +39595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P148279.info = {"start":6246,"length":144,"line":225,"column":8,"endLine":230,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P174895.info = {"start":6246,"length":144,"line":225,"column":8,"endLine":230,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMap_scale__P148279_mk(s) { +function tiles_TileMap_scale__P174895_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P148279, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P174895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39569,7 +39612,7 @@ function tiles_TileMap_scale__P148279_mk(s) { -function tiles_TileMapData_scale__P148267(s) { +function tiles_TileMapData_scale__P174883(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39585,7 +39628,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -39595,12 +39638,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P148267.info = {"start":3885,"length":102,"line":147,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P174883.info = {"start":3885,"length":102,"line":147,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMapData_scale__P148267_mk(s) { +function tiles_TileMapData_scale__P174883_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P148267, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P174883, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39612,7 +39655,7 @@ function tiles_TileMapData_scale__P148267_mk(s) { -function tiles_TileMap_constructor__P148277(s) { +function tiles_TileMap_constructor__P174893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39628,19 +39671,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P148279_mk(s); + s.tmp_0 = tiles_TileMap_scale__P174895_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 922; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P163455); + r0 = pxsim_pxtcore_mkAction(1, inline__P190071); 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__P148335_mk(s); + s.tmp_3 = scene_createRenderable__P174951_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; @@ -39653,12 +39696,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P148277.info = {"start":5903,"length":268,"line":211,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P174893.info = {"start":5903,"length":268,"line":211,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_TileMap_constructor__P148277_mk(s) { +function tiles_TileMap_constructor__P174893_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P148277, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P174893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39672,7 +39715,7 @@ function tiles_TileMap_constructor__P148277_mk(s) { -function inline__P163455(s) { +function inline__P190071(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39687,7 +39730,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P150412_mk(s); + s.tmp_0 = tiles_TileMap_draw__P177028_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -39698,12 +39741,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P163455.info = {"start":6121,"length":25,"line":217,"column":16,"endLine":217,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +inline__P190071.info = {"start":6121,"length":25,"line":217,"column":16,"endLine":217,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function inline__P163455_mk(s) { +function inline__P190071_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P163455, depth: s.depth + 1, + parent: s, fn: inline__P190071, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39714,7 +39757,7 @@ function inline__P163455_mk(s) { -function tiles_TileMap_draw__P150412(s) { +function tiles_TileMap_draw__P177028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39724,21 +39767,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___163466 = undefined; - s.offsetX___163472 = undefined; - s.offsetY___163477 = undefined; - s.x0___163482 = undefined; - s.xn___163489 = undefined; - s.y0___163506 = undefined; - s.yn___163513 = undefined; - s.x___163530 = undefined; - s.y___163536 = undefined; - s.index___163542 = undefined; - s.tile___163549 = undefined; - s.x___163585 = undefined; - s.xLine___163591 = undefined; - s.y___163617 = undefined; - s.yLine___163623 = undefined; + s.bitmask___190082 = undefined; + s.offsetX___190088 = undefined; + s.offsetY___190093 = undefined; + s.x0___190098 = undefined; + s.xn___190105 = undefined; + s.y0___190122 = undefined; + s.yn___190129 = undefined; + s.x___190146 = undefined; + s.y___190152 = undefined; + s.index___190158 = undefined; + s.tile___190165 = undefined; + s.x___190201 = undefined; + s.xLine___190207 = undefined; + s.y___190233 = undefined; + s.yLine___190239 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39746,7 +39789,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -39771,16 +39814,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___163466 = (r0); + s.bitmask___190082 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___163466); - s.offsetX___163472 = (r0); + r0 = (s.tmp_0 & s.bitmask___190082); + s.offsetX___190088 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___163466); - s.offsetY___163477 = (r0); - s.tmp_0 = Math_max__P146062_mk(s); + r0 = (s.tmp_0 & s.bitmask___190082); + s.offsetY___190093 = (r0); + s.tmp_0 = Math_max__P172678_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -39791,8 +39834,8 @@ switch (step) { s.callLocIdx = 956; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___163482 = (r0); - s.tmp_0 = Math_min__P146063_mk(s); + s.x0___190098 = (r0); + s.tmp_0 = Math_min__P172679_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -39812,8 +39855,8 @@ switch (step) { s.callLocIdx = 959; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___163489 = (r0); - s.tmp_0 = Math_max__P146062_mk(s); + s.xn___190105 = (r0); + s.tmp_0 = Math_max__P172678_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -39824,8 +39867,8 @@ switch (step) { s.callLocIdx = 961; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___163506 = (r0); - s.tmp_0 = Math_min__P146063_mk(s); + s.y0___190122 = (r0); + s.tmp_0 = Math_min__P172679_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -39845,92 +39888,92 @@ switch (step) { s.callLocIdx = 964; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___163513 = (r0); - s.x___163530 = (s.x0___163482); + s.yn___190129 = (r0); + s.x___190146 = (s.x0___190098); case 3: - r0 = (s.x___163530 <= s.xn___163489); + r0 = (s.x___190146 <= s.xn___190105); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___163536 = (s.y0___163506); + s.y___190152 = (s.y0___190122); case 4: - r0 = (s.y___163536 <= s.yn___163513); + r0 = (s.y___190152 <= s.yn___190129); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P148268_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P174884_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___163530; - s.tmp_1.arg2 = s.y___163536; + s.tmp_1.arg1 = s.x___190146; + s.tmp_1.arg2 = s.y___190152; s.callLocIdx = 965; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___163542 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P148271_mk(s); + s.index___190158 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P174887_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___163542; + s.tmp_0.arg1 = s.index___190158; s.callLocIdx = 966; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___163549 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___163549); + s.tile___190165 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___190165); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___163549; - r0 = (s.x___163530 - s.x0___163482); + s.tmp_1 = r0 = s.tile___190165; + r0 = (s.x___190146 - s.x0___190098); 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___163472); + r0 = (s.tmp_3 - s.offsetX___190088); s.tmp_2 = r0; - r0 = (s.y___163536 - s.y0___163506); + r0 = (s.y___190152 - s.y0___190122); 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___163477); + r0 = (s.tmp_7 - s.offsetY___190093); 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___163536 + 1); - s.y___163536 = (r0); + r0 = (s.y___190152 + 1); + s.y___190152 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___163530 + 1); - s.x___163530 = (r0); + r0 = (s.x___190146 + 1); + s.x___190146 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___148480); + r0 = pxsim_numops_toBoolDecr(globals.debug___175096); if (!r0) { step = 21; continue; } - s.x___163585 = (s.x0___163482); + s.x___190201 = (s.x0___190098); case 9: - r0 = (s.x___163585 <= s.xn___163489); + r0 = (s.x___190201 <= s.xn___190105); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___163585 - s.x0___163482); + r0 = (s.x___190201 - s.x0___190098); 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___163472); - s.xLine___163591 = (r0); - r0 = (s.xLine___163591 >= 0); + r0 = (s.tmp_1 - s.offsetX___190088); + s.xLine___190207 = (r0); + r0 = (s.xLine___190207 >= 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___163591; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + s.tmp_1 = r0 = s.xLine___190207; + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -39938,11 +39981,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P147677_mk(s); + s.tmp_4 = helpers_imageDrawLine__P174293_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___163591; + s.tmp_4.arg1 = s.xLine___190207; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___163591; + s.tmp_4.arg3 = s.xLine___190207; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -39951,33 +39994,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___163585 + 1); - s.x___163585 = (r0); + r0 = (s.x___190201 + 1); + s.x___190201 = (r0); { step = 9; continue; } case 14: - s.y___163617 = (s.y0___163506); + s.y___190233 = (s.y0___190122); case 15: - r0 = (s.y___163617 <= s.yn___163513); + r0 = (s.y___190233 <= s.yn___190129); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___163617 - s.y0___163506); + r0 = (s.y___190233 - s.y0___190122); 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___163477); - s.yLine___163623 = (r0); - r0 = (s.yLine___163623 >= 0); + r0 = (s.tmp_1 - s.offsetY___190093); + s.yLine___190239 = (r0); + r0 = (s.yLine___190239 >= 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___163623; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + s.tmp_1 = r0 = s.yLine___190239; + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -39985,21 +40028,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P147677_mk(s); + s.tmp_4 = helpers_imageDrawLine__P174293_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___163623; + s.tmp_4.arg2 = s.yLine___190239; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___163623; + s.tmp_4.arg4 = s.yLine___190239; s.tmp_4.arg5 = 1; s.callLocIdx = 972; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___163617 + 1); - s.y___163617 = (r0); + r0 = (s.y___190233 + 1); + s.y___190233 = (r0); { step = 15; continue; } case 20: case 21: @@ -40009,12 +40052,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P150412.info = {"start":10243,"length":2224,"line":348,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P177028.info = {"start":10243,"length":2224,"line":348,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P150412_mk(s) { +function tiles_TileMap_draw__P177028_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P150412, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P177028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40026,21 +40069,21 @@ function tiles_TileMap_draw__P150412_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___163466: undefined, - offsetX___163472: undefined, - offsetY___163477: undefined, - x0___163482: undefined, - xn___163489: undefined, - y0___163506: undefined, - yn___163513: undefined, - x___163530: undefined, - y___163536: undefined, - index___163542: undefined, - tile___163549: undefined, - x___163585: undefined, - xLine___163591: undefined, - y___163617: undefined, - yLine___163623: undefined, + bitmask___190082: undefined, + offsetX___190088: undefined, + offsetY___190093: undefined, + x0___190098: undefined, + xn___190105: undefined, + y0___190122: undefined, + yn___190129: undefined, + x___190146: undefined, + y___190152: undefined, + index___190158: undefined, + tile___190165: undefined, + x___190201: undefined, + xLine___190207: undefined, + y___190233: undefined, + yLine___190239: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40050,7 +40093,7 @@ function tiles_TileMap_draw__P150412_mk(s) { -function helpers_imageDrawLine__P147677(s) { +function helpers_imageDrawLine__P174293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40070,14 +40113,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P150204_mk(s); + s.tmp_2 = helpers_pack__P176820_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 141; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P150204_mk(s); + s.tmp_4 = helpers_pack__P176820_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 142; s.pc = 2; return s.tmp_4; @@ -40089,12 +40132,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P147677.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P174293.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P147677_mk(s) { +function helpers_imageDrawLine__P174293_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P147677, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P174293, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40113,7 +40156,7 @@ function helpers_imageDrawLine__P147677_mk(s) { -function story_startCutscene__P149769(s) { +function story_startCutscene__P176385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40127,14 +40170,14 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = story__currentCutscene__P149780_mk(s); + s.tmp_1 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1777; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = r0.fields["cutsceneQueue"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg0); - s.tmp_2 = story__currentCutscene__P149780_mk(s); + s.tmp_2 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1778; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; @@ -40144,25 +40187,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = story__currentCutscene__P149780_mk(s); + s.tmp_4 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1779; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_3).fields["state"] = (1); - r0 = pxsim.control.runInParallel(inline__P163765); + r0 = pxsim.control.runInParallel(inline__P190381); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -story_startCutscene__P149769.info = {"start":4655,"length":585,"line":127,"column":4,"endLine":140,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"startCutscene","argumentNames":["callback"]} +story_startCutscene__P176385.info = {"start":4655,"length":585,"line":127,"column":4,"endLine":140,"endColumn":5,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"startCutscene","argumentNames":["callback"]} -function story_startCutscene__P149769_mk(s) { +function story_startCutscene__P176385_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_startCutscene__P149769, depth: s.depth + 1, + parent: s, fn: story_startCutscene__P176385, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40176,7 +40219,7 @@ function story_startCutscene__P149769_mk(s) { -function inline__P163765(s) { +function inline__P190381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40187,7 +40230,7 @@ switch (step) { case 0: case 1: - s.tmp_2 = story__currentCutscene__P149780_mk(s); + s.tmp_2 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1780; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -40197,14 +40240,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_4 = story__currentCutscene__P149780_mk(s); + s.tmp_4 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1781; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_3).fields["state"] = (1); s.tmp_0 = lambda_1_mk(s); - s.tmp_2 = story__currentCutscene__P149780_mk(s); + s.tmp_2 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1782; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; @@ -40216,14 +40259,14 @@ switch (step) { s.callLocIdx = 1784; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); s.tmp_0.arg0 = 1; s.callLocIdx = 1785; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; { step = 1; continue; } case 2: - s.tmp_1 = story__currentCutscene__P149780_mk(s); + s.tmp_1 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1786; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -40233,12 +40276,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P163765.info = {"start":4908,"length":314,"line":131,"column":34,"endLine":138,"endColumn":13,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":[]} +inline__P190381.info = {"start":4908,"length":314,"line":131,"column":34,"endLine":138,"endColumn":13,"fileName":"pxt_modules/arcade-story/dialog.ts","functionName":"inline","argumentNames":[]} -function inline__P163765_mk(s) { +function inline__P190381_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P163765, depth: s.depth + 1, + parent: s, fn: inline__P190381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40251,7 +40294,7 @@ function inline__P163765_mk(s) { -function sprites_setDataNumber__P149653(s) { +function sprites_setDataNumber__P176269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40261,7 +40304,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___163794 = undefined; + s.d___190410 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40288,31 +40331,31 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_4 = Sprite_data__P147995_mk(s); + s.tmp_4 = Sprite_data__P174611_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1645; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; - s.d___163794 = (r0); - r0 = pxsim_pxtrt.mapSetGeneric(s.d___163794, s.arg1, s.arg2); + s.d___190410 = (r0); + r0 = pxsim_pxtrt.mapSetGeneric(s.d___190410, s.arg1, s.arg2); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_setDataNumber__P149653.info = {"start":241,"length":176,"line":8,"column":4,"endLine":12,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"setDataNumber","argumentNames":["sprite","name","value"]} +sprites_setDataNumber__P176269.info = {"start":241,"length":176,"line":8,"column":4,"endLine":12,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"setDataNumber","argumentNames":["sprite","name","value"]} -function sprites_setDataNumber__P149653_mk(s) { +function sprites_setDataNumber__P176269_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_setDataNumber__P149653, depth: s.depth + 1, + parent: s, fn: sprites_setDataNumber__P176269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___163794: undefined, + d___190410: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40322,7 +40365,7 @@ function sprites_setDataNumber__P149653_mk(s) { -function sprites_createProjectileFromSprite__P147925(s) { +function sprites_createProjectileFromSprite__P174541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40339,7 +40382,7 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = sprites_createProjectile__P147926_mk(s); + s.tmp_0 = sprites_createProjectile__P174542_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -40351,12 +40394,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_createProjectileFromSprite__P147925.info = {"start":3511,"length":187,"line":100,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"createProjectileFromSprite","argumentNames":["img","sprite","vx","vy"]} +sprites_createProjectileFromSprite__P174541.info = {"start":3511,"length":187,"line":100,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"createProjectileFromSprite","argumentNames":["img","sprite","vx","vy"]} -function sprites_createProjectileFromSprite__P147925_mk(s) { +function sprites_createProjectileFromSprite__P174541_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_createProjectileFromSprite__P147925, depth: s.depth + 1, + parent: s, fn: sprites_createProjectileFromSprite__P174541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40369,7 +40412,7 @@ function sprites_createProjectileFromSprite__P147925_mk(s) { -function sprites_createProjectile__P147926(s) { +function sprites_createProjectile__P174542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40379,13 +40422,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___163816 = undefined; - s.sc___163823 = undefined; - s.xOff___163839 = undefined; - s.yOff___163853 = undefined; - s.cam___163867 = undefined; - s.initialX___163871 = undefined; - s.initialY___163874 = undefined; + s.s___190432 = undefined; + s.sc___190439 = undefined; + s.xOff___190455 = undefined; + s.yOff___190469 = undefined; + s.cam___190483 = undefined; + s.initialX___190487 = undefined; + s.initialY___190490 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40404,41 +40447,41 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = sprites_create__P147921_mk(s); + s.tmp_2 = sprites_create__P174537_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 292; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; - s.s___163816 = (r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + s.s___190432 = (r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 293; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.sc___163823 = (r0); - s.tmp_0 = Sprite_vx__P147984_mk(s); - s.tmp_0.arg0 = s.s___163816; + s.sc___190439 = (r0); + s.tmp_0 = Sprite_vx__P174600_mk(s); + s.tmp_0.arg0 = s.s___190432; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 294; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = Sprite_vy__P147986_mk(s); - s.tmp_0.arg0 = s.s___163816; + s.tmp_0 = Sprite_vy__P174602_mk(s); + s.tmp_0.arg0 = s.s___190432; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 295; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg4); if (!r0) { step = 3; continue; } - s.tmp_0 = Sprite_setPosition__P148026_mk(s); - s.tmp_0.arg0 = s.s___163816; - s.tmp_1 = Sprite_x__P147979_mk(s); + s.tmp_0 = Sprite_setPosition__P174642_mk(s); + s.tmp_0.arg0 = s.s___190432; + s.tmp_1 = Sprite_x__P174595_mk(s); s.tmp_1.arg0 = s.arg4; s.callLocIdx = 296; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_y__P147981_mk(s); + s.tmp_2 = Sprite_y__P174597_mk(s); s.tmp_2.arg0 = s.arg4; s.callLocIdx = 297; s.pc = 23; return s.tmp_2; case 23: @@ -40449,11 +40492,11 @@ switch (step) { r0 = s.retval; { step = 16; continue; } case 3: - r0 = s.sc___163823.fields["tileMap"]; + r0 = s.sc___190439.fields["tileMap"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.s___163816.fields["_image"]; + r0 = s.s___190432.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; @@ -40462,7 +40505,7 @@ switch (step) { r0 = (0 - s.tmp_1); { step = 5; continue; } case 4: - r0 = s.s___163816.fields["_image"]; + r0 = s.s___190432.fields["_image"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; @@ -40472,12 +40515,12 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_7 = r0; - s.xOff___163839 = (s.tmp_7); - r0 = s.sc___163823.fields["tileMap"]; + s.xOff___190455 = (s.tmp_7); + r0 = s.sc___190439.fields["tileMap"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = s.s___163816.fields["_image"]; + r0 = s.s___190432.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); s.tmp_2 = r0; @@ -40486,7 +40529,7 @@ switch (step) { r0 = (0 - s.tmp_1); { step = 7; continue; } case 6: - r0 = s.s___163816.fields["_image"]; + r0 = s.s___190432.fields["_image"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.height(s.tmp_6); s.tmp_5 = r0; @@ -40496,39 +40539,39 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.yOff___163853 = (s.tmp_7); - s.tmp_0 = game_currentScene__P148484_mk(s); + s.yOff___190469 = (s.tmp_7); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 303; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; r0 = r0.fields["camera"]; - s.cam___163867 = (r0); - r0 = s.cam___163867.fields["_offsetX"]; - s.initialX___163871 = (r0); - r0 = s.cam___163867.fields["_offsetY"]; - s.initialY___163874 = (r0); + s.cam___190483 = (r0); + r0 = s.cam___190483.fields["_offsetX"]; + s.initialX___190487 = (r0); + r0 = s.cam___190483.fields["_offsetY"]; + s.initialY___190490 = (r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_1 = r0 = s.initialX___163871; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + s.tmp_1 = r0 = s.initialX___190487; + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_3 = r0; - r0 = (s.tmp_3 + s.xOff___163839); + r0 = (s.tmp_3 + s.xOff___190455); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.initialX___163871 = (r0); + s.initialX___190487 = (r0); { step = 11; continue; } case 8: r0 = (s.arg1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = r0 = s.initialX___163871; - r0 = (0 - s.xOff___163839); + s.tmp_1 = r0 = s.initialX___190487; + r0 = (0 - s.xOff___190455); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.initialX___163871 = (r0); + s.initialX___190487 = (r0); case 9: case 10: case 11: @@ -40536,51 +40579,51 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_1 = r0 = s.initialY___163874; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + s.tmp_1 = r0 = s.initialY___190490; + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_3 = r0; - r0 = (s.tmp_3 + s.yOff___163853); + r0 = (s.tmp_3 + s.yOff___190469); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.initialY___163874 = (r0); + s.initialY___190490 = (r0); { step = 15; continue; } case 12: r0 = (s.arg2 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_1 = r0 = s.initialY___163874; - r0 = (0 - s.yOff___163853); + s.tmp_1 = r0 = s.initialY___190490; + r0 = (0 - s.yOff___190469); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.initialY___163874 = (r0); + s.initialY___190490 = (r0); case 13: case 14: case 15: - s.tmp_0 = Sprite_setPosition__P148026_mk(s); - s.tmp_0.arg0 = s.s___163816; - s.tmp_0.arg1 = s.initialX___163871; - s.tmp_0.arg2 = s.initialY___163874; + s.tmp_0 = Sprite_setPosition__P174642_mk(s); + s.tmp_0.arg0 = s.s___190432; + s.tmp_0.arg1 = s.initialX___190487; + s.tmp_0.arg2 = s.initialY___190490; s.callLocIdx = 306; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; case 16: - s.tmp_0 = r0 = s.s___163816; + s.tmp_0 = r0 = s.s___190432; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 | 20); s.tmp_1 = r0; r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); - r0 = s.s___163816; + r0 = s.s___190432; return leave(s, r0) default: oops() } } } -sprites_createProjectile__P147926.info = {"start":4330,"length":1265,"line":115,"column":4,"endLine":152,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"createProjectile","argumentNames":["img","vx","vy","kind","sprite"]} +sprites_createProjectile__P174542.info = {"start":4330,"length":1265,"line":115,"column":4,"endLine":152,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"createProjectile","argumentNames":["img","vx","vy","kind","sprite"]} -function sprites_createProjectile__P147926_mk(s) { +function sprites_createProjectile__P174542_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_createProjectile__P147926, depth: s.depth + 1, + parent: s, fn: sprites_createProjectile__P174542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40590,13 +40633,13 @@ function sprites_createProjectile__P147926_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - s___163816: undefined, - sc___163823: undefined, - xOff___163839: undefined, - yOff___163853: undefined, - cam___163867: undefined, - initialX___163871: undefined, - initialY___163874: undefined, + s___190432: undefined, + sc___190439: undefined, + xOff___190455: undefined, + yOff___190469: undefined, + cam___190483: undefined, + initialX___190487: undefined, + initialY___190490: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40608,7 +40651,7 @@ function sprites_createProjectile__P147926_mk(s) { -function Sprite_height__P148015(s) { +function Sprite_height__P174631(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40623,20 +40666,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -Sprite_height__P148015.info = {"start":8922,"length":54,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P148015.isGetter = true; +Sprite_height__P174631.info = {"start":8922,"length":54,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P174631.isGetter = true; -function Sprite_height__P148015_mk(s) { +function Sprite_height__P174631_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P148015, depth: s.depth + 1, + parent: s, fn: Sprite_height__P174631, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40646,7 +40689,7 @@ function Sprite_height__P148015_mk(s) { -function Sprite_width__P148014(s) { +function Sprite_width__P174630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40661,20 +40704,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -Sprite_width__P148014.info = {"start":8777,"length":52,"line":315,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P148014.isGetter = true; +Sprite_width__P174630.info = {"start":8777,"length":52,"line":315,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P174630.isGetter = true; -function Sprite_width__P148014_mk(s) { +function Sprite_width__P174630_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P148014, depth: s.depth + 1, + parent: s, fn: Sprite_width__P174630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40684,7 +40727,7 @@ function Sprite_width__P148014_mk(s) { -function tiles_locationOfSprite__P149901(s) { +function tiles_locationOfSprite__P176517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40698,9 +40741,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tiles_getTileLocation__P148303_mk(s); - s.tmp_1 = tiles_screenCoordinateToTile__P149923_mk(s); - s.tmp_2 = Sprite_x__P147979_mk(s); + s.tmp_0 = tiles_getTileLocation__P174919_mk(s); + s.tmp_1 = tiles_screenCoordinateToTile__P176539_mk(s); + s.tmp_2 = Sprite_x__P174595_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1986; s.pc = 3; return s.tmp_2; case 3: @@ -40710,8 +40753,8 @@ switch (step) { case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_3 = tiles_screenCoordinateToTile__P149923_mk(s); - s.tmp_4 = Sprite_y__P147981_mk(s); + s.tmp_3 = tiles_screenCoordinateToTile__P176539_mk(s); + s.tmp_4 = Sprite_y__P174597_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1988; s.pc = 5; return s.tmp_4; case 5: @@ -40727,12 +40770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_locationOfSprite__P149901.info = {"start":9855,"length":165,"line":271,"column":4,"endLine":273,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"locationOfSprite","argumentNames":["s"]} +tiles_locationOfSprite__P176517.info = {"start":9855,"length":165,"line":271,"column":4,"endLine":273,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"locationOfSprite","argumentNames":["s"]} -function tiles_locationOfSprite__P149901_mk(s) { +function tiles_locationOfSprite__P176517_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_locationOfSprite__P149901, depth: s.depth + 1, + parent: s, fn: tiles_locationOfSprite__P176517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40746,7 +40789,7 @@ function tiles_locationOfSprite__P149901_mk(s) { -function tiles_screenCoordinateToTile__P149923(s) { +function tiles_screenCoordinateToTile__P176539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40756,18 +40799,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___163938 = undefined; + s.tm___190554 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 2003; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___163938 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tm___163938); + s.tm___190554 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tm___190554); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -40778,25 +40821,25 @@ switch (step) { case 1: case 2: s.tmp_2 = r0 = s.arg0; - r0 = s.tm___163938.fields["_scale"]; + r0 = s.tm___190554.fields["_scale"]; s.tmp_3 = r0; r0 = (s.tmp_2 >> s.tmp_3); case 3: return leave(s, r0) default: oops() } } } -tiles_screenCoordinateToTile__P149923.info = {"start":14739,"length":380,"line":424,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"screenCoordinateToTile","argumentNames":["value"]} +tiles_screenCoordinateToTile__P176539.info = {"start":14739,"length":380,"line":424,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"screenCoordinateToTile","argumentNames":["value"]} -function tiles_screenCoordinateToTile__P149923_mk(s) { +function tiles_screenCoordinateToTile__P176539_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_screenCoordinateToTile__P149923, depth: s.depth + 1, + parent: s, fn: tiles_screenCoordinateToTile__P176539, 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, - tm___163938: undefined, + tm___190554: undefined, arg0: undefined, } } @@ -40804,7 +40847,7 @@ function tiles_screenCoordinateToTile__P149923_mk(s) { -function animation_PathPreset_constructor__P148822(s) { +function animation_PathPreset_constructor__P175438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40820,18 +40863,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_PathPreset__C148821_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_PathPreset__C175437_VT)) failedCast(r0); r0 = (s.arg0).fields["pathString"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -animation_PathPreset_constructor__P148822.info = {"start":596,"length":50,"line":25,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","pathString"]} +animation_PathPreset_constructor__P175438.info = {"start":596,"length":50,"line":25,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","pathString"]} -function animation_PathPreset_constructor__P148822_mk(s) { +function animation_PathPreset_constructor__P175438_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_PathPreset_constructor__P148822, depth: s.depth + 1, + parent: s, fn: animation_PathPreset_constructor__P175438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -40841,7 +40884,7 @@ function animation_PathPreset_constructor__P148822_mk(s) { -function animation_animationPresets__P148885(s) { +function animation_animationPresets__P175501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40859,12 +40902,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_animationPresets__P148885.info = {"start":24904,"length":108,"line":628,"column":4,"endLine":630,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"animationPresets","argumentNames":["animationPath"]} +animation_animationPresets__P175501.info = {"start":24904,"length":108,"line":628,"column":4,"endLine":630,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"animationPresets","argumentNames":["animationPath"]} -function animation_animationPresets__P148885_mk(s) { +function animation_animationPresets__P175501_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_animationPresets__P148885, depth: s.depth + 1, + parent: s, fn: animation_animationPresets__P175501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40873,7 +40916,7 @@ function animation_animationPresets__P148885_mk(s) { -function animation_runMovementAnimation__P148864(s) { +function animation_runMovementAnimation__P175480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40883,8 +40926,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.path___163960 = undefined; - s.anim___163970 = undefined; + s.path___190576 = undefined; + s.anim___190586 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40892,17 +40935,17 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_2 = Sprite_x__P147979_mk(s); + s.tmp_2 = Sprite_x__P174595_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1634; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1.arg1 = r0; - s.tmp_3 = Sprite_y__P147981_mk(s); + s.tmp_3 = Sprite_y__P174597_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1635; s.pc = 3; return s.tmp_3; case 3: @@ -40911,21 +40954,21 @@ switch (step) { s.callLocIdx = 1636; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.tmp_4 = animation_Path_parse__P148825_mk(s); + s.tmp_4 = animation_Path_parse__P175441_mk(s); s.tmp_4.arg0 = s.tmp_0; s.tmp_4.arg1 = s.arg1; s.callLocIdx = 1637; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; - s.path___163960 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(animation_MovementAnimation__C148860_VT); + s.path___190576 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(animation_MovementAnimation__C175476_VT); s.tmp_0 = r0; - s.tmp_1 = animation_MovementAnimation_constructor__P148861_mk(s); + s.tmp_1 = animation_MovementAnimation_constructor__P175477_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.path___163960; + s.tmp_1.arg2 = s.path___190576; s.tmp_2 = r0 = s.arg2; - r0 = s.path___163960.fields["nodes"]; + r0 = s.path___190576.fields["nodes"]; s.tmp_4 = r0; r0 = pxsim_Array__length(s.tmp_4); s.tmp_3 = r0; @@ -40942,9 +40985,9 @@ switch (step) { s.callLocIdx = 1639; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.anim___163970 = (s.tmp_0); - s.tmp_0 = animation_SpriteAnimation_init__P148855_mk(s); - s.tmp_0.arg0 = s.anim___163970; + s.anim___190586 = (s.tmp_0); + s.tmp_0 = animation_SpriteAnimation_init__P175471_mk(s); + s.tmp_0.arg0 = s.anim___190586; s.callLocIdx = 1640; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -40952,12 +40995,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_runMovementAnimation__P148864.info = {"start":20415,"length":302,"line":525,"column":4,"endLine":529,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"runMovementAnimation","argumentNames":["sprite","pathString","duration","loop"]} +animation_runMovementAnimation__P175480.info = {"start":20415,"length":302,"line":525,"column":4,"endLine":529,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"runMovementAnimation","argumentNames":["sprite","pathString","duration","loop"]} -function animation_runMovementAnimation__P148864_mk(s) { +function animation_runMovementAnimation__P175480_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_runMovementAnimation__P148864, depth: s.depth + 1, + parent: s, fn: animation_runMovementAnimation__P175480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40967,8 +41010,8 @@ function animation_runMovementAnimation__P148864_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - path___163960: undefined, - anim___163970: undefined, + path___190576: undefined, + anim___190586: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40979,7 +41022,7 @@ function animation_runMovementAnimation__P148864_mk(s) { -function animation_MovementAnimation_constructor__P148861(s) { +function animation_MovementAnimation_constructor__P175477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40998,10 +41041,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_MovementAnimation__C148860_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_MovementAnimation__C175476_VT)) failedCast(r0); r0 = (s.arg0).fields["path"] = (s.arg2); r0 = (s.arg0).fields["nodeInterval"] = (s.arg3); - s.tmp_0 = animation_SpriteAnimation_constructor__P148854_mk(s); + s.tmp_0 = animation_SpriteAnimation_constructor__P175470_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg4; @@ -41013,12 +41056,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_MovementAnimation_constructor__P148861.info = {"start":18607,"length":169,"line":479,"column":8,"endLine":483,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","path","nodeInterval","loop"]} +animation_MovementAnimation_constructor__P175477.info = {"start":18607,"length":169,"line":479,"column":8,"endLine":483,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","path","nodeInterval","loop"]} -function animation_MovementAnimation_constructor__P148861_mk(s) { +function animation_MovementAnimation_constructor__P175477_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_MovementAnimation_constructor__P148861, depth: s.depth + 1, + parent: s, fn: animation_MovementAnimation_constructor__P175477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41032,7 +41075,7 @@ function animation_MovementAnimation_constructor__P148861_mk(s) { -function animation_SpriteAnimation_constructor__P148854(s) { +function animation_SpriteAnimation_constructor__P175470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41049,19 +41092,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_SpriteAnimation__C148853_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_SpriteAnimation__C175469_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["loop"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -animation_SpriteAnimation_constructor__P148854.info = {"start":15978,"length":71,"line":413,"column":8,"endLine":414,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","loop"]} +animation_SpriteAnimation_constructor__P175470.info = {"start":15978,"length":71,"line":413,"column":8,"endLine":414,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","loop"]} -function animation_SpriteAnimation_constructor__P148854_mk(s) { +function animation_SpriteAnimation_constructor__P175470_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_SpriteAnimation_constructor__P148854, depth: s.depth + 1, + parent: s, fn: animation_SpriteAnimation_constructor__P175470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -41072,7 +41115,7 @@ function animation_SpriteAnimation_constructor__P148854_mk(s) { -function animation_SpriteAnimation_init__P148855(s) { +function animation_SpriteAnimation_init__P175471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41082,27 +41125,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___163985 = undefined; + s.state___190601 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_SpriteAnimation__C148853_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_SpriteAnimation__C175469_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); - s.state___163985 = (r0); - s.tmp_0 = r0 = s.state___163985; - s.tmp_4 = game_currentScene__P148484_mk(s); + s.state___190601 = (r0); + s.tmp_0 = r0 = s.state___190601; + s.tmp_4 = game_currentScene__P175100_mk(s); s.callLocIdx = 1616; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; s.tmp_3 = r0; r0 = s.tmp_3.fields["_data"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_2, globals.stateNamespace___150951); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_2, globals.stateNamespace___177567); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.state___163985); + r0 = pxsim_pxtrt_ldlocRef(s.state___190601); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -41115,20 +41158,20 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_3, "animations", s.tmp_4); - s.tmp_7 = game_currentScene__P148484_mk(s); + s.tmp_7 = game_currentScene__P175100_mk(s); s.callLocIdx = 1618; s.pc = 4; return s.tmp_7; case 4: r0 = s.retval; s.tmp_6 = r0; r0 = s.tmp_6.fields["_data"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_5, globals.stateNamespace___150951, s.tmp_3); - r0 = pxsim_pxtrt_stlocRef(s.state___163985, s.tmp_3); - r0 = pxsim_pxtcore_mkAction(1, inline__P164001); + r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_5, globals.stateNamespace___177567, s.tmp_3); + r0 = pxsim_pxtrt_stlocRef(s.state___190601, s.tmp_3); + r0 = pxsim_pxtcore_mkAction(1, inline__P190617); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.state___163985); - s.tmp_1 = control_EventContext_registerFrameHandler__P146329_mk(s); - s.tmp_2 = game_eventContext__P148487_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.state___190601); + s.tmp_1 = control_EventContext_registerFrameHandler__P172945_mk(s); + s.tmp_2 = game_eventContext__P175103_mk(s); s.callLocIdx = 1620; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; @@ -41140,15 +41183,15 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkAction(1, inline__P164025); + r0 = pxsim_pxtcore_mkAction(1, inline__P190641); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = if_animations_2_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.state___163985); + r0 = pxsim_pxtrt_ldlocRef(s.state___190601); s.tmp_1.arg0 = r0; - s.tmp_2 = helpers_arrayFilter__P146043_mk(s); + s.tmp_2 = helpers_arrayFilter__P172659_mk(s); s.tmp_3 = if_animations_1_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.state___163985); + r0 = pxsim_pxtrt_ldlocRef(s.state___190601); s.tmp_3.arg0 = r0; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "animations"); @@ -41177,7 +41220,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = if_animations_1_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.state___163985); + r0 = pxsim_pxtrt_ldlocRef(s.state___190601); s.tmp_1.arg0 = r0; if (!s.tmp_1.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "animations"); @@ -41195,12 +41238,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_SpriteAnimation_init__P148855.info = {"start":16059,"length":1299,"line":416,"column":8,"endLine":442,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"init","argumentNames":["this"]} +animation_SpriteAnimation_init__P175471.info = {"start":16059,"length":1299,"line":416,"column":8,"endLine":442,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"init","argumentNames":["this"]} -function animation_SpriteAnimation_init__P148855_mk(s) { +function animation_SpriteAnimation_init__P175471_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_SpriteAnimation_init__P148855, depth: s.depth + 1, + parent: s, fn: animation_SpriteAnimation_init__P175471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41210,7 +41253,7 @@ function animation_SpriteAnimation_init__P148855_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - state___163985: undefined, + state___190601: undefined, arg0: undefined, } } @@ -41218,7 +41261,7 @@ function animation_SpriteAnimation_init__P148855_mk(s) { -function inline__P164001(s) { +function inline__P190617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41231,7 +41274,7 @@ switch (step) { s.tmp_0 = if_animations_2_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg0 = r0; - s.tmp_1 = helpers_arrayFilter__P146043_mk(s); + s.tmp_1 = helpers_arrayFilter__P172659_mk(s); s.tmp_2 = if_animations_1_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_2.arg0 = r0; @@ -41246,7 +41289,7 @@ switch (step) { case 3: r0 = s.retval; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P164008; + s.tmp_1.arg1 = inline__P190624; s.callLocIdx = 1622; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -41265,12 +41308,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P164001.info = {"start":16491,"length":371,"line":425,"column":90,"endLine":431,"endColumn":17,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":[]} +inline__P190617.info = {"start":16491,"length":371,"line":425,"column":90,"endLine":431,"endColumn":17,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":[]} -function inline__P164001_mk(s) { +function inline__P190617_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P164001, depth: s.depth + 1, + parent: s, fn: inline__P190617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41281,7 +41324,7 @@ function inline__P164001_mk(s) { -function inline__P164008(s) { +function inline__P190624(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41306,9 +41349,9 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = animation_SpriteAnimation__C148853_v0_1_mk(s); + s.tmp_4 = animation_SpriteAnimation__C175469_v0_1_mk(s); s.tmp_4.arg0 = s.arg0; - if (!checkSubtype(s.tmp_4.arg0, animation_SpriteAnimation__C148853_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, animation_SpriteAnimation__C175469_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.update; s.pc = 4; return s.tmp_4; case 4: @@ -41321,12 +41364,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P164008.info = {"start":16562,"length":280,"line":426,"column":63,"endLine":430,"endColumn":21,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["anim"]} +inline__P190624.info = {"start":16562,"length":280,"line":426,"column":63,"endLine":430,"endColumn":21,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["anim"]} -function inline__P164008_mk(s) { +function inline__P190624_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P164008, depth: s.depth + 1, + parent: s, fn: inline__P190624, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41340,7 +41383,7 @@ function inline__P164008_mk(s) { -function inline__P164025(s) { +function inline__P190641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41366,7 +41409,7 @@ switch (step) { { step = 8; continue; } case 1: r0 = s.arg0; - r0 = checkSubtype(r0, animation_ImageAnimation__C148857_VT); + r0 = checkSubtype(r0, animation_ImageAnimation__C175473_VT); s.tmp_3 = r0; r0 = pxsim_numops_toBool(s.tmp_3); if (r0) { step = 2; continue; } @@ -41374,7 +41417,7 @@ switch (step) { { step = 3; continue; } case 2: r0 = s.caps[0]; - r0 = checkSubtype(r0, animation_ImageAnimation__C148857_VT); + r0 = checkSubtype(r0, animation_ImageAnimation__C175473_VT); case 3: // jmp value (already in r0) s.tmp_4 = r0; @@ -41384,7 +41427,7 @@ switch (step) { { step = 7; continue; } case 4: r0 = s.arg0; - r0 = checkSubtype(r0, animation_MovementAnimation__C148860_VT); + r0 = checkSubtype(r0, animation_MovementAnimation__C175476_VT); s.tmp_5 = r0; r0 = pxsim_numops_toBool(s.tmp_5); if (r0) { step = 5; continue; } @@ -41392,7 +41435,7 @@ switch (step) { { step = 6; continue; } case 5: r0 = s.caps[0]; - r0 = checkSubtype(r0, animation_MovementAnimation__C148860_VT); + r0 = checkSubtype(r0, animation_MovementAnimation__C175476_VT); case 6: // jmp value (already in r0) s.tmp_6 = r0; @@ -41410,12 +41453,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P164025.info = {"start":17019,"length":285,"line":435,"column":55,"endLine":439,"endColumn":13,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["anim"]} +inline__P190641.info = {"start":17019,"length":285,"line":435,"column":55,"endLine":439,"endColumn":13,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["anim"]} -function inline__P164025_mk(s) { +function inline__P190641_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P164025, depth: s.depth + 1, + parent: s, fn: inline__P190641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41434,7 +41477,7 @@ function inline__P164025_mk(s) { -function animation_SpriteAnimation_update__P148856(s) { +function animation_SpriteAnimation_update__P175472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41449,17 +41492,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_SpriteAnimation__C148853_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_SpriteAnimation__C175469_VT)) failedCast(r0); r0 = false; return leave(s, r0) default: oops() } } } -animation_SpriteAnimation_update__P148856.info = {"start":17368,"length":118,"line":444,"column":8,"endLine":447,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} +animation_SpriteAnimation_update__P175472.info = {"start":17368,"length":118,"line":444,"column":8,"endLine":447,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} -function animation_SpriteAnimation_update__P148856_mk(s) { +function animation_SpriteAnimation_update__P175472_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_SpriteAnimation_update__P148856, depth: s.depth + 1, + parent: s, fn: animation_SpriteAnimation_update__P175472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -41468,7 +41511,7 @@ function animation_SpriteAnimation_update__P148856_mk(s) { -function scene_Scene_data__P148394(s) { +function scene_Scene_data__P175010(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41483,18 +41526,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C148371_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C174987_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P148394.info = {"start":6655,"length":53,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P148394.isGetter = true; +scene_Scene_data__P175010.info = {"start":6655,"length":53,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P175010.isGetter = true; -function scene_Scene_data__P148394_mk(s) { +function scene_Scene_data__P175010_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P148394, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P175010, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -41503,7 +41546,7 @@ function scene_Scene_data__P148394_mk(s) { -function animation_Path_length__P148827(s) { +function animation_Path_length__P175443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41518,20 +41561,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C148823_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C175439_VT)) failedCast(r0); r0 = s.arg0.fields["nodes"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -animation_Path_length__P148827.info = {"start":11812,"length":70,"line":284,"column":8,"endLine":286,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"length","argumentNames":["this"]} -animation_Path_length__P148827.isGetter = true; +animation_Path_length__P175443.info = {"start":11812,"length":70,"line":284,"column":8,"endLine":286,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"length","argumentNames":["this"]} +animation_Path_length__P175443.isGetter = true; -function animation_Path_length__P148827_mk(s) { +function animation_Path_length__P175443_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_length__P148827, depth: s.depth + 1, + parent: s, fn: animation_Path_length__P175443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41541,7 +41584,7 @@ function animation_Path_length__P148827_mk(s) { -function animation_Path_parse__P148825(s) { +function animation_Path_parse__P175441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41551,91 +41594,91 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.path___164088 = undefined; - s.p0___164091 = undefined; - s.digits___164093 = undefined; - s.separators___164095 = undefined; - s.signs___164097 = undefined; - s.currentArg___164099 = undefined; - s.command___164100 = undefined; - s.args___164102 = undefined; - s.i___164104 = undefined; - s.char___164110 = undefined; - s.lastNode___164115 = undefined; - s.node___164176 = undefined; - s.node___164237 = undefined; + s.path___190704 = undefined; + s.p0___190707 = undefined; + s.digits___190709 = undefined; + s.separators___190711 = undefined; + s.signs___190713 = undefined; + s.currentArg___190715 = undefined; + s.command___190716 = undefined; + s.args___190718 = undefined; + s.i___190720 = undefined; + s.char___190726 = undefined; + s.lastNode___190731 = undefined; + s.node___190792 = undefined; + s.node___190853 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(animation_Path__C148823_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Path__C175439_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Path_constructor__P148824_mk(s); + s.tmp_1 = animation_Path_constructor__P175440_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1596; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - s.path___164088 = (s.tmp_0); - s.p0___164091 = (s.arg0); - s.digits___164093 = ("0123456789"); - s.separators___164095 = (", \t\n\r\f\u000b"); - s.signs___164097 = ("+-"); + s.path___190704 = (s.tmp_0); + s.p0___190707 = (s.arg0); + s.digits___190709 = ("0123456789"); + s.separators___190711 = (", \t\n\r\f\u000b"); + s.signs___190713 = ("+-"); r0 = pxsim_String_.mkEmpty(); - s.currentArg___164099 = (r0); - s.command___164100 = (null); + s.currentArg___190715 = (r0); + s.command___190716 = (null); r0 = pxsim_Array__mk(); - s.args___164102 = (r0); - s.i___164104 = (0); + s.args___190718 = (r0); + s.i___190720 = (0); case 1: - s.tmp_1 = r0 = s.i___164104; + s.tmp_1 = r0 = s.i___190720; 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 = 34; continue; } - r0 = pxsim_String_.charAt(s.arg1, s.i___164104); - s.char___164110 = (r0); - r0 = s.path___164088.fields["nodes"]; + r0 = pxsim_String_.charAt(s.arg1, s.i___190720); + s.char___190726 = (r0); + r0 = s.path___190704.fields["nodes"]; s.tmp_0 = r0; - r0 = s.path___164088.fields["nodes"]; + r0 = s.path___190704.fields["nodes"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); - s.lastNode___164115 = (r0); - r0 = pxsim_String_.indexOf(s.digits___164093, s.char___164110, undefined); + s.lastNode___190731 = (r0); + r0 = pxsim_String_.indexOf(s.digits___190709, s.char___190726, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - if ((s.currentArg___164099) && (s.currentArg___164099).vtable) { + if ((s.currentArg___190715) && (s.currentArg___190715).vtable) { setupResume(s, 36); - pxsim_String__stringConv(s.currentArg___164099); + pxsim_String__stringConv(s.currentArg___190715); checkResumeConsumed(); return; - } else { s.retval = (s.currentArg___164099) + ""; } + } else { s.retval = (s.currentArg___190715) + ""; } case 36: r0 = s.retval; s.tmp_2 = r0; - if ((s.char___164110) && (s.char___164110).vtable) { + if ((s.char___190726) && (s.char___190726).vtable) { setupResume(s, 37); - pxsim_String__stringConv(s.char___164110); + pxsim_String__stringConv(s.char___190726); checkResumeConsumed(); return; - } else { s.retval = (s.char___164110) + ""; } + } else { s.retval = (s.char___190726) + ""; } case 37: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.currentArg___164099 = (r0); + s.currentArg___190715 = (r0); { step = 23; continue; } case 2: - r0 = pxsim_String_.indexOf(s.separators___164095, s.char___164110, undefined); + r0 = pxsim_String_.indexOf(s.separators___190711, s.char___190726, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 > -1); s.tmp_0 = r0; @@ -41644,15 +41687,15 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.currentArg___164099; + r0 = s.currentArg___190715; case 4: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - s.tmp_3 = r0 = s.args___164102; - s.tmp_5 = parseInt__P146030_mk(s); - s.tmp_5.arg0 = s.currentArg___164099; + s.tmp_3 = r0 = s.args___190718; + s.tmp_5 = parseInt__P172646_mk(s); + s.tmp_5.arg0 = s.currentArg___190715; s.tmp_5.arg1 = undefined; s.callLocIdx = 1597; s.pc = 38; return s.tmp_5; case 38: @@ -41660,11 +41703,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_4); r0 = pxsim_String_.mkEmpty(); - s.currentArg___164099 = (r0); + s.currentArg___190715 = (r0); { step = 22; continue; } case 5: - s.tmp_2 = animation_Path_commandToArgCount__P150954_mk(s); - s.tmp_2.arg0 = s.char___164110; + s.tmp_2 = animation_Path_commandToArgCount__P177570_mk(s); + s.tmp_2.arg0 = s.char___190726; s.callLocIdx = 1598; s.pc = 39; return s.tmp_2; case 39: r0 = s.retval; @@ -41673,37 +41716,37 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.tmp_3 = r0 = s.command___164100; + s.tmp_3 = r0 = s.command___190716; r0 = pxsim_numops_toBool(s.tmp_3); if (r0) { step = 6; continue; } r0 = s.tmp_3; { step = 7; continue; } case 6: - r0 = s.currentArg___164099; + r0 = s.currentArg___190715; case 7: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 14; continue; } - s.tmp_5 = r0 = s.args___164102; - s.tmp_7 = parseInt__P146030_mk(s); - s.tmp_7.arg0 = s.currentArg___164099; + s.tmp_5 = r0 = s.args___190718; + s.tmp_7 = parseInt__P172646_mk(s); + s.tmp_7.arg0 = s.currentArg___190715; s.tmp_7.arg1 = undefined; s.callLocIdx = 1599; s.pc = 40; return s.tmp_7; case 40: r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_6); - s.tmp_0 = r0 = s.command___164100; + s.tmp_0 = r0 = s.command___190716; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 8; continue; } r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = pxsim_Array__length(s.args___164102); + r0 = pxsim_Array__length(s.args___190718); s.tmp_1 = r0; - s.tmp_3 = animation_Path_commandToArgCount__P150954_mk(s); - s.tmp_3.arg0 = s.command___164100; + s.tmp_3 = animation_Path_commandToArgCount__P177570_mk(s); + s.tmp_3.arg0 = s.command___190716; s.callLocIdx = 1600; s.pc = 41; return s.tmp_3; case 41: r0 = s.retval; @@ -41717,61 +41760,61 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_5, s.arg0); - r0 = pxsim_Array__push(s.tmp_5, s.lastNode___164115); - s.tmp_6 = animation_Path_generateNode__P150953_mk(s); - s.tmp_6.arg0 = s.p0___164091; - s.tmp_6.arg1 = s.command___164100; - s.tmp_6.arg2 = s.args___164102; + r0 = pxsim_Array__push(s.tmp_5, s.lastNode___190731); + s.tmp_6 = animation_Path_generateNode__P177569_mk(s); + s.tmp_6.arg0 = s.p0___190707; + s.tmp_6.arg1 = s.command___190716; + s.tmp_6.arg2 = s.args___190718; s.tmp_6.arg3 = s.tmp_5; s.callLocIdx = 1601; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - s.node___164176 = (r0); - s.tmp_0 = animation_Path_add__P148826_mk(s); - s.tmp_0.arg0 = s.path___164088; - s.tmp_0.arg1 = s.node___164176; + s.node___190792 = (r0); + s.tmp_0 = animation_Path_add__P175442_mk(s); + s.tmp_0.arg0 = s.path___190704; + s.tmp_0.arg1 = s.node___190792; s.callLocIdx = 1602; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = animation_PathNode__C148829_v2_1_mk(s); - s.tmp_0.arg0 = s.node___164176; - if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C148829_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = animation_PathNode__C175445_v2_1_mk(s); + s.tmp_0.arg0 = s.node___190792; + if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C175445_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.getEndPoint; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.p0___164091 = (r0); - r0 = s.node___164176.fields["setStart"]; + s.p0___190707 = (r0); + r0 = s.node___190792.fields["setStart"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.arg0 = (s.p0___164091); + s.arg0 = (s.p0___190707); case 10: case 11: case 12: case 13: r0 = pxsim_String_.mkEmpty(); - s.command___164100 = (r0); + s.command___190716 = (r0); r0 = pxsim_Array__mk(); - s.args___164102 = (r0); + s.args___190718 = (r0); r0 = pxsim_String_.mkEmpty(); - s.currentArg___164099 = (r0); + s.currentArg___190715 = (r0); case 14: case 15: - s.command___164100 = (s.char___164110); + s.command___190716 = (s.char___190726); { step = 21; continue; } case 16: - r0 = pxsim_String_.indexOf(s.signs___164097, s.char___164110, undefined); + r0 = pxsim_String_.indexOf(s.signs___190713, s.char___190726, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = pxsim_numops_toBoolDecr(s.currentArg___164099); + r0 = pxsim_numops_toBoolDecr(s.currentArg___190715); if (!r0) { step = 17; continue; } - s.tmp_2 = r0 = s.args___164102; - s.tmp_4 = parseInt__P146030_mk(s); - s.tmp_4.arg0 = s.currentArg___164099; + s.tmp_2 = r0 = s.args___190718; + s.tmp_4 = parseInt__P172646_mk(s); + s.tmp_4.arg0 = s.currentArg___190715; s.tmp_4.arg1 = undefined; s.callLocIdx = 1603; s.pc = 45; return s.tmp_4; case 45: @@ -41779,16 +41822,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_3); r0 = pxsim_String_.mkEmpty(); - s.currentArg___164099 = (r0); + s.currentArg___190715 = (r0); case 17: case 18: - s.currentArg___164099 = (s.char___164110); + s.currentArg___190715 = (s.char___190726); case 19: case 20: case 21: case 22: case 23: - s.tmp_1 = r0 = s.i___164104; + s.tmp_1 = r0 = s.i___190720; r0 = pxsim_String_.length(s.arg1); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -41797,11 +41840,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - r0 = pxsim_numops_toBoolDecr(s.currentArg___164099); + r0 = pxsim_numops_toBoolDecr(s.currentArg___190715); if (!r0) { step = 24; continue; } - s.tmp_4 = r0 = s.args___164102; - s.tmp_6 = parseInt__P146030_mk(s); - s.tmp_6.arg0 = s.currentArg___164099; + s.tmp_4 = r0 = s.args___190718; + s.tmp_6 = parseInt__P172646_mk(s); + s.tmp_6.arg0 = s.currentArg___190715; s.tmp_6.arg1 = undefined; s.callLocIdx = 1604; s.pc = 46; return s.tmp_6; case 46: @@ -41812,16 +41855,16 @@ switch (step) { case 25: case 26: case 27: - s.tmp_0 = r0 = s.command___164100; + s.tmp_0 = r0 = s.command___190716; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 28; continue; } r0 = s.tmp_0; { step = 29; continue; } case 28: - r0 = pxsim_Array__length(s.args___164102); + r0 = pxsim_Array__length(s.args___190718); s.tmp_1 = r0; - s.tmp_3 = animation_Path_commandToArgCount__P150954_mk(s); - s.tmp_3.arg0 = s.command___164100; + s.tmp_3 = animation_Path_commandToArgCount__P177570_mk(s); + s.tmp_3.arg0 = s.command___190716; s.callLocIdx = 1605; s.pc = 47; return s.tmp_3; case 47: r0 = s.retval; @@ -41835,59 +41878,59 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_5, s.arg0); - r0 = pxsim_Array__push(s.tmp_5, s.lastNode___164115); - s.tmp_6 = animation_Path_generateNode__P150953_mk(s); - s.tmp_6.arg0 = s.p0___164091; - s.tmp_6.arg1 = s.command___164100; - s.tmp_6.arg2 = s.args___164102; + r0 = pxsim_Array__push(s.tmp_5, s.lastNode___190731); + s.tmp_6 = animation_Path_generateNode__P177569_mk(s); + s.tmp_6.arg0 = s.p0___190707; + s.tmp_6.arg1 = s.command___190716; + s.tmp_6.arg2 = s.args___190718; s.tmp_6.arg3 = s.tmp_5; s.callLocIdx = 1606; s.pc = 48; return s.tmp_6; case 48: r0 = s.retval; - s.node___164237 = (r0); - s.tmp_0 = animation_Path_add__P148826_mk(s); - s.tmp_0.arg0 = s.path___164088; - s.tmp_0.arg1 = s.node___164237; + s.node___190853 = (r0); + s.tmp_0 = animation_Path_add__P175442_mk(s); + s.tmp_0.arg0 = s.path___190704; + s.tmp_0.arg1 = s.node___190853; s.callLocIdx = 1607; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; - s.tmp_0 = animation_PathNode__C148829_v2_1_mk(s); - s.tmp_0.arg0 = s.node___164237; - if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C148829_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = animation_PathNode__C175445_v2_1_mk(s); + s.tmp_0.arg0 = s.node___190853; + if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C175445_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.getEndPoint; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.p0___164091 = (r0); - r0 = s.node___164237.fields["setStart"]; + s.p0___190707 = (r0); + r0 = s.node___190853.fields["setStart"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 30; continue; } - s.arg0 = (s.p0___164091); + s.arg0 = (s.p0___190707); case 30: case 31: r0 = pxsim_String_.mkEmpty(); - s.command___164100 = (r0); + s.command___190716 = (r0); r0 = pxsim_Array__mk(); - s.args___164102 = (r0); + s.args___190718 = (r0); r0 = pxsim_String_.mkEmpty(); - s.currentArg___164099 = (r0); + s.currentArg___190715 = (r0); case 32: case 33: - r0 = (s.i___164104 + 1); - s.i___164104 = (r0); + r0 = (s.i___190720 + 1); + s.i___190720 = (r0); { step = 1; continue; } case 34: - r0 = s.path___164088; + r0 = s.path___190704; return leave(s, r0) default: oops() } } } -animation_Path_parse__P148825.info = {"start":7328,"length":4391,"line":193,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"parse","argumentNames":["pathStart","pathString"]} +animation_Path_parse__P175441.info = {"start":7328,"length":4391,"line":193,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"parse","argumentNames":["pathStart","pathString"]} -function animation_Path_parse__P148825_mk(s) { +function animation_Path_parse__P175441_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_parse__P148825, depth: s.depth + 1, + parent: s, fn: animation_Path_parse__P175441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41897,19 +41940,19 @@ function animation_Path_parse__P148825_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - path___164088: undefined, - p0___164091: undefined, - digits___164093: undefined, - separators___164095: undefined, - signs___164097: undefined, - currentArg___164099: undefined, - command___164100: undefined, - args___164102: undefined, - i___164104: undefined, - char___164110: undefined, - lastNode___164115: undefined, - node___164176: undefined, - node___164237: undefined, + path___190704: undefined, + p0___190707: undefined, + digits___190709: undefined, + separators___190711: undefined, + signs___190713: undefined, + currentArg___190715: undefined, + command___190716: undefined, + args___190718: undefined, + i___190720: undefined, + char___190726: undefined, + lastNode___190731: undefined, + node___190792: undefined, + node___190853: undefined, arg0: undefined, arg1: undefined, } } @@ -41918,7 +41961,7 @@ function animation_Path_parse__P148825_mk(s) { -function animation_Path_commandToArgCount__P150954(s) { +function animation_Path_commandToArgCount__P177570(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42023,12 +42066,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Path_commandToArgCount__P150954.info = {"start":6164,"length":1154,"line":156,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"commandToArgCount","argumentNames":["command"]} +animation_Path_commandToArgCount__P177570.info = {"start":6164,"length":1154,"line":156,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"commandToArgCount","argumentNames":["command"]} -function animation_Path_commandToArgCount__P150954_mk(s) { +function animation_Path_commandToArgCount__P177570_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_commandToArgCount__P150954, depth: s.depth + 1, + parent: s, fn: animation_Path_commandToArgCount__P177570, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42038,7 +42081,7 @@ function animation_Path_commandToArgCount__P150954_mk(s) { -function animation_Path_generateNode__P150953(s) { +function animation_Path_generateNode__P177569(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42048,41 +42091,41 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pathStart___164276 = undefined; - s.lastNode___164277 = undefined; - s.node___164278 = undefined; - s.p1___164281 = undefined; - s.p1___164290 = undefined; - s.p1___164307 = undefined; - s.p1___164317 = undefined; - s.p1___164335 = undefined; - s.p1___164346 = undefined; - s.p1___164361 = undefined; - s.p1___164372 = undefined; - s.p1___164387 = undefined; - s.p2___164392 = undefined; - s.p1___164403 = undefined; - s.p2___164416 = undefined; - s.lastControlPoint___164435 = undefined; - s.p1___164440 = undefined; - s.p2___164461 = undefined; - s.lastControlPoint___164472 = undefined; - s.p1___164477 = undefined; - s.p2___164498 = undefined; - s.p1___164517 = undefined; - s.p2___164522 = undefined; - s.p3___164527 = undefined; - s.p1___164539 = undefined; - s.p2___164552 = undefined; - s.p3___164565 = undefined; - s.lastControlPoint___164585 = undefined; - s.p1___164590 = undefined; - s.p2___164611 = undefined; - s.p3___164616 = undefined; - s.lastControlPoint___164628 = undefined; - s.p1___164633 = undefined; - s.p2___164654 = undefined; - s.p3___164667 = undefined; + s.pathStart___190892 = undefined; + s.lastNode___190893 = undefined; + s.node___190894 = undefined; + s.p1___190897 = undefined; + s.p1___190906 = undefined; + s.p1___190923 = undefined; + s.p1___190933 = undefined; + s.p1___190951 = undefined; + s.p1___190962 = undefined; + s.p1___190977 = undefined; + s.p1___190988 = undefined; + s.p1___191003 = undefined; + s.p2___191008 = undefined; + s.p1___191019 = undefined; + s.p2___191032 = undefined; + s.lastControlPoint___191051 = undefined; + s.p1___191056 = undefined; + s.p2___191077 = undefined; + s.lastControlPoint___191088 = undefined; + s.p1___191093 = undefined; + s.p2___191114 = undefined; + s.p1___191133 = undefined; + s.p2___191138 = undefined; + s.p3___191143 = undefined; + s.p1___191155 = undefined; + s.p2___191168 = undefined; + s.p3___191181 = undefined; + s.lastControlPoint___191201 = undefined; + s.p1___191206 = undefined; + s.p2___191227 = undefined; + s.p3___191232 = undefined; + s.lastControlPoint___191244 = undefined; + s.p1___191249 = undefined; + s.p2___191270 = undefined; + s.p3___191283 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -42092,9 +42135,9 @@ switch (step) { } s.tmp_0 = r0 = s.arg3; r0 = pxsim_Array__getAt(s.tmp_0, 0); - s.pathStart___164276 = (r0); + s.pathStart___190892 = (r0); r0 = pxsim_Array__getAt(s.tmp_0, 1); - s.lastNode___164277 = (r0); + s.lastNode___190893 = (r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_pxtcore.switch_eq("M", s.tmp_0); if (r0) { step = 1; continue; } @@ -42135,9 +42178,9 @@ switch (step) { r0 = s.tmp_0; { step = 27; continue; } case 1: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_1 = r0; - s.tmp_2 = animation_Point_constructor__P148820_mk(s); + s.tmp_2 = animation_Point_constructor__P175436_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = pxsim_Array__getAt(s.arg2, 0); s.tmp_2.arg1 = r0; @@ -42146,21 +42189,21 @@ switch (step) { s.callLocIdx = 1551; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; - s.p1___164281 = (s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(animation_MoveTo__C148835_VT); + s.p1___190897 = (s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(animation_MoveTo__C175451_VT); s.tmp_0 = r0; - s.tmp_1 = animation_MoveTo_constructor__P148836_mk(s); + s.tmp_1 = animation_MoveTo_constructor__P175452_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.p1___164281; + s.tmp_1.arg1 = s.p1___190897; s.callLocIdx = 1552; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 2: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42177,21 +42220,21 @@ switch (step) { s.callLocIdx = 1553; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - s.p1___164290 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_MoveTo__C148835_VT); + s.p1___190906 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_MoveTo__C175451_VT); s.tmp_0 = r0; - s.tmp_1 = animation_MoveTo_constructor__P148836_mk(s); + s.tmp_1 = animation_MoveTo_constructor__P175452_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.p1___164290; + s.tmp_1.arg1 = s.p1___190906; s.callLocIdx = 1554; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 3: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 0); s.tmp_1.arg1 = r0; @@ -42200,22 +42243,22 @@ switch (step) { s.callLocIdx = 1555; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.p1___164307 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C148839_VT); + s.p1___190923 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C175455_VT); s.tmp_0 = r0; - s.tmp_1 = animation_LineTo_constructor__P148840_mk(s); + s.tmp_1 = animation_LineTo_constructor__P175456_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164307; + s.tmp_1.arg2 = s.p1___190923; s.callLocIdx = 1556; s.pc = 33; return s.tmp_1; case 33: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 4: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42232,22 +42275,22 @@ switch (step) { s.callLocIdx = 1557; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; - s.p1___164317 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C148839_VT); + s.p1___190933 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C175455_VT); s.tmp_0 = r0; - s.tmp_1 = animation_LineTo_constructor__P148840_mk(s); + s.tmp_1 = animation_LineTo_constructor__P175456_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164317; + s.tmp_1.arg2 = s.p1___190933; s.callLocIdx = 1558; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 5: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 0); s.tmp_1.arg1 = r0; @@ -42256,22 +42299,22 @@ switch (step) { s.callLocIdx = 1559; s.pc = 36; return s.tmp_1; case 36: r0 = s.retval; - s.p1___164335 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C148839_VT); + s.p1___190951 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C175455_VT); s.tmp_0 = r0; - s.tmp_1 = animation_LineTo_constructor__P148840_mk(s); + s.tmp_1 = animation_LineTo_constructor__P175456_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164335; + s.tmp_1.arg2 = s.p1___190951; s.callLocIdx = 1560; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 6: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42284,22 +42327,22 @@ switch (step) { s.callLocIdx = 1561; s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; - s.p1___164346 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C148839_VT); + s.p1___190962 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C175455_VT); s.tmp_0 = r0; - s.tmp_1 = animation_LineTo_constructor__P148840_mk(s); + s.tmp_1 = animation_LineTo_constructor__P175456_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164346; + s.tmp_1.arg2 = s.p1___190962; s.callLocIdx = 1562; s.pc = 39; return s.tmp_1; case 39: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 7: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_1.arg1 = r0; @@ -42308,22 +42351,22 @@ switch (step) { s.callLocIdx = 1563; s.pc = 40; return s.tmp_1; case 40: r0 = s.retval; - s.p1___164361 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C148839_VT); + s.p1___190977 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C175455_VT); s.tmp_0 = r0; - s.tmp_1 = animation_LineTo_constructor__P148840_mk(s); + s.tmp_1 = animation_LineTo_constructor__P175456_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164361; + s.tmp_1.arg2 = s.p1___190977; s.callLocIdx = 1564; s.pc = 41; return s.tmp_1; case 41: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 8: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_1.arg1 = r0; @@ -42336,22 +42379,22 @@ switch (step) { s.callLocIdx = 1565; s.pc = 42; return s.tmp_1; case 42: r0 = s.retval; - s.p1___164372 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C148839_VT); + s.p1___190988 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C175455_VT); s.tmp_0 = r0; - s.tmp_1 = animation_LineTo_constructor__P148840_mk(s); + s.tmp_1 = animation_LineTo_constructor__P175456_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164372; + s.tmp_1.arg2 = s.p1___190988; s.callLocIdx = 1566; s.pc = 43; return s.tmp_1; case 43: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 9: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 0); s.tmp_1.arg1 = r0; @@ -42360,10 +42403,10 @@ switch (step) { s.callLocIdx = 1567; s.pc = 44; return s.tmp_1; case 44: r0 = s.retval; - s.p1___164387 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p1___191003 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 2); s.tmp_1.arg1 = r0; @@ -42372,23 +42415,23 @@ switch (step) { s.callLocIdx = 1568; s.pc = 45; return s.tmp_1; case 45: r0 = s.retval; - s.p2___164392 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_QuadraticCurveTo__C148843_VT); + s.p2___191008 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_QuadraticCurveTo__C175459_VT); s.tmp_0 = r0; - s.tmp_1 = animation_QuadraticCurveTo_constructor__P148844_mk(s); + s.tmp_1 = animation_QuadraticCurveTo_constructor__P175460_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164387; - s.tmp_1.arg3 = s.p2___164392; + s.tmp_1.arg2 = s.p1___191003; + s.tmp_1.arg3 = s.p2___191008; s.callLocIdx = 1569; s.pc = 46; return s.tmp_1; case 46: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 10: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42405,10 +42448,10 @@ switch (step) { s.callLocIdx = 1570; s.pc = 47; return s.tmp_1; case 47: r0 = s.retval; - s.p1___164403 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p1___191019 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42425,29 +42468,29 @@ switch (step) { s.callLocIdx = 1571; s.pc = 48; return s.tmp_1; case 48: r0 = s.retval; - s.p2___164416 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_QuadraticCurveTo__C148843_VT); + s.p2___191032 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_QuadraticCurveTo__C175459_VT); s.tmp_0 = r0; - s.tmp_1 = animation_QuadraticCurveTo_constructor__P148844_mk(s); + s.tmp_1 = animation_QuadraticCurveTo_constructor__P175460_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164403; - s.tmp_1.arg3 = s.p2___164416; + s.tmp_1.arg2 = s.p1___191019; + s.tmp_1.arg3 = s.p2___191032; s.callLocIdx = 1572; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 11: - s.tmp_0 = animation_PathNode__C148829_v1_1_mk(s); - s.tmp_0.arg0 = s.lastNode___164277; - if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C148829_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = animation_PathNode__C175445_v1_1_mk(s); + s.tmp_0.arg0 = s.lastNode___190893; + if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C175445_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.getLastControlPoint; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.lastControlPoint___164435 = (r0); - r0 = pxsim_numops_toBoolDecr(s.lastControlPoint___164435); + s.lastControlPoint___191051 = (r0); + r0 = pxsim_numops_toBoolDecr(s.lastControlPoint___191051); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -42456,15 +42499,15 @@ switch (step) { { step = 27; continue; } case 12: case 13: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_2 = r0; - s.tmp_3 = animation_Point_constructor__P148820_mk(s); + s.tmp_3 = animation_Point_constructor__P175436_mk(s); s.tmp_3.arg0 = s.tmp_2; r0 = s.arg0.fields["x"]; s.tmp_4 = r0; r0 = s.arg0.fields["x"]; s.tmp_6 = r0; - r0 = s.lastControlPoint___164435.fields["x"]; + r0 = s.lastControlPoint___191051.fields["x"]; s.tmp_7 = r0; r0 = (s.tmp_6 - s.tmp_7); s.tmp_5 = r0; @@ -42474,7 +42517,7 @@ switch (step) { s.tmp_8 = r0; r0 = s.arg0.fields["y"]; s.tmp_10 = r0; - r0 = s.lastControlPoint___164435.fields["y"]; + r0 = s.lastControlPoint___191051.fields["y"]; s.tmp_11 = r0; r0 = (s.tmp_10 - s.tmp_11); s.tmp_9 = r0; @@ -42483,10 +42526,10 @@ switch (step) { s.callLocIdx = 1573; s.pc = 51; return s.tmp_3; case 51: r0 = s.retval; - s.p1___164440 = (s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p1___191056 = (s.tmp_2); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 0); s.tmp_1.arg1 = r0; @@ -42495,29 +42538,29 @@ switch (step) { s.callLocIdx = 1574; s.pc = 52; return s.tmp_1; case 52: r0 = s.retval; - s.p2___164461 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_QuadraticCurveTo__C148843_VT); + s.p2___191077 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_QuadraticCurveTo__C175459_VT); s.tmp_0 = r0; - s.tmp_1 = animation_QuadraticCurveTo_constructor__P148844_mk(s); + s.tmp_1 = animation_QuadraticCurveTo_constructor__P175460_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164440; - s.tmp_1.arg3 = s.p2___164461; + s.tmp_1.arg2 = s.p1___191056; + s.tmp_1.arg3 = s.p2___191077; s.callLocIdx = 1575; s.pc = 53; return s.tmp_1; case 53: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 14: - s.tmp_0 = animation_PathNode__C148829_v1_1_mk(s); - s.tmp_0.arg0 = s.lastNode___164277; - if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C148829_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = animation_PathNode__C175445_v1_1_mk(s); + s.tmp_0.arg0 = s.lastNode___190893; + if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C175445_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.getLastControlPoint; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.lastControlPoint___164472 = (r0); - r0 = pxsim_numops_toBoolDecr(s.lastControlPoint___164472); + s.lastControlPoint___191088 = (r0); + r0 = pxsim_numops_toBoolDecr(s.lastControlPoint___191088); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -42526,15 +42569,15 @@ switch (step) { { step = 27; continue; } case 15: case 16: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_2 = r0; - s.tmp_3 = animation_Point_constructor__P148820_mk(s); + s.tmp_3 = animation_Point_constructor__P175436_mk(s); s.tmp_3.arg0 = s.tmp_2; r0 = s.arg0.fields["x"]; s.tmp_4 = r0; r0 = s.arg0.fields["x"]; s.tmp_6 = r0; - r0 = s.lastControlPoint___164472.fields["x"]; + r0 = s.lastControlPoint___191088.fields["x"]; s.tmp_7 = r0; r0 = (s.tmp_6 - s.tmp_7); s.tmp_5 = r0; @@ -42544,7 +42587,7 @@ switch (step) { s.tmp_8 = r0; r0 = s.arg0.fields["y"]; s.tmp_10 = r0; - r0 = s.lastControlPoint___164472.fields["y"]; + r0 = s.lastControlPoint___191088.fields["y"]; s.tmp_11 = r0; r0 = (s.tmp_10 - s.tmp_11); s.tmp_9 = r0; @@ -42553,10 +42596,10 @@ switch (step) { s.callLocIdx = 1576; s.pc = 55; return s.tmp_3; case 55: r0 = s.retval; - s.p1___164477 = (s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p1___191093 = (s.tmp_2); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42573,23 +42616,23 @@ switch (step) { s.callLocIdx = 1577; s.pc = 56; return s.tmp_1; case 56: r0 = s.retval; - s.p2___164498 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_QuadraticCurveTo__C148843_VT); + s.p2___191114 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_QuadraticCurveTo__C175459_VT); s.tmp_0 = r0; - s.tmp_1 = animation_QuadraticCurveTo_constructor__P148844_mk(s); + s.tmp_1 = animation_QuadraticCurveTo_constructor__P175460_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164477; - s.tmp_1.arg3 = s.p2___164498; + s.tmp_1.arg2 = s.p1___191093; + s.tmp_1.arg3 = s.p2___191114; s.callLocIdx = 1578; s.pc = 57; return s.tmp_1; case 57: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 17: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 0); s.tmp_1.arg1 = r0; @@ -42598,10 +42641,10 @@ switch (step) { s.callLocIdx = 1579; s.pc = 58; return s.tmp_1; case 58: r0 = s.retval; - s.p1___164517 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p1___191133 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 2); s.tmp_1.arg1 = r0; @@ -42610,10 +42653,10 @@ switch (step) { s.callLocIdx = 1580; s.pc = 59; return s.tmp_1; case 59: r0 = s.retval; - s.p2___164522 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p2___191138 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 4); s.tmp_1.arg1 = r0; @@ -42622,24 +42665,24 @@ switch (step) { s.callLocIdx = 1581; s.pc = 60; return s.tmp_1; case 60: r0 = s.retval; - s.p3___164527 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_CubicCurveTo__C148848_VT); + s.p3___191143 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_CubicCurveTo__C175464_VT); s.tmp_0 = r0; - s.tmp_1 = animation_CubicCurveTo_constructor__P148849_mk(s); + s.tmp_1 = animation_CubicCurveTo_constructor__P175465_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164517; - s.tmp_1.arg3 = s.p2___164522; - s.tmp_1.arg4 = s.p3___164527; + s.tmp_1.arg2 = s.p1___191133; + s.tmp_1.arg3 = s.p2___191138; + s.tmp_1.arg4 = s.p3___191143; s.callLocIdx = 1582; s.pc = 61; return s.tmp_1; case 61: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 18: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42656,10 +42699,10 @@ switch (step) { s.callLocIdx = 1583; s.pc = 62; return s.tmp_1; case 62: r0 = s.retval; - s.p1___164539 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p1___191155 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42676,10 +42719,10 @@ switch (step) { s.callLocIdx = 1584; s.pc = 63; return s.tmp_1; case 63: r0 = s.retval; - s.p2___164552 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p2___191168 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42696,30 +42739,30 @@ switch (step) { s.callLocIdx = 1585; s.pc = 64; return s.tmp_1; case 64: r0 = s.retval; - s.p3___164565 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_CubicCurveTo__C148848_VT); + s.p3___191181 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_CubicCurveTo__C175464_VT); s.tmp_0 = r0; - s.tmp_1 = animation_CubicCurveTo_constructor__P148849_mk(s); + s.tmp_1 = animation_CubicCurveTo_constructor__P175465_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164539; - s.tmp_1.arg3 = s.p2___164552; - s.tmp_1.arg4 = s.p3___164565; + s.tmp_1.arg2 = s.p1___191155; + s.tmp_1.arg3 = s.p2___191168; + s.tmp_1.arg4 = s.p3___191181; s.callLocIdx = 1586; s.pc = 65; return s.tmp_1; case 65: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 19: - s.tmp_0 = animation_PathNode__C148829_v1_1_mk(s); - s.tmp_0.arg0 = s.lastNode___164277; - if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C148829_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = animation_PathNode__C175445_v1_1_mk(s); + s.tmp_0.arg0 = s.lastNode___190893; + if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C175445_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.getLastControlPoint; s.pc = 66; return s.tmp_0; case 66: r0 = s.retval; - s.lastControlPoint___164585 = (r0); - r0 = pxsim_numops_toBoolDecr(s.lastControlPoint___164585); + s.lastControlPoint___191201 = (r0); + r0 = pxsim_numops_toBoolDecr(s.lastControlPoint___191201); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -42728,15 +42771,15 @@ switch (step) { { step = 27; continue; } case 20: case 21: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_2 = r0; - s.tmp_3 = animation_Point_constructor__P148820_mk(s); + s.tmp_3 = animation_Point_constructor__P175436_mk(s); s.tmp_3.arg0 = s.tmp_2; r0 = s.arg0.fields["x"]; s.tmp_4 = r0; r0 = s.arg0.fields["x"]; s.tmp_6 = r0; - r0 = s.lastControlPoint___164585.fields["x"]; + r0 = s.lastControlPoint___191201.fields["x"]; s.tmp_7 = r0; r0 = (s.tmp_6 - s.tmp_7); s.tmp_5 = r0; @@ -42746,7 +42789,7 @@ switch (step) { s.tmp_8 = r0; r0 = s.arg0.fields["y"]; s.tmp_10 = r0; - r0 = s.lastControlPoint___164585.fields["y"]; + r0 = s.lastControlPoint___191201.fields["y"]; s.tmp_11 = r0; r0 = (s.tmp_10 - s.tmp_11); s.tmp_9 = r0; @@ -42755,10 +42798,10 @@ switch (step) { s.callLocIdx = 1587; s.pc = 67; return s.tmp_3; case 67: r0 = s.retval; - s.p1___164590 = (s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p1___191206 = (s.tmp_2); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 0); s.tmp_1.arg1 = r0; @@ -42767,10 +42810,10 @@ switch (step) { s.callLocIdx = 1588; s.pc = 68; return s.tmp_1; case 68: r0 = s.retval; - s.p2___164611 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p2___191227 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim_Array__getAt(s.arg2, 2); s.tmp_1.arg1 = r0; @@ -42779,30 +42822,30 @@ switch (step) { s.callLocIdx = 1589; s.pc = 69; return s.tmp_1; case 69: r0 = s.retval; - s.p3___164616 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_CubicCurveTo__C148848_VT); + s.p3___191232 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_CubicCurveTo__C175464_VT); s.tmp_0 = r0; - s.tmp_1 = animation_CubicCurveTo_constructor__P148849_mk(s); + s.tmp_1 = animation_CubicCurveTo_constructor__P175465_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164590; - s.tmp_1.arg3 = s.p2___164611; - s.tmp_1.arg4 = s.p3___164616; + s.tmp_1.arg2 = s.p1___191206; + s.tmp_1.arg3 = s.p2___191227; + s.tmp_1.arg4 = s.p3___191232; s.callLocIdx = 1590; s.pc = 70; return s.tmp_1; case 70: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 22: - s.tmp_0 = animation_PathNode__C148829_v1_1_mk(s); - s.tmp_0.arg0 = s.lastNode___164277; - if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C148829_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = animation_PathNode__C175445_v1_1_mk(s); + s.tmp_0.arg0 = s.lastNode___190893; + if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C175445_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.getLastControlPoint; s.pc = 71; return s.tmp_0; case 71: r0 = s.retval; - s.lastControlPoint___164628 = (r0); - r0 = pxsim_numops_toBoolDecr(s.lastControlPoint___164628); + s.lastControlPoint___191244 = (r0); + r0 = pxsim_numops_toBoolDecr(s.lastControlPoint___191244); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -42811,15 +42854,15 @@ switch (step) { { step = 27; continue; } case 23: case 24: - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_2 = r0; - s.tmp_3 = animation_Point_constructor__P148820_mk(s); + s.tmp_3 = animation_Point_constructor__P175436_mk(s); s.tmp_3.arg0 = s.tmp_2; r0 = s.arg0.fields["x"]; s.tmp_4 = r0; r0 = s.arg0.fields["x"]; s.tmp_6 = r0; - r0 = s.lastControlPoint___164628.fields["x"]; + r0 = s.lastControlPoint___191244.fields["x"]; s.tmp_7 = r0; r0 = (s.tmp_6 - s.tmp_7); s.tmp_5 = r0; @@ -42829,7 +42872,7 @@ switch (step) { s.tmp_8 = r0; r0 = s.arg0.fields["y"]; s.tmp_10 = r0; - r0 = s.lastControlPoint___164628.fields["y"]; + r0 = s.lastControlPoint___191244.fields["y"]; s.tmp_11 = r0; r0 = (s.tmp_10 - s.tmp_11); s.tmp_9 = r0; @@ -42838,10 +42881,10 @@ switch (step) { s.callLocIdx = 1591; s.pc = 72; return s.tmp_3; case 72: r0 = s.retval; - s.p1___164633 = (s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p1___191249 = (s.tmp_2); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42858,10 +42901,10 @@ switch (step) { s.callLocIdx = 1592; s.pc = 73; return s.tmp_1; case 73: r0 = s.retval; - s.p2___164654 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C148817_VT); + s.p2___191270 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_Point__C175433_VT); s.tmp_0 = r0; - s.tmp_1 = animation_Point_constructor__P148820_mk(s); + s.tmp_1 = animation_Point_constructor__P175436_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["x"]; s.tmp_2 = r0; @@ -42878,43 +42921,43 @@ switch (step) { s.callLocIdx = 1593; s.pc = 74; return s.tmp_1; case 74: r0 = s.retval; - s.p3___164667 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(animation_CubicCurveTo__C148848_VT); + s.p3___191283 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(animation_CubicCurveTo__C175464_VT); s.tmp_0 = r0; - s.tmp_1 = animation_CubicCurveTo_constructor__P148849_mk(s); + s.tmp_1 = animation_CubicCurveTo_constructor__P175465_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.p1___164633; - s.tmp_1.arg3 = s.p2___164654; - s.tmp_1.arg4 = s.p3___164667; + s.tmp_1.arg2 = s.p1___191249; + s.tmp_1.arg3 = s.p2___191270; + s.tmp_1.arg4 = s.p3___191283; s.callLocIdx = 1594; s.pc = 75; return s.tmp_1; case 75: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); { step = 27; continue; } case 25: case 26: - r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C148839_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_LineTo__C175455_VT); s.tmp_0 = r0; - s.tmp_1 = animation_LineTo_constructor__P148840_mk(s); + s.tmp_1 = animation_LineTo_constructor__P175456_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.pathStart___164276; + s.tmp_1.arg2 = s.pathStart___190892; s.callLocIdx = 1595; s.pc = 76; return s.tmp_1; case 76: r0 = s.retval; - s.node___164278 = (s.tmp_0); + s.node___190894 = (s.tmp_0); case 27: - r0 = s.node___164278; + r0 = s.node___190894; return leave(s, r0) default: oops() } } } -animation_Path_generateNode__P150953.info = {"start":894,"length":5260,"line":38,"column":8,"endLine":154,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"generateNode","argumentNames":["p0","command","args","metadata"]} +animation_Path_generateNode__P177569.info = {"start":894,"length":5260,"line":38,"column":8,"endLine":154,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"generateNode","argumentNames":["p0","command","args","metadata"]} -function animation_Path_generateNode__P150953_mk(s) { +function animation_Path_generateNode__P177569_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_generateNode__P150953, depth: s.depth + 1, + parent: s, fn: animation_Path_generateNode__P177569, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42928,41 +42971,41 @@ function animation_Path_generateNode__P150953_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - pathStart___164276: undefined, - lastNode___164277: undefined, - node___164278: undefined, - p1___164281: undefined, - p1___164290: undefined, - p1___164307: undefined, - p1___164317: undefined, - p1___164335: undefined, - p1___164346: undefined, - p1___164361: undefined, - p1___164372: undefined, - p1___164387: undefined, - p2___164392: undefined, - p1___164403: undefined, - p2___164416: undefined, - lastControlPoint___164435: undefined, - p1___164440: undefined, - p2___164461: undefined, - lastControlPoint___164472: undefined, - p1___164477: undefined, - p2___164498: undefined, - p1___164517: undefined, - p2___164522: undefined, - p3___164527: undefined, - p1___164539: undefined, - p2___164552: undefined, - p3___164565: undefined, - lastControlPoint___164585: undefined, - p1___164590: undefined, - p2___164611: undefined, - p3___164616: undefined, - lastControlPoint___164628: undefined, - p1___164633: undefined, - p2___164654: undefined, - p3___164667: undefined, + pathStart___190892: undefined, + lastNode___190893: undefined, + node___190894: undefined, + p1___190897: undefined, + p1___190906: undefined, + p1___190923: undefined, + p1___190933: undefined, + p1___190951: undefined, + p1___190962: undefined, + p1___190977: undefined, + p1___190988: undefined, + p1___191003: undefined, + p2___191008: undefined, + p1___191019: undefined, + p2___191032: undefined, + lastControlPoint___191051: undefined, + p1___191056: undefined, + p2___191077: undefined, + lastControlPoint___191088: undefined, + p1___191093: undefined, + p2___191114: undefined, + p1___191133: undefined, + p2___191138: undefined, + p3___191143: undefined, + p1___191155: undefined, + p2___191168: undefined, + p3___191181: undefined, + lastControlPoint___191201: undefined, + p1___191206: undefined, + p2___191227: undefined, + p3___191232: undefined, + lastControlPoint___191244: undefined, + p1___191249: undefined, + p2___191270: undefined, + p3___191283: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -42973,7 +43016,7 @@ function animation_Path_generateNode__P150953_mk(s) { -function animation_CubicCurveTo_constructor__P148849(s) { +function animation_CubicCurveTo_constructor__P175465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42992,12 +43035,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_CubicCurveTo__C148848_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_CubicCurveTo__C175464_VT)) failedCast(r0); r0 = (s.arg0).fields["p0"] = (s.arg1); r0 = (s.arg0).fields["p1"] = (s.arg2); r0 = (s.arg0).fields["p2"] = (s.arg3); r0 = (s.arg0).fields["p3"] = (s.arg4); - s.tmp_0 = animation_PathNode_constructor__P148831_mk(s); + s.tmp_0 = animation_PathNode_constructor__P175447_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1614; s.pc = 1; return s.tmp_0; case 1: @@ -43006,12 +43049,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_CubicCurveTo_constructor__P148849.info = {"start":15016,"length":116,"line":383,"column":8,"endLine":385,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","p0","p1","p2","p3"]} +animation_CubicCurveTo_constructor__P175465.info = {"start":15016,"length":116,"line":383,"column":8,"endLine":385,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","p0","p1","p2","p3"]} -function animation_CubicCurveTo_constructor__P148849_mk(s) { +function animation_CubicCurveTo_constructor__P175465_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_CubicCurveTo_constructor__P148849, depth: s.depth + 1, + parent: s, fn: animation_CubicCurveTo_constructor__P175465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43025,7 +43068,7 @@ function animation_CubicCurveTo_constructor__P148849_mk(s) { -function animation_PathNode_constructor__P148831(s) { +function animation_PathNode_constructor__P175447(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43040,18 +43083,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_PathNode__C148829_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_PathNode__C175445_VT)) failedCast(r0); r0 = (s.arg0).fields["setStart"] = (false); r0 = undefined; return leave(s, r0) default: oops() } } } -animation_PathNode_constructor__P148831.info = {"start":12962,"length":60,"line":307,"column":8,"endLine":309,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this"]} +animation_PathNode_constructor__P175447.info = {"start":12962,"length":60,"line":307,"column":8,"endLine":309,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this"]} -function animation_PathNode_constructor__P148831_mk(s) { +function animation_PathNode_constructor__P175447_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_PathNode_constructor__P148831, depth: s.depth + 1, + parent: s, fn: animation_PathNode_constructor__P175447, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -43060,7 +43103,7 @@ function animation_PathNode_constructor__P148831_mk(s) { -function animation_QuadraticCurveTo_constructor__P148844(s) { +function animation_QuadraticCurveTo_constructor__P175460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43078,11 +43121,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_QuadraticCurveTo__C148843_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_QuadraticCurveTo__C175459_VT)) failedCast(r0); r0 = (s.arg0).fields["p0"] = (s.arg1); r0 = (s.arg0).fields["p1"] = (s.arg2); r0 = (s.arg0).fields["p2"] = (s.arg3); - s.tmp_0 = animation_PathNode_constructor__P148831_mk(s); + s.tmp_0 = animation_PathNode_constructor__P175447_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1612; s.pc = 1; return s.tmp_0; case 1: @@ -43091,12 +43134,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_QuadraticCurveTo_constructor__P148844.info = {"start":14206,"length":98,"line":356,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","p0","p1","p2"]} +animation_QuadraticCurveTo_constructor__P175460.info = {"start":14206,"length":98,"line":356,"column":8,"endLine":358,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","p0","p1","p2"]} -function animation_QuadraticCurveTo_constructor__P148844_mk(s) { +function animation_QuadraticCurveTo_constructor__P175460_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_QuadraticCurveTo_constructor__P148844, depth: s.depth + 1, + parent: s, fn: animation_QuadraticCurveTo_constructor__P175460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43109,7 +43152,7 @@ function animation_QuadraticCurveTo_constructor__P148844_mk(s) { -function animation_LineTo_constructor__P148840(s) { +function animation_LineTo_constructor__P175456(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43126,10 +43169,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_LineTo__C148839_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_LineTo__C175455_VT)) failedCast(r0); r0 = (s.arg0).fields["p0"] = (s.arg1); r0 = (s.arg0).fields["p1"] = (s.arg2); - s.tmp_0 = animation_PathNode_constructor__P148831_mk(s); + s.tmp_0 = animation_PathNode_constructor__P175447_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1610; s.pc = 1; return s.tmp_0; case 1: @@ -43138,12 +43181,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_LineTo_constructor__P148840.info = {"start":13679,"length":80,"line":339,"column":8,"endLine":341,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","p0","p1"]} +animation_LineTo_constructor__P175456.info = {"start":13679,"length":80,"line":339,"column":8,"endLine":341,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","p0","p1"]} -function animation_LineTo_constructor__P148840_mk(s) { +function animation_LineTo_constructor__P175456_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_LineTo_constructor__P148840, depth: s.depth + 1, + parent: s, fn: animation_LineTo_constructor__P175456, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43155,7 +43198,7 @@ function animation_LineTo_constructor__P148840_mk(s) { -function animation_MoveTo_constructor__P148836(s) { +function animation_MoveTo_constructor__P175452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43171,9 +43214,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_MoveTo__C148835_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_MoveTo__C175451_VT)) failedCast(r0); r0 = (s.arg0).fields["p1"] = (s.arg1); - s.tmp_0 = animation_PathNode_constructor__P148831_mk(s); + s.tmp_0 = animation_PathNode_constructor__P175447_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1608; s.pc = 1; return s.tmp_0; case 1: @@ -43183,12 +43226,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_MoveTo_constructor__P148836.info = {"start":13296,"length":97,"line":323,"column":8,"endLine":327,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","p1"]} +animation_MoveTo_constructor__P175452.info = {"start":13296,"length":97,"line":323,"column":8,"endLine":327,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","p1"]} -function animation_MoveTo_constructor__P148836_mk(s) { +function animation_MoveTo_constructor__P175452_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_MoveTo_constructor__P148836, depth: s.depth + 1, + parent: s, fn: animation_MoveTo_constructor__P175452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43199,7 +43242,7 @@ function animation_MoveTo_constructor__P148836_mk(s) { -function animation_PathNode_getLastControlPoint__P148833(s) { +function animation_PathNode_getLastControlPoint__P175449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43214,17 +43257,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_PathNode__C148829_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_PathNode__C175445_VT)) failedCast(r0); r0 = null; return leave(s, r0) default: oops() } } } -animation_PathNode_getLastControlPoint__P148833.info = {"start":13103,"length":65,"line":313,"column":8,"endLine":315,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getLastControlPoint","argumentNames":["this"]} +animation_PathNode_getLastControlPoint__P175449.info = {"start":13103,"length":65,"line":313,"column":8,"endLine":315,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getLastControlPoint","argumentNames":["this"]} -function animation_PathNode_getLastControlPoint__P148833_mk(s) { +function animation_PathNode_getLastControlPoint__P175449_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_PathNode_getLastControlPoint__P148833, depth: s.depth + 1, + parent: s, fn: animation_PathNode_getLastControlPoint__P175449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -43233,7 +43276,7 @@ function animation_PathNode_getLastControlPoint__P148833_mk(s) { -function animation_PathNode_getEndPoint__P148834(s) { +function animation_PathNode_getEndPoint__P175450(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43248,17 +43291,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_PathNode__C148829_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_PathNode__C175445_VT)) failedCast(r0); r0 = null; return leave(s, r0) default: oops() } } } -animation_PathNode_getEndPoint__P148834.info = {"start":13179,"length":57,"line":317,"column":8,"endLine":319,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} +animation_PathNode_getEndPoint__P175450.info = {"start":13179,"length":57,"line":317,"column":8,"endLine":319,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} -function animation_PathNode_getEndPoint__P148834_mk(s) { +function animation_PathNode_getEndPoint__P175450_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_PathNode_getEndPoint__P148834, depth: s.depth + 1, + parent: s, fn: animation_PathNode_getEndPoint__P175450, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -43267,7 +43310,7 @@ function animation_PathNode_getEndPoint__P148834_mk(s) { -function animation_Path_add__P148826(s) { +function animation_Path_add__P175442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43283,7 +43326,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C148823_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C175439_VT)) failedCast(r0); r0 = s.arg0.fields["nodes"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -43291,12 +43334,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Path_add__P148826.info = {"start":11729,"length":73,"line":280,"column":8,"endLine":282,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"add","argumentNames":["this","node"]} +animation_Path_add__P175442.info = {"start":11729,"length":73,"line":280,"column":8,"endLine":282,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"add","argumentNames":["this","node"]} -function animation_Path_add__P148826_mk(s) { +function animation_Path_add__P175442_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_add__P148826, depth: s.depth + 1, + parent: s, fn: animation_Path_add__P175442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43307,7 +43350,7 @@ function animation_Path_add__P148826_mk(s) { -function animation_Path_constructor__P148824(s) { +function animation_Path_constructor__P175440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43322,7 +43365,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C148823_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C175439_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -43332,12 +43375,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Path_constructor__P148824.info = {"start":798,"length":86,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this"]} +animation_Path_constructor__P175440.info = {"start":798,"length":86,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this"]} -function animation_Path_constructor__P148824_mk(s) { +function animation_Path_constructor__P175440_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_constructor__P148824, depth: s.depth + 1, + parent: s, fn: animation_Path_constructor__P175440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43348,7 +43391,7 @@ function animation_Path_constructor__P148824_mk(s) { -function animation_Point_constructor__P148820(s) { +function animation_Point_constructor__P175436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43365,19 +43408,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Point__C148817_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Point__C175433_VT)) failedCast(r0); r0 = (s.arg0).fields["x"] = (s.arg1); r0 = (s.arg0).fields["y"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -animation_Point_constructor__P148820.info = {"start":386,"length":93,"line":17,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","x","y"]} +animation_Point_constructor__P175436.info = {"start":386,"length":93,"line":17,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","x","y"]} -function animation_Point_constructor__P148820_mk(s) { +function animation_Point_constructor__P175436_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Point_constructor__P148820, depth: s.depth + 1, + parent: s, fn: animation_Point_constructor__P175436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43388,7 +43431,7 @@ function animation_Point_constructor__P148820_mk(s) { -function info_changeLifeBy__P148169(s) { +function info_changeLifeBy__P174785(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43402,8 +43445,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_changeLifeBy__P148205_mk(s); - s.tmp_0.arg0 = globals.player1___148215; + s.tmp_0 = info_PlayerInfo_changeLifeBy__P174821_mk(s); + s.tmp_0.arg0 = globals.player1___174831; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 839; s.pc = 1; return s.tmp_0; case 1: @@ -43412,12 +43455,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_changeLifeBy__P148169.info = {"start":8659,"length":88,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"changeLifeBy","argumentNames":["value"]} +info_changeLifeBy__P174785.info = {"start":8659,"length":88,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"changeLifeBy","argumentNames":["value"]} -function info_changeLifeBy__P148169_mk(s) { +function info_changeLifeBy__P174785_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_changeLifeBy__P148169, depth: s.depth + 1, + parent: s, fn: info_changeLifeBy__P174785, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43427,7 +43470,7 @@ function info_changeLifeBy__P148169_mk(s) { -function info_PlayerInfo_changeLifeBy__P148205(s) { +function info_PlayerInfo_changeLifeBy__P174821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43443,10 +43486,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_setLife__P148204_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_setLife__P174820_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = info_PlayerInfo_life__P148203_mk(s); + s.tmp_2 = info_PlayerInfo_life__P174819_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 864; s.pc = 2; return s.tmp_2; case 2: @@ -43461,12 +43504,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_changeLifeBy__P148205.info = {"start":19940,"length":92,"line":661,"column":8,"endLine":663,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"changeLifeBy","argumentNames":["this","value"]} +info_PlayerInfo_changeLifeBy__P174821.info = {"start":19940,"length":92,"line":661,"column":8,"endLine":663,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"changeLifeBy","argumentNames":["this","value"]} -function info_PlayerInfo_changeLifeBy__P148205_mk(s) { +function info_PlayerInfo_changeLifeBy__P174821_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_changeLifeBy__P148205, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_changeLifeBy__P174821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43479,7 +43522,7 @@ function info_PlayerInfo_changeLifeBy__P148205_mk(s) { -function Sprite_destroy__P148043(s) { +function Sprite_destroy__P174659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43496,7 +43539,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -43514,7 +43557,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__P148744_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P175360_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -43524,7 +43567,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P148044_mk(s); + s.tmp_0 = Sprite__destroyCore__P174660_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 463; s.pc = 7; return s.tmp_0; case 7: @@ -43535,12 +43578,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P148043.info = {"start":29472,"length":293,"line":888,"column":4,"endLine":897,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P174659.info = {"start":29472,"length":293,"line":888,"column":4,"endLine":897,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P148043_mk(s) { +function Sprite_destroy__P174659_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P148043, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P174659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43556,7 +43599,7 @@ function Sprite_destroy__P148043_mk(s) { -function effects_ParticleEffect_destroy__P148744(s) { +function effects_ParticleEffect_destroy__P175360(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43574,15 +43617,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C148741_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P148035_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C175357_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P174651_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; s.callLocIdx = 1498; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P148743_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P175359_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -43614,8 +43657,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__P148770_mk(s); - s.tmp_0.arg0 = globals.dissolve___148773; + s.tmp_0 = effects_ImageEffect_applyTo__P175386_mk(s); + s.tmp_0.arg0 = globals.dissolve___175389; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1500; s.pc = 5; return s.tmp_0; case 5: @@ -43624,12 +43667,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P148744.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__P175360.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__P148744_mk(s) { +function effects_ParticleEffect_destroy__P175360_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P148744, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P175360, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43647,7 +43690,7 @@ function effects_ParticleEffect_destroy__P148744_mk(s) { -function inline__P164864(s) { +function inline__P191480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43657,11 +43700,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___164867 = undefined; - s.x___164878 = undefined; - s.y___164884 = undefined; - s.w___164890 = undefined; - s.h___164894 = undefined; + s.i___191483 = undefined; + s.x___191494 = undefined; + s.y___191500 = undefined; + s.w___191506 = undefined; + s.h___191510 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43674,13 +43717,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___164867 = (r0); + s.i___191483 = (r0); case 1: - r0 = (s.i___164867 > 0); + r0 = (s.i___191483 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P148542_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P175158_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -43688,8 +43731,8 @@ switch (step) { s.callLocIdx = 41; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___164878 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P148542_mk(s); + s.x___191494 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P175158_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -43697,56 +43740,56 @@ switch (step) { s.callLocIdx = 42; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___164884 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P148542_mk(s); + s.y___191500 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P175158_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 43; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___164890 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P148542_mk(s); + s.w___191506 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P175158_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 44; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___164894 = (r0); - s.tmp_0 = helpers_imageDrawRect__P147678_mk(s); + s.h___191510 = (r0); + s.tmp_0 = helpers_imageDrawRect__P174294_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___164878; - s.tmp_0.arg2 = s.y___164884; - s.tmp_0.arg3 = s.w___164890; - s.tmp_0.arg4 = s.h___164894; + s.tmp_0.arg1 = s.x___191494; + s.tmp_0.arg2 = s.y___191500; + s.tmp_0.arg3 = s.w___191506; + s.tmp_0.arg4 = s.h___191510; s.tmp_0.arg5 = 0; s.callLocIdx = 45; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___164867 - 1); - s.i___164867 = (r0); + r0 = (s.i___191483 - 1); + s.i___191483 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P164864.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +inline__P191480.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 inline__P164864_mk(s) { +function inline__P191480_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P164864, depth: s.depth + 1, + parent: s, fn: inline__P191480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___164867: undefined, - x___164878: undefined, - y___164884: undefined, - w___164890: undefined, - h___164894: undefined, + i___191483: undefined, + x___191494: undefined, + y___191500: undefined, + w___191506: undefined, + h___191510: undefined, arg0: undefined, arg1: undefined, } } @@ -43755,7 +43798,7 @@ function inline__P164864_mk(s) { -function helpers_imageDrawRect__P147678(s) { +function helpers_imageDrawRect__P174294(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43794,7 +43837,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P147677_mk(s); + s.tmp_0 = helpers_imageDrawLine__P174293_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -43805,7 +43848,7 @@ switch (step) { s.callLocIdx = 143; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P147677_mk(s); + s.tmp_0 = helpers_imageDrawLine__P174293_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -43816,7 +43859,7 @@ switch (step) { s.callLocIdx = 144; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P147677_mk(s); + s.tmp_0 = helpers_imageDrawLine__P174293_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -43829,7 +43872,7 @@ switch (step) { s.callLocIdx = 145; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P147677_mk(s); + s.tmp_0 = helpers_imageDrawLine__P174293_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -43847,12 +43890,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P147678.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P174294.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P147678_mk(s) { +function helpers_imageDrawRect__P174294_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P147678, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P174294, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43868,7 +43911,7 @@ function helpers_imageDrawRect__P147678_mk(s) { -function effects_ImageEffect_applyTo__P148770(s) { +function effects_ImageEffect_applyTo__P175386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43878,14 +43921,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___164974 = undefined; + s.clonedImage___191590 = 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__C148768_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C175384_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -43911,16 +43954,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___164974 = (r0); - s.tmp_0 = effects_ImageEffect_change__P148771_mk(s); + s.clonedImage___191590 = (r0); + s.tmp_0 = effects_ImageEffect_change__P175387_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___164974; + s.tmp_0.arg1 = s.clonedImage___191590; s.callLocIdx = 1519; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P148010_mk(s); + s.tmp_0 = Sprite_setImage__P174626_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___164974; + s.tmp_0.arg1 = s.clonedImage___191590; s.callLocIdx = 1520; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -43929,12 +43972,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P148770.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__P175386.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__P148770_mk(s) { +function effects_ImageEffect_applyTo__P175386_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P148770, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P175386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43942,7 +43985,7 @@ function effects_ImageEffect_applyTo__P148770_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___164974: undefined, + clonedImage___191590: undefined, arg0: undefined, arg1: undefined, } } @@ -43951,7 +43994,7 @@ function effects_ImageEffect_applyTo__P148770_mk(s) { -function effects_ImageEffect_change__P148771(s) { +function effects_ImageEffect_change__P175387(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43967,7 +44010,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C148768_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C175384_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -43988,12 +44031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P148771.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__P175387.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__P148771_mk(s) { +function effects_ImageEffect_change__P175387_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P148771, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P175387, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44004,7 +44047,7 @@ function effects_ImageEffect_change__P148771_mk(s) { -function effects_ParticleEffect_start__P148743(s) { +function effects_ParticleEffect_start__P175359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44014,7 +44057,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___164998 = undefined; + s.src___191614 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44024,7 +44067,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C148741_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C175357_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -44060,9 +44103,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___164998 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P148641_mk(s); - s.tmp_0.arg0 = s.src___164998; + s.src___191614 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P175257_mk(s); + s.tmp_0.arg0 = s.src___191614; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -44087,7 +44130,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___164998).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___191614).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -44095,19 +44138,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P148743.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__P175359.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__P148743_mk(s) { +function effects_ParticleEffect_start__P175359_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P148743, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P175359, 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___164998: undefined, + src___191614: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44119,7 +44162,7 @@ function effects_ParticleEffect_start__P148743_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P148641(s) { +function particles_ParticleSource_setRelativeToCamera__P175257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44135,7 +44178,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -44161,12 +44204,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P148641.info = {"start":6422,"length":173,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} +particles_ParticleSource_setRelativeToCamera__P175257.info = {"start":6422,"length":173,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} -function particles_ParticleSource_setRelativeToCamera__P148641_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P175257_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P148641, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P175257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44181,7 +44224,7 @@ function particles_ParticleSource_setRelativeToCamera__P148641_mk(s) { -function Sprite__destroyCore__P148044(s) { +function Sprite__destroyCore__P174660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44191,29 +44234,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___164767 = undefined; + s.scene___191383 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 464; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___164767 = (r0); + s.scene___191383 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Sprite_destroy__P148043_mk(s); + s.tmp_1 = Sprite_destroy__P174659_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -44223,7 +44266,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.scene___164767.fields["allSprites"]; + r0 = s.scene___191383.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -44235,7 +44278,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.scene___164767.fields["spritesByKind"]; + r0 = s.scene___191383.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -44245,8 +44288,8 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 5; continue; } - s.tmp_5 = sprites_SpriteSet_remove__P148074_mk(s); - r0 = s.scene___164767.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P174690_mk(s); + r0 = s.scene___191383.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -44258,11 +44301,11 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.tmp_0 = PhysicsEngine__C148115_v1_2_mk(s); - r0 = s.scene___164767.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C174731_v1_2_mk(s); + r0 = s.scene___191383.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C148115_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C174731_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.removeSprite; s.pc = 12; return s.tmp_0; case 12: @@ -44286,15 +44329,15 @@ switch (step) { r0 = s.retval; case 7: case 8: - r0 = pxsim_pxtcore_mkAction(1, inline__P164803); + r0 = pxsim_pxtcore_mkAction(1, inline__P191419); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P164809); + r0 = pxsim_pxtcore_mkAction(1, inline__P191425); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P146042_mk(s); - s.tmp_3 = helpers_arrayFilter__P146043_mk(s); - r0 = s.scene___164767.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P172658_mk(s); + s.tmp_3 = helpers_arrayFilter__P172659_mk(s); + r0 = s.scene___191383.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 472; s.pc = 15; return s.tmp_3; @@ -44309,12 +44352,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P148044.info = {"start":29771,"length":693,"line":899,"column":4,"endLine":915,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P174660.info = {"start":29771,"length":693,"line":899,"column":4,"endLine":915,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P148044_mk(s) { +function Sprite__destroyCore__P174660_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P148044, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P174660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44324,7 +44367,7 @@ function Sprite__destroyCore__P148044_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___164767: undefined, + scene___191383: undefined, arg0: undefined, } } @@ -44332,7 +44375,7 @@ function Sprite__destroyCore__P148044_mk(s) { -function inline__P164803(s) { +function inline__P191419(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44354,12 +44397,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P164803.info = {"start":30387,"length":26,"line":913,"column":20,"endLine":913,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P191419.info = {"start":30387,"length":26,"line":913,"column":20,"endLine":913,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P164803_mk(s) { +function inline__P191419_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P164803, depth: s.depth + 1, + parent: s, fn: inline__P191419, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44370,7 +44413,7 @@ function inline__P164803_mk(s) { -function inline__P164809(s) { +function inline__P191425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44402,12 +44445,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P164809.info = {"start":30436,"length":20,"line":914,"column":21,"endLine":914,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P191425.info = {"start":30436,"length":20,"line":914,"column":21,"endLine":914,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P164809_mk(s) { +function inline__P191425_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P164809, depth: s.depth + 1, + parent: s, fn: inline__P191425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44417,7 +44460,7 @@ function inline__P164809_mk(s) { -function PhysicsEngine_removeSprite__P148118(s) { +function PhysicsEngine_removeSprite__P174734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44433,17 +44476,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C148115_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C174731_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P148118.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__P174734.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__P148118_mk(s) { +function PhysicsEngine_removeSprite__P174734_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P148118, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P174734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -44453,7 +44496,7 @@ function PhysicsEngine_removeSprite__P148118_mk(s) { -function sprites_SpriteSet_remove__P148074(s) { +function sprites_SpriteSet_remove__P174690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44463,26 +44506,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___164817 = undefined; + s.i___191433 = 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__C148067_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C174683_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___164817 = (r0); - r0 = (s.i___164817 > -1); + s.i___191433 = (r0); + r0 = (s.i___191433 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P146033_mk(s); + s.tmp_1 = helpers_arraySplice__P172649_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___164817; + s.tmp_1.arg1 = s.i___191433; s.tmp_1.arg2 = 1; s.callLocIdx = 565; s.pc = 4; return s.tmp_1; case 4: @@ -44496,16 +44539,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P148074.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__P174690.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__P148074_mk(s) { +function sprites_SpriteSet_remove__P174690_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P148074, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P174690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___164817: undefined, + i___191433: undefined, arg0: undefined, arg1: undefined, } } @@ -44514,7 +44557,7 @@ function sprites_SpriteSet_remove__P148074_mk(s) { -function Sprite_kind__P148024(s) { +function Sprite_kind__P174640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44529,17 +44572,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P148024.info = {"start":10887,"length":41,"line":393,"column":4,"endLine":395,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P174640.info = {"start":10887,"length":41,"line":393,"column":4,"endLine":395,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P148024_mk(s) { +function Sprite_kind__P174640_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P148024, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P174640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -44548,7 +44591,7 @@ function Sprite_kind__P148024_mk(s) { -function tiles_placeOnTile__P148307(s) { +function tiles_placeOnTile__P174923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44583,7 +44626,7 @@ switch (step) { r0 = s.tmp_3; { step = 4; continue; } case 3: - s.tmp_6 = game_currentScene__P148484_mk(s); + s.tmp_6 = game_currentScene__P175100_mk(s); s.callLocIdx = 1019; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; @@ -44600,7 +44643,7 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_8 = tiles_Location_place__P148254_mk(s); + s.tmp_8 = tiles_Location_place__P174870_mk(s); s.tmp_8.arg0 = s.arg1; s.tmp_8.arg1 = s.arg0; s.callLocIdx = 1020; s.pc = 9; return s.tmp_8; @@ -44611,12 +44654,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_placeOnTile__P148307.info = {"start":18288,"length":168,"line":567,"column":4,"endLine":570,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"placeOnTile","argumentNames":["sprite","loc"]} +tiles_placeOnTile__P174923.info = {"start":18288,"length":168,"line":567,"column":4,"endLine":570,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"placeOnTile","argumentNames":["sprite","loc"]} -function tiles_placeOnTile__P148307_mk(s) { +function tiles_placeOnTile__P174923_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_placeOnTile__P148307, depth: s.depth + 1, + parent: s, fn: tiles_placeOnTile__P174923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44635,7 +44678,7 @@ function tiles_placeOnTile__P148307_mk(s) { -function controller_moveSprite__P147899(s) { +function controller_moveSprite__P174515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44651,8 +44694,8 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller_moveSprite__P147886_mk(s); - s.tmp_1 = controller__player1__P147864_mk(s); + s.tmp_0 = controller_Controller_moveSprite__P174502_mk(s); + s.tmp_1 = controller__player1__P174480_mk(s); s.callLocIdx = 262; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -44667,12 +44710,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_moveSprite__P147899.info = {"start":18919,"length":133,"line":574,"column":4,"endLine":576,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} +controller_moveSprite__P174515.info = {"start":18919,"length":133,"line":574,"column":4,"endLine":576,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} -function controller_moveSprite__P147899_mk(s) { +function controller_moveSprite__P174515_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_moveSprite__P147899, depth: s.depth + 1, + parent: s, fn: controller_moveSprite__P174515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44685,7 +44728,7 @@ function controller_moveSprite__P147899_mk(s) { -function controller_Controller_moveSprite__P147886(s) { +function controller_Controller_moveSprite__P174502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44695,7 +44738,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cp___165070 = undefined; + s.cp___191686 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44704,7 +44747,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -44714,7 +44757,7 @@ switch (step) { { step = 15; continue; } case 1: case 2: - s.tmp_5 = controller_Controller__controlledSprites__P147875_mk(s); + s.tmp_5 = controller_Controller__controlledSprites__P174491_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 223; s.pc = 16; return s.tmp_5; case 16: @@ -44726,7 +44769,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_6 = controller_Controller__controlledSprites__P147876_mk(s); + s.tmp_6 = controller_Controller__controlledSprites__P174492_mk(s); s.tmp_6.arg0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_6.arg1 = r0; @@ -44735,11 +44778,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkAction(1, inline__P165073); + r0 = pxsim_pxtcore_mkAction(1, inline__P191689); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFind__P146044_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P147875_mk(s); + s.tmp_1 = helpers_arrayFind__P172660_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P174491_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 225; s.pc = 19; return s.tmp_2; case 19: @@ -44749,16 +44792,16 @@ switch (step) { s.callLocIdx = 226; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.cp___165070 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cp___165070); + s.cp___191686 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cp___191686); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C147866_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C174482_VT); s.tmp_2 = r0; - s.tmp_3 = controller_ControlledSprite_constructor__P147868_mk(s); + s.tmp_3 = controller_ControlledSprite_constructor__P174484_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; @@ -44766,17 +44809,17 @@ switch (step) { s.callLocIdx = 227; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.cp___165070 = (s.tmp_2); - s.tmp_1 = controller_Controller__controlledSprites__P147875_mk(s); + s.cp___191686 = (s.tmp_2); + s.tmp_1 = controller_Controller__controlledSprites__P174491_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 228; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.cp___165070); + r0 = pxsim_Array__push(s.tmp_0, s.cp___191686); case 5: case 6: - r0 = s.cp___165070.fields["vx"]; + r0 = s.cp___191686.fields["vx"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } @@ -44789,8 +44832,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - s.tmp_2 = Sprite_vx__P147984_mk(s); - r0 = s.cp___165070.fields["s"]; + s.tmp_2 = Sprite_vx__P174600_mk(s); + r0 = s.cp___191686.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 229; s.pc = 22; return s.tmp_2; @@ -44798,7 +44841,7 @@ switch (step) { r0 = s.retval; case 9: case 10: - r0 = s.cp___165070.fields["vy"]; + r0 = s.cp___191686.fields["vy"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } @@ -44811,8 +44854,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = Sprite_vy__P147986_mk(s); - r0 = s.cp___165070.fields["s"]; + s.tmp_2 = Sprite_vy__P174602_mk(s); + r0 = s.cp___191686.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 230; s.pc = 23; return s.tmp_2; @@ -44820,19 +44863,19 @@ switch (step) { r0 = s.retval; case 13: case 14: - r0 = (s.cp___165070).fields["vx"] = (s.arg2); - r0 = (s.cp___165070).fields["vy"] = (s.arg3); + r0 = (s.cp___191686).fields["vx"] = (s.arg2); + r0 = (s.cp___191686).fields["vy"] = (s.arg3); case 15: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller_moveSprite__P147886.info = {"start":10866,"length":608,"line":355,"column":8,"endLine":371,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["this","sprite","vx","vy"]} +controller_Controller_moveSprite__P174502.info = {"start":10866,"length":608,"line":355,"column":8,"endLine":371,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["this","sprite","vx","vy"]} -function controller_Controller_moveSprite__P147886_mk(s) { +function controller_Controller_moveSprite__P174502_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_moveSprite__P147886, depth: s.depth + 1, + parent: s, fn: controller_Controller_moveSprite__P174502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44841,7 +44884,7 @@ function controller_Controller_moveSprite__P147886_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - cp___165070: undefined, + cp___191686: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44852,7 +44895,7 @@ function controller_Controller_moveSprite__P147886_mk(s) { -function inline__P165073(s) { +function inline__P191689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44875,12 +44918,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P165073.info = {"start":11086,"length":26,"line":358,"column":50,"endLine":358,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} +inline__P191689.info = {"start":11086,"length":26,"line":358,"column":50,"endLine":358,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} -function inline__P165073_mk(s) { +function inline__P191689_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P165073, depth: s.depth + 1, + parent: s, fn: inline__P191689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44891,7 +44934,7 @@ function inline__P165073_mk(s) { -function controller_ControlledSprite_constructor__P147868(s) { +function controller_ControlledSprite_constructor__P174484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44909,7 +44952,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ControlledSprite__C147866_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ControlledSprite__C174482_VT)) failedCast(r0); r0 = (s.arg0).fields["s"] = (s.arg1); r0 = (s.arg0).fields["vx"] = (s.arg2); r0 = (s.arg0).fields["vy"] = (s.arg3); @@ -44917,12 +44960,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_ControlledSprite_constructor__P147868.info = {"start":7271,"length":117,"line":227,"column":8,"endLine":231,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} +controller_ControlledSprite_constructor__P174484.info = {"start":7271,"length":117,"line":227,"column":8,"endLine":231,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} -function controller_ControlledSprite_constructor__P147868_mk(s) { +function controller_ControlledSprite_constructor__P174484_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ControlledSprite_constructor__P147868, depth: s.depth + 1, + parent: s, fn: controller_ControlledSprite_constructor__P174484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -44934,7 +44977,7 @@ function controller_ControlledSprite_constructor__P147868_mk(s) { -function Sprite_setKind__P148025(s) { +function Sprite_setKind__P174641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44944,15 +44987,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___165128 = undefined; - s.overlapMap___165157 = undefined; + s.spritesByKind___191744 = undefined; + s.overlapMap___191773 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -44971,12 +45014,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P148484_mk(s); + s.tmp_3 = game_currentScene__P175100_mk(s); s.callLocIdx = 370; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___165128 = (r0); + s.spritesByKind___191744 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -44988,16 +45031,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___165128, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___191744, 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__P148074_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P174690_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___165128, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___191744, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 371; s.pc = 17; return s.tmp_4; @@ -45009,7 +45052,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___165128, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___191744, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -45017,18 +45060,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__C148067_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C174683_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P148069_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P174685_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 372; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___165128, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___191744, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P148072_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___165128, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P174688_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___191744, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 373; s.pc = 19; return s.tmp_0; @@ -45036,13 +45079,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 374; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___165157 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___165157, s.arg1); + s.overlapMap___191773 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___191773, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -45050,7 +45093,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___165157; + s.tmp_3 = r0 = s.overlapMap___191773; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -45058,7 +45101,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___165157, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___191773, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -45067,12 +45110,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P148025.info = {"start":11155,"length":663,"line":404,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P174641.info = {"start":11155,"length":663,"line":404,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P148025_mk(s) { +function Sprite_setKind__P174641_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P148025, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P174641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45080,8 +45123,8 @@ function Sprite_setKind__P148025_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___165128: undefined, - overlapMap___165157: undefined, + spritesByKind___191744: undefined, + overlapMap___191773: undefined, arg0: undefined, arg1: undefined, } } @@ -45090,7 +45133,7 @@ function Sprite_setKind__P148025_mk(s) { -function sprites_SpriteSet_add__P148072(s) { +function sprites_SpriteSet_add__P174688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45106,7 +45149,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C148067_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C174683_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -45137,12 +45180,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P148072.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__P174688.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__P148072_mk(s) { +function sprites_SpriteSet_add__P174688_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P148072, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P174688, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45158,7 +45201,7 @@ function sprites_SpriteSet_add__P148072_mk(s) { -function sprites_SpriteSet_contains__P148075(s) { +function sprites_SpriteSet_contains__P174691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45174,7 +45217,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C148067_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C174683_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -45183,12 +45226,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P148075.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__P174691.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__P148075_mk(s) { +function sprites_SpriteSet_contains__P174691_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P148075, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P174691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45200,7 +45243,7 @@ function sprites_SpriteSet_contains__P148075_mk(s) { -function sprites_SpriteSet_constructor__P148069(s) { +function sprites_SpriteSet_constructor__P174685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45215,7 +45258,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C148067_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C174683_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -45224,12 +45267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P148069.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__P174685.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__P148069_mk(s) { +function sprites_SpriteSet_constructor__P174685_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P148069, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P174685, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45240,7 +45283,7 @@ function sprites_SpriteSet_constructor__P148069_mk(s) { -function helpers_getTileByName__P148815(s) { +function helpers_getTileByName__P175431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45254,7 +45297,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers__getFactoryInstance__P148810_mk(s); + s.tmp_0 = helpers__getFactoryInstance__P175426_mk(s); s.tmp_0.arg0 = "tile"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1550; s.pc = 1; return s.tmp_0; @@ -45263,12 +45306,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_getTileByName__P148815.info = {"start":2778,"length":101,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTileByName","argumentNames":["name"]} +helpers_getTileByName__P175431.info = {"start":2778,"length":101,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTileByName","argumentNames":["name"]} -function helpers_getTileByName__P148815_mk(s) { +function helpers_getTileByName__P175431_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_getTileByName__P148815, depth: s.depth + 1, + parent: s, fn: helpers_getTileByName__P175431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -45278,7 +45321,7 @@ function helpers_getTileByName__P148815_mk(s) { -function assets_tile__P148806(s) { +function assets_tile__P175422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45297,12 +45340,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -assets_tile__P148806.info = {"start":1022,"length":70,"line":29,"column":4,"endLine":29,"endColumn":74,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tile","argumentNames":["lits","args"]} +assets_tile__P175422.info = {"start":1022,"length":70,"line":29,"column":4,"endLine":29,"endColumn":74,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tile","argumentNames":["lits","args"]} -function assets_tile__P148806_mk(s) { +function assets_tile__P175422_mk(s) { checkStack(s.depth); return { - parent: s, fn: assets_tile__P148806, depth: s.depth + 1, + parent: s, fn: assets_tile__P175422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -45312,7 +45355,7 @@ function assets_tile__P148806_mk(s) { -function scene_onOverlapTile__P148064(s) { +function scene_onOverlapTile__P174680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45322,7 +45365,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tileOverlapHandlers___165220 = undefined; + s.tileOverlapHandlers___191836 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -45358,15 +45401,15 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_5 = game_currentScene__P148484_mk(s); + s.tmp_5 = game_currentScene__P175100_mk(s); s.callLocIdx = 559; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___165220 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_TileOverlapHandler__C148348_VT); + s.tileOverlapHandlers___191836 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_TileOverlapHandler__C174964_VT); s.tmp_0 = r0; - s.tmp_1 = scene_TileOverlapHandler_constructor__P148349_mk(s); + s.tmp_1 = scene_TileOverlapHandler_constructor__P174965_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -45374,18 +45417,18 @@ switch (step) { s.callLocIdx = 560; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.tileOverlapHandlers___165220, s.tmp_0); + r0 = pxsim_Array__push(s.tileOverlapHandlers___191836, s.tmp_0); case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -scene_onOverlapTile__P148064.info = {"start":2785,"length":432,"line":89,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlapTile","argumentNames":["kind","tile","handler"]} +scene_onOverlapTile__P174680.info = {"start":2785,"length":432,"line":89,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlapTile","argumentNames":["kind","tile","handler"]} -function scene_onOverlapTile__P148064_mk(s) { +function scene_onOverlapTile__P174680_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_onOverlapTile__P148064, depth: s.depth + 1, + parent: s, fn: scene_onOverlapTile__P174680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45393,7 +45436,7 @@ function scene_onOverlapTile__P148064_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tileOverlapHandlers___165220: undefined, + tileOverlapHandlers___191836: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -45403,7 +45446,7 @@ function scene_onOverlapTile__P148064_mk(s) { -function scene_TileOverlapHandler_constructor__P148349(s) { +function scene_TileOverlapHandler_constructor__P174965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45421,7 +45464,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_TileOverlapHandler__C148348_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_TileOverlapHandler__C174964_VT)) failedCast(r0); r0 = (s.arg0).fields["spriteKind"] = (s.arg1); r0 = (s.arg0).fields["tileKind"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -45429,12 +45472,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_TileOverlapHandler_constructor__P148349.info = {"start":1075,"length":180,"line":37,"column":8,"endLine":41,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","spriteKind","tileKind","handler"]} +scene_TileOverlapHandler_constructor__P174965.info = {"start":1075,"length":180,"line":37,"column":8,"endLine":41,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","spriteKind","tileKind","handler"]} -function scene_TileOverlapHandler_constructor__P148349_mk(s) { +function scene_TileOverlapHandler_constructor__P174965_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_TileOverlapHandler_constructor__P148349, depth: s.depth + 1, + parent: s, fn: scene_TileOverlapHandler_constructor__P174965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -45446,7 +45489,7 @@ function scene_TileOverlapHandler_constructor__P148349_mk(s) { -function tiles_setWallAt__P148302(s) { +function tiles_setWallAt__P174918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45456,18 +45499,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___165238 = undefined; - s.scale___165248 = undefined; + s.scene___191854 = undefined; + s.scale___191864 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1005; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___165238 = (r0); + s.scene___191854 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -45477,7 +45520,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___165238.fields["tileMap"]; + r0 = s.scene___191854.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -45491,28 +45534,28 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = s.scene___165238.fields["tileMap"]; + r0 = s.scene___191854.fields["tileMap"]; s.tmp_5 = r0; r0 = s.tmp_5.fields["_scale"]; - s.scale___165248 = (r0); - s.tmp_0 = tiles_TileMap_setWallAt__P148292_mk(s); - r0 = s.scene___165238.fields["tileMap"]; + s.scale___191864 = (r0); + s.tmp_0 = tiles_TileMap_setWallAt__P174908_mk(s); + r0 = s.scene___191854.fields["tileMap"]; s.tmp_0.arg0 = r0; - s.tmp_2 = tiles_Location_x__P148251_mk(s); + s.tmp_2 = tiles_Location_x__P174867_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1007; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 >> s.scale___165248); + r0 = (s.tmp_1 >> s.scale___191864); s.tmp_0.arg1 = r0; - s.tmp_4 = tiles_Location_y__P148252_mk(s); + s.tmp_4 = tiles_Location_y__P174868_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1008; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 >> s.scale___165248); + r0 = (s.tmp_3 >> s.scale___191864); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg1; s.callLocIdx = 1009; s.pc = 7; return s.tmp_0; @@ -45523,12 +45566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_setWallAt__P148302.info = {"start":15773,"length":271,"line":500,"column":4,"endLine":505,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setWallAt","argumentNames":["loc","on"]} +tiles_setWallAt__P174918.info = {"start":15773,"length":271,"line":500,"column":4,"endLine":505,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setWallAt","argumentNames":["loc","on"]} -function tiles_setWallAt__P148302_mk(s) { +function tiles_setWallAt__P174918_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_setWallAt__P148302, depth: s.depth + 1, + parent: s, fn: tiles_setWallAt__P174918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45536,8 +45579,8 @@ function tiles_setWallAt__P148302_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___165238: undefined, - scale___165248: undefined, + scene___191854: undefined, + scale___191864: undefined, arg0: undefined, arg1: undefined, } } @@ -45546,7 +45589,7 @@ function tiles_setWallAt__P148302_mk(s) { -function tiles_TileMap_setWallAt__P148292(s) { +function tiles_TileMap_setWallAt__P174908(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45564,8 +45607,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); - s.tmp_3 = tiles_TileMapData_isOutsideMap__P148274_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); + s.tmp_3 = tiles_TileMapData_isOutsideMap__P174890_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg1; @@ -45580,7 +45623,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = tiles_TileMapData_setWall__P148272_mk(s); + s.tmp_4 = tiles_TileMapData_setWall__P174888_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg1; @@ -45595,12 +45638,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_setWallAt__P148292.info = {"start":8262,"length":173,"line":298,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setWallAt","argumentNames":["this","col","row","on"]} +tiles_TileMap_setWallAt__P174908.info = {"start":8262,"length":173,"line":298,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setWallAt","argumentNames":["this","col","row","on"]} -function tiles_TileMap_setWallAt__P148292_mk(s) { +function tiles_TileMap_setWallAt__P174908_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setWallAt__P148292, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setWallAt__P174908, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45617,7 +45660,7 @@ function tiles_TileMap_setWallAt__P148292_mk(s) { -function tiles_TileMapData_setWall__P148272(s) { +function tiles_TileMapData_setWall__P174888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45635,7 +45678,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg3); if (!r0) { step = 1; continue; } r0 = 2; @@ -45652,12 +45695,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_setWall__P148272.info = {"start":5326,"length":127,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setWall","argumentNames":["this","col","row","on"]} +tiles_TileMapData_setWall__P174888.info = {"start":5326,"length":127,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setWall","argumentNames":["this","col","row","on"]} -function tiles_TileMapData_setWall__P148272_mk(s) { +function tiles_TileMapData_setWall__P174888_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_setWall__P148272, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_setWall__P174888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45671,7 +45714,7 @@ function tiles_TileMapData_setWall__P148272_mk(s) { -function sprites_readDataSprite__P149661(s) { +function sprites_readDataSprite__P176277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45681,7 +45724,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___165302 = undefined; + s.d___191918 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -45708,30 +45751,30 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_4 = Sprite_data__P147995_mk(s); + s.tmp_4 = Sprite_data__P174611_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1649; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; - s.d___165302 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.d___165302, s.arg1); + s.d___191918 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.d___191918, s.arg1); case 5: return leave(s, r0) default: oops() } } } -sprites_readDataSprite__P149661.info = {"start":3460,"length":189,"line":112,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"readDataSprite","argumentNames":["sprite","name"]} +sprites_readDataSprite__P176277.info = {"start":3460,"length":189,"line":112,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"readDataSprite","argumentNames":["sprite","name"]} -function sprites_readDataSprite__P149661_mk(s) { +function sprites_readDataSprite__P176277_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_readDataSprite__P149661, depth: s.depth + 1, + parent: s, fn: sprites_readDataSprite__P176277, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___165302: undefined, + d___191918: undefined, arg0: undefined, arg1: undefined, } } @@ -45740,7 +45783,7 @@ function sprites_readDataSprite__P149661_mk(s) { -function sprites_readDataString__P149657(s) { +function sprites_readDataString__P176273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45750,7 +45793,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___165314 = undefined; + s.d___191930 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -45777,30 +45820,30 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_4 = Sprite_data__P147995_mk(s); + s.tmp_4 = Sprite_data__P174611_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1647; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; - s.d___165314 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.d___165314, s.arg1); + s.d___191930 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.d___191930, s.arg1); case 5: return leave(s, r0) default: oops() } } } -sprites_readDataString__P149657.info = {"start":1867,"length":182,"line":60,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"readDataString","argumentNames":["sprite","name"]} +sprites_readDataString__P176273.info = {"start":1867,"length":182,"line":60,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"readDataString","argumentNames":["sprite","name"]} -function sprites_readDataString__P149657_mk(s) { +function sprites_readDataString__P176273_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_readDataString__P149657, depth: s.depth + 1, + parent: s, fn: sprites_readDataString__P176273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___165314: undefined, + d___191930: undefined, arg0: undefined, arg1: undefined, } } @@ -45809,7 +45852,7 @@ function sprites_readDataString__P149657_mk(s) { -function game_splash__P148478(s) { +function game_splash__P175094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45819,25 +45862,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dialog___165329 = undefined; - s.s___165342 = undefined; - s.pressed___165349 = undefined; - s.done___165350 = undefined; + s.dialog___191945 = undefined; + s.s___191958 = undefined; + s.pressed___191965 = undefined; + s.done___191966 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = controller__setUserEventsEnabled__P147901_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P174517_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 1148; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_pushScene__P148488_mk(s); + s.tmp_0 = game_pushScene__P175104_mk(s); s.callLocIdx = 1149; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_1 = game_currentScene__P148484_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 1150; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -45847,7 +45890,7 @@ switch (step) { r0 = (s.tmp_3 | 2); s.tmp_2 = r0; r0 = (s.tmp_0).fields["flags"] = (s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(game_SplashDialog__C148457_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_SplashDialog__C175073_VT); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } @@ -45858,67 +45901,67 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = game_SplashDialog_constructor__P148464_mk(s); + s.tmp_2 = game_SplashDialog_constructor__P175080_mk(s); s.tmp_2.arg0 = s.tmp_0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = s.tmp_1; s.callLocIdx = 1151; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.dialog___165329 = (s.tmp_0); - s.tmp_0 = game_SplashDialog__C148457_v1_2_mk(s); - s.tmp_0.arg0 = s.dialog___165329; + s.dialog___191945 = (s.tmp_0); + s.tmp_0 = game_SplashDialog__C175073_v1_2_mk(s); + s.tmp_0.arg0 = s.dialog___191945; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C148457_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C175073_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setText; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } - s.tmp_0 = game_SplashDialog_setSubtext__P148466_mk(s); - s.tmp_0.arg0 = s.dialog___165329; + s.tmp_0 = game_SplashDialog_setSubtext__P175082_mk(s); + s.tmp_0.arg0 = s.dialog___191945; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1152; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 3: case 4: - s.tmp_0 = sprites_create__P147921_mk(s); - r0 = s.dialog___165329.fields["image"]; + s.tmp_0 = sprites_create__P174537_mk(s); + r0 = s.dialog___191945.fields["image"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = -1; s.callLocIdx = 1153; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.s___165342 = (r0); + s.s___191958 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pressed___165349 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pressed___165349, true); + s.pressed___191965 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pressed___191965, true); r0 = pxsim_pxtrt.mklocRef(); - s.done___165350 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.done___165350, false); - r0 = pxsim_pxtcore_mkAction(3, inline__P165352); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___165329); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___165349); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___165350); - s.tmp_1 = game_onUpdate__P148495_mk(s); + s.done___191966 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.done___191966, false); + r0 = pxsim_pxtcore_mkAction(3, inline__P191968); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___191945); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___191965); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___191966); + s.tmp_1 = game_onUpdate__P175111_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1156; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P165375); + r0 = pxsim_pxtcore_mkAction(1, inline__P191991); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___165350); - s.tmp_1 = pauseUntil__P146293_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___191966); + s.tmp_1 = pauseUntil__P172909_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1157; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - s.tmp_0 = controller__setUserEventsEnabled__P147901_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P174517_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1158; s.pc = 14; return s.tmp_0; case 14: @@ -45927,21 +45970,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_splash__P148478.info = {"start":19679,"length":980,"line":626,"column":4,"endLine":655,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} +game_splash__P175094.info = {"start":19679,"length":980,"line":626,"column":4,"endLine":655,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} -function game_splash__P148478_mk(s) { +function game_splash__P175094_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash__P148478, depth: s.depth + 1, + parent: s, fn: game_splash__P175094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - dialog___165329: undefined, - s___165342: undefined, - pressed___165349: undefined, - done___165350: undefined, + dialog___191945: undefined, + s___191958: undefined, + pressed___191965: undefined, + done___191966: undefined, arg0: undefined, arg1: undefined, } } @@ -45950,7 +45993,7 @@ function game_splash__P148478_mk(s) { -function inline__P165352(s) { +function inline__P191968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45960,23 +46003,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentState___165355 = undefined; - s.tmp_0 = game_BaseDialog__C148429_v0_1_mk(s); + s.currentState___191971 = undefined; + s.tmp_0 = game_BaseDialog__C175045_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C148429_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C175045_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = controller_Button__C147850_v0_1_mk(s); - s.tmp_0.arg0 = globals.A___147824; - if (!checkSubtype(s.tmp_0.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = controller_Button__C174466_v0_1_mk(s); + s.tmp_0.arg0 = globals.A___174440; + if (!checkSubtype(s.tmp_0.arg0, controller_Button__C174466_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.isPressed; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.currentState___165355 = (r0); - s.tmp_0 = r0 = s.currentState___165355; + s.currentState___191971 = (r0); + s.tmp_0 = r0 = s.currentState___191971; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; @@ -45993,12 +46036,12 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } r0 = pxsim_pxtrt_stlocRef(s.caps[1], true); - s.tmp_0 = scene_setBackgroundImage__P148411_mk(s); + s.tmp_0 = scene_setBackgroundImage__P175027_mk(s); s.tmp_0.arg0 = null; s.callLocIdx = 1154; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = game_popScene__P148489_mk(s); + s.tmp_0 = game_popScene__P175105_mk(s); s.callLocIdx = 1155; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; @@ -46012,7 +46055,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.currentState___165355); + r0 = pxsim_numops_toBoolDecr(s.currentState___191971); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 5: @@ -46028,25 +46071,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P165352.info = {"start":20161,"length":410,"line":639,"column":22,"endLine":651,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +inline__P191968.info = {"start":20161,"length":410,"line":639,"column":22,"endLine":651,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function inline__P165352_mk(s) { +function inline__P191968_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P165352, depth: s.depth + 1, + parent: s, fn: inline__P191968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - currentState___165355: undefined, + currentState___191971: undefined, } } -function inline__P165375(s) { +function inline__P191991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46060,12 +46103,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P165375.info = {"start":20593,"length":10,"line":653,"column":19,"endLine":653,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +inline__P191991.info = {"start":20593,"length":10,"line":653,"column":19,"endLine":653,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function inline__P165375_mk(s) { +function inline__P191991_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P165375, depth: s.depth + 1, + parent: s, fn: inline__P191991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -46073,7 +46116,7 @@ function inline__P165375_mk(s) { -function game_SplashDialog_setSubtext__P148466(s) { +function game_SplashDialog_setSubtext__P175082(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46089,9 +46132,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C148457_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C175073_VT)) failedCast(r0); r0 = (s.arg0).fields["subtext"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P150451_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P177067_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1126; s.pc = 1; return s.tmp_0; case 1: @@ -46115,7 +46158,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -46130,12 +46173,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setSubtext__P148466.info = {"start":9147,"length":200,"line":287,"column":8,"endLine":291,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} +game_SplashDialog_setSubtext__P175082.info = {"start":9147,"length":200,"line":287,"column":8,"endLine":291,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} -function game_SplashDialog_setSubtext__P148466_mk(s) { +function game_SplashDialog_setSubtext__P175082_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setSubtext__P148466, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setSubtext__P175082, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46155,7 +46198,7 @@ function game_SplashDialog_setSubtext__P148466_mk(s) { -function game_SplashDialog_updateFont__P150451(s) { +function game_SplashDialog_updateFont__P177067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46170,7 +46213,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C148457_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C175073_VT)) failedCast(r0); r0 = s.arg0.fields["text"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -46193,9 +46236,9 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = game_BaseDialog_setFont__P150448_mk(s); + s.tmp_4 = game_BaseDialog_setFont__P177064_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_5 = image_getFontForText__P147694_mk(s); + s.tmp_5 = image_getFontForText__P174310_mk(s); if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 7); pxsim_String__stringConv(s.tmp_1); @@ -46227,12 +46270,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_updateFont__P150451.info = {"start":8756,"length":122,"line":275,"column":8,"endLine":277,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} +game_SplashDialog_updateFont__P177067.info = {"start":8756,"length":122,"line":275,"column":8,"endLine":277,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} -function game_SplashDialog_updateFont__P150451_mk(s) { +function game_SplashDialog_updateFont__P177067_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_updateFont__P150451, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_updateFont__P177067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46249,7 +46292,7 @@ function game_SplashDialog_updateFont__P150451_mk(s) { -function game_BaseDialog_setFont__P150448(s) { +function game_BaseDialog_setFont__P177064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46265,18 +46308,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = (s.arg0).fields["font"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setFont__P150448.info = {"start":5393,"length":77,"line":177,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} +game_BaseDialog_setFont__P177064.info = {"start":5393,"length":77,"line":177,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} -function game_BaseDialog_setFont__P150448_mk(s) { +function game_BaseDialog_setFont__P177064_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setFont__P150448, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setFont__P177064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -46286,7 +46329,7 @@ function game_BaseDialog_setFont__P150448_mk(s) { -function game_SplashDialog_setText__P148465(s) { +function game_SplashDialog_setText__P175081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46302,9 +46345,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C148457_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C175073_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P150451_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P177067_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1124; s.pc = 1; return s.tmp_0; case 1: @@ -46329,7 +46372,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -46345,12 +46388,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setText__P148465.info = {"start":8888,"length":249,"line":279,"column":8,"endLine":285,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} +game_SplashDialog_setText__P175081.info = {"start":8888,"length":249,"line":279,"column":8,"endLine":285,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} -function game_SplashDialog_setText__P148465_mk(s) { +function game_SplashDialog_setText__P175081_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setText__P148465, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setText__P175081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46370,7 +46413,7 @@ function game_SplashDialog_setText__P148465_mk(s) { -function game_SplashDialog_constructor__P148464(s) { +function game_SplashDialog_constructor__P175080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46387,12 +46430,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C148457_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_constructor__P148441_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C175073_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_constructor__P175057_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = game_defaultSplashFrame__P150454_mk(s); + s.tmp_1 = game_defaultSplashFrame__P177070_mk(s); s.callLocIdx = 1120; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -46409,12 +46452,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_constructor__P148464.info = {"start":8536,"length":210,"line":268,"column":8,"endLine":273,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} +game_SplashDialog_constructor__P175080.info = {"start":8536,"length":210,"line":268,"column":8,"endLine":273,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} -function game_SplashDialog_constructor__P148464_mk(s) { +function game_SplashDialog_constructor__P175080_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_constructor__P148464, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_constructor__P175080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46427,7 +46470,7 @@ function game_SplashDialog_constructor__P148464_mk(s) { -function game_BaseDialog_update__P148442(s) { +function game_BaseDialog_update__P175058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46442,20 +46485,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P150442_mk(s); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P177058_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1094; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_BaseDialog__C148429_v2_1_mk(s); + s.tmp_0 = game_BaseDialog__C175045_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C148429_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C175045_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawCursorRow__P148445_mk(s); + s.tmp_0 = game_BaseDialog_drawCursorRow__P175061_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1095; s.pc = 3; return s.tmp_0; case 3: @@ -46464,12 +46507,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_update__P148442.info = {"start":1570,"length":121,"line":61,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_BaseDialog_update__P175058.info = {"start":1570,"length":121,"line":61,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_BaseDialog_update__P148442_mk(s) { +function game_BaseDialog_update__P175058_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_update__P148442, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_update__P175058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -46479,7 +46522,7 @@ function game_BaseDialog_update__P148442_mk(s) { -function game_BaseDialog_drawTextCore__P148444(s) { +function game_BaseDialog_drawTextCore__P175060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46494,17 +46537,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawTextCore__P148444.info = {"start":1788,"length":65,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_BaseDialog_drawTextCore__P175060.info = {"start":1788,"length":65,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_BaseDialog_drawTextCore__P148444_mk(s) { +function game_BaseDialog_drawTextCore__P175060_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawTextCore__P148444, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawTextCore__P175060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -46513,7 +46556,7 @@ function game_BaseDialog_drawTextCore__P148444_mk(s) { -function controller__setUserEventsEnabled__P147901(s) { +function controller__setUserEventsEnabled__P174517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46527,17 +46570,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___150281 = (s.arg0); + globals._userEventsEnabled___176897 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P147901.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} +controller__setUserEventsEnabled__P174517.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -function controller__setUserEventsEnabled__P147901_mk(s) { +function controller__setUserEventsEnabled__P174517_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P147901, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P174517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -46546,7 +46589,7 @@ function controller__setUserEventsEnabled__P147901_mk(s) { -function game_setDialogCursor__P148475(s) { +function game_setDialogCursor__P175091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46560,17 +46603,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.dialogCursor___150436 = (s.arg0); + globals.dialogCursor___177052 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setDialogCursor__P148475.info = {"start":18810,"length":85,"line":597,"column":4,"endLine":599,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setDialogCursor","argumentNames":["cursor"]} +game_setDialogCursor__P175091.info = {"start":18810,"length":85,"line":597,"column":4,"endLine":599,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setDialogCursor","argumentNames":["cursor"]} -function game_setDialogCursor__P148475_mk(s) { +function game_setDialogCursor__P175091_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setDialogCursor__P148475, depth: s.depth + 1, + parent: s, fn: game_setDialogCursor__P175091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -46579,7 +46622,7 @@ function game_setDialogCursor__P148475_mk(s) { -function tiles_setTileAt__P148301(s) { +function tiles_setTileAt__P174917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46589,19 +46632,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___165479 = undefined; - s.scale___165492 = undefined; - s.index___165496 = undefined; + s.scene___192095 = undefined; + s.scale___192108 = undefined; + s.index___192112 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 999; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.scene___165479 = (r0); + s.scene___192095 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -46622,7 +46665,7 @@ switch (step) { r0 = s.tmp_3; { step = 4; continue; } case 3: - r0 = s.scene___165479.fields["tileMap"]; + r0 = s.scene___192095.fields["tileMap"]; s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); s.tmp_4 = r0; @@ -46636,38 +46679,38 @@ switch (step) { { step = 7; continue; } case 5: case 6: - r0 = s.scene___165479.fields["tileMap"]; + r0 = s.scene___192095.fields["tileMap"]; s.tmp_7 = r0; r0 = s.tmp_7.fields["_scale"]; - s.scale___165492 = (r0); - s.tmp_0 = tiles_TileMap_getImageType__P148291_mk(s); - r0 = s.scene___165479.fields["tileMap"]; + s.scale___192108 = (r0); + s.tmp_0 = tiles_TileMap_getImageType__P174907_mk(s); + r0 = s.scene___192095.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1001; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.index___165496 = (r0); - s.tmp_0 = tiles_TileMap_setTileAt__P148290_mk(s); - r0 = s.scene___165479.fields["tileMap"]; + s.index___192112 = (r0); + s.tmp_0 = tiles_TileMap_setTileAt__P174906_mk(s); + r0 = s.scene___192095.fields["tileMap"]; s.tmp_0.arg0 = r0; - s.tmp_2 = tiles_Location_x__P148251_mk(s); + s.tmp_2 = tiles_Location_x__P174867_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1002; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 >> s.scale___165492); + r0 = (s.tmp_1 >> s.scale___192108); s.tmp_0.arg1 = r0; - s.tmp_4 = tiles_Location_y__P148252_mk(s); + s.tmp_4 = tiles_Location_y__P174868_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1003; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 >> s.scale___165492); + r0 = (s.tmp_3 >> s.scale___192108); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.index___165496; + s.tmp_0.arg3 = s.index___192112; s.callLocIdx = 1004; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; @@ -46676,12 +46719,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_setTileAt__P148301.info = {"start":15114,"length":339,"line":483,"column":4,"endLine":489,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["loc","tile"]} +tiles_setTileAt__P174917.info = {"start":15114,"length":339,"line":483,"column":4,"endLine":489,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["loc","tile"]} -function tiles_setTileAt__P148301_mk(s) { +function tiles_setTileAt__P174917_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_setTileAt__P148301, depth: s.depth + 1, + parent: s, fn: tiles_setTileAt__P174917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46691,9 +46734,9 @@ function tiles_setTileAt__P148301_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___165479: undefined, - scale___165492: undefined, - index___165496: undefined, + scene___192095: undefined, + scale___192108: undefined, + index___192112: undefined, arg0: undefined, arg1: undefined, } } @@ -46702,7 +46745,7 @@ function tiles_setTileAt__P148301_mk(s) { -function tiles_TileMap_setTileAt__P148290(s) { +function tiles_TileMap_setTileAt__P174906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46720,8 +46763,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); - s.tmp_3 = tiles_TileMapData_isOutsideMap__P148274_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); + s.tmp_3 = tiles_TileMapData_isOutsideMap__P174890_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg1; @@ -46739,7 +46782,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tiles_TileMap_isInvalidIndex__P150411_mk(s); + s.tmp_6 = tiles_TileMap_isInvalidIndex__P177027_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.arg3; s.callLocIdx = 940; s.pc = 6; return s.tmp_6; @@ -46754,7 +46797,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 3; continue; } - s.tmp_8 = tiles_TileMapData_setTile__P148269_mk(s); + s.tmp_8 = tiles_TileMapData_setTile__P174885_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -46769,12 +46812,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_setTileAt__P148290.info = {"start":7551,"length":209,"line":278,"column":8,"endLine":281,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} +tiles_TileMap_setTileAt__P174906.info = {"start":7551,"length":209,"line":278,"column":8,"endLine":281,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} -function tiles_TileMap_setTileAt__P148290_mk(s) { +function tiles_TileMap_setTileAt__P174906_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setTileAt__P148290, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setTileAt__P174906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46795,7 +46838,7 @@ function tiles_TileMap_setTileAt__P148290_mk(s) { -function tiles_TileMapData_setTile__P148269(s) { +function tiles_TileMapData_setTile__P174885(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46813,8 +46856,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P148274_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P174890_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -46861,12 +46904,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_setTile__P148269.info = {"start":4207,"length":315,"line":158,"column":8,"endLine":166,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} +tiles_TileMapData_setTile__P174885.info = {"start":4207,"length":315,"line":158,"column":8,"endLine":166,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} -function tiles_TileMapData_setTile__P148269_mk(s) { +function tiles_TileMapData_setTile__P174885_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_setTile__P148269, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_setTile__P174885, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46885,7 +46928,7 @@ function tiles_TileMapData_setTile__P148269_mk(s) { -function music_Melody_play__P147542(s) { +function music_Melody_play__P174158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46901,8 +46944,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C147535_VT)) failedCast(r0); - s.tmp_0 = music_Melody_playCore__P150167_mk(s); + if (!checkSubtype(r0, music_Melody__C174151_VT)) failedCast(r0); + s.tmp_0 = music_Melody_playCore__P176783_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = false; @@ -46913,12 +46956,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_play__P147542.info = {"start":9239,"length":71,"line":285,"column":8,"endLine":287,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_Melody_play__P174158.info = {"start":9239,"length":71,"line":285,"column":8,"endLine":287,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_Melody_play__P147542_mk(s) { +function music_Melody_play__P174158_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_play__P147542, depth: s.depth + 1, + parent: s, fn: music_Melody_play__P174158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -46929,7 +46972,7 @@ function music_Melody_play__P147542_mk(s) { -function music_Melody_playCore__P150167(s) { +function music_Melody_playCore__P176783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46939,7 +46982,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___165580 = undefined; + s.p___192196 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -46947,31 +46990,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C147535_VT)) failedCast(r0); - s.tmp_0 = music_Melody_stop__P147540_mk(s); + if (!checkSubtype(r0, music_Melody__C174151_VT)) failedCast(r0); + s.tmp_0 = music_Melody_stop__P174156_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 92; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C147545_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C174161_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayer_constructor__P147548_mk(s); + s.tmp_1 = music_MelodyPlayer_constructor__P174164_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 93; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["_player"] = (s.tmp_0); - s.p___165580 = (s.tmp_0); - s.tmp_0 = music_Melody_registerMelody__P150165_mk(s); + s.p___192196 = (s.tmp_0); + s.tmp_0 = music_Melody_registerMelody__P176781_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 94; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(4, inline__P165589); + r0 = pxsim_pxtcore_mkAction(4, inline__P192205); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___165580); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___192196); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg2); r0 = pxsim.control.runInParallel(s.tmp_0); @@ -46979,16 +47022,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playCore__P150167.info = {"start":7682,"length":815,"line":242,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} +music_Melody_playCore__P176783.info = {"start":7682,"length":815,"line":242,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} -function music_Melody_playCore__P150167_mk(s) { +function music_Melody_playCore__P176783_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playCore__P150167, depth: s.depth + 1, + parent: s, fn: music_Melody_playCore__P176783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___165580: undefined, + p___192196: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -46998,7 +47041,7 @@ function music_Melody_playCore__P150167_mk(s) { -function inline__P165589(s) { +function inline__P192205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47015,7 +47058,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_2 = music_MelodyPlayer_play__P147550_mk(s); + s.tmp_2 = music_MelodyPlayer_play__P174166_mk(s); s.tmp_2.arg0 = s.caps[1]; s.tmp_2.arg1 = s.caps[2]; s.callLocIdx = 95; s.pc = 7; return s.tmp_2; @@ -47033,7 +47076,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_4 = music_Melody_unregisterMelody__P150166_mk(s); + s.tmp_4 = music_Melody_unregisterMelody__P176782_mk(s); s.tmp_4.arg0 = s.caps[0]; s.callLocIdx = 96; s.pc = 8; return s.tmp_4; case 8: @@ -47049,12 +47092,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P165589.info = {"start":7885,"length":601,"line":246,"column":34,"endLine":260,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P192205.info = {"start":7885,"length":601,"line":246,"column":34,"endLine":260,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P165589_mk(s) { +function inline__P192205_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P165589, depth: s.depth + 1, + parent: s, fn: inline__P192205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47067,7 +47110,7 @@ function inline__P165589_mk(s) { -function controller_Button_isPressed__P147859(s) { +function controller_Button_isPressed__P174475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47082,17 +47125,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C147850_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C174466_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P147859.info = {"start":4129,"length":57,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_Button_isPressed__P174475.info = {"start":4129,"length":57,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_Button_isPressed__P147859_mk(s) { +function controller_Button_isPressed__P174475_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P147859, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P174475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47101,7 +47144,7 @@ function controller_Button_isPressed__P147859_mk(s) { -function tiles_tileIs__P149891(s) { +function tiles_tileIs__P176507(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47116,14 +47159,14 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_tileIsCore__P152486_mk(s); - s.tmp_1 = tiles_locationColumn__P149906_mk(s); + s.tmp_0 = tiles_tileIsCore__P179102_mk(s); + s.tmp_1 = tiles_locationColumn__P176522_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1977; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_2 = tiles_locationRow__P149907_mk(s); + s.tmp_2 = tiles_locationRow__P176523_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1978; s.pc = 3; return s.tmp_2; case 3: @@ -47136,12 +47179,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_tileIs__P149891.info = {"start":4593,"length":162,"line":122,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"tileIs","argumentNames":["location","tile"]} +tiles_tileIs__P176507.info = {"start":4593,"length":162,"line":122,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"tileIs","argumentNames":["location","tile"]} -function tiles_tileIs__P149891_mk(s) { +function tiles_tileIs__P176507_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_tileIs__P149891, depth: s.depth + 1, + parent: s, fn: tiles_tileIs__P176507, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47154,7 +47197,7 @@ function tiles_tileIs__P149891_mk(s) { -function tiles_locationRow__P149907(s) { +function tiles_locationRow__P176523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47168,8 +47211,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tiles_screenCoordinateToTile__P149923_mk(s); - s.tmp_1 = tiles_Location_y__P148252_mk(s); + s.tmp_0 = tiles_screenCoordinateToTile__P176539_mk(s); + s.tmp_1 = tiles_Location_y__P174868_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1993; s.pc = 2; return s.tmp_1; case 2: @@ -47181,12 +47224,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_locationRow__P149907.info = {"start":11062,"length":370,"line":307,"column":4,"endLine":314,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"locationRow","argumentNames":["location"]} +tiles_locationRow__P176523.info = {"start":11062,"length":370,"line":307,"column":4,"endLine":314,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"locationRow","argumentNames":["location"]} -function tiles_locationRow__P149907_mk(s) { +function tiles_locationRow__P176523_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_locationRow__P149907, depth: s.depth + 1, + parent: s, fn: tiles_locationRow__P176523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47197,7 +47240,7 @@ function tiles_locationRow__P149907_mk(s) { -function tiles_locationColumn__P149906(s) { +function tiles_locationColumn__P176522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47211,8 +47254,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tiles_screenCoordinateToTile__P149923_mk(s); - s.tmp_1 = tiles_Location_x__P148251_mk(s); + s.tmp_0 = tiles_screenCoordinateToTile__P176539_mk(s); + s.tmp_1 = tiles_Location_x__P174867_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1991; s.pc = 2; return s.tmp_1; case 2: @@ -47224,12 +47267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_locationColumn__P149906.info = {"start":10612,"length":376,"line":295,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"locationColumn","argumentNames":["location"]} +tiles_locationColumn__P176522.info = {"start":10612,"length":376,"line":295,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/tilemaps/tilemap.ts","functionName":"locationColumn","argumentNames":["location"]} -function tiles_locationColumn__P149906_mk(s) { +function tiles_locationColumn__P176522_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_locationColumn__P149906, depth: s.depth + 1, + parent: s, fn: tiles_locationColumn__P176522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47240,7 +47283,7 @@ function tiles_locationColumn__P149906_mk(s) { -function scene_onHitWall__P148065(s) { +function scene_onHitWall__P174681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47250,7 +47293,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wallCollisionHandlers___165635 = undefined; + s.wallCollisionHandlers___192251 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -47274,39 +47317,39 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P148484_mk(s); + s.tmp_3 = game_currentScene__P175100_mk(s); s.callLocIdx = 561; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___165635 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_TileWallHandler__C148346_VT); + s.wallCollisionHandlers___192251 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_TileWallHandler__C174962_VT); s.tmp_0 = r0; - s.tmp_1 = scene_TileWallHandler_constructor__P148347_mk(s); + s.tmp_1 = scene_TileWallHandler_constructor__P174963_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; s.callLocIdx = 562; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.wallCollisionHandlers___165635, s.tmp_0); + r0 = pxsim_Array__push(s.wallCollisionHandlers___192251, s.tmp_0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -scene_onHitWall__P148065.info = {"start":3550,"length":387,"line":111,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onHitWall","argumentNames":["kind","handler"]} +scene_onHitWall__P174681.info = {"start":3550,"length":387,"line":111,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onHitWall","argumentNames":["kind","handler"]} -function scene_onHitWall__P148065_mk(s) { +function scene_onHitWall__P174681_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_onHitWall__P148065, depth: s.depth + 1, + parent: s, fn: scene_onHitWall__P174681, 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, - wallCollisionHandlers___165635: undefined, + wallCollisionHandlers___192251: undefined, arg0: undefined, arg1: undefined, } } @@ -47315,7 +47358,7 @@ function scene_onHitWall__P148065_mk(s) { -function scene_TileWallHandler_constructor__P148347(s) { +function scene_TileWallHandler_constructor__P174963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47332,19 +47375,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_TileWallHandler__C148346_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_TileWallHandler__C174962_VT)) failedCast(r0); r0 = (s.arg0).fields["spriteKind"] = (s.arg1); r0 = (s.arg0).fields["handler"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_TileWallHandler_constructor__P148347.info = {"start":877,"length":144,"line":30,"column":8,"endLine":33,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","spriteKind","handler"]} +scene_TileWallHandler_constructor__P174963.info = {"start":877,"length":144,"line":30,"column":8,"endLine":33,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","spriteKind","handler"]} -function scene_TileWallHandler_constructor__P148347_mk(s) { +function scene_TileWallHandler_constructor__P174963_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_TileWallHandler_constructor__P148347, depth: s.depth + 1, + parent: s, fn: scene_TileWallHandler_constructor__P174963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47355,7 +47398,7 @@ function scene_TileWallHandler_constructor__P148347_mk(s) { -function controller_Button_onEvent__P147857(s) { +function controller_Button_onEvent__P174473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47372,8 +47415,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C147850_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P146317_mk(s); + if (!checkSubtype(r0, controller_Button__C174466_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P172933_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -47386,12 +47429,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P147857.info = {"start":3368,"length":124,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} +controller_Button_onEvent__P174473.info = {"start":3368,"length":124,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} -function controller_Button_onEvent__P147857_mk(s) { +function controller_Button_onEvent__P174473_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P147857, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P174473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47403,7 +47446,7 @@ function controller_Button_onEvent__P147857_mk(s) { -function tiles_createTilemap__P148299(s) { +function tiles_createTilemap__P174915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47420,9 +47463,9 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C148262_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C174878_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_TileMapData_constructor__P148263_mk(s); + s.tmp_1 = tiles_TileMapData_constructor__P174879_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -47435,12 +47478,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_createTilemap__P148299.info = {"start":14094,"length":170,"line":457,"column":4,"endLine":459,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"createTilemap","argumentNames":["data","layer","tiles","scale"]} +tiles_createTilemap__P174915.info = {"start":14094,"length":170,"line":457,"column":4,"endLine":459,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"createTilemap","argumentNames":["data","layer","tiles","scale"]} -function tiles_createTilemap__P148299_mk(s) { +function tiles_createTilemap__P174915_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_createTilemap__P148299, depth: s.depth + 1, + parent: s, fn: tiles_createTilemap__P174915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47454,7 +47497,7 @@ function tiles_createTilemap__P148299_mk(s) { -function tiles_TileMapData_constructor__P148263(s) { +function tiles_TileMapData_constructor__P174879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47473,11 +47516,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_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__P148267_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P174883_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 914; s.pc = 1; return s.tmp_0; @@ -47495,12 +47538,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P148263.info = {"start":3293,"length":358,"line":125,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P174879.info = {"start":3293,"length":358,"line":125,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -function tiles_TileMapData_constructor__P148263_mk(s) { +function tiles_TileMapData_constructor__P174879_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P148263, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P174879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47515,7 +47558,7 @@ function tiles_TileMapData_constructor__P148263_mk(s) { -function helpers_stringTrim__P146055(s) { +function helpers_stringTrim__P172671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47525,27 +47568,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___165771 = undefined; - s.end___165772 = undefined; + s.start___192387 = undefined; + s.end___192388 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.start___165771 = (0); + s.start___192387 = (0); r0 = pxsim_String_.length(s.arg0); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.end___165772 = (r0); + s.end___192388 = (r0); case 1: - r0 = (s.start___165771 <= s.end___165772); + r0 = (s.start___192387 <= s.end___192388); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 3; continue; } case 2: - s.tmp_1 = helpers_isWhitespace__P146056_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___165771); + s.tmp_1 = helpers_isWhitespace__P172672_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___192387); s.tmp_1.arg0 = r0; s.callLocIdx = 16; s.pc = 9; return s.tmp_1; case 9: @@ -47555,20 +47598,20 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - r0 = (s.start___165771 + 1); - s.start___165771 = (r0); + r0 = (s.start___192387 + 1); + s.start___192387 = (r0); { step = 1; continue; } case 4: case 5: - r0 = (s.end___165772 > s.start___165771); + r0 = (s.end___192388 > s.start___192387); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_1 = helpers_isWhitespace__P146056_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.end___165772); + s.tmp_1 = helpers_isWhitespace__P172672_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.end___192388); s.tmp_1.arg0 = r0; s.callLocIdx = 17; s.pc = 10; return s.tmp_1; case 10: @@ -47578,14 +47621,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - r0 = (s.end___165772 - 1); - s.end___165772 = (r0); + r0 = (s.end___192388 - 1); + s.end___192388 = (r0); { step = 5; continue; } case 8: - s.tmp_0 = helpers_stringSlice__P146052_mk(s); + s.tmp_0 = helpers_stringSlice__P172668_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.start___165771; - r0 = (s.end___165772 + 1); + s.tmp_0.arg1 = s.start___192387; + r0 = (s.end___192388 + 1); s.tmp_0.arg2 = r0; s.callLocIdx = 18; s.pc = 11; return s.tmp_0; case 11: @@ -47593,18 +47636,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringTrim__P146055.info = {"start":14074,"length":319,"line":477,"column":4,"endLine":487,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} +helpers_stringTrim__P172671.info = {"start":14074,"length":319,"line":477,"column":4,"endLine":487,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} -function helpers_stringTrim__P146055_mk(s) { +function helpers_stringTrim__P172671_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringTrim__P146055, depth: s.depth + 1, + parent: s, fn: helpers_stringTrim__P172671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - start___165771: undefined, - end___165772: undefined, + start___192387: undefined, + end___192388: undefined, arg0: undefined, } } @@ -47612,7 +47655,7 @@ function helpers_stringTrim__P146055_mk(s) { -function helpers__registerFactory__P148809(s) { +function helpers__registerFactory__P175425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47627,31 +47670,31 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___150950); + r0 = pxsim_numops_toBoolDecr(globals.factories___177566); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals.factories___150950 = (r0); + globals.factories___177566 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "kind", s.arg0); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "factory", s.arg1); - r0 = pxsim_Array__push(globals.factories___150950, s.tmp_0); + r0 = pxsim_Array__push(globals.factories___177566, s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers__registerFactory__P148809.info = {"start":1690,"length":201,"line":50,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_registerFactory","argumentNames":["kind","factory"]} +helpers__registerFactory__P175425.info = {"start":1690,"length":201,"line":50,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_registerFactory","argumentNames":["kind","factory"]} -function helpers__registerFactory__P148809_mk(s) { +function helpers__registerFactory__P175425_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers__registerFactory__P148809, depth: s.depth + 1, + parent: s, fn: helpers__registerFactory__P175425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47663,7 +47706,7 @@ function helpers__registerFactory__P148809_mk(s) { -function ConnectionKind_create__P149928(s) { +function ConnectionKind_create__P176544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47673,26 +47716,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___152487 === undefined); + r0 = (globals.nextKind___179103 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___152487 = (1); + globals.nextKind___179103 = (1); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___152487; + s.tmp_0 = r0 = globals.nextKind___179103; r0 = (s.tmp_0 + 1); - globals.nextKind___152487 = (r0); + globals.nextKind___179103 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -ConnectionKind_create__P149928.info = {"start":412,"length":112,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"create","argumentNames":[]} +ConnectionKind_create__P176544.info = {"start":412,"length":112,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/tilemaps/overworld.ts","functionName":"create","argumentNames":[]} -function ConnectionKind_create__P149928_mk(s) { +function ConnectionKind_create__P176544_mk(s) { checkStack(s.depth); return { - parent: s, fn: ConnectionKind_create__P149928, depth: s.depth + 1, + parent: s, fn: ConnectionKind_create__P176544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -47701,7 +47744,7 @@ function ConnectionKind_create__P149928_mk(s) { -function music_Melody_constructor__P147538(s) { +function music_Melody_constructor__P174154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47717,18 +47760,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C147535_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C174151_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P147538.info = {"start":6328,"length":67,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P174154.info = {"start":6328,"length":67,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} -function music_Melody_constructor__P147538_mk(s) { +function music_Melody_constructor__P174154_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P147538, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P174154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47738,7 +47781,7 @@ function music_Melody_constructor__P147538_mk(s) { -function game_eventContext__P148487(s) { +function game_eventContext__P175103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47748,21 +47791,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P150475_mk(s); + s.tmp_0 = game_init__P177091_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1162; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___150467.fields["eventContext"]; + r0 = globals._scene___177083.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P148487.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P175103.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function game_eventContext__P148487_mk(s) { +function game_eventContext__P175103_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P148487, depth: s.depth + 1, + parent: s, fn: game_eventContext__P175103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -47771,7 +47814,7 @@ function game_eventContext__P148487_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P147900(s) { +function controller_pauseUntilAnyButtonIsPressed__P174516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47791,12 +47834,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P147900.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P174516.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} -function controller_pauseUntilAnyButtonIsPressed__P147900_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P174516_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P147900, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P174516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -47804,7 +47847,7 @@ function controller_pauseUntilAnyButtonIsPressed__P147900_mk(s) { -function game_setWaitAnyButton__P148485(s) { +function game_setWaitAnyButton__P175101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47818,17 +47861,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___150471 = (s.arg0); + globals.__waitAnyButton___177087 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P148485.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P175101.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -function game_setWaitAnyButton__P148485_mk(s) { +function game_setWaitAnyButton__P175101_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P148485, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P175101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47837,7 +47880,7 @@ function game_setWaitAnyButton__P148485_mk(s) { -function Math_abs__P146060(s) { +function Math_abs__P172676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47866,12 +47909,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P146060.info = {"start":15630,"length":77,"line":524,"column":4,"endLine":526,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P172676.info = {"start":15630,"length":77,"line":524,"column":4,"endLine":526,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P146060_mk(s) { +function Math_abs__P172676_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P146060, depth: s.depth + 1, + parent: s, fn: Math_abs__P172676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47882,7 +47925,7 @@ function Math_abs__P146060_mk(s) { -function Math_sign__P146061(s) { +function Math_sign__P172677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47917,12 +47960,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P146061.info = {"start":15865,"length":125,"line":532,"column":4,"endLine":536,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P172677.info = {"start":15865,"length":125,"line":532,"column":4,"endLine":536,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P146061_mk(s) { +function Math_sign__P172677_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P146061, depth: s.depth + 1, + parent: s, fn: Math_sign__P172677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47933,7 +47976,7 @@ function Math_sign__P146061_mk(s) { -function texteffects_TextEffect_constructor__P148785(s) { +function texteffects_TextEffect_constructor__P175401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47949,18 +47992,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, texteffects_TextEffect__C148783_VT)) failedCast(r0); + if (!checkSubtype(r0, texteffects_TextEffect__C175399_VT)) failedCast(r0); r0 = (s.arg0).fields["getState"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -texteffects_TextEffect_constructor__P148785.info = {"start":657,"length":133,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["this","getState"]} +texteffects_TextEffect_constructor__P175401.info = {"start":657,"length":133,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["this","getState"]} -function texteffects_TextEffect_constructor__P148785_mk(s) { +function texteffects_TextEffect_constructor__P175401_mk(s) { checkStack(s.depth); return { - parent: s, fn: texteffects_TextEffect_constructor__P148785, depth: s.depth + 1, + parent: s, fn: texteffects_TextEffect_constructor__P175401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47970,7 +48013,7 @@ function texteffects_TextEffect_constructor__P148785_mk(s) { -function Math_FastRandom_constructor__P148540(s) { +function Math_FastRandom_constructor__P175156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47986,7 +48029,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C148538_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C175154_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -48001,12 +48044,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P148540.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__P175156.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__P148540_mk(s) { +function Math_FastRandom_constructor__P175156_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P148540, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P175156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48017,7 +48060,7 @@ function Math_FastRandom_constructor__P148540_mk(s) { -function control_ramSize__P146272(s) { +function control_ramSize__P172888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48042,12 +48085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P146272.info = {"start":5058,"length":100,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P172888.info = {"start":5058,"length":100,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} -function control_ramSize__P146272_mk(s) { +function control_ramSize__P172888_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P146272, depth: s.depth + 1, + parent: s, fn: control_ramSize__P172888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48057,7 +48100,7 @@ function control_ramSize__P146272_mk(s) { -function control__ramSize__P150089(s) { +function control__ramSize__P176705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48071,12 +48114,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P150089.info = {"start":4938,"length":60,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P176705.info = {"start":4938,"length":60,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} -function control__ramSize__P150089_mk(s) { +function control__ramSize__P176705_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P150089, depth: s.depth + 1, + parent: s, fn: control__ramSize__P176705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -48084,7 +48127,7 @@ function control__ramSize__P150089_mk(s) { -function game_consoleOverlay_listener__P150800(s) { +function game_consoleOverlay_listener__P177416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48099,7 +48142,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___150765); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___177381); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -48119,9 +48162,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P146042_mk(s); - s.tmp_5 = helpers_arrayFilter__P146043_mk(s); - s.tmp_6 = helpers_stringSplit__P146054_mk(s); + s.tmp_4 = helpers_arrayForEach__P172658_mk(s); + s.tmp_5 = helpers_arrayFilter__P172659_mk(s); + s.tmp_6 = helpers_stringSplit__P172670_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -48129,27 +48172,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P165894; + s.tmp_5.arg1 = inline__P192510; s.callLocIdx = 1372; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P165899; + s.tmp_4.arg1 = inline__P192515; s.callLocIdx = 1374; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___150765); + r0 = pxsim_Array__length(globals.consoleStrings___177381); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___150778); + r0 = (s.tmp_1 > globals.consoleLines___177394); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P146033_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___150765; + s.tmp_2 = helpers_arraySplice__P172649_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___177381; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___150765); + r0 = pxsim_Array__length(globals.consoleStrings___177381); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___150778); + r0 = (s.tmp_3 - globals.consoleLines___177394); s.tmp_2.arg2 = r0; s.callLocIdx = 1375; s.pc = 11; return s.tmp_2; case 11: @@ -48161,12 +48204,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P150800.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__P177416.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__P150800_mk(s) { +function game_consoleOverlay_listener__P177416_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P150800, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P177416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48183,7 +48226,7 @@ function game_consoleOverlay_listener__P150800_mk(s) { -function inline__P165894(s) { +function inline__P192510(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48207,12 +48250,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P165894.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P192510.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function inline__P165894_mk(s) { +function inline__P192510_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P165894, depth: s.depth + 1, + parent: s, fn: inline__P192510, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48224,7 +48267,7 @@ function inline__P165894_mk(s) { -function inline__P165899(s) { +function inline__P192515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48234,45 +48277,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___165901 = undefined; + s.j___192517 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___165901 = (0); + s.j___192517 = (0); case 1: - s.tmp_1 = r0 = s.j___165901; + s.tmp_1 = r0 = s.j___192517; 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___150765; - s.tmp_5 = helpers_stringSlice__P146052_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___177381; + s.tmp_5 = helpers_stringSlice__P172668_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___165901; - r0 = (s.j___165901 + globals.consoleColumns___150788); + s.tmp_5.arg1 = s.j___192517; + r0 = (s.j___192517 + globals.consoleColumns___177404); s.tmp_5.arg2 = r0; s.callLocIdx = 1373; 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___165901 + globals.consoleColumns___150788); - s.j___165901 = (r0); + r0 = (s.j___192517 + globals.consoleColumns___177404); + s.j___192517 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P165899.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P192515.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function inline__P165899_mk(s) { +function inline__P192515_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P165899, depth: s.depth + 1, + parent: s, fn: inline__P192515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48280,7 +48323,7 @@ function inline__P165899_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___165901: undefined, + j___192517: undefined, arg0: undefined, } } @@ -48288,7 +48331,7 @@ function inline__P165899_mk(s) { -function console_addListener__P146309(s) { +function console_addListener__P172925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48311,7 +48354,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___150104, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___176720, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -48322,18 +48365,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___150104, s.arg0); + r0 = pxsim_Array__push(globals.listeners___176720, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P146309.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__P172925.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__P146309_mk(s) { +function console_addListener__P172925_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P146309, depth: s.depth + 1, + parent: s, fn: console_addListener__P172925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48346,7 +48389,7 @@ function console_addListener__P146309_mk(s) { -function inline__P150103(s) { +function inline__P176719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48366,12 +48409,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P150103.info = {"start":534,"length":85,"line":25,"column":8,"endLine":25,"endColumn":93,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["priority","text"]} +inline__P176719.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 inline__P150103_mk(s) { +function inline__P176719_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P150103, depth: s.depth + 1, + parent: s, fn: inline__P176719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -48381,7 +48424,7 @@ function inline__P150103_mk(s) { -function scene_systemMenu_register__P148585(s) { +function scene_systemMenu_register__P175201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48391,15 +48434,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___150719); + r0 = pxsim_numops_toBoolDecr(globals.instance___177335); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P147857_mk(s); - s.tmp_0.arg0 = globals.menu___147830; + s.tmp_0 = controller_Button_onEvent__P174473_mk(s); + s.tmp_0.arg0 = globals.menu___174446; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P148586; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P175202; s.callLocIdx = 1358; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -48408,12 +48451,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P148585.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__P175201.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__P148585_mk(s) { +function scene_systemMenu_register__P175201_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P148585, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P175201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -48422,7 +48465,7 @@ function scene_systemMenu_register__P148585_mk(s) { -function scene_systemMenu_showSystemMenu__P148586(s) { +function scene_systemMenu_showSystemMenu__P175202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48432,27 +48475,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___150719); + r0 = pxsim_numops_toBoolDecr(globals.instance___177335); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P148488_mk(s); + s.tmp_0 = game_pushScene__P175104_mk(s); s.callLocIdx = 1359; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C148574_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C175190_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P148575_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P175191_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P148582; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P175198; s.tmp_1.arg2 = undefined; s.callLocIdx = 1360; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___150719 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P148576_mk(s); - s.tmp_0.arg0 = globals.instance___150719; + globals.instance___177335 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P175192_mk(s); + s.tmp_0.arg0 = globals.instance___177335; s.callLocIdx = 1361; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -48461,12 +48504,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P148586.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__P175202.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__P148586_mk(s) { +function scene_systemMenu_showSystemMenu__P175202_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P148586, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P175202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48476,7 +48519,7 @@ function scene_systemMenu_showSystemMenu__P148586_mk(s) { -function scene_systemMenu_buildOptionList__P148582(s) { +function scene_systemMenu_buildOptionList__P175198(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48486,136 +48529,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___166559 = undefined; + s.options___193175 = undefined; r0 = pxsim_Array__mk(); - s.options___166559 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C148566_VT); + s.options___193175 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C175182_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P148567_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P175183_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___148596; - s.tmp_1.arg2 = inline__P166567; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P150725; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___175212; + s.tmp_1.arg2 = inline__P193183; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P177341; s.callLocIdx = 1341; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___166559, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C148566_VT); + r0 = pxsim_Array__push(s.options___193175, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C175182_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P148567_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P175183_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___148593; - s.tmp_1.arg2 = inline__P166581; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P150724; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___175209; + s.tmp_1.arg2 = inline__P193197; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P177340; s.callLocIdx = 1343; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___166559, s.tmp_0); + r0 = pxsim_Array__push(s.options___193175, 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__C148566_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C175182_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P148567_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P175183_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___148594; - s.tmp_2.arg2 = inline__P166596; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P150727; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___175210; + s.tmp_2.arg2 = inline__P193212; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P177343; s.callLocIdx = 1346; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___166559, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C148566_VT); + r0 = pxsim_Array__push(s.options___193175, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C175182_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P148567_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P175183_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___148599; - s.tmp_1.arg2 = inline__P166611; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P150726; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___175215; + s.tmp_1.arg2 = inline__P193227; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P177342; s.callLocIdx = 1348; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___166559, s.tmp_0); + r0 = pxsim_Array__push(s.options___193175, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C148566_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C175182_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P148567_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P175183_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___148600; - s.tmp_1.arg2 = inline__P166626; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P150729; + s.tmp_1.arg1 = globals.STATS_ICON___175216; + s.tmp_1.arg2 = inline__P193242; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P177345; s.callLocIdx = 1349; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___166559, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C148566_VT); + r0 = pxsim_Array__push(s.options___193175, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C175182_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P148567_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P175183_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___148598; - s.tmp_1.arg2 = inline__P166635; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P150730; + s.tmp_1.arg1 = globals.CONSOLE_ICON___175214; + s.tmp_1.arg2 = inline__P193251; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P177346; s.callLocIdx = 1351; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___166559, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C148566_VT); + r0 = pxsim_Array__push(s.options___193175, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C175182_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P148567_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P175183_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___148597; - s.tmp_1.arg2 = inline__P166644; - s.tmp_1.arg3 = scene_systemMenu_sleep__P150731; + s.tmp_1.arg1 = globals.SLEEP_ICON___175213; + s.tmp_1.arg2 = inline__P193260; + s.tmp_1.arg3 = scene_systemMenu_sleep__P177347; s.callLocIdx = 1352; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___166559, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___150720); + r0 = pxsim_Array__push(s.options___193175, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___177336); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P146046_mk(s); - s.tmp_0.arg0 = s.options___166559; - s.tmp_0.arg1 = globals.customMenuOptions___150720; + s.tmp_0 = helpers_arrayConcat__P172662_mk(s); + s.tmp_0.arg0 = s.options___193175; + s.tmp_0.arg1 = globals.customMenuOptions___177336; s.callLocIdx = 1353; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___166559 = (r0); + s.options___193175 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C148566_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C175182_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P148567_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P175183_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___148595; - s.tmp_1.arg2 = inline__P166657; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P148581; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___175211; + s.tmp_1.arg2 = inline__P193273; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P175197; s.callLocIdx = 1354; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___166559, s.tmp_0); - r0 = s.options___166559; + r0 = pxsim_Array__push(s.options___193175, s.tmp_0); + r0 = s.options___193175; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P148582.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__P175198.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__P148582_mk(s) { +function scene_systemMenu_buildOptionList__P175198_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P148582, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P175198, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___166559: undefined, + options___193175: undefined, } } -function inline__P166567(s) { +function inline__P193183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48625,7 +48668,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P147530_mk(s); + s.tmp_3 = music_volume__P174146_mk(s); s.callLocIdx = 1340; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -48645,12 +48688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166567.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P193183.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166567_mk(s) { +function inline__P193183_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166567, depth: s.depth + 1, + parent: s, fn: inline__P193183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48662,7 +48705,7 @@ function inline__P166567_mk(s) { -function inline__P166581(s) { +function inline__P193197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48672,7 +48715,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P147530_mk(s); + s.tmp_3 = music_volume__P174146_mk(s); s.callLocIdx = 1342; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -48692,12 +48735,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166581.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P193197.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166581_mk(s) { +function inline__P193197_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166581, depth: s.depth + 1, + parent: s, fn: inline__P193197, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48709,7 +48752,7 @@ function inline__P166581_mk(s) { -function inline__P166596(s) { +function inline__P193212(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48719,7 +48762,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___147671; + r0 = globals.brightness___174287; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -48736,12 +48779,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166596.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P193212.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166596_mk(s) { +function inline__P193212_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166596, depth: s.depth + 1, + parent: s, fn: inline__P193212, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48752,7 +48795,7 @@ function inline__P166596_mk(s) { -function inline__P166611(s) { +function inline__P193227(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48762,7 +48805,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___147671; + r0 = globals.brightness___174287; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -48779,12 +48822,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166611.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P193227.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166611_mk(s) { +function inline__P193227_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166611, depth: s.depth + 1, + parent: s, fn: inline__P193227, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48795,7 +48838,7 @@ function inline__P166611_mk(s) { -function inline__P166626(s) { +function inline__P193242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48805,7 +48848,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___148481); + r0 = pxsim_numops_toBoolDecr(globals.stats___175097); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -48818,12 +48861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166626.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P193242.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166626_mk(s) { +function inline__P193242_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166626, depth: s.depth + 1, + parent: s, fn: inline__P193242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -48832,7 +48875,7 @@ function inline__P166626_mk(s) { -function inline__P166635(s) { +function inline__P193251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48842,7 +48885,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___150765); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___177381); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -48863,12 +48906,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166635.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P193251.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166635_mk(s) { +function inline__P193251_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166635, depth: s.depth + 1, + parent: s, fn: inline__P193251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48881,7 +48924,7 @@ function inline__P166635_mk(s) { -function inline__P166644(s) { +function inline__P193260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48895,12 +48938,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166644.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P193260.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166644_mk(s) { +function inline__P193260_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166644, depth: s.depth + 1, + parent: s, fn: inline__P193260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -48908,7 +48951,7 @@ function inline__P166644_mk(s) { -function inline__P166657(s) { +function inline__P193273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48922,12 +48965,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166657.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P193273.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166657_mk(s) { +function inline__P193273_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166657, depth: s.depth + 1, + parent: s, fn: inline__P193273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -48935,7 +48978,7 @@ function inline__P166657_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P150732(s) { +function scene_systemMenu_setScreenBrightnessSupported__P177348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48949,12 +48992,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P150732.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__P177348.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__P150732_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P177348_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P150732, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P177348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -48962,7 +49005,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P150732_mk(s) { -function scene_systemMenu_sleep__P150731(s) { +function scene_systemMenu_sleep__P177347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48977,12 +49020,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P150731.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__P177347.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__P150731_mk(s) { +function scene_systemMenu_sleep__P177347_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P150731, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P177347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -48990,7 +49033,7 @@ function scene_systemMenu_sleep__P150731_mk(s) { -function scene_systemMenu_toggleConsole__P150730(s) { +function scene_systemMenu_toggleConsole__P177346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49000,7 +49043,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___150765); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___177381); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -49010,7 +49053,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__P148605_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P175221_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.callLocIdx = 1334; s.pc = 3; return s.tmp_4; @@ -49018,13 +49061,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P148605_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P175221_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.callLocIdx = 1335; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P146306_mk(s); + s.tmp_0 = console_log__P172922_mk(s); s.tmp_0.arg0 = "console"; s.callLocIdx = 1336; s.pc = 5; return s.tmp_0; case 5: @@ -49034,12 +49077,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P150730.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__P177346.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__P150730_mk(s) { +function scene_systemMenu_toggleConsole__P177346_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P150730, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P177346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49052,7 +49095,7 @@ function scene_systemMenu_toggleConsole__P150730_mk(s) { -function game_consoleOverlay_setVisible__P148605(s) { +function game_consoleOverlay_setVisible__P175221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49068,7 +49111,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___150765); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___177381); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -49089,26 +49132,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___150765 = (s.tmp_6); + globals.consoleStrings___177381 = (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___150764 = (s.arg1); + globals.consoleColor___177380 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P148605.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__P175221.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__P148605_mk(s) { +function game_consoleOverlay_setVisible__P175221_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P148605, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P175221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49125,7 +49168,7 @@ function game_consoleOverlay_setVisible__P148605_mk(s) { -function console_log__P146306(s) { +function console_log__P172922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49139,7 +49182,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P146302_mk(s); + s.tmp_0 = console_add__P172918_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 45; s.pc = 1; return s.tmp_0; @@ -49149,12 +49192,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P146306.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__P172922.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__P146306_mk(s) { +function console_log__P172922_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P146306, depth: s.depth + 1, + parent: s, fn: console_log__P172922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49164,7 +49207,7 @@ function console_log__P146306_mk(s) { -function console_add__P146302(s) { +function console_add__P172918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49174,58 +49217,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___166696 = undefined; - s.i___166705 = undefined; + s.text___193312 = undefined; + s.i___193321 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___146301); + r0 = (s.arg0 < globals.minPriority___172917); 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__P146308_mk(s); + s.tmp_1 = console_inspect__P172924_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 43; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___166696 = (r0); - if ((s.text___166696) && (s.text___166696).vtable) { + s.text___193312 = (r0); + if ((s.text___193312) && (s.text___193312).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___166696); + pxsim_String__stringConv(s.text___193312); checkResumeConsumed(); return; - } else { s.retval = (s.text___166696) + ""; } + } else { s.retval = (s.text___193312) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___166696 = (r0); - s.i___166705 = (0); + s.text___193312 = (r0); + s.i___193321 = (0); case 3: - s.tmp_1 = r0 = s.i___166705; - r0 = pxsim_Array__length(globals.listeners___150104); + s.tmp_1 = r0 = s.i___193321; + r0 = pxsim_Array__length(globals.listeners___176720); 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___150104, s.i___166705); + r0 = pxsim_Array__getAt(globals.listeners___176720, s.i___193321); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___166696; + s.tmp_3.arg1 = s.text___193312; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 44; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___166705 + 1); - s.i___166705 = (r0); + r0 = (s.i___193321 + 1); + s.i___193321 = (r0); { step = 3; continue; } case 4: case 5: @@ -49233,19 +49276,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P146302.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__P172918.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__P146302_mk(s) { +function console_add__P172918_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P146302, depth: s.depth + 1, + parent: s, fn: console_add__P172918, 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___166696: undefined, - i___166705: undefined, + text___193312: undefined, + i___193321: undefined, arg0: undefined, arg1: undefined, } } @@ -49254,7 +49297,7 @@ function console_add__P146302_mk(s) { -function console_inspect__P146308(s) { +function console_inspect__P172924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49264,10 +49307,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___166736 = undefined; - s.asString___166754 = undefined; - s.keys___166766 = undefined; - s.snipped___166770 = undefined; + s.asArr___193352 = undefined; + s.asString___193370 = undefined; + s.keys___193382 = undefined; + s.snipped___193386 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -49308,15 +49351,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___166736 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___166736); + s.asArr___193352 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___193352); 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__P146036_mk(s); - s.tmp_2.arg0 = s.asArr___166736; + s.tmp_2 = helpers_arrayJoin__P172652_mk(s); + s.tmp_2.arg0 = s.asArr___193352; s.tmp_2.arg1 = ","; s.callLocIdx = 46; s.pc = 19; return s.tmp_2; case 19: @@ -49326,9 +49369,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P146036_mk(s); - s.tmp_8 = helpers_arraySlice__P146048_mk(s); - s.tmp_8.arg0 = s.asArr___166736; + s.tmp_7 = helpers_arrayJoin__P172652_mk(s); + s.tmp_8 = helpers_arraySlice__P172664_mk(s); + s.tmp_8.arg0 = s.asArr___193352; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 47; s.pc = 21; return s.tmp_8; @@ -49368,46 +49411,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___166754 = (r0); - r0 = (s.asString___166754 != "[object Object]"); + s.asString___193370 = (r0); + r0 = (s.asString___193370 != "[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___166754 != "[Object]"); + r0 = (s.asString___193370 != "[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___166754; + r0 = s.asString___193370; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___166766 = (r0); - r0 = pxsim_Array__length(s.keys___166766); + s.keys___193382 = (r0); + r0 = pxsim_Array__length(s.keys___193382); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___166770 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___166770); + s.snipped___193386 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___193386); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P146048_mk(s); - s.tmp_0.arg0 = s.keys___166766; + s.tmp_0 = helpers_arraySlice__P172664_mk(s); + s.tmp_0.arg0 = s.keys___193382; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 49; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___166766 = (r0); + s.keys___193382 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P166787); + r0 = pxsim_pxtcore_mkAction(1, inline__P193403); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___166770); + r0 = pxsim_numops_toBoolDecr(s.snipped___193386); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -49416,8 +49459,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P146045_mk(s); - s.tmp_7.arg0 = s.keys___166766; + s.tmp_7 = helpers_arrayReduce__P172661_mk(s); + s.tmp_7.arg0 = s.keys___193382; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -49466,12 +49509,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P146308.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__P172924.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__P146308_mk(s) { +function console_inspect__P172924_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P146308, depth: s.depth + 1, + parent: s, fn: console_inspect__P172924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49484,10 +49527,10 @@ function console_inspect__P146308_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___166736: undefined, - asString___166754: undefined, - keys___166766: undefined, - snipped___166770: undefined, + asArr___193352: undefined, + asString___193370: undefined, + keys___193382: undefined, + snipped___193386: undefined, arg0: undefined, arg1: undefined, } } @@ -49496,7 +49539,7 @@ function console_inspect__P146308_mk(s) { -function inline__P166787(s) { +function inline__P193403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49559,12 +49602,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166787.info = {"start":3293,"length":61,"line":108,"column":20,"endLine":108,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} +inline__P193403.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 inline__P166787_mk(s) { +function inline__P193403_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166787, depth: s.depth + 1, + parent: s, fn: inline__P193403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49582,7 +49625,7 @@ function inline__P166787_mk(s) { -function helpers_arrayReduce__P146045(s) { +function helpers_arrayReduce__P172661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49592,8 +49635,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___166814 = undefined; - s.i___166817 = undefined; + s.len___193430 = undefined; + s.i___193433 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -49601,43 +49644,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___166814 = (r0); - s.i___166817 = (0); + s.len___193430 = (r0); + s.i___193433 = (0); case 1: - r0 = (s.i___166817 < s.len___166814); + r0 = (s.i___193433 < s.len___193430); 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___166817); + r0 = pxsim_Array__getAt(s.arg0, s.i___193433); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___166817; + s.tmp_1.arg2 = s.i___193433; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 9; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___166817 + 1); - s.i___166817 = (r0); + r0 = (s.i___193433 + 1); + s.i___193433 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P146045.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__P172661.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__P146045_mk(s) { +function helpers_arrayReduce__P172661_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P146045, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P172661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___166814: undefined, - i___166817: undefined, + len___193430: undefined, + i___193433: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -49647,7 +49690,7 @@ function helpers_arrayReduce__P146045_mk(s) { -function helpers_arrayJoin__P146036(s) { +function helpers_arrayJoin__P172652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49657,9 +49700,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___166842 = undefined; - s.len___166843 = undefined; - s.i___166846 = undefined; + s.r___193458 = undefined; + s.len___193459 = undefined; + s.i___193462 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -49682,16 +49725,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___166842 = (r0); + s.r___193458 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___166843 = (r0); - s.i___166846 = (0); + s.len___193459 = (r0); + s.i___193462 = (0); case 5: - r0 = (s.i___166846 < s.len___166843); + r0 = (s.i___193462 < s.len___193459); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___166846 > 0); + r0 = (s.i___193462 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -49704,12 +49747,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___166842) && (s.r___166842).vtable) { + if ((s.r___193458) && (s.r___193458).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___166842); + pxsim_String__stringConv(s.r___193458); checkResumeConsumed(); return; - } else { s.retval = (s.r___166842) + ""; } + } else { s.retval = (s.r___193458) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -49723,10 +49766,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___166842 = (r0); + s.r___193458 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___166846); + r0 = pxsim_Array__getAt(s.arg0, s.i___193462); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -49735,7 +49778,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___166846); + r0 = pxsim_Array__getAt(s.arg0, s.i___193462); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -49746,16 +49789,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___166846); + r0 = pxsim_Array__getAt(s.arg0, s.i___193462); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___166842) && (s.r___166842).vtable) { + if ((s.r___193458) && (s.r___193458).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___166842); + pxsim_String__stringConv(s.r___193458); checkResumeConsumed(); return; - } else { s.retval = (s.r___166842) + ""; } + } else { s.retval = (s.r___193458) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -49769,21 +49812,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___166842 = (r0); - r0 = (s.i___166846 + 1); - s.i___166846 = (r0); + s.r___193458 = (r0); + r0 = (s.i___193462 + 1); + s.i___193462 = (r0); { step = 5; continue; } case 14: - r0 = s.r___166842; + r0 = s.r___193458; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P146036.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__P172652.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__P146036_mk(s) { +function helpers_arrayJoin__P172652_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P146036, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P172652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49792,9 +49835,9 @@ function helpers_arrayJoin__P146036_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___166842: undefined, - len___166843: undefined, - i___166846: undefined, + r___193458: undefined, + len___193459: undefined, + i___193462: undefined, arg0: undefined, arg1: undefined, } } @@ -49803,7 +49846,7 @@ function helpers_arrayJoin__P146036_mk(s) { -function scene_systemMenu_toggleStats__P150729(s) { +function scene_systemMenu_toggleStats__P177345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49813,11 +49856,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___148481); + r0 = pxsim_numops_toBoolDecr(globals.stats___175097); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___148481 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___148481); + globals.stats___175097 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___175097); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -49826,14 +49869,14 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___146324; + r0 = globals.control_EventContext_onStats___172940; 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___146324; + s.tmp_3.argL = globals.control_EventContext_onStats___172940; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); @@ -49846,12 +49889,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P150729.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__P177345.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__P150729_mk(s) { +function scene_systemMenu_toggleStats__P177345_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P150729, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P177345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49863,7 +49906,7 @@ function scene_systemMenu_toggleStats__P150729_mk(s) { -function scene_systemMenu_brightnessDown__P150727(s) { +function scene_systemMenu_brightnessDown__P177343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49873,8 +49916,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P150728_mk(s); - r0 = globals.brightness___147671; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P177344_mk(s); + r0 = globals.brightness___174287; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; @@ -49885,12 +49928,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P150727.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__P177343.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__P150727_mk(s) { +function scene_systemMenu_brightnessDown__P177343_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P150727, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P177343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49900,7 +49943,7 @@ function scene_systemMenu_brightnessDown__P150727_mk(s) { -function scene_systemMenu_setScreenBrightness__P150728(s) { +function scene_systemMenu_setScreenBrightness__P177344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49914,15 +49957,15 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P147682_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_setScreenBrightness__P174298_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1329; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P147776_mk(s); + s.tmp_0 = settings_writeNumber__P174392_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___147671; + r0 = globals.brightness___174287; s.tmp_0.arg1 = r0; s.callLocIdx = 1331; s.pc = 2; return s.tmp_0; case 2: @@ -49931,12 +49974,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P150728.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__P177344.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__P150728_mk(s) { +function scene_systemMenu_setScreenBrightness__P177344_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P150728, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P177344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49946,7 +49989,7 @@ function scene_systemMenu_setScreenBrightness__P150728_mk(s) { -function helpers_setScreenBrightness__P147682(s) { +function helpers_setScreenBrightness__P174298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49961,7 +50004,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P146059_mk(s); + s.tmp_0 = Math_clamp__P172675_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -49970,18 +50013,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___147671 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___147671); + globals.brightness___174287 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___174287); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P147682.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P174298.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P147682_mk(s) { +function helpers_setScreenBrightness__P174298_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P147682, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P174298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49992,7 +50035,7 @@ function helpers_setScreenBrightness__P147682_mk(s) { -function scene_systemMenu_brightnessUp__P150726(s) { +function scene_systemMenu_brightnessUp__P177342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50002,8 +50045,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P150728_mk(s); - r0 = globals.brightness___147671; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P177344_mk(s); + r0 = globals.brightness___174287; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; @@ -50014,12 +50057,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P150726.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__P177342.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__P150726_mk(s) { +function scene_systemMenu_brightnessUp__P177342_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P150726, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P177342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50029,7 +50072,7 @@ function scene_systemMenu_brightnessUp__P150726_mk(s) { -function scene_systemMenu_volumeDown__P150725(s) { +function scene_systemMenu_volumeDown__P177341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50039,29 +50082,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___167042 = undefined; - s.remainder___167045 = undefined; - s.newVolume___167048 = undefined; - s.tmp_0 = music_volume__P147530_mk(s); + s.v___193658 = undefined; + s.remainder___193661 = undefined; + s.newVolume___193664 = undefined; + s.tmp_0 = music_volume__P174146_mk(s); s.callLocIdx = 1323; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___167042 = (r0); - r0 = (s.v___167042 % 32); - s.remainder___167045 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___167045); + s.v___193658 = (r0); + r0 = (s.v___193658 % 32); + s.remainder___193661 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___193661); if (!r0) { step = 1; continue; } - r0 = s.remainder___167045; + r0 = s.remainder___193661; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___167042 - s.tmp_0); - s.newVolume___167048 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P150723_mk(s); - s.tmp_0.arg0 = s.newVolume___167048; + r0 = (s.v___193658 - s.tmp_0); + s.newVolume___193664 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P177339_mk(s); + s.tmp_0.arg0 = s.newVolume___193664; s.callLocIdx = 1324; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -50069,24 +50112,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P150725.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__P177341.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__P150725_mk(s) { +function scene_systemMenu_volumeDown__P177341_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P150725, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P177341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___167042: undefined, - remainder___167045: undefined, - newVolume___167048: undefined, + v___193658: undefined, + remainder___193661: undefined, + newVolume___193664: undefined, } } -function scene_systemMenu_setVolume__P150723(s) { +function scene_systemMenu_setVolume__P177339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50100,18 +50143,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P147529_mk(s); + s.tmp_0 = music_setVolume__P174145_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1318; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P147531_mk(s); + s.tmp_0 = music_playTone__P174147_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; s.callLocIdx = 1319; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P147776_mk(s); + s.tmp_0 = settings_writeNumber__P174392_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1320; s.pc = 3; return s.tmp_0; @@ -50121,12 +50164,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P150723.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__P177339.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__P150723_mk(s) { +function scene_systemMenu_setVolume__P177339_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P150723, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P177339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -50136,7 +50179,7 @@ function scene_systemMenu_setVolume__P150723_mk(s) { -function music_playTone__P147531(s) { +function music_playTone__P174147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50146,7 +50189,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___166974 = undefined; + s.id___193590 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50171,7 +50214,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P150162_mk(s); + s.tmp_2 = music_playNoteCore__P176778_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -50179,7 +50222,7 @@ switch (step) { s.callLocIdx = 79; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P146339_mk(s); + s.tmp_0 = pause__P172955_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 80; s.pc = 6; return s.tmp_0; @@ -50187,13 +50230,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___150164 + 1); + r0 = (globals.playToneID___176780 + 1); s.tmp_0 = r0; - globals.playToneID___150164 = (r0); - s.id___166974 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P166980); + globals.playToneID___176780 = (r0); + s.id___193590 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P193596); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___166974); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___193590); 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); @@ -50202,17 +50245,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P147531.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} +music_playTone__P174147.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -function music_playTone__P147531_mk(s) { +function music_playTone__P174147_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P147531, depth: s.depth + 1, + parent: s, fn: music_playTone__P174147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___166974: undefined, + id___193590: undefined, arg0: undefined, arg1: undefined, } } @@ -50221,7 +50264,7 @@ function music_playTone__P147531_mk(s) { -function inline__P166980(s) { +function inline__P193596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50231,14 +50274,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___166981 = undefined; - s.now___166991 = undefined; - s.d___166994 = undefined; - s.t___166998 = undefined; + s.pos___193597 = undefined; + s.now___193607 = undefined; + s.d___193610 = undefined; + s.t___193614 = undefined; r0 = pxsim.control.millis(); - s.pos___166981 = (r0); + s.pos___193597 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___150164); + r0 = (s.caps[0] == globals.playToneID___176780); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -50254,30 +50297,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___166991 = (r0); - r0 = (s.pos___166981 - s.now___166991); - s.d___166994 = (r0); - s.tmp_0 = Math_min__P146063_mk(s); + s.now___193607 = (r0); + r0 = (s.pos___193597 - s.now___193607); + s.d___193610 = (r0); + s.tmp_0 = Math_min__P172679_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 81; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___166998 = (r0); + s.t___193614 = (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___166998); + r0 = (s.tmp_2 - s.t___193614); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___166981 + s.t___166998); - s.pos___166981 = (r0); - s.tmp_0 = music_playNoteCore__P150162_mk(s); - r0 = (s.d___166994 - 1); + r0 = (s.pos___193597 + s.t___193614); + s.pos___193597 = (r0); + s.tmp_0 = music_playNoteCore__P176778_mk(s); + r0 = (s.d___193610 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___166998; + s.tmp_0.arg2 = s.t___193614; s.callLocIdx = 82; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -50287,16 +50330,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P146339_mk(s); - r0 = (s.d___166994 + s.t___166998); + s.tmp_2 = pause__P172955_mk(s); + r0 = (s.d___193610 + s.t___193614); s.tmp_2.arg0 = r0; s.callLocIdx = 83; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P146339_mk(s); - r0 = (s.d___166994 + s.t___166998); + s.tmp_0 = pause__P172955_mk(s); + r0 = (s.d___193610 + s.t___193614); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -50310,27 +50353,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166980.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P193596.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P166980_mk(s) { +function inline__P193596_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166980, depth: s.depth + 1, + parent: s, fn: inline__P193596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___166981: undefined, - now___166991: undefined, - d___166994: undefined, - t___166998: undefined, + pos___193597: undefined, + now___193607: undefined, + d___193610: undefined, + t___193614: undefined, } } -function music_playNoteCore__P150162(s) { +function music_playNoteCore__P176778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50340,7 +50383,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___167028 = undefined; + s.buf___193644 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50348,16 +50391,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___167028 = (r0); - s.tmp_0 = music_addNote__P150169_mk(s); - s.tmp_0.arg0 = s.buf___167028; + s.buf___193644 = (r0); + s.tmp_0 = music_addNote__P176785_mk(s); + s.tmp_0.arg0 = s.buf___193644; 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__P147530_mk(s); + s.tmp_1 = music_volume__P174146_mk(s); s.callLocIdx = 77; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -50366,21 +50409,21 @@ switch (step) { s.callLocIdx = 78; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___167028); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___193644); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P150162.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__P176778.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__P150162_mk(s) { +function music_playNoteCore__P176778_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P150162, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P176778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___167028: undefined, + buf___193644: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -50390,7 +50433,7 @@ function music_playNoteCore__P150162_mk(s) { -function scene_systemMenu_volumeUp__P150724(s) { +function scene_systemMenu_volumeUp__P177340(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50400,22 +50443,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___166942 = undefined; - s.remainder___166945 = undefined; - s.newVolume___166948 = undefined; - s.tmp_0 = music_volume__P147530_mk(s); + s.v___193558 = undefined; + s.remainder___193561 = undefined; + s.newVolume___193564 = undefined; + s.tmp_0 = music_volume__P174146_mk(s); s.callLocIdx = 1321; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___166942 = (r0); - r0 = (s.v___166942 % 32); - s.remainder___166945 = (r0); - r0 = (s.v___166942 + 32); + s.v___193558 = (r0); + r0 = (s.v___193558 % 32); + s.remainder___193561 = (r0); + r0 = (s.v___193558 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___166945); - s.newVolume___166948 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P150723_mk(s); - s.tmp_0.arg0 = s.newVolume___166948; + r0 = (s.tmp_0 - s.remainder___193561); + s.newVolume___193564 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P177339_mk(s); + s.tmp_0.arg0 = s.newVolume___193564; s.callLocIdx = 1322; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -50423,24 +50466,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P150724.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__P177340.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__P150724_mk(s) { +function scene_systemMenu_volumeUp__P177340_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P150724, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P177340, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___166942: undefined, - remainder___166945: undefined, - newVolume___166948: undefined, + v___193558: undefined, + remainder___193561: undefined, + newVolume___193564: undefined, } } -function game_consoleOverlay_isVisible__P148603(s) { +function game_consoleOverlay_isVisible__P175219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50450,7 +50493,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___150765); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___177381); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -50460,12 +50503,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P148603.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__P175219.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__P148603_mk(s) { +function game_consoleOverlay_isVisible__P175219_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P148603, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P175219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50476,7 +50519,7 @@ function game_consoleOverlay_isVisible__P148603_mk(s) { -function scene_systemMenu_closeMenu__P148581(s) { +function scene_systemMenu_closeMenu__P175197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50486,20 +50529,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___150719); + r0 = pxsim_numops_toBoolDecr(globals.instance___177335); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P148580_mk(s); - s.tmp_0.arg0 = globals.instance___150719; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P175196_mk(s); + s.tmp_0.arg0 = globals.instance___177335; s.callLocIdx = 1337; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___150719 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P147901_mk(s); + globals.instance___177335 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P174517_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1338; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P148489_mk(s); + s.tmp_0 = game_popScene__P175105_mk(s); s.callLocIdx = 1339; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -50509,12 +50552,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P148581.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__P175197.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__P148581_mk(s) { +function scene_systemMenu_closeMenu__P175197_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P148581, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P175197, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -50523,7 +50566,7 @@ function scene_systemMenu_closeMenu__P148581_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P148580(s) { +function scene_systemMenu_PauseMenu_dispose__P175196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50538,15 +50581,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C148574_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C175190_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__P146042_mk(s); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P166422; + s.tmp_1.arg1 = inline__P193038; s.callLocIdx = 1314; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -50557,12 +50600,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P148580.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__P175196.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__P148580_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P175196_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P148580, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P175196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50573,7 +50616,7 @@ function scene_systemMenu_PauseMenu_dispose__P148580_mk(s) { -function inline__P166422(s) { +function inline__P193038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50587,7 +50630,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P148573_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P175189_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1313; s.pc = 1; return s.tmp_0; case 1: @@ -50596,12 +50639,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166422.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P193038.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} -function inline__P166422_mk(s) { +function inline__P193038_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166422, depth: s.depth + 1, + parent: s, fn: inline__P193038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -50611,7 +50654,7 @@ function inline__P166422_mk(s) { -function scene_systemMenu_MenuOption_dispose__P148573(s) { +function scene_systemMenu_MenuOption_dispose__P175189(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50626,12 +50669,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C148566_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C175182_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__P148043_mk(s); + s.tmp_1 = Sprite_destroy__P174659_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -50639,7 +50682,7 @@ switch (step) { s.callLocIdx = 1233; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P148043_mk(s); + s.tmp_0 = Sprite_destroy__P174659_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -50655,12 +50698,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P148573.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__P175189.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__P148573_mk(s) { +function scene_systemMenu_MenuOption_dispose__P175189_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P148573, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P175189, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50671,7 +50714,7 @@ function scene_systemMenu_MenuOption_dispose__P148573_mk(s) { -function scene_systemMenu_MenuOption_constructor__P148567(s) { +function scene_systemMenu_MenuOption_constructor__P175183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50689,7 +50732,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C148566_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C175182_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -50697,12 +50740,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P148567.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__P175183.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__P148567_mk(s) { +function scene_systemMenu_MenuOption_constructor__P175183_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P148567, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P175183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -50714,7 +50757,7 @@ function scene_systemMenu_MenuOption_constructor__P148567_mk(s) { -function helpers_screenBrightness__P147683(s) { +function helpers_screenBrightness__P174299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50728,16 +50771,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___147671; + r0 = globals.brightness___174287; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P147683.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P174299.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P147683_mk(s) { +function helpers_screenBrightness__P174299_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P147683, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P174299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -50746,7 +50789,7 @@ function helpers_screenBrightness__P147683_mk(s) { -function helpers_arrayConcat__P146046(s) { +function helpers_arrayConcat__P172662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50756,74 +50799,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___166662 = undefined; - s.value___166665 = undefined; - s.unnamed1026___U2 = undefined; - s.unnamed1027___U3 = undefined; - s.value___166672 = undefined; - s.unnamed1028___U5 = undefined; - s.unnamed1029___U6 = undefined; + s.out___193278 = undefined; + s.value___193281 = undefined; + s.unnamed1134___U2 = undefined; + s.unnamed1135___U3 = undefined; + s.value___193288 = undefined; + s.unnamed1136___U5 = undefined; + s.unnamed1137___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___166662 = (r0); - s.value___166665 = (undefined); - s.unnamed1026___U2 = (s.arg0); - s.unnamed1027___U3 = (0); + s.out___193278 = (r0); + s.value___193281 = (undefined); + s.unnamed1134___U2 = (s.arg0); + s.unnamed1135___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1027___U3; - r0 = pxsim_Array__length(s.unnamed1026___U2); + s.tmp_0 = r0 = s.unnamed1135___U3; + r0 = pxsim_Array__length(s.unnamed1134___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1026___U2, s.unnamed1027___U3); - s.value___166665 = (r0); - r0 = pxsim_Array__push(s.out___166662, s.value___166665); - r0 = (s.unnamed1027___U3 + 1); - s.unnamed1027___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1134___U2, s.unnamed1135___U3); + s.value___193281 = (r0); + r0 = pxsim_Array__push(s.out___193278, s.value___193281); + r0 = (s.unnamed1135___U3 + 1); + s.unnamed1135___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1026___U2 = (undefined); - s.value___166672 = (undefined); - s.unnamed1028___U5 = (s.arg1); - s.unnamed1029___U6 = (0); + s.unnamed1134___U2 = (undefined); + s.value___193288 = (undefined); + s.unnamed1136___U5 = (s.arg1); + s.unnamed1137___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1029___U6; - r0 = pxsim_Array__length(s.unnamed1028___U5); + s.tmp_0 = r0 = s.unnamed1137___U6; + r0 = pxsim_Array__length(s.unnamed1136___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1028___U5, s.unnamed1029___U6); - s.value___166672 = (r0); - r0 = pxsim_Array__push(s.out___166662, s.value___166672); - r0 = (s.unnamed1029___U6 + 1); - s.unnamed1029___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1136___U5, s.unnamed1137___U6); + s.value___193288 = (r0); + r0 = pxsim_Array__push(s.out___193278, s.value___193288); + r0 = (s.unnamed1137___U6 + 1); + s.unnamed1137___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed1028___U5 = (undefined); - r0 = s.out___166662; + s.unnamed1136___U5 = (undefined); + r0 = s.out___193278; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P146046.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__P172662.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__P146046_mk(s) { +function helpers_arrayConcat__P172662_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P146046, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P172662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___166662: undefined, - value___166665: undefined, - unnamed1026___U2: undefined, - unnamed1027___U3: undefined, - value___166672: undefined, - unnamed1028___U5: undefined, - unnamed1029___U6: undefined, + out___193278: undefined, + value___193281: undefined, + unnamed1134___U2: undefined, + unnamed1135___U3: undefined, + value___193288: undefined, + unnamed1136___U5: undefined, + unnamed1137___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -50832,7 +50875,7 @@ function helpers_arrayConcat__P146046_mk(s) { -function scene_systemMenu_PauseMenu_show__P148576(s) { +function scene_systemMenu_PauseMenu_show__P175192(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50842,14 +50885,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___165978 = undefined; - s.i___165979 = undefined; + s.current___192594 = undefined; + s.i___192595 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C148574_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C175190_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -50867,9 +50910,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___165979 = (0); + s.i___192595 = (0); case 1: - s.tmp_1 = r0 = s.i___165979; + s.tmp_1 = r0 = s.i___192595; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -50880,22 +50923,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___165979); - s.current___165978 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P148568_mk(s); - s.tmp_0.arg0 = s.current___165978; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___192595); + s.current___192594 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P175184_mk(s); + s.tmp_0.arg0 = s.current___192594; s.callLocIdx = 1247; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P148571_mk(s); - s.tmp_0.arg0 = s.current___165978; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P175187_mk(s); + s.tmp_0.arg0 = s.current___192594; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.callLocIdx = 1248; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P148569_mk(s); - s.tmp_0.arg0 = s.current___165978; + s.tmp_0 = scene_systemMenu_MenuOption_position__P175185_mk(s); + s.tmp_0.arg0 = s.current___192594; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -50910,7 +50953,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___165979; + s.tmp_5 = r0 = s.i___192595; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -50975,7 +51018,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___165979; + s.tmp_17 = r0 = s.i___192595; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -51029,98 +51072,98 @@ switch (step) { s.callLocIdx = 1257; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___165979 + 1); - s.i___165979 = (r0); + r0 = (s.i___192595 + 1); + s.i___192595 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P147901_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P174517_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 1258; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P166042); + r0 = pxsim_pxtcore_mkAction(1, inline__P192658); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P147857_mk(s); - s.tmp_1.arg0 = globals.A___147824; + s.tmp_1 = controller_Button_onEvent__P174473_mk(s); + s.tmp_1.arg0 = globals.A___174440; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1260; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P166062); + r0 = pxsim_pxtcore_mkAction(1, inline__P192678); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P147857_mk(s); - s.tmp_1.arg0 = globals.A___147824; + s.tmp_1 = controller_Button_onEvent__P174473_mk(s); + s.tmp_1.arg0 = globals.A___174440; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1262; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P147857_mk(s); - s.tmp_0.arg0 = globals.B___147825; + s.tmp_0 = controller_Button_onEvent__P174473_mk(s); + s.tmp_0.arg0 = globals.B___174441; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P166091; + s.tmp_0.arg2 = inline__P192707; s.callLocIdx = 1264; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P147857_mk(s); - s.tmp_0.arg0 = globals.menu___147830; + s.tmp_0 = controller_Button_onEvent__P174473_mk(s); + s.tmp_0.arg0 = globals.menu___174446; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P166096; + s.tmp_0.arg2 = inline__P192712; s.callLocIdx = 1266; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P166101); + r0 = pxsim_pxtcore_mkAction(1, inline__P192717); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P147857_mk(s); - s.tmp_1.arg0 = globals.up___147827; + s.tmp_1 = controller_Button_onEvent__P174473_mk(s); + s.tmp_1.arg0 = globals.up___174443; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1270; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P166113); + r0 = pxsim_pxtcore_mkAction(1, inline__P192729); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P147857_mk(s); - s.tmp_1.arg0 = globals.left___147826; + s.tmp_1 = controller_Button_onEvent__P174473_mk(s); + s.tmp_1.arg0 = globals.left___174442; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1273; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P166122); + r0 = pxsim_pxtcore_mkAction(1, inline__P192738); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P147857_mk(s); - s.tmp_1.arg0 = globals.down___147829; + s.tmp_1 = controller_Button_onEvent__P174473_mk(s); + s.tmp_1.arg0 = globals.down___174445; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1277; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P166138); + r0 = pxsim_pxtcore_mkAction(1, inline__P192754); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P147857_mk(s); - s.tmp_1.arg0 = globals.right___147828; + s.tmp_1 = controller_Button_onEvent__P174473_mk(s); + s.tmp_1.arg0 = globals.right___174444; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1280; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P166150); + r0 = pxsim_pxtcore_mkAction(1, inline__P192766); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P148499_mk(s); + s.tmp_1 = game_onShade__P175115_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1283; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P148578_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P175194_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1284; s.pc = 25; return s.tmp_0; @@ -51130,12 +51173,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P148576.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__P175192.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__P148576_mk(s) { +function scene_systemMenu_PauseMenu_show__P175192_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P148576, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P175192, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51162,8 +51205,8 @@ function scene_systemMenu_PauseMenu_show__P148576_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___165978: undefined, - i___165979: undefined, + current___192594: undefined, + i___192595: undefined, arg0: undefined, } } @@ -51171,7 +51214,7 @@ function scene_systemMenu_PauseMenu_show__P148576_mk(s) { -function inline__P166042(s) { +function inline__P192658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51209,7 +51252,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P148572_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P175188_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -51225,12 +51268,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166042.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P192658.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166042_mk(s) { +function inline__P192658_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166042, depth: s.depth + 1, + parent: s, fn: inline__P192658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51249,7 +51292,7 @@ function inline__P166042_mk(s) { -function inline__P166062(s) { +function inline__P192678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51287,7 +51330,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P148572_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P175188_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -51311,12 +51354,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166062.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P192678.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166062_mk(s) { +function inline__P192678_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166062, depth: s.depth + 1, + parent: s, fn: inline__P192678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51335,7 +51378,7 @@ function inline__P166062_mk(s) { -function inline__P166091(s) { +function inline__P192707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51345,7 +51388,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P148581_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P175197_mk(s); s.callLocIdx = 1263; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -51353,12 +51396,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166091.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P192707.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166091_mk(s) { +function inline__P192707_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166091, depth: s.depth + 1, + parent: s, fn: inline__P192707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -51367,7 +51410,7 @@ function inline__P166091_mk(s) { -function inline__P166096(s) { +function inline__P192712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51377,7 +51420,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P148581_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P175197_mk(s); s.callLocIdx = 1265; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -51385,12 +51428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166096.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P192712.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166096_mk(s) { +function inline__P192712_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166096, depth: s.depth + 1, + parent: s, fn: inline__P192712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -51399,7 +51442,7 @@ function inline__P166096_mk(s) { -function inline__P166101(s) { +function inline__P192717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51409,9 +51452,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P148578_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P175194_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P146062_mk(s); + s.tmp_1 = Math_max__P172678_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -51442,12 +51485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166101.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P192717.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166101_mk(s) { +function inline__P192717_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166101, depth: s.depth + 1, + parent: s, fn: inline__P192717, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51460,7 +51503,7 @@ function inline__P166101_mk(s) { -function inline__P166113(s) { +function inline__P192729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51470,9 +51513,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P148578_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P175194_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P146062_mk(s); + s.tmp_1 = Math_max__P172678_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -51489,12 +51532,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166113.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P192729.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166113_mk(s) { +function inline__P192729_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166113, depth: s.depth + 1, + parent: s, fn: inline__P192729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51505,7 +51548,7 @@ function inline__P166113_mk(s) { -function inline__P166122(s) { +function inline__P192738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51515,9 +51558,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P148578_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P175194_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P146063_mk(s); + s.tmp_1 = Math_min__P172679_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -51553,12 +51596,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166122.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P192738.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166122_mk(s) { +function inline__P192738_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166122, depth: s.depth + 1, + parent: s, fn: inline__P192738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51573,7 +51616,7 @@ function inline__P166122_mk(s) { -function inline__P166138(s) { +function inline__P192754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51583,9 +51626,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P148578_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P175194_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P146063_mk(s); + s.tmp_1 = Math_min__P172679_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -51607,12 +51650,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166138.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P192754.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166138_mk(s) { +function inline__P192754_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166138, depth: s.depth + 1, + parent: s, fn: inline__P192754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51625,7 +51668,7 @@ function inline__P166138_mk(s) { -function inline__P166150(s) { +function inline__P192766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51635,12 +51678,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P148577_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P175193_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1281; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P148579_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P175195_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1282; s.pc = 2; return s.tmp_0; case 2: @@ -51649,12 +51692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P166150.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P192766.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P166150_mk(s) { +function inline__P192766_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P166150, depth: s.depth + 1, + parent: s, fn: inline__P192766, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -51663,7 +51706,7 @@ function inline__P166150_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P148579(s) { +function scene_systemMenu_PauseMenu_drawText__P175195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51678,7 +51721,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C148574_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C175190_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -51690,11 +51733,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P147675_mk(s); - s.tmp_3.arg0 = globals.screen___147749; + s.tmp_3 = helpers_imageFillRect__P174291_mk(s); + s.tmp_3.arg0 = globals.screen___174365; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -51716,8 +51759,8 @@ switch (step) { s.callLocIdx = 1296; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P147706_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imagePrintCenter__P174322_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -51751,8 +51794,8 @@ switch (step) { s.callLocIdx = 1299; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -51770,9 +51813,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -51796,8 +51839,8 @@ switch (step) { s.callLocIdx = 1302; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -51826,7 +51869,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -51878,8 +51921,8 @@ switch (step) { s.callLocIdx = 1308; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P147706_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imagePrintCenter__P174322_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -51938,12 +51981,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P148579.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__P175195.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__P148579_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P175195_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P148579, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P175195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51962,7 +52005,7 @@ function scene_systemMenu_PauseMenu_drawText__P148579_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P148578(s) { +function scene_systemMenu_PauseMenu_setSelection__P175194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51978,7 +52021,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C148574_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C175190_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -51998,7 +52041,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__P148572_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P175188_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -52020,9 +52063,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C147850_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___147824; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C174466_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___174440; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C174466_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: @@ -52037,7 +52080,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P148572_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P175188_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -52050,7 +52093,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P150722_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P177338_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1294; s.pc = 13; return s.tmp_0; case 13: @@ -52060,12 +52103,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P148578.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__P175194.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__P148578_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P175194_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P148578, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P175194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52084,7 +52127,7 @@ function scene_systemMenu_PauseMenu_setSelection__P148578_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P150722(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P177338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52094,13 +52137,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___166368 = undefined; + s.row___192984 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C148574_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C175190_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -52118,17 +52161,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___166368 = (r0); + s.row___192984 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___166368 === s.tmp_1); + r0 = (s.row___192984 === 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___166368 - 1); + r0 = (s.row___192984 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -52143,7 +52186,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___166368 > s.tmp_6); + r0 = (s.row___192984 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -52203,12 +52246,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P150722.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__P177338.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__P150722_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P177338_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P150722, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P177338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52220,7 +52263,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P150722_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___166368: undefined, + row___192984: undefined, arg0: undefined, } } @@ -52228,7 +52271,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P150722_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P148577(s) { +function scene_systemMenu_PauseMenu_onUpdate__P175193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52238,22 +52281,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___166228 = undefined; - s.i___166232 = undefined; - s.dt___166261 = undefined; + s.t___192844 = undefined; + s.i___192848 = undefined; + s.dt___192877 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C148574_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C175190_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___166228 = (r0); - s.i___166232 = (0); + s.t___192844 = (r0); + s.i___192848 = (0); case 1: - s.tmp_1 = r0 = s.i___166232; + s.tmp_1 = r0 = s.i___192848; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -52262,13 +52305,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__P148570_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P175186_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___166232); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___192848); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___166228; - s.tmp_11 = r0 = s.i___166232; + s.tmp_8 = r0 = s.t___192844; + s.tmp_11 = r0 = s.i___192848; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -52296,11 +52339,11 @@ switch (step) { s.callLocIdx = 1286; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___166232 + 1); - s.i___166232 = (r0); + r0 = (s.i___192848 + 1); + s.i___192848 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P148484_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 1287; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -52309,7 +52352,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___166261 = (r0); + s.dt___192877 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -52321,7 +52364,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___166261 * 100); + r0 = (s.dt___192877 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -52339,7 +52382,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___166261 * 100); + r0 = (s.dt___192877 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -52349,7 +52392,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P146060_mk(s); + s.tmp_2 = Math_abs__P172676_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -52369,8 +52412,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P148320_mk(s); - s.tmp_1 = game_currentScene__P148484_mk(s); + s.tmp_0 = scene_Camera_offsetY__P174936_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 1290; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -52386,12 +52429,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P148577.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__P175193.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__P148577_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P175193_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P148577, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P175193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52407,9 +52450,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P148577_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___166228: undefined, - i___166232: undefined, - dt___166261: undefined, + t___192844: undefined, + i___192848: undefined, + dt___192877: undefined, arg0: undefined, } } @@ -52417,7 +52460,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P148577_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P148570(s) { +function scene_systemMenu_MenuOption_setOffset__P175186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52433,8 +52476,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C148566_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P148021_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C175182_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P174637_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -52444,10 +52487,10 @@ switch (step) { s.callLocIdx = 1228; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P147982_mk(s); + s.tmp_0 = Sprite_y__P174598_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P147981_mk(s); + s.tmp_1 = Sprite_y__P174597_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1229; s.pc = 3; return s.tmp_1; @@ -52461,12 +52504,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P148570.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__P175186.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__P148570_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P175186_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P148570, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P175186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52478,7 +52521,7 @@ function scene_systemMenu_MenuOption_setOffset__P148570_mk(s) { -function scene_systemMenu_MenuOption_setState__P148572(s) { +function scene_systemMenu_MenuOption_setState__P175188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52494,7 +52537,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C148566_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C175182_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -52505,7 +52548,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P150721_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P177337_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1232; s.pc = 4; return s.tmp_0; case 4: @@ -52515,12 +52558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P148572.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__P175188.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__P148572_mk(s) { +function scene_systemMenu_MenuOption_setState__P175188_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P148572, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P175188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52532,7 +52575,7 @@ function scene_systemMenu_MenuOption_setState__P148572_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P150721(s) { +function scene_systemMenu_MenuOption_updateCard__P177337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52547,7 +52590,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C148566_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C175182_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -52570,7 +52613,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P148010_mk(s); + s.tmp_4 = Sprite_setImage__P174626_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -52592,7 +52635,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P148010_mk(s); + s.tmp_0 = Sprite_setImage__P174626_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -52614,7 +52657,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P148010_mk(s); + s.tmp_0 = Sprite_setImage__P174626_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -52635,10 +52678,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P147980_mk(s); + s.tmp_0 = Sprite_x__P174596_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P147979_mk(s); + s.tmp_1 = Sprite_x__P174595_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1241; s.pc = 15; return s.tmp_1; @@ -52648,10 +52691,10 @@ switch (step) { s.callLocIdx = 1242; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P147982_mk(s); + s.tmp_0 = Sprite_y__P174598_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P147981_mk(s); + s.tmp_1 = Sprite_y__P174597_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1243; s.pc = 17; return s.tmp_1; @@ -52666,12 +52709,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P150721.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__P177337.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__P150721_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P177337_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P150721, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P177337, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52686,7 +52729,7 @@ function scene_systemMenu_MenuOption_updateCard__P150721_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P148571(s) { +function scene_systemMenu_MenuOption_setTheme__P175187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52702,9 +52745,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C148566_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C175182_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P150721_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P177337_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1231; s.pc = 1; return s.tmp_0; case 1: @@ -52713,12 +52756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P148571.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__P175187.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__P148571_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P175187_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P148571, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P175187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -52729,7 +52772,7 @@ function scene_systemMenu_MenuOption_setTheme__P148571_mk(s) { -function scene_systemMenu_MenuOption_position__P148569(s) { +function scene_systemMenu_MenuOption_position__P175185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52746,26 +52789,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C148566_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C175182_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P148017_mk(s); + s.tmp_0 = Sprite_left__P174633_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1222; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P148021_mk(s); + s.tmp_0 = Sprite_top__P174637_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1223; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P147980_mk(s); + s.tmp_0 = Sprite_x__P174596_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P147979_mk(s); + s.tmp_1 = Sprite_x__P174595_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1224; s.pc = 4; return s.tmp_1; @@ -52775,10 +52818,10 @@ switch (step) { s.callLocIdx = 1225; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P147982_mk(s); + s.tmp_0 = Sprite_y__P174598_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P147981_mk(s); + s.tmp_1 = Sprite_y__P174597_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1226; s.pc = 6; return s.tmp_1; @@ -52792,12 +52835,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P148569.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__P175185.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__P148569_mk(s) { +function scene_systemMenu_MenuOption_position__P175185_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P148569, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P175185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52810,7 +52853,7 @@ function scene_systemMenu_MenuOption_position__P148569_mk(s) { -function scene_systemMenu_MenuOption_show__P148568(s) { +function scene_systemMenu_MenuOption_show__P175184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52825,7 +52868,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C148566_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C175182_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -52845,12 +52888,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___148590; + r0 = globals.CARD_NORMAL___175206; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P147921_mk(s); + s.tmp_5 = sprites_create__P174537_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; s.callLocIdx = 1218; s.pc = 4; return s.tmp_5; @@ -52873,7 +52916,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P147921_mk(s); + s.tmp_2 = sprites_create__P174537_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -52901,12 +52944,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P148568.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__P175184.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__P148568_mk(s) { +function scene_systemMenu_MenuOption_show__P175184_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P148568, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P175184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52921,7 +52964,7 @@ function scene_systemMenu_MenuOption_show__P148568_mk(s) { -function game_onShade__P148499(s) { +function game_onShade__P175115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52935,7 +52978,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P150475_mk(s); + s.tmp_0 = game_init__P177091_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1211; s.pc = 4; return s.tmp_0; case 4: @@ -52949,7 +52992,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P148335_mk(s); + s.tmp_2 = scene_createRenderable__P174951_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -52961,12 +53004,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P148499.info = {"start":9934,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P175115.info = {"start":9934,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P148499_mk(s) { +function game_onShade__P175115_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P148499, depth: s.depth + 1, + parent: s, fn: game_onShade__P175115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52978,7 +53021,7 @@ function game_onShade__P148499_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P148575(s) { +function scene_systemMenu_PauseMenu_constructor__P175191(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52995,7 +53038,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C148574_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C175190_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -53003,8 +53046,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P148583_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___148590); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P175199_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___175206); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -53023,12 +53066,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P148575.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__P175191.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__P148575_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P175191_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P148575, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P175191, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53042,7 +53085,7 @@ function scene_systemMenu_PauseMenu_constructor__P148575_mk(s) { -function scene_systemMenu_buildMenuTheme__P148583(s) { +function scene_systemMenu_buildMenuTheme__P175199(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53052,7 +53095,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___167077 = undefined; + s.cardsPerRow___193693 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -53060,19 +53103,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); 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___167077 = (r0); + s.cardsPerRow___193693 = (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___147692; + r0 = globals.font8___174308; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -53083,7 +53126,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P147695_mk(s); + s.tmp_1 = image_doubledFont__P174311_mk(s); s.tmp_1.arg0 = s.arg2; s.callLocIdx = 1355; s.pc = 5; return s.tmp_1; case 5: @@ -53096,12 +53139,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___167077); - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___193693); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_3 = r0; - r0 = (s.cardsPerRow___167077 * s.arg0); + r0 = (s.cardsPerRow___193693 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___167077 - 1); + r0 = (s.cardsPerRow___193693 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -53132,7 +53175,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___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -53153,19 +53196,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___148591); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___148592); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___148590); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___175207); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___175208); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___175206); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P148583.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__P175199.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__P148583_mk(s) { +function scene_systemMenu_buildMenuTheme__P175199_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P148583, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P175199, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53184,7 +53227,7 @@ function scene_systemMenu_buildMenuTheme__P148583_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___167077: undefined, + cardsPerRow___193693: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -53195,7 +53238,7 @@ function scene_systemMenu_buildMenuTheme__P148583_mk(s) { -function image_doubledFont__P147695(s) { +function image_doubledFont__P174311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53209,7 +53252,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P147696_mk(s); + s.tmp_0 = image_scaledFont__P174312_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 148; s.pc = 1; return s.tmp_0; @@ -53218,12 +53261,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P147695.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__P174311.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__P147695_mk(s) { +function image_doubledFont__P174311_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P147695, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P174311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53233,7 +53276,7 @@ function image_doubledFont__P147695_mk(s) { -function image_scaledFont__P147696(s) { +function image_scaledFont__P174312(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53348,12 +53391,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P147696.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__P174312.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__P147696_mk(s) { +function image_scaledFont__P174312_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P147696, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P174312, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53379,7 +53422,7 @@ function image_scaledFont__P147696_mk(s) { -function scene_systemMenu_initScreen__P150734(s) { +function scene_systemMenu_initScreen__P177350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53389,20 +53432,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___167157 = undefined; - s.tmp_0 = settings_readNumber__P147780_mk(s); + s.brightness___193773 = undefined; + s.tmp_0 = settings_readNumber__P174396_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 1364; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___167157 = (r0); - r0 = (s.brightness___167157 !== undefined); + s.brightness___193773 = (r0); + r0 = (s.brightness___193773 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P147682_mk(s); - s.tmp_1.arg0 = globals.screen___147749; - s.tmp_1.arg1 = s.brightness___167157; + s.tmp_1 = helpers_setScreenBrightness__P174298_mk(s); + s.tmp_1.arg0 = globals.screen___174365; + s.tmp_1.arg1 = s.brightness___193773; s.callLocIdx = 1365; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -53412,23 +53455,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P150734.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__P177350.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__P150734_mk(s) { +function scene_systemMenu_initScreen__P177350_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P150734, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P177350, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___167157: undefined, + brightness___193773: undefined, } } -function scene_systemMenu_initVolume__P150733(s) { +function scene_systemMenu_initVolume__P177349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53438,19 +53481,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___167167 = undefined; - s.tmp_0 = settings_readNumber__P147780_mk(s); + s.vol___193783 = undefined; + s.tmp_0 = settings_readNumber__P174396_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 1362; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___167167 = (r0); - r0 = (s.vol___167167 !== undefined); + s.vol___193783 = (r0); + r0 = (s.vol___193783 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P147529_mk(s); - s.tmp_1.arg0 = s.vol___167167; + s.tmp_1 = music_setVolume__P174145_mk(s); + s.tmp_1.arg0 = s.vol___193783; s.callLocIdx = 1363; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -53460,23 +53503,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P150733.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__P177349.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__P150733_mk(s) { +function scene_systemMenu_initVolume__P177349_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P150733, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P177349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___167167: undefined, + vol___193783: undefined, } } -function game_currentScene__P148484(s) { +function game_currentScene__P175100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53486,21 +53529,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P150475_mk(s); + s.tmp_0 = game_init__P177091_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 1159; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___150467; + r0 = globals._scene___177083; return leave(s, r0) default: oops() } } } -game_currentScene__P148484.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P175100.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function game_currentScene__P148484_mk(s) { +function game_currentScene__P175100_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P148484, depth: s.depth + 1, + parent: s, fn: game_currentScene__P175100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -53509,7 +53552,7 @@ function game_currentScene__P148484_mk(s) { -function game_addScenePopHandler__P148503(s) { +function game_addScenePopHandler__P175119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53523,35 +53566,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___150470); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___177086); 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___150470 = (r0); + globals._scenePopHandlers___177086 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___150470, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___177086, 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___150470, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___177086, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P148503.info = {"start":11754,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P175119.info = {"start":11754,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P148503_mk(s) { +function game_addScenePopHandler__P175119_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P148503, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P175119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53562,7 +53605,7 @@ function game_addScenePopHandler__P148503_mk(s) { -function game_addScenePushHandler__P148501(s) { +function game_addScenePushHandler__P175117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53576,35 +53619,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___150469); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___177085); 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___150469 = (r0); + globals._scenePushHandlers___177085 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___150469, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___177085, 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___150469, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___177085, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P148501.info = {"start":10753,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P175117.info = {"start":10753,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P148501_mk(s) { +function game_addScenePushHandler__P175117_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P148501, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P175117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53615,7 +53658,7 @@ function game_addScenePushHandler__P148501_mk(s) { -function Fx8__P146081(s) { +function Fx8__P172697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53635,12 +53678,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P146081.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P172697.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__P146081_mk(s) { +function Fx8__P172697_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P146081, depth: s.depth + 1, + parent: s, fn: Fx8__P172697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53650,7 +53693,7 @@ function Fx8__P146081_mk(s) { -function SpriteKind_create__P148083(s) { +function SpriteKind_create__P174699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53660,26 +53703,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___150305 === undefined); + r0 = (globals.nextKind___176921 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___150305 = (1000); + globals.nextKind___176921 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___150305; + s.tmp_0 = r0 = globals.nextKind___176921; r0 = (s.tmp_0 + 1); - globals.nextKind___150305 = (r0); + globals.nextKind___176921 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P148083.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P174699.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} -function SpriteKind_create__P148083_mk(s) { +function SpriteKind_create__P174699_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P148083, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P174699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -53688,7 +53731,7 @@ function SpriteKind_create__P148083_mk(s) { -function controller_Button_constructor__P147856(s) { +function controller_Button_constructor__P174472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53705,7 +53748,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C147850_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C174466_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -53715,13 +53758,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P167243); + r0 = pxsim_pxtcore_mkAction(1, inline__P193859); 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, inline__P167250); + r0 = pxsim_pxtcore_mkAction(1, inline__P193866); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -53740,12 +53783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P147856.info = {"start":1589,"length":863,"line":67,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","id","configKey"]} +controller_Button_constructor__P174472.info = {"start":1589,"length":863,"line":67,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -function controller_Button_constructor__P147856_mk(s) { +function controller_Button_constructor__P174472_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P147856, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P174472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53759,7 +53802,7 @@ function controller_Button_constructor__P147856_mk(s) { -function inline__P167243(s) { +function inline__P193859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53769,7 +53812,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P147861_mk(s); + s.tmp_0 = controller_Button_setPressed__P174477_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 199; s.pc = 1; return s.tmp_0; @@ -53779,12 +53822,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P167243.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P193859.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P167243_mk(s) { +function inline__P193859_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P167243, depth: s.depth + 1, + parent: s, fn: inline__P193859, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -53793,7 +53836,7 @@ function inline__P167243_mk(s) { -function inline__P167250(s) { +function inline__P193866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53803,7 +53846,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P147861_mk(s); + s.tmp_0 = controller_Button_setPressed__P174477_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 200; s.pc = 1; return s.tmp_0; @@ -53813,12 +53856,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P167250.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P193866.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P167250_mk(s) { +function inline__P193866_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P167250, depth: s.depth + 1, + parent: s, fn: inline__P193866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -53827,7 +53870,7 @@ function inline__P167250_mk(s) { -function controller_setupButton__P150287(s) { +function controller_setupButton__P176903(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53846,12 +53889,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P150287.info = {"start":983,"length":93,"line":47,"column":4,"endLine":49,"endColumn":6,"fileName":"pxt_modules/game/controller.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} +controller_setupButton__P176903.info = {"start":983,"length":93,"line":47,"column":4,"endLine":49,"endColumn":6,"fileName":"pxt_modules/game/controller.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} -function controller_setupButton__P150287_mk(s) { +function controller_setupButton__P176903_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P150287, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P176903, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -53861,7 +53904,7 @@ function controller_setupButton__P150287_mk(s) { -function controller_Button_setPressed__P147861(s) { +function controller_Button_setPressed__P174477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53877,14 +53920,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C147850_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C174466_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__P147652_mk(s); + s.tmp_2 = power_poke__P174268_mk(s); s.callLocIdx = 203; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -53892,7 +53935,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__P147890_mk(s); + s.tmp_1 = controller_Controller_connected__P174506_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -53907,7 +53950,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__P150289_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P176905_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 205; s.pc = 9; return s.tmp_0; case 9: @@ -53915,7 +53958,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P150288_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P176904_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 206; s.pc = 10; return s.tmp_0; case 10: @@ -53927,12 +53970,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P147861.info = {"start":4600,"length":507,"line":148,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"setPressed","argumentNames":["this","pressed"]} +controller_Button_setPressed__P174477.info = {"start":4600,"length":507,"line":148,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -function controller_Button_setPressed__P147861_mk(s) { +function controller_Button_setPressed__P174477_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P147861, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P174477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53945,7 +53988,7 @@ function controller_Button_setPressed__P147861_mk(s) { -function controller_Button_raiseButtonDown__P150289(s) { +function controller_Button_raiseButtonDown__P176905(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53960,8 +54003,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C147850_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___150281); + if (!checkSubtype(r0, controller_Button__C174466_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___176897); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -53976,12 +54019,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P150289.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} +controller_Button_raiseButtonDown__P176905.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function controller_Button_raiseButtonDown__P150289_mk(s) { +function controller_Button_raiseButtonDown__P176905_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P150289, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P176905, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53991,7 +54034,7 @@ function controller_Button_raiseButtonDown__P150289_mk(s) { -function controller_Button_raiseButtonUp__P150288(s) { +function controller_Button_raiseButtonUp__P176904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54006,8 +54049,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C147850_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___150281); + if (!checkSubtype(r0, controller_Button__C174466_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___176897); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -54022,12 +54065,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P150288.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} +controller_Button_raiseButtonUp__P176904.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function controller_Button_raiseButtonUp__P150288_mk(s) { +function controller_Button_raiseButtonUp__P176904_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P150288, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P176904, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -54037,7 +54080,7 @@ function controller_Button_raiseButtonUp__P150288_mk(s) { -function controller_Controller_connected__P147890(s) { +function controller_Controller_connected__P174506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54053,7 +54096,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -54081,12 +54124,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P147890.info = {"start":12550,"length":261,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} +controller_Controller_connected__P174506.info = {"start":12550,"length":261,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} -function controller_Controller_connected__P147890_mk(s) { +function controller_Controller_connected__P174506_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P147890, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P174506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54099,7 +54142,7 @@ function controller_Controller_connected__P147890_mk(s) { -function controller_Controller_id__P147877(s) { +function controller_Controller_id__P174493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54114,18 +54157,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P147877.info = {"start":8841,"length":49,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} -controller_Controller_id__P147877.isGetter = true; +controller_Controller_id__P174493.info = {"start":8841,"length":49,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} +controller_Controller_id__P174493.isGetter = true; -function controller_Controller_id__P147877_mk(s) { +function controller_Controller_id__P174493_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P147877, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P174493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -54134,7 +54177,7 @@ function controller_Controller_id__P147877_mk(s) { -function controller_Controller_connected__P147889(s) { +function controller_Controller_connected__P174505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54149,18 +54192,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C147870_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C174486_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P147889.info = {"start":12477,"length":63,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} -controller_Controller_connected__P147889.isGetter = true; +controller_Controller_connected__P174505.info = {"start":12477,"length":63,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} +controller_Controller_connected__P174505.isGetter = true; -function controller_Controller_connected__P147889_mk(s) { +function controller_Controller_connected__P174505_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P147889, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P174505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -54169,7 +54212,7 @@ function controller_Controller_connected__P147889_mk(s) { -function settings_initScopes__P150254(s) { +function settings_initScopes__P176870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54179,17 +54222,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___167328 = undefined; - s.tmp_1 = settings_runNumber__P147772_mk(s); + s.rn___193944 = undefined; + s.tmp_1 = settings_runNumber__P174388_mk(s); s.callLocIdx = 177; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___167328 = (r0); - s.tmp_0 = settings_writeNumber__P147776_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___150242; - s.tmp_0.arg1 = s.rn___167328; + s.rn___193944 = (r0); + s.tmp_0 = settings_writeNumber__P174392_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___176858; + s.tmp_0.arg1 = s.rn___193944; s.callLocIdx = 178; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -54198,8 +54241,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___167328); - s.tmp_0 = settings_setScope__P150253_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___193944); + s.tmp_0 = settings_setScope__P176869_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 179; s.pc = 3; return s.tmp_0; @@ -54209,23 +54252,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P150254.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P176870.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__P150254_mk(s) { +function settings_initScopes__P176870_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P150254, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P176870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___167328: undefined, + rn___193944: undefined, } } -function settings_setScope__P150253(s) { +function settings_setScope__P176869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54235,7 +54278,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___167357 = undefined; + s.currScope___193973 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -54260,19 +54303,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P147779_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___150243; + s.tmp_0 = settings_readString__P174395_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___176859; s.callLocIdx = 175; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___167357 = (r0); - r0 = (s.currScope___167357 != s.arg0); + s.currScope___193973 = (r0); + r0 = (s.currScope___193973 != 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__P147775_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___150243; + s.tmp_0 = settings_writeString__P174391_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___176859; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 176; s.pc = 8; return s.tmp_0; case 8: @@ -54283,18 +54326,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P150253.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__P176869.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__P150253_mk(s) { +function settings_setScope__P176869_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P150253, depth: s.depth + 1, + parent: s, fn: settings_setScope__P176869, 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___167357: undefined, + currScope___193973: undefined, arg0: undefined, } } @@ -54302,7 +54345,7 @@ function settings_setScope__P150253_mk(s) { -function settings_readString__P147779(s) { +function settings_readString__P174395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54312,14 +54355,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___167378 = undefined; + s.buf___193994 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___167378 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___167378); + s.buf___193994 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___193994); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -54329,7 +54372,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___167378); + r0 = pxsim.BufferMethods.toString(s.buf___193994); { step = 3; continue; } case 2: r0 = undefined; @@ -54337,16 +54380,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P147779.info = {"start":2649,"length":177,"line":103,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} +settings_readString__P174395.info = {"start":2649,"length":177,"line":103,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} -function settings_readString__P147779_mk(s) { +function settings_readString__P174395_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P147779, depth: s.depth + 1, + parent: s, fn: settings_readString__P174395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___167378: undefined, + buf___193994: undefined, arg0: undefined, } } @@ -54354,7 +54397,7 @@ function settings_readString__P147779_mk(s) { -function settings_writeString__P147775(s) { +function settings_writeString__P174391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54369,7 +54412,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P147774_mk(s); + s.tmp_0 = settings_writeBuffer__P174390_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -54380,12 +54423,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P147775.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__P174391.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__P147775_mk(s) { +function settings_writeString__P174391_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P147775, depth: s.depth + 1, + parent: s, fn: settings_writeString__P174391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -54396,7 +54439,7 @@ function settings_writeString__P147775_mk(s) { -function settings_runNumber__P147772(s) { +function settings_runNumber__P174388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54406,8 +54449,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P147780_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___150242; + s.tmp_1 = settings_readNumber__P174396_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___176858; s.callLocIdx = 174; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -54425,12 +54468,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P147772.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P174388.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__P147772_mk(s) { +function settings_runNumber__P174388_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P147772, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P174388, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54441,7 +54484,7 @@ function settings_runNumber__P147772_mk(s) { -function control___screen_setupUpdate__P147711(s) { +function control___screen_setupUpdate__P174327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54455,8 +54498,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___150211 = (true); - globals.__update___150209 = (s.arg0); + globals.__updated___176827 = (true); + globals.__update___176825 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -54467,12 +54510,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P147711.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__P174327.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__P147711_mk(s) { +function control___screen_setupUpdate__P174327_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P147711, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P174327, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -54482,7 +54525,7 @@ function control___screen_setupUpdate__P147711_mk(s) { -function control___screen_update__P147710(s) { +function control___screen_update__P174326(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54492,27 +54535,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___150209); + r0 = pxsim_numops_toBoolDecr(globals.__update___176825); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___150209; + s.tmp_0.argL = globals.__update___176825; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 169; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___150211 = (true); + globals.__updated___176827 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P147710.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__P174326.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__P147710_mk(s) { +function control___screen_update__P174326_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P147710, depth: s.depth + 1, + parent: s, fn: control___screen_update__P174326, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -54521,7 +54564,7 @@ function control___screen_update__P147710_mk(s) { -function pause__P146339(s) { +function pause__P172955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54545,12 +54588,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P146339.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P172955.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__P146339_mk(s) { +function pause__P172955_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P146339, depth: s.depth + 1, + parent: s, fn: pause__P172955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -54559,7 +54602,7 @@ function pause__P146339_mk(s) { -function game_SplashDialog_drawTextCore__P148467(s) { +function game_SplashDialog_drawTextCore__P175083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54569,17 +54612,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scrollMax___167405 = undefined; - s.left___167448 = undefined; - s.ysub___167493 = undefined; - s.left___167504 = undefined; + s.scrollMax___194021 = undefined; + s.left___194064 = undefined; + s.ysub___194109 = undefined; + s.left___194120 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C148457_VT)) failedCast(r0); - s.tmp_0 = Math_max__P146062_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C175073_VT)) failedCast(r0); + s.tmp_0 = Math_max__P172678_mk(s); r0 = s.arg0.fields["maxOffset"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; @@ -54587,7 +54630,7 @@ switch (step) { s.callLocIdx = 1128; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.scrollMax___167405 = (r0); + s.scrollMax___194021 = (r0); r0 = s.arg0.fields["timer"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -54597,7 +54640,7 @@ switch (step) { s.tmp_2 = r0 = s.arg0; r0 = s.tmp_2.fields["timer"]; s.tmp_4 = r0; - s.tmp_7 = game_eventContext__P148487_mk(s); + s.tmp_7 = game_eventContext__P175103_mk(s); s.callLocIdx = 1129; s.pc = 16; return s.tmp_7; case 16: r0 = s.retval; @@ -54637,11 +54680,11 @@ switch (step) { r0 = (s.tmp_0).fields["offset"] = (s.tmp_1); r0 = s.arg0.fields["offset"]; s.tmp_1 = r0; - r0 = (s.tmp_1 >= s.scrollMax___167405); + r0 = (s.tmp_1 >= s.scrollMax___194021); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.arg0).fields["offset"] = (s.scrollMax___167405); + r0 = (s.arg0).fields["offset"] = (s.scrollMax___194021); r0 = (s.arg0).fields["timer"] = (2); case 6: case 7: @@ -54681,13 +54724,13 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___167448 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); + s.left___194064 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___167448; + s.tmp_0.arg2 = s.left___194064; s.tmp_0.arg3 = 10; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; @@ -54699,7 +54742,7 @@ switch (step) { r0 = s.retval; { step = 10; continue; } case 9: - s.tmp_0 = helpers_imagePrint__P147707_mk(s); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; @@ -54741,7 +54784,7 @@ switch (step) { r0 = (10 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 + 2); - s.ysub___167493 = (r0); + s.ysub___194109 = (r0); r0 = s.arg0.fields["maxSubOffset"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); @@ -54777,14 +54820,14 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___167504 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); + s.left___194120 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["subtext"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___167504; - s.tmp_0.arg3 = s.ysub___167493; + s.tmp_0.arg2 = s.left___194120; + s.tmp_0.arg3 = s.ysub___194109; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; @@ -54795,14 +54838,14 @@ switch (step) { r0 = s.retval; { step = 12; continue; } case 11: - s.tmp_0 = helpers_imagePrint__P147707_mk(s); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["subtext"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - s.tmp_3 = Math_min__P146063_mk(s); + s.tmp_3 = Math_min__P172679_mk(s); r0 = s.arg0.fields["offset"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; @@ -54813,7 +54856,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.ysub___167493; + s.tmp_0.arg3 = s.ysub___194109; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; @@ -54825,7 +54868,7 @@ switch (step) { case 12: case 13: case 14: - s.tmp_0 = game_BaseDialog_drawBorder__P150440_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P177056_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1139; s.pc = 25; return s.tmp_0; case 25: @@ -54834,12 +54877,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_drawTextCore__P148467.info = {"start":9357,"length":1616,"line":293,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_SplashDialog_drawTextCore__P175083.info = {"start":9357,"length":1616,"line":293,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_SplashDialog_drawTextCore__P148467_mk(s) { +function game_SplashDialog_drawTextCore__P175083_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_drawTextCore__P148467, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_drawTextCore__P175083, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54852,10 +54895,10 @@ function game_SplashDialog_drawTextCore__P148467_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scrollMax___167405: undefined, - left___167448: undefined, - ysub___167493: undefined, - left___167504: undefined, + scrollMax___194021: undefined, + left___194064: undefined, + ysub___194109: undefined, + left___194120: undefined, arg0: undefined, } } @@ -54863,7 +54906,7 @@ function game_SplashDialog_drawTextCore__P148467_mk(s) { -function game_BaseDialog_setText__P148443(s) { +function game_BaseDialog_setText__P175059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54879,17 +54922,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C148429_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C175045_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setText__P148443.info = {"start":1701,"length":77,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} +game_BaseDialog_setText__P175059.info = {"start":1701,"length":77,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} -function game_BaseDialog_setText__P148443_mk(s) { +function game_BaseDialog_setText__P175059_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setText__P148443, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setText__P175059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -54899,7 +54942,7 @@ function game_BaseDialog_setText__P148443_mk(s) { -function animation_CubicCurveTo_getEndPoint__P148852(s) { +function animation_CubicCurveTo_getEndPoint__P175468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54914,17 +54957,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_CubicCurveTo__C148848_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_CubicCurveTo__C175464_VT)) failedCast(r0); r0 = s.arg0.fields["p3"]; return leave(s, r0) default: oops() } } } -animation_CubicCurveTo_getEndPoint__P148852.info = {"start":15820,"length":60,"line":405,"column":8,"endLine":407,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} +animation_CubicCurveTo_getEndPoint__P175468.info = {"start":15820,"length":60,"line":405,"column":8,"endLine":407,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} -function animation_CubicCurveTo_getEndPoint__P148852_mk(s) { +function animation_CubicCurveTo_getEndPoint__P175468_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_CubicCurveTo_getEndPoint__P148852, depth: s.depth + 1, + parent: s, fn: animation_CubicCurveTo_getEndPoint__P175468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -54933,7 +54976,7 @@ function animation_CubicCurveTo_getEndPoint__P148852_mk(s) { -function animation_CubicCurveTo_getLastControlPoint__P148851(s) { +function animation_CubicCurveTo_getLastControlPoint__P175467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54948,17 +54991,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_CubicCurveTo__C148848_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_CubicCurveTo__C175464_VT)) failedCast(r0); r0 = s.arg0.fields["p2"]; return leave(s, r0) default: oops() } } } -animation_CubicCurveTo_getLastControlPoint__P148851.info = {"start":15742,"length":68,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getLastControlPoint","argumentNames":["this"]} +animation_CubicCurveTo_getLastControlPoint__P175467.info = {"start":15742,"length":68,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getLastControlPoint","argumentNames":["this"]} -function animation_CubicCurveTo_getLastControlPoint__P148851_mk(s) { +function animation_CubicCurveTo_getLastControlPoint__P175467_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_CubicCurveTo_getLastControlPoint__P148851, depth: s.depth + 1, + parent: s, fn: animation_CubicCurveTo_getLastControlPoint__P175467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -54967,7 +55010,7 @@ function animation_CubicCurveTo_getLastControlPoint__P148851_mk(s) { -function animation_QuadraticCurveTo_getEndPoint__P148847(s) { +function animation_QuadraticCurveTo_getEndPoint__P175463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54982,17 +55025,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_QuadraticCurveTo__C148843_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_QuadraticCurveTo__C175459_VT)) failedCast(r0); r0 = s.arg0.fields["p2"]; return leave(s, r0) default: oops() } } } -animation_QuadraticCurveTo_getEndPoint__P148847.info = {"start":14891,"length":60,"line":377,"column":8,"endLine":379,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} +animation_QuadraticCurveTo_getEndPoint__P175463.info = {"start":14891,"length":60,"line":377,"column":8,"endLine":379,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} -function animation_QuadraticCurveTo_getEndPoint__P148847_mk(s) { +function animation_QuadraticCurveTo_getEndPoint__P175463_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_QuadraticCurveTo_getEndPoint__P148847, depth: s.depth + 1, + parent: s, fn: animation_QuadraticCurveTo_getEndPoint__P175463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -55001,7 +55044,7 @@ function animation_QuadraticCurveTo_getEndPoint__P148847_mk(s) { -function animation_QuadraticCurveTo_getLastControlPoint__P148846(s) { +function animation_QuadraticCurveTo_getLastControlPoint__P175462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55016,17 +55059,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_QuadraticCurveTo__C148843_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_QuadraticCurveTo__C175459_VT)) failedCast(r0); r0 = s.arg0.fields["p1"]; return leave(s, r0) default: oops() } } } -animation_QuadraticCurveTo_getLastControlPoint__P148846.info = {"start":14813,"length":68,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getLastControlPoint","argumentNames":["this"]} +animation_QuadraticCurveTo_getLastControlPoint__P175462.info = {"start":14813,"length":68,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getLastControlPoint","argumentNames":["this"]} -function animation_QuadraticCurveTo_getLastControlPoint__P148846_mk(s) { +function animation_QuadraticCurveTo_getLastControlPoint__P175462_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_QuadraticCurveTo_getLastControlPoint__P148846, depth: s.depth + 1, + parent: s, fn: animation_QuadraticCurveTo_getLastControlPoint__P175462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -55035,7 +55078,7 @@ function animation_QuadraticCurveTo_getLastControlPoint__P148846_mk(s) { -function animation_LineTo_getEndPoint__P148842(s) { +function animation_LineTo_getEndPoint__P175458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55050,17 +55093,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_LineTo__C148839_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_LineTo__C175455_VT)) failedCast(r0); r0 = s.arg0.fields["p1"]; return leave(s, r0) default: oops() } } } -animation_LineTo_getEndPoint__P148842.info = {"start":14077,"length":60,"line":350,"column":8,"endLine":352,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} +animation_LineTo_getEndPoint__P175458.info = {"start":14077,"length":60,"line":350,"column":8,"endLine":352,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} -function animation_LineTo_getEndPoint__P148842_mk(s) { +function animation_LineTo_getEndPoint__P175458_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_LineTo_getEndPoint__P148842, depth: s.depth + 1, + parent: s, fn: animation_LineTo_getEndPoint__P175458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -55069,7 +55112,7 @@ function animation_LineTo_getEndPoint__P148842_mk(s) { -function animation_MoveTo_getEndPoint__P148838(s) { +function animation_MoveTo_getEndPoint__P175454(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55084,17 +55127,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_MoveTo__C148835_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_MoveTo__C175451_VT)) failedCast(r0); r0 = s.arg0.fields["p1"]; return leave(s, r0) default: oops() } } } -animation_MoveTo_getEndPoint__P148838.info = {"start":13560,"length":60,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} +animation_MoveTo_getEndPoint__P175454.info = {"start":13560,"length":60,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"getEndPoint","argumentNames":["this"]} -function animation_MoveTo_getEndPoint__P148838_mk(s) { +function animation_MoveTo_getEndPoint__P175454_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_MoveTo_getEndPoint__P148838, depth: s.depth + 1, + parent: s, fn: animation_MoveTo_getEndPoint__P175454, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -55103,7 +55146,7 @@ function animation_MoveTo_getEndPoint__P148838_mk(s) { -function animation_ImageAnimation_constructor__P148858(s) { +function animation_ImageAnimation_constructor__P175474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55122,10 +55165,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_ImageAnimation__C148857_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_ImageAnimation__C175473_VT)) failedCast(r0); r0 = (s.arg0).fields["frames"] = (s.arg2); r0 = (s.arg0).fields["frameInterval"] = (s.arg3); - s.tmp_0 = animation_SpriteAnimation_constructor__P148854_mk(s); + s.tmp_0 = animation_SpriteAnimation_constructor__P175470_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg4; @@ -55137,12 +55180,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_ImageAnimation_constructor__P148858.info = {"start":17596,"length":177,"line":453,"column":8,"endLine":456,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","frames","frameInterval","loop"]} +animation_ImageAnimation_constructor__P175474.info = {"start":17596,"length":177,"line":453,"column":8,"endLine":456,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","frames","frameInterval","loop"]} -function animation_ImageAnimation_constructor__P148858_mk(s) { +function animation_ImageAnimation_constructor__P175474_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_ImageAnimation_constructor__P148858, depth: s.depth + 1, + parent: s, fn: animation_ImageAnimation_constructor__P175474, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -55156,7 +55199,7 @@ function animation_ImageAnimation_constructor__P148858_mk(s) { -function animation_ImageAnimation_update__P148859(s) { +function animation_ImageAnimation_update__P175475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55166,15 +55209,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.runningTime___167594 = undefined; - s.frameIndex___167600 = undefined; - s.newImage___167624 = undefined; + s.runningTime___194210 = undefined; + s.frameIndex___194216 = undefined; + s.newImage___194240 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_ImageAnimation__C148857_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_ImageAnimation__C175473_VT)) failedCast(r0); r0 = s.arg0.fields["startedAt"]; s.tmp_1 = r0; r0 = (s.tmp_1 == null); @@ -55192,16 +55235,16 @@ switch (step) { r0 = s.arg0.fields["startedAt"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.runningTime___167594 = (r0); + s.runningTime___194210 = (r0); r0 = s.arg0.fields["frameInterval"]; s.tmp_1 = r0; - r0 = (s.runningTime___167594 / s.tmp_1); + r0 = (s.runningTime___194210 / s.tmp_1); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.frameIndex___167600 = (r0); + s.frameIndex___194216 = (r0); r0 = s.arg0.fields["lastFrame"]; s.tmp_1 = r0; - r0 = (s.tmp_1 != s.frameIndex___167600); + r0 = (s.tmp_1 != s.frameIndex___194216); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } @@ -55227,7 +55270,7 @@ switch (step) { r0 = s.tmp_4; { step = 6; continue; } case 5: - s.tmp_7 = r0 = s.frameIndex___167600; + s.tmp_7 = r0 = s.frameIndex___194216; r0 = s.arg0.fields["frames"]; s.tmp_9 = r0; r0 = pxsim_Array__length(s.tmp_9); @@ -55244,7 +55287,7 @@ switch (step) { case 8: r0 = s.arg0.fields["frames"]; s.tmp_11 = r0; - s.tmp_13 = r0 = s.frameIndex___167600; + s.tmp_13 = r0 = s.frameIndex___194216; r0 = s.arg0.fields["frames"]; s.tmp_15 = r0; r0 = pxsim_Array__length(s.tmp_15); @@ -55252,19 +55295,19 @@ switch (step) { r0 = (s.tmp_13 % s.tmp_14); s.tmp_12 = r0; r0 = pxsim_Array__getAt(s.tmp_11, s.tmp_12); - s.newImage___167624 = (r0); + s.newImage___194240 = (r0); r0 = s.arg0.fields["sprite"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["_image"]; s.tmp_1 = r0; - r0 = (s.tmp_1 !== s.newImage___167624); + r0 = (s.tmp_1 !== s.newImage___194240); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_3 = Sprite_setImage__P148010_mk(s); + s.tmp_3 = Sprite_setImage__P174626_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.newImage___167624; + s.tmp_3.arg1 = s.newImage___194240; s.callLocIdx = 1631; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; @@ -55272,18 +55315,18 @@ switch (step) { case 10: case 11: case 12: - r0 = (s.arg0).fields["lastFrame"] = (s.frameIndex___167600); + r0 = (s.arg0).fields["lastFrame"] = (s.frameIndex___194216); r0 = false; case 13: return leave(s, r0) default: oops() } } } -animation_ImageAnimation_update__P148859.info = {"start":17783,"length":747,"line":458,"column":8,"endLine":475,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} +animation_ImageAnimation_update__P175475.info = {"start":17783,"length":747,"line":458,"column":8,"endLine":475,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} -function animation_ImageAnimation_update__P148859_mk(s) { +function animation_ImageAnimation_update__P175475_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_ImageAnimation_update__P148859, depth: s.depth + 1, + parent: s, fn: animation_ImageAnimation_update__P175475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55301,9 +55344,9 @@ function animation_ImageAnimation_update__P148859_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - runningTime___167594: undefined, - frameIndex___167600: undefined, - newImage___167624: undefined, + runningTime___194210: undefined, + frameIndex___194216: undefined, + newImage___194240: undefined, arg0: undefined, } } @@ -55311,7 +55354,7 @@ function animation_ImageAnimation_update__P148859_mk(s) { -function animation_MovementAnimation_update__P148862(s) { +function animation_MovementAnimation_update__P175478(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55321,13 +55364,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.result___167654 = undefined; + s.result___194270 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_MovementAnimation__C148860_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_MovementAnimation__C175476_VT)) failedCast(r0); r0 = s.arg0.fields["startedAt"]; s.tmp_1 = r0; r0 = (s.tmp_1 == null); @@ -55340,7 +55383,7 @@ switch (step) { r0 = (s.tmp_2).fields["startedAt"] = (s.tmp_3); case 1: case 2: - s.tmp_0 = animation_Path_run__P148828_mk(s); + s.tmp_0 = animation_Path_run__P175444_mk(s); r0 = s.arg0.fields["path"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["nodeInterval"]; @@ -55352,8 +55395,8 @@ switch (step) { s.callLocIdx = 1633; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.result___167654 = (r0); - r0 = pxsim_numops_toBoolDecr(s.result___167654); + s.result___194270 = (r0); + r0 = pxsim_numops_toBoolDecr(s.result___194270); if (!r0) { step = 5; continue; } r0 = s.arg0.fields["loop"]; s.tmp_2 = r0; @@ -55378,19 +55421,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_MovementAnimation_update__P148862.info = {"start":18786,"length":362,"line":485,"column":8,"endLine":494,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} +animation_MovementAnimation_update__P175478.info = {"start":18786,"length":362,"line":485,"column":8,"endLine":494,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} -function animation_MovementAnimation_update__P148862_mk(s) { +function animation_MovementAnimation_update__P175478_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_MovementAnimation_update__P148862, depth: s.depth + 1, + parent: s, fn: animation_MovementAnimation_update__P175478, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - result___167654: undefined, + result___194270: undefined, arg0: undefined, } } @@ -55398,7 +55441,7 @@ function animation_MovementAnimation_update__P148862_mk(s) { -function animation_Path_run__P148828(s) { +function animation_Path_run__P175444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55408,9 +55451,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.runningTime___167676 = undefined; - s.nodeIndex___167681 = undefined; - s.nodeTime___167687 = undefined; + s.runningTime___194292 = undefined; + s.nodeIndex___194297 = undefined; + s.nodeTime___194303 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -55419,17 +55462,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C148823_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C175439_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 - s.arg3); - s.runningTime___167676 = (r0); - r0 = (s.runningTime___167676 / s.arg1); + s.runningTime___194292 = (r0); + r0 = (s.runningTime___194292 / s.arg1); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.nodeIndex___167681 = (r0); - r0 = (s.runningTime___167676 % s.arg1); - s.nodeTime___167687 = (r0); + s.nodeIndex___194297 = (r0); + r0 = (s.runningTime___194292 % s.arg1); + s.nodeTime___194303 = (r0); r0 = s.arg0.fields["lastNode"]; s.tmp_1 = r0; r0 = (s.tmp_1 > -1); @@ -55441,7 +55484,7 @@ switch (step) { case 1: r0 = s.arg0.fields["lastNode"]; s.tmp_2 = r0; - r0 = (s.tmp_2 < s.nodeIndex___167681); + r0 = (s.tmp_2 < s.nodeIndex___194297); case 2: // jmp value (already in r0) s.tmp_3 = r0; @@ -55458,7 +55501,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 7; continue; } - s.tmp_6 = animation_PathNode__C148829_v0_4_mk(s); + s.tmp_6 = animation_PathNode__C175445_v0_4_mk(s); r0 = s.arg0.fields["nodes"]; s.tmp_7 = r0; r0 = s.arg0.fields["lastNode"]; @@ -55468,12 +55511,12 @@ switch (step) { s.tmp_6.arg1 = s.arg2; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg1; - if (!checkSubtype(s.tmp_6.arg0, animation_PathNode__C148829_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, animation_PathNode__C175445_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.apply; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; - s.tmp_1 = r0 = s.nodeIndex___167681; + s.tmp_1 = r0 = s.nodeIndex___194297; r0 = s.arg0.fields["nodes"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -55488,16 +55531,16 @@ switch (step) { case 6: case 7: case 8: - r0 = (s.arg0).fields["lastNode"] = (s.nodeIndex___167681); - s.tmp_0 = animation_PathNode__C148829_v0_4_mk(s); + r0 = (s.arg0).fields["lastNode"] = (s.nodeIndex___194297); + s.tmp_0 = animation_PathNode__C175445_v0_4_mk(s); r0 = s.arg0.fields["nodes"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.nodeIndex___167681); + r0 = pxsim_Array__getAt(s.tmp_1, s.nodeIndex___194297); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.tmp_0.arg2 = s.nodeTime___167687; + s.tmp_0.arg2 = s.nodeTime___194303; s.tmp_0.arg3 = s.arg1; - if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C148829_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, animation_PathNode__C175445_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.apply; s.pc = 11; return s.tmp_0; case 11: @@ -55507,12 +55550,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Path_run__P148828.info = {"start":11892,"length":990,"line":288,"column":8,"endLine":302,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"run","argumentNames":["this","interval","target","startedAt"]} +animation_Path_run__P175444.info = {"start":11892,"length":990,"line":288,"column":8,"endLine":302,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"run","argumentNames":["this","interval","target","startedAt"]} -function animation_Path_run__P148828_mk(s) { +function animation_Path_run__P175444_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_run__P148828, depth: s.depth + 1, + parent: s, fn: animation_Path_run__P175444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55523,9 +55566,9 @@ function animation_Path_run__P148828_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - runningTime___167676: undefined, - nodeIndex___167681: undefined, - nodeTime___167687: undefined, + runningTime___194292: undefined, + nodeIndex___194297: undefined, + nodeTime___194303: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -55536,7 +55579,7 @@ function animation_Path_run__P148828_mk(s) { -function animation_PathNode_apply__P148832(s) { +function animation_PathNode_apply__P175448(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55554,17 +55597,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_PathNode__C148829_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_PathNode__C175445_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -animation_PathNode_apply__P148832.info = {"start":13032,"length":60,"line":311,"column":8,"endLine":311,"endColumn":68,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} +animation_PathNode_apply__P175448.info = {"start":13032,"length":60,"line":311,"column":8,"endLine":311,"endColumn":68,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} -function animation_PathNode_apply__P148832_mk(s) { +function animation_PathNode_apply__P175448_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_PathNode_apply__P148832, depth: s.depth + 1, + parent: s, fn: animation_PathNode_apply__P175448, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -55576,7 +55619,7 @@ function animation_PathNode_apply__P148832_mk(s) { -function sprites_SpriteSet_toString__P148078(s) { +function sprites_SpriteSet_toString__P174694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55591,7 +55634,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C148067_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C174683_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -55613,12 +55656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P148078.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__P174694.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__P148078_mk(s) { +function sprites_SpriteSet_toString__P174694_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P148078, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P174694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55632,7 +55675,7 @@ function sprites_SpriteSet_toString__P148078_mk(s) { -function sprites_SpriteSet_length__P148070(s) { +function sprites_SpriteSet_length__P174686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55647,20 +55690,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C148067_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C174683_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__P148070.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__P148070.isGetter = true; +sprites_SpriteSet_length__P174686.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__P174686.isGetter = true; -function sprites_SpriteSet_length__P148070_mk(s) { +function sprites_SpriteSet_length__P174686_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P148070, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P174686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -55670,7 +55713,7 @@ function sprites_SpriteSet_length__P148070_mk(s) { -function story_Bubble___update__P149701(s) { +function story_Bubble___update__P176317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55687,10 +55730,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); - s.tmp_0 = story_Bubble_updateCore__P152424_mk(s); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); + s.tmp_0 = story_Bubble_updateCore__P179040_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = game_currentScene__P148484_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 1672; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -55704,12 +55747,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble___update__P149701.info = {"start":7333,"length":133,"line":260,"column":8,"endLine":262,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +story_Bubble___update__P176317.info = {"start":7333,"length":133,"line":260,"column":8,"endLine":262,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function story_Bubble___update__P149701_mk(s) { +function story_Bubble___update__P176317_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble___update__P149701, depth: s.depth + 1, + parent: s, fn: story_Bubble___update__P176317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55722,7 +55765,7 @@ function story_Bubble___update__P149701_mk(s) { -function story_Bubble_updateCore__P152424(s) { +function story_Bubble_updateCore__P179040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55738,7 +55781,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 1); @@ -55752,16 +55795,16 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_3 = story_Bubble_setAnchor__P149698_mk(s); + s.tmp_3 = story_Bubble_setAnchor__P176314_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_4 = Sprite_x__P147979_mk(s); + s.tmp_4 = Sprite_x__P174595_mk(s); r0 = s.arg0.fields["anchor"]; s.tmp_4.arg0 = r0; s.callLocIdx = 1676; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; s.tmp_3.arg1 = r0; - s.tmp_6 = Sprite_top__P148020_mk(s); + s.tmp_6 = Sprite_top__P174636_mk(s); r0 = s.arg0.fields["anchor"]; s.tmp_6.arg0 = r0; s.callLocIdx = 1677; s.pc = 16; return s.tmp_6; @@ -55794,7 +55837,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } - s.tmp_4 = story_Bubble_advancePage__P152428_mk(s); + s.tmp_4 = story_Bubble_advancePage__P179044_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1679; s.pc = 17; return s.tmp_4; case 17: @@ -55818,15 +55861,15 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timer"] = (s.tmp_1); - s.tmp_0 = story_playWithVolume__P152432_mk(s); - s.tmp_0.arg0 = globals.tickSound___152418; + s.tmp_0 = story_playWithVolume__P179048_mk(s); + s.tmp_0.arg0 = globals.tickSound___179034; s.tmp_0.arg1 = 20; s.callLocIdx = 1680; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; r0 = s.arg0.fields["tick"]; s.tmp_1 = r0; - s.tmp_4 = story_Bubble_currentPart__P152423_mk(s); + s.tmp_4 = story_Bubble_currentPart__P179039_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1681; s.pc = 19; return s.tmp_4; case 19: @@ -55839,7 +55882,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_5 = story_Bubble_advancePart__P152426_mk(s); + s.tmp_5 = story_Bubble_advancePart__P179042_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 1682; s.pc = 20; return s.tmp_5; case 20: @@ -55863,12 +55906,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_updateCore__P152424.info = {"start":7670,"length":871,"line":273,"column":8,"endLine":299,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"updateCore","argumentNames":["this","dtMillis"]} +story_Bubble_updateCore__P179040.info = {"start":7670,"length":871,"line":273,"column":8,"endLine":299,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"updateCore","argumentNames":["this","dtMillis"]} -function story_Bubble_updateCore__P152424_mk(s) { +function story_Bubble_updateCore__P179040_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_updateCore__P152424, depth: s.depth + 1, + parent: s, fn: story_Bubble_updateCore__P179040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55885,7 +55928,7 @@ function story_Bubble_updateCore__P152424_mk(s) { -function story_playWithVolume__P152432(s) { +function story_playWithVolume__P179048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55895,13 +55938,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___167815 = undefined; + s.current___194431 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_3 = story__currentCutscene__P149780_mk(s); + s.tmp_3 = story__currentCutscene__P176396_mk(s); s.callLocIdx = 1698; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; @@ -55916,14 +55959,14 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = music_volume__P147530_mk(s); + s.tmp_4 = music_volume__P174146_mk(s); s.callLocIdx = 1699; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; - s.current___167815 = (r0); - s.tmp_0 = music_setVolume__P147529_mk(s); - s.tmp_1 = Math_min__P146063_mk(s); - s.tmp_1.arg0 = s.current___167815; + s.current___194431 = (r0); + s.tmp_0 = music_setVolume__P174145_mk(s); + s.tmp_1 = Math_min__P172679_mk(s); + s.tmp_1.arg0 = s.current___194431; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 1700; s.pc = 7; return s.tmp_1; case 7: @@ -55932,7 +55975,7 @@ switch (step) { s.callLocIdx = 1701; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = music_Melody_play__P147542_mk(s); + s.tmp_0 = music_Melody_play__P174158_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 255; s.callLocIdx = 1702; s.pc = 8; return s.tmp_0; @@ -55943,19 +55986,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_playWithVolume__P152432.info = {"start":10557,"length":272,"line":368,"column":4,"endLine":374,"endColumn":5,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"playWithVolume","argumentNames":["sound","volume"]} +story_playWithVolume__P179048.info = {"start":10557,"length":272,"line":368,"column":4,"endLine":374,"endColumn":5,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"playWithVolume","argumentNames":["sound","volume"]} -function story_playWithVolume__P152432_mk(s) { +function story_playWithVolume__P179048_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_playWithVolume__P152432, depth: s.depth + 1, + parent: s, fn: story_playWithVolume__P179048, 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___167815: undefined, + current___194431: undefined, arg0: undefined, arg1: undefined, } } @@ -55964,7 +56007,7 @@ function story_playWithVolume__P152432_mk(s) { -function story_Bubble_advancePage__P152428(s) { +function story_Bubble_advancePage__P179044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55979,7 +56022,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["pageIndex"]; s.tmp_2 = r0; @@ -55996,7 +56039,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lineIndex"] = (-1); - s.tmp_0 = story_Bubble_advanceLine__P152427_mk(s); + s.tmp_0 = story_Bubble_advanceLine__P179043_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1690; s.pc = 5; return s.tmp_0; case 5: @@ -56028,12 +56071,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_advancePage__P152428.info = {"start":9477,"length":365,"line":335,"column":8,"endLine":347,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"advancePage","argumentNames":["this"]} +story_Bubble_advancePage__P179044.info = {"start":9477,"length":365,"line":335,"column":8,"endLine":347,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"advancePage","argumentNames":["this"]} -function story_Bubble_advancePage__P152428_mk(s) { +function story_Bubble_advancePage__P179044_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_advancePage__P152428, depth: s.depth + 1, + parent: s, fn: story_Bubble_advancePage__P179044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56045,7 +56088,7 @@ function story_Bubble_advancePage__P152428_mk(s) { -function story_Bubble_setAnchor__P149698(s) { +function story_Bubble_setAnchor__P176314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56062,19 +56105,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = (s.arg0).fields["cx"] = (s.arg1); r0 = (s.arg0).fields["cy"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -story_Bubble_setAnchor__P149698.info = {"start":6937,"length":97,"line":243,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"setAnchor","argumentNames":["this","cx","cy"]} +story_Bubble_setAnchor__P176314.info = {"start":6937,"length":97,"line":243,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"setAnchor","argumentNames":["this","cx","cy"]} -function story_Bubble_setAnchor__P149698_mk(s) { +function story_Bubble_setAnchor__P176314_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_setAnchor__P149698, depth: s.depth + 1, + parent: s, fn: story_Bubble_setAnchor__P176314, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -56085,7 +56128,7 @@ function story_Bubble_setAnchor__P149698_mk(s) { -function story_Bubble_cancel__P149694(s) { +function story_Bubble_cancel__P176310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56100,8 +56143,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); - s.tmp_0 = story_Bubble_destroy__P149703_mk(s); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); + s.tmp_0 = story_Bubble_destroy__P176319_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1658; s.pc = 1; return s.tmp_0; case 1: @@ -56110,12 +56153,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_cancel__P149694.info = {"start":2945,"length":48,"line":115,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"cancel","argumentNames":["this"]} +story_Bubble_cancel__P176310.info = {"start":2945,"length":48,"line":115,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"cancel","argumentNames":["this"]} -function story_Bubble_cancel__P149694_mk(s) { +function story_Bubble_cancel__P176310_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_cancel__P149694, depth: s.depth + 1, + parent: s, fn: story_Bubble_cancel__P176310, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -56125,7 +56168,7 @@ function story_Bubble_cancel__P149694_mk(s) { -function story_Bubble_destroy__P149703(s) { +function story_Bubble_destroy__P176319(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56140,15 +56183,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 1674; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = r0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); - s.tmp_0 = story_Bubble_stop__P149702_mk(s); + s.tmp_0 = story_Bubble_stop__P176318_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1675; s.pc = 2; return s.tmp_0; case 2: @@ -56157,12 +56200,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_destroy__P149703.info = {"start":7550,"length":110,"line":268,"column":8,"endLine":271,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"destroy","argumentNames":["this"]} +story_Bubble_destroy__P176319.info = {"start":7550,"length":110,"line":268,"column":8,"endLine":271,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"destroy","argumentNames":["this"]} -function story_Bubble_destroy__P149703_mk(s) { +function story_Bubble_destroy__P176319_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_destroy__P149703, depth: s.depth + 1, + parent: s, fn: story_Bubble_destroy__P176319, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56173,7 +56216,7 @@ function story_Bubble_destroy__P149703_mk(s) { -function story_Bubble_stop__P149702(s) { +function story_Bubble_stop__P176318(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56188,18 +56231,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = (s.arg0).fields["state"] = (1); r0 = undefined; return leave(s, r0) default: oops() } } } -story_Bubble_stop__P149702.info = {"start":7476,"length":64,"line":264,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"stop","argumentNames":["this"]} +story_Bubble_stop__P176318.info = {"start":7476,"length":64,"line":264,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"stop","argumentNames":["this"]} -function story_Bubble_stop__P149702_mk(s) { +function story_Bubble_stop__P176318_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_stop__P149702, depth: s.depth + 1, + parent: s, fn: story_Bubble_stop__P176318, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -56208,7 +56251,7 @@ function story_Bubble_stop__P149702_mk(s) { -function story_Bubble_isDone__P149693(s) { +function story_Bubble_isDone__P176309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56223,19 +56266,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_0 = r0; r0 = (s.tmp_0 === 1); return leave(s, r0) default: oops() } } } -story_Bubble_isDone__P149693.info = {"start":2860,"length":75,"line":111,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"isDone","argumentNames":["this"]} +story_Bubble_isDone__P176309.info = {"start":2860,"length":75,"line":111,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"isDone","argumentNames":["this"]} -function story_Bubble_isDone__P149693_mk(s) { +function story_Bubble_isDone__P176309_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_isDone__P149693, depth: s.depth + 1, + parent: s, fn: story_Bubble_isDone__P176309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -56245,7 +56288,7 @@ function story_Bubble_isDone__P149693_mk(s) { -function story_ShapeSprite___update__P149792(s) { +function story_ShapeSprite___update__P176408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56262,7 +56305,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_ShapeSprite__C149782_VT)) failedCast(r0); + if (!checkSubtype(r0, story_ShapeSprite__C176398_VT)) failedCast(r0); r0 = s.arg0.fields["parent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -56289,7 +56332,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_3 = story_ShapeSprite_destroy__P149790_mk(s); + s.tmp_3 = story_ShapeSprite_destroy__P176406_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1828; s.pc = 6; return s.tmp_3; case 6: @@ -56300,12 +56343,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_ShapeSprite___update__P149792.info = {"start":817,"length":155,"line":33,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +story_ShapeSprite___update__P176408.info = {"start":817,"length":155,"line":33,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function story_ShapeSprite___update__P149792_mk(s) { +function story_ShapeSprite___update__P176408_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_ShapeSprite___update__P149792, depth: s.depth + 1, + parent: s, fn: story_ShapeSprite___update__P176408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56320,7 +56363,7 @@ function story_ShapeSprite___update__P149792_mk(s) { -function story_ShapeSprite_destroy__P149790(s) { +function story_ShapeSprite_destroy__P176406(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56335,8 +56378,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_ShapeSprite__C149782_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, story_ShapeSprite__C176398_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 1823; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -56411,12 +56454,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_ShapeSprite_destroy__P149790.info = {"start":475,"length":217,"line":22,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"destroy","argumentNames":["this"]} +story_ShapeSprite_destroy__P176406.info = {"start":475,"length":217,"line":22,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"destroy","argumentNames":["this"]} -function story_ShapeSprite_destroy__P149790_mk(s) { +function story_ShapeSprite_destroy__P176406_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_ShapeSprite_destroy__P149790, depth: s.depth + 1, + parent: s, fn: story_ShapeSprite_destroy__P176406, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56433,7 +56476,7 @@ function story_ShapeSprite_destroy__P149790_mk(s) { -function particles_ParticleSource_factory__P148648(s) { +function particles_ParticleSource_factory__P175264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56448,18 +56491,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); r0 = s.arg0.fields["_factory"]; return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_factory__P148648.info = {"start":7934,"length":76,"line":263,"column":8,"endLine":265,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"factory","argumentNames":["this"]} -particles_ParticleSource_factory__P148648.isGetter = true; +particles_ParticleSource_factory__P175264.info = {"start":7934,"length":76,"line":263,"column":8,"endLine":265,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"factory","argumentNames":["this"]} +particles_ParticleSource_factory__P175264.isGetter = true; -function particles_ParticleSource_factory__P148648_mk(s) { +function particles_ParticleSource_factory__P175264_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_factory__P148648, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_factory__P175264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -56468,7 +56511,7 @@ function particles_ParticleSource_factory__P148648_mk(s) { -function particles_ParticleSource___draw__P148636(s) { +function particles_ParticleSource___draw__P175252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56478,18 +56521,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___167905 = undefined; - s.left___167908 = undefined; - s.top___167918 = undefined; + s.current___194521 = undefined; + s.left___194524 = undefined; + s.top___194534 = 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__C148630_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___167905 = (r0); + s.current___194521 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -56507,7 +56550,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___167908 = (s.tmp_4); + s.left___194524 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -56525,49 +56568,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___167918 = (s.tmp_4); + s.top___194534 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___167905); + r0 = pxsim_numops_toBoolDecr(s.current___194521); if (!r0) { step = 8; continue; } - r0 = s.current___167905.fields["lifespan"]; + r0 = s.current___194521.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__P150823_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P177439_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___167905; - s.tmp_2.arg2 = s.left___167908; - s.tmp_2.arg3 = s.top___167918; + s.tmp_2.arg1 = s.current___194521; + s.tmp_2.arg2 = s.left___194524; + s.tmp_2.arg3 = s.top___194534; s.callLocIdx = 1398; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___167905.fields["next"]; - s.current___167905 = (r0); + r0 = s.current___194521.fields["next"]; + s.current___194521 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P148636.info = {"start":3199,"length":468,"line":111,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} +particles_ParticleSource___draw__P175252.info = {"start":3199,"length":468,"line":111,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} -function particles_ParticleSource___draw__P148636_mk(s) { +function particles_ParticleSource___draw__P175252_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P148636, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P175252, 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___167905: undefined, - left___167908: undefined, - top___167918: undefined, + current___194521: undefined, + left___194524: undefined, + top___194534: undefined, arg0: undefined, arg1: undefined, } } @@ -56576,7 +56619,7 @@ function particles_ParticleSource___draw__P148636_mk(s) { -function particles_ParticleSource_drawParticle__P150823(s) { +function particles_ParticleSource_drawParticle__P177439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56594,8 +56637,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C148630_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C148666_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C175246_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C175282_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -56607,7 +56650,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__C148666_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C175282_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: @@ -56616,12 +56659,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P150823.info = {"start":8598,"length":174,"line":286,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} +particles_ParticleSource_drawParticle__P177439.info = {"start":8598,"length":174,"line":286,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} -function particles_ParticleSource_drawParticle__P150823_mk(s) { +function particles_ParticleSource_drawParticle__P177439_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P150823, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P177439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56636,7 +56679,7 @@ function particles_ParticleSource_drawParticle__P150823_mk(s) { -function particles_ParticleFactory_drawParticle__P148669(s) { +function particles_ParticleFactory_drawParticle__P175285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56654,8 +56697,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C148666_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___147749; + if (!checkSubtype(r0, particles_ParticleFactory__C175282_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___174365; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -56669,12 +56712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P148669.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__P175285.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__P148669_mk(s) { +function particles_ParticleFactory_drawParticle__P175285_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P148669, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P175285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56691,7 +56734,7 @@ function particles_ParticleFactory_drawParticle__P148669_mk(s) { -function particles_ShapeFactory_createParticle__P148696(s) { +function particles_ShapeFactory_createParticle__P175312(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56701,23 +56744,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___167969 = undefined; + s.p___194585 = 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__C148692_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P148682_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C175308_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P175298_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1492; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___167969 = (r0); - s.tmp_0 = r0 = s.p___167969; - s.tmp_2 = Math_FastRandom_randomRange__P148542_mk(s); + s.p___194585 = (r0); + s.tmp_0 = r0 = s.p___194585; + s.tmp_2 = Math_FastRandom_randomRange__P175158_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -56727,21 +56770,21 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___167969; + r0 = s.p___194585; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P148696.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__P175312.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__P148696_mk(s) { +function particles_ShapeFactory_createParticle__P175312_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P148696, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P175312, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___167969: undefined, + p___194585: undefined, arg0: undefined, arg1: undefined, } } @@ -56750,7 +56793,7 @@ function particles_ShapeFactory_createParticle__P148696_mk(s) { -function particles_AreaFactory_createParticle__P148682(s) { +function particles_AreaFactory_createParticle__P175298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56760,23 +56803,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___167981 = undefined; + s.p___194597 = 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__C148676_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P148672_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C175292_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P175288_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1474; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___167981 = (r0); - s.tmp_0 = r0 = s.p___167981; - s.tmp_2 = Math_FastRandom_randomRange__P148542_mk(s); + s.p___194597 = (r0); + s.tmp_0 = r0 = s.p___194597; + s.tmp_2 = Math_FastRandom_randomRange__P175158_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -56788,8 +56831,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___167981; - s.tmp_4 = Math_FastRandom_randomRange__P148542_mk(s); + s.tmp_0 = r0 = s.p___194597; + s.tmp_4 = Math_FastRandom_randomRange__P175158_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -56805,7 +56848,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___167981.fields["_x"]; + r0 = s.p___194597.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -56847,8 +56890,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___167981; - s.tmp_9 = Math_FastRandom_randomRange__P148542_mk(s); + s.tmp_5 = r0 = s.p___194597; + s.tmp_9 = Math_FastRandom_randomRange__P175158_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -56860,23 +56903,23 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___167981.fields["_y"]; + r0 = s.p___194597.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___167981; + r0 = s.p___194597; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P148682.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__P175298.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__P148682_mk(s) { +function particles_AreaFactory_createParticle__P175298_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P148682, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P175298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56890,7 +56933,7 @@ function particles_AreaFactory_createParticle__P148682_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___167981: undefined, + p___194597: undefined, arg0: undefined, arg1: undefined, } } @@ -56899,7 +56942,7 @@ function particles_AreaFactory_createParticle__P148682_mk(s) { -function Fx_iadd__P146090(s) { +function Fx_iadd__P172706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56920,12 +56963,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P146090.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__P172706.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__P146090_mk(s) { +function Fx_iadd__P172706_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P146090, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P172706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -56936,7 +56979,7 @@ function Fx_iadd__P146090_mk(s) { -function particles_SprayFactory_createParticle__P148672(s) { +function particles_SprayFactory_createParticle__P175288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56946,26 +56989,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___168037 = undefined; - s.angle___168041 = undefined; + s.p___194653 = undefined; + s.angle___194657 = 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__C148670_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P148668_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C175286_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P175284_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1463; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___168037 = (r0); + s.p___194653 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P148542_mk(s); - s.tmp_3.arg0 = globals.galois___150837; + s.tmp_3 = Math_FastRandom_randomRange__P175158_mk(s); + s.tmp_3.arg0 = globals.galois___177453; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -56976,9 +57019,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___168041 = (r0); - s.tmp_0 = r0 = s.p___168037; - r0 = pxsim_Array__getAt(globals.cachedSin___150832, s.angle___168041); + s.angle___194657 = (r0); + s.tmp_0 = r0 = s.p___194653; + r0 = pxsim_Array__getAt(globals.cachedSin___177448, s.angle___194657); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -56987,8 +57030,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___168037; - r0 = pxsim_Array__getAt(globals.cachedCos___150833, s.angle___168041); + s.tmp_0 = r0 = s.p___194653; + r0 = pxsim_Array__getAt(globals.cachedCos___177449, s.angle___194657); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -56997,24 +57040,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___168037; + r0 = s.p___194653; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P148672.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__P175288.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__P148672_mk(s) { +function particles_SprayFactory_createParticle__P175288_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P148672, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P175288, 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___168037: undefined, - angle___168041: undefined, + p___194653: undefined, + angle___194657: undefined, arg0: undefined, arg1: undefined, } } @@ -57023,7 +57066,7 @@ function particles_SprayFactory_createParticle__P148672_mk(s) { -function effects_ScreenEffect_startScreenEffect__P148747(s) { +function effects_ScreenEffect_startScreenEffect__P175363(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57040,7 +57083,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C148745_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C175361_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -57059,7 +57102,7 @@ switch (step) { r0 = s.tmp_3; { step = 4; continue; } case 3: - s.tmp_4 = particles_ParticleSource_enabled__P148642_mk(s); + s.tmp_4 = particles_ParticleSource_enabled__P175258_mk(s); r0 = s.arg0.fields["source"]; s.tmp_4.arg0 = r0; s.callLocIdx = 1505; s.pc = 14; return s.tmp_4; @@ -57080,14 +57123,14 @@ switch (step) { { step = 13; continue; } case 7: case 8: - s.tmp_0 = effects_ScreenEffect_endScreenEffect__P148748_mk(s); + s.tmp_0 = effects_ScreenEffect_endScreenEffect__P175364_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1506; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C150865_VT); + r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C177481_VT); s.tmp_0 = r0; - s.tmp_1 = effects_SceneAnchor_constructor__P150870_mk(s); + s.tmp_1 = effects_SceneAnchor_constructor__P177486_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1507; s.pc = 16; return s.tmp_1; case 16: @@ -57134,12 +57177,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_startScreenEffect__P148747.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} +effects_ScreenEffect_startScreenEffect__P175363.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} -function effects_ScreenEffect_startScreenEffect__P148747_mk(s) { +function effects_ScreenEffect_startScreenEffect__P175363_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_startScreenEffect__P148747, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_startScreenEffect__P175363, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57157,7 +57200,7 @@ function effects_ScreenEffect_startScreenEffect__P148747_mk(s) { -function effects_SceneAnchor_constructor__P150870(s) { +function effects_SceneAnchor_constructor__P177486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57172,9 +57215,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C150865_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C177481_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_currentScene__P148484_mk(s); + s.tmp_2 = game_currentScene__P175100_mk(s); s.callLocIdx = 1501; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; @@ -57185,12 +57228,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_SceneAnchor_constructor__P150870.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} +effects_SceneAnchor_constructor__P177486.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} -function effects_SceneAnchor_constructor__P150870_mk(s) { +function effects_SceneAnchor_constructor__P177486_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_constructor__P150870, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_constructor__P177486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57202,7 +57245,7 @@ function effects_SceneAnchor_constructor__P150870_mk(s) { -function effects_ScreenEffect_endScreenEffect__P148748(s) { +function effects_ScreenEffect_endScreenEffect__P175364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57217,12 +57260,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C148745_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C175361_VT)) failedCast(r0); r0 = s.arg0.fields["source"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = particles_ParticleSource_destroy__P148644_mk(s); + s.tmp_1 = particles_ParticleSource_destroy__P175260_mk(s); r0 = s.arg0.fields["source"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1509; s.pc = 3; return s.tmp_1; @@ -57235,12 +57278,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_endScreenEffect__P148748.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} +effects_ScreenEffect_endScreenEffect__P175364.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} -function effects_ScreenEffect_endScreenEffect__P148748_mk(s) { +function effects_ScreenEffect_endScreenEffect__P175364_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_endScreenEffect__P148748, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_endScreenEffect__P175364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57251,7 +57294,7 @@ function effects_ScreenEffect_endScreenEffect__P148748_mk(s) { -function info_PlayerInfo_id__P148198(s) { +function info_PlayerInfo_id__P174814(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57266,17 +57309,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C148184_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C174800_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; return leave(s, r0) default: oops() } } } -info_PlayerInfo_id__P148198.info = {"start":17259,"length":57,"line":568,"column":8,"endLine":570,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} +info_PlayerInfo_id__P174814.info = {"start":17259,"length":57,"line":568,"column":8,"endLine":570,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} -function info_PlayerInfo_id__P148198_mk(s) { +function info_PlayerInfo_id__P174814_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_id__P148198, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_id__P174814, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -57285,7 +57328,7 @@ function info_PlayerInfo_id__P148198_mk(s) { -function sprites_SpriteMap_toString__P148058(s) { +function sprites_SpriteMap_toString__P174674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57300,7 +57343,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C148050_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -57320,10 +57363,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P146043_mk(s); + s.tmp_10 = helpers_arrayFilter__P172659_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P168137; + s.tmp_10.arg1 = inline__P194753; s.callLocIdx = 554; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -57345,12 +57388,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P148058.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__P174674.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__P148058_mk(s) { +function sprites_SpriteMap_toString__P174674_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P148058, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P174674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57370,7 +57413,7 @@ function sprites_SpriteMap_toString__P148058_mk(s) { -function inline__P168137(s) { +function inline__P194753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57394,12 +57437,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P168137.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P194753.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} -function inline__P168137_mk(s) { +function inline__P194753_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P168137, depth: s.depth + 1, + parent: s, fn: inline__P194753, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57411,7 +57454,7 @@ function inline__P168137_mk(s) { -function sprites_SpriteMap_key__P150302(s) { +function sprites_SpriteMap_key__P176918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57421,8 +57464,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___168148 = undefined; - s.yi___168160 = undefined; + s.xi___194764 = undefined; + s.yi___194776 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57430,8 +57473,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C148050_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P146059_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P172675_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -57442,8 +57485,8 @@ switch (step) { s.callLocIdx = 541; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___168148 = (r0); - s.tmp_0 = Math_clamp__P146059_mk(s); + s.xi___194764 = (r0); + s.tmp_0 = Math_clamp__P172675_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -57454,28 +57497,28 @@ switch (step) { s.callLocIdx = 542; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___168160 = (r0); - s.tmp_0 = r0 = s.xi___168148; + s.yi___194776 = (r0); + s.tmp_0 = r0 = s.xi___194764; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___168160 * s.tmp_2); + r0 = (s.yi___194776 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P150302.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__P176918.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__P150302_mk(s) { +function sprites_SpriteMap_key__P176918_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P150302, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P176918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___168148: undefined, - yi___168160: undefined, + xi___194764: undefined, + yi___194776: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -57485,7 +57528,7 @@ function sprites_SpriteMap_key__P150302_mk(s) { -function ArcadePhysicsEngine_moveSprite__P148145(s) { +function ArcadePhysicsEngine_moveSprite__P174761(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57495,9 +57538,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___168202 = undefined; - s.maxDist___168210 = undefined; - s.ms___168230 = undefined; + s.tm___194818 = undefined; + s.maxDist___194826 = undefined; + s.ms___194846 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57506,7 +57549,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -57525,19 +57568,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__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 769; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___168202 = (r0); - s.tmp_0 = r0 = s.tm___168202; + s.tm___194818 = (r0); + s.tmp_0 = r0 = s.tm___194818; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___168202.fields["_map"]; + r0 = s.tm___194818.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -57556,8 +57599,8 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___168210 = (r0); - s.tmp_2 = Math_abs__P146060_mk(s); + s.maxDist___194826 = (r0); + s.tmp_2 = Math_abs__P172676_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -57566,14 +57609,14 @@ switch (step) { case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___168210); + r0 = (s.tmp_1 <= s.maxDist___194826); 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__P146060_mk(s); + s.tmp_5 = Math_abs__P172676_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -57582,15 +57625,15 @@ switch (step) { case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___168210); + r0 = (s.tmp_4 <= s.maxDist___194826); 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__C148129_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C174745_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P148130_mk(s); + s.tmp_9 = MovingSprite_constructor__P174746_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -57604,18 +57647,18 @@ switch (step) { s.callLocIdx = 776; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___168230 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P150341_mk(s); + s.ms___194846 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P176957_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___168230; - s.tmp_0.arg2 = s.tm___168202; + s.tmp_0.arg1 = s.ms___194846; + s.tmp_0.arg2 = s.tm___194818; s.callLocIdx = 777; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P148297_mk(s); - s.tmp_1.arg0 = s.tm___168202; + s.tmp_1 = tiles_TileMap_isOnWall__P174913_mk(s); + s.tmp_1.arg0 = s.tm___194818; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 778; s.pc = 18; return s.tmp_1; case 18: @@ -57626,10 +57669,10 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P150343_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P176959_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___168202; + s.tmp_4.arg2 = s.tm___194818; s.callLocIdx = 779; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; @@ -57664,12 +57707,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P148145.info = {"start":22407,"length":1208,"line":619,"column":4,"endLine":650,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P174761.info = {"start":22407,"length":1208,"line":619,"column":4,"endLine":650,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P148145_mk(s) { +function ArcadePhysicsEngine_moveSprite__P174761_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P148145, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P174761, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57681,9 +57724,9 @@ function ArcadePhysicsEngine_moveSprite__P148145_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___168202: undefined, - maxDist___168210: undefined, - ms___168230: undefined, + tm___194818: undefined, + maxDist___194826: undefined, + ms___194846: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -57694,7 +57737,7 @@ function ArcadePhysicsEngine_moveSprite__P148145_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P150343(s) { +function ArcadePhysicsEngine_canResolveClipping__P176959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57704,19 +57747,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___168275 = undefined; - s.sz___168278 = undefined; - s.maxMove___168283 = undefined; - s.origY___168285 = undefined; - s.origX___168288 = undefined; - s.l___168291 = undefined; - s.r___168296 = undefined; - s.t___168301 = undefined; - s.b___168306 = undefined; - s.offset___168311 = undefined; - s.offset___168336 = undefined; - s.offset___168367 = undefined; - s.offset___168392 = undefined; + s.hbox___194891 = undefined; + s.sz___194894 = undefined; + s.maxMove___194899 = undefined; + s.origY___194901 = undefined; + s.origX___194904 = undefined; + s.l___194907 = undefined; + s.r___194912 = undefined; + s.t___194917 = undefined; + s.b___194922 = undefined; + s.offset___194927 = undefined; + s.offset___194952 = undefined; + s.offset___194983 = undefined; + s.offset___195008 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57724,7 +57767,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -57735,7 +57778,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_setHitbox__P148011_mk(s); + s.tmp_4 = Sprite_setHitbox__P174627_mk(s); s.tmp_4.arg0 = s.arg1; s.callLocIdx = 781; s.pc = 20; return s.tmp_4; case 20: @@ -57743,23 +57786,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___168275 = (r0); + s.hbox___194891 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___168278 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P148137_mk(s); + s.sz___194894 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P174753_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 783; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___168283 = (r0); + s.maxMove___194899 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___168285 = (r0); + s.origY___194901 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___168288 = (r0); - s.tmp_1 = game_Hitbox_left__P147913_mk(s); - s.tmp_1.arg0 = s.hbox___168275; + s.origX___194904 = (r0); + s.tmp_1 = game_Hitbox_left__P174529_mk(s); + s.tmp_1.arg0 = s.hbox___194891; s.callLocIdx = 784; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -57767,9 +57810,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___168291 = (r0); - s.tmp_1 = game_Hitbox_right__P147915_mk(s); - s.tmp_1.arg0 = s.hbox___168275; + s.l___194907 = (r0); + s.tmp_1 = game_Hitbox_right__P174531_mk(s); + s.tmp_1.arg0 = s.hbox___194891; s.callLocIdx = 786; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -57777,9 +57820,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___168296 = (r0); - s.tmp_1 = game_Hitbox_top__P147914_mk(s); - s.tmp_1.arg0 = s.hbox___168275; + s.r___194912 = (r0); + s.tmp_1 = game_Hitbox_top__P174530_mk(s); + s.tmp_1.arg0 = s.hbox___194891; s.callLocIdx = 788; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -57787,9 +57830,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___168301 = (r0); - s.tmp_1 = game_Hitbox_bottom__P147916_mk(s); - s.tmp_1.arg0 = s.hbox___168275; + s.t___194917 = (r0); + s.tmp_1 = game_Hitbox_bottom__P174532_mk(s); + s.tmp_1.arg0 = s.hbox___194891; s.callLocIdx = 790; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -57797,26 +57840,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___168306 = (r0); - r0 = (s.b___168306 + 1); + s.b___194922 = (r0); + r0 = (s.b___194922 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___168278); - s.offset___168311 = (r0); - r0 = (s.offset___168311 <= s.maxMove___168283); + r0 = (s.tmp_0 % s.sz___194894); + s.offset___194927 = (r0); + r0 = (s.offset___194927 <= s.maxMove___194899); 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___168311 * 256); + r0 = (s.offset___194927 * 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__P148297_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P174913_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 794; s.pc = 26; return s.tmp_3; @@ -57833,35 +57876,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___168285); + r0 = (s.arg1).fields["_y"] = (s.origY___194901); case 4: case 5: case 6: - r0 = (s.t___168301 / s.sz___168278); + r0 = (s.t___194917 / s.sz___194894); 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___168278); + r0 = (s.tmp_1 * s.sz___194894); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___168301); - s.offset___168336 = (r0); - r0 = (s.offset___168336 <= s.maxMove___168283); + r0 = (s.tmp_0 - s.t___194917); + s.offset___194952 = (r0); + r0 = (s.offset___194952 <= s.maxMove___194899); 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___168336 * 256); + r0 = (s.offset___194952 * 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__P148297_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P174913_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 797; s.pc = 27; return s.tmp_3; @@ -57878,29 +57921,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___168285); + r0 = (s.arg1).fields["_y"] = (s.origY___194901); case 8: case 9: case 10: - r0 = (s.r___168296 + 1); + r0 = (s.r___194912 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___168278); - s.offset___168367 = (r0); - r0 = (s.offset___168367 <= s.maxMove___168283); + r0 = (s.tmp_0 % s.sz___194894); + s.offset___194983 = (r0); + r0 = (s.offset___194983 <= s.maxMove___194899); 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___168367 * 256); + r0 = (s.offset___194983 * 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__P148297_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P174913_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 800; s.pc = 28; return s.tmp_3; @@ -57917,35 +57960,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___168288); + r0 = (s.arg1).fields["_x"] = (s.origX___194904); case 12: case 13: case 14: - r0 = (s.l___168291 / s.sz___168278); + r0 = (s.l___194907 / s.sz___194894); 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___168278); + r0 = (s.tmp_1 * s.sz___194894); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___168291); - s.offset___168392 = (r0); - r0 = (s.offset___168392 <= s.maxMove___168283); + r0 = (s.tmp_0 - s.l___194907); + s.offset___195008 = (r0); + r0 = (s.offset___195008 <= s.maxMove___194899); 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___168392 * 256); + r0 = (s.offset___195008 * 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__P148297_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P174913_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 803; s.pc = 29; return s.tmp_3; @@ -57962,7 +58005,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___168288); + r0 = (s.arg1).fields["_x"] = (s.origX___194904); case 16: case 17: case 18: @@ -57971,12 +58014,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P150343.info = {"start":23711,"length":2135,"line":653,"column":4,"endLine":724,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P176959.info = {"start":23711,"length":2135,"line":653,"column":4,"endLine":724,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P150343_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P176959_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P150343, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P176959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57984,19 +58027,19 @@ function ArcadePhysicsEngine_canResolveClipping__P150343_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___168275: undefined, - sz___168278: undefined, - maxMove___168283: undefined, - origY___168285: undefined, - origX___168288: undefined, - l___168291: undefined, - r___168296: undefined, - t___168301: undefined, - b___168306: undefined, - offset___168311: undefined, - offset___168336: undefined, - offset___168367: undefined, - offset___168392: undefined, + hbox___194891: undefined, + sz___194894: undefined, + maxMove___194899: undefined, + origY___194901: undefined, + origX___194904: undefined, + l___194907: undefined, + r___194912: undefined, + t___194917: undefined, + b___194922: undefined, + offset___194927: undefined, + offset___194952: undefined, + offset___194983: undefined, + offset___195008: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -58006,7 +58049,7 @@ function ArcadePhysicsEngine_canResolveClipping__P150343_mk(s) { -function Sprite_isStatic__P148012(s) { +function Sprite_isStatic__P174628(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58021,19 +58064,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P148012.info = {"start":8549,"length":57,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P174628.info = {"start":8549,"length":57,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P148012_mk(s) { +function Sprite_isStatic__P174628_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P148012, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P174628, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -58043,7 +58086,7 @@ function Sprite_isStatic__P148012_mk(s) { -function game_Hitbox_bottom__P147916(s) { +function game_Hitbox_bottom__P174532(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58058,10 +58101,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C147906_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C174522_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P147914_mk(s); + s.tmp_3 = game_Hitbox_top__P174530_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 274; s.pc = 1; return s.tmp_3; case 1: @@ -58073,13 +58116,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P147916.info = {"start":742,"length":139,"line":31,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} -game_Hitbox_bottom__P147916.isGetter = true; +game_Hitbox_bottom__P174532.info = {"start":742,"length":139,"line":31,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} +game_Hitbox_bottom__P174532.isGetter = true; -function game_Hitbox_bottom__P147916_mk(s) { +function game_Hitbox_bottom__P174532_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P147916, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P174532, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58092,7 +58135,7 @@ function game_Hitbox_bottom__P147916_mk(s) { -function game_Hitbox_right__P147915(s) { +function game_Hitbox_right__P174531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58107,10 +58150,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C147906_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C174522_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P147913_mk(s); + s.tmp_3 = game_Hitbox_left__P174529_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 271; s.pc = 1; return s.tmp_3; case 1: @@ -58122,13 +58165,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P147915.info = {"start":594,"length":138,"line":24,"column":8,"endLine":29,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} -game_Hitbox_right__P147915.isGetter = true; +game_Hitbox_right__P174531.info = {"start":594,"length":138,"line":24,"column":8,"endLine":29,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} +game_Hitbox_right__P174531.isGetter = true; -function game_Hitbox_right__P147915_mk(s) { +function game_Hitbox_right__P174531_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P147915, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P174531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58141,7 +58184,7 @@ function game_Hitbox_right__P147915_mk(s) { -function game_Hitbox_top__P147914(s) { +function game_Hitbox_top__P174530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58156,7 +58199,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C147906_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C174522_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -58166,13 +58209,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P147914.info = {"start":511,"length":73,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} -game_Hitbox_top__P147914.isGetter = true; +game_Hitbox_top__P174530.info = {"start":511,"length":73,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} +game_Hitbox_top__P174530.isGetter = true; -function game_Hitbox_top__P147914_mk(s) { +function game_Hitbox_top__P174530_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P147914, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P174530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58183,7 +58226,7 @@ function game_Hitbox_top__P147914_mk(s) { -function game_Hitbox_left__P147913(s) { +function game_Hitbox_left__P174529(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58198,7 +58241,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C147906_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C174522_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -58208,13 +58251,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P147913.info = {"start":427,"length":74,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} -game_Hitbox_left__P147913.isGetter = true; +game_Hitbox_left__P174529.info = {"start":427,"length":74,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} +game_Hitbox_left__P174529.isGetter = true; -function game_Hitbox_left__P147913_mk(s) { +function game_Hitbox_left__P174529_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P147913, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P174529, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58225,7 +58268,7 @@ function game_Hitbox_left__P147913_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P150341(s) { +function ArcadePhysicsEngine_tilemapCollisions__P176957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58235,37 +58278,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___168543 = undefined; - s.hbox___168568 = undefined; - s.tileScale___168571 = undefined; - s.tileSize___168574 = undefined; - s.xDiff___168578 = undefined; - s.yDiff___168585 = undefined; - s.right___168601 = undefined; - s.x0___168605 = undefined; - s.collidedTiles___168620 = undefined; - s.y___168622 = undefined; - s.y0___168636 = undefined; - s.obstacle___168652 = undefined; - s.collisionDirection___168679 = undefined; - s.tile___168705 = undefined; - s.unnamed1054___U14 = undefined; - s.unnamed1055___U15 = undefined; - s.down___168783 = undefined; - s.y0___168787 = undefined; - s.collidedTiles___168802 = undefined; - s.x___168804 = undefined; - s.x0___168814 = undefined; - s.obstacle___168828 = undefined; - s.collisionDirection___168855 = undefined; - s.tile___168881 = undefined; - s.unnamed1056___U24 = undefined; - s.unnamed1057___U25 = undefined; - s.overlappedTiles___168962 = undefined; - s.x___168964 = undefined; - s.x0___168974 = undefined; - s.y___168984 = undefined; - s.y0___168994 = undefined; + s.s___195159 = undefined; + s.hbox___195184 = undefined; + s.tileScale___195187 = undefined; + s.tileSize___195190 = undefined; + s.xDiff___195194 = undefined; + s.yDiff___195201 = undefined; + s.right___195217 = undefined; + s.x0___195221 = undefined; + s.collidedTiles___195236 = undefined; + s.y___195238 = undefined; + s.y0___195252 = undefined; + s.obstacle___195268 = undefined; + s.collisionDirection___195295 = undefined; + s.tile___195321 = undefined; + s.unnamed1162___U14 = undefined; + s.unnamed1163___U15 = undefined; + s.down___195399 = undefined; + s.y0___195403 = undefined; + s.collidedTiles___195418 = undefined; + s.x___195420 = undefined; + s.x0___195430 = undefined; + s.obstacle___195444 = undefined; + s.collisionDirection___195471 = undefined; + s.tile___195497 = undefined; + s.unnamed1164___U24 = undefined; + s.unnamed1165___U25 = undefined; + s.overlappedTiles___195578 = undefined; + s.x___195580 = undefined; + s.x0___195590 = undefined; + s.y___195600 = undefined; + s.y0___195610 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -58273,18 +58316,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___168543 = (r0); - r0 = s.s___168543.fields["flags"]; + s.s___195159 = (r0); + r0 = s.s___195159.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__P148297_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P174913_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___168543; + s.tmp_5.arg1 = s.s___195159; s.callLocIdx = 664; s.pc = 89; return s.tmp_5; case 89: r0 = s.retval; @@ -58295,7 +58338,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___168543; + s.tmp_6 = r0 = s.s___195159; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -58305,7 +58348,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___168543.fields["_image"]; + r0 = s.s___195159.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -58315,32 +58358,32 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_setHitbox__P148011_mk(s); - s.tmp_4.arg0 = s.s___168543; + s.tmp_4 = Sprite_setHitbox__P174627_mk(s); + s.tmp_4.arg0 = s.s___195159; s.callLocIdx = 666; s.pc = 90; return s.tmp_4; case 90: r0 = s.retval; case 5: case 6: - r0 = s.s___168543.fields["_hitbox"]; - s.hbox___168568 = (r0); + r0 = s.s___195159.fields["_hitbox"]; + s.hbox___195184 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___168571 = (r0); - r0 = (1 << s.tileScale___168571); - s.tileSize___168574 = (r0); - r0 = s.s___168543.fields["_x"]; + s.tileScale___195187 = (r0); + r0 = (1 << s.tileScale___195187); + s.tileSize___195190 = (r0); + r0 = s.s___195159.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___168543.fields["_lastX"]; + r0 = s.s___195159.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___168578 = (r0); - r0 = s.s___168543.fields["_y"]; + s.xDiff___195194 = (r0); + r0 = s.s___195159.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___168543.fields["_lastY"]; + r0 = s.s___195159.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___168585 = (r0); - r0 = s.s___168543.fields["flags"]; + s.yDiff___195201 = (r0); + r0 = s.s___195159.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -58350,16 +58393,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 75; continue; } - r0 = (s.xDiff___168578 !== 0); + r0 = (s.xDiff___195194 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___168578 > 0); - s.right___168601 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___168601); + r0 = (s.xDiff___195194 > 0); + s.right___195217 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___195217); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P147915_mk(s); - s.tmp_1.arg0 = s.hbox___168568; + s.tmp_1 = game_Hitbox_right__P174531_mk(s); + s.tmp_1.arg0 = s.hbox___195184; s.callLocIdx = 670; s.pc = 91; return s.tmp_1; case 91: r0 = s.retval; @@ -58367,8 +58410,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P147913_mk(s); - s.tmp_3.arg0 = s.hbox___168568; + s.tmp_3 = game_Hitbox_left__P174529_mk(s); + s.tmp_3.arg0 = s.hbox___195184; s.callLocIdx = 672; s.pc = 92; return s.tmp_3; case 92: r0 = s.retval; @@ -58379,30 +58422,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___168571 + 8); + r0 = (s.tileScale___195187 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___168605 = (r0); + s.x0___195221 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___168620 = (r0); - s.tmp_1 = game_Hitbox_top__P147914_mk(s); - s.tmp_1.arg0 = s.hbox___168568; + s.collidedTiles___195236 = (r0); + s.tmp_1 = game_Hitbox_top__P174530_mk(s); + s.tmp_1.arg0 = s.hbox___195184; s.callLocIdx = 676; s.pc = 93; return s.tmp_1; case 93: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___168585); - s.y___168622 = (r0); + r0 = (s.tmp_0 - s.yDiff___195201); + s.y___195238 = (r0); case 9: - s.tmp_1 = r0 = s.y___168622; - s.tmp_3 = r0 = s.tileSize___168574; - s.tmp_6 = game_Hitbox_bottom__P147916_mk(s); - s.tmp_6.arg0 = s.hbox___168568; + s.tmp_1 = r0 = s.y___195238; + s.tmp_3 = r0 = s.tileSize___195190; + s.tmp_6 = game_Hitbox_bottom__P174532_mk(s); + s.tmp_6.arg0 = s.hbox___195184; s.callLocIdx = 678; s.pc = 94; return s.tmp_6; case 94: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___168585); + r0 = (s.tmp_5 - s.yDiff___195201); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -58412,15 +58455,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P146098_mk(s); - s.tmp_10.arg0 = s.y___168622; - s.tmp_12 = game_Hitbox_bottom__P147916_mk(s); - s.tmp_12.arg0 = s.hbox___168568; + s.tmp_10 = Fx_min__P172714_mk(s); + s.tmp_10.arg0 = s.y___195238; + s.tmp_12 = game_Hitbox_bottom__P174532_mk(s); + s.tmp_12.arg0 = s.hbox___195184; s.callLocIdx = 681; s.pc = 96; return s.tmp_12; case 96: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___168585); + r0 = (s.tmp_11 - s.yDiff___195201); s.tmp_10.arg1 = r0; s.callLocIdx = 683; s.pc = 95; return s.tmp_10; case 95: @@ -58428,33 +58471,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___168571 + 8); + r0 = (s.tileScale___195187 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___168636 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P148295_mk(s); + s.y0___195252 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P174911_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___168605; - s.tmp_1.arg2 = s.y0___168636; + s.tmp_1.arg1 = s.x0___195221; + s.tmp_1.arg2 = s.y0___195252; s.callLocIdx = 686; s.pc = 97; return s.tmp_1; case 97: 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__P148296_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P174912_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___168605; - s.tmp_2.arg2 = s.y0___168636; + s.tmp_2.arg1 = s.x0___195221; + s.tmp_2.arg2 = s.y0___195252; s.callLocIdx = 687; s.pc = 98; return s.tmp_2; case 98: r0 = s.retval; - s.obstacle___168652 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P168660); + s.obstacle___195268 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P195276); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___168652); - s.tmp_4 = helpers_arraySome__P146040_mk(s); - s.tmp_4.arg0 = s.collidedTiles___168620; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___195268); + s.tmp_4 = helpers_arraySome__P172656_mk(s); + s.tmp_4.arg0 = s.collidedTiles___195236; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 688; s.pc = 99; return s.tmp_4; case 99: @@ -58466,22 +58509,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___168620, s.obstacle___168652); + r0 = pxsim_Array__push(s.collidedTiles___195236, s.obstacle___195268); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___168574 << 8); + r0 = (s.tileSize___195190 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___168622); - s.y___168622 = (r0); + r0 = (s.tmp_0 + s.y___195238); + s.y___195238 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___168620); + r0 = pxsim_Array__length(s.collidedTiles___195236); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___168601); + r0 = pxsim_numops_toBoolDecr(s.right___195217); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -58490,23 +58533,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___168679 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___168601); + s.collisionDirection___195295 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___195217); if (!r0) { step = 17; continue; } - r0 = (s.x0___168605 << s.tileScale___168571); + r0 = (s.x0___195221 << s.tileScale___195187); 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___168568.fields["width"]; + r0 = s.hbox___195184.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___168605 + 1); + r0 = (s.x0___195221 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___168571); + r0 = (s.tmp_5 << s.tileScale___195187); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -58514,44 +58557,44 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___168543; - r0 = s.hbox___168568.fields["ox"]; + s.tmp_8 = r0 = s.s___195159; + r0 = s.hbox___195184.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___168705 = (undefined); - s.unnamed1054___U14 = (s.collidedTiles___168620); - s.unnamed1055___U15 = (0); + s.tile___195321 = (undefined); + s.unnamed1162___U14 = (s.collidedTiles___195236); + s.unnamed1163___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed1055___U15; - r0 = pxsim_Array__length(s.unnamed1054___U14); + s.tmp_0 = r0 = s.unnamed1163___U15; + r0 = pxsim_Array__length(s.unnamed1162___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed1054___U14, s.unnamed1055___U15); - s.tile___168705 = (r0); - s.tmp_2 = Sprite_registerObstacle__P148041_mk(s); - s.tmp_2.arg0 = s.s___168543; - s.tmp_2.arg1 = s.collisionDirection___168679; - s.tmp_2.arg2 = s.tile___168705; + r0 = pxsim_Array__getAt(s.unnamed1162___U14, s.unnamed1163___U15); + s.tile___195321 = (r0); + s.tmp_2 = Sprite_registerObstacle__P174657_mk(s); + s.tmp_2.arg0 = s.s___195159; + s.tmp_2.arg1 = s.collisionDirection___195295; + s.tmp_2.arg2 = s.tile___195321; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 694; s.pc = 100; return s.tmp_2; case 100: r0 = s.retval; - r0 = (s.unnamed1055___U15 + 1); - s.unnamed1055___U15 = (r0); + r0 = (s.unnamed1163___U15 + 1); + s.unnamed1163___U15 = (r0); { step = 19; continue; } case 20: - s.unnamed1054___U14 = (undefined); - r0 = s.s___168543.fields["flags"]; + s.unnamed1162___U14 = (undefined); + r0 = s.s___195159.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 = 21; continue; } - s.tmp_2 = Sprite_destroy__P148043_mk(s); - s.tmp_2.arg0 = s.s___168543; + s.tmp_2 = Sprite_destroy__P174659_mk(s); + s.tmp_2.arg0 = s.s___195159; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 695; s.pc = 101; return s.tmp_2; @@ -58559,7 +58602,7 @@ switch (step) { r0 = s.retval; { step = 36; continue; } case 21: - r0 = s.s___168543.fields["_vx"]; + r0 = s.s___195159.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -58567,13 +58610,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = s.s___168543.fields["flags"]; + r0 = s.s___195159.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 32); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 30; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___168601); + r0 = pxsim_numops_toBoolDecr(s.right___195217); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -58582,8 +58625,8 @@ switch (step) { r0 = s.tmp_5; { step = 23; continue; } case 22: - s.tmp_8 = Sprite_vx__P147983_mk(s); - s.tmp_8.arg0 = s.s___168543; + s.tmp_8 = Sprite_vx__P174599_mk(s); + s.tmp_8.arg0 = s.s___195159; s.callLocIdx = 696; s.pc = 102; return s.tmp_8; case 102: r0 = s.retval; @@ -58597,14 +58640,14 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 24: - s.tmp_10 = r0 = s.right___168601; + s.tmp_10 = r0 = s.right___195217; r0 = pxsim_numops_toBool(s.tmp_10); if (r0) { step = 25; continue; } r0 = s.tmp_10; { step = 26; continue; } case 25: - s.tmp_12 = Sprite_vx__P147983_mk(s); - s.tmp_12.arg0 = s.s___168543; + s.tmp_12 = Sprite_vx__P174599_mk(s); + s.tmp_12.arg0 = s.s___195159; s.callLocIdx = 697; s.pc = 103; return s.tmp_12; case 103: r0 = s.retval; @@ -58619,8 +58662,8 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 28; continue; } - s.tmp_15 = r0 = s.s___168543; - r0 = s.s___168543.fields["_vx"]; + s.tmp_15 = r0 = s.s___195159; + r0 = s.s___195159.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -58642,12 +58685,12 @@ switch (step) { { step = 31; continue; } case 30: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___168543).fields["_vx"] = (0); + r0 = (s.s___195159).fields["_vx"] = (0); case 31: { step = 35; continue; } case 32: - s.tmp_2 = Math_sign__P146061_mk(s); - r0 = s.s___168543.fields["_vx"]; + s.tmp_2 = Math_sign__P172677_mk(s); + r0 = s.s___195159.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -58657,7 +58700,7 @@ switch (step) { case 104: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P146061_mk(s); + s.tmp_6 = Math_sign__P172677_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -58681,16 +58724,16 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___168585 !== 0); + r0 = (s.yDiff___195201 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 73; continue; } - r0 = (s.yDiff___168585 > 0); - s.down___168783 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___168783); + r0 = (s.yDiff___195201 > 0); + s.down___195399 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___195399); if (!r0) { step = 41; continue; } - s.tmp_1 = game_Hitbox_bottom__P147916_mk(s); - s.tmp_1.arg0 = s.hbox___168568; + s.tmp_1 = game_Hitbox_bottom__P174532_mk(s); + s.tmp_1.arg0 = s.hbox___195184; s.callLocIdx = 705; s.pc = 106; return s.tmp_1; case 106: r0 = s.retval; @@ -58698,8 +58741,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 42; continue; } case 41: - s.tmp_3 = game_Hitbox_top__P147914_mk(s); - s.tmp_3.arg0 = s.hbox___168568; + s.tmp_3 = game_Hitbox_top__P174530_mk(s); + s.tmp_3.arg0 = s.hbox___195184; s.callLocIdx = 707; s.pc = 107; return s.tmp_3; case 107: r0 = s.retval; @@ -58710,23 +58753,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___168571 + 8); + r0 = (s.tileScale___195187 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___168787 = (r0); + s.y0___195403 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___168802 = (r0); - s.tmp_0 = game_Hitbox_left__P147913_mk(s); - s.tmp_0.arg0 = s.hbox___168568; + s.collidedTiles___195418 = (r0); + s.tmp_0 = game_Hitbox_left__P174529_mk(s); + s.tmp_0.arg0 = s.hbox___195184; s.callLocIdx = 711; s.pc = 108; return s.tmp_0; case 108: r0 = s.retval; - s.x___168804 = (r0); + s.x___195420 = (r0); case 43: - s.tmp_1 = r0 = s.x___168804; - s.tmp_3 = r0 = s.tileSize___168574; - s.tmp_5 = game_Hitbox_right__P147915_mk(s); - s.tmp_5.arg0 = s.hbox___168568; + s.tmp_1 = r0 = s.x___195420; + s.tmp_3 = r0 = s.tileSize___195190; + s.tmp_5 = game_Hitbox_right__P174531_mk(s); + s.tmp_5.arg0 = s.hbox___195184; s.callLocIdx = 712; s.pc = 109; return s.tmp_5; case 109: r0 = s.retval; @@ -58739,10 +58782,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_9 = Fx_min__P146098_mk(s); - s.tmp_9.arg0 = s.x___168804; - s.tmp_10 = game_Hitbox_right__P147915_mk(s); - s.tmp_10.arg0 = s.hbox___168568; + s.tmp_9 = Fx_min__P172714_mk(s); + s.tmp_9.arg0 = s.x___195420; + s.tmp_10 = game_Hitbox_right__P174531_mk(s); + s.tmp_10.arg0 = s.hbox___195184; s.callLocIdx = 714; s.pc = 111; return s.tmp_10; case 111: r0 = s.retval; @@ -58753,33 +58796,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___168571 + 8); + r0 = (s.tileScale___195187 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___168814 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P148295_mk(s); + s.x0___195430 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P174911_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___168814; - s.tmp_1.arg2 = s.y0___168787; + s.tmp_1.arg1 = s.x0___195430; + s.tmp_1.arg2 = s.y0___195403; s.callLocIdx = 718; s.pc = 112; return s.tmp_1; case 112: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 46; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P148296_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P174912_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___168814; - s.tmp_2.arg2 = s.y0___168787; + s.tmp_2.arg1 = s.x0___195430; + s.tmp_2.arg2 = s.y0___195403; s.callLocIdx = 719; s.pc = 113; return s.tmp_2; case 113: r0 = s.retval; - s.obstacle___168828 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P168836); + s.obstacle___195444 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P195452); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___168828); - s.tmp_4 = helpers_arraySome__P146040_mk(s); - s.tmp_4.arg0 = s.collidedTiles___168802; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___195444); + s.tmp_4 = helpers_arraySome__P172656_mk(s); + s.tmp_4.arg0 = s.collidedTiles___195418; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 720; s.pc = 114; return s.tmp_4; case 114: @@ -58791,22 +58834,22 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 44; continue; } - r0 = pxsim_Array__push(s.collidedTiles___168802, s.obstacle___168828); + r0 = pxsim_Array__push(s.collidedTiles___195418, s.obstacle___195444); case 44: case 45: case 46: case 47: - r0 = (s.tileSize___168574 << 8); + r0 = (s.tileSize___195190 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___168804); - s.x___168804 = (r0); + r0 = (s.tmp_0 + s.x___195420); + s.x___195420 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___168802); + r0 = pxsim_Array__length(s.collidedTiles___195418); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___168783); + r0 = pxsim_numops_toBoolDecr(s.down___195399); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -58815,23 +58858,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___168855 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___168783); + s.collisionDirection___195471 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___195399); if (!r0) { step = 51; continue; } - r0 = (s.y0___168787 << s.tileScale___168571); + r0 = (s.y0___195403 << s.tileScale___195187); 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___168568.fields["height"]; + r0 = s.hbox___195184.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___168787 + 1); + r0 = (s.y0___195403 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___168571); + r0 = (s.tmp_5 << s.tileScale___195187); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -58839,44 +58882,44 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___168543; - r0 = s.hbox___168568.fields["oy"]; + s.tmp_8 = r0 = s.s___195159; + r0 = s.hbox___195184.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___168881 = (undefined); - s.unnamed1056___U24 = (s.collidedTiles___168802); - s.unnamed1057___U25 = (0); + s.tile___195497 = (undefined); + s.unnamed1164___U24 = (s.collidedTiles___195418); + s.unnamed1165___U25 = (0); case 53: - s.tmp_0 = r0 = s.unnamed1057___U25; - r0 = pxsim_Array__length(s.unnamed1056___U24); + s.tmp_0 = r0 = s.unnamed1165___U25; + r0 = pxsim_Array__length(s.unnamed1164___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 54; continue; } - r0 = pxsim_Array__getAt(s.unnamed1056___U24, s.unnamed1057___U25); - s.tile___168881 = (r0); - s.tmp_2 = Sprite_registerObstacle__P148041_mk(s); - s.tmp_2.arg0 = s.s___168543; - s.tmp_2.arg1 = s.collisionDirection___168855; - s.tmp_2.arg2 = s.tile___168881; + r0 = pxsim_Array__getAt(s.unnamed1164___U24, s.unnamed1165___U25); + s.tile___195497 = (r0); + s.tmp_2 = Sprite_registerObstacle__P174657_mk(s); + s.tmp_2.arg0 = s.s___195159; + s.tmp_2.arg1 = s.collisionDirection___195471; + s.tmp_2.arg2 = s.tile___195497; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 726; s.pc = 115; return s.tmp_2; case 115: r0 = s.retval; - r0 = (s.unnamed1057___U25 + 1); - s.unnamed1057___U25 = (r0); + r0 = (s.unnamed1165___U25 + 1); + s.unnamed1165___U25 = (r0); { step = 53; continue; } case 54: - s.unnamed1056___U24 = (undefined); - r0 = s.s___168543.fields["flags"]; + s.unnamed1164___U24 = (undefined); + r0 = s.s___195159.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 = 55; continue; } - s.tmp_2 = Sprite_destroy__P148043_mk(s); - s.tmp_2.arg0 = s.s___168543; + s.tmp_2 = Sprite_destroy__P174659_mk(s); + s.tmp_2.arg0 = s.s___195159; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 727; s.pc = 116; return s.tmp_2; @@ -58884,7 +58927,7 @@ switch (step) { r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___168543.fields["_vy"]; + r0 = s.s___195159.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -58892,13 +58935,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___168543.fields["flags"]; + r0 = s.s___195159.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 32); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 64; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___168783); + r0 = pxsim_numops_toBoolDecr(s.down___195399); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -58907,8 +58950,8 @@ switch (step) { r0 = s.tmp_5; { step = 57; continue; } case 56: - s.tmp_8 = Sprite_vy__P147985_mk(s); - s.tmp_8.arg0 = s.s___168543; + s.tmp_8 = Sprite_vy__P174601_mk(s); + s.tmp_8.arg0 = s.s___195159; s.callLocIdx = 728; s.pc = 117; return s.tmp_8; case 117: r0 = s.retval; @@ -58922,14 +58965,14 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___168783; + s.tmp_10 = r0 = s.down___195399; r0 = pxsim_numops_toBool(s.tmp_10); if (r0) { step = 59; continue; } r0 = s.tmp_10; { step = 60; continue; } case 59: - s.tmp_12 = Sprite_vy__P147985_mk(s); - s.tmp_12.arg0 = s.s___168543; + s.tmp_12 = Sprite_vy__P174601_mk(s); + s.tmp_12.arg0 = s.s___195159; s.callLocIdx = 729; s.pc = 118; return s.tmp_12; case 118: r0 = s.retval; @@ -58944,8 +58987,8 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 62; continue; } - s.tmp_15 = r0 = s.s___168543; - r0 = s.s___168543.fields["_vy"]; + s.tmp_15 = r0 = s.s___195159; + r0 = s.s___195159.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -58967,12 +59010,12 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___168543).fields["_vy"] = (0); + r0 = (s.s___195159).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: - s.tmp_2 = Math_sign__P146061_mk(s); - r0 = s.s___168543.fields["_vy"]; + s.tmp_2 = Math_sign__P172677_mk(s); + r0 = s.s___195159.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -58982,7 +59025,7 @@ switch (step) { case 119: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P146061_mk(s); + s.tmp_6 = Math_sign__P172677_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -59008,7 +59051,7 @@ switch (step) { case 74: case 75: case 76: - r0 = s.s___168543.fields["flags"]; + r0 = s.s___195159.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -59019,18 +59062,18 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 87; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___168962 = (r0); - s.tmp_0 = game_Hitbox_left__P147913_mk(s); - s.tmp_0.arg0 = s.hbox___168568; + s.overlappedTiles___195578 = (r0); + s.tmp_0 = game_Hitbox_left__P174529_mk(s); + s.tmp_0.arg0 = s.hbox___195184; s.callLocIdx = 737; s.pc = 121; return s.tmp_0; case 121: r0 = s.retval; - s.x___168964 = (r0); + s.x___195580 = (r0); case 77: - s.tmp_1 = r0 = s.x___168964; - s.tmp_3 = r0 = s.tileSize___168574; - s.tmp_5 = game_Hitbox_right__P147915_mk(s); - s.tmp_5.arg0 = s.hbox___168568; + s.tmp_1 = r0 = s.x___195580; + s.tmp_3 = r0 = s.tileSize___195190; + s.tmp_5 = game_Hitbox_right__P174531_mk(s); + s.tmp_5.arg0 = s.hbox___195184; s.callLocIdx = 738; s.pc = 122; return s.tmp_5; case 122: r0 = s.retval; @@ -59043,10 +59086,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 84; continue; } - s.tmp_9 = Fx_min__P146098_mk(s); - s.tmp_9.arg0 = s.x___168964; - s.tmp_10 = game_Hitbox_right__P147915_mk(s); - s.tmp_10.arg0 = s.hbox___168568; + s.tmp_9 = Fx_min__P172714_mk(s); + s.tmp_9.arg0 = s.x___195580; + s.tmp_10 = game_Hitbox_right__P174531_mk(s); + s.tmp_10.arg0 = s.hbox___195184; s.callLocIdx = 740; s.pc = 124; return s.tmp_10; case 124: r0 = s.retval; @@ -59057,21 +59100,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___168571 + 8); + r0 = (s.tileScale___195187 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___168974 = (r0); - s.tmp_0 = game_Hitbox_top__P147914_mk(s); - s.tmp_0.arg0 = s.hbox___168568; + s.x0___195590 = (r0); + s.tmp_0 = game_Hitbox_top__P174530_mk(s); + s.tmp_0.arg0 = s.hbox___195184; s.callLocIdx = 744; s.pc = 125; return s.tmp_0; case 125: r0 = s.retval; - s.y___168984 = (r0); + s.y___195600 = (r0); case 78: - s.tmp_1 = r0 = s.y___168984; - s.tmp_3 = r0 = s.tileSize___168574; - s.tmp_5 = game_Hitbox_bottom__P147916_mk(s); - s.tmp_5.arg0 = s.hbox___168568; + s.tmp_1 = r0 = s.y___195600; + s.tmp_3 = r0 = s.tileSize___195190; + s.tmp_5 = game_Hitbox_bottom__P174532_mk(s); + s.tmp_5.arg0 = s.hbox___195184; s.callLocIdx = 745; s.pc = 126; return s.tmp_5; case 126: r0 = s.retval; @@ -59084,10 +59127,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 83; continue; } - s.tmp_9 = Fx_min__P146098_mk(s); - s.tmp_9.arg0 = s.y___168984; - s.tmp_10 = game_Hitbox_bottom__P147916_mk(s); - s.tmp_10.arg0 = s.hbox___168568; + s.tmp_9 = Fx_min__P172714_mk(s); + s.tmp_9.arg0 = s.y___195600; + s.tmp_10 = game_Hitbox_bottom__P174532_mk(s); + s.tmp_10.arg0 = s.hbox___195184; s.callLocIdx = 747; s.pc = 128; return s.tmp_10; case 128: r0 = s.retval; @@ -59098,14 +59141,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___168571 + 8); + r0 = (s.tileScale___195187 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___168994 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P148295_mk(s); + s.y0___195610 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P174911_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___168974; - s.tmp_3.arg2 = s.y0___168994; + s.tmp_3.arg1 = s.x0___195590; + s.tmp_3.arg2 = s.y0___195610; s.callLocIdx = 751; s.pc = 129; return s.tmp_3; case 129: r0 = s.retval; @@ -59119,7 +59162,7 @@ switch (step) { r0 = s.tmp_0; { step = 80; continue; } case 79: - r0 = s.s___168543.fields["flags"]; + r0 = s.s___195159.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -59135,11 +59178,11 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 81; continue; } - s.tmp_10 = r0 = s.overlappedTiles___168962; - s.tmp_12 = tiles_TileMap_getTile__P148288_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___195578; + s.tmp_12 = tiles_TileMap_getTile__P174904_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___168974; - s.tmp_12.arg2 = s.y0___168994; + s.tmp_12.arg1 = s.x0___195590; + s.tmp_12.arg2 = s.y0___195610; s.callLocIdx = 752; s.pc = 130; return s.tmp_12; case 130: r0 = s.retval; @@ -59147,26 +59190,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 81: case 82: - r0 = (s.tileSize___168574 << 8); + r0 = (s.tileSize___195190 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___168984); - s.y___168984 = (r0); + r0 = (s.tmp_0 + s.y___195600); + s.y___195600 = (r0); { step = 78; continue; } case 83: - r0 = (s.tileSize___168574 << 8); + r0 = (s.tileSize___195190 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___168964); - s.x___168964 = (r0); + r0 = (s.tmp_0 + s.x___195580); + s.x___195580 = (r0); { step = 77; continue; } case 84: - r0 = pxsim_Array__length(s.overlappedTiles___168962); + r0 = pxsim_Array__length(s.overlappedTiles___195578); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 85; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P150342_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P176958_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___168543; - s.tmp_1.arg2 = s.overlappedTiles___168962; + s.tmp_1.arg1 = s.s___195159; + s.tmp_1.arg2 = s.overlappedTiles___195578; s.callLocIdx = 755; s.pc = 131; return s.tmp_1; case 131: r0 = s.retval; @@ -59178,12 +59221,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P150341.info = {"start":11722,"length":9376,"line":348,"column":4,"endLine":583,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P176957.info = {"start":11722,"length":9376,"line":348,"column":4,"endLine":583,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P150341_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P176957_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P150341, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P176957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59203,37 +59246,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P150341_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___168543: undefined, - hbox___168568: undefined, - tileScale___168571: undefined, - tileSize___168574: undefined, - xDiff___168578: undefined, - yDiff___168585: undefined, - right___168601: undefined, - x0___168605: undefined, - collidedTiles___168620: undefined, - y___168622: undefined, - y0___168636: undefined, - obstacle___168652: undefined, - collisionDirection___168679: undefined, - tile___168705: undefined, - unnamed1054___U14: undefined, - unnamed1055___U15: undefined, - down___168783: undefined, - y0___168787: undefined, - collidedTiles___168802: undefined, - x___168804: undefined, - x0___168814: undefined, - obstacle___168828: undefined, - collisionDirection___168855: undefined, - tile___168881: undefined, - unnamed1056___U24: undefined, - unnamed1057___U25: undefined, - overlappedTiles___168962: undefined, - x___168964: undefined, - x0___168974: undefined, - y___168984: undefined, - y0___168994: undefined, + s___195159: undefined, + hbox___195184: undefined, + tileScale___195187: undefined, + tileSize___195190: undefined, + xDiff___195194: undefined, + yDiff___195201: undefined, + right___195217: undefined, + x0___195221: undefined, + collidedTiles___195236: undefined, + y___195238: undefined, + y0___195252: undefined, + obstacle___195268: undefined, + collisionDirection___195295: undefined, + tile___195321: undefined, + unnamed1162___U14: undefined, + unnamed1163___U15: undefined, + down___195399: undefined, + y0___195403: undefined, + collidedTiles___195418: undefined, + x___195420: undefined, + x0___195430: undefined, + obstacle___195444: undefined, + collisionDirection___195471: undefined, + tile___195497: undefined, + unnamed1164___U24: undefined, + unnamed1165___U25: undefined, + overlappedTiles___195578: undefined, + x___195580: undefined, + x0___195590: undefined, + y___195600: undefined, + y0___195610: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -59243,7 +59286,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P150341_mk(s) { -function inline__P168660(s) { +function inline__P195276(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59265,12 +59308,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P168660.info = {"start":13940,"length":39,"line":410,"column":48,"endLine":410,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P195276.info = {"start":13940,"length":39,"line":410,"column":48,"endLine":410,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P168660_mk(s) { +function inline__P195276_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P168660, depth: s.depth + 1, + parent: s, fn: inline__P195276, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59281,7 +59324,7 @@ function inline__P168660_mk(s) { -function inline__P168836(s) { +function inline__P195452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59303,12 +59346,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P168836.info = {"start":17322,"length":39,"line":489,"column":48,"endLine":489,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P195452.info = {"start":17322,"length":39,"line":489,"column":48,"endLine":489,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P168836_mk(s) { +function inline__P195452_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P168836, depth: s.depth + 1, + parent: s, fn: inline__P195452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59319,7 +59362,7 @@ function inline__P168836_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P150342(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P176958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59329,11 +59372,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___169041 = undefined; - s.tile___169044 = undefined; - s.unnamed1058___U2 = undefined; - s.unnamed1059___U3 = undefined; - s.tileOverlapHandlers___169065 = undefined; + s.alreadyHandled___195657 = undefined; + s.tile___195660 = undefined; + s.unnamed1166___U2 = undefined; + s.unnamed1167___U3 = undefined; + s.tileOverlapHandlers___195681 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -59341,25 +59384,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___169041 = (r0); - s.tile___169044 = (undefined); - s.unnamed1058___U2 = (s.arg2); - s.unnamed1059___U3 = (0); + s.alreadyHandled___195657 = (r0); + s.tile___195660 = (undefined); + s.unnamed1166___U2 = (s.arg2); + s.unnamed1167___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1059___U3; - r0 = pxsim_Array__length(s.unnamed1058___U2); + s.tmp_0 = r0 = s.unnamed1167___U3; + r0 = pxsim_Array__length(s.unnamed1166___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed1058___U2, s.unnamed1059___U3); - s.tile___169044 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P169048); + r0 = pxsim_Array__getAt(s.unnamed1166___U2, s.unnamed1167___U3); + s.tile___195660 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P195664); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___169044); - s.tmp_4 = helpers_arraySome__P146040_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___169041; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___195660); + s.tmp_4 = helpers_arraySome__P172656_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___195657; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 760; s.pc = 8; return s.tmp_4; case 8: @@ -59370,26 +59413,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___169041, s.tile___169044); - s.tmp_0 = game_currentScene__P148484_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___195657, s.tile___195660); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 761; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___169065 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___169065); + s.tileOverlapHandlers___195681 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___195681); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P169073); + r0 = pxsim_pxtcore_mkAction(2, inline__P195689); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___169044); - r0 = pxsim_pxtcore_mkAction(2, inline__P169087); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___195660); + r0 = pxsim_pxtcore_mkAction(2, inline__P195703); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___169044); - s.tmp_2 = helpers_arrayForEach__P146042_mk(s); - s.tmp_3 = helpers_arrayFilter__P146043_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___169065; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___195660); + s.tmp_2 = helpers_arrayForEach__P172658_mk(s); + s.tmp_3 = helpers_arrayFilter__P172659_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___195681; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 764; s.pc = 11; return s.tmp_3; case 11: @@ -59402,32 +59445,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed1059___U3 + 1); - s.unnamed1059___U3 = (r0); + r0 = (s.unnamed1167___U3 + 1); + s.unnamed1167___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed1058___U2 = (undefined); + s.unnamed1166___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P150342.info = {"start":21375,"length":701,"line":591,"column":4,"endLine":607,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P176958.info = {"start":21375,"length":701,"line":591,"column":4,"endLine":607,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P150342_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P176958_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P150342, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P176958, 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___169041: undefined, - tile___169044: undefined, - unnamed1058___U2: undefined, - unnamed1059___U3: undefined, - tileOverlapHandlers___169065: undefined, + alreadyHandled___195657: undefined, + tile___195660: undefined, + unnamed1166___U2: undefined, + unnamed1167___U3: undefined, + tileOverlapHandlers___195681: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -59437,7 +59480,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P150342_mk(s) { -function inline__P169048(s) { +function inline__P195664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59474,12 +59517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169048.info = {"start":21590,"length":45,"line":595,"column":36,"endLine":595,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +inline__P195664.info = {"start":21590,"length":45,"line":595,"column":36,"endLine":595,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function inline__P169048_mk(s) { +function inline__P195664_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169048, depth: s.depth + 1, + parent: s, fn: inline__P195664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59494,7 +59537,7 @@ function inline__P169048_mk(s) { -function inline__P169073(s) { +function inline__P195689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59521,7 +59564,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P148304_mk(s); + s.tmp_5 = tiles_getTileImage__P174920_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 763; s.pc = 3; return s.tmp_5; case 3: @@ -59535,12 +59578,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169073.info = {"start":21904,"length":81,"line":603,"column":28,"endLine":603,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P195689.info = {"start":21904,"length":81,"line":603,"column":28,"endLine":603,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P169073_mk(s) { +function inline__P195689_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169073, depth: s.depth + 1, + parent: s, fn: inline__P195689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59556,7 +59599,7 @@ function inline__P169073_mk(s) { -function inline__P169087(s) { +function inline__P195703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59589,12 +59632,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169087.info = {"start":22016,"length":28,"line":604,"column":29,"endLine":604,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P195703.info = {"start":22016,"length":28,"line":604,"column":29,"endLine":604,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P169087_mk(s) { +function inline__P195703_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169087, depth: s.depth + 1, + parent: s, fn: inline__P195703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -59604,7 +59647,7 @@ function inline__P169087_mk(s) { -function tiles_getTileImage__P148304(s) { +function tiles_getTileImage__P174920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59614,16 +59657,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___169094 = undefined; + s.scene___195710 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1012; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___169094 = (r0); + s.scene___195710 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -59633,7 +59676,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___169094.fields["tileMap"]; + r0 = s.scene___195710.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -59643,14 +59686,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex169104); + r0 = pxsim.image.ofBuffer(_hex195720); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P148298_mk(s); - r0 = s.scene___169094.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P174914_mk(s); + r0 = s.scene___195710.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P148253_mk(s); + s.tmp_6 = tiles_Location_tileSet__P174869_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 1013; s.pc = 8; return s.tmp_6; case 8: @@ -59663,12 +59706,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P148304.info = {"start":16692,"length":207,"line":526,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P174920.info = {"start":16692,"length":207,"line":526,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P148304_mk(s) { +function tiles_getTileImage__P174920_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P148304, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P174920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59677,16 +59720,16 @@ function tiles_getTileImage__P148304_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___169094: undefined, + scene___195710: undefined, arg0: undefined, } } -const _hex169104 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex195720 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_Location_row__P148249(s) { +function tiles_Location_row__P174865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59701,18 +59744,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C148247_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C174863_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P148249.info = {"start":467,"length":51,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} -tiles_Location_row__P148249.isGetter = true; +tiles_Location_row__P174865.info = {"start":467,"length":51,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} +tiles_Location_row__P174865.isGetter = true; -function tiles_Location_row__P148249_mk(s) { +function tiles_Location_row__P174865_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P148249, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P174865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -59721,7 +59764,7 @@ function tiles_Location_row__P148249_mk(s) { -function tiles_Location_col__P148248(s) { +function tiles_Location_col__P174864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59736,18 +59779,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C148247_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C174863_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_col__P148248.info = {"start":406,"length":51,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} -tiles_Location_col__P148248.isGetter = true; +tiles_Location_col__P174864.info = {"start":406,"length":51,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} +tiles_Location_col__P174864.isGetter = true; -function tiles_Location_col__P148248_mk(s) { +function tiles_Location_col__P174864_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P148248, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P174864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -59756,7 +59799,7 @@ function tiles_Location_col__P148248_mk(s) { -function tiles_TileMap_getObstacle__P148296(s) { +function tiles_TileMap_getObstacle__P174912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59766,8 +59809,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___169193 = undefined; - s.tile___169205 = undefined; + s.index___195809 = undefined; + s.tile___195821 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -59775,8 +59818,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P148274_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P174890_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -59790,7 +59833,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P148268_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P174884_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -59801,20 +59844,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___169193 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P148271_mk(s); + s.index___195809 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P174887_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___169193; + s.tmp_0.arg1 = s.index___195809; s.callLocIdx = 978; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___169205 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C148102_VT); + s.tile___195821 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C174718_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P148108_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P174724_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___169205; + s.tmp_1.arg1 = s.tile___195821; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -59827,7 +59870,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___169193; + s.tmp_1.arg5 = s.index___195809; s.callLocIdx = 982; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -59835,12 +59878,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P148296.info = {"start":12698,"length":410,"line":412,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P174912.info = {"start":12698,"length":410,"line":412,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P148296_mk(s) { +function tiles_TileMap_getObstacle__P174912_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P148296, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P174912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59848,8 +59891,8 @@ function tiles_TileMap_getObstacle__P148296_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___169193: undefined, - tile___169205: undefined, + index___195809: undefined, + tile___195821: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -59859,7 +59902,7 @@ function tiles_TileMap_getObstacle__P148296_mk(s) { -function tiles_TileMap_layer__P148284(s) { +function tiles_TileMap_layer__P174900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59874,18 +59917,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P148284.info = {"start":6953,"length":63,"line":252,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P148284.isGetter = true; +tiles_TileMap_layer__P174900.info = {"start":6953,"length":63,"line":252,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P174900.isGetter = true; -function tiles_TileMap_layer__P148284_mk(s) { +function tiles_TileMap_layer__P174900_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P148284, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P174900, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -59894,7 +59937,7 @@ function tiles_TileMap_layer__P148284_mk(s) { -function sprites_StaticObstacle_constructor__P148108(s) { +function sprites_StaticObstacle_constructor__P174724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59914,7 +59957,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C148102_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C174718_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -59924,12 +59967,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P148108.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__P174724.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__P148108_mk(s) { +function sprites_StaticObstacle_constructor__P174724_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P148108, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P174724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -59943,7 +59986,7 @@ function sprites_StaticObstacle_constructor__P148108_mk(s) { -function tiles_TileMap_isObstacle__P148295(s) { +function tiles_TileMap_isObstacle__P174911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59960,7 +60003,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -59981,7 +60024,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P148274_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P174890_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -60007,12 +60050,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P148295.info = {"start":12477,"length":211,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P174911.info = {"start":12477,"length":211,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P148295_mk(s) { +function tiles_TileMap_isObstacle__P174911_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P148295, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P174911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60035,7 +60078,7 @@ function tiles_TileMap_isObstacle__P148295_mk(s) { -function tiles_TileMapData_isWall__P148273(s) { +function tiles_TileMapData_isWall__P174889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60052,7 +60095,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C148262_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C174878_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -60061,12 +60104,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P148273.info = {"start":5463,"length":107,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P174889.info = {"start":5463,"length":107,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -function tiles_TileMapData_isWall__P148273_mk(s) { +function tiles_TileMapData_isWall__P174889_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P148273, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P174889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60079,7 +60122,7 @@ function tiles_TileMapData_isWall__P148273_mk(s) { -function Sprite_registerObstacle__P148041(s) { +function Sprite_registerObstacle__P174657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60089,10 +60132,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___169125 = undefined; - s.wallCollisionHandlers___169132 = undefined; - s.wallHandlersToRun___169157 = undefined; - s.asTileLocation___169169 = undefined; + s.collisionHandlers___195741 = undefined; + s.wallCollisionHandlers___195748 = undefined; + s.wallHandlersToRun___195773 = undefined; + s.asTileLocation___195785 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -60101,11 +60144,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_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__P148484_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 445; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -60125,24 +60168,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___169125 = (r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + s.collisionHandlers___195741 = (r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 447; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___169132 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___169125); + s.wallCollisionHandlers___195748 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___195741); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P169140); + r0 = pxsim_pxtcore_mkAction(1, inline__P195756); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P169146); + r0 = pxsim_pxtcore_mkAction(1, inline__P195762); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P146042_mk(s); - s.tmp_3 = helpers_arrayFilter__P146043_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___169125; + s.tmp_2 = helpers_arrayForEach__P172658_mk(s); + s.tmp_3 = helpers_arrayFilter__P172659_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___195741; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 449; s.pc = 13; return s.tmp_3; case 13: @@ -60154,7 +60197,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___169132); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___195748); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -60162,7 +60205,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P148484_mk(s); + s.tmp_1 = game_currentScene__P175100_mk(s); s.callLocIdx = 452; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -60171,21 +60214,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, inline__P169159); + r0 = pxsim_pxtcore_mkAction(1, inline__P195775); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P146043_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___169132; + s.tmp_1 = helpers_arrayFilter__P172659_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___195748; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 454; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___169157 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___169157); + s.wallHandlersToRun___195773 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___195773); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P148288_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P174904_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -60224,13 +60267,13 @@ switch (step) { s.callLocIdx = 459; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___169169 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P169185); + s.asTileLocation___195785 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P195801); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___169169); - s.tmp_1 = helpers_arrayForEach__P146042_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___169157; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___195785); + s.tmp_1 = helpers_arrayForEach__P172658_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___195773; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 461; s.pc = 19; return s.tmp_1; case 19: @@ -60243,12 +60286,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P148041.info = {"start":27992,"length":965,"line":847,"column":4,"endLine":867,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P174657.info = {"start":27992,"length":965,"line":847,"column":4,"endLine":867,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P148041_mk(s) { +function Sprite_registerObstacle__P174657_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P148041, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P174657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60258,10 +60301,10 @@ function Sprite_registerObstacle__P148041_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___169125: undefined, - wallCollisionHandlers___169132: undefined, - wallHandlersToRun___169157: undefined, - asTileLocation___169169: undefined, + collisionHandlers___195741: undefined, + wallCollisionHandlers___195748: undefined, + wallHandlersToRun___195773: undefined, + asTileLocation___195785: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -60272,7 +60315,7 @@ function Sprite_registerObstacle__P148041_mk(s) { -function inline__P169140(s) { +function inline__P195756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60294,12 +60337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169140.info = {"start":28390,"length":26,"line":854,"column":24,"endLine":854,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P195756.info = {"start":28390,"length":26,"line":854,"column":24,"endLine":854,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P169140_mk(s) { +function inline__P195756_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169140, depth: s.depth + 1, + parent: s, fn: inline__P195756, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60310,7 +60353,7 @@ function inline__P169140_mk(s) { -function inline__P169146(s) { +function inline__P195762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60342,12 +60385,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169146.info = {"start":28443,"length":20,"line":855,"column":25,"endLine":855,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P195762.info = {"start":28443,"length":20,"line":855,"column":25,"endLine":855,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P169146_mk(s) { +function inline__P195762_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169146, depth: s.depth + 1, + parent: s, fn: inline__P195762, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -60357,7 +60400,7 @@ function inline__P169146_mk(s) { -function inline__P169159(s) { +function inline__P195775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60379,12 +60422,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169159.info = {"start":28649,"length":32,"line":860,"column":24,"endLine":860,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P195775.info = {"start":28649,"length":32,"line":860,"column":24,"endLine":860,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P169159_mk(s) { +function inline__P195775_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169159, depth: s.depth + 1, + parent: s, fn: inline__P195775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60395,7 +60438,7 @@ function inline__P169159_mk(s) { -function inline__P169185(s) { +function inline__P195801(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60428,12 +60471,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169185.info = {"start":28889,"length":36,"line":864,"column":29,"endLine":864,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P195801.info = {"start":28889,"length":36,"line":864,"column":29,"endLine":864,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P169185_mk(s) { +function inline__P195801_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169185, depth: s.depth + 1, + parent: s, fn: inline__P195801, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -60443,7 +60486,7 @@ function inline__P169185_mk(s) { -function Fx_min__P146098(s) { +function Fx_min__P172714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60474,12 +60517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P146098.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__P172714.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__P146098_mk(s) { +function Fx_min__P172714_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P146098, depth: s.depth + 1, + parent: s, fn: Fx_min__P172714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -60490,7 +60533,7 @@ function Fx_min__P146098_mk(s) { -function Fx_toIntShifted__P146088(s) { +function Fx_toIntShifted__P172704(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60512,12 +60555,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P146088.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__P172704.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__P146088_mk(s) { +function Fx_toIntShifted__P172704_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P146088, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P172704, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60529,7 +60572,7 @@ function Fx_toIntShifted__P146088_mk(s) { -function tiles_TileMap_isOnWall__P148297(s) { +function tiles_TileMap_isOnWall__P174913(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60539,24 +60582,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___168458 = undefined; - s.left___168461 = undefined; - s.right___168467 = undefined; - s.top___168473 = undefined; - s.bottom___168479 = undefined; - s.col___168485 = undefined; - s.row___168491 = undefined; + s.hbox___195074 = undefined; + s.left___195077 = undefined; + s.right___195083 = undefined; + s.top___195089 = undefined; + s.bottom___195095 = undefined; + s.col___195101 = undefined; + s.row___195107 = 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__C148275_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C174891_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___168458 = (r0); - s.tmp_1 = game_Hitbox_left__P147913_mk(s); - s.tmp_1.arg0 = s.hbox___168458; + s.hbox___195074 = (r0); + s.tmp_1 = game_Hitbox_left__P174529_mk(s); + s.tmp_1.arg0 = s.hbox___195074; s.callLocIdx = 983; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -60566,9 +60609,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___168461 = (r0); - s.tmp_1 = game_Hitbox_right__P147915_mk(s); - s.tmp_1.arg0 = s.hbox___168458; + s.left___195077 = (r0); + s.tmp_1 = game_Hitbox_right__P174531_mk(s); + s.tmp_1.arg0 = s.hbox___195074; s.callLocIdx = 986; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -60578,9 +60621,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___168467 = (r0); - s.tmp_1 = game_Hitbox_top__P147914_mk(s); - s.tmp_1.arg0 = s.hbox___168458; + s.right___195083 = (r0); + s.tmp_1 = game_Hitbox_top__P174530_mk(s); + s.tmp_1.arg0 = s.hbox___195074; s.callLocIdx = 989; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -60590,9 +60633,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___168473 = (r0); - s.tmp_1 = game_Hitbox_bottom__P147916_mk(s); - s.tmp_1.arg0 = s.hbox___168458; + s.top___195089 = (r0); + s.tmp_1 = game_Hitbox_bottom__P174532_mk(s); + s.tmp_1.arg0 = s.hbox___195074; s.callLocIdx = 992; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -60602,23 +60645,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___168479 = (r0); - s.col___168485 = (s.left___168461); + s.bottom___195095 = (r0); + s.col___195101 = (s.left___195077); case 1: - r0 = (s.col___168485 <= s.right___168467); + r0 = (s.col___195101 <= s.right___195083); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___168491 = (s.top___168473); + s.row___195107 = (s.top___195089); case 2: - r0 = (s.row___168491 <= s.bottom___168479); + r0 = (s.row___195107 <= s.bottom___195095); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P148295_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P174911_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___168485; - s.tmp_2.arg2 = s.row___168491; + s.tmp_2.arg1 = s.col___195101; + s.tmp_2.arg2 = s.row___195107; s.callLocIdx = 995; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -60629,12 +60672,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___168491 + 1); - s.row___168491 = (r0); + r0 = (s.row___195107 + 1); + s.row___195107 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___168485 + 1); - s.col___168485 = (r0); + r0 = (s.col___195101 + 1); + s.col___195101 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -60642,24 +60685,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P148297.info = {"start":13118,"length":627,"line":424,"column":8,"endLine":441,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P174913.info = {"start":13118,"length":627,"line":424,"column":8,"endLine":441,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P148297_mk(s) { +function tiles_TileMap_isOnWall__P174913_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P148297, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P174913, 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___168458: undefined, - left___168461: undefined, - right___168467: undefined, - top___168473: undefined, - bottom___168479: undefined, - col___168485: undefined, - row___168491: undefined, + hbox___195074: undefined, + left___195077: undefined, + right___195083: undefined, + top___195089: undefined, + bottom___195095: undefined, + col___195101: undefined, + row___195107: undefined, arg0: undefined, arg1: undefined, } } @@ -60668,7 +60711,7 @@ function tiles_TileMap_isOnWall__P148297_mk(s) { -function MovingSprite_constructor__P148130(s) { +function MovingSprite_constructor__P174746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60690,7 +60733,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C148129_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C174745_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -60702,12 +60745,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P148130.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__P174746.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__P148130_mk(s) { +function MovingSprite_constructor__P174746_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P148130, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P174746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -60723,7 +60766,7 @@ function MovingSprite_constructor__P148130_mk(s) { -function ArcadePhysicsEngine_move__P148143(s) { +function ArcadePhysicsEngine_move__P174759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60733,75 +60776,75 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___169256 = undefined; - s.dt2___169262 = undefined; - s.scene___169266 = undefined; - s.tileMap___169269 = undefined; - s.movingSprites___169272 = undefined; - s.MAX_STEP_COUNT___169303 = undefined; - s.overlapHandlers___169315 = undefined; - s.selected___169322 = undefined; - s.buffers___169323 = undefined; - s.count___169327 = undefined; - s.currMovers___169337 = undefined; - s.remainingMovers___169344 = undefined; - s.ms___169349 = undefined; - s.unnamed1048___U13 = undefined; - s.unnamed1049___U14 = undefined; - s.s___169351 = undefined; - s.stepX___169444 = undefined; - s.stepY___169458 = undefined; + s.dtMs___195872 = undefined; + s.dt2___195878 = undefined; + s.scene___195882 = undefined; + s.tileMap___195885 = undefined; + s.movingSprites___195888 = undefined; + s.MAX_STEP_COUNT___195919 = undefined; + s.overlapHandlers___195931 = undefined; + s.selected___195938 = undefined; + s.buffers___195939 = undefined; + s.count___195943 = undefined; + s.currMovers___195953 = undefined; + s.remainingMovers___195960 = undefined; + s.ms___195965 = undefined; + s.unnamed1156___U13 = undefined; + s.unnamed1157___U14 = undefined; + s.s___195967 = undefined; + s.stepX___196060 = undefined; + s.stepY___196074 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); - s.tmp_0 = Math_min__P146063_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); + s.tmp_0 = Math_min__P172679_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; s.callLocIdx = 588; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtMs___169256 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___169256, 2); - s.dt2___169262 = (r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + s.dtMs___195872 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___195872, 2); + s.dt2___195878 = (r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 589; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___169266 = (r0); - r0 = s.scene___169266.fields["tileMap"]; - s.tileMap___169269 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P169274); + s.scene___195882 = (r0); + r0 = s.scene___195882.fields["tileMap"]; + s.tileMap___195885 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P195890); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___169256); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___169262); - s.tmp_1 = helpers_arrayMap__P146039_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___195872); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___195878); + s.tmp_1 = helpers_arrayMap__P172655_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 591; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___169272 = (r0); - s.tmp_0 = helpers_arrayForEach__P146042_mk(s); + s.movingSprites___195888 = (r0); + s.tmp_0 = helpers_arrayForEach__P172658_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P169286; + s.tmp_0.arg1 = inline__P195902; s.callLocIdx = 595; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P148056_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P174672_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 596; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P148055_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P174671_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -60817,41 +60860,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___169256); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___195872); 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___169303 = (r0); - s.tmp_0 = helpers_arraySlice__P146048_mk(s); - r0 = s.scene___169266.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___195919 = (r0); + s.tmp_0 = helpers_arraySlice__P172664_mk(s); + r0 = s.scene___195882.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 602; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.overlapHandlers___169315 = (r0); - s.selected___169322 = (0); + s.overlapHandlers___195931 = (r0); + s.selected___195938 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___169272); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___195888); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___169323 = (s.tmp_0); - s.count___169327 = (0); + s.buffers___195939 = (s.tmp_0); + s.count___195943 = (0); case 1: - r0 = (s.count___169327 < s.MAX_STEP_COUNT___169303); + r0 = (s.count___195943 < s.MAX_STEP_COUNT___195919); 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___169323, s.selected___169322); + r0 = pxsim_Array__getAt(s.buffers___195939, s.selected___195938); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -60861,43 +60904,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 46; continue; } - r0 = pxsim_Array__getAt(s.buffers___169323, s.selected___169322); - s.currMovers___169337 = (r0); - r0 = (s.selected___169322 ^ 1); - s.selected___169322 = (r0); - r0 = pxsim_Array__getAt(s.buffers___169323, s.selected___169322); - s.remainingMovers___169344 = (r0); - s.ms___169349 = (undefined); - s.unnamed1048___U13 = (s.currMovers___169337); - s.unnamed1049___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___195939, s.selected___195938); + s.currMovers___195953 = (r0); + r0 = (s.selected___195938 ^ 1); + s.selected___195938 = (r0); + r0 = pxsim_Array__getAt(s.buffers___195939, s.selected___195938); + s.remainingMovers___195960 = (r0); + s.ms___195965 = (undefined); + s.unnamed1156___U13 = (s.currMovers___195953); + s.unnamed1157___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed1049___U14; - r0 = pxsim_Array__length(s.unnamed1048___U13); + s.tmp_0 = r0 = s.unnamed1157___U14; + r0 = pxsim_Array__length(s.unnamed1156___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_Array__getAt(s.unnamed1048___U13, s.unnamed1049___U14); - s.ms___169349 = (r0); - r0 = s.ms___169349.fields["sprite"]; - s.s___169351 = (r0); - r0 = s.ms___169349.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed1156___U13, s.unnamed1157___U14); + s.ms___195965 = (r0); + r0 = s.ms___195965.fields["sprite"]; + s.s___195967 = (r0); + r0 = s.ms___195965.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___169351.fields["_vx"]; + r0 = s.s___195967.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___169351.fields["_vx"]; + r0 = s.s___195967.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___169349).fields["dx"] = (0); + r0 = (s.ms___195965).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___169351.fields["_vx"]; + r0 = s.s___195967.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -60906,7 +60949,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___169349.fields["cachedVx"]; + r0 = s.ms___195965.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -60917,7 +60960,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___169351.fields["_vx"]; + r0 = s.s___195967.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -60926,7 +60969,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___169349.fields["cachedVx"]; + r0 = s.ms___195965.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -60938,14 +60981,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___169349; - r0 = s.ms___169349.fields["dx"]; + s.tmp_9 = r0 = s.ms___195965; + r0 = s.ms___195965.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___169349; - r0 = s.ms___169349.fields["xStep"]; + s.tmp_0 = r0 = s.ms___195965; + r0 = s.ms___195965.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -60953,29 +60996,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___169351.fields["_vx"]; + r0 = s.s___195967.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___169349).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___195965).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___169349.fields["cachedVy"]; + r0 = s.ms___195965.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___169351.fields["_vy"]; + r0 = s.s___195967.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___169351.fields["_vy"]; + r0 = s.s___195967.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___169349).fields["dy"] = (0); + r0 = (s.ms___195965).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___169351.fields["_vy"]; + r0 = s.s___195967.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -60984,7 +61027,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___169349.fields["cachedVy"]; + r0 = s.ms___195965.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -60995,7 +61038,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___169351.fields["_vy"]; + r0 = s.s___195967.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -61004,7 +61047,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___169349.fields["cachedVy"]; + r0 = s.ms___195965.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -61016,14 +61059,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___169349; - r0 = s.ms___169349.fields["dy"]; + s.tmp_9 = r0 = s.ms___195965; + r0 = s.ms___195965.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___169349; - r0 = s.ms___169349.fields["yStep"]; + s.tmp_0 = r0 = s.ms___195965; + r0 = s.ms___195965.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -61031,20 +61074,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___169351.fields["_vy"]; + r0 = s.s___195967.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___169349).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___195965).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P146097_mk(s); - r0 = s.ms___169349.fields["xStep"]; + s.tmp_2 = Fx_abs__P172713_mk(s); + r0 = s.ms___195965.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 607; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P146097_mk(s); - r0 = s.ms___169349.fields["dx"]; + s.tmp_4 = Fx_abs__P172713_mk(s); + r0 = s.ms___195965.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 608; s.pc = 55; return s.tmp_4; case 55: @@ -61054,23 +61097,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___169349.fields["dx"]; + r0 = s.ms___195965.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___169349.fields["xStep"]; + r0 = s.ms___195965.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___169444 = (s.tmp_5); - s.tmp_2 = Fx_abs__P146097_mk(s); - r0 = s.ms___169349.fields["yStep"]; + s.stepX___196060 = (s.tmp_5); + s.tmp_2 = Fx_abs__P172713_mk(s); + r0 = s.ms___195965.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 609; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P146097_mk(s); - r0 = s.ms___169349.fields["dy"]; + s.tmp_4 = Fx_abs__P172713_mk(s); + r0 = s.ms___195965.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 610; s.pc = 57; return s.tmp_4; case 57: @@ -61080,45 +61123,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___169349.fields["dy"]; + r0 = s.ms___195965.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___169349.fields["yStep"]; + r0 = s.ms___195965.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___169458 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___169349; - r0 = s.ms___169349.fields["dx"]; + s.stepY___196074 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___195965; + r0 = s.ms___195965.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___169444); + r0 = (s.tmp_2 - s.stepX___196060); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___169349; - r0 = s.ms___169349.fields["dy"]; + s.tmp_0 = r0 = s.ms___195965; + r0 = s.ms___195965.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___169458); + r0 = (s.tmp_2 - s.stepY___196074); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___169351.fields["_x"]; + r0 = s.s___195967.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___169351).fields["_lastX"] = (s.tmp_0); - r0 = s.s___169351.fields["_y"]; + r0 = (s.s___195967).fields["_lastX"] = (s.tmp_0); + r0 = s.s___195967.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___169351).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___169351; - r0 = s.s___169351.fields["_x"]; + r0 = (s.s___195967).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___195967; + r0 = s.s___195967.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___169444); + r0 = (s.tmp_2 + s.stepX___196060); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___169351; - r0 = s.s___169351.fields["_y"]; + s.tmp_0 = r0 = s.s___195967; + r0 = s.s___195967.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___169458); + r0 = (s.tmp_2 + s.stepY___196074); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___169351.fields["flags"]; + r0 = s.s___195967.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -61128,22 +61171,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__P148057_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P174673_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___169351; + s.tmp_4.arg1 = s.s___195967; s.callLocIdx = 615; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___169269; + s.tmp_0 = r0 = s.tileMap___195885; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___169269.fields["_map"]; + r0 = s.tileMap___195885.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -61157,79 +61200,79 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P150341_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P176957_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___169349; - s.tmp_6.arg2 = s.tileMap___169269; + s.tmp_6.arg1 = s.ms___195965; + s.tmp_6.arg2 = s.tileMap___195885; s.callLocIdx = 617; s.pc = 59; return s.tmp_6; case 59: r0 = s.retval; case 37: case 38: - s.tmp_2 = Fx_abs__P146097_mk(s); - r0 = s.ms___169349.fields["dx"]; + s.tmp_2 = Fx_abs__P172713_mk(s); + r0 = s.ms___195965.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 618; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___148125); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___174741); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 39; continue; } r0 = s.tmp_0; { step = 40; continue; } case 39: - s.tmp_4 = Fx_abs__P146097_mk(s); - r0 = s.ms___169349.fields["dy"]; + s.tmp_4 = Fx_abs__P172713_mk(s); + r0 = s.ms___195965.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 619; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___148125); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___174741); case 40: // jmp value (already in r0) s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 41; continue; } - r0 = pxsim_Array__push(s.remainingMovers___169344, s.ms___169349); + r0 = pxsim_Array__push(s.remainingMovers___195960, s.ms___195965); case 41: case 42: - r0 = (s.unnamed1049___U14 + 1); - s.unnamed1049___U14 = (r0); + r0 = (s.unnamed1157___U14 + 1); + s.unnamed1157___U14 = (r0); { step = 4; continue; } case 43: - s.unnamed1048___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P150340_mk(s); + s.unnamed1156___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P176956_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___169337; - s.tmp_0.arg2 = s.overlapHandlers___169315; + s.tmp_0.arg1 = s.currMovers___195953; + s.tmp_0.arg2 = s.overlapHandlers___195931; s.callLocIdx = 620; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___169337); + r0 = pxsim_Array__length(s.currMovers___195953); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___169337); + r0 = pxsim_Array_.pop(s.currMovers___195953); { step = 44; continue; } case 45: - r0 = (s.count___169327 + 1); - s.count___169327 = (r0); + r0 = (s.count___195943 + 1); + s.count___195943 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P148143.info = {"start":2822,"length":3809,"line":112,"column":4,"endLine":208,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P174759.info = {"start":2822,"length":3809,"line":112,"column":4,"endLine":208,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P148143_mk(s) { +function ArcadePhysicsEngine_move__P174759_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P148143, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P174759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61243,24 +61286,24 @@ function ArcadePhysicsEngine_move__P148143_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___169256: undefined, - dt2___169262: undefined, - scene___169266: undefined, - tileMap___169269: undefined, - movingSprites___169272: undefined, - MAX_STEP_COUNT___169303: undefined, - overlapHandlers___169315: undefined, - selected___169322: undefined, - buffers___169323: undefined, - count___169327: undefined, - currMovers___169337: undefined, - remainingMovers___169344: undefined, - ms___169349: undefined, - unnamed1048___U13: undefined, - unnamed1049___U14: undefined, - s___169351: undefined, - stepX___169444: undefined, - stepY___169458: undefined, + dtMs___195872: undefined, + dt2___195878: undefined, + scene___195882: undefined, + tileMap___195885: undefined, + movingSprites___195888: undefined, + MAX_STEP_COUNT___195919: undefined, + overlapHandlers___195931: undefined, + selected___195938: undefined, + buffers___195939: undefined, + count___195943: undefined, + currMovers___195953: undefined, + remainingMovers___195960: undefined, + ms___195965: undefined, + unnamed1156___U13: undefined, + unnamed1157___U14: undefined, + s___195967: undefined, + stepX___196060: undefined, + stepY___196074: undefined, arg0: undefined, arg1: undefined, } } @@ -61269,7 +61312,7 @@ function ArcadePhysicsEngine_move__P148143_mk(s) { -function inline__P169274(s) { +function inline__P195890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61283,7 +61326,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P150339_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P176955_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -61294,12 +61337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169274.info = {"start":3181,"length":52,"line":121,"column":17,"endLine":121,"endColumn":69,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P195890.info = {"start":3181,"length":52,"line":121,"column":17,"endLine":121,"endColumn":69,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} -function inline__P169274_mk(s) { +function inline__P195890_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169274, depth: s.depth + 1, + parent: s, fn: inline__P195890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -61309,7 +61352,7 @@ function inline__P169274_mk(s) { -function inline__P169286(s) { +function inline__P195902(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61323,7 +61366,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P147983_mk(s); + s.tmp_1 = Sprite_vx__P174599_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 592; s.pc = 5; return s.tmp_1; case 5: @@ -61334,7 +61377,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P147985_mk(s); + s.tmp_2 = Sprite_vy__P174601_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 593; s.pc = 6; return s.tmp_2; case 6: @@ -61344,7 +61387,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P148040_mk(s); + s.tmp_4 = Sprite_clearObstacles__P174656_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 594; s.pc = 7; return s.tmp_4; case 7: @@ -61355,12 +61398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169286.info = {"start":3316,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P195902.info = {"start":3316,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} -function inline__P169286_mk(s) { +function inline__P195902_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169286, depth: s.depth + 1, + parent: s, fn: inline__P195902, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61374,7 +61417,7 @@ function inline__P169286_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P150340(s) { +function ArcadePhysicsEngine_spriteCollisions__P176956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61384,18 +61427,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___169559 = undefined; - s.unnamed1050___U1 = undefined; - s.unnamed1051___U2 = undefined; - s.sprite___169561 = undefined; - s.overSprites___169568 = undefined; - s.overlapper___169576 = undefined; - s.unnamed1052___U6 = undefined; - s.unnamed1053___U7 = undefined; - s.thisKind___169582 = undefined; - s.otherKind___169586 = undefined; - s.higher___169599 = undefined; - s.lower___169608 = undefined; + s.ms___196175 = undefined; + s.unnamed1158___U1 = undefined; + s.unnamed1159___U2 = undefined; + s.sprite___196177 = undefined; + s.overSprites___196184 = undefined; + s.overlapper___196192 = undefined; + s.unnamed1160___U6 = undefined; + s.unnamed1161___U7 = undefined; + s.thisKind___196198 = undefined; + s.otherKind___196202 = undefined; + s.higher___196215 = undefined; + s.lower___196224 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -61403,7 +61446,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -61415,20 +61458,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___169559 = (undefined); - s.unnamed1050___U1 = (s.arg1); - s.unnamed1051___U2 = (0); + s.ms___196175 = (undefined); + s.unnamed1158___U1 = (s.arg1); + s.unnamed1159___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1051___U2; - r0 = pxsim_Array__length(s.unnamed1050___U1); + s.tmp_0 = r0 = s.unnamed1159___U2; + r0 = pxsim_Array__length(s.unnamed1158___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed1050___U1, s.unnamed1051___U2); - s.ms___169559 = (r0); - r0 = s.ms___169559.fields["sprite"]; - s.sprite___169561 = (r0); - r0 = s.sprite___169561.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed1158___U1, s.unnamed1159___U2); + s.ms___196175 = (r0); + r0 = s.ms___196175.fields["sprite"]; + s.sprite___196177 = (r0); + r0 = s.sprite___196177.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -61437,27 +61480,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P148053_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P174669_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___169559.fields["sprite"]; + r0 = s.ms___196175.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 658; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___169568 = (r0); - s.overlapper___169576 = (undefined); - s.unnamed1052___U6 = (s.overSprites___169568); - s.unnamed1053___U7 = (0); + s.overSprites___196184 = (r0); + s.overlapper___196192 = (undefined); + s.unnamed1160___U6 = (s.overSprites___196184); + s.unnamed1161___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed1053___U7; - r0 = pxsim_Array__length(s.unnamed1052___U6); + s.tmp_0 = r0 = s.unnamed1161___U7; + r0 = pxsim_Array__length(s.unnamed1160___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed1052___U6, s.unnamed1053___U7); - s.overlapper___169576 = (r0); - r0 = s.overlapper___169576.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed1160___U6, s.unnamed1161___U7); + s.overlapper___196192 = (r0); + r0 = s.overlapper___196192.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -61466,13 +61509,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___169561.fields["_kind"]; - s.thisKind___169582 = (r0); - r0 = s.overlapper___169576.fields["_kind"]; - s.otherKind___169586 = (r0); - r0 = s.sprite___169561.fields["_kindsOverlappedWith"]; + r0 = s.sprite___196177.fields["_kind"]; + s.thisKind___196198 = (r0); + r0 = s.overlapper___196192.fields["_kind"]; + s.otherKind___196202 = (r0); + r0 = s.sprite___196177.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___169586, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___196202, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -61481,37 +61524,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___169561.fields["id"]; + r0 = s.sprite___196177.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___169576.fields["id"]; + r0 = s.overlapper___196192.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___169561; + r0 = s.sprite___196177; { step = 12; continue; } case 11: - r0 = s.overlapper___169576; + r0 = s.overlapper___196192; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___169599 = (s.tmp_6); - r0 = (s.higher___169599 === s.sprite___169561); + s.higher___196215 = (s.tmp_6); + r0 = (s.higher___196215 === s.sprite___196177); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___169576; + r0 = s.overlapper___196192; { step = 14; continue; } case 13: - r0 = s.sprite___169561; + r0 = s.sprite___196177; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___169608 = (s.tmp_1); - r0 = s.higher___169599.fields["_overlappers"]; + s.lower___196224 = (s.tmp_1); + r0 = s.higher___196215.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___169608.fields["id"]; + r0 = s.lower___196224.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -61519,19 +61562,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P169628); + r0 = pxsim_pxtcore_mkAction(2, inline__P196244); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___169582); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___169586); - r0 = pxsim_pxtcore_mkAction(5, inline__P169650); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___196198); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___196202); + r0 = pxsim_pxtcore_mkAction(5, inline__P196266); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___169599); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___169608); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___169561); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___169576); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___169582); - s.tmp_6 = helpers_arrayForEach__P146042_mk(s); - s.tmp_7 = helpers_arrayFilter__P146043_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___196215); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___196224); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___196177); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___196192); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___196198); + s.tmp_6 = helpers_arrayForEach__P172658_mk(s); + s.tmp_7 = helpers_arrayFilter__P172659_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 661; s.pc = 24; return s.tmp_7; @@ -61545,28 +61588,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed1053___U7 + 1); - s.unnamed1053___U7 = (r0); + r0 = (s.unnamed1161___U7 + 1); + s.unnamed1161___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed1052___U6 = (undefined); + s.unnamed1160___U6 = (undefined); case 19: - r0 = (s.unnamed1051___U2 + 1); - s.unnamed1051___U2 = (r0); + r0 = (s.unnamed1159___U2 + 1); + s.unnamed1159___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed1050___U1 = (undefined); + s.unnamed1158___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P150340.info = {"start":9448,"length":2268,"line":302,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P176956.info = {"start":9448,"length":2268,"line":302,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P150340_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P176956_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P150340, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P176956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61576,18 +61619,18 @@ function ArcadePhysicsEngine_spriteCollisions__P150340_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___169559: undefined, - unnamed1050___U1: undefined, - unnamed1051___U2: undefined, - sprite___169561: undefined, - overSprites___169568: undefined, - overlapper___169576: undefined, - unnamed1052___U6: undefined, - unnamed1053___U7: undefined, - thisKind___169582: undefined, - otherKind___169586: undefined, - higher___169599: undefined, - lower___169608: undefined, + ms___196175: undefined, + unnamed1158___U1: undefined, + unnamed1159___U2: undefined, + sprite___196177: undefined, + overSprites___196184: undefined, + overlapper___196192: undefined, + unnamed1160___U6: undefined, + unnamed1161___U7: undefined, + thisKind___196198: undefined, + otherKind___196202: undefined, + higher___196215: undefined, + lower___196224: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -61597,7 +61640,7 @@ function ArcadePhysicsEngine_spriteCollisions__P150340_mk(s) { -function inline__P169628(s) { +function inline__P196244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61654,12 +61697,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169628.info = {"start":10817,"length":137,"line":328,"column":32,"endLine":329,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P196244.info = {"start":10817,"length":137,"line":328,"column":32,"endLine":329,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P169628_mk(s) { +function inline__P196244_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169628, depth: s.depth + 1, + parent: s, fn: inline__P196244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61677,7 +61720,7 @@ function inline__P169628_mk(s) { -function inline__P169650(s) { +function inline__P196266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61696,7 +61739,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, inline__P169660); + r0 = pxsim_pxtcore_mkAction(6, inline__P196276); 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]); @@ -61709,12 +61752,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169650.info = {"start":11014,"length":652,"line":331,"column":33,"endLine":342,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P196266.info = {"start":11014,"length":652,"line":331,"column":33,"endLine":342,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P169650_mk(s) { +function inline__P196266_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169650, depth: s.depth + 1, + parent: s, fn: inline__P196266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61725,7 +61768,7 @@ function inline__P169650_mk(s) { -function inline__P169660(s) { +function inline__P196276(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61801,12 +61844,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169660.info = {"start":11135,"length":503,"line":333,"column":50,"endLine":341,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P196276.info = {"start":11135,"length":503,"line":333,"column":50,"endLine":341,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P169660_mk(s) { +function inline__P196276_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169660, depth: s.depth + 1, + parent: s, fn: inline__P196276, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61827,7 +61870,7 @@ function inline__P169660_mk(s) { -function sprites_SpriteMap_overlaps__P148053(s) { +function sprites_SpriteMap_overlaps__P174669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61837,47 +61880,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___169693 = undefined; - s.o___169697 = undefined; + s.n___196309 = undefined; + s.o___196313 = 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__C148050_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P148052_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P174668_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 527; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___169693 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P169699); + s.n___196309 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P196315); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P146043_mk(s); - s.tmp_1.arg0 = s.n___169693; + s.tmp_1 = helpers_arrayFilter__P172659_mk(s); + s.tmp_1.arg0 = s.n___196309; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 529; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___169697 = (r0); - r0 = s.o___169697; + s.o___196313 = (r0); + r0 = s.o___196313; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P148053.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__P174669.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__P148053_mk(s) { +function sprites_SpriteMap_overlaps__P174669_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P148053, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P174669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___169693: undefined, - o___169697: undefined, + n___196309: undefined, + o___196313: undefined, arg0: undefined, arg1: undefined, } } @@ -61886,7 +61929,7 @@ function sprites_SpriteMap_overlaps__P148053_mk(s) { -function inline__P169699(s) { +function inline__P196315(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61900,7 +61943,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P148036_mk(s); + s.tmp_0 = Sprite_overlapsWith__P174652_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 528; s.pc = 1; return s.tmp_0; @@ -61909,12 +61952,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P169699.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P196315.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} -function inline__P169699_mk(s) { +function inline__P196315_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P169699, depth: s.depth + 1, + parent: s, fn: inline__P196315, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -61924,7 +61967,7 @@ function inline__P169699_mk(s) { -function sprites_SpriteMap_neighbors__P148052(s) { +function sprites_SpriteMap_neighbors__P174668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61934,112 +61977,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___169737 = undefined; - s.layer___169739 = undefined; + s.n___196353 = undefined; + s.layer___196355 = 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__C148050_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___169737 = (r0); + s.n___196353 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___169739 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P150304_mk(s); + s.layer___196355 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P176920_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P148016_mk(s); + s.tmp_1 = Sprite_left__P174632_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 515; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P148020_mk(s); + s.tmp_2 = Sprite_top__P174636_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 516; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___169739; - s.tmp_0.arg4 = s.n___169737; + s.tmp_0.arg3 = s.layer___196355; + s.tmp_0.arg4 = s.n___196353; s.callLocIdx = 517; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P150304_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P176920_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P148016_mk(s); + s.tmp_1 = Sprite_left__P174632_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 518; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P148022_mk(s); + s.tmp_2 = Sprite_bottom__P174638_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 519; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___169739; - s.tmp_0.arg4 = s.n___169737; + s.tmp_0.arg3 = s.layer___196355; + s.tmp_0.arg4 = s.n___196353; s.callLocIdx = 520; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P150304_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P176920_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P148018_mk(s); + s.tmp_1 = Sprite_right__P174634_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 521; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P148020_mk(s); + s.tmp_2 = Sprite_top__P174636_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 522; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___169739; - s.tmp_0.arg4 = s.n___169737; + s.tmp_0.arg3 = s.layer___196355; + s.tmp_0.arg4 = s.n___196353; s.callLocIdx = 523; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P150304_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P176920_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P148018_mk(s); + s.tmp_1 = Sprite_right__P174634_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 524; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P148022_mk(s); + s.tmp_2 = Sprite_bottom__P174638_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 525; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___169739; - s.tmp_0.arg4 = s.n___169737; + s.tmp_0.arg3 = s.layer___196355; + s.tmp_0.arg4 = s.n___196353; s.callLocIdx = 526; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___169737, s.arg1); - r0 = s.n___169737; + r0 = pxsim_Array_.removeElement(s.n___196353, s.arg1); + r0 = s.n___196353; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P148052.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__P174668.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__P148052_mk(s) { +function sprites_SpriteMap_neighbors__P174668_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P148052, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P174668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___169737: undefined, - layer___169739: undefined, + n___196353: undefined, + layer___196355: undefined, arg0: undefined, arg1: undefined, } } @@ -62048,7 +62091,7 @@ function sprites_SpriteMap_neighbors__P148052_mk(s) { -function sprites_SpriteMap_mergeAtKey__P150304(s) { +function sprites_SpriteMap_mergeAtKey__P176920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62058,11 +62101,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___169788 = undefined; - s.bucket___169793 = undefined; - s.sprite___169800 = undefined; - s.unnamed1046___U3 = undefined; - s.unnamed1047___U4 = undefined; + s.k___196404 = undefined; + s.bucket___196409 = undefined; + s.sprite___196416 = undefined; + s.unnamed1154___U3 = undefined; + s.unnamed1155___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -62072,33 +62115,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C148050_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P150302_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P176918_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 553; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___169788 = (r0); + s.k___196404 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___169788); - s.bucket___169793 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___169793); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___196404); + s.bucket___196409 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___196409); if (!r0) { step = 7; continue; } - s.sprite___169800 = (undefined); - s.unnamed1046___U3 = (s.bucket___169793); - s.unnamed1047___U4 = (0); + s.sprite___196416 = (undefined); + s.unnamed1154___U3 = (s.bucket___196409); + s.unnamed1155___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1047___U4; - r0 = pxsim_Array__length(s.unnamed1046___U3); + s.tmp_0 = r0 = s.unnamed1155___U4; + r0 = pxsim_Array__length(s.unnamed1154___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1046___U3, s.unnamed1047___U4); - s.sprite___169800 = (r0); - r0 = s.sprite___169800.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed1154___U3, s.unnamed1155___U4); + s.sprite___196416 = (r0); + r0 = s.sprite___196416.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -62107,7 +62150,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___169800, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___196416, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -62115,26 +62158,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___169800); + r0 = pxsim_Array__push(s.arg4, s.sprite___196416); case 4: case 5: - r0 = (s.unnamed1047___U4 + 1); - s.unnamed1047___U4 = (r0); + r0 = (s.unnamed1155___U4 + 1); + s.unnamed1155___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed1046___U3 = (undefined); + s.unnamed1154___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P150304.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__P176920.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__P150304_mk(s) { +function sprites_SpriteMap_mergeAtKey__P176920_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P150304, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P176920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62142,11 +62185,11 @@ function sprites_SpriteMap_mergeAtKey__P150304_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___169788: undefined, - bucket___169793: undefined, - sprite___169800: undefined, - unnamed1046___U3: undefined, - unnamed1047___U4: undefined, + k___196404: undefined, + bucket___196409: undefined, + sprite___196416: undefined, + unnamed1154___U3: undefined, + unnamed1155___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -62158,7 +62201,7 @@ function sprites_SpriteMap_mergeAtKey__P150304_mk(s) { -function Sprite_bottom__P148022(s) { +function Sprite_bottom__P174638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62173,8 +62216,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P148020_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P174636_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 366; s.pc = 1; return s.tmp_1; case 1: @@ -62188,13 +62231,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P148022.info = {"start":10366,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P148022.isGetter = true; +Sprite_bottom__P174638.info = {"start":10366,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P174638.isGetter = true; -function Sprite_bottom__P148022_mk(s) { +function Sprite_bottom__P174638_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P148022, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P174638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62207,7 +62250,7 @@ function Sprite_bottom__P148022_mk(s) { -function Sprite_right__P148018(s) { +function Sprite_right__P174634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62222,8 +62265,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P148016_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P174632_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 358; s.pc = 1; return s.tmp_1; case 1: @@ -62237,13 +62280,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P148018.info = {"start":9562,"length":57,"line":345,"column":4,"endLine":347,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P148018.isGetter = true; +Sprite_right__P174634.info = {"start":9562,"length":57,"line":345,"column":4,"endLine":347,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P174634.isGetter = true; -function Sprite_right__P148018_mk(s) { +function Sprite_right__P174634_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P148018, depth: s.depth + 1, + parent: s, fn: Sprite_right__P174634, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62256,7 +62299,7 @@ function Sprite_right__P148018_mk(s) { -function Sprite_overlapsWith__P148036(s) { +function Sprite_overlapsWith__P174652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62272,7 +62315,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -62305,13 +62348,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P148016_mk(s); + s.tmp_9 = Sprite_left__P174632_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 441; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = Sprite_left__P148016_mk(s); + s.tmp_11 = Sprite_left__P174632_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 442; s.pc = 9; return s.tmp_11; case 9: @@ -62319,13 +62362,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P148020_mk(s); + s.tmp_14 = Sprite_top__P174636_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 443; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; - s.tmp_16 = Sprite_top__P148020_mk(s); + s.tmp_16 = Sprite_top__P174636_mk(s); s.tmp_16.arg0 = s.arg1; s.callLocIdx = 444; s.pc = 11; return s.tmp_16; case 11: @@ -62338,12 +62381,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P148036.info = {"start":25590,"length":380,"line":778,"column":4,"endLine":786,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P174652.info = {"start":25590,"length":380,"line":778,"column":4,"endLine":786,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P148036_mk(s) { +function Sprite_overlapsWith__P174652_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P148036, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P174652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62370,7 +62413,7 @@ function Sprite_overlapsWith__P148036_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P150339(s) { +function ArcadePhysicsEngine_createMovingSprite__P176955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62380,16 +62423,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___170008 = undefined; - s.ovy___170013 = undefined; - s.fx___170040 = undefined; - s.c___170047 = undefined; - s.fy___170090 = undefined; - s.c___170097 = undefined; - s.dx___170136 = undefined; - s.dy___170149 = undefined; - s.xStep___170162 = undefined; - s.yStep___170164 = undefined; + s.ovx___196624 = undefined; + s.ovy___196629 = undefined; + s.fx___196656 = undefined; + s.c___196663 = undefined; + s.fy___196706 = undefined; + s.c___196713 = undefined; + s.dx___196752 = undefined; + s.dy___196765 = undefined; + s.xStep___196778 = undefined; + s.yStep___196780 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -62398,23 +62441,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P150344_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P176960_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 621; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___170008 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P150344_mk(s); + s.ovx___196624 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P176960_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 622; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___170013 = (r0); + s.ovy___196629 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -62448,21 +62491,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___170040 = (r0); + s.fx___196656 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___170040); - s.c___170047 = (r0); - r0 = (s.c___170047 < 0); + r0 = (s.tmp_0 - s.fx___196656); + s.c___196663 = (r0); + r0 = (s.c___196663 < 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__P146098_mk(s); + s.tmp_3 = Fx_min__P172714_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___170040); + r0 = (s.tmp_4 + s.fx___196656); s.tmp_3.arg1 = r0; s.callLocIdx = 630; s.pc = 27; return s.tmp_3; case 27: @@ -62471,16 +62514,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___170047 > 0); + r0 = (s.c___196663 > 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__P146099_mk(s); + s.tmp_3 = Fx_max__P172715_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___170040); + r0 = (s.tmp_4 - s.fx___196656); s.tmp_3.arg1 = r0; s.callLocIdx = 632; s.pc = 28; return s.tmp_3; case 28: @@ -62522,21 +62565,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___170090 = (r0); + s.fy___196706 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___170090); - s.c___170097 = (r0); - r0 = (s.c___170097 < 0); + r0 = (s.tmp_0 - s.fy___196706); + s.c___196713 = (r0); + r0 = (s.c___196713 < 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__P146098_mk(s); + s.tmp_3 = Fx_min__P172714_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___170090); + r0 = (s.tmp_4 + s.fy___196706); s.tmp_3.arg1 = r0; s.callLocIdx = 640; s.pc = 29; return s.tmp_3; case 29: @@ -62545,16 +62588,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___170097 > 0); + r0 = (s.c___196713 > 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__P146099_mk(s); + s.tmp_3 = Fx_max__P172715_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___170090); + r0 = (s.tmp_4 - s.fy___196706); s.tmp_3.arg1 = r0; s.callLocIdx = 642; s.pc = 30; return s.tmp_3; case 30: @@ -62570,7 +62613,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P150344_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P176960_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -62580,7 +62623,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__P150344_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P176960_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -62591,7 +62634,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___170008); + r0 = (s.tmp_4 + s.ovx___196624); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -62602,10 +62645,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___170136 = (r0); + s.dx___196752 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___170013); + r0 = (s.tmp_4 + s.ovy___196629); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -62616,12 +62659,12 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___170149 = (r0); - s.xStep___170162 = (s.dx___170136); - s.yStep___170164 = (s.dy___170149); + s.dy___196765 = (r0); + s.xStep___196778 = (s.dx___196752); + s.yStep___196780 = (s.dy___196765); case 17: - s.tmp_2 = Fx_abs__P146097_mk(s); - s.tmp_2.arg0 = s.xStep___170162; + s.tmp_2 = Fx_abs__P172713_mk(s); + s.tmp_2.arg0 = s.xStep___196778; s.callLocIdx = 651; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -62635,8 +62678,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P146097_mk(s); - s.tmp_5.arg0 = s.yStep___170164; + s.tmp_5 = Fx_abs__P172713_mk(s); + s.tmp_5.arg0 = s.yStep___196780; s.callLocIdx = 652; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -62649,8 +62692,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P146097_mk(s); - s.tmp_10.arg0 = s.xStep___170162; + s.tmp_10 = Fx_abs__P172713_mk(s); + s.tmp_10.arg0 = s.xStep___196778; s.callLocIdx = 653; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -62661,12 +62704,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___170162, 2); - s.xStep___170162 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___196778, 2); + s.xStep___196778 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P146097_mk(s); - s.tmp_2.arg0 = s.yStep___170164; + s.tmp_2 = Fx_abs__P172713_mk(s); + s.tmp_2.arg0 = s.yStep___196780; s.callLocIdx = 655; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -62677,25 +62720,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___170164, 2); - s.yStep___170164 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___196780, 2); + s.yStep___196780 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C148129_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C174745_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P148130_mk(s); + s.tmp_1 = MovingSprite_constructor__P174746_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___170136; - s.tmp_1.arg5 = s.dy___170149; - s.tmp_1.arg6 = s.xStep___170162; - s.tmp_1.arg7 = s.yStep___170164; + s.tmp_1.arg4 = s.dx___196752; + s.tmp_1.arg5 = s.dy___196765; + s.tmp_1.arg6 = s.xStep___196778; + s.tmp_1.arg7 = s.yStep___196780; s.callLocIdx = 657; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -62703,12 +62746,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P150339.info = {"start":6637,"length":2805,"line":210,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P176955.info = {"start":6637,"length":2805,"line":210,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P150339_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P176955_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P150339, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P176955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62722,16 +62765,16 @@ function ArcadePhysicsEngine_createMovingSprite__P150339_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___170008: undefined, - ovy___170013: undefined, - fx___170040: undefined, - c___170047: undefined, - fy___170090: undefined, - c___170097: undefined, - dx___170136: undefined, - dy___170149: undefined, - xStep___170162: undefined, - yStep___170164: undefined, + ovx___196624: undefined, + ovy___196629: undefined, + fx___196656: undefined, + c___196663: undefined, + fy___196706: undefined, + c___196713: undefined, + dx___196752: undefined, + dy___196765: undefined, + xStep___196778: undefined, + yStep___196780: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -62742,7 +62785,7 @@ function ArcadePhysicsEngine_createMovingSprite__P150339_mk(s) { -function ArcadePhysicsEngine_constrain__P150344(s) { +function ArcadePhysicsEngine_constrain__P176960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62758,9 +62801,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P146099_mk(s); - s.tmp_1 = Fx_min__P146098_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P172715_mk(s); + s.tmp_1 = Fx_min__P172714_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -62776,12 +62819,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P150344.info = {"start":25852,"length":193,"line":726,"column":4,"endLine":734,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P176960.info = {"start":25852,"length":193,"line":726,"column":4,"endLine":734,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P150344_mk(s) { +function ArcadePhysicsEngine_constrain__P176960_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P150344, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P176960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62793,7 +62836,7 @@ function ArcadePhysicsEngine_constrain__P150344_mk(s) { -function Fx_max__P146099(s) { +function Fx_max__P172715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62824,12 +62867,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P146099.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__P172715.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__P146099_mk(s) { +function Fx_max__P172715_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P146099, depth: s.depth + 1, + parent: s, fn: Fx_max__P172715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -62840,7 +62883,7 @@ function Fx_max__P146099_mk(s) { -function Fx_compare__P146096(s) { +function Fx_compare__P172712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62859,12 +62902,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P146096.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__P172712.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__P146096_mk(s) { +function Fx_compare__P172712_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P146096, depth: s.depth + 1, + parent: s, fn: Fx_compare__P172712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -62874,7 +62917,7 @@ function Fx_compare__P146096_mk(s) { -function sprites_SpriteMap_insertAABB__P148057(s) { +function sprites_SpriteMap_insertAABB__P174673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62884,31 +62927,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___169820 = undefined; - s.top___169823 = undefined; - s.xn___169826 = undefined; - s.yn___169837 = undefined; - s.x___169848 = undefined; - s.y___169853 = undefined; + s.left___196436 = undefined; + s.top___196439 = undefined; + s.xn___196442 = undefined; + s.yn___196453 = undefined; + s.x___196464 = undefined; + s.y___196469 = 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__C148050_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P148016_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P174632_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 544; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___169820 = (r0); - s.tmp_0 = Sprite_top__P148020_mk(s); + s.left___196436 = (r0); + s.tmp_0 = Sprite_top__P174636_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 545; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___169823 = (r0); + s.top___196439 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -62922,7 +62965,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___169826 = (r0); + s.xn___196442 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -62936,30 +62979,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___169837 = (r0); - s.x___169848 = (0); + s.yn___196453 = (r0); + s.x___196464 = (0); case 1: - r0 = (s.x___169848 <= s.xn___169826); + r0 = (s.x___196464 <= s.xn___196442); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___169853 = (0); + s.y___196469 = (0); case 2: - r0 = (s.y___169853 <= s.yn___169837); + r0 = (s.y___196469 <= s.yn___196453); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P150303_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P176919_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___169820; - s.tmp_4 = Math_min__P146063_mk(s); + s.tmp_2 = r0 = s.left___196436; + s.tmp_4 = Math_min__P172679_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___169848 * s.tmp_6); + r0 = (s.x___196464 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 549; s.pc = 8; return s.tmp_4; case 8: @@ -62967,15 +63010,15 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___169823; - s.tmp_9 = Math_min__P146063_mk(s); + s.tmp_7 = r0 = s.top___196439; + s.tmp_9 = Math_min__P172679_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_10 = r0; r0 = pxsim_ImageMethods.height(s.tmp_10); s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___169853 * s.tmp_11); + r0 = (s.y___196469 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 551; s.pc = 9; return s.tmp_9; case 9: @@ -62987,24 +63030,24 @@ switch (step) { s.callLocIdx = 552; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___169853 + 1); - s.y___169853 = (r0); + r0 = (s.y___196469 + 1); + s.y___196469 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___169848 + 1); - s.x___169848 = (r0); + r0 = (s.x___196464 + 1); + s.x___196464 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P148057.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__P174673.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__P148057_mk(s) { +function sprites_SpriteMap_insertAABB__P174673_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P148057, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P174673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63018,12 +63061,12 @@ function sprites_SpriteMap_insertAABB__P148057_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___169820: undefined, - top___169823: undefined, - xn___169826: undefined, - yn___169837: undefined, - x___169848: undefined, - y___169853: undefined, + left___196436: undefined, + top___196439: undefined, + xn___196442: undefined, + yn___196453: undefined, + x___196464: undefined, + y___196469: undefined, arg0: undefined, arg1: undefined, } } @@ -63032,7 +63075,7 @@ function sprites_SpriteMap_insertAABB__P148057_mk(s) { -function sprites_SpriteMap_insertAtKey__P150303(s) { +function sprites_SpriteMap_insertAtKey__P176919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63042,8 +63085,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___169888 = undefined; - s.bucket___169893 = undefined; + s.k___196504 = undefined; + s.bucket___196509 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -63052,20 +63095,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C148050_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P150302_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P176918_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 543; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___169888 = (r0); + s.k___196504 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___169888); - s.bucket___169893 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___169893); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___196504); + s.bucket___196509 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___196509); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -63073,40 +63116,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___169888; + s.tmp_3 = r0 = s.k___196504; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___169893 = (s.tmp_4); + s.bucket___196509 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___169893, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___196509, 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___169893, s.arg3); + r0 = pxsim_Array__push(s.bucket___196509, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P150303.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__P176919.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__P150303_mk(s) { +function sprites_SpriteMap_insertAtKey__P176919_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P150303, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P176919, 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___169888: undefined, - bucket___169893: undefined, + k___196504: undefined, + bucket___196509: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -63117,7 +63160,7 @@ function sprites_SpriteMap_insertAtKey__P150303_mk(s) { -function sprites_SpriteMap_clear__P148056(s) { +function sprites_SpriteMap_clear__P174672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63132,7 +63175,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C148050_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -63141,12 +63184,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P148056.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__P174672.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__P148056_mk(s) { +function sprites_SpriteMap_clear__P174672_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P148056, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P174672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63157,7 +63200,7 @@ function sprites_SpriteMap_clear__P148056_mk(s) { -function sprites_SpriteMap_resizeBuckets__P148055(s) { +function sprites_SpriteMap_resizeBuckets__P174671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63167,107 +63210,107 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___169931 = undefined; - s.maxHeight___169932 = undefined; - s.sprite___169934 = undefined; - s.unnamed1044___U3 = undefined; - s.unnamed1045___U4 = undefined; - s.tMap___169950 = undefined; - s.areaWidth___169954 = undefined; - s.areaHeight___169961 = undefined; + s.maxWidth___196547 = undefined; + s.maxHeight___196548 = undefined; + s.sprite___196550 = undefined; + s.unnamed1152___U3 = undefined; + s.unnamed1153___U4 = undefined; + s.tMap___196566 = undefined; + s.areaWidth___196570 = undefined; + s.areaHeight___196577 = 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__C148050_VT)) failedCast(r0); - s.maxWidth___169931 = (0); - s.maxHeight___169932 = (0); - s.sprite___169934 = (undefined); - s.unnamed1044___U3 = (s.arg1); - s.unnamed1045___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); + s.maxWidth___196547 = (0); + s.maxHeight___196548 = (0); + s.sprite___196550 = (undefined); + s.unnamed1152___U3 = (s.arg1); + s.unnamed1153___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1045___U4; - r0 = pxsim_Array__length(s.unnamed1044___U3); + s.tmp_0 = r0 = s.unnamed1153___U4; + r0 = pxsim_Array__length(s.unnamed1152___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1044___U3, s.unnamed1045___U4); - s.sprite___169934 = (r0); - r0 = s.sprite___169934.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed1152___U3, s.unnamed1153___U4); + s.sprite___196550 = (r0); + r0 = s.sprite___196550.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___169931); + r0 = (s.tmp_3 > s.maxWidth___196547); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___169934.fields["_image"]; + r0 = s.sprite___196550.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___169931 = (r0); + s.maxWidth___196547 = (r0); case 2: case 3: - r0 = s.sprite___169934.fields["_image"]; + r0 = s.sprite___196550.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___169932); + r0 = (s.tmp_1 > s.maxHeight___196548); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___169934.fields["_image"]; + r0 = s.sprite___196550.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___169932 = (r0); + s.maxHeight___196548 = (r0); case 4: case 5: - r0 = (s.unnamed1045___U4 + 1); - s.unnamed1045___U4 = (r0); + r0 = (s.unnamed1153___U4 + 1); + s.unnamed1153___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed1044___U3 = (undefined); - s.tmp_0 = game_currentScene__P148484_mk(s); + s.unnamed1152___U3 = (undefined); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 536; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___169950 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___169950); + s.tMap___196566 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___196566); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P148282_mk(s); - s.tmp_0.arg0 = s.tMap___169950; + s.tmp_0 = tiles_TileMap_areaWidth__P174898_mk(s); + s.tmp_0.arg0 = s.tMap___196566; s.callLocIdx = 537; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___169954 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___169950); + s.areaWidth___196570 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___196566); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P148283_mk(s); - s.tmp_0.arg0 = s.tMap___169950; + s.tmp_0 = tiles_TileMap_areaHeight__P174899_mk(s); + s.tmp_0.arg0 = s.tMap___196566; s.callLocIdx = 538; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___169961 = (s.tmp_1); + s.areaHeight___196577 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P146059_mk(s); + s.tmp_2 = Math_clamp__P172675_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___169954 >> 2); + r0 = (s.areaWidth___196570 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___169931 * 2); + r0 = (s.maxWidth___196547 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 539; s.pc = 14; return s.tmp_2; case 14: @@ -63275,11 +63318,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__P146059_mk(s); + s.tmp_2 = Math_clamp__P172675_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___169961 >> 2); + r0 = (s.areaHeight___196577 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___169932 * 2); + r0 = (s.maxHeight___196548 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 540; s.pc = 15; return s.tmp_2; case 15: @@ -63289,25 +63332,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___169961, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___196577, 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___169954, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___196570, 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__P148055.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__P174671.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__P148055_mk(s) { +function sprites_SpriteMap_resizeBuckets__P174671_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P148055, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P174671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63315,14 +63358,14 @@ function sprites_SpriteMap_resizeBuckets__P148055_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___169931: undefined, - maxHeight___169932: undefined, - sprite___169934: undefined, - unnamed1044___U3: undefined, - unnamed1045___U4: undefined, - tMap___169950: undefined, - areaWidth___169954: undefined, - areaHeight___169961: undefined, + maxWidth___196547: undefined, + maxHeight___196548: undefined, + sprite___196550: undefined, + unnamed1152___U3: undefined, + unnamed1153___U4: undefined, + tMap___196566: undefined, + areaWidth___196570: undefined, + areaHeight___196577: undefined, arg0: undefined, arg1: undefined, } } @@ -63331,7 +63374,7 @@ function sprites_SpriteMap_resizeBuckets__P148055_mk(s) { -function Sprite_clearObstacles__P148040(s) { +function Sprite_clearObstacles__P174656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63346,7 +63389,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -63355,12 +63398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P148040.info = {"start":27932,"length":54,"line":843,"column":4,"endLine":845,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P174656.info = {"start":27932,"length":54,"line":843,"column":4,"endLine":845,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P148040_mk(s) { +function Sprite_clearObstacles__P174656_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P148040, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P174656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63371,7 +63414,7 @@ function Sprite_clearObstacles__P148040_mk(s) { -function Fx_idiv__P146095(s) { +function Fx_idiv__P172711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63390,12 +63433,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P146095.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__P172711.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__P146095_mk(s) { +function Fx_idiv__P172711_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P146095, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P172711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -63405,7 +63448,7 @@ function Fx_idiv__P146095_mk(s) { -function Fx_div__P146094(s) { +function Fx_div__P172710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63426,12 +63469,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P146094.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__P172710.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__P146094_mk(s) { +function Fx_div__P172710_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P146094, depth: s.depth + 1, + parent: s, fn: Fx_div__P172710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -63442,7 +63485,7 @@ function Fx_div__P146094_mk(s) { -function helpers_arrayMap__P146039(s) { +function helpers_arrayMap__P172655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63452,58 +63495,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___170233 = undefined; - s.len___170235 = undefined; - s.i___170238 = undefined; + s.res___196849 = undefined; + s.len___196851 = undefined; + s.i___196854 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___170233 = (r0); + s.res___196849 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___170235 = (r0); - s.i___170238 = (0); + s.len___196851 = (r0); + s.i___196854 = (0); case 1: - r0 = (s.i___170238 < s.len___170235); + r0 = (s.i___196854 < s.len___196851); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___170233; + s.tmp_1 = r0 = s.res___196849; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___170238); + r0 = pxsim_Array__getAt(s.arg0, s.i___196854); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___170238; + s.tmp_3.arg1 = s.i___196854; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 4; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___170238 + 1); - s.i___170238 = (r0); + r0 = (s.i___196854 + 1); + s.i___196854 = (r0); { step = 1; continue; } case 2: - r0 = s.res___170233; + r0 = s.res___196849; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P146039.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__P172655.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__P146039_mk(s) { +function helpers_arrayMap__P172655_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P146039, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P172655, 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___170233: undefined, - len___170235: undefined, - i___170238: undefined, + res___196849: undefined, + len___196851: undefined, + i___196854: undefined, arg0: undefined, arg1: undefined, } } @@ -63512,7 +63555,7 @@ function helpers_arrayMap__P146039_mk(s) { -function ArcadePhysicsEngine_draw__P148142(s) { +function ArcadePhysicsEngine_draw__P174758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63527,8 +63570,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P148054_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P174670_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 587; s.pc = 1; return s.tmp_0; @@ -63538,12 +63581,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P148142.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__P174758.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__P148142_mk(s) { +function ArcadePhysicsEngine_draw__P174758_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P148142, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P174758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -63553,7 +63596,7 @@ function ArcadePhysicsEngine_draw__P148142_mk(s) { -function sprites_SpriteMap_draw__P148054(s) { +function sprites_SpriteMap_draw__P174670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63563,70 +63606,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___170259 = undefined; - s.y___170265 = undefined; - s.left___170271 = undefined; - s.top___170276 = undefined; - s.k___170281 = undefined; - s.b___170286 = undefined; + s.x___196875 = undefined; + s.y___196881 = undefined; + s.left___196887 = undefined; + s.top___196892 = undefined; + s.k___196897 = undefined; + s.b___196902 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C148050_VT)) failedCast(r0); - s.x___170259 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C174666_VT)) failedCast(r0); + s.x___196875 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___170259 < s.tmp_1); + r0 = (s.x___196875 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___170265 = (0); + s.y___196881 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___170265 < s.tmp_1); + r0 = (s.y___196881 < 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___170259 * s.tmp_2); - s.left___170271 = (r0); + r0 = (s.x___196875 * s.tmp_2); + s.left___196887 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___170265 * s.tmp_0); - s.top___170276 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P150302_mk(s); + r0 = (s.y___196881 * s.tmp_0); + s.top___196892 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P176918_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___170271; - s.tmp_0.arg2 = s.top___170276; + s.tmp_0.arg1 = s.left___196887; + s.tmp_0.arg2 = s.top___196892; s.callLocIdx = 530; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___170281 = (r0); + s.k___196897 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___170281); - s.b___170286 = (r0); - s.tmp_0 = r0 = s.b___170286; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___196897); + s.b___196902 = (r0); + s.tmp_0 = r0 = s.b___196902; 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___170286); + r0 = pxsim_Array__length(s.b___196902); 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__P147678_mk(s); - s.tmp_2.arg0 = globals.screen___147749; - s.tmp_2.arg1 = s.left___170271; - s.tmp_2.arg2 = s.top___170276; + s.tmp_2 = helpers_imageDrawRect__P174294_mk(s); + s.tmp_2.arg0 = globals.screen___174365; + s.tmp_2.arg1 = s.left___196887; + s.tmp_2.arg2 = s.top___196892; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -63637,34 +63680,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___170265 + 1); - s.y___170265 = (r0); + r0 = (s.y___196881 + 1); + s.y___196881 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___170259 + 1); - s.x___170259 = (r0); + r0 = (s.x___196875 + 1); + s.x___196875 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P148054.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__P174670.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__P148054_mk(s) { +function sprites_SpriteMap_draw__P174670_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P148054, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P174670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___170259: undefined, - y___170265: undefined, - left___170271: undefined, - top___170276: undefined, - k___170281: undefined, - b___170286: undefined, + x___196875: undefined, + y___196881: undefined, + left___196887: undefined, + top___196892: undefined, + k___196897: undefined, + b___196902: undefined, arg0: undefined, } } @@ -63672,7 +63715,7 @@ function sprites_SpriteMap_draw__P148054_mk(s) { -function ArcadePhysicsEngine_removeSprite__P148141(s) { +function ArcadePhysicsEngine_removeSprite__P174757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63688,7 +63731,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -63696,12 +63739,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P148141.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__P174757.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__P148141_mk(s) { +function ArcadePhysicsEngine_removeSprite__P174757_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P148141, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P174757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -63712,7 +63755,7 @@ function ArcadePhysicsEngine_removeSprite__P148141_mk(s) { -function ArcadePhysicsEngine_addSprite__P148140(s) { +function ArcadePhysicsEngine_addSprite__P174756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63722,31 +63765,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___170323 = undefined; + s.tm___196939 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C148131_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C174747_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__P148484_mk(s); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 585; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___170323 = (r0); - s.tmp_0 = r0 = s.tm___170323; + s.tm___196939 = (r0); + s.tmp_0 = r0 = s.tm___196939; 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__P148297_mk(s); - s.tmp_1.arg0 = s.tm___170323; + s.tmp_1 = tiles_TileMap_isOnWall__P174913_mk(s); + s.tmp_1.arg0 = s.tm___196939; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 586; s.pc = 6; return s.tmp_1; case 6: @@ -63768,12 +63811,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P148140.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__P174756.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__P148140_mk(s) { +function ArcadePhysicsEngine_addSprite__P174756_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P148140, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P174756, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63781,7 +63824,7 @@ function ArcadePhysicsEngine_addSprite__P148140_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___170323: undefined, + tm___196939: undefined, arg0: undefined, arg1: undefined, } } @@ -63790,7 +63833,7 @@ function ArcadePhysicsEngine_addSprite__P148140_mk(s) { -function scene_BackgroundLayer_constructor__P148240(s) { +function scene_BackgroundLayer_constructor__P174856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63808,9 +63851,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C148233_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C174849_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P146062_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 905; s.pc = 7; return s.tmp_2; @@ -63856,12 +63899,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P148240.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__P174856.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__P148240_mk(s) { +function scene_BackgroundLayer_constructor__P174856_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P148240, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P174856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63876,7 +63919,7 @@ function scene_BackgroundLayer_constructor__P148240_mk(s) { -function scene_Camera_y__P148322(s) { +function scene_Camera_y__P174938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63891,10 +63934,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C148312_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -63902,13 +63945,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P148322.info = {"start":1398,"length":79,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} -scene_Camera_y__P148322.isGetter = true; +scene_Camera_y__P174938.info = {"start":1398,"length":79,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} +scene_Camera_y__P174938.isGetter = true; -function scene_Camera_y__P148322_mk(s) { +function scene_Camera_y__P174938_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P148322, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P174938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63920,7 +63963,7 @@ function scene_Camera_y__P148322_mk(s) { -function scene_Camera_x__P148321(s) { +function scene_Camera_x__P174937(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63935,10 +63978,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C148312_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -63946,13 +63989,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P148321.info = {"start":1311,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} -scene_Camera_x__P148321.isGetter = true; +scene_Camera_x__P174937.info = {"start":1311,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} +scene_Camera_x__P174937.isGetter = true; -function scene_Camera_x__P148321_mk(s) { +function scene_Camera_x__P174937_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P148321, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P174937, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63964,7 +64007,7 @@ function scene_Camera_x__P148321_mk(s) { -function effects_ImageEffect_startScreenEffect__P148772(s) { +function effects_ImageEffect_startScreenEffect__P175388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63974,7 +64017,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wasRunning___170410 = undefined; + s.wasRunning___197026 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -63982,8 +64025,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C148768_VT)) failedCast(r0); - s.tmp_4 = game_currentScene__P148484_mk(s); + if (!checkSubtype(r0, effects_ImageEffect__C175384_VT)) failedCast(r0); + s.tmp_4 = game_currentScene__P175100_mk(s); s.callLocIdx = 1522; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; @@ -64011,7 +64054,7 @@ switch (step) { r0 = s.arg0.fields["times"]; s.tmp_9 = r0; r0 = (s.tmp_9 != undefined); - s.wasRunning___170410 = (r0); + s.wasRunning___197026 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } r0 = s.arg1; @@ -64022,13 +64065,13 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["times"] = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(s.wasRunning___170410); + r0 = pxsim_numops_toBoolDecr(s.wasRunning___197026); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P170423); + r0 = pxsim_pxtcore_mkAction(2, inline__P197039); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_2, 1, s.arg2); @@ -64040,12 +64083,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_startScreenEffect__P148772.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} +effects_ImageEffect_startScreenEffect__P175388.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} -function effects_ImageEffect_startScreenEffect__P148772_mk(s) { +function effects_ImageEffect_startScreenEffect__P175388_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_startScreenEffect__P148772, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_startScreenEffect__P175388, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64057,7 +64100,7 @@ function effects_ImageEffect_startScreenEffect__P148772_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - wasRunning___170410: undefined, + wasRunning___197026: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -64067,7 +64110,7 @@ function effects_ImageEffect_startScreenEffect__P148772_mk(s) { -function inline__P170423(s) { +function inline__P197039(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64084,9 +64127,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = effects_ImageEffect_change__P148771_mk(s); + s.tmp_2 = effects_ImageEffect_change__P175387_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.tmp_3 = scene_backgroundImage__P148412_mk(s); + s.tmp_3 = scene_backgroundImage__P175028_mk(s); s.callLocIdx = 1524; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; @@ -64103,7 +64146,7 @@ switch (step) { case 3: // jmp value (already in r0) s.tmp_0 = r0; - s.tmp_1 = pause__P146339_mk(s); + s.tmp_1 = pause__P172955_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1526; s.pc = 7; return s.tmp_1; case 7: @@ -64121,12 +64164,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P170423.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} +inline__P197039.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} -function inline__P170423_mk(s) { +function inline__P197039_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P170423, depth: s.depth + 1, + parent: s, fn: inline__P197039, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64138,7 +64181,7 @@ function inline__P170423_mk(s) { -function scene_backgroundImage__P148412(s) { +function scene_backgroundImage__P175028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64148,14 +64191,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___170442 = undefined; - s.tmp_0 = game_currentScene__P148484_mk(s); + s.scene___197058 = undefined; + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 1082; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___170442 = (r0); - s.tmp_0 = scene_Background_image__P148229_mk(s); - r0 = s.scene___170442.fields["background"]; + s.scene___197058 = (r0); + s.tmp_0 = scene_Background_image__P174845_mk(s); + r0 = s.scene___197058.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1083; s.pc = 2; return s.tmp_0; case 2: @@ -64163,22 +64206,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_backgroundImage__P148412.info = {"start":2273,"length":130,"line":90,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} +scene_backgroundImage__P175028.info = {"start":2273,"length":130,"line":90,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} -function scene_backgroundImage__P148412_mk(s) { +function scene_backgroundImage__P175028_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_backgroundImage__P148412, depth: s.depth + 1, + parent: s, fn: scene_backgroundImage__P175028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___170442: undefined, + scene___197058: undefined, } } -function scene_Background_hasBackgroundImage__P148231(s) { +function scene_Background_hasBackgroundImage__P174847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64193,7 +64236,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C148223_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C174839_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -64206,12 +64249,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_hasBackgroundImage__P148231.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} +scene_Background_hasBackgroundImage__P174847.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} -function scene_Background_hasBackgroundImage__P148231_mk(s) { +function scene_Background_hasBackgroundImage__P174847_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_hasBackgroundImage__P148231, depth: s.depth + 1, + parent: s, fn: scene_Background_hasBackgroundImage__P174847, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64224,7 +64267,7 @@ function scene_Background_hasBackgroundImage__P148231_mk(s) { -function Sprite_toString__P148046(s) { +function Sprite_toString__P174662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64239,7 +64282,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -64257,7 +64300,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P147979_mk(s); + s.tmp_14 = Sprite_x__P174595_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 511; s.pc = 2; return s.tmp_14; case 2: @@ -64276,7 +64319,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P147981_mk(s); + s.tmp_17 = Sprite_y__P174597_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 512; s.pc = 4; return s.tmp_17; case 4: @@ -64295,7 +64338,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P147983_mk(s); + s.tmp_20 = Sprite_vx__P174599_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 513; s.pc = 6; return s.tmp_20; case 6: @@ -64314,7 +64357,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P147985_mk(s); + s.tmp_23 = Sprite_vy__P174601_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 514; s.pc = 8; return s.tmp_23; case 8: @@ -64335,12 +64378,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P148046.info = {"start":34429,"length":93,"line":1014,"column":4,"endLine":1016,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P174662.info = {"start":34429,"length":93,"line":1014,"column":4,"endLine":1016,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P148046_mk(s) { +function Sprite_toString__P174662_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P148046, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P174662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64373,7 +64416,7 @@ function Sprite_toString__P148046_mk(s) { -function Sprite___update__P148032(s) { +function Sprite___update__P174648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64383,8 +64426,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___170512 = undefined; - s.tm___170517 = undefined; + s.bounce___197128 = undefined; + s.tm___197133 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -64392,7 +64435,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -64414,7 +64457,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__P148044_mk(s); + s.tmp_0 = Sprite__destroyCore__P174660_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 411; s.pc = 33; return s.tmp_0; case 33: @@ -64432,7 +64475,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P148030_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P174646_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 412; s.pc = 34; return s.tmp_2; @@ -64443,7 +64486,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P148043_mk(s); + s.tmp_4 = Sprite_destroy__P174659_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -64455,13 +64498,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___170512 = (r0); - s.tmp_0 = game_currentScene__P148484_mk(s); + s.bounce___197128 = (r0); + s.tmp_0 = game_currentScene__P175100_mk(s); s.callLocIdx = 414; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___170517 = (r0); + s.tm___197133 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -64471,13 +64514,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___170512; + s.tmp_2 = r0 = s.bounce___197128; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 10; continue; } r0 = s.tmp_2; { step = 11; continue; } case 10: - r0 = pxsim_numops_toBoolDecr(s.tm___170517); + r0 = pxsim_numops_toBoolDecr(s.tm___197133); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -64489,7 +64532,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P148016_mk(s); + s.tmp_8 = Sprite_left__P174632_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 415; s.pc = 37; return s.tmp_8; case 37: @@ -64501,18 +64544,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P148017_mk(s); + s.tmp_10 = Sprite_left__P174633_mk(s); s.tmp_10.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_10.arg1 = r0; s.callLocIdx = 418; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___170512); + r0 = pxsim_numops_toBoolDecr(s.bounce___197128); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P147984_mk(s); + s.tmp_0 = Sprite_vx__P174600_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P147983_mk(s); + s.tmp_2 = Sprite_vx__P174599_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 419; s.pc = 40; return s.tmp_2; case 40: @@ -64527,7 +64570,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P148018_mk(s); + s.tmp_2 = Sprite_right__P174634_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 421; s.pc = 41; return s.tmp_2; case 41: @@ -64535,7 +64578,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -64543,22 +64586,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P148019_mk(s); + s.tmp_6 = Sprite_right__P174635_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 424; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___170512); + r0 = pxsim_numops_toBoolDecr(s.bounce___197128); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P147984_mk(s); + s.tmp_0 = Sprite_vx__P174600_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P147983_mk(s); + s.tmp_2 = Sprite_vx__P174599_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 425; s.pc = 44; return s.tmp_2; case 44: @@ -64574,7 +64617,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P148020_mk(s); + s.tmp_2 = Sprite_top__P174636_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 427; s.pc = 45; return s.tmp_2; case 45: @@ -64586,18 +64629,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P148021_mk(s); + s.tmp_4 = Sprite_top__P174637_mk(s); s.tmp_4.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4.arg1 = r0; s.callLocIdx = 430; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___170512); + r0 = pxsim_numops_toBoolDecr(s.bounce___197128); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P147986_mk(s); + s.tmp_0 = Sprite_vy__P174602_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P147985_mk(s); + s.tmp_2 = Sprite_vy__P174601_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 431; s.pc = 48; return s.tmp_2; case 48: @@ -64612,7 +64655,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P148022_mk(s); + s.tmp_2 = Sprite_bottom__P174638_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 433; s.pc = 49; return s.tmp_2; case 49: @@ -64620,7 +64663,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -64628,22 +64671,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P148023_mk(s); + s.tmp_6 = Sprite_bottom__P174639_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 436; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___170512); + r0 = pxsim_numops_toBoolDecr(s.bounce___197128); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P147986_mk(s); + s.tmp_0 = Sprite_vy__P174602_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P147985_mk(s); + s.tmp_2 = Sprite_vy__P174601_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 437; s.pc = 52; return s.tmp_2; case 52: @@ -64686,12 +64729,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P148032.info = {"start":22560,"length":1390,"line":688,"column":4,"endLine":727,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P174648.info = {"start":22560,"length":1390,"line":688,"column":4,"endLine":727,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P148032_mk(s) { +function Sprite___update__P174648_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P148032, depth: s.depth + 1, + parent: s, fn: Sprite___update__P174648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64704,8 +64747,8 @@ function Sprite___update__P148032_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___170512: undefined, - tm___170517: undefined, + bounce___197128: undefined, + tm___197133: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -64715,7 +64758,7 @@ function Sprite___update__P148032_mk(s) { -function Sprite_isOutOfScreen__P148030(s) { +function Sprite_isOutOfScreen__P174646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64725,15 +64768,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___170606 = undefined; - s.oy___170614 = undefined; + s.ox___197222 = undefined; + s.oy___197230 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -64747,7 +64790,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___170606 = (s.tmp_2); + s.ox___197222 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -64761,14 +64804,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___170614 = (s.tmp_2); - s.tmp_3 = Sprite_right__P148018_mk(s); + s.oy___197230 = (s.tmp_2); + s.tmp_3 = Sprite_right__P174634_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 380; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___170606); + r0 = (s.tmp_2 - s.ox___197222); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -64777,13 +64820,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P148022_mk(s); + s.tmp_6 = Sprite_bottom__P174638_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 381; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___170614); + r0 = (s.tmp_5 - s.oy___197230); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -64794,15 +64837,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P148016_mk(s); + s.tmp_10 = Sprite_left__P174632_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 382; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___170606); + r0 = (s.tmp_9 - s.ox___197222); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -64813,15 +64856,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P148020_mk(s); + s.tmp_15 = Sprite_top__P174636_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 383; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___170614); + r0 = (s.tmp_14 - s.oy___197230); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -64831,12 +64874,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P148030.info = {"start":20783,"length":358,"line":642,"column":4,"endLine":646,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P174646.info = {"start":20783,"length":358,"line":642,"column":4,"endLine":646,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P148030_mk(s) { +function Sprite_isOutOfScreen__P174646_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P148030, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P174646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64856,8 +64899,8 @@ function Sprite_isOutOfScreen__P148030_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___170606: undefined, - oy___170614: undefined, + ox___197222: undefined, + oy___197230: undefined, arg0: undefined, arg1: undefined, } } @@ -64866,7 +64909,7 @@ function Sprite_isOutOfScreen__P148030_mk(s) { -function Sprite_bottom__P148023(s) { +function Sprite_bottom__P174639(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64882,8 +64925,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P148021_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P174637_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -64899,12 +64942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P148023.info = {"start":10518,"length":73,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P174639.info = {"start":10518,"length":73,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P148023_mk(s) { +function Sprite_bottom__P174639_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P148023, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P174639, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64918,7 +64961,7 @@ function Sprite_bottom__P148023_mk(s) { -function Sprite_right__P148019(s) { +function Sprite_right__P174635(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64934,8 +64977,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P148017_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P174633_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -64951,12 +64994,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P148019.info = {"start":9711,"length":71,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P174635.info = {"start":9711,"length":71,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P148019_mk(s) { +function Sprite_right__P174635_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P148019, depth: s.depth + 1, + parent: s, fn: Sprite_right__P174635, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64970,7 +65013,7 @@ function Sprite_right__P148019_mk(s) { -function Sprite_data__P147996(s) { +function Sprite_data__P174612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64986,18 +65029,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P147996.info = {"start":4575,"length":56,"line":171,"column":4,"endLine":173,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P174612.info = {"start":4575,"length":56,"line":171,"column":4,"endLine":173,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P147996_mk(s) { +function Sprite_data__P174612_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P147996, depth: s.depth + 1, + parent: s, fn: Sprite_data__P174612, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -65007,7 +65050,7 @@ function Sprite_data__P147996_mk(s) { -function sprites_BaseSprite___update__P147813(s) { +function sprites_BaseSprite___update__P174429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65024,17 +65067,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C147805_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C174421_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P147813.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__P174429.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__P147813_mk(s) { +function sprites_BaseSprite___update__P174429_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P147813, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P174429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -65045,7 +65088,7 @@ function sprites_BaseSprite___update__P147813_mk(s) { -function sprites_BaseSprite___draw__P147811(s) { +function sprites_BaseSprite___draw__P174427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65061,10 +65104,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C147805_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C147805_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C174421_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C174421_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C147805_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C174421_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: @@ -65072,10 +65115,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C147805_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C174421_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C147805_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C174421_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: @@ -65086,12 +65129,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P147811.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__P174427.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__P147811_mk(s) { +function sprites_BaseSprite___draw__P174427_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P147811, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P174427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65104,7 +65147,7 @@ function sprites_BaseSprite___draw__P147811_mk(s) { -function sprites_BaseSprite___drawCore__P147812(s) { +function sprites_BaseSprite___drawCore__P174428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65120,17 +65163,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C147805_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C174421_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P147812.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__P174428.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__P147812_mk(s) { +function sprites_BaseSprite___drawCore__P174428_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P147812, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P174428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -65140,7 +65183,7 @@ function sprites_BaseSprite___drawCore__P147812_mk(s) { -function sprites_BaseSprite___visible__P147808(s) { +function sprites_BaseSprite___visible__P174424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65155,17 +65198,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C147805_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C174421_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P147808.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__P174424.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__P147808_mk(s) { +function sprites_BaseSprite___visible__P174424_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P147808, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P174424, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -65174,7 +65217,7 @@ function sprites_BaseSprite___visible__P147808_mk(s) { -function music_Melody_toString__P147544(s) { +function music_Melody_toString__P174160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65189,17 +65232,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C147535_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C174151_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P147544.info = {"start":10021,"length":53,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P174160.info = {"start":10021,"length":53,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P147544_mk(s) { +function music_Melody_toString__P174160_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P147544, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P174160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -65208,7 +65251,7 @@ function music_Melody_toString__P147544_mk(s) { -function controller_AnyButton_isPressed__P150293(s) { +function controller_AnyButton_isPressed__P176909(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65218,36 +65261,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___170665 = undefined; - s.b___170669 = undefined; - s.unnamed1042___U2 = undefined; - s.unnamed1043___U3 = undefined; + s.ctrl___197281 = undefined; + s.b___197285 = undefined; + s.unnamed1150___U2 = undefined; + s.unnamed1151___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C150291_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P147864_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C176907_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P174480_mk(s); s.callLocIdx = 208; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___170665 = (r0); - s.b___170669 = (undefined); - r0 = s.ctrl___170665.fields["buttons"]; - s.unnamed1042___U2 = (r0); - s.unnamed1043___U3 = (0); + s.ctrl___197281 = (r0); + s.b___197285 = (undefined); + r0 = s.ctrl___197281.fields["buttons"]; + s.unnamed1150___U2 = (r0); + s.unnamed1151___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1043___U3; - r0 = pxsim_Array__length(s.unnamed1042___U2); + s.tmp_0 = r0 = s.unnamed1151___U3; + r0 = pxsim_Array__length(s.unnamed1150___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1042___U2, s.unnamed1043___U3); - s.b___170669 = (r0); - s.tmp_3 = controller_Button__C147850_v0_1_mk(s); - s.tmp_3.arg0 = s.b___170669; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C147850_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed1150___U2, s.unnamed1151___U3); + s.b___197285 = (r0); + s.tmp_3 = controller_Button__C174466_v0_1_mk(s); + s.tmp_3.arg0 = s.b___197285; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C174466_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: @@ -65259,31 +65302,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed1043___U3 + 1); - s.unnamed1043___U3 = (r0); + r0 = (s.unnamed1151___U3 + 1); + s.unnamed1151___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed1042___U2 = (undefined); + s.unnamed1150___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P150293.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P176909.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P150293_mk(s) { +function controller_AnyButton_isPressed__P176909_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P150293, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P176909, 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___170665: undefined, - b___170669: undefined, - unnamed1042___U2: undefined, - unnamed1043___U3: undefined, + ctrl___197281: undefined, + b___197285: undefined, + unnamed1150___U2: undefined, + unnamed1151___U3: undefined, arg0: undefined, } } @@ -65291,7 +65334,7 @@ function controller_AnyButton_isPressed__P150293_mk(s) { -function controller_Button_toString__P147855(s) { +function controller_Button_toString__P174471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65306,7 +65349,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C147850_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C174466_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -65346,12 +65389,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P147855.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"toString","argumentNames":["this"]} +controller_Button_toString__P174471.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"toString","argumentNames":["this"]} -function controller_Button_toString__P147855_mk(s) { +function controller_Button_toString__P174471_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P147855, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P174471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65367,7 +65410,7 @@ function controller_Button_toString__P147855_mk(s) { -function sprites_StaticObstacle_width__P148112(s) { +function sprites_StaticObstacle_width__P174728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65382,20 +65425,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C148102_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C174718_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__P148112.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__P148112.isGetter = true; +sprites_StaticObstacle_width__P174728.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__P174728.isGetter = true; -function sprites_StaticObstacle_width__P148112_mk(s) { +function sprites_StaticObstacle_width__P174728_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P148112, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P174728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -65405,7 +65448,7 @@ function sprites_StaticObstacle_width__P148112_mk(s) { -function sprites_StaticObstacle_height__P148111(s) { +function sprites_StaticObstacle_height__P174727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65420,20 +65463,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C148102_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C174718_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__P148111.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__P148111.isGetter = true; +sprites_StaticObstacle_height__P174727.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__P174727.isGetter = true; -function sprites_StaticObstacle_height__P148111_mk(s) { +function sprites_StaticObstacle_height__P174727_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P148111, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P174727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -65443,7 +65486,7 @@ function sprites_StaticObstacle_height__P148111_mk(s) { -function sprites_StaticObstacle_y__P148110(s) { +function sprites_StaticObstacle_y__P174726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65458,7 +65501,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C148102_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C174718_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -65471,13 +65514,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P148110.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__P148110.isGetter = true; +sprites_StaticObstacle_y__P174726.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__P174726.isGetter = true; -function sprites_StaticObstacle_y__P148110_mk(s) { +function sprites_StaticObstacle_y__P174726_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P148110, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P174726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65490,7 +65533,7 @@ function sprites_StaticObstacle_y__P148110_mk(s) { -function sprites_StaticObstacle_x__P148109(s) { +function sprites_StaticObstacle_x__P174725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65505,7 +65548,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C148102_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C174718_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -65518,13 +65561,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P148109.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__P148109.isGetter = true; +sprites_StaticObstacle_x__P174725.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__P174725.isGetter = true; -function sprites_StaticObstacle_x__P148109_mk(s) { +function sprites_StaticObstacle_x__P174725_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P148109, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P174725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65537,7 +65580,7 @@ function sprites_StaticObstacle_x__P148109_mk(s) { -function effects_SceneAnchor_height__P150869(s) { +function effects_SceneAnchor_height__P177485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65552,18 +65595,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C150865_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.height(globals.screen___147749); + if (!checkSubtype(r0, effects_SceneAnchor__C177481_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.height(globals.screen___174365); return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_height__P150869.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} -effects_SceneAnchor_height__P150869.isGetter = true; +effects_SceneAnchor_height__P177485.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} +effects_SceneAnchor_height__P177485.isGetter = true; -function effects_SceneAnchor_height__P150869_mk(s) { +function effects_SceneAnchor_height__P177485_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_height__P150869, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_height__P177485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -65572,7 +65615,7 @@ function effects_SceneAnchor_height__P150869_mk(s) { -function effects_SceneAnchor_width__P150868(s) { +function effects_SceneAnchor_width__P177484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65587,18 +65630,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C150865_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___147749); + if (!checkSubtype(r0, effects_SceneAnchor__C177481_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___174365); return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_width__P150868.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} -effects_SceneAnchor_width__P150868.isGetter = true; +effects_SceneAnchor_width__P177484.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} +effects_SceneAnchor_width__P177484.isGetter = true; -function effects_SceneAnchor_width__P150868_mk(s) { +function effects_SceneAnchor_width__P177484_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_width__P150868, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_width__P177484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -65607,7 +65650,7 @@ function effects_SceneAnchor_width__P150868_mk(s) { -function effects_SceneAnchor_y__P150867(s) { +function effects_SceneAnchor_y__P177483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65622,12 +65665,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C150865_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C177481_VT)) failedCast(r0); r0 = s.arg0.fields["camera"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; @@ -65635,13 +65678,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_y__P150867.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} -effects_SceneAnchor_y__P150867.isGetter = true; +effects_SceneAnchor_y__P177483.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} +effects_SceneAnchor_y__P177483.isGetter = true; -function effects_SceneAnchor_y__P150867_mk(s) { +function effects_SceneAnchor_y__P177483_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_y__P150867, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_y__P177483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65654,7 +65697,7 @@ function effects_SceneAnchor_y__P150867_mk(s) { -function effects_SceneAnchor_x__P150866(s) { +function effects_SceneAnchor_x__P177482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65669,12 +65712,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C150865_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C177481_VT)) failedCast(r0); r0 = s.arg0.fields["camera"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; @@ -65682,13 +65725,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_x__P150866.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} -effects_SceneAnchor_x__P150866.isGetter = true; +effects_SceneAnchor_x__P177482.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} +effects_SceneAnchor_x__P177482.isGetter = true; -function effects_SceneAnchor_x__P150866_mk(s) { +function effects_SceneAnchor_x__P177482_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_x__P150866, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_x__P177482, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65701,7 +65744,7 @@ function effects_SceneAnchor_x__P150866_mk(s) { -function animation_CubicCurveTo_apply__P148850(s) { +function animation_CubicCurveTo_apply__P175466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65711,14 +65754,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.progress___170736 = undefined; - s.diff___170740 = undefined; - s.a___170744 = undefined; - s.b___170748 = undefined; - s.c___170756 = undefined; - s.d___170764 = undefined; - s.x___170768 = undefined; - s.y___170794 = undefined; + s.progress___197352 = undefined; + s.diff___197356 = undefined; + s.a___197360 = undefined; + s.b___197364 = undefined; + s.c___197372 = undefined; + s.d___197380 = undefined; + s.x___197384 = undefined; + s.y___197410 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -65727,87 +65770,87 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_CubicCurveTo__C148848_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_CubicCurveTo__C175464_VT)) failedCast(r0); r0 = (s.arg2 / s.arg3); - s.progress___170736 = (r0); - r0 = (1 - s.progress___170736); - s.diff___170740 = (r0); - r0 = pxsim.Math_.pow(s.diff___170740, 3); - s.a___170744 = (r0); - r0 = pxsim.Math_.pow(s.diff___170740, 2); + s.progress___197352 = (r0); + r0 = (1 - s.progress___197352); + s.diff___197356 = (r0); + r0 = pxsim.Math_.pow(s.diff___197356, 3); + s.a___197360 = (r0); + r0 = pxsim.Math_.pow(s.diff___197356, 2); s.tmp_1 = r0; r0 = (3 * s.tmp_1); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.progress___170736); - s.b___170748 = (r0); - r0 = (3 * s.diff___170740); + r0 = (s.tmp_0 * s.progress___197352); + s.b___197364 = (r0); + r0 = (3 * s.diff___197356); s.tmp_0 = r0; - r0 = pxsim.Math_.pow(s.progress___170736, 2); + r0 = pxsim.Math_.pow(s.progress___197352, 2); s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.c___170756 = (r0); - r0 = pxsim.Math_.pow(s.progress___170736, 3); - s.d___170764 = (r0); + s.c___197372 = (r0); + r0 = pxsim.Math_.pow(s.progress___197352, 3); + s.d___197380 = (r0); r0 = s.arg0.fields["p0"]; r0 = r0.fields["x"]; s.tmp_4 = r0; - r0 = (s.a___170744 * s.tmp_4); + r0 = (s.a___197360 * s.tmp_4); s.tmp_3 = r0; r0 = s.arg0.fields["p1"]; r0 = r0.fields["x"]; s.tmp_6 = r0; - r0 = (s.b___170748 * s.tmp_6); + r0 = (s.b___197364 * s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; r0 = s.arg0.fields["p2"]; r0 = r0.fields["x"]; s.tmp_8 = r0; - r0 = (s.c___170756 * s.tmp_8); + r0 = (s.c___197372 * s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_2 + s.tmp_7); s.tmp_1 = r0; r0 = s.arg0.fields["p3"]; r0 = r0.fields["x"]; s.tmp_10 = r0; - r0 = (s.d___170764 * s.tmp_10); + r0 = (s.d___197380 * s.tmp_10); s.tmp_9 = r0; r0 = (s.tmp_1 + s.tmp_9); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.x___170768 = (r0); + s.x___197384 = (r0); r0 = s.arg0.fields["p0"]; r0 = r0.fields["y"]; s.tmp_4 = r0; - r0 = (s.a___170744 * s.tmp_4); + r0 = (s.a___197360 * s.tmp_4); s.tmp_3 = r0; r0 = s.arg0.fields["p1"]; r0 = r0.fields["y"]; s.tmp_6 = r0; - r0 = (s.b___170748 * s.tmp_6); + r0 = (s.b___197364 * s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; r0 = s.arg0.fields["p2"]; r0 = r0.fields["y"]; s.tmp_8 = r0; - r0 = (s.c___170756 * s.tmp_8); + r0 = (s.c___197372 * s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_2 + s.tmp_7); s.tmp_1 = r0; r0 = s.arg0.fields["p3"]; r0 = r0.fields["y"]; s.tmp_10 = r0; - r0 = (s.d___170764 * s.tmp_10); + r0 = (s.d___197380 * s.tmp_10); s.tmp_9 = r0; r0 = (s.tmp_1 + s.tmp_9); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.y___170794 = (r0); - s.tmp_0 = Sprite_setPosition__P148026_mk(s); + s.y___197410 = (r0); + s.tmp_0 = Sprite_setPosition__P174642_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.x___170768; - s.tmp_0.arg2 = s.y___170794; + s.tmp_0.arg1 = s.x___197384; + s.tmp_0.arg2 = s.y___197410; s.callLocIdx = 1615; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -65815,12 +65858,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_CubicCurveTo_apply__P148850.info = {"start":15142,"length":590,"line":387,"column":8,"endLine":399,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} +animation_CubicCurveTo_apply__P175466.info = {"start":15142,"length":590,"line":387,"column":8,"endLine":399,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} -function animation_CubicCurveTo_apply__P148850_mk(s) { +function animation_CubicCurveTo_apply__P175466_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_CubicCurveTo_apply__P148850, depth: s.depth + 1, + parent: s, fn: animation_CubicCurveTo_apply__P175466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65833,14 +65876,14 @@ function animation_CubicCurveTo_apply__P148850_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - progress___170736: undefined, - diff___170740: undefined, - a___170744: undefined, - b___170748: undefined, - c___170756: undefined, - d___170764: undefined, - x___170768: undefined, - y___170794: undefined, + progress___197352: undefined, + diff___197356: undefined, + a___197360: undefined, + b___197364: undefined, + c___197372: undefined, + d___197380: undefined, + x___197384: undefined, + y___197410: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -65851,7 +65894,7 @@ function animation_CubicCurveTo_apply__P148850_mk(s) { -function animation_QuadraticCurveTo_apply__P148845(s) { +function animation_QuadraticCurveTo_apply__P175461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65861,13 +65904,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.progress___170828 = undefined; - s.diff___170832 = undefined; - s.a___170836 = undefined; - s.b___170840 = undefined; - s.c___170846 = undefined; - s.x___170850 = undefined; - s.y___170870 = undefined; + s.progress___197444 = undefined; + s.diff___197448 = undefined; + s.a___197452 = undefined; + s.b___197456 = undefined; + s.c___197462 = undefined; + s.x___197466 = undefined; + s.y___197486 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -65876,65 +65919,65 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_QuadraticCurveTo__C148843_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_QuadraticCurveTo__C175459_VT)) failedCast(r0); r0 = (s.arg2 / s.arg3); - s.progress___170828 = (r0); - r0 = (1 - s.progress___170828); - s.diff___170832 = (r0); - r0 = pxsim.Math_.pow(s.diff___170832, 2); - s.a___170836 = (r0); - r0 = (2 * s.diff___170832); - s.tmp_0 = r0; - r0 = (s.tmp_0 * s.progress___170828); - s.b___170840 = (r0); - r0 = pxsim.Math_.pow(s.progress___170828, 2); - s.c___170846 = (r0); + s.progress___197444 = (r0); + r0 = (1 - s.progress___197444); + s.diff___197448 = (r0); + r0 = pxsim.Math_.pow(s.diff___197448, 2); + s.a___197452 = (r0); + r0 = (2 * s.diff___197448); + s.tmp_0 = r0; + r0 = (s.tmp_0 * s.progress___197444); + s.b___197456 = (r0); + r0 = pxsim.Math_.pow(s.progress___197444, 2); + s.c___197462 = (r0); r0 = s.arg0.fields["p0"]; r0 = r0.fields["x"]; s.tmp_3 = r0; - r0 = (s.a___170836 * s.tmp_3); + r0 = (s.a___197452 * s.tmp_3); s.tmp_2 = r0; r0 = s.arg0.fields["p1"]; r0 = r0.fields["x"]; s.tmp_5 = r0; - r0 = (s.b___170840 * s.tmp_5); + r0 = (s.b___197456 * s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; r0 = s.arg0.fields["p2"]; r0 = r0.fields["x"]; s.tmp_7 = r0; - r0 = (s.c___170846 * s.tmp_7); + r0 = (s.c___197462 * s.tmp_7); s.tmp_6 = r0; r0 = (s.tmp_1 + s.tmp_6); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.x___170850 = (r0); + s.x___197466 = (r0); r0 = s.arg0.fields["p0"]; r0 = r0.fields["y"]; s.tmp_3 = r0; - r0 = (s.a___170836 * s.tmp_3); + r0 = (s.a___197452 * s.tmp_3); s.tmp_2 = r0; r0 = s.arg0.fields["p1"]; r0 = r0.fields["y"]; s.tmp_5 = r0; - r0 = (s.b___170840 * s.tmp_5); + r0 = (s.b___197456 * s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; r0 = s.arg0.fields["p2"]; r0 = r0.fields["y"]; s.tmp_7 = r0; - r0 = (s.c___170846 * s.tmp_7); + r0 = (s.c___197462 * s.tmp_7); s.tmp_6 = r0; r0 = (s.tmp_1 + s.tmp_6); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.y___170870 = (r0); - s.tmp_0 = Sprite_setPosition__P148026_mk(s); + s.y___197486 = (r0); + s.tmp_0 = Sprite_setPosition__P174642_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.x___170850; - s.tmp_0.arg2 = s.y___170870; + s.tmp_0.arg1 = s.x___197466; + s.tmp_0.arg2 = s.y___197486; s.callLocIdx = 1613; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -65942,12 +65985,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_QuadraticCurveTo_apply__P148845.info = {"start":14314,"length":489,"line":360,"column":8,"endLine":371,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} +animation_QuadraticCurveTo_apply__P175461.info = {"start":14314,"length":489,"line":360,"column":8,"endLine":371,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} -function animation_QuadraticCurveTo_apply__P148845_mk(s) { +function animation_QuadraticCurveTo_apply__P175461_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_QuadraticCurveTo_apply__P148845, depth: s.depth + 1, + parent: s, fn: animation_QuadraticCurveTo_apply__P175461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65957,13 +66000,13 @@ function animation_QuadraticCurveTo_apply__P148845_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - progress___170828: undefined, - diff___170832: undefined, - a___170836: undefined, - b___170840: undefined, - c___170846: undefined, - x___170850: undefined, - y___170870: undefined, + progress___197444: undefined, + diff___197448: undefined, + a___197452: undefined, + b___197456: undefined, + c___197462: undefined, + x___197466: undefined, + y___197486: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -65974,7 +66017,7 @@ function animation_QuadraticCurveTo_apply__P148845_mk(s) { -function animation_LineTo_apply__P148841(s) { +function animation_LineTo_apply__P175457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65984,8 +66027,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___170898 = undefined; - s.y___170918 = undefined; + s.x___197514 = undefined; + s.y___197534 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -65994,7 +66037,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_LineTo__C148839_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_LineTo__C175455_VT)) failedCast(r0); r0 = s.arg0.fields["p1"]; r0 = r0.fields["x"]; s.tmp_4 = r0; @@ -66013,7 +66056,7 @@ switch (step) { r0 = r0.fields["x"]; s.tmp_6 = r0; r0 = (s.tmp_0 + s.tmp_6); - s.x___170898 = (r0); + s.x___197514 = (r0); r0 = s.arg0.fields["p1"]; r0 = r0.fields["y"]; s.tmp_4 = r0; @@ -66032,11 +66075,11 @@ switch (step) { r0 = r0.fields["y"]; s.tmp_6 = r0; r0 = (s.tmp_0 + s.tmp_6); - s.y___170918 = (r0); - s.tmp_0 = Sprite_setPosition__P148026_mk(s); + s.y___197534 = (r0); + s.tmp_0 = Sprite_setPosition__P174642_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.x___170898; - s.tmp_0.arg2 = s.y___170918; + s.tmp_0.arg1 = s.x___197514; + s.tmp_0.arg2 = s.y___197534; s.callLocIdx = 1611; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -66044,12 +66087,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_LineTo_apply__P148841.info = {"start":13769,"length":298,"line":343,"column":8,"endLine":348,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} +animation_LineTo_apply__P175457.info = {"start":13769,"length":298,"line":343,"column":8,"endLine":348,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} -function animation_LineTo_apply__P148841_mk(s) { +function animation_LineTo_apply__P175457_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_LineTo_apply__P148841, depth: s.depth + 1, + parent: s, fn: animation_LineTo_apply__P175457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66058,8 +66101,8 @@ function animation_LineTo_apply__P148841_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - x___170898: undefined, - y___170918: undefined, + x___197514: undefined, + y___197534: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -66070,7 +66113,7 @@ function animation_LineTo_apply__P148841_mk(s) { -function animation_MoveTo_apply__P148837(s) { +function animation_MoveTo_apply__P175453(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66088,7 +66131,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_MoveTo__C148835_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_MoveTo__C175451_VT)) failedCast(r0); r0 = (s.arg2 >= s.arg3); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -66096,7 +66139,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = Sprite_setPosition__P148026_mk(s); + s.tmp_1 = Sprite_setPosition__P174642_mk(s); s.tmp_1.arg0 = s.arg1; r0 = s.arg0.fields["p1"]; r0 = r0.fields["x"]; @@ -66113,12 +66156,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_MoveTo_apply__P148837.info = {"start":13403,"length":147,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} +animation_MoveTo_apply__P175453.info = {"start":13403,"length":147,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"apply","argumentNames":["this","target","nodeTime","interval"]} -function animation_MoveTo_apply__P148837_mk(s) { +function animation_MoveTo_apply__P175453_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_MoveTo_apply__P148837, depth: s.depth + 1, + parent: s, fn: animation_MoveTo_apply__P175453, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66132,7 +66175,7 @@ function animation_MoveTo_apply__P148837_mk(s) { -function story_Bubble___drawCore__P149696(s) { +function story_Bubble___drawCore__P176312(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66142,27 +66185,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.page___170960 = undefined; - s.lines___170964 = undefined; - s.width___170981 = undefined; - s.height___170982 = undefined; - s.i___170983 = undefined; - s.left___171018 = undefined; - s.top___171019 = undefined; + s.page___197576 = undefined; + s.lines___197580 = undefined; + s.width___197597 = undefined; + s.height___197598 = undefined; + s.i___197599 = undefined; + s.left___197634 = undefined; + s.top___197635 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = s.arg0.fields["pages"]; s.tmp_0 = r0; r0 = s.arg0.fields["pageIndex"]; s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); - s.page___170960 = (r0); - r0 = pxsim_numops_toBoolDecr(s.page___170960); + s.page___197576 = (r0); + r0 = pxsim_numops_toBoolDecr(s.page___197576); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -66171,8 +66214,8 @@ switch (step) { { step = 49; continue; } case 1: case 2: - s.tmp_2 = helpers_arraySlice__P146048_mk(s); - r0 = s.page___170960.fields["lines"]; + s.tmp_2 = helpers_arraySlice__P172664_mk(s); + r0 = s.page___197576.fields["lines"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; r0 = s.arg0.fields["lineIndex"]; @@ -66180,8 +66223,8 @@ switch (step) { s.callLocIdx = 1660; s.pc = 50; return s.tmp_2; case 50: r0 = s.retval; - s.lines___170964 = (r0); - s.tmp_1 = story_Bubble_currentLine__P152422_mk(s); + s.lines___197580 = (r0); + s.tmp_1 = story_Bubble_currentLine__P179038_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1661; s.pc = 51; return s.tmp_1; case 51: @@ -66189,9 +66232,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = r0 = s.lines___170964; - s.tmp_4 = story_getPartialLine__P152431_mk(s); - s.tmp_5 = story_Bubble_currentLine__P152422_mk(s); + s.tmp_2 = r0 = s.lines___197580; + s.tmp_4 = story_getPartialLine__P179047_mk(s); + s.tmp_5 = story_Bubble_currentLine__P179038_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 1662; s.pc = 53; return s.tmp_5; case 53: @@ -66208,50 +66251,50 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_2, s.tmp_3); case 3: case 4: - s.width___170981 = (20); - s.height___170982 = (0); - s.i___170983 = (0); + s.width___197597 = (20); + s.height___197598 = (0); + s.i___197599 = (0); case 5: - s.tmp_1 = r0 = s.i___170983; - r0 = pxsim_Array__length(s.lines___170964); + s.tmp_1 = r0 = s.i___197599; + r0 = pxsim_Array__length(s.lines___197580); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_3 = r0 = s.height___170982; - r0 = pxsim_Array__getAt(s.lines___170964, s.i___170983); + s.tmp_3 = r0 = s.height___197598; + r0 = pxsim_Array__getAt(s.lines___197580, s.i___197599); r0 = r0.fields["height"]; s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); - s.height___170982 = (r0); - s.tmp_0 = Math_max__P146062_mk(s); - s.tmp_0.arg0 = s.width___170981; - r0 = pxsim_Array__getAt(s.lines___170964, s.i___170983); + s.height___197598 = (r0); + s.tmp_0 = Math_max__P172678_mk(s); + s.tmp_0.arg0 = s.width___197597; + r0 = pxsim_Array__getAt(s.lines___197580, s.i___197599); r0 = r0.fields["width"]; s.tmp_0.arg1 = r0; s.callLocIdx = 1664; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.width___170981 = (r0); - r0 = (s.i___170983 + 1); - s.i___170983 = (r0); + s.width___197597 = (r0); + r0 = (s.i___197599 + 1); + s.i___197599 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = r0 = s.height___170982; + s.tmp_0 = r0 = s.height___197598; r0 = s.arg0.fields["padding"]; s.tmp_2 = r0; r0 = (s.tmp_2 << 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___170982 = (r0); - s.tmp_0 = r0 = s.width___170981; + s.height___197598 = (r0); + s.tmp_0 = r0 = s.width___197597; r0 = s.arg0.fields["padding"]; s.tmp_2 = r0; r0 = (s.tmp_2 << 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___170981 = (r0); + s.width___197597 = (r0); r0 = s.arg0.fields["leftAlign"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -66261,7 +66304,7 @@ switch (step) { r0 = s.arg0.fields["padding"]; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.left___171018 = (r0); + s.left___197634 = (r0); { step = 18; continue; } case 7: r0 = s.arg0.fields["relativeToCamera"]; @@ -66277,23 +66320,23 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["cx"]; s.tmp_3 = r0; - r0 = (s.width___170981 >> 1); + r0 = (s.width___197597 >> 1); s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.left___171018 = (r0); - r0 = (s.left___171018 + s.width___170981); + s.left___197634 = (r0); + r0 = (s.left___197634 + s.width___197597); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); 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 = (s.left___171018 + s.width___170981); + r0 = (s.left___197634 + s.width___197597); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -66301,30 +66344,30 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - r0 = (s.left___171018 - 30); - s.left___171018 = (r0); + r0 = (s.left___197634 - 30); + s.left___197634 = (r0); { step = 11; continue; } case 10: - r0 = pxsim_ImageMethods.width(globals.screen___147749); + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.width___170981); - s.left___171018 = (r0); + r0 = (s.tmp_0 - s.width___197597); + s.left___197634 = (r0); case 11: { step = 17; continue; } case 12: - r0 = (s.left___171018 < 0); + r0 = (s.left___197634 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.left___171018 < -30); + r0 = (s.left___197634 < -30); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - r0 = (s.left___171018 + 30); - s.left___171018 = (r0); + r0 = (s.left___197634 + 30); + s.left___197634 = (r0); { step = 14; continue; } case 13: - s.left___171018 = (0); + s.left___197634 = (0); case 14: case 15: case 16: @@ -66339,7 +66382,7 @@ switch (step) { r0 = s.arg0.fields["padding"]; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.top___171019 = (r0); + s.top___197635 = (r0); { step = 34; continue; } case 19: r0 = s.arg0.fields["relativeToCamera"]; @@ -66355,22 +66398,22 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["cy"]; s.tmp_3 = r0; - r0 = (s.height___170982 >> 1); + r0 = (s.height___197598 >> 1); s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.top___171019 = (r0); - r0 = pxsim_Array__length(s.lines___170964); + s.top___197635 = (r0); + r0 = pxsim_Array__length(s.lines___197580); s.tmp_1 = r0; r0 = (s.tmp_1 > 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.i___170983 = (0); + s.i___197599 = (0); case 22: - s.tmp_1 = r0 = s.i___170983; - r0 = pxsim_Array__length(s.lines___170964); + s.tmp_1 = r0 = s.i___197599; + r0 = pxsim_Array__length(s.lines___197580); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -66378,31 +66421,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = r0 = s.top___171019; - r0 = pxsim_Array__getAt(s.lines___170964, s.i___170983); + s.tmp_4 = r0 = s.top___197635; + r0 = pxsim_Array__getAt(s.lines___197580, s.i___197599); r0 = r0.fields["height"]; s.tmp_6 = r0; r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_4 - s.tmp_5); - s.top___171019 = (r0); - r0 = (s.i___170983 + 1); - s.i___170983 = (r0); + s.top___197635 = (r0); + r0 = (s.i___197599 + 1); + s.i___197599 = (r0); { step = 22; continue; } case 23: case 24: case 25: - r0 = (s.top___171019 + s.height___170982); + r0 = (s.top___197635 + s.height___197598); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); 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 = 28; continue; } - r0 = (s.top___171019 + s.height___170982); + r0 = (s.top___197635 + s.height___197598); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -66410,37 +66453,37 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 26; continue; } - r0 = (s.top___171019 - 30); - s.top___171019 = (r0); + r0 = (s.top___197635 - 30); + s.top___197635 = (r0); { step = 27; continue; } case 26: - r0 = pxsim_ImageMethods.height(globals.screen___147749); + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.height___170982); - s.top___171019 = (r0); + r0 = (s.tmp_0 - s.height___197598); + s.top___197635 = (r0); case 27: { step = 33; continue; } case 28: - r0 = (s.top___171019 < 0); + r0 = (s.top___197635 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = (s.top___171019 < -30); + r0 = (s.top___197635 < -30); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - r0 = (s.top___171019 + 30); - s.top___171019 = (r0); + r0 = (s.top___197635 + 30); + s.top___197635 = (r0); { step = 30; continue; } case 29: - s.top___171019 = (0); + s.top___197635 = (0); case 30: case 31: case 32: case 33: case 34: - s.tmp_1 = r0 = s.top___171019; - r0 = pxsim_ImageMethods.height(globals.screen___147749); + s.tmp_1 = r0 = s.top___197635; + r0 = pxsim_ImageMethods.height(globals.screen___174365); s.tmp_2 = r0; r0 = (s.tmp_1 > s.tmp_2); s.tmp_0 = r0; @@ -66449,7 +66492,7 @@ switch (step) { r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = (s.top___171019 + s.height___170982); + r0 = (s.top___197635 + s.height___197598); s.tmp_3 = r0; r0 = (s.tmp_3 < 0); case 36: @@ -66460,8 +66503,8 @@ switch (step) { r0 = s.tmp_4; { step = 38; continue; } case 37: - s.tmp_5 = r0 = s.left___171018; - r0 = pxsim_ImageMethods.width(globals.screen___147749); + s.tmp_5 = r0 = s.left___197634; + r0 = pxsim_ImageMethods.width(globals.screen___174365); s.tmp_6 = r0; r0 = (s.tmp_5 > s.tmp_6); case 38: @@ -66472,7 +66515,7 @@ switch (step) { r0 = s.tmp_7; { step = 40; continue; } case 39: - r0 = (s.left___171018 + s.width___170981); + r0 = (s.left___197634 + s.width___197597); s.tmp_8 = r0; r0 = (s.tmp_8 < 0); case 40: @@ -66487,12 +66530,12 @@ switch (step) { s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); if (!r0) { step = 43; continue; } - s.tmp_11 = helpers_imageFillRect__P147675_mk(s); - s.tmp_11.arg0 = globals.screen___147749; - s.tmp_11.arg1 = s.left___171018; - s.tmp_11.arg2 = s.top___171019; - s.tmp_11.arg3 = s.width___170981; - s.tmp_11.arg4 = s.height___170982; + s.tmp_11 = helpers_imageFillRect__P174291_mk(s); + s.tmp_11.arg0 = globals.screen___174365; + s.tmp_11.arg1 = s.left___197634; + s.tmp_11.arg2 = s.top___197635; + s.tmp_11.arg3 = s.width___197597; + s.tmp_11.arg4 = s.height___197598; r0 = s.arg0.fields["backgroundColor"]; s.tmp_11.arg5 = r0; s.callLocIdx = 1665; s.pc = 55; return s.tmp_11; @@ -66502,12 +66545,12 @@ switch (step) { case 44: r0 = s.arg0.fields["padding"]; s.tmp_0 = r0; - r0 = (s.top___171019 + s.tmp_0); - s.top___171019 = (r0); - s.i___170983 = (0); + r0 = (s.top___197635 + s.tmp_0); + s.top___197635 = (r0); + s.i___197599 = (0); case 45: - s.tmp_1 = r0 = s.i___170983; - r0 = pxsim_Array__length(s.lines___170964); + s.tmp_1 = r0 = s.i___197599; + r0 = pxsim_Array__length(s.lines___197580); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; @@ -66517,9 +66560,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 46; continue; } - r0 = (s.width___170981 >> 1); + r0 = (s.width___197597 >> 1); s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.lines___170964, s.i___170983); + r0 = pxsim_Array__getAt(s.lines___197580, s.i___197599); r0 = r0.fields["width"]; s.tmp_6 = r0; r0 = (s.tmp_6 >> 1); @@ -66531,24 +66574,24 @@ switch (step) { case 47: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = story_Bubble_drawLine__P152430_mk(s); + s.tmp_8 = story_Bubble_drawLine__P179046_mk(s); s.tmp_8.arg0 = s.arg0; - r0 = (s.left___171018 + s.tmp_7); + r0 = (s.left___197634 + s.tmp_7); s.tmp_8.arg1 = r0; - s.tmp_8.arg2 = s.top___171019; - r0 = pxsim_Array__getAt(s.lines___170964, s.i___170983); + s.tmp_8.arg2 = s.top___197635; + r0 = pxsim_Array__getAt(s.lines___197580, s.i___197599); s.tmp_8.arg3 = r0; s.callLocIdx = 1666; s.pc = 56; return s.tmp_8; case 56: r0 = s.retval; - s.tmp_0 = r0 = s.top___171019; - r0 = pxsim_Array__getAt(s.lines___170964, s.i___170983); + s.tmp_0 = r0 = s.top___197635; + r0 = pxsim_Array__getAt(s.lines___197580, s.i___197599); r0 = r0.fields["height"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.top___171019 = (r0); - r0 = (s.i___170983 + 1); - s.i___170983 = (r0); + s.top___197635 = (r0); + r0 = (s.i___197599 + 1); + s.i___197599 = (r0); { step = 45; continue; } case 48: case 49: @@ -66556,12 +66599,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble___drawCore__P149696.info = {"start":3128,"length":3060,"line":124,"column":8,"endLine":215,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +story_Bubble___drawCore__P176312.info = {"start":3128,"length":3060,"line":124,"column":8,"endLine":215,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function story_Bubble___drawCore__P149696_mk(s) { +function story_Bubble___drawCore__P176312_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble___drawCore__P149696, depth: s.depth + 1, + parent: s, fn: story_Bubble___drawCore__P176312, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66575,13 +66618,13 @@ function story_Bubble___drawCore__P149696_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - page___170960: undefined, - lines___170964: undefined, - width___170981: undefined, - height___170982: undefined, - i___170983: undefined, - left___171018: undefined, - top___171019: undefined, + page___197576: undefined, + lines___197580: undefined, + width___197597: undefined, + height___197598: undefined, + i___197599: undefined, + left___197634: undefined, + top___197635: undefined, arg0: undefined, arg1: undefined, } } @@ -66590,7 +66633,7 @@ function story_Bubble___drawCore__P149696_mk(s) { -function story_getPartialLine__P152431(s) { +function story_getPartialLine__P179047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66600,14 +66643,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.parts___171260 = undefined; + s.parts___197876 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySlice__P146048_mk(s); + s.tmp_0 = helpers_arraySlice__P172664_mk(s); r0 = s.arg0.fields["parts"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; @@ -66615,9 +66658,9 @@ switch (step) { s.callLocIdx = 1695; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.parts___171260 = (r0); - s.tmp_0 = r0 = s.parts___171260; - s.tmp_2 = story_MessagePart_substring__P149676_mk(s); + s.parts___197876 = (r0); + s.tmp_0 = r0 = s.parts___197876; + s.tmp_2 = story_MessagePart_substring__P176292_mk(s); r0 = s.arg0.fields["parts"]; s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.arg1); @@ -66628,11 +66671,11 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(story_MessageLine__C149677_VT); + r0 = pxsim_pxtcore_mkClassInstance(story_MessageLine__C176293_VT); s.tmp_0 = r0; - s.tmp_1 = story_MessageLine_constructor__P149681_mk(s); + s.tmp_1 = story_MessageLine_constructor__P176297_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.parts___171260; + s.tmp_1.arg1 = s.parts___197876; s.callLocIdx = 1697; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -66640,18 +66683,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_getPartialLine__P152431.info = {"start":10316,"length":235,"line":362,"column":4,"endLine":366,"endColumn":5,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"getPartialLine","argumentNames":["line","partIndex","tick"]} +story_getPartialLine__P179047.info = {"start":10316,"length":235,"line":362,"column":4,"endLine":366,"endColumn":5,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"getPartialLine","argumentNames":["line","partIndex","tick"]} -function story_getPartialLine__P152431_mk(s) { +function story_getPartialLine__P179047_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_getPartialLine__P152431, depth: s.depth + 1, + parent: s, fn: story_getPartialLine__P179047, 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, - parts___171260: undefined, + parts___197876: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -66661,7 +66704,7 @@ function story_getPartialLine__P152431_mk(s) { -function story_MessagePart_substring__P149676(s) { +function story_MessagePart_substring__P176292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66677,12 +66720,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_MessagePart__C149670_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(story_MessagePart__C149670_VT); + if (!checkSubtype(r0, story_MessagePart__C176286_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(story_MessagePart__C176286_VT); s.tmp_0 = r0; - s.tmp_1 = story_MessagePart_constructor__P149675_mk(s); + s.tmp_1 = story_MessagePart_constructor__P176291_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_2 = helpers_stringSubstr__P146051_mk(s); + s.tmp_2 = helpers_stringSubstr__P172667_mk(s); r0 = s.arg0.fields["text"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; @@ -66700,12 +66743,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_MessagePart_substring__P149676.info = {"start":517,"length":123,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"substring","argumentNames":["this","length"]} +story_MessagePart_substring__P176292.info = {"start":517,"length":123,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"substring","argumentNames":["this","length"]} -function story_MessagePart_substring__P149676_mk(s) { +function story_MessagePart_substring__P176292_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_MessagePart_substring__P149676, depth: s.depth + 1, + parent: s, fn: story_MessagePart_substring__P176292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66718,7 +66761,7 @@ function story_MessagePart_substring__P149676_mk(s) { -function story_Bubble_drawLine__P152430(s) { +function story_Bubble_drawLine__P179046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66728,9 +66771,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___171221 = undefined; - s.unnamed1070___U1 = undefined; - s.unnamed1071___U2 = undefined; + s.p___197837 = undefined; + s.unnamed1178___U1 = undefined; + s.unnamed1179___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -66739,54 +66782,54 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); - s.p___171221 = (undefined); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); + s.p___197837 = (undefined); r0 = s.arg3.fields["parts"]; - s.unnamed1070___U1 = (r0); - s.unnamed1071___U2 = (0); + s.unnamed1178___U1 = (r0); + s.unnamed1179___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1071___U2; - r0 = pxsim_Array__length(s.unnamed1070___U1); + s.tmp_0 = r0 = s.unnamed1179___U2; + r0 = pxsim_Array__length(s.unnamed1178___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1070___U1, s.unnamed1071___U2); - s.p___171221 = (r0); - s.tmp_2 = story_Bubble_drawPart__P152429_mk(s); + r0 = pxsim_Array__getAt(s.unnamed1178___U1, s.unnamed1179___U2); + s.p___197837 = (r0); + s.tmp_2 = story_Bubble_drawPart__P179045_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.tmp_2.arg3 = s.p___171221; + s.tmp_2.arg3 = s.p___197837; s.tmp_2.arg4 = undefined; s.callLocIdx = 1694; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = s.p___171221.fields["width"]; + r0 = s.p___197837.fields["width"]; s.tmp_0 = r0; r0 = (s.arg1 + s.tmp_0); s.arg1 = (r0); - r0 = (s.unnamed1071___U2 + 1); - s.unnamed1071___U2 = (r0); + r0 = (s.unnamed1179___U2 + 1); + s.unnamed1179___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1070___U1 = (undefined); + s.unnamed1178___U1 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -story_Bubble_drawLine__P152430.info = {"start":10094,"length":210,"line":354,"column":8,"endLine":359,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"drawLine","argumentNames":["this","left","top","line"]} +story_Bubble_drawLine__P179046.info = {"start":10094,"length":210,"line":354,"column":8,"endLine":359,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"drawLine","argumentNames":["this","left","top","line"]} -function story_Bubble_drawLine__P152430_mk(s) { +function story_Bubble_drawLine__P179046_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_drawLine__P152430, depth: s.depth + 1, + parent: s, fn: story_Bubble_drawLine__P179046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___171221: undefined, - unnamed1070___U1: undefined, - unnamed1071___U2: undefined, + p___197837: undefined, + unnamed1178___U1: undefined, + unnamed1179___U2: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -66797,7 +66840,7 @@ function story_Bubble_drawLine__P152430_mk(s) { -function story_Bubble_drawPart__P152429(s) { +function story_Bubble_drawPart__P179045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66807,7 +66850,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___171239 = undefined; + s.text___197855 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -66817,10 +66860,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_Bubble__C149686_VT)) failedCast(r0); + if (!checkSubtype(r0, story_Bubble__C176302_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg4); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_stringSubstr__P146051_mk(s); + s.tmp_0 = helpers_stringSubstr__P172667_mk(s); r0 = s.arg3.fields["text"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; @@ -66834,10 +66877,10 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.text___171239 = (s.tmp_1); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_0.arg1 = s.text___171239; + s.text___197855 = (s.tmp_1); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_0.arg1 = s.text___197855; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; r0 = s.arg0.fields["foregroundColor"]; @@ -66851,16 +66894,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_Bubble_drawPart__P152429.info = {"start":9852,"length":232,"line":349,"column":8,"endLine":352,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"drawPart","argumentNames":["this","left","top","part","length"]} +story_Bubble_drawPart__P179045.info = {"start":9852,"length":232,"line":349,"column":8,"endLine":352,"endColumn":9,"fileName":"pxt_modules/arcade-story/message.ts","functionName":"drawPart","argumentNames":["this","left","top","part","length"]} -function story_Bubble_drawPart__P152429_mk(s) { +function story_Bubble_drawPart__P179045_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_Bubble_drawPart__P152429, depth: s.depth + 1, + parent: s, fn: story_Bubble_drawPart__P179045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - text___171239: undefined, + text___197855: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -66872,7 +66915,7 @@ function story_Bubble_drawPart__P152429_mk(s) { -function story_ShapeSprite___drawCore__P149791(s) { +function story_ShapeSprite___drawCore__P176407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66888,8 +66931,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_ShapeSprite__C149782_VT)) failedCast(r0); - s.tmp_0 = story_ShapeSprite__C149782_v4_4_mk(s); + if (!checkSubtype(r0, story_ShapeSprite__C176398_VT)) failedCast(r0); + s.tmp_0 = story_ShapeSprite__C176398_v4_4_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["left"]; s.tmp_0.arg1 = r0; @@ -66897,7 +66940,7 @@ switch (step) { s.tmp_0.arg2 = r0; r0 = s.arg0.fields["color"]; s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, story_ShapeSprite__C149782_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, story_ShapeSprite__C176398_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawShape; s.pc = 1; return s.tmp_0; case 1: @@ -66906,12 +66949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_ShapeSprite___drawCore__P149791.info = {"start":702,"length":105,"line":29,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +story_ShapeSprite___drawCore__P176407.info = {"start":702,"length":105,"line":29,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function story_ShapeSprite___drawCore__P149791_mk(s) { +function story_ShapeSprite___drawCore__P176407_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_ShapeSprite___drawCore__P149791, depth: s.depth + 1, + parent: s, fn: story_ShapeSprite___drawCore__P176407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -66922,7 +66965,7 @@ function story_ShapeSprite___drawCore__P149791_mk(s) { -function story_ShapeSprite_drawShape__P152452(s) { +function story_ShapeSprite_drawShape__P179068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66940,17 +66983,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_ShapeSprite__C149782_VT)) failedCast(r0); + if (!checkSubtype(r0, story_ShapeSprite__C176398_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -story_ShapeSprite_drawShape__P152452.info = {"start":982,"length":97,"line":39,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"drawShape","argumentNames":["this","left","top","color"]} +story_ShapeSprite_drawShape__P179068.info = {"start":982,"length":97,"line":39,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"drawShape","argumentNames":["this","left","top","color"]} -function story_ShapeSprite_drawShape__P152452_mk(s) { +function story_ShapeSprite_drawShape__P179068_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_ShapeSprite_drawShape__P152452, depth: s.depth + 1, + parent: s, fn: story_ShapeSprite_drawShape__P179068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -66962,7 +67005,7 @@ function story_ShapeSprite_drawShape__P152452_mk(s) { -function particles_ShapeFactory_drawParticle__P148695(s) { +function particles_ShapeFactory_drawParticle__P175311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66972,7 +67015,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___171304 = undefined; + s.pImage___197920 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -66981,8 +67024,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C148692_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P148543_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C175308_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P175159_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -66992,12 +67035,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___171304 = (r0); + s.pImage___197920 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___171304, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___147749; - s.tmp_1 = r0 = s.pImage___171304; + r0 = pxsim_ImageMethods.replace(s.pImage___197920, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___174365; + s.tmp_1 = r0 = s.pImage___197920; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -67019,12 +67062,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P148695.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__P175311.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__P148695_mk(s) { +function particles_ShapeFactory_drawParticle__P175311_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P148695, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P175311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67036,7 +67079,7 @@ function particles_ShapeFactory_drawParticle__P148695_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___171304: undefined, + pImage___197920: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -67047,7 +67090,7 @@ function particles_ShapeFactory_drawParticle__P148695_mk(s) { -function Math_FastRandom_pickRandom__P148543(s) { +function Math_FastRandom_pickRandom__P175159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67063,7 +67106,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C148538_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C175154_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -67086,7 +67129,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P148542_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P175158_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -67102,12 +67145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P148543.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__P175159.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__P148543_mk(s) { +function Math_FastRandom_pickRandom__P175159_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P148543, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P175159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67125,7 +67168,7 @@ function Math_FastRandom_pickRandom__P148543_mk(s) { -function particles_AreaFactory_drawParticle__P148683(s) { +function particles_AreaFactory_drawParticle__P175299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67135,7 +67178,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___171350 = undefined; + s.col___197966 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -67144,7 +67187,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C148676_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C175292_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -67171,8 +67214,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___171350 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___147749; + s.col___197966 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___174365; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -67181,17 +67224,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___171350); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___197966); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P148683.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__P175299.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__P148683_mk(s) { +function particles_AreaFactory_drawParticle__P175299_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P148683, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P175299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67199,7 +67242,7 @@ function particles_AreaFactory_drawParticle__P148683_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___171350: undefined, + col___197966: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -67210,7 +67253,7 @@ function particles_AreaFactory_drawParticle__P148683_mk(s) { -function particles_SprayFactory_drawParticle__P148673(s) { +function particles_SprayFactory_drawParticle__P175289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67228,8 +67271,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C148670_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___147749; + if (!checkSubtype(r0, particles_SprayFactory__C175286_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___174365; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -67243,12 +67286,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P148673.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__P175289.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__P148673_mk(s) { +function particles_SprayFactory_drawParticle__P175289_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P148673, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P175289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67265,7 +67308,7 @@ function particles_SprayFactory_drawParticle__P148673_mk(s) { -function scene_Renderable___drawCore__P148333(s) { +function scene_Renderable___drawCore__P174949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67281,10 +67324,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C148330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C174946_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___147749; + s.tmp_0.arg1 = globals.screen___174365; 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); @@ -67301,12 +67344,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P148333.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__P174949.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__P148333_mk(s) { +function scene_Renderable___drawCore__P174949_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P148333, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P174949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -67317,7 +67360,7 @@ function scene_Renderable___drawCore__P148333_mk(s) { -function scene_Renderable___visible__P148332(s) { +function scene_Renderable___visible__P174948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67332,7 +67375,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C148330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C174946_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -67349,12 +67392,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P148332.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__P174948.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__P148332_mk(s) { +function scene_Renderable___visible__P174948_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P148332, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P174948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -67364,7 +67407,7 @@ function scene_Renderable___visible__P148332_mk(s) { -function scene_Camera_top__P148325(s) { +function scene_Camera_top__P174941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67379,18 +67422,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C148312_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P148325.info = {"start":1638,"length":58,"line":58,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} -scene_Camera_top__P148325.isGetter = true; +scene_Camera_top__P174941.info = {"start":1638,"length":58,"line":58,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} +scene_Camera_top__P174941.isGetter = true; -function scene_Camera_top__P148325_mk(s) { +function scene_Camera_top__P174941_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P148325, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P174941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -67399,7 +67442,7 @@ function scene_Camera_top__P148325_mk(s) { -function scene_Camera_left__P148323(s) { +function scene_Camera_left__P174939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67414,18 +67457,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C148312_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C174928_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P148323.info = {"start":1486,"length":59,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} -scene_Camera_left__P148323.isGetter = true; +scene_Camera_left__P174939.info = {"start":1486,"length":59,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} +scene_Camera_left__P174939.isGetter = true; -function scene_Camera_left__P148323_mk(s) { +function scene_Camera_left__P174939_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P148323, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P174939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -67434,7 +67477,7 @@ function scene_Camera_left__P148323_mk(s) { -function story_menu_MenuSprite___drawCore__P149842(s) { +function story_menu_MenuSprite___drawCore__P176458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67450,13 +67493,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["background"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_imageFillRect__P147675_mk(s); - s.tmp_1.arg0 = globals.screen___147749; + s.tmp_1 = helpers_imageFillRect__P174291_mk(s); + s.tmp_1.arg0 = globals.screen___174365; r0 = s.arg0.fields["metrics"]; r0 = r0.fields["left"]; s.tmp_1.arg1 = r0; @@ -67466,11 +67509,11 @@ switch (step) { r0 = s.arg0.fields["metrics"]; r0 = r0.fields["width"]; s.tmp_1.arg3 = r0; - s.tmp_2 = Math_min__P146063_mk(s); + s.tmp_2 = Math_min__P172679_mk(s); r0 = s.arg0.fields["metrics"]; r0 = r0.fields["height"]; s.tmp_2.arg0 = r0; - s.tmp_4 = story_menu_MenuSprite_contentHeight__P152466_mk(s); + s.tmp_4 = story_menu_MenuSprite_contentHeight__P179082_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1864; s.pc = 7; return s.tmp_4; case 7: @@ -67497,14 +67540,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = story_menu_MenuSprite_drawGridMenu__P152467_mk(s); + s.tmp_2 = story_menu_MenuSprite_drawGridMenu__P179083_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1867; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = story_menu_MenuSprite_drawListMenu__P152468_mk(s); + s.tmp_0 = story_menu_MenuSprite_drawListMenu__P179084_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1868; s.pc = 9; return s.tmp_0; case 9: @@ -67514,12 +67557,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_menu_MenuSprite___drawCore__P149842.info = {"start":6066,"length":627,"line":207,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +story_menu_MenuSprite___drawCore__P176458.info = {"start":6066,"length":627,"line":207,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function story_menu_MenuSprite___drawCore__P149842_mk(s) { +function story_menu_MenuSprite___drawCore__P176458_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite___drawCore__P149842, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite___drawCore__P176458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67535,7 +67578,7 @@ function story_menu_MenuSprite___drawCore__P149842_mk(s) { -function story_menu_MenuSprite_drawListMenu__P152468(s) { +function story_menu_MenuSprite_drawListMenu__P179084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67545,33 +67588,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___171423 = undefined; - s.top___171424 = undefined; - s.left___171431 = undefined; - s.i___171438 = undefined; + s.current___198039 = undefined; + s.top___198040 = undefined; + s.left___198047 = undefined; + s.i___198054 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["metrics"]; r0 = r0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["padding"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.top___171424 = (r0); + s.top___198040 = (r0); r0 = s.arg0.fields["metrics"]; r0 = r0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["padding"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.left___171431 = (r0); - s.i___171438 = (0); + s.left___198047 = (r0); + s.i___198054 = (0); case 1: - s.tmp_1 = r0 = s.i___171438; + s.tmp_1 = r0 = s.i___198054; r0 = s.arg0.fields["labels"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -67582,26 +67625,26 @@ switch (step) { if (!r0) { step = 4; continue; } r0 = s.arg0.fields["labels"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.i___171438); - s.current___171423 = (r0); + r0 = pxsim_Array__getAt(s.tmp_4, s.i___198054); + s.current___198039 = (r0); r0 = s.arg0.fields["selectedIndex"]; s.tmp_1 = r0; - r0 = (s.i___171438 === s.tmp_1); + r0 = (s.i___198054 === s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_2 = helpers_imageFillRect__P147675_mk(s); - s.tmp_2.arg0 = globals.screen___147749; - r0 = (s.left___171431 - 1); + s.tmp_2 = helpers_imageFillRect__P174291_mk(s); + s.tmp_2.arg0 = globals.screen___174365; + r0 = (s.left___198047 - 1); s.tmp_2.arg1 = r0; - r0 = (s.top___171424 - 1); + r0 = (s.top___198040 - 1); s.tmp_2.arg2 = r0; - r0 = s.current___171423.fields["width"]; + r0 = s.current___198039.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_2.arg3 = r0; s.tmp_5 = if_charHeight_1_mk(s); - r0 = s.current___171423.fields["font"]; + r0 = s.current___198039.fields["font"]; s.tmp_5.arg0 = r0; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); @@ -67621,10 +67664,10 @@ switch (step) { s.callLocIdx = 1880; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = story_menu_ScrollingLabel_draw__P152471_mk(s); - s.tmp_0.arg0 = s.current___171423; - s.tmp_0.arg1 = s.left___171431; - s.tmp_0.arg2 = s.top___171424; + s.tmp_0 = story_menu_ScrollingLabel_draw__P179087_mk(s); + s.tmp_0.arg0 = s.current___198039; + s.tmp_0.arg1 = s.left___198047; + s.tmp_0.arg2 = s.top___198040; r0 = s.arg0.fields["cursorForeground"]; s.tmp_0.arg3 = r0; s.callLocIdx = 1881; s.pc = 7; return s.tmp_0; @@ -67632,19 +67675,19 @@ switch (step) { r0 = s.retval; { step = 3; continue; } case 2: - s.tmp_0 = story_menu_ScrollingLabel_draw__P152471_mk(s); - s.tmp_0.arg0 = s.current___171423; - s.tmp_0.arg1 = s.left___171431; - s.tmp_0.arg2 = s.top___171424; + s.tmp_0 = story_menu_ScrollingLabel_draw__P179087_mk(s); + s.tmp_0.arg0 = s.current___198039; + s.tmp_0.arg1 = s.left___198047; + s.tmp_0.arg2 = s.top___198040; r0 = s.arg0.fields["foreground"]; s.tmp_0.arg3 = r0; s.callLocIdx = 1882; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 3: - s.tmp_0 = r0 = s.top___171424; + s.tmp_0 = r0 = s.top___198040; s.tmp_3 = if_charHeight_1_mk(s); - r0 = s.current___171423.fields["font"]; + r0 = s.current___198039.fields["font"]; s.tmp_3.arg0 = r0; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); @@ -67662,21 +67705,21 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.top___171424 = (r0); - r0 = (s.i___171438 + 1); - s.i___171438 = (r0); + s.top___198040 = (r0); + r0 = (s.i___198054 + 1); + s.i___198054 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_drawListMenu__P152468.info = {"start":8535,"length":733,"line":285,"column":8,"endLine":303,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"drawListMenu","argumentNames":["this"]} +story_menu_MenuSprite_drawListMenu__P179084.info = {"start":8535,"length":733,"line":285,"column":8,"endLine":303,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"drawListMenu","argumentNames":["this"]} -function story_menu_MenuSprite_drawListMenu__P152468_mk(s) { +function story_menu_MenuSprite_drawListMenu__P179084_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_drawListMenu__P152468, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_drawListMenu__P179084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67684,10 +67727,10 @@ function story_menu_MenuSprite_drawListMenu__P152468_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - current___171423: undefined, - top___171424: undefined, - left___171431: undefined, - i___171438: undefined, + current___198039: undefined, + top___198040: undefined, + left___198047: undefined, + i___198054: undefined, arg0: undefined, } } @@ -67695,7 +67738,7 @@ function story_menu_MenuSprite_drawListMenu__P152468_mk(s) { -function story_menu_ScrollingLabel_draw__P152471(s) { +function story_menu_ScrollingLabel_draw__P179087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67705,9 +67748,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.startIndex___171497 = undefined; - s.letterOffset___171505 = undefined; - s.i___171612 = undefined; + s.startIndex___198113 = undefined; + s.letterOffset___198121 = undefined; + s.i___198228 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -67716,7 +67759,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_ScrollingLabel__C152469_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_ScrollingLabel__C179085_VT)) failedCast(r0); r0 = s.arg0.fields["offset"]; s.tmp_0 = r0; s.tmp_2 = if_charWidth_1_mk(s); @@ -67734,8 +67777,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.startIndex___171497 = (r0); - s.tmp_1 = r0 = s.startIndex___171497; + s.startIndex___198113 = (r0); + s.tmp_1 = r0 = s.startIndex___198113; s.tmp_3 = if_charWidth_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_3.arg0 = r0; @@ -67755,7 +67798,7 @@ switch (step) { r0 = s.arg0.fields["offset"]; s.tmp_4 = r0; r0 = (s.tmp_0 - s.tmp_4); - s.letterOffset___171505 = (r0); + s.letterOffset___198121 = (r0); r0 = s.arg0.fields["scrolling"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -67794,7 +67837,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3).fields["stage"] = (s.tmp_4); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P146062_mk(s); + s.tmp_2 = Math_max__P172678_mk(s); r0 = s.arg0.fields["maxOffset"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; @@ -67823,7 +67866,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } s.tmp_2 = r0 = s.arg0; - s.tmp_4 = Math_max__P146062_mk(s); + s.tmp_4 = Math_max__P172678_mk(s); r0 = s.arg0.fields["maxOffset"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -67838,7 +67881,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; - s.tmp_4 = game_currentScene__P148484_mk(s); + s.tmp_4 = game_currentScene__P175100_mk(s); s.callLocIdx = 1894; s.pc = 21; return s.tmp_4; case 21: r0 = s.retval; @@ -67869,19 +67912,19 @@ switch (step) { case 10: case 11: case 12: - r0 = pxsim_numops_toBoolDecr(s.letterOffset___171505); + r0 = pxsim_numops_toBoolDecr(s.letterOffset___198121); if (!r0) { step = 13; continue; } r0 = s.arg0.fields["partialCanvas"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); r0 = s.arg0.fields["partialCanvas"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; s.tmp_1 = r0; - r0 = pxsim_String_.charAt(s.tmp_1, s.startIndex___171497); + r0 = pxsim_String_.charAt(s.tmp_1, s.startIndex___198113); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.letterOffset___171505; + s.tmp_0.arg2 = s.letterOffset___198121; s.tmp_0.arg3 = 0; s.tmp_0.arg4 = s.arg3; r0 = s.arg0.fields["font"]; @@ -67892,14 +67935,14 @@ switch (step) { r0 = s.retval; r0 = s.arg0.fields["partialCanvas"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___147749, s.tmp_0, s.arg1, s.arg2); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___174365, s.tmp_0, s.arg1, s.arg2); { step = 14; continue; } case 13: - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; r0 = s.arg0.fields["text"]; s.tmp_1 = r0; - r0 = pxsim_String_.charAt(s.tmp_1, s.startIndex___171497); + r0 = pxsim_String_.charAt(s.tmp_1, s.startIndex___198113); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -67911,24 +67954,24 @@ switch (step) { case 23: r0 = s.retval; case 14: - s.i___171612 = (1); + s.i___198228 = (1); case 15: r0 = s.arg0.fields["maxCharacters"]; s.tmp_1 = r0; - r0 = (s.i___171612 < s.tmp_1); + r0 = (s.i___198228 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.tmp_2 = helpers_imagePrint__P147707_mk(s); - s.tmp_2.arg0 = globals.screen___147749; + s.tmp_2 = helpers_imagePrint__P174323_mk(s); + s.tmp_2.arg0 = globals.screen___174365; r0 = s.arg0.fields["text"]; s.tmp_3 = r0; - r0 = (s.startIndex___171497 + s.i___171612); + r0 = (s.startIndex___198113 + s.i___198228); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); s.tmp_2.arg1 = r0; s.tmp_6 = r0 = s.arg1; - s.tmp_8 = r0 = s.i___171612; + s.tmp_8 = r0 = s.i___198228; s.tmp_10 = if_charWidth_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_10.arg0 = r0; @@ -67947,7 +67990,7 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_6 + s.tmp_7); s.tmp_5 = r0; - r0 = (s.tmp_5 + s.letterOffset___171505); + r0 = (s.tmp_5 + s.letterOffset___198121); s.tmp_2.arg2 = r0; s.tmp_2.arg3 = s.arg2; s.tmp_2.arg4 = s.arg3; @@ -67957,20 +68000,20 @@ switch (step) { s.callLocIdx = 1898; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - r0 = (s.i___171612 + 1); - s.i___171612 = (r0); + r0 = (s.i___198228 + 1); + s.i___198228 = (r0); { step = 15; continue; } case 16: r0 = undefined; return leave(s, r0) default: oops() } } } -story_menu_ScrollingLabel_draw__P152471.info = {"start":10526,"length":1769,"line":344,"column":8,"endLine":392,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"draw","argumentNames":["this","left","top","color"]} +story_menu_ScrollingLabel_draw__P179087.info = {"start":10526,"length":1769,"line":344,"column":8,"endLine":392,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"draw","argumentNames":["this","left","top","color"]} -function story_menu_ScrollingLabel_draw__P152471_mk(s) { +function story_menu_ScrollingLabel_draw__P179087_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_ScrollingLabel_draw__P152471, depth: s.depth + 1, + parent: s, fn: story_menu_ScrollingLabel_draw__P179087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67983,9 +68026,9 @@ function story_menu_ScrollingLabel_draw__P152471_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - startIndex___171497: undefined, - letterOffset___171505: undefined, - i___171612: undefined, + startIndex___198113: undefined, + letterOffset___198121: undefined, + i___198228: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -67996,7 +68039,7 @@ function story_menu_ScrollingLabel_draw__P152471_mk(s) { -function story_menu_MenuSprite_drawGridMenu__P152467(s) { +function story_menu_MenuSprite_drawGridMenu__P179083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68006,33 +68049,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___171644 = undefined; - s.top___171645 = undefined; - s.left___171652 = undefined; - s.i___171659 = undefined; + s.current___198260 = undefined; + s.top___198261 = undefined; + s.left___198268 = undefined; + s.i___198275 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["metrics"]; r0 = r0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["padding"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.top___171645 = (r0); + s.top___198261 = (r0); r0 = s.arg0.fields["metrics"]; r0 = r0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["padding"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.left___171652 = (r0); - s.i___171659 = (0); + s.left___198268 = (r0); + s.i___198275 = (0); case 1: - s.tmp_1 = r0 = s.i___171659; + s.tmp_1 = r0 = s.i___198275; r0 = s.arg0.fields["labels"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -68043,26 +68086,26 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = s.arg0.fields["labels"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.i___171659); - s.current___171644 = (r0); + r0 = pxsim_Array__getAt(s.tmp_4, s.i___198275); + s.current___198260 = (r0); r0 = s.arg0.fields["selectedIndex"]; s.tmp_1 = r0; - r0 = (s.i___171659 === s.tmp_1); + r0 = (s.i___198275 === s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_2 = helpers_imageFillRect__P147675_mk(s); - s.tmp_2.arg0 = globals.screen___147749; - r0 = (s.left___171652 - 1); + s.tmp_2 = helpers_imageFillRect__P174291_mk(s); + s.tmp_2.arg0 = globals.screen___174365; + r0 = (s.left___198268 - 1); s.tmp_2.arg1 = r0; - r0 = (s.top___171645 - 1); + r0 = (s.top___198261 - 1); s.tmp_2.arg2 = r0; - r0 = s.current___171644.fields["width"]; + r0 = s.current___198260.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_2.arg3 = r0; s.tmp_5 = if_charHeight_1_mk(s); - r0 = s.current___171644.fields["font"]; + r0 = s.current___198260.fields["font"]; s.tmp_5.arg0 = r0; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); @@ -68082,10 +68125,10 @@ switch (step) { s.callLocIdx = 1875; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - s.tmp_0 = story_menu_ScrollingLabel_draw__P152471_mk(s); - s.tmp_0.arg0 = s.current___171644; - s.tmp_0.arg1 = s.left___171652; - s.tmp_0.arg2 = s.top___171645; + s.tmp_0 = story_menu_ScrollingLabel_draw__P179087_mk(s); + s.tmp_0.arg0 = s.current___198260; + s.tmp_0.arg1 = s.left___198268; + s.tmp_0.arg2 = s.top___198261; r0 = s.arg0.fields["cursorForeground"]; s.tmp_0.arg3 = r0; s.callLocIdx = 1876; s.pc = 9; return s.tmp_0; @@ -68093,17 +68136,17 @@ switch (step) { r0 = s.retval; { step = 3; continue; } case 2: - s.tmp_0 = story_menu_ScrollingLabel_draw__P152471_mk(s); - s.tmp_0.arg0 = s.current___171644; - s.tmp_0.arg1 = s.left___171652; - s.tmp_0.arg2 = s.top___171645; + s.tmp_0 = story_menu_ScrollingLabel_draw__P179087_mk(s); + s.tmp_0.arg0 = s.current___198260; + s.tmp_0.arg1 = s.left___198268; + s.tmp_0.arg2 = s.top___198261; r0 = s.arg0.fields["foreground"]; s.tmp_0.arg3 = r0; s.callLocIdx = 1877; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 3: - r0 = (s.i___171659 % 2); + r0 = (s.i___198275 % 2); s.tmp_1 = r0; r0 = (s.tmp_1 === 1); s.tmp_0 = r0; @@ -68115,10 +68158,10 @@ switch (step) { r0 = s.arg0.fields["padding"]; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.left___171652 = (r0); - s.tmp_0 = r0 = s.top___171645; + s.left___198268 = (r0); + s.tmp_0 = r0 = s.top___198261; s.tmp_3 = if_charHeight_1_mk(s); - r0 = s.current___171644.fields["font"]; + r0 = s.current___198260.fields["font"]; s.tmp_3.arg0 = r0; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); @@ -68136,33 +68179,33 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.top___171645 = (r0); + s.top___198261 = (r0); { step = 5; continue; } case 4: - s.tmp_0 = r0 = s.left___171652; - r0 = s.current___171644.fields["width"]; + s.tmp_0 = r0 = s.left___198268; + r0 = s.current___198260.fields["width"]; s.tmp_2 = r0; r0 = s.arg0.fields["padding"]; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.left___171652 = (r0); + s.left___198268 = (r0); case 5: - r0 = (s.i___171659 + 1); - s.i___171659 = (r0); + r0 = (s.i___198275 + 1); + s.i___198275 = (r0); { step = 1; continue; } case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_drawGridMenu__P152467.info = {"start":7573,"length":952,"line":258,"column":8,"endLine":283,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"drawGridMenu","argumentNames":["this"]} +story_menu_MenuSprite_drawGridMenu__P179083.info = {"start":7573,"length":952,"line":258,"column":8,"endLine":283,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"drawGridMenu","argumentNames":["this"]} -function story_menu_MenuSprite_drawGridMenu__P152467_mk(s) { +function story_menu_MenuSprite_drawGridMenu__P179083_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_drawGridMenu__P152467, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_drawGridMenu__P179083, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68170,10 +68213,10 @@ function story_menu_MenuSprite_drawGridMenu__P152467_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - current___171644: undefined, - top___171645: undefined, - left___171652: undefined, - i___171659: undefined, + current___198260: undefined, + top___198261: undefined, + left___198268: undefined, + i___198275: undefined, arg0: undefined, } } @@ -68181,7 +68224,7 @@ function story_menu_MenuSprite_drawGridMenu__P152467_mk(s) { -function story_menu_MenuSprite_contentHeight__P152466(s) { +function story_menu_MenuSprite_contentHeight__P179082(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68191,18 +68234,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___171733 = undefined; - s.i___171734 = undefined; + s.h___198349 = undefined; + s.i___198350 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); - s.h___171733 = (0); - s.i___171734 = (0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); + s.h___198349 = (0); + s.i___198350 = (0); case 1: - s.tmp_1 = r0 = s.i___171734; + s.tmp_1 = r0 = s.i___198350; r0 = s.arg0.fields["labels"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -68213,13 +68256,13 @@ switch (step) { if (!r0) { step = 2; continue; } r0 = s.arg0.fields["padding"]; s.tmp_4 = r0; - r0 = (s.h___171733 + s.tmp_4); - s.h___171733 = (r0); - s.tmp_0 = r0 = s.h___171733; + r0 = (s.h___198349 + s.tmp_4); + s.h___198349 = (r0); + s.tmp_0 = r0 = s.h___198349; s.tmp_2 = if_charHeight_1_mk(s); r0 = s.arg0.fields["labels"]; s.tmp_3 = r0; - r0 = pxsim_Array__getAt(s.tmp_3, s.i___171734); + r0 = pxsim_Array__getAt(s.tmp_3, s.i___198350); r0 = r0.fields["font"]; s.tmp_2.arg0 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -68234,29 +68277,29 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.h___171733 = (r0); - r0 = (s.i___171734 + 1); - s.i___171734 = (r0); + s.h___198349 = (r0); + r0 = (s.i___198350 + 1); + s.i___198350 = (r0); { step = 1; continue; } case 2: - r0 = s.h___171733; + r0 = s.h___198349; return leave(s, r0) default: oops() } } } -story_menu_MenuSprite_contentHeight__P152466.info = {"start":7321,"length":242,"line":249,"column":8,"endLine":256,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"contentHeight","argumentNames":["this"]} +story_menu_MenuSprite_contentHeight__P179082.info = {"start":7321,"length":242,"line":249,"column":8,"endLine":256,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"contentHeight","argumentNames":["this"]} -function story_menu_MenuSprite_contentHeight__P152466_mk(s) { +function story_menu_MenuSprite_contentHeight__P179082_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite_contentHeight__P152466, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite_contentHeight__P179082, 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, - h___171733: undefined, - i___171734: undefined, + h___198349: undefined, + i___198350: undefined, arg0: undefined, } } @@ -68264,7 +68307,7 @@ function story_menu_MenuSprite_contentHeight__P152466_mk(s) { -function story_menu_MenuSprite___visible__P149841(s) { +function story_menu_MenuSprite___visible__P176457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68279,17 +68322,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_menu_MenuSprite__C149823_VT)) failedCast(r0); + if (!checkSubtype(r0, story_menu_MenuSprite__C176439_VT)) failedCast(r0); r0 = s.arg0.fields["open"]; return leave(s, r0) default: oops() } } } -story_menu_MenuSprite___visible__P149841.info = {"start":5994,"length":62,"line":203,"column":8,"endLine":205,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"__visible","argumentNames":["this"]} +story_menu_MenuSprite___visible__P176457.info = {"start":5994,"length":62,"line":203,"column":8,"endLine":205,"endColumn":9,"fileName":"pxt_modules/arcade-story/menu.ts","functionName":"__visible","argumentNames":["this"]} -function story_menu_MenuSprite___visible__P149841_mk(s) { +function story_menu_MenuSprite___visible__P176457_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_menu_MenuSprite___visible__P149841, depth: s.depth + 1, + parent: s, fn: story_menu_MenuSprite___visible__P176457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -68298,7 +68341,7 @@ function story_menu_MenuSprite___visible__P149841_mk(s) { -function Sprite___drawCore__P148031(s) { +function Sprite___drawCore__P174647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68308,21 +68351,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___171765 = undefined; - s.oy___171773 = undefined; - s.l___171781 = undefined; - s.t___171787 = undefined; - s.font___171805 = undefined; - s.tx___171809 = undefined; - s.ty___171811 = undefined; + s.ox___198381 = undefined; + s.oy___198389 = undefined; + s.l___198397 = undefined; + s.t___198403 = undefined; + s.font___198421 = undefined; + s.tx___198425 = undefined; + s.ty___198427 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); - s.tmp_1 = Sprite_isOutOfScreen__P148030_mk(s); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); + s.tmp_1 = Sprite_isOutOfScreen__P174646_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 384; s.pc = 20; return s.tmp_1; @@ -68347,7 +68390,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___171765 = (s.tmp_4); + s.ox___198381 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -68361,39 +68404,39 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___171773 = (s.tmp_2); - s.tmp_2 = Sprite_left__P148016_mk(s); + s.oy___198389 = (s.tmp_2); + s.tmp_2 = Sprite_left__P174632_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 385; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___171765); + r0 = (s.tmp_1 - s.ox___198381); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___171781 = (r0); - s.tmp_2 = Sprite_top__P148020_mk(s); + s.l___198397 = (r0); + s.tmp_2 = Sprite_top__P174636_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 386; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___171773); + r0 = (s.tmp_1 - s.oy___198389); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___171787 = (r0); + s.t___198403 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___147749, s.tmp_0, s.l___171781, s.t___171787); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___174365, s.tmp_0, s.l___198397, s.t___198403); 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 = 15; continue; } - s.font___171805 = (globals.font5___147697); - s.tx___171809 = (s.l___171781); - s.tmp_1 = r0 = s.t___171787; + s.font___198421 = (globals.font5___174313); + s.tx___198425 = (s.l___198397); + s.tmp_1 = r0 = s.t___198403; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -68401,12 +68444,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___171811 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.ty___198427 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P147979_mk(s); + s.tmp_7 = Sprite_x__P174595_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 388; s.pc = 24; return s.tmp_7; case 24: @@ -68427,7 +68470,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P147981_mk(s); + s.tmp_11 = Sprite_y__P174597_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 389; s.pc = 26; return s.tmp_11; case 26: @@ -68446,17 +68489,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___171809; - s.tmp_0.arg3 = s.ty___171811; + s.tmp_0.arg2 = s.tx___198425; + s.tmp_0.arg3 = s.ty___198427; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___171805; + s.tmp_0.arg5 = s.font___198421; s.tmp_0.arg6 = undefined; s.callLocIdx = 390; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = r0 = s.tx___171809; + s.tmp_0 = r0 = s.tx___198425; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___171805; + s.tmp_2.arg0 = s.font___198421; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -68469,8 +68512,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___171809 = (r0); - s.tmp_1 = Sprite_vx__P147983_mk(s); + s.tx___198425 = (r0); + s.tmp_1 = Sprite_vx__P174599_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 392; s.pc = 29; return s.tmp_1; case 29: @@ -68481,7 +68524,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_2 = Sprite_vy__P147985_mk(s); + s.tmp_2 = Sprite_vy__P174601_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 393; s.pc = 30; return s.tmp_2; case 30: @@ -68491,9 +68534,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 9; continue; } - s.tmp_4 = r0 = s.ty___171811; + s.tmp_4 = r0 = s.ty___198427; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___171805; + s.tmp_7.arg0 = s.font___198421; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -68508,10 +68551,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___171811 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_6 = Sprite_vx__P147983_mk(s); + s.ty___198427 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_6 = Sprite_vx__P174599_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 395; s.pc = 33; return s.tmp_6; case 33: @@ -68532,7 +68575,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P147985_mk(s); + s.tmp_10 = Sprite_vy__P174601_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 396; s.pc = 35; return s.tmp_10; case 35: @@ -68551,17 +68594,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___171809; - s.tmp_0.arg3 = s.ty___171811; + s.tmp_0.arg2 = s.tx___198425; + s.tmp_0.arg3 = s.ty___198427; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___171805; + s.tmp_0.arg5 = s.font___198421; s.tmp_0.arg6 = undefined; s.callLocIdx = 397; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 9: case 10: - s.tmp_1 = Sprite_ax__P147987_mk(s); + s.tmp_1 = Sprite_ax__P174603_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 398; s.pc = 37; return s.tmp_1; case 37: @@ -68572,7 +68615,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_2 = Sprite_ay__P147989_mk(s); + s.tmp_2 = Sprite_ay__P174605_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 399; s.pc = 38; return s.tmp_2; case 38: @@ -68582,9 +68625,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 13; continue; } - s.tmp_4 = r0 = s.ty___171811; + s.tmp_4 = r0 = s.ty___198427; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___171805; + s.tmp_7.arg0 = s.font___198421; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -68599,10 +68642,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___171811 = (r0); - s.tmp_0 = helpers_imagePrint__P147707_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_6 = Sprite_ax__P147987_mk(s); + s.ty___198427 = (r0); + s.tmp_0 = helpers_imagePrint__P174323_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_6 = Sprite_ax__P174603_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 401; s.pc = 41; return s.tmp_6; case 41: @@ -68623,7 +68666,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P147989_mk(s); + s.tmp_10 = Sprite_ay__P174605_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 402; s.pc = 43; return s.tmp_10; case 43: @@ -68642,10 +68685,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___171809; - s.tmp_0.arg3 = s.ty___171811; + s.tmp_0.arg2 = s.tx___198425; + s.tmp_0.arg3 = s.ty___198427; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___171805; + s.tmp_0.arg5 = s.font___198421; s.tmp_0.arg6 = undefined; s.callLocIdx = 403; s.pc = 40; return s.tmp_0; case 40: @@ -68654,11 +68697,11 @@ switch (step) { case 14: case 15: case 16: - r0 = pxsim_numops_toBoolDecr(globals.debug___148480); + r0 = pxsim_numops_toBoolDecr(globals.debug___175096); if (!r0) { step = 17; continue; } - s.tmp_0 = helpers_imageDrawRect__P147678_mk(s); - s.tmp_0.arg0 = globals.screen___147749; - s.tmp_3 = game_Hitbox_left__P147913_mk(s); + s.tmp_0 = helpers_imageDrawRect__P174294_mk(s); + s.tmp_0.arg0 = globals.screen___174365; + s.tmp_3 = game_Hitbox_left__P174529_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 404; s.pc = 46; return s.tmp_3; @@ -68669,9 +68712,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___171765); + r0 = (s.tmp_1 - s.ox___198381); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P147914_mk(s); + s.tmp_7 = game_Hitbox_top__P174530_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 406; s.pc = 47; return s.tmp_7; @@ -68682,7 +68725,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___171773); + r0 = (s.tmp_5 - s.oy___198389); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -68709,12 +68752,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P148031.info = {"start":21147,"length":1407,"line":648,"column":4,"endLine":686,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P174647.info = {"start":21147,"length":1407,"line":648,"column":4,"endLine":686,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P148031_mk(s) { +function Sprite___drawCore__P174647_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P148031, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P174647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68729,13 +68772,13 @@ function Sprite___drawCore__P148031_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___171765: undefined, - oy___171773: undefined, - l___171781: undefined, - t___171787: undefined, - font___171805: undefined, - tx___171809: undefined, - ty___171811: undefined, + ox___198381: undefined, + oy___198389: undefined, + l___198397: undefined, + t___198403: undefined, + font___198421: undefined, + tx___198425: undefined, + ty___198427: undefined, arg0: undefined, arg1: undefined, } } @@ -68744,7 +68787,7 @@ function Sprite___drawCore__P148031_mk(s) { -function Sprite___visible__P148013(s) { +function Sprite___visible__P174629(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68759,7 +68802,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C147970_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C174586_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -68770,12 +68813,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P148013.info = {"start":8612,"length":72,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P174629.info = {"start":8612,"length":72,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P148013_mk(s) { +function Sprite___visible__P174629_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P148013, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P174629, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68787,7 +68830,7 @@ function Sprite___visible__P148013_mk(s) { -function story_RectangleSprite_drawShape__P152456(s) { +function story_RectangleSprite_drawShape__P179072(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68805,7 +68848,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_RectangleSprite__C149798_VT)) failedCast(r0); + if (!checkSubtype(r0, story_RectangleSprite__C176414_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -68823,8 +68866,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_3 = helpers_imageDrawRect__P147678_mk(s); - s.tmp_3.arg0 = globals.screen___147749; + s.tmp_3 = helpers_imageDrawRect__P174294_mk(s); + s.tmp_3.arg0 = globals.screen___174365; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; r0 = s.arg0.fields["width"]; @@ -68837,8 +68880,8 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = helpers_imageFillRect__P147675_mk(s); - s.tmp_0.arg0 = globals.screen___147749; + s.tmp_0 = helpers_imageFillRect__P174291_mk(s); + s.tmp_0.arg0 = globals.screen___174365; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; r0 = s.arg0.fields["width"]; @@ -68856,12 +68899,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_RectangleSprite_drawShape__P152456.info = {"start":2090,"length":389,"line":84,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"drawShape","argumentNames":["this","left","top","color"]} +story_RectangleSprite_drawShape__P179072.info = {"start":2090,"length":389,"line":84,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"drawShape","argumentNames":["this","left","top","color"]} -function story_RectangleSprite_drawShape__P152456_mk(s) { +function story_RectangleSprite_drawShape__P179072_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_RectangleSprite_drawShape__P152456, depth: s.depth + 1, + parent: s, fn: story_RectangleSprite_drawShape__P179072, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68877,7 +68920,7 @@ function story_RectangleSprite_drawShape__P152456_mk(s) { -function story_TextSprite_drawShape__P152454(s) { +function story_TextSprite_drawShape__P179070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68895,13 +68938,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, story_TextSprite__C149793_VT)) failedCast(r0); + if (!checkSubtype(r0, story_TextSprite__C176409_VT)) failedCast(r0); r0 = s.arg0.fields["text"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_imagePrint__P147707_mk(s); - s.tmp_1.arg0 = globals.screen___147749; + s.tmp_1 = helpers_imagePrint__P174323_mk(s); + s.tmp_1.arg0 = globals.screen___174365; r0 = s.arg0.fields["text"]; s.tmp_1.arg1 = r0; s.tmp_1.arg2 = s.arg1; @@ -68918,12 +68961,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -story_TextSprite_drawShape__P152454.info = {"start":1542,"length":175,"line":63,"column":8,"endLine":67,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"drawShape","argumentNames":["this","left","top","color"]} +story_TextSprite_drawShape__P179070.info = {"start":1542,"length":175,"line":63,"column":8,"endLine":67,"endColumn":9,"fileName":"pxt_modules/arcade-story/shapeSprites.ts","functionName":"drawShape","argumentNames":["this","left","top","color"]} -function story_TextSprite_drawShape__P152454_mk(s) { +function story_TextSprite_drawShape__P179070_mk(s) { checkStack(s.depth); return { - parent: s, fn: story_TextSprite_drawShape__P152454, depth: s.depth + 1, + parent: s, fn: story_TextSprite_drawShape__P179070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69026,7 +69069,7 @@ function if_cancel_1_mk(s) { } } -function controller_Button__C147850_v0_1_mk(s) { +function controller_Button__C174466_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69125,7 +69168,7 @@ function if_key_1_mk(s) { } } -function PhysicsEngine__C148115_v4_2_mk(s) { +function PhysicsEngine__C174731_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69171,7 +69214,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C148115_v3_1_mk(s) { +function PhysicsEngine__C174731_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69326,7 +69369,7 @@ function if_vy_1_mk(s) { } } -function PhysicsEngine__C148115_v2_4_mk(s) { +function PhysicsEngine__C174731_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69357,7 +69400,7 @@ function if_func_1_mk(s) { } } -function PhysicsEngine__C148115_v0_2_mk(s) { +function PhysicsEngine__C174731_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69458,7 +69501,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C148666_v0_2_mk(s) { +function particles_ParticleFactory__C175282_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69473,7 +69516,7 @@ function particles_ParticleFactory__C148666_v0_2_mk(s) { } } -function particles_ParticleSource__C148630_v4_3_mk(s) { +function particles_ParticleSource__C175246_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69531,7 +69574,7 @@ function if_startScreenEffect_1_mk(s) { } } -function game_GameOverDialog__C148468_v0_1_mk(s) { +function game_GameOverDialog__C175084_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69545,7 +69588,7 @@ function game_GameOverDialog__C148468_v0_1_mk(s) { } } -function game_GameOverDialog__C148468_v2_1_mk(s) { +function game_GameOverDialog__C175084_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69659,7 +69702,7 @@ function if_animations_1_mk(s) { } } -function animation_SpriteAnimation__C148853_v0_1_mk(s) { +function animation_SpriteAnimation__C175469_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69673,7 +69716,7 @@ function animation_SpriteAnimation__C148853_v0_1_mk(s) { } } -function animation_PathNode__C148829_v2_1_mk(s) { +function animation_PathNode__C175445_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69687,7 +69730,7 @@ function animation_PathNode__C148829_v2_1_mk(s) { } } -function animation_PathNode__C148829_v1_1_mk(s) { +function animation_PathNode__C175445_v1_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69733,7 +69776,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C148115_v1_2_mk(s) { +function PhysicsEngine__C174731_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69762,7 +69805,7 @@ function if_destroyHandler_1_mk(s) { } } -function game_SplashDialog__C148457_v1_2_mk(s) { +function game_SplashDialog__C175073_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69777,7 +69820,7 @@ function game_SplashDialog__C148457_v1_2_mk(s) { } } -function game_BaseDialog__C148429_v0_1_mk(s) { +function game_BaseDialog__C175045_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -69791,7 +69834,7 @@ function game_BaseDialog__C148429_v0_1_mk(s) { } } -function game_BaseDialog__C148429_v2_1_mk(s) { +function game_BaseDialog__C175045_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -70018,7 +70061,7 @@ function if_activeCard_1_mk(s) { } } -function animation_PathNode__C148829_v0_4_mk(s) { +function animation_PathNode__C175445_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -70049,7 +70092,7 @@ function if_endCB_1_mk(s) { } } -function particles_ParticleFactory__C148666_v1_4_mk(s) { +function particles_ParticleFactory__C175282_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -70154,7 +70197,7 @@ function if_updateSay_3_mk(s) { } } -function sprites_BaseSprite__C147805_v0_1_mk(s) { +function sprites_BaseSprite__C174421_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -70168,7 +70211,7 @@ function sprites_BaseSprite__C147805_v0_1_mk(s) { } } -function sprites_BaseSprite__C147805_v2_2_mk(s) { +function sprites_BaseSprite__C174421_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -70183,7 +70226,7 @@ function sprites_BaseSprite__C147805_v2_2_mk(s) { } } -function story_ShapeSprite__C149782_v4_4_mk(s) { +function story_ShapeSprite__C176398_v4_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -70299,14 +70342,14 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Button__C147850_VT = mkVTable({ +const controller_Button__C174466_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P147859, + "isPressed": controller_Button_isPressed__P174475, }, iface: { "_owner": null, @@ -70323,26 +70366,26 @@ const controller_Button__C147850_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P147855, - "raiseButtonUp": controller_Button_raiseButtonUp__P150288, - "raiseButtonDown": controller_Button_raiseButtonDown__P150289, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P150290, - "onEvent": controller_Button_onEvent__P147857, - "isPressed": controller_Button_isPressed__P147859, - "pressureLevel": controller_Button_pressureLevel__P147860, - "setPressed": controller_Button_setPressed__P147861, - "__update": controller_Button___update__P147862, + "toString": controller_Button_toString__P174471, + "raiseButtonUp": controller_Button_raiseButtonUp__P176904, + "raiseButtonDown": controller_Button_raiseButtonDown__P176905, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P176906, + "onEvent": controller_Button_onEvent__P174473, + "isPressed": controller_Button_isPressed__P174475, + "pressureLevel": controller_Button_pressureLevel__P174476, + "setPressed": controller_Button_setPressed__P174477, + "__update": controller_Button___update__P174478, }, - toStringMethod: controller_Button_toString__P147855, + toStringMethod: controller_Button_toString__P174471, }); -const controller_AnyButton__C150291_VT = mkVTable({ +const controller_AnyButton__C176907_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P150293, + "isPressed": controller_AnyButton_isPressed__P176909, }, iface: { "_owner": null, @@ -70359,18 +70402,18 @@ const controller_AnyButton__C150291_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P150293, - "toString": controller_Button_toString__P147855, - "raiseButtonUp": controller_Button_raiseButtonUp__P150288, - "raiseButtonDown": controller_Button_raiseButtonDown__P150289, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P150290, - "onEvent": controller_Button_onEvent__P147857, - "pressureLevel": controller_Button_pressureLevel__P147860, - "setPressed": controller_Button_setPressed__P147861, - "__update": controller_Button___update__P147862, + "isPressed": controller_AnyButton_isPressed__P176909, + "toString": controller_Button_toString__P174471, + "raiseButtonUp": controller_Button_raiseButtonUp__P176904, + "raiseButtonDown": controller_Button_raiseButtonDown__P176905, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P176906, + "onEvent": controller_Button_onEvent__P174473, + "pressureLevel": controller_Button_pressureLevel__P174476, + "setPressed": controller_Button_setPressed__P174477, + "__update": controller_Button___update__P174478, }, }); -const Math_FastRandom__C148538_VT = mkVTable({ +const Math_FastRandom__C175154_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -70383,12 +70426,12 @@ const Math_FastRandom__C148538_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P148541, - "randomRange": Math_FastRandom_randomRange__P148542, - "pickRandom": Math_FastRandom_pickRandom__P148543, + "next": Math_FastRandom_next__P175157, + "randomRange": Math_FastRandom_randomRange__P175158, + "pickRandom": Math_FastRandom_pickRandom__P175159, }, }); -const texteffects_TextEffect__C148783_VT = mkVTable({ +const texteffects_TextEffect__C175399_VT = mkVTable({ name: "TextEffect", numFields: 1, classNo: 19, @@ -70401,7 +70444,7 @@ const texteffects_TextEffect__C148783_VT = mkVTable({ "set/getState": null, }, }); -const music_Melody__C147535_VT = mkVTable({ +const music_Melody__C174151_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 20, @@ -70414,52 +70457,52 @@ const music_Melody__C147535_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "stop": music_Melody_stop__P147540, - "registerMelody": music_Melody_registerMelody__P150165, - "unregisterMelody": music_Melody_unregisterMelody__P150166, - "playCore": music_Melody_playCore__P150167, - "play": music_Melody_play__P147542, - "playUntilDone": music_Melody_playUntilDone__P147543, - "toString": music_Melody_toString__P147544, + "stop": music_Melody_stop__P174156, + "registerMelody": music_Melody_registerMelody__P176781, + "unregisterMelody": music_Melody_unregisterMelody__P176782, + "playCore": music_Melody_playCore__P176783, + "play": music_Melody_play__P174158, + "playUntilDone": music_Melody_playUntilDone__P174159, + "toString": music_Melody_toString__P174160, }, - toStringMethod: music_Melody_toString__P147544, + toStringMethod: music_Melody_toString__P174160, }); -const sprites_BaseSprite__C147805_VT = mkVTable({ +const sprites_BaseSprite__C174421_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 21, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P147808, - "__draw": sprites_BaseSprite___draw__P147811, - "__drawCore": sprites_BaseSprite___drawCore__P147812, - "__update": sprites_BaseSprite___update__P147813, + "__visible": sprites_BaseSprite___visible__P174424, + "__draw": sprites_BaseSprite___draw__P174427, + "__drawCore": sprites_BaseSprite___drawCore__P174428, + "__update": sprites_BaseSprite___update__P174429, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P147808, - "z": sprites_BaseSprite_z__P147809, - "set/z": sprites_BaseSprite_z__P147810, - "__draw": sprites_BaseSprite___draw__P147811, - "__drawCore": sprites_BaseSprite___drawCore__P147812, - "__update": sprites_BaseSprite___update__P147813, + "__visible": sprites_BaseSprite___visible__P174424, + "z": sprites_BaseSprite_z__P174425, + "set/z": sprites_BaseSprite_z__P174426, + "__draw": sprites_BaseSprite___draw__P174427, + "__drawCore": sprites_BaseSprite___drawCore__P174428, + "__update": sprites_BaseSprite___update__P174429, }, }); -const Sprite__C147970_VT = mkVTable({ +const Sprite__C174586_VT = mkVTable({ name: "Sprite", numFields: 26, classNo: 22, lastSubtypeNo: 22, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P148013, - "__draw": sprites_BaseSprite___draw__P147811, - "__drawCore": Sprite___drawCore__P148031, - "__update": Sprite___update__P148032, + "__visible": Sprite___visible__P174629, + "__draw": sprites_BaseSprite___draw__P174427, + "__drawCore": Sprite___drawCore__P174647, + "__update": Sprite___update__P174648, }, iface: { "_z": null, @@ -70514,60 +70557,60 @@ const Sprite__C147970_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P147979, - "set/x": Sprite_x__P147980, - "y": Sprite_y__P147981, - "set/y": Sprite_y__P147982, - "vx": Sprite_vx__P147983, - "set/vx": Sprite_vx__P147984, - "vy": Sprite_vy__P147985, - "set/vy": Sprite_vy__P147986, - "ax": Sprite_ax__P147987, - "set/ax": Sprite_ax__P147988, - "ay": Sprite_ay__P147989, - "set/ay": Sprite_ay__P147990, - "fx": Sprite_fx__P147991, - "set/fx": Sprite_fx__P147992, - "fy": Sprite_fy__P147993, - "set/fy": Sprite_fy__P147994, - "data": Sprite_data__P147995, - "set/data": Sprite_data__P147996, - "image": Sprite_image__P148009, - "setImage": Sprite_setImage__P148010, - "setHitbox": Sprite_setHitbox__P148011, - "isStatic": Sprite_isStatic__P148012, - "__visible": Sprite___visible__P148013, - "width": Sprite_width__P148014, - "height": Sprite_height__P148015, - "left": Sprite_left__P148016, - "set/left": Sprite_left__P148017, - "right": Sprite_right__P148018, - "set/right": Sprite_right__P148019, - "top": Sprite_top__P148020, - "set/top": Sprite_top__P148021, - "bottom": Sprite_bottom__P148022, - "set/bottom": Sprite_bottom__P148023, - "kind": Sprite_kind__P148024, - "setKind": Sprite_setKind__P148025, - "setPosition": Sprite_setPosition__P148026, - "isOutOfScreen": Sprite_isOutOfScreen__P148030, - "__drawCore": Sprite___drawCore__P148031, - "__update": Sprite___update__P148032, - "setFlag": Sprite_setFlag__P148035, - "overlapsWith": Sprite_overlapsWith__P148036, - "clearObstacles": Sprite_clearObstacles__P148040, - "registerObstacle": Sprite_registerObstacle__P148041, - "destroy": Sprite_destroy__P148043, - "_destroyCore": Sprite__destroyCore__P148044, - "follow": Sprite_follow__P148045, - "toString": Sprite_toString__P148046, - "z": sprites_BaseSprite_z__P147809, - "set/z": sprites_BaseSprite_z__P147810, - "__draw": sprites_BaseSprite___draw__P147811, + "x": Sprite_x__P174595, + "set/x": Sprite_x__P174596, + "y": Sprite_y__P174597, + "set/y": Sprite_y__P174598, + "vx": Sprite_vx__P174599, + "set/vx": Sprite_vx__P174600, + "vy": Sprite_vy__P174601, + "set/vy": Sprite_vy__P174602, + "ax": Sprite_ax__P174603, + "set/ax": Sprite_ax__P174604, + "ay": Sprite_ay__P174605, + "set/ay": Sprite_ay__P174606, + "fx": Sprite_fx__P174607, + "set/fx": Sprite_fx__P174608, + "fy": Sprite_fy__P174609, + "set/fy": Sprite_fy__P174610, + "data": Sprite_data__P174611, + "set/data": Sprite_data__P174612, + "image": Sprite_image__P174625, + "setImage": Sprite_setImage__P174626, + "setHitbox": Sprite_setHitbox__P174627, + "isStatic": Sprite_isStatic__P174628, + "__visible": Sprite___visible__P174629, + "width": Sprite_width__P174630, + "height": Sprite_height__P174631, + "left": Sprite_left__P174632, + "set/left": Sprite_left__P174633, + "right": Sprite_right__P174634, + "set/right": Sprite_right__P174635, + "top": Sprite_top__P174636, + "set/top": Sprite_top__P174637, + "bottom": Sprite_bottom__P174638, + "set/bottom": Sprite_bottom__P174639, + "kind": Sprite_kind__P174640, + "setKind": Sprite_setKind__P174641, + "setPosition": Sprite_setPosition__P174642, + "isOutOfScreen": Sprite_isOutOfScreen__P174646, + "__drawCore": Sprite___drawCore__P174647, + "__update": Sprite___update__P174648, + "setFlag": Sprite_setFlag__P174651, + "overlapsWith": Sprite_overlapsWith__P174652, + "clearObstacles": Sprite_clearObstacles__P174656, + "registerObstacle": Sprite_registerObstacle__P174657, + "destroy": Sprite_destroy__P174659, + "_destroyCore": Sprite__destroyCore__P174660, + "follow": Sprite_follow__P174661, + "toString": Sprite_toString__P174662, + "z": sprites_BaseSprite_z__P174425, + "set/z": sprites_BaseSprite_z__P174426, + "__draw": sprites_BaseSprite___draw__P174427, }, - toStringMethod: Sprite_toString__P148046, + toStringMethod: Sprite_toString__P174662, }); -const music_MelodyPlayer__C147545_VT = mkVTable({ +const music_MelodyPlayer__C174161_VT = mkVTable({ name: "MelodyPlayer", numFields: 2, classNo: 30, @@ -70580,12 +70623,12 @@ const music_MelodyPlayer__C147545_VT = mkVTable({ "set/melody": null, "onPlayFinished": null, "set/onPlayFinished": null, - "stop": music_MelodyPlayer_stop__P147549, - "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P150170, - "play": music_MelodyPlayer_play__P147550, + "stop": music_MelodyPlayer_stop__P174165, + "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P176786, + "play": music_MelodyPlayer_play__P174166, }, }); -const scene_GameForeverHandler__C148350_VT = mkVTable({ +const scene_GameForeverHandler__C174966_VT = mkVTable({ name: "GameForeverHandler", numFields: 2, classNo: 31, @@ -70600,7 +70643,7 @@ const scene_GameForeverHandler__C148350_VT = mkVTable({ "set/handler": null, }, }); -const story_ConversationState__C152446_VT = mkVTable({ +const story_ConversationState__C179062_VT = mkVTable({ name: "ConversationState", numFields: 6, classNo: 32, @@ -70621,20 +70664,20 @@ const story_ConversationState__C152446_VT = mkVTable({ "set/soundEnabled": null, "cutsceneQueue": null, "set/cutsceneQueue": null, - "cancel": story_ConversationState_cancel__P152448, + "cancel": story_ConversationState_cancel__P179064, }, }); -const story_menu_MenuSprite__C149823_VT = mkVTable({ +const story_menu_MenuSprite__C176439_VT = mkVTable({ name: "MenuSprite", numFields: 14, classNo: 23, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "__visible": story_menu_MenuSprite___visible__P149841, - "__draw": sprites_BaseSprite___draw__P147811, - "__drawCore": story_menu_MenuSprite___drawCore__P149842, - "__update": sprites_BaseSprite___update__P147813, + "__visible": story_menu_MenuSprite___visible__P176457, + "__draw": sprites_BaseSprite___draw__P174427, + "__drawCore": story_menu_MenuSprite___drawCore__P176458, + "__update": sprites_BaseSprite___update__P174429, }, iface: { "_z": null, @@ -70665,32 +70708,32 @@ const story_menu_MenuSprite__C149823_VT = mkVTable({ "set/padding": null, "metrics": null, "set/metrics": null, - "setColors": story_menu_MenuSprite_setColors__P149827, - "setLocation": story_menu_MenuSprite_setLocation__P149829, - "selectedMenuOption": story_menu_MenuSprite_selectedMenuOption__P149830, - "selectedMenuIndex": story_menu_MenuSprite_selectedMenuIndex__P149831, - "setSelectedIndex": story_menu_MenuSprite_setSelectedIndex__P149832, - "moveSelectionVertical": story_menu_MenuSprite_moveSelectionVertical__P149833, - "moveSelectionHorizontal": story_menu_MenuSprite_moveSelectionHorizontal__P149834, - "next": story_menu_MenuSprite_next__P149835, - "previous": story_menu_MenuSprite_previous__P149836, - "isOpen": story_menu_MenuSprite_isOpen__P149838, - "setMenuOpen": story_menu_MenuSprite_setMenuOpen__P149839, - "destroy": story_menu_MenuSprite_destroy__P149840, - "__visible": story_menu_MenuSprite___visible__P149841, - "__drawCore": story_menu_MenuSprite___drawCore__P149842, - "getMaxLabelWidth": story_menu_MenuSprite_getMaxLabelWidth__P152464, - "recreateLabels": story_menu_MenuSprite_recreateLabels__P152465, - "contentHeight": story_menu_MenuSprite_contentHeight__P152466, - "drawGridMenu": story_menu_MenuSprite_drawGridMenu__P152467, - "drawListMenu": story_menu_MenuSprite_drawListMenu__P152468, - "z": sprites_BaseSprite_z__P147809, - "set/z": sprites_BaseSprite_z__P147810, - "__draw": sprites_BaseSprite___draw__P147811, - "__update": sprites_BaseSprite___update__P147813, + "setColors": story_menu_MenuSprite_setColors__P176443, + "setLocation": story_menu_MenuSprite_setLocation__P176445, + "selectedMenuOption": story_menu_MenuSprite_selectedMenuOption__P176446, + "selectedMenuIndex": story_menu_MenuSprite_selectedMenuIndex__P176447, + "setSelectedIndex": story_menu_MenuSprite_setSelectedIndex__P176448, + "moveSelectionVertical": story_menu_MenuSprite_moveSelectionVertical__P176449, + "moveSelectionHorizontal": story_menu_MenuSprite_moveSelectionHorizontal__P176450, + "next": story_menu_MenuSprite_next__P176451, + "previous": story_menu_MenuSprite_previous__P176452, + "isOpen": story_menu_MenuSprite_isOpen__P176454, + "setMenuOpen": story_menu_MenuSprite_setMenuOpen__P176455, + "destroy": story_menu_MenuSprite_destroy__P176456, + "__visible": story_menu_MenuSprite___visible__P176457, + "__drawCore": story_menu_MenuSprite___drawCore__P176458, + "getMaxLabelWidth": story_menu_MenuSprite_getMaxLabelWidth__P179080, + "recreateLabels": story_menu_MenuSprite_recreateLabels__P179081, + "contentHeight": story_menu_MenuSprite_contentHeight__P179082, + "drawGridMenu": story_menu_MenuSprite_drawGridMenu__P179083, + "drawListMenu": story_menu_MenuSprite_drawListMenu__P179084, + "z": sprites_BaseSprite_z__P174425, + "set/z": sprites_BaseSprite_z__P174426, + "__draw": sprites_BaseSprite___draw__P174427, + "__update": sprites_BaseSprite___update__P174429, }, }); -const story_menu__BlockMenuState__C149852_VT = mkVTable({ +const story_menu__BlockMenuState__C176468_VT = mkVTable({ name: "_BlockMenuState", numFields: 3, classNo: 33, @@ -70705,10 +70748,10 @@ const story_menu__BlockMenuState__C149852_VT = mkVTable({ "set/handlers": null, "controlsEnabled": null, "set/controlsEnabled": null, - "destroy": story_menu__BlockMenuState_destroy__P149859, + "destroy": story_menu__BlockMenuState_destroy__P176475, }, }); -const story_menu_LayoutMetrics__C152459_VT = mkVTable({ +const story_menu_LayoutMetrics__C179075_VT = mkVTable({ name: "LayoutMetrics", numFields: 4, classNo: 34, @@ -70727,7 +70770,7 @@ const story_menu_LayoutMetrics__C152459_VT = mkVTable({ "set/height": null, }, }); -const story_menu_ScrollingLabel__C152469_VT = mkVTable({ +const story_menu_ScrollingLabel__C179085_VT = mkVTable({ name: "ScrollingLabel", numFields: 11, classNo: 35, @@ -70758,11 +70801,11 @@ const story_menu_ScrollingLabel__C152469_VT = mkVTable({ "set/partialCanvas": null, "text": null, "set/text": null, - "setScrolling": story_menu_ScrollingLabel_setScrolling__P152470, - "draw": story_menu_ScrollingLabel_draw__P152471, + "setScrolling": story_menu_ScrollingLabel_setScrolling__P179086, + "draw": story_menu_ScrollingLabel_draw__P179087, }, }); -const scene_Scene__C148371_VT = mkVTable({ +const scene_Scene__C174987_VT = mkVTable({ name: "Scene", numFields: 23, classNo: 36, @@ -70817,15 +70860,15 @@ const scene_Scene__C148371_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P148393, - "data": scene_Scene_data__P148394, - "millis": scene_Scene_millis__P148395, - "addSprite": scene_Scene_addSprite__P148396, - "destroy": scene_Scene_destroy__P148397, - "render": scene_Scene_render__P148398, + "init": scene_Scene_init__P175009, + "data": scene_Scene_data__P175010, + "millis": scene_Scene_millis__P175011, + "addSprite": scene_Scene_addSprite__P175012, + "destroy": scene_Scene_destroy__P175013, + "render": scene_Scene_render__P175014, }, }); -const control_PollEvent__C150097_VT = mkVTable({ +const control_PollEvent__C176713_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 37, @@ -70848,7 +70891,7 @@ const control_PollEvent__C150097_VT = mkVTable({ "set/once": null, }, }); -const control_EventContext__C146321_VT = mkVTable({ +const control_EventContext__C172937_VT = mkVTable({ name: "EventContext", numFields: 9, classNo: 38, @@ -70875,16 +70918,16 @@ const control_EventContext__C146321_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P146326, - "runCallbacks": control_EventContext_runCallbacks__P150123, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P150124, - "register": control_EventContext_register__P146327, - "unregister": control_EventContext_unregister__P146328, - "registerFrameHandler": control_EventContext_registerFrameHandler__P146329, - "registerHandler": control_EventContext_registerHandler__P146331, + "deltaTime": control_EventContext_deltaTime__P172942, + "runCallbacks": control_EventContext_runCallbacks__P176739, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P176740, + "register": control_EventContext_register__P172943, + "unregister": control_EventContext_unregister__P172944, + "registerFrameHandler": control_EventContext_registerFrameHandler__P172945, + "registerHandler": control_EventContext_registerHandler__P172947, }, }); -const control_EventHandler__C150118_VT = mkVTable({ +const control_EventHandler__C176734_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 39, @@ -70901,11 +70944,11 @@ const control_EventHandler__C150118_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P150119, - "unregister": control_EventHandler_unregister__P150120, + "register": control_EventHandler_register__P176735, + "unregister": control_EventHandler_unregister__P176736, }, }); -const story_StoryState__C149735_VT = mkVTable({ +const story_StoryState__C176351_VT = mkVTable({ name: "StoryState", numFields: 4, classNo: 40, @@ -70922,14 +70965,14 @@ const story_StoryState__C149735_VT = mkVTable({ "set/lock": null, "activeTasks": null, "set/activeTasks": null, - "trackTask": story_StoryState_trackTask__P149740, - "reset": story_StoryState_reset__P149741, - "shouldAdvance": story_StoryState_shouldAdvance__P149742, - "cancelByKey": story_StoryState_cancelByKey__P149743, - "clearFinishedTasks": story_StoryState_clearFinishedTasks__P149745, + "trackTask": story_StoryState_trackTask__P176356, + "reset": story_StoryState_reset__P176357, + "shouldAdvance": story_StoryState_shouldAdvance__P176358, + "cancelByKey": story_StoryState_cancelByKey__P176359, + "clearFinishedTasks": story_StoryState_clearFinishedTasks__P176361, }, }); -const effects_ImageEffect__C148768_VT = mkVTable({ +const effects_ImageEffect__C175384_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 41, @@ -70946,33 +70989,33 @@ const effects_ImageEffect__C148768_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P148770, - "change": effects_ImageEffect_change__P148771, - "startScreenEffect": effects_ImageEffect_startScreenEffect__P148772, + "applyTo": effects_ImageEffect_applyTo__P175386, + "change": effects_ImageEffect_change__P175387, + "startScreenEffect": effects_ImageEffect_startScreenEffect__P175388, }, }); -const PhysicsEngine__C148115_VT = mkVTable({ +const PhysicsEngine__C174731_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 42, lastSubtypeNo: 43, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P148117, - "removeSprite": PhysicsEngine_removeSprite__P148118, - "moveSprite": PhysicsEngine_moveSprite__P148119, - "draw": PhysicsEngine_draw__P148120, - "move": PhysicsEngine_move__P148121, + "addSprite": PhysicsEngine_addSprite__P174733, + "removeSprite": PhysicsEngine_removeSprite__P174734, + "moveSprite": PhysicsEngine_moveSprite__P174735, + "draw": PhysicsEngine_draw__P174736, + "move": PhysicsEngine_move__P174737, }, iface: { - "addSprite": PhysicsEngine_addSprite__P148117, - "removeSprite": PhysicsEngine_removeSprite__P148118, - "moveSprite": PhysicsEngine_moveSprite__P148119, - "draw": PhysicsEngine_draw__P148120, - "move": PhysicsEngine_move__P148121, + "addSprite": PhysicsEngine_addSprite__P174733, + "removeSprite": PhysicsEngine_removeSprite__P174734, + "moveSprite": PhysicsEngine_moveSprite__P174735, + "draw": PhysicsEngine_draw__P174736, + "move": PhysicsEngine_move__P174737, }, }); -const scene_Camera__C148312_VT = mkVTable({ +const scene_Camera__C174928_VT = mkVTable({ name: "Camera", numFields: 8, classNo: 44, @@ -70997,18 +71040,18 @@ const scene_Camera__C148312_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P148317, - "set/offsetX": scene_Camera_offsetX__P148318, - "offsetY": scene_Camera_offsetY__P148319, - "set/offsetY": scene_Camera_offsetY__P148320, - "x": scene_Camera_x__P148321, - "y": scene_Camera_y__P148322, - "left": scene_Camera_left__P148323, - "top": scene_Camera_top__P148325, - "update": scene_Camera_update__P148328, + "offsetX": scene_Camera_offsetX__P174933, + "set/offsetX": scene_Camera_offsetX__P174934, + "offsetY": scene_Camera_offsetY__P174935, + "set/offsetY": scene_Camera_offsetY__P174936, + "x": scene_Camera_x__P174937, + "y": scene_Camera_y__P174938, + "left": scene_Camera_left__P174939, + "top": scene_Camera_top__P174941, + "update": scene_Camera_update__P174944, }, }); -const scene_Background__C148223_VT = mkVTable({ +const scene_Background__C174839_VT = mkVTable({ name: "Background", numFields: 4, classNo: 45, @@ -71025,13 +71068,13 @@ const scene_Background__C148223_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P148229, - "set/image": scene_Background_image__P148230, - "hasBackgroundImage": scene_Background_hasBackgroundImage__P148231, - "draw": scene_Background_draw__P148232, + "image": scene_Background_image__P174845, + "set/image": scene_Background_image__P174846, + "hasBackgroundImage": scene_Background_hasBackgroundImage__P174847, + "draw": scene_Background_draw__P174848, }, }); -const scene_BackgroundLayer__C148233_VT = mkVTable({ +const scene_BackgroundLayer__C174849_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 46, @@ -71052,10 +71095,10 @@ const scene_BackgroundLayer__C148233_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P148241, + "draw": scene_BackgroundLayer_draw__P174857, }, }); -const tiles_TileMap__C148275_VT = mkVTable({ +const tiles_TileMap__C174891_VT = mkVTable({ name: "TileMap", numFields: 4, classNo: 47, @@ -71072,31 +71115,31 @@ const tiles_TileMap__C148275_VT = mkVTable({ "set/_map": null, "renderable": null, "set/renderable": null, - "scale": tiles_TileMap_scale__P148278, - "set/scale": tiles_TileMap_scale__P148279, - "data": tiles_TileMap_data__P150410, - "offsetX": tiles_TileMap_offsetX__P148280, - "offsetY": tiles_TileMap_offsetY__P148281, - "areaWidth": tiles_TileMap_areaWidth__P148282, - "areaHeight": tiles_TileMap_areaHeight__P148283, - "layer": tiles_TileMap_layer__P148284, - "enabled": tiles_TileMap_enabled__P148286, - "setData": tiles_TileMap_setData__P148287, - "getTile": tiles_TileMap_getTile__P148288, - "getTileIndex": tiles_TileMap_getTileIndex__P148289, - "setTileAt": tiles_TileMap_setTileAt__P148290, - "getImageType": tiles_TileMap_getImageType__P148291, - "setWallAt": tiles_TileMap_setWallAt__P148292, - "sampleTilesByType": tiles_TileMap_sampleTilesByType__P148294, - "isInvalidIndex": tiles_TileMap_isInvalidIndex__P150411, - "draw": tiles_TileMap_draw__P150412, - "isObstacle": tiles_TileMap_isObstacle__P148295, - "getObstacle": tiles_TileMap_getObstacle__P148296, - "isOnWall": tiles_TileMap_isOnWall__P148297, - "getTileImage": tiles_TileMap_getTileImage__P148298, + "scale": tiles_TileMap_scale__P174894, + "set/scale": tiles_TileMap_scale__P174895, + "data": tiles_TileMap_data__P177026, + "offsetX": tiles_TileMap_offsetX__P174896, + "offsetY": tiles_TileMap_offsetY__P174897, + "areaWidth": tiles_TileMap_areaWidth__P174898, + "areaHeight": tiles_TileMap_areaHeight__P174899, + "layer": tiles_TileMap_layer__P174900, + "enabled": tiles_TileMap_enabled__P174902, + "setData": tiles_TileMap_setData__P174903, + "getTile": tiles_TileMap_getTile__P174904, + "getTileIndex": tiles_TileMap_getTileIndex__P174905, + "setTileAt": tiles_TileMap_setTileAt__P174906, + "getImageType": tiles_TileMap_getImageType__P174907, + "setWallAt": tiles_TileMap_setWallAt__P174908, + "sampleTilesByType": tiles_TileMap_sampleTilesByType__P174910, + "isInvalidIndex": tiles_TileMap_isInvalidIndex__P177027, + "draw": tiles_TileMap_draw__P177028, + "isObstacle": tiles_TileMap_isObstacle__P174911, + "getObstacle": tiles_TileMap_getObstacle__P174912, + "isOnWall": tiles_TileMap_isOnWall__P174913, + "getTileImage": tiles_TileMap_getTileImage__P174914, }, }); -const tiles_TileMapData__C148262_VT = mkVTable({ +const tiles_TileMapData__C174878_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 48, @@ -71119,20 +71162,20 @@ const tiles_TileMapData__C148262_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P148264, - "height": tiles_TileMapData_height__P148265, - "scale": tiles_TileMapData_scale__P148266, - "set/scale": tiles_TileMapData_scale__P148267, - "getTile": tiles_TileMapData_getTile__P148268, - "setTile": tiles_TileMapData_setTile__P148269, - "getTileset": tiles_TileMapData_getTileset__P148270, - "getTileImage": tiles_TileMapData_getTileImage__P148271, - "setWall": tiles_TileMapData_setWall__P148272, - "isWall": tiles_TileMapData_isWall__P148273, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P148274, + "width": tiles_TileMapData_width__P174880, + "height": tiles_TileMapData_height__P174881, + "scale": tiles_TileMapData_scale__P174882, + "set/scale": tiles_TileMapData_scale__P174883, + "getTile": tiles_TileMapData_getTile__P174884, + "setTile": tiles_TileMapData_setTile__P174885, + "getTileset": tiles_TileMapData_getTileset__P174886, + "getTileImage": tiles_TileMapData_getTileImage__P174887, + "setWall": tiles_TileMapData_setWall__P174888, + "isWall": tiles_TileMapData_isWall__P174889, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P174890, }, }); -const controller_Controller__C147870_VT = mkVTable({ +const controller_Controller__C174486_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 49, @@ -71151,33 +71194,33 @@ const controller_Controller__C147870_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P147875, - "set/_controlledSprites": controller_Controller__controlledSprites__P147876, - "id": controller_Controller_id__P147877, - "left": controller_Controller_left__P147879, - "right": controller_Controller_right__P147880, - "up": controller_Controller_up__P147881, - "down": controller_Controller_down__P147882, - "moveSprite": controller_Controller_moveSprite__P147886, - "button": controller_Controller_button__P150296, - "connected": controller_Controller_connected__P147889, - "set/connected": controller_Controller_connected__P147890, - "__preUpdate": controller_Controller___preUpdate__P147894, - "__update": controller_Controller___update__P147895, + "_controlledSprites": controller_Controller__controlledSprites__P174491, + "set/_controlledSprites": controller_Controller__controlledSprites__P174492, + "id": controller_Controller_id__P174493, + "left": controller_Controller_left__P174495, + "right": controller_Controller_right__P174496, + "up": controller_Controller_up__P174497, + "down": controller_Controller_down__P174498, + "moveSprite": controller_Controller_moveSprite__P174502, + "button": controller_Controller_button__P176912, + "connected": controller_Controller_connected__P174505, + "set/connected": controller_Controller_connected__P174506, + "__preUpdate": controller_Controller___preUpdate__P174510, + "__update": controller_Controller___update__P174511, }, }); -const ArcadePhysicsEngine__C148131_VT = mkVTable({ +const ArcadePhysicsEngine__C174747_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 43, lastSubtypeNo: 43, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P148140, - "removeSprite": ArcadePhysicsEngine_removeSprite__P148141, - "moveSprite": ArcadePhysicsEngine_moveSprite__P148145, - "draw": ArcadePhysicsEngine_draw__P148142, - "move": ArcadePhysicsEngine_move__P148143, + "addSprite": ArcadePhysicsEngine_addSprite__P174756, + "removeSprite": ArcadePhysicsEngine_removeSprite__P174757, + "moveSprite": ArcadePhysicsEngine_moveSprite__P174761, + "draw": ArcadePhysicsEngine_draw__P174758, + "move": ArcadePhysicsEngine_move__P174759, }, iface: { "sprites": null, @@ -71192,26 +71235,26 @@ const ArcadePhysicsEngine__C148131_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P148133, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P148134, - "minStep": ArcadePhysicsEngine_minStep__P148135, - "set/minStep": ArcadePhysicsEngine_minStep__P148136, - "maxStep": ArcadePhysicsEngine_maxStep__P148137, - "set/maxStep": ArcadePhysicsEngine_maxStep__P148138, - "addSprite": ArcadePhysicsEngine_addSprite__P148140, - "removeSprite": ArcadePhysicsEngine_removeSprite__P148141, - "draw": ArcadePhysicsEngine_draw__P148142, - "move": ArcadePhysicsEngine_move__P148143, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P150339, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P150340, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P150341, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P150342, - "moveSprite": ArcadePhysicsEngine_moveSprite__P148145, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P150343, - "constrain": ArcadePhysicsEngine_constrain__P150344, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P174749, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P174750, + "minStep": ArcadePhysicsEngine_minStep__P174751, + "set/minStep": ArcadePhysicsEngine_minStep__P174752, + "maxStep": ArcadePhysicsEngine_maxStep__P174753, + "set/maxStep": ArcadePhysicsEngine_maxStep__P174754, + "addSprite": ArcadePhysicsEngine_addSprite__P174756, + "removeSprite": ArcadePhysicsEngine_removeSprite__P174757, + "draw": ArcadePhysicsEngine_draw__P174758, + "move": ArcadePhysicsEngine_move__P174759, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P176955, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P176956, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P176957, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P176958, + "moveSprite": ArcadePhysicsEngine_moveSprite__P174761, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P176959, + "constrain": ArcadePhysicsEngine_constrain__P176960, }, }); -const sprites_SpriteMap__C148050_VT = mkVTable({ +const sprites_SpriteMap__C174666_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 50, @@ -71230,20 +71273,20 @@ const sprites_SpriteMap__C148050_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P148052, - "overlaps": sprites_SpriteMap_overlaps__P148053, - "draw": sprites_SpriteMap_draw__P148054, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P148055, - "clear": sprites_SpriteMap_clear__P148056, - "key": sprites_SpriteMap_key__P150302, - "insertAtKey": sprites_SpriteMap_insertAtKey__P150303, - "insertAABB": sprites_SpriteMap_insertAABB__P148057, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P150304, - "toString": sprites_SpriteMap_toString__P148058, + "neighbors": sprites_SpriteMap_neighbors__P174668, + "overlaps": sprites_SpriteMap_overlaps__P174669, + "draw": sprites_SpriteMap_draw__P174670, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P174671, + "clear": sprites_SpriteMap_clear__P174672, + "key": sprites_SpriteMap_key__P176918, + "insertAtKey": sprites_SpriteMap_insertAtKey__P176919, + "insertAABB": sprites_SpriteMap_insertAABB__P174673, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P176920, + "toString": sprites_SpriteMap_toString__P174674, }, - toStringMethod: sprites_SpriteMap_toString__P148058, + toStringMethod: sprites_SpriteMap_toString__P174674, }); -const control_FrameCallback__C146318_VT = mkVTable({ +const control_FrameCallback__C172934_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 51, @@ -71258,7 +71301,7 @@ const control_FrameCallback__C146318_VT = mkVTable({ "set/handler": null, }, }); -const control_Interval__C150092_VT = mkVTable({ +const control_Interval__C176708_VT = mkVTable({ name: "Interval", numFields: 4, classNo: 52, @@ -71275,11 +71318,11 @@ const control_Interval__C150092_VT = mkVTable({ "set/delay": null, "mode": null, "set/mode": null, - "work": control_Interval_work__P150093, - "cancel": control_Interval_cancel__P150094, + "work": control_Interval_work__P176709, + "cancel": control_Interval_cancel__P176710, }, }); -const info_PlayerInfo__C148184_VT = mkVTable({ +const info_PlayerInfo__C174800_VT = mkVTable({ name: "PlayerInfo", numFields: 12, classNo: 53, @@ -71312,22 +71355,22 @@ const info_PlayerInfo__C148184_VT = mkVTable({ "set/left": null, "up": null, "set/up": null, - "init": info_PlayerInfo_init__P150400, - "getState": info_PlayerInfo_getState__P148197, - "id": info_PlayerInfo_id__P148198, - "score": info_PlayerInfo_score__P148199, - "hasScore": info_PlayerInfo_hasScore__P148202, - "life": info_PlayerInfo_life__P148203, - "setLife": info_PlayerInfo_setLife__P148204, - "changeLifeBy": info_PlayerInfo_changeLifeBy__P148205, - "hasLife": info_PlayerInfo_hasLife__P148206, - "raiseLifeZero": info_PlayerInfo_raiseLifeZero__P148208, - "drawPlayer": info_PlayerInfo_drawPlayer__P148209, - "drawScore": info_PlayerInfo_drawScore__P148210, - "drawLives": info_PlayerInfo_drawLives__P148211, + "init": info_PlayerInfo_init__P177016, + "getState": info_PlayerInfo_getState__P174813, + "id": info_PlayerInfo_id__P174814, + "score": info_PlayerInfo_score__P174815, + "hasScore": info_PlayerInfo_hasScore__P174818, + "life": info_PlayerInfo_life__P174819, + "setLife": info_PlayerInfo_setLife__P174820, + "changeLifeBy": info_PlayerInfo_changeLifeBy__P174821, + "hasLife": info_PlayerInfo_hasLife__P174822, + "raiseLifeZero": info_PlayerInfo_raiseLifeZero__P174824, + "drawPlayer": info_PlayerInfo_drawPlayer__P174825, + "drawScore": info_PlayerInfo_drawScore__P174826, + "drawLives": info_PlayerInfo_drawLives__P174827, }, }); -const info_InfoState__C150345_VT = mkVTable({ +const info_InfoState__C176961_VT = mkVTable({ name: "InfoState", numFields: 10, classNo: 54, @@ -71358,17 +71401,17 @@ const info_InfoState__C150345_VT = mkVTable({ "set/countdownEndHandler": null, }, }); -const scene_Renderable__C148330_VT = mkVTable({ +const scene_Renderable__C174946_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 24, lastSubtypeNo: 24, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P148332, - "__draw": sprites_BaseSprite___draw__P147811, - "__drawCore": scene_Renderable___drawCore__P148333, - "__update": sprites_BaseSprite___update__P147813, + "__visible": scene_Renderable___visible__P174948, + "__draw": sprites_BaseSprite___draw__P174427, + "__drawCore": scene_Renderable___drawCore__P174949, + "__update": sprites_BaseSprite___update__P174429, }, iface: { "_z": null, @@ -71379,15 +71422,15 @@ const scene_Renderable__C148330_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P148332, - "__drawCore": scene_Renderable___drawCore__P148333, - "z": sprites_BaseSprite_z__P147809, - "set/z": sprites_BaseSprite_z__P147810, - "__draw": sprites_BaseSprite___draw__P147811, - "__update": sprites_BaseSprite___update__P147813, + "__visible": scene_Renderable___visible__P174948, + "__drawCore": scene_Renderable___drawCore__P174949, + "z": sprites_BaseSprite_z__P174425, + "set/z": sprites_BaseSprite_z__P174426, + "__draw": sprites_BaseSprite___draw__P174427, + "__update": sprites_BaseSprite___update__P174429, }, }); -const info_PlayerState__C148155_VT = mkVTable({ +const info_PlayerState__C174771_VT = mkVTable({ name: "PlayerState", numFields: 3, classNo: 55, @@ -71404,7 +71447,7 @@ const info_PlayerState__C148155_VT = mkVTable({ "set/lifeZeroHandler": null, }, }); -const tiles_WorldMap__C149936_VT = mkVTable({ +const tiles_WorldMap__C176552_VT = mkVTable({ name: "WorldMap", numFields: 2, classNo: 56, @@ -71419,7 +71462,7 @@ const tiles_WorldMap__C149936_VT = mkVTable({ "set/connections": null, }, }); -const effects_ParticleEffect__C148741_VT = mkVTable({ +const effects_ParticleEffect__C175357_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 57, @@ -71434,11 +71477,11 @@ const effects_ParticleEffect__C148741_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P148743, - "destroy": effects_ParticleEffect_destroy__P148744, + "start": effects_ParticleEffect_start__P175359, + "destroy": effects_ParticleEffect_destroy__P175360, }, }); -const effects_ScreenEffect__C148745_VT = mkVTable({ +const effects_ScreenEffect__C175361_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 58, @@ -71457,36 +71500,36 @@ const effects_ScreenEffect__C148745_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "startScreenEffect": effects_ScreenEffect_startScreenEffect__P148747, - "endScreenEffect": effects_ScreenEffect_endScreenEffect__P148748, - "start": effects_ParticleEffect_start__P148743, - "destroy": effects_ParticleEffect_destroy__P148744, + "startScreenEffect": effects_ScreenEffect_startScreenEffect__P175363, + "endScreenEffect": effects_ScreenEffect_endScreenEffect__P175364, + "start": effects_ParticleEffect_start__P175359, + "destroy": effects_ParticleEffect_destroy__P175360, }, }); -const particles_ParticleFactory__C148666_VT = mkVTable({ +const particles_ParticleFactory__C175282_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 59, lastSubtypeNo: 63, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P148668, - "drawParticle": particles_ParticleFactory_drawParticle__P148669, + "createParticle": particles_ParticleFactory_createParticle__P175284, + "drawParticle": particles_ParticleFactory_drawParticle__P175285, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P148668, - "drawParticle": particles_ParticleFactory_drawParticle__P148669, + "createParticle": particles_ParticleFactory_createParticle__P175284, + "drawParticle": particles_ParticleFactory_drawParticle__P175285, }, }); -const particles_SprayFactory__C148670_VT = mkVTable({ +const particles_SprayFactory__C175286_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 60, lastSubtypeNo: 63, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P148672, - "drawParticle": particles_SprayFactory_drawParticle__P148673, + "createParticle": particles_SprayFactory_createParticle__P175288, + "drawParticle": particles_SprayFactory_drawParticle__P175289, }, iface: { "speed": null, @@ -71495,21 +71538,21 @@ const particles_SprayFactory__C148670_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P148672, - "drawParticle": particles_SprayFactory_drawParticle__P148673, - "setSpeed": particles_SprayFactory_setSpeed__P148674, - "setDirection": particles_SprayFactory_setDirection__P148675, + "createParticle": particles_SprayFactory_createParticle__P175288, + "drawParticle": particles_SprayFactory_drawParticle__P175289, + "setSpeed": particles_SprayFactory_setSpeed__P175290, + "setDirection": particles_SprayFactory_setDirection__P175291, }, }); -const particles_AreaFactory__C148676_VT = mkVTable({ +const particles_AreaFactory__C175292_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 61, lastSubtypeNo: 63, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P148682, - "drawParticle": particles_AreaFactory_drawParticle__P148683, + "createParticle": particles_AreaFactory_createParticle__P175298, + "drawParticle": particles_AreaFactory_drawParticle__P175299, }, iface: { "speed": null, @@ -71528,21 +71571,21 @@ const particles_AreaFactory__C148676_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P148682, - "drawParticle": particles_AreaFactory_drawParticle__P148683, - "setSpeed": particles_SprayFactory_setSpeed__P148674, - "setDirection": particles_SprayFactory_setDirection__P148675, + "createParticle": particles_AreaFactory_createParticle__P175298, + "drawParticle": particles_AreaFactory_drawParticle__P175299, + "setSpeed": particles_SprayFactory_setSpeed__P175290, + "setDirection": particles_SprayFactory_setDirection__P175291, }, }); -const particles_ShapeFactory__C148692_VT = mkVTable({ +const particles_ShapeFactory__C175308_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 62, lastSubtypeNo: 63, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P148696, - "drawParticle": particles_ShapeFactory_drawParticle__P148695, + "createParticle": particles_ShapeFactory_createParticle__P175312, + "drawParticle": particles_ShapeFactory_drawParticle__P175311, }, iface: { "speed": null, @@ -71567,22 +71610,22 @@ const particles_ShapeFactory__C148692_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P148694, - "drawParticle": particles_ShapeFactory_drawParticle__P148695, - "createParticle": particles_ShapeFactory_createParticle__P148696, - "setSpeed": particles_SprayFactory_setSpeed__P148674, - "setDirection": particles_SprayFactory_setDirection__P148675, + "addShape": particles_ShapeFactory_addShape__P175310, + "drawParticle": particles_ShapeFactory_drawParticle__P175311, + "createParticle": particles_ShapeFactory_createParticle__P175312, + "setSpeed": particles_SprayFactory_setSpeed__P175290, + "setDirection": particles_SprayFactory_setDirection__P175291, }, }); -const particles_ConfettiFactory__C148697_VT = mkVTable({ +const particles_ConfettiFactory__C175313_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 63, lastSubtypeNo: 63, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P148696, - "drawParticle": particles_ShapeFactory_drawParticle__P148695, + "createParticle": particles_ShapeFactory_createParticle__P175312, + "drawParticle": particles_ShapeFactory_drawParticle__P175311, }, iface: { "speed": null, @@ -71607,25 +71650,25 @@ const particles_ConfettiFactory__C148697_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P148694, - "drawParticle": particles_ShapeFactory_drawParticle__P148695, - "createParticle": particles_ShapeFactory_createParticle__P148696, - "setSpeed": particles_SprayFactory_setSpeed__P148674, - "setDirection": particles_SprayFactory_setDirection__P148675, + "addShape": particles_ShapeFactory_addShape__P175310, + "drawParticle": particles_ShapeFactory_drawParticle__P175311, + "createParticle": particles_ShapeFactory_createParticle__P175312, + "setSpeed": particles_SprayFactory_setSpeed__P175290, + "setDirection": particles_SprayFactory_setDirection__P175291, }, }); -const particles_ParticleSource__C148630_VT = mkVTable({ +const particles_ParticleSource__C175246_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 25, lastSubtypeNo: 25, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P147808, - "__draw": particles_ParticleSource___draw__P148636, - "__drawCore": sprites_BaseSprite___drawCore__P147812, - "__update": sprites_BaseSprite___update__P147813, - "updateParticle": particles_ParticleSource_updateParticle__P150822, + "__visible": sprites_BaseSprite___visible__P174424, + "__draw": particles_ParticleSource___draw__P175252, + "__drawCore": sprites_BaseSprite___drawCore__P174428, + "__update": sprites_BaseSprite___update__P174429, + "updateParticle": particles_ParticleSource_updateParticle__P177438, }, iface: { "_z": null, @@ -71654,29 +71697,29 @@ const particles_ParticleSource__C148630_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P148636, - "_update": particles_ParticleSource__update__P148637, - "_prune": particles_ParticleSource__prune__P148638, - "setAcceleration": particles_ParticleSource_setAcceleration__P148639, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P148641, - "enabled": particles_ParticleSource_enabled__P148642, - "set/enabled": particles_ParticleSource_enabled__P148643, - "destroy": particles_ParticleSource_destroy__P148644, - "clear": particles_ParticleSource_clear__P148645, - "setAnchor": particles_ParticleSource_setAnchor__P148646, - "setRate": particles_ParticleSource_setRate__P148647, - "factory": particles_ParticleSource_factory__P148648, - "setFactory": particles_ParticleSource_setFactory__P148649, - "updateParticle": particles_ParticleSource_updateParticle__P150822, - "drawParticle": particles_ParticleSource_drawParticle__P150823, - "__visible": sprites_BaseSprite___visible__P147808, - "z": sprites_BaseSprite_z__P147809, - "set/z": sprites_BaseSprite_z__P147810, - "__drawCore": sprites_BaseSprite___drawCore__P147812, - "__update": sprites_BaseSprite___update__P147813, + "__draw": particles_ParticleSource___draw__P175252, + "_update": particles_ParticleSource__update__P175253, + "_prune": particles_ParticleSource__prune__P175254, + "setAcceleration": particles_ParticleSource_setAcceleration__P175255, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P175257, + "enabled": particles_ParticleSource_enabled__P175258, + "set/enabled": particles_ParticleSource_enabled__P175259, + "destroy": particles_ParticleSource_destroy__P175260, + "clear": particles_ParticleSource_clear__P175261, + "setAnchor": particles_ParticleSource_setAnchor__P175262, + "setRate": particles_ParticleSource_setRate__P175263, + "factory": particles_ParticleSource_factory__P175264, + "setFactory": particles_ParticleSource_setFactory__P175265, + "updateParticle": particles_ParticleSource_updateParticle__P177438, + "drawParticle": particles_ParticleSource_drawParticle__P177439, + "__visible": sprites_BaseSprite___visible__P174424, + "z": sprites_BaseSprite_z__P174425, + "set/z": sprites_BaseSprite_z__P174426, + "__drawCore": sprites_BaseSprite___drawCore__P174428, + "__update": sprites_BaseSprite___update__P174429, }, }); -const particles_Particle__C148611_VT = mkVTable({ +const particles_Particle__C175227_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 64, @@ -71703,16 +71746,16 @@ const particles_Particle__C148611_VT = mkVTable({ "set/color": null, }, }); -const game_BaseDialog__C148429_VT = mkVTable({ +const game_BaseDialog__C175045_VT = mkVTable({ name: "BaseDialog", numFields: 11, classNo: 65, lastSubtypeNo: 67, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P148442, - "setText": game_BaseDialog_setText__P148443, - "drawTextCore": game_BaseDialog_drawTextCore__P148444, + "update": game_BaseDialog_update__P175058, + "setText": game_BaseDialog_setText__P175059, + "drawTextCore": game_BaseDialog_drawTextCore__P175060, }, iface: { "image": null, @@ -71737,30 +71780,30 @@ const game_BaseDialog__C148429_VT = mkVTable({ "set/font": null, "textColor": null, "set/textColor": null, - "update": game_BaseDialog_update__P148442, - "setText": game_BaseDialog_setText__P148443, - "drawTextCore": game_BaseDialog_drawTextCore__P148444, - "drawCursorRow": game_BaseDialog_drawCursorRow__P148445, - "drawBorder": game_BaseDialog_drawBorder__P150440, - "fastFill": game_BaseDialog_fastFill__P150441, - "clearInterior": game_BaseDialog_clearInterior__P150442, - "drawPartial": game_BaseDialog_drawPartial__P150443, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P150444, - "textAreaWidth": game_BaseDialog_textAreaWidth__P150446, - "textAreaHeight": game_BaseDialog_textAreaHeight__P150447, - "setFont": game_BaseDialog_setFont__P150448, + "update": game_BaseDialog_update__P175058, + "setText": game_BaseDialog_setText__P175059, + "drawTextCore": game_BaseDialog_drawTextCore__P175060, + "drawCursorRow": game_BaseDialog_drawCursorRow__P175061, + "drawBorder": game_BaseDialog_drawBorder__P177056, + "fastFill": game_BaseDialog_fastFill__P177057, + "clearInterior": game_BaseDialog_clearInterior__P177058, + "drawPartial": game_BaseDialog_drawPartial__P177059, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P177060, + "textAreaWidth": game_BaseDialog_textAreaWidth__P177062, + "textAreaHeight": game_BaseDialog_textAreaHeight__P177063, + "setFont": game_BaseDialog_setFont__P177064, }, }); -const game_GameOverDialog__C148468_VT = mkVTable({ +const game_GameOverDialog__C175084_VT = mkVTable({ name: "GameOverDialog", numFields: 16, classNo: 66, lastSubtypeNo: 66, maxBgInstances: null, methods: { - "update": game_GameOverDialog_update__P148471, - "setText": game_BaseDialog_setText__P148443, - "drawTextCore": game_GameOverDialog_drawTextCore__P148472, + "update": game_GameOverDialog_update__P175087, + "setText": game_BaseDialog_setText__P175059, + "drawTextCore": game_GameOverDialog_drawTextCore__P175088, }, iface: { "image": null, @@ -71795,33 +71838,33 @@ const game_GameOverDialog__C148468_VT = mkVTable({ "set/score": null, "highScore": null, "set/highScore": null, - "displayCursor": game_GameOverDialog_displayCursor__P148470, - "update": game_GameOverDialog_update__P148471, - "drawTextCore": game_GameOverDialog_drawTextCore__P148472, - "setText": game_BaseDialog_setText__P148443, - "drawCursorRow": game_BaseDialog_drawCursorRow__P148445, - "drawBorder": game_BaseDialog_drawBorder__P150440, - "fastFill": game_BaseDialog_fastFill__P150441, - "clearInterior": game_BaseDialog_clearInterior__P150442, - "drawPartial": game_BaseDialog_drawPartial__P150443, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P150444, - "textAreaWidth": game_BaseDialog_textAreaWidth__P150446, - "textAreaHeight": game_BaseDialog_textAreaHeight__P150447, - "setFont": game_BaseDialog_setFont__P150448, + "displayCursor": game_GameOverDialog_displayCursor__P175086, + "update": game_GameOverDialog_update__P175087, + "drawTextCore": game_GameOverDialog_drawTextCore__P175088, + "setText": game_BaseDialog_setText__P175059, + "drawCursorRow": game_BaseDialog_drawCursorRow__P175061, + "drawBorder": game_BaseDialog_drawBorder__P177056, + "fastFill": game_BaseDialog_fastFill__P177057, + "clearInterior": game_BaseDialog_clearInterior__P177058, + "drawPartial": game_BaseDialog_drawPartial__P177059, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P177060, + "textAreaWidth": game_BaseDialog_textAreaWidth__P177062, + "textAreaHeight": game_BaseDialog_textAreaHeight__P177063, + "setFont": game_BaseDialog_setFont__P177064, }, }); -const story_ShapeSprite__C149782_VT = mkVTable({ +const story_ShapeSprite__C176398_VT = mkVTable({ name: "ShapeSprite", numFields: 6, classNo: 26, lastSubtypeNo: 28, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P147808, - "__draw": sprites_BaseSprite___draw__P147811, - "__drawCore": story_ShapeSprite___drawCore__P149791, - "__update": story_ShapeSprite___update__P149792, - "drawShape": story_ShapeSprite_drawShape__P152452, + "__visible": sprites_BaseSprite___visible__P174424, + "__draw": sprites_BaseSprite___draw__P174427, + "__drawCore": story_ShapeSprite___drawCore__P176407, + "__update": story_ShapeSprite___update__P176408, + "drawShape": story_ShapeSprite_drawShape__P179068, }, iface: { "_z": null, @@ -71836,30 +71879,30 @@ const story_ShapeSprite__C149782_VT = mkVTable({ "set/top": null, "parent": null, "set/parent": null, - "setColor": story_ShapeSprite_setColor__P149788, - "attachToTask": story_ShapeSprite_attachToTask__P149789, - "destroy": story_ShapeSprite_destroy__P149790, - "__drawCore": story_ShapeSprite___drawCore__P149791, - "__update": story_ShapeSprite___update__P149792, - "drawShape": story_ShapeSprite_drawShape__P152452, - "__visible": sprites_BaseSprite___visible__P147808, - "z": sprites_BaseSprite_z__P147809, - "set/z": sprites_BaseSprite_z__P147810, - "__draw": sprites_BaseSprite___draw__P147811, + "setColor": story_ShapeSprite_setColor__P176404, + "attachToTask": story_ShapeSprite_attachToTask__P176405, + "destroy": story_ShapeSprite_destroy__P176406, + "__drawCore": story_ShapeSprite___drawCore__P176407, + "__update": story_ShapeSprite___update__P176408, + "drawShape": story_ShapeSprite_drawShape__P179068, + "__visible": sprites_BaseSprite___visible__P174424, + "z": sprites_BaseSprite_z__P174425, + "set/z": sprites_BaseSprite_z__P174426, + "__draw": sprites_BaseSprite___draw__P174427, }, }); -const story_TextSprite__C149793_VT = mkVTable({ +const story_TextSprite__C176409_VT = mkVTable({ name: "TextSprite", numFields: 7, classNo: 27, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P147808, - "__draw": sprites_BaseSprite___draw__P147811, - "__drawCore": story_ShapeSprite___drawCore__P149791, - "__update": story_ShapeSprite___update__P149792, - "drawShape": story_TextSprite_drawShape__P152454, + "__visible": sprites_BaseSprite___visible__P174424, + "__draw": sprites_BaseSprite___draw__P174427, + "__drawCore": story_ShapeSprite___drawCore__P176407, + "__update": story_ShapeSprite___update__P176408, + "drawShape": story_TextSprite_drawShape__P179070, }, iface: { "_z": null, @@ -71876,33 +71919,33 @@ const story_TextSprite__C149793_VT = mkVTable({ "set/parent": null, "text": null, "set/text": null, - "setText": story_TextSprite_setText__P149795, - "getWidth": story_TextSprite_getWidth__P149796, - "getHeight": story_TextSprite_getHeight__P149797, - "drawShape": story_TextSprite_drawShape__P152454, - "setColor": story_ShapeSprite_setColor__P149788, - "attachToTask": story_ShapeSprite_attachToTask__P149789, - "destroy": story_ShapeSprite_destroy__P149790, - "__drawCore": story_ShapeSprite___drawCore__P149791, - "__update": story_ShapeSprite___update__P149792, - "__visible": sprites_BaseSprite___visible__P147808, - "z": sprites_BaseSprite_z__P147809, - "set/z": sprites_BaseSprite_z__P147810, - "__draw": sprites_BaseSprite___draw__P147811, + "setText": story_TextSprite_setText__P176411, + "getWidth": story_TextSprite_getWidth__P176412, + "getHeight": story_TextSprite_getHeight__P176413, + "drawShape": story_TextSprite_drawShape__P179070, + "setColor": story_ShapeSprite_setColor__P176404, + "attachToTask": story_ShapeSprite_attachToTask__P176405, + "destroy": story_ShapeSprite_destroy__P176406, + "__drawCore": story_ShapeSprite___drawCore__P176407, + "__update": story_ShapeSprite___update__P176408, + "__visible": sprites_BaseSprite___visible__P174424, + "z": sprites_BaseSprite_z__P174425, + "set/z": sprites_BaseSprite_z__P174426, + "__draw": sprites_BaseSprite___draw__P174427, }, }); -const story_RectangleSprite__C149798_VT = mkVTable({ +const story_RectangleSprite__C176414_VT = mkVTable({ name: "RectangleSprite", numFields: 9, classNo: 28, lastSubtypeNo: 28, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P147808, - "__draw": sprites_BaseSprite___draw__P147811, - "__drawCore": story_ShapeSprite___drawCore__P149791, - "__update": story_ShapeSprite___update__P149792, - "drawShape": story_RectangleSprite_drawShape__P152456, + "__visible": sprites_BaseSprite___visible__P174424, + "__draw": sprites_BaseSprite___draw__P174427, + "__drawCore": story_ShapeSprite___drawCore__P176407, + "__update": story_ShapeSprite___update__P176408, + "drawShape": story_RectangleSprite_drawShape__P179072, }, iface: { "_z": null, @@ -71923,30 +71966,30 @@ const story_RectangleSprite__C149798_VT = mkVTable({ "set/height": null, "isOutline": null, "set/isOutline": null, - "setDimensions": story_RectangleSprite_setDimensions__P149802, - "drawShape": story_RectangleSprite_drawShape__P152456, - "setColor": story_ShapeSprite_setColor__P149788, - "attachToTask": story_ShapeSprite_attachToTask__P149789, - "destroy": story_ShapeSprite_destroy__P149790, - "__drawCore": story_ShapeSprite___drawCore__P149791, - "__update": story_ShapeSprite___update__P149792, - "__visible": sprites_BaseSprite___visible__P147808, - "z": sprites_BaseSprite_z__P147809, - "set/z": sprites_BaseSprite_z__P147810, - "__draw": sprites_BaseSprite___draw__P147811, + "setDimensions": story_RectangleSprite_setDimensions__P176418, + "drawShape": story_RectangleSprite_drawShape__P179072, + "setColor": story_ShapeSprite_setColor__P176404, + "attachToTask": story_ShapeSprite_attachToTask__P176405, + "destroy": story_ShapeSprite_destroy__P176406, + "__drawCore": story_ShapeSprite___drawCore__P176407, + "__update": story_ShapeSprite___update__P176408, + "__visible": sprites_BaseSprite___visible__P174424, + "z": sprites_BaseSprite_z__P174425, + "set/z": sprites_BaseSprite_z__P174426, + "__draw": sprites_BaseSprite___draw__P174427, }, }); -const story_Bubble__C149686_VT = mkVTable({ +const story_Bubble__C176302_VT = mkVTable({ name: "Bubble", numFields: 23, classNo: 29, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P147808, - "__draw": sprites_BaseSprite___draw__P147811, - "__drawCore": story_Bubble___drawCore__P149696, - "__update": story_Bubble___update__P149701, + "__visible": sprites_BaseSprite___visible__P174424, + "__draw": sprites_BaseSprite___draw__P174427, + "__drawCore": story_Bubble___drawCore__P176312, + "__update": story_Bubble___update__P176317, }, iface: { "_z": null, @@ -71995,32 +72038,32 @@ const story_Bubble__C149686_VT = mkVTable({ "set/topAlign": null, "relativeToCamera": null, "set/relativeToCamera": null, - "isDone": story_Bubble_isDone__P149693, - "cancel": story_Bubble_cancel__P149694, - "setAlign": story_Bubble_setAlign__P149695, - "__drawCore": story_Bubble___drawCore__P149696, - "currentPage": story_Bubble_currentPage__P152421, - "currentLine": story_Bubble_currentLine__P152422, - "currentPart": story_Bubble_currentPart__P152423, - "startMessage": story_Bubble_startMessage__P149697, - "setAnchor": story_Bubble_setAnchor__P149698, - "__update": story_Bubble___update__P149701, - "stop": story_Bubble_stop__P149702, - "destroy": story_Bubble_destroy__P149703, - "updateCore": story_Bubble_updateCore__P152424, - "setRate": story_Bubble_setRate__P152425, - "advancePart": story_Bubble_advancePart__P152426, - "advanceLine": story_Bubble_advanceLine__P152427, - "advancePage": story_Bubble_advancePage__P152428, - "drawPart": story_Bubble_drawPart__P152429, - "drawLine": story_Bubble_drawLine__P152430, - "__visible": sprites_BaseSprite___visible__P147808, - "z": sprites_BaseSprite_z__P147809, - "set/z": sprites_BaseSprite_z__P147810, - "__draw": sprites_BaseSprite___draw__P147811, + "isDone": story_Bubble_isDone__P176309, + "cancel": story_Bubble_cancel__P176310, + "setAlign": story_Bubble_setAlign__P176311, + "__drawCore": story_Bubble___drawCore__P176312, + "currentPage": story_Bubble_currentPage__P179037, + "currentLine": story_Bubble_currentLine__P179038, + "currentPart": story_Bubble_currentPart__P179039, + "startMessage": story_Bubble_startMessage__P176313, + "setAnchor": story_Bubble_setAnchor__P176314, + "__update": story_Bubble___update__P176317, + "stop": story_Bubble_stop__P176318, + "destroy": story_Bubble_destroy__P176319, + "updateCore": story_Bubble_updateCore__P179040, + "setRate": story_Bubble_setRate__P179041, + "advancePart": story_Bubble_advancePart__P179042, + "advanceLine": story_Bubble_advanceLine__P179043, + "advancePage": story_Bubble_advancePage__P179044, + "drawPart": story_Bubble_drawPart__P179045, + "drawLine": story_Bubble_drawLine__P179046, + "__visible": sprites_BaseSprite___visible__P174424, + "z": sprites_BaseSprite_z__P174425, + "set/z": sprites_BaseSprite_z__P174426, + "__draw": sprites_BaseSprite___draw__P174427, }, }); -const story_Script__C149717_VT = mkVTable({ +const story_Script__C176333_VT = mkVTable({ name: "Script", numFields: 6, classNo: 68, @@ -72041,12 +72084,12 @@ const story_Script__C149717_VT = mkVTable({ "set/finalPagePauseLength": null, "relativeToCamera": null, "set/relativeToCamera": null, - "addLineToCurrentPage": story_Script_addLineToCurrentPage__P149725, - "newPage": story_Script_newPage__P149726, - "setColors": story_Script_setColors__P149727, + "addLineToCurrentPage": story_Script_addLineToCurrentPage__P176341, + "newPage": story_Script_newPage__P176342, + "setColors": story_Script_setColors__P176343, }, }); -const story_MessagePage__C149683_VT = mkVTable({ +const story_MessagePage__C176299_VT = mkVTable({ name: "MessagePage", numFields: 1, classNo: 69, @@ -72059,7 +72102,7 @@ const story_MessagePage__C149683_VT = mkVTable({ "set/lines": null, }, }); -const story_MessagePart__C149670_VT = mkVTable({ +const story_MessagePart__C176286_VT = mkVTable({ name: "MessagePart", numFields: 4, classNo: 70, @@ -72076,10 +72119,10 @@ const story_MessagePart__C149670_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "substring": story_MessagePart_substring__P149676, + "substring": story_MessagePart_substring__P176292, }, }); -const story_MessageLine__C149677_VT = mkVTable({ +const story_MessageLine__C176293_VT = mkVTable({ name: "MessageLine", numFields: 3, classNo: 71, @@ -72096,7 +72139,7 @@ const story_MessageLine__C149677_VT = mkVTable({ "set/height": null, }, }); -const sprites_FollowingSprite__C147919_VT = mkVTable({ +const sprites_FollowingSprite__C174535_VT = mkVTable({ name: "FollowingSprite", numFields: 4, classNo: 72, @@ -72115,7 +72158,7 @@ const sprites_FollowingSprite__C147919_VT = mkVTable({ "set/turnRate": null, }, }); -const scene_OverlapHandler__C148344_VT = mkVTable({ +const scene_OverlapHandler__C174960_VT = mkVTable({ name: "OverlapHandler", numFields: 3, classNo: 73, @@ -72132,7 +72175,7 @@ const scene_OverlapHandler__C148344_VT = mkVTable({ "set/handler": null, }, }); -const tiles_Location__C148247_VT = mkVTable({ +const tiles_Location__C174863_VT = mkVTable({ name: "Location", numFields: 3, classNo: 74, @@ -72147,15 +72190,15 @@ const tiles_Location__C148247_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "col": tiles_Location_col__P148248, - "row": tiles_Location_row__P148249, - "x": tiles_Location_x__P148251, - "y": tiles_Location_y__P148252, - "tileSet": tiles_Location_tileSet__P148253, - "place": tiles_Location_place__P148254, + "col": tiles_Location_col__P174864, + "row": tiles_Location_row__P174865, + "x": tiles_Location_x__P174867, + "y": tiles_Location_y__P174868, + "tileSet": tiles_Location_tileSet__P174869, + "place": tiles_Location_place__P174870, }, }); -const game_Hitbox__C147906_VT = mkVTable({ +const game_Hitbox__C174522_VT = mkVTable({ name: "Hitbox", numFields: 5, classNo: 75, @@ -72174,13 +72217,13 @@ const game_Hitbox__C147906_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P147913, - "top": game_Hitbox_top__P147914, - "right": game_Hitbox_right__P147915, - "bottom": game_Hitbox_bottom__P147916, + "left": game_Hitbox_left__P174529, + "top": game_Hitbox_top__P174530, + "right": game_Hitbox_right__P174531, + "bottom": game_Hitbox_bottom__P174532, }, }); -const lantern_LanternEffect__C149873_VT = mkVTable({ +const lantern_LanternEffect__C176489_VT = mkVTable({ name: "LanternEffect", numFields: 5, classNo: 76, @@ -72199,14 +72242,14 @@ const lantern_LanternEffect__C149873_VT = mkVTable({ "set/running": null, "breathing": null, "set/breathing": null, - "getInstance": lantern_LanternEffect_getInstance__P149874, - "startScreenEffect": lantern_LanternEffect_startScreenEffect__P149875, - "stopScreenEffect": lantern_LanternEffect_stopScreenEffect__P149876, - "setAnchor": lantern_LanternEffect_setAnchor__P149877, - "setBandWidth": lantern_LanternEffect_setBandWidth__P149878, + "getInstance": lantern_LanternEffect_getInstance__P176490, + "startScreenEffect": lantern_LanternEffect_startScreenEffect__P176491, + "stopScreenEffect": lantern_LanternEffect_stopScreenEffect__P176492, + "setAnchor": lantern_LanternEffect_setAnchor__P176493, + "setBandWidth": lantern_LanternEffect_setBandWidth__P176494, }, }); -const lantern_LightSource__C149866_VT = mkVTable({ +const lantern_LightSource__C176482_VT = mkVTable({ name: "LightSource", numFields: 7, classNo: 77, @@ -72229,10 +72272,10 @@ const lantern_LightSource__C149866_VT = mkVTable({ "set/bandWidth": null, "centerRadius": null, "set/centerRadius": null, - "apply": lantern_LightSource_apply__P149872, + "apply": lantern_LightSource_apply__P176488, }, }); -const tiles_OverWorldState__C152498_VT = mkVTable({ +const tiles_OverWorldState__C179114_VT = mkVTable({ name: "OverWorldState", numFields: 5, classNo: 78, @@ -72251,12 +72294,12 @@ const tiles_OverWorldState__C152498_VT = mkVTable({ "set/locations": null, "listeners": null, "set/listeners": null, - "getInstance": tiles_OverWorldState_getInstance__P152499, - "callUnloadListeners": tiles_OverWorldState_callUnloadListeners__P152500, - "getUnloadListeners": tiles_OverWorldState_getUnloadListeners__P152501, + "getInstance": tiles_OverWorldState_getInstance__P179115, + "callUnloadListeners": tiles_OverWorldState_callUnloadListeners__P179116, + "getUnloadListeners": tiles_OverWorldState_getUnloadListeners__P179117, }, }); -const sprites_SpriteSet__C148067_VT = mkVTable({ +const sprites_SpriteSet__C174683_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 79, @@ -72267,16 +72310,16 @@ const sprites_SpriteSet__C148067_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P148070, - "sprites": sprites_SpriteSet_sprites__P148071, - "add": sprites_SpriteSet_add__P148072, - "remove": sprites_SpriteSet_remove__P148074, - "contains": sprites_SpriteSet_contains__P148075, - "toString": sprites_SpriteSet_toString__P148078, + "length": sprites_SpriteSet_length__P174686, + "sprites": sprites_SpriteSet_sprites__P174687, + "add": sprites_SpriteSet_add__P174688, + "remove": sprites_SpriteSet_remove__P174690, + "contains": sprites_SpriteSet_contains__P174691, + "toString": sprites_SpriteSet_toString__P174694, }, - toStringMethod: sprites_SpriteSet_toString__P148078, + toStringMethod: sprites_SpriteSet_toString__P174694, }); -const animation_PathPreset__C148821_VT = mkVTable({ +const animation_PathPreset__C175437_VT = mkVTable({ name: "PathPreset", numFields: 1, classNo: 80, @@ -72289,7 +72332,7 @@ const animation_PathPreset__C148821_VT = mkVTable({ "set/pathString": null, }, }); -const animation_Point__C148817_VT = mkVTable({ +const animation_Point__C175433_VT = mkVTable({ name: "Point", numFields: 2, classNo: 81, @@ -72304,7 +72347,7 @@ const animation_Point__C148817_VT = mkVTable({ "set/y": null, }, }); -const animation_Path__C148823_VT = mkVTable({ +const animation_Path__C175439_VT = mkVTable({ name: "Path", numFields: 2, classNo: 82, @@ -72317,22 +72360,22 @@ const animation_Path__C148823_VT = mkVTable({ "set/nodes": null, "lastNode": null, "set/lastNode": null, - "generateNode": animation_Path_generateNode__P150953, - "commandToArgCount": animation_Path_commandToArgCount__P150954, - "parse": animation_Path_parse__P148825, - "add": animation_Path_add__P148826, - "length": animation_Path_length__P148827, - "run": animation_Path_run__P148828, + "generateNode": animation_Path_generateNode__P177569, + "commandToArgCount": animation_Path_commandToArgCount__P177570, + "parse": animation_Path_parse__P175441, + "add": animation_Path_add__P175442, + "length": animation_Path_length__P175443, + "run": animation_Path_run__P175444, }, }); -const animation_SpriteAnimation__C148853_VT = mkVTable({ +const animation_SpriteAnimation__C175469_VT = mkVTable({ name: "SpriteAnimation", numFields: 3, classNo: 83, lastSubtypeNo: 85, maxBgInstances: null, methods: { - "update": animation_SpriteAnimation_update__P148856, + "update": animation_SpriteAnimation_update__P175472, }, iface: { "startedAt": null, @@ -72341,18 +72384,18 @@ const animation_SpriteAnimation__C148853_VT = mkVTable({ "set/sprite": null, "loop": null, "set/loop": null, - "init": animation_SpriteAnimation_init__P148855, - "update": animation_SpriteAnimation_update__P148856, + "init": animation_SpriteAnimation_init__P175471, + "update": animation_SpriteAnimation_update__P175472, }, }); -const animation_MovementAnimation__C148860_VT = mkVTable({ +const animation_MovementAnimation__C175476_VT = mkVTable({ name: "MovementAnimation", numFields: 5, classNo: 84, lastSubtypeNo: 84, maxBgInstances: null, methods: { - "update": animation_MovementAnimation_update__P148862, + "update": animation_MovementAnimation_update__P175478, }, iface: { "startedAt": null, @@ -72365,18 +72408,18 @@ const animation_MovementAnimation__C148860_VT = mkVTable({ "set/path": null, "nodeInterval": null, "set/nodeInterval": null, - "update": animation_MovementAnimation_update__P148862, - "init": animation_SpriteAnimation_init__P148855, + "update": animation_MovementAnimation_update__P175478, + "init": animation_SpriteAnimation_init__P175471, }, }); -const animation_ImageAnimation__C148857_VT = mkVTable({ +const animation_ImageAnimation__C175473_VT = mkVTable({ name: "ImageAnimation", numFields: 6, classNo: 85, lastSubtypeNo: 85, maxBgInstances: null, methods: { - "update": animation_ImageAnimation_update__P148859, + "update": animation_ImageAnimation_update__P175475, }, iface: { "startedAt": null, @@ -72391,60 +72434,60 @@ const animation_ImageAnimation__C148857_VT = mkVTable({ "set/frames": null, "frameInterval": null, "set/frameInterval": null, - "update": animation_ImageAnimation_update__P148859, - "init": animation_SpriteAnimation_init__P148855, + "update": animation_ImageAnimation_update__P175475, + "init": animation_SpriteAnimation_init__P175471, }, }); -const animation_PathNode__C148829_VT = mkVTable({ +const animation_PathNode__C175445_VT = mkVTable({ name: "PathNode", numFields: 1, classNo: 86, lastSubtypeNo: 90, maxBgInstances: null, methods: { - "apply": animation_PathNode_apply__P148832, - "getLastControlPoint": animation_PathNode_getLastControlPoint__P148833, - "getEndPoint": animation_PathNode_getEndPoint__P148834, + "apply": animation_PathNode_apply__P175448, + "getLastControlPoint": animation_PathNode_getLastControlPoint__P175449, + "getEndPoint": animation_PathNode_getEndPoint__P175450, }, iface: { "setStart": null, "set/setStart": null, - "apply": animation_PathNode_apply__P148832, - "getLastControlPoint": animation_PathNode_getLastControlPoint__P148833, - "getEndPoint": animation_PathNode_getEndPoint__P148834, + "apply": animation_PathNode_apply__P175448, + "getLastControlPoint": animation_PathNode_getLastControlPoint__P175449, + "getEndPoint": animation_PathNode_getEndPoint__P175450, }, }); -const animation_MoveTo__C148835_VT = mkVTable({ +const animation_MoveTo__C175451_VT = mkVTable({ name: "MoveTo", numFields: 2, classNo: 87, lastSubtypeNo: 87, maxBgInstances: null, methods: { - "apply": animation_MoveTo_apply__P148837, - "getLastControlPoint": animation_PathNode_getLastControlPoint__P148833, - "getEndPoint": animation_MoveTo_getEndPoint__P148838, + "apply": animation_MoveTo_apply__P175453, + "getLastControlPoint": animation_PathNode_getLastControlPoint__P175449, + "getEndPoint": animation_MoveTo_getEndPoint__P175454, }, iface: { "setStart": null, "set/setStart": null, "p1": null, "set/p1": null, - "apply": animation_MoveTo_apply__P148837, - "getEndPoint": animation_MoveTo_getEndPoint__P148838, - "getLastControlPoint": animation_PathNode_getLastControlPoint__P148833, + "apply": animation_MoveTo_apply__P175453, + "getEndPoint": animation_MoveTo_getEndPoint__P175454, + "getLastControlPoint": animation_PathNode_getLastControlPoint__P175449, }, }); -const animation_LineTo__C148839_VT = mkVTable({ +const animation_LineTo__C175455_VT = mkVTable({ name: "LineTo", numFields: 3, classNo: 88, lastSubtypeNo: 88, maxBgInstances: null, methods: { - "apply": animation_LineTo_apply__P148841, - "getLastControlPoint": animation_PathNode_getLastControlPoint__P148833, - "getEndPoint": animation_LineTo_getEndPoint__P148842, + "apply": animation_LineTo_apply__P175457, + "getLastControlPoint": animation_PathNode_getLastControlPoint__P175449, + "getEndPoint": animation_LineTo_getEndPoint__P175458, }, iface: { "setStart": null, @@ -72453,21 +72496,21 @@ const animation_LineTo__C148839_VT = mkVTable({ "set/p0": null, "p1": null, "set/p1": null, - "apply": animation_LineTo_apply__P148841, - "getEndPoint": animation_LineTo_getEndPoint__P148842, - "getLastControlPoint": animation_PathNode_getLastControlPoint__P148833, + "apply": animation_LineTo_apply__P175457, + "getEndPoint": animation_LineTo_getEndPoint__P175458, + "getLastControlPoint": animation_PathNode_getLastControlPoint__P175449, }, }); -const animation_QuadraticCurveTo__C148843_VT = mkVTable({ +const animation_QuadraticCurveTo__C175459_VT = mkVTable({ name: "QuadraticCurveTo", numFields: 4, classNo: 89, lastSubtypeNo: 89, maxBgInstances: null, methods: { - "apply": animation_QuadraticCurveTo_apply__P148845, - "getLastControlPoint": animation_QuadraticCurveTo_getLastControlPoint__P148846, - "getEndPoint": animation_QuadraticCurveTo_getEndPoint__P148847, + "apply": animation_QuadraticCurveTo_apply__P175461, + "getLastControlPoint": animation_QuadraticCurveTo_getLastControlPoint__P175462, + "getEndPoint": animation_QuadraticCurveTo_getEndPoint__P175463, }, iface: { "setStart": null, @@ -72478,21 +72521,21 @@ const animation_QuadraticCurveTo__C148843_VT = mkVTable({ "set/p1": null, "p2": null, "set/p2": null, - "apply": animation_QuadraticCurveTo_apply__P148845, - "getLastControlPoint": animation_QuadraticCurveTo_getLastControlPoint__P148846, - "getEndPoint": animation_QuadraticCurveTo_getEndPoint__P148847, + "apply": animation_QuadraticCurveTo_apply__P175461, + "getLastControlPoint": animation_QuadraticCurveTo_getLastControlPoint__P175462, + "getEndPoint": animation_QuadraticCurveTo_getEndPoint__P175463, }, }); -const animation_CubicCurveTo__C148848_VT = mkVTable({ +const animation_CubicCurveTo__C175464_VT = mkVTable({ name: "CubicCurveTo", numFields: 5, classNo: 90, lastSubtypeNo: 90, maxBgInstances: null, methods: { - "apply": animation_CubicCurveTo_apply__P148850, - "getLastControlPoint": animation_CubicCurveTo_getLastControlPoint__P148851, - "getEndPoint": animation_CubicCurveTo_getEndPoint__P148852, + "apply": animation_CubicCurveTo_apply__P175466, + "getLastControlPoint": animation_CubicCurveTo_getLastControlPoint__P175467, + "getEndPoint": animation_CubicCurveTo_getEndPoint__P175468, }, iface: { "setStart": null, @@ -72505,12 +72548,12 @@ const animation_CubicCurveTo__C148848_VT = mkVTable({ "set/p2": null, "p3": null, "set/p3": null, - "apply": animation_CubicCurveTo_apply__P148850, - "getLastControlPoint": animation_CubicCurveTo_getLastControlPoint__P148851, - "getEndPoint": animation_CubicCurveTo_getEndPoint__P148852, + "apply": animation_CubicCurveTo_apply__P175466, + "getLastControlPoint": animation_CubicCurveTo_getLastControlPoint__P175467, + "getEndPoint": animation_CubicCurveTo_getEndPoint__P175468, }, }); -const controller_ControlledSprite__C147866_VT = mkVTable({ +const controller_ControlledSprite__C174482_VT = mkVTable({ name: "ControlledSprite", numFields: 4, classNo: 91, @@ -72529,7 +72572,7 @@ const controller_ControlledSprite__C147866_VT = mkVTable({ "set/vy": null, }, }); -const scene_TileOverlapHandler__C148348_VT = mkVTable({ +const scene_TileOverlapHandler__C174964_VT = mkVTable({ name: "TileOverlapHandler", numFields: 3, classNo: 92, @@ -72546,16 +72589,16 @@ const scene_TileOverlapHandler__C148348_VT = mkVTable({ "set/handler": null, }, }); -const game_SplashDialog__C148457_VT = mkVTable({ +const game_SplashDialog__C175073_VT = mkVTable({ name: "SplashDialog", numFields: 17, classNo: 67, lastSubtypeNo: 67, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P148442, - "setText": game_SplashDialog_setText__P148465, - "drawTextCore": game_SplashDialog_drawTextCore__P148467, + "update": game_BaseDialog_update__P175058, + "setText": game_SplashDialog_setText__P175081, + "drawTextCore": game_SplashDialog_drawTextCore__P175083, }, iface: { "image": null, @@ -72592,23 +72635,23 @@ const game_SplashDialog__C148457_VT = mkVTable({ "set/maxOffset": null, "maxSubOffset": null, "set/maxSubOffset": null, - "updateFont": game_SplashDialog_updateFont__P150451, - "setText": game_SplashDialog_setText__P148465, - "setSubtext": game_SplashDialog_setSubtext__P148466, - "drawTextCore": game_SplashDialog_drawTextCore__P148467, - "update": game_BaseDialog_update__P148442, - "drawCursorRow": game_BaseDialog_drawCursorRow__P148445, - "drawBorder": game_BaseDialog_drawBorder__P150440, - "fastFill": game_BaseDialog_fastFill__P150441, - "clearInterior": game_BaseDialog_clearInterior__P150442, - "drawPartial": game_BaseDialog_drawPartial__P150443, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P150444, - "textAreaWidth": game_BaseDialog_textAreaWidth__P150446, - "textAreaHeight": game_BaseDialog_textAreaHeight__P150447, - "setFont": game_BaseDialog_setFont__P150448, + "updateFont": game_SplashDialog_updateFont__P177067, + "setText": game_SplashDialog_setText__P175081, + "setSubtext": game_SplashDialog_setSubtext__P175082, + "drawTextCore": game_SplashDialog_drawTextCore__P175083, + "update": game_BaseDialog_update__P175058, + "drawCursorRow": game_BaseDialog_drawCursorRow__P175061, + "drawBorder": game_BaseDialog_drawBorder__P177056, + "fastFill": game_BaseDialog_fastFill__P177057, + "clearInterior": game_BaseDialog_clearInterior__P177058, + "drawPartial": game_BaseDialog_drawPartial__P177059, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P177060, + "textAreaWidth": game_BaseDialog_textAreaWidth__P177062, + "textAreaHeight": game_BaseDialog_textAreaHeight__P177063, + "setFont": game_BaseDialog_setFont__P177064, }, }); -const scene_TileWallHandler__C148346_VT = mkVTable({ +const scene_TileWallHandler__C174962_VT = mkVTable({ name: "TileWallHandler", numFields: 2, classNo: 93, @@ -72623,7 +72666,7 @@ const scene_TileWallHandler__C148346_VT = mkVTable({ "set/handler": null, }, }); -const scene_systemMenu_PauseMenu__C148574_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C175190_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 94, @@ -72646,15 +72689,15 @@ const scene_systemMenu_PauseMenu__C148574_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P148576, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P148577, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P148578, - "drawText": scene_systemMenu_PauseMenu_drawText__P148579, - "dispose": scene_systemMenu_PauseMenu_dispose__P148580, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P150722, + "show": scene_systemMenu_PauseMenu_show__P175192, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P175193, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P175194, + "drawText": scene_systemMenu_PauseMenu_drawText__P175195, + "dispose": scene_systemMenu_PauseMenu_dispose__P175196, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P177338, }, }); -const scene_systemMenu_MenuOption__C148566_VT = mkVTable({ +const scene_systemMenu_MenuOption__C175182_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 95, @@ -72679,16 +72722,16 @@ const scene_systemMenu_MenuOption__C148566_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P148568, - "position": scene_systemMenu_MenuOption_position__P148569, - "setOffset": scene_systemMenu_MenuOption_setOffset__P148570, - "setTheme": scene_systemMenu_MenuOption_setTheme__P148571, - "setState": scene_systemMenu_MenuOption_setState__P148572, - "dispose": scene_systemMenu_MenuOption_dispose__P148573, - "updateCard": scene_systemMenu_MenuOption_updateCard__P150721, + "show": scene_systemMenu_MenuOption_show__P175184, + "position": scene_systemMenu_MenuOption_position__P175185, + "setOffset": scene_systemMenu_MenuOption_setOffset__P175186, + "setTheme": scene_systemMenu_MenuOption_setTheme__P175187, + "setState": scene_systemMenu_MenuOption_setState__P175188, + "dispose": scene_systemMenu_MenuOption_dispose__P175189, + "updateCard": scene_systemMenu_MenuOption_updateCard__P177337, }, }); -const effects_SceneAnchor__C150865_VT = mkVTable({ +const effects_SceneAnchor__C177481_VT = mkVTable({ name: "SceneAnchor", numFields: 1, classNo: 96, @@ -72699,13 +72742,13 @@ const effects_SceneAnchor__C150865_VT = mkVTable({ iface: { "camera": null, "set/camera": null, - "x": effects_SceneAnchor_x__P150866, - "y": effects_SceneAnchor_y__P150867, - "width": effects_SceneAnchor_width__P150868, - "height": effects_SceneAnchor_height__P150869, + "x": effects_SceneAnchor_x__P177482, + "y": effects_SceneAnchor_y__P177483, + "width": effects_SceneAnchor_width__P177484, + "height": effects_SceneAnchor_height__P177485, }, }); -const MovingSprite__C148129_VT = mkVTable({ +const MovingSprite__C174745_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 97, @@ -72730,7 +72773,7 @@ const MovingSprite__C148129_VT = mkVTable({ "set/yStep": null, }, }); -const sprites_StaticObstacle__C148102_VT = mkVTable({ +const sprites_StaticObstacle__C174718_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 98, @@ -72749,14 +72792,14 @@ const sprites_StaticObstacle__C148102_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P148109, - "y": sprites_StaticObstacle_y__P148110, - "height": sprites_StaticObstacle_height__P148111, - "width": sprites_StaticObstacle_width__P148112, + "x": sprites_StaticObstacle_x__P174725, + "y": sprites_StaticObstacle_y__P174726, + "height": sprites_StaticObstacle_height__P174727, + "width": sprites_StaticObstacle_width__P174728, }, }); -const breakpoints = setupDebugger(1, ["transparency16___150037","tile1___150038","tile2___150040","tile4___150041","tile5___150042","tile3___150039","TrappedPlayer___150022","Key___150023","LastDirection___150029","Have_Gun___150033","Have_key___150028","mySprite___150031","trap___150034","trap_time___150027","projectile___150026","Start_cutsceene___150030","Dungeon___150032","Start_Map___150035","KKey___150025"]) +const breakpoints = setupDebugger(1, ["transparency16___199272","tile1___199277","tile2___199287","tile4___199292","tile5___199297","tile3___199282","TrappedPlayer___201055","Key___201058","LastDirection___201065","Have_Gun___201078","Have_key___201095","mySprite___201102","trap___201120","trap_time___201132","projectile___201184","Start_cutsceene___201225","Dungeon___201231","Dungeons___201347","Start_Map___201356","KKey___201274"]) -return _main___P172526 +return _main___P201506 }) diff --git a/assets/version.txt b/assets/version.txt index bd52db8..6c6aa7c 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.0.0 \ No newline at end of file +0.1.0 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 3e666e5..a55a30a 100644 --- a/pxt.json +++ b/pxt.json @@ -1,5 +1,6 @@ { "name": "Guns'n Dungeon's ", + "version": "0.1.0", "description": "", "dependencies": { "device": "*",