diff --git a/assets/js/binary.js b/assets/js/binary.js index 70cab21..d34a19f 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.2.9/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.3","target":"arcade","targetVersion":"1.2.9","repo":"pelikhan/arcade-rttl"} -// total=1301500 new=7.24% cached=87.33% other=5.43% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.2.9/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.4","target":"arcade","targetVersion":"1.2.9","repo":"pelikhan/pxt-rtttl"} +// total=1309299 new=7.24% cached=87.33% other=5.43% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -27,7 +27,7 @@ const __this = runtime; const pxtrt = pxsim.pxtrt; let yieldSteps = 1; ectx.setupYield(function() { yieldSteps = 100; }) -pxsim.setTitle("arcade-rtttl"); +pxsim.setTitle("pxt-rtttl"); pxsim.setConfigData({ "37": 160, "38": 120 @@ -418,7 +418,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P65613(s) { +function _main___P119124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -428,233 +428,233 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___49482 = (undefined); - globals._pollEventQueue___49491 = (undefined); - globals.minPriority___46343 = (1); + globals._intervals___104368 = (undefined); + globals._pollEventQueue___104377 = (undefined); + globals.minPriority___101229 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, inline__P49494); - globals.listeners___49495 = (s.tmp_0); - globals.freqs___49544 = (_hex49543); - globals.globalVolume___49548 = (null); - globals.playToneID___49555 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C47577_VT); + r0 = pxsim_Array__push(s.tmp_0, inline__P104380); + globals.listeners___104381 = (s.tmp_0); + globals.freqs___104430 = (_hex104429); + globals.globalVolume___104434 = (null); + globals.playToneID___104441 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C102463_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P47580_mk(s); + s.tmp_1 = music_Melody_constructor__P102466_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___47594 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C47577_VT); + globals.wawawawaa___102480 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C102463_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P47580_mk(s); + s.tmp_1 = music_Melody_constructor__P102466_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___47597 = (s.tmp_0); - globals.brightness___47703 = (100); + globals.powerUp___102483 = (s.tmp_0); + globals.brightness___102589 = (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", _hex54708); - globals.font8___47724 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex109594); + globals.font8___102610 = (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", _hex54710); - globals.font12___47725 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex109596); + globals.font12___102611 = (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", _hex57627); - globals.font5___47729 = (s.tmp_0); - globals.__updated___49592 = (false); - r0 = pxsim.control.runInParallel(inline__P49595); - r0 = pxsim_pxtcore.setPalette(_hex49606); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex112513); + globals.font5___102615 = (s.tmp_0); + globals.__updated___104478 = (false); + r0 = pxsim.control.runInParallel(inline__P104481); + r0 = pxsim_pxtcore.setPalette(_hex104492); r0 = pxsim.image.create(160, 120); - globals.screen___47781 = (r0); - s.tmp_0 = control___screen_setupUpdate__P47743_mk(s); - s.tmp_0.arg0 = inline__P49613; + globals.screen___102667 = (r0); + s.tmp_0 = control___screen_setupUpdate__P102629_mk(s); + s.tmp_0.arg0 = inline__P104499; s.callLocIdx = 4; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___46366 = (inline__P49618); - globals.RUN_KEY___49623 = ("#run"); - globals.SCOPE_KEY___49624 = ("#scope"); - s.tmp_0 = settings_initScopes__P49635_mk(s); + globals.control_EventContext_onStats___101252 = (inline__P104504); + globals.RUN_KEY___104509 = ("#run"); + globals.SCOPE_KEY___104510 = ("#scope"); + s.tmp_0 = settings_initScopes__P104521_mk(s); s.callLocIdx = 5; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C47882_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C102768_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P47888_mk(s); + s.tmp_1 = controller_Button_constructor__P102774_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.A___47856 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C47882_VT); + globals.A___102742 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C102768_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P47888_mk(s); + s.tmp_1 = controller_Button_constructor__P102774_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.callLocIdx = 7; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - globals.B___47857 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C47882_VT); + globals.B___102743 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C102768_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P47888_mk(s); + s.tmp_1 = controller_Button_constructor__P102774_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.callLocIdx = 8; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.left___47858 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C47882_VT); + globals.left___102744 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C102768_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P47888_mk(s); + s.tmp_1 = controller_Button_constructor__P102774_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.callLocIdx = 9; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.up___47859 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C47882_VT); + globals.up___102745 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C102768_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P47888_mk(s); + s.tmp_1 = controller_Button_constructor__P102774_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.callLocIdx = 10; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.right___47860 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C47882_VT); + globals.right___102746 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C102768_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P47888_mk(s); + s.tmp_1 = controller_Button_constructor__P102774_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.callLocIdx = 11; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.down___47861 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C47882_VT); + globals.down___102747 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C102768_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P47888_mk(s); + s.tmp_1 = controller_Button_constructor__P102774_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.callLocIdx = 12; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.menu___47862 = (s.tmp_0); - globals._userEventsEnabled___49662 = (true); - globals.defaultRepeatDelay___49664 = (500); - globals.defaultRepeatInterval___49666 = (30); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C49672_VT); + globals.menu___102748 = (s.tmp_0); + globals._userEventsEnabled___104548 = (true); + globals.defaultRepeatDelay___104550 = (500); + globals.defaultRepeatInterval___104552 = (30); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C104558_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P47888_mk(s); + s.tmp_1 = controller_Button_constructor__P102774_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.callLocIdx = 13; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.anyButton___47936 = (s.tmp_0); - s.tmp_0 = SpriteKind_create__P48106_mk(s); + globals.anyButton___102822 = (s.tmp_0); + s.tmp_0 = SpriteKind_create__P102992_mk(s); s.callLocIdx = 14; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___48107 = (r0); - s.tmp_0 = SpriteKind_create__P48106_mk(s); + globals.Player___102993 = (r0); + s.tmp_0 = SpriteKind_create__P102992_mk(s); s.callLocIdx = 15; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___48109 = (r0); - s.tmp_0 = SpriteKind_create__P48106_mk(s); + globals.Food___102995 = (r0); + s.tmp_0 = SpriteKind_create__P102992_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___48110 = (r0); + globals.Enemy___102996 = (r0); r0 = (100 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MAX_TIME_STEP___48147 = (r0); + globals.MAX_TIME_STEP___103033 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___48149 = (r0); - globals.infoState___49715 = (undefined); - s.tmp_0 = game_addScenePushHandler__P48528_mk(s); - s.tmp_0.arg0 = inline__P49719; + globals.MIN_MOVE_GAP___103035 = (r0); + globals.infoState___104601 = (undefined); + s.tmp_0 = game_addScenePushHandler__P103414_mk(s); + s.tmp_0.arg0 = inline__P104605; s.callLocIdx = 19; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P48530_mk(s); - s.tmp_0.arg0 = inline__P49734; + s.tmp_0 = game_addScenePopHandler__P103416_mk(s); + s.tmp_0.arg0 = inline__P104620; s.callLocIdx = 23; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___48418 = (r0); - globals.debug___48507 = (false); - globals.stats___48508 = (false); - globals.winEffect___48509 = (undefined); - globals.loseEffect___48510 = (undefined); - globals.loseSound___49830 = (undefined); - globals.winSound___49832 = (undefined); - s.tmp_0 = scene_systemMenu_initVolume__P50099_mk(s); + globals.scene_Scene_initializers___103304 = (r0); + globals.debug___103393 = (false); + globals.stats___103394 = (false); + globals.winEffect___103395 = (undefined); + globals.loseEffect___103396 = (undefined); + globals.loseSound___104716 = (undefined); + globals.winSound___104718 = (undefined); + s.tmp_0 = scene_systemMenu_initVolume__P104985_mk(s); s.callLocIdx = 24; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P50100_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P104986_mk(s); s.callLocIdx = 25; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___48418, scene_systemMenu_register__P48612); - r0 = pxsim.image.ofBuffer(_hex50107); - globals.CARD_NORMAL___48617 = (r0); - r0 = pxsim.image.ofBuffer(_hex50109); - globals.CARD_SELECTED___48618 = (r0); - r0 = pxsim.image.ofBuffer(_hex50111); - globals.CARD_ACTIVE___48619 = (r0); - r0 = pxsim.image.ofBuffer(_hex50113); - globals.VOLUME_UP_ICON___48620 = (r0); - r0 = pxsim.image.ofBuffer(_hex50115); - globals.BRIGHTNESS_DOWN_ICON___48621 = (r0); - r0 = pxsim.image.ofBuffer(_hex50117); - globals.CLOSE_MENU_ICON___48622 = (r0); - r0 = pxsim.image.ofBuffer(_hex50119); - globals.VOLUME_DOWN_ICON___48623 = (r0); - r0 = pxsim.image.ofBuffer(_hex50121); - globals.SLEEP_ICON___48624 = (r0); - r0 = pxsim.image.ofBuffer(_hex50123); - globals.CONSOLE_ICON___48625 = (r0); - r0 = pxsim.image.ofBuffer(_hex50125); - globals.BRIGHTNESS_UP_ICON___48626 = (r0); - r0 = pxsim.image.ofBuffer(_hex50127); - globals.STATS_ICON___48627 = (r0); - globals.consoleColor___50130 = (1); - globals.tabSize___50133 = (8); - globals.consoleFont___50139 = (globals.font5___47729); - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___103304, scene_systemMenu_register__P103498); + r0 = pxsim.image.ofBuffer(_hex104993); + globals.CARD_NORMAL___103503 = (r0); + r0 = pxsim.image.ofBuffer(_hex104995); + globals.CARD_SELECTED___103504 = (r0); + r0 = pxsim.image.ofBuffer(_hex104997); + globals.CARD_ACTIVE___103505 = (r0); + r0 = pxsim.image.ofBuffer(_hex104999); + globals.VOLUME_UP_ICON___103506 = (r0); + r0 = pxsim.image.ofBuffer(_hex105001); + globals.BRIGHTNESS_DOWN_ICON___103507 = (r0); + r0 = pxsim.image.ofBuffer(_hex105003); + globals.CLOSE_MENU_ICON___103508 = (r0); + r0 = pxsim.image.ofBuffer(_hex105005); + globals.VOLUME_DOWN_ICON___103509 = (r0); + r0 = pxsim.image.ofBuffer(_hex105007); + globals.SLEEP_ICON___103510 = (r0); + r0 = pxsim.image.ofBuffer(_hex105009); + globals.CONSOLE_ICON___103511 = (r0); + r0 = pxsim.image.ofBuffer(_hex105011); + globals.BRIGHTNESS_UP_ICON___103512 = (r0); + r0 = pxsim.image.ofBuffer(_hex105013); + globals.STATS_ICON___103513 = (r0); + globals.consoleColor___105016 = (1); + globals.tabSize___105019 = (8); + globals.consoleFont___105025 = (globals.font5___102615); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___50139; + s.tmp_5.arg0 = globals.consoleFont___105025; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -673,13 +673,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___50144 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___47781); + globals.consoleLines___105030 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___102667); 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___50139; + s.tmp_4.arg0 = globals.consoleFont___105025; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -694,22 +694,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___50154 = (r0); - s.tmp_0 = console_addListener__P46351_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P50166; + globals.consoleColumns___105040 = (r0); + s.tmp_0 = console_addListener__P101237_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P105052; s.callLocIdx = 28; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = inline__P50170; + s.tmp_0.argL = inline__P105056; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 30; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - globals.MAX_SOURCES___50168 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C48697_VT); + globals.MAX_SOURCES___105054 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C103583_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P48698_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P103584_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -717,105 +717,105 @@ switch (step) { s.callLocIdx = 31; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - globals.defaultFactory___48677 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C48565_VT); + globals.defaultFactory___103563 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C103451_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P48567_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P103453_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 32; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - globals.galois___50203 = (s.tmp_0); - globals.angleSlice___50211 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C48772_VT); + globals.galois___105089 = (s.tmp_0); + globals.angleSlice___105097 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C103658_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P48773_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P103659_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__P53347; + s.tmp_1.arg4 = inline__P108233; s.callLocIdx = 38; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.confetti___48780 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C48795_VT); + globals.confetti___103666 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C103681_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P48796_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P103682_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P58307; + s.tmp_1.arg2 = inline__P113193; s.callLocIdx = 44; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.dissolve___48800 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C48795_VT); + globals.dissolve___103686 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C103681_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P48796_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P103682_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P53239; + s.tmp_1.arg2 = inline__P108125; s.callLocIdx = 47; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.melt___48801 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C48810_VT); + globals.melt___103687 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C103696_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P48812_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P103698_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P50262; + s.tmp_1.arg1 = inline__P105148; s.callLocIdx = 48; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.shake___48813 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C48810_VT); + globals.shake___103699 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C103696_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P48812_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P103698_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P50275; + s.tmp_1.arg1 = inline__P105161; s.callLocIdx = 58; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.wave___48814 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P48512_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P47932; + globals.wave___103700 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P103398_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P102818; s.callLocIdx = 59; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = game_eventContext__P48514_mk(s); + s.tmp_0 = game_eventContext__P103400_mk(s); s.callLocIdx = 60; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - globals.demo___65314 = ("HauntHouse: d=4,o=5,b=108: 2a4, 2e, 2d#, 2b4, 2a4, 2c, 2d, 2a#4, 2e., e, 1f4, 1a4, 1d#, 2e., d, 2c., b4, 1a4, 1p, 2a4, 2e, 2d#, 2b4, 2a4, 2c, 2d, 2a#4, 2e., e, 1f4, 1a4, 1d#, 2e., d, 2c., b4, 1a4"); - s.tmp_0 = console_log__P46348_mk(s); + globals.demo___104319 = ("HauntHouse: d=4,o=5,b=108: 2a4, 2e, 2d#, 2b4, 2a4, 2c, 2d, 2a#4, 2e., e, 1f4, 1a4, 1d#, 2e., d, 2c., b4, 1a4, 1p, 2a4, 2e, 2d#, 2b4, 2a4, 2c, 2d, 2a#4, 2e., e, 1f4, 1a4, 1d#, 2e., d, 2c., b4, 1a4"); + s.tmp_0 = console_log__P101234_mk(s); s.tmp_0.arg0 = "rttl"; s.callLocIdx = 61; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = console_log__P46348_mk(s); - s.tmp_0.arg0 = globals.demo___65314; + s.tmp_0 = console_log__P101234_mk(s); + s.tmp_0.arg0 = globals.demo___104319; s.callLocIdx = 62; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = music_convertRTTTLToMelody__P64788_mk(s); - s.tmp_0.arg0 = globals.demo___65314; + s.tmp_0 = music_convertRTTTLToMelody__P118703_mk(s); + s.tmp_0.arg0 = globals.demo___104319; s.callLocIdx = 63; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - globals.melody___65321 = (r0); - s.tmp_0 = console_log__P46348_mk(s); + globals.melody___104320 = (r0); + s.tmp_0 = console_log__P101234_mk(s); s.tmp_0.arg0 = "melody"; s.callLocIdx = 64; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = console_log__P46348_mk(s); - s.tmp_0.arg0 = globals.melody___65321; + s.tmp_0 = console_log__P101234_mk(s); + s.tmp_0.arg0 = globals.melody___104320; s.callLocIdx = 65; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - r0 = pxsim.control.runInParallel(inline__P65328); - s.tmp_0 = game_splash__P48505_mk(s); + r0 = pxsim.control.runInParallel(inline__P106354); + s.tmp_0 = game_splash__P103391_mk(s); s.tmp_0.arg0 = "play RTTTL tunes"; s.tmp_0.arg1 = "in your games..."; s.callLocIdx = 67; s.pc = 38; return s.tmp_0; @@ -825,13 +825,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -_main___P65613.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -_main___P65613.continuations = [ ] +_main___P119124.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P119124.continuations = [ ] -function _main___P65613_mk(s) { +function _main___P119124_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P65613, depth: s.depth + 1, + parent: s, fn: _main___P119124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -841,27 +841,27 @@ function _main___P65613_mk(s) { tmp_5: undefined, } } -const _hex49543 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") -const _hex54708 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex54710 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex57627 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex49606 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex50107 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex50109 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex50111 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex50113 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex50115 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex50117 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex50119 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex50121 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex50123 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex50125 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex50127 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex104429 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") +const _hex109594 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex109596 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex112513 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex104492 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex104993 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex104995 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex104997 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex104999 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex105001 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex105003 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex105005 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex105007 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex105009 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex105011 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex105013 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function inline__P49595(s) { +function inline__P104481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -874,23 +874,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___49592 = (false); - s.tmp_0 = pause__P46381_mk(s); + globals.__updated___104478 = (false); + s.tmp_0 = pause__P101267_mk(s); s.tmp_0.arg0 = 200; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__updated___49592); + r0 = pxsim_numops_toBoolDecr(globals.__updated___104478); 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__P47742_mk(s); + s.tmp_2 = control___screen_update__P102628_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___49592 = (true); + globals.__updated___104478 = (true); case 2: case 3: { step = 1; continue; } @@ -899,12 +899,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P49595.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P104481.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function inline__P49595_mk(s) { +function inline__P104481_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P49595, depth: s.depth + 1, + parent: s, fn: inline__P104481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -915,7 +915,7 @@ function inline__P49595_mk(s) { -function inline__P49613(s) { +function inline__P104499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -925,17 +925,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___47781); + r0 = pxsim_pxtcore.updateScreen(globals.screen___102667); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P49613.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P104499.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function inline__P49613_mk(s) { +function inline__P104499_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P49613, depth: s.depth + 1, + parent: s, fn: inline__P104499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -943,7 +943,7 @@ function inline__P49613_mk(s) { -function inline__P49618(s) { +function inline__P104504(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -962,12 +962,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P49618.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +inline__P104504.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__P49618_mk(s) { +function inline__P104504_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P49618, depth: s.depth + 1, + parent: s, fn: inline__P104504, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -976,7 +976,7 @@ function inline__P49618_mk(s) { -function inline__P49719(s) { +function inline__P104605(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -990,36 +990,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___49715); + r0 = pxsim_numops_toBoolDecr(globals.infoState___104601); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___49717); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___104603); 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___49717 = (r0); + globals.infoStateStack___104603 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___49715); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___104601); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___49717, s.tmp_0); - globals.infoState___49715 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___104603, s.tmp_0); + globals.infoState___104601 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P49719.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P104605.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__P49719_mk(s) { +function inline__P104605_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P49719, depth: s.depth + 1, + parent: s, fn: inline__P104605, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1030,7 +1030,7 @@ function inline__P49719_mk(s) { -function inline__P49734(s) { +function inline__P104620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1040,30 +1040,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___49735 = undefined; - s.nextState___49744 = undefined; - s.tmp_0 = game_currentScene__P48511_mk(s); + s.scene___104621 = undefined; + s.nextState___104630 = undefined; + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 20; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___49735 = (r0); - globals.infoState___49715 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___49717; + s.scene___104621 = (r0); + globals.infoState___104601 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___104603; 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___49717); + r0 = pxsim_Array__length(globals.infoStateStack___104603); 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___49717); - s.nextState___49744 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___104603); + s.nextState___104630 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___49744; + s.tmp_2.arg0 = s.nextState___104630; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1075,12 +1075,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___49735); + r0 = (s.tmp_1 == s.scene___104621); 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___49744; + s.tmp_3.arg0 = s.nextState___104630; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1091,10 +1091,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___49715 = (r0); + globals.infoState___104601 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___49717, s.nextState___49744); + r0 = pxsim_Array__push(globals.infoStateStack___104603, s.nextState___104630); case 4: case 5: case 6: @@ -1102,26 +1102,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P49734.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P104620.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P49734_mk(s) { +function inline__P104620_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P49734, depth: s.depth + 1, + parent: s, fn: inline__P104620, 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___49735: undefined, - nextState___49744: undefined, + scene___104621: undefined, + nextState___104630: undefined, } } -function inline__P50170(s) { +function inline__P105056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1131,13 +1131,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___50171 = undefined; - s.tmp_0 = control_ramSize__P46314_mk(s); + s.sz___105057 = undefined; + s.tmp_0 = control_ramSize__P101200_mk(s); s.callLocIdx = 29; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___50171 = (r0); - r0 = (s.sz___50171 <= 102400); + s.sz___105057 = (r0); + r0 = (s.sz___105057 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -1145,7 +1145,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___50171 <= 204800); + r0 = (s.sz___105057 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -1162,23 +1162,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P50170.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P105056.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function inline__P50170_mk(s) { +function inline__P105056_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P50170, depth: s.depth + 1, + parent: s, fn: inline__P105056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___50171: undefined, + sz___105057: undefined, } } -function inline__P50262(s) { +function inline__P105148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1208,12 +1208,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P50262.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P105148.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -function inline__P50262_mk(s) { +function inline__P105148_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P50262, depth: s.depth + 1, + parent: s, fn: inline__P105148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1228,7 +1228,7 @@ function inline__P50262_mk(s) { -function inline__P50275(s) { +function inline__P105161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1257,7 +1257,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__P46103_mk(s); + s.tmp_7 = Math_sign__P100989_mk(s); r0 = pxsim.Math_.sin(s.arg0); s.tmp_7.arg0 = r0; s.callLocIdx = 49; s.pc = 7; return s.tmp_7; @@ -1322,7 +1322,7 @@ switch (step) { } case 9: r0 = s.retval; - s.tmp_2 = Math_abs__P46102_mk(s); + s.tmp_2 = Math_abs__P100988_mk(s); s.tmp_3 = if_yOffset_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -1394,12 +1394,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P50275.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__P105161.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__P50275_mk(s) { +function inline__P105161_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P50275, depth: s.depth + 1, + parent: s, fn: inline__P105161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1419,7 +1419,7 @@ function inline__P50275_mk(s) { -function inline__P65328(s) { +function inline__P106354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1429,8 +1429,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_playMelody__P47574_mk(s); - s.tmp_0.arg0 = globals.melody___65321; + s.tmp_0 = music_playMelody__P102460_mk(s); + s.tmp_0.arg0 = globals.melody___104320; s.tmp_0.arg1 = 120; s.callLocIdx = 66; s.pc = 1; return s.tmp_0; case 1: @@ -1439,12 +1439,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65328.info = {"start":364,"length":52,"line":9,"column":22,"endLine":11,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} +inline__P106354.info = {"start":364,"length":52,"line":9,"column":22,"endLine":11,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} -function inline__P65328_mk(s) { +function inline__P106354_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65328, depth: s.depth + 1, + parent: s, fn: inline__P106354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -1453,7 +1453,7 @@ function inline__P65328_mk(s) { -function game_splash__P48505(s) { +function game_splash__P103391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1463,25 +1463,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dialog___52153 = undefined; - s.s___52166 = undefined; - s.pressed___52173 = undefined; - s.done___52174 = undefined; + s.dialog___107039 = undefined; + s.s___107052 = undefined; + s.pressed___107059 = undefined; + s.done___107060 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = controller__setUserEventsEnabled__P47933_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P102819_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 896; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_pushScene__P48515_mk(s); + s.tmp_0 = game_pushScene__P103401_mk(s); s.callLocIdx = 897; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_1 = game_currentScene__P48511_mk(s); + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 898; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -1491,7 +1491,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__C48484_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_SplashDialog__C103370_VT); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } @@ -1502,67 +1502,67 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = game_SplashDialog_constructor__P48491_mk(s); + s.tmp_2 = game_SplashDialog_constructor__P103377_mk(s); s.tmp_2.arg0 = s.tmp_0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = s.tmp_1; s.callLocIdx = 899; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.dialog___52153 = (s.tmp_0); - s.tmp_0 = game_SplashDialog__C48484_v1_2_mk(s); - s.tmp_0.arg0 = s.dialog___52153; + s.dialog___107039 = (s.tmp_0); + s.tmp_0 = game_SplashDialog__C103370_v1_2_mk(s); + s.tmp_0.arg0 = s.dialog___107039; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C48484_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C103370_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__P48493_mk(s); - s.tmp_0.arg0 = s.dialog___52153; + s.tmp_0 = game_SplashDialog_setSubtext__P103379_mk(s); + s.tmp_0.arg0 = s.dialog___107039; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 900; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 3: case 4: - s.tmp_0 = sprites_create__P47953_mk(s); - r0 = s.dialog___52153.fields["image"]; + s.tmp_0 = sprites_create__P102839_mk(s); + r0 = s.dialog___107039.fields["image"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = -1; s.callLocIdx = 901; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.s___52166 = (r0); + s.s___107052 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pressed___52173 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pressed___52173, true); + s.pressed___107059 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pressed___107059, true); r0 = pxsim_pxtrt.mklocRef(); - s.done___52174 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.done___52174, false); - r0 = pxsim_pxtcore_mkAction(3, inline__P52176); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___52153); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___52173); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___52174); - s.tmp_1 = game_onUpdate__P48522_mk(s); + s.done___107060 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.done___107060, false); + r0 = pxsim_pxtcore_mkAction(3, inline__P107062); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___107039); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___107059); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___107060); + s.tmp_1 = game_onUpdate__P103408_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 904; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P52199); + r0 = pxsim_pxtcore_mkAction(1, inline__P107085); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___52174); - s.tmp_1 = pauseUntil__P46335_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___107060); + s.tmp_1 = pauseUntil__P101221_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 905; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - s.tmp_0 = controller__setUserEventsEnabled__P47933_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P102819_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 906; s.pc = 14; return s.tmp_0; case 14: @@ -1571,21 +1571,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_splash__P48505.info = {"start":19529,"length":980,"line":623,"column":4,"endLine":652,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} +game_splash__P103391.info = {"start":19529,"length":980,"line":623,"column":4,"endLine":652,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} -function game_splash__P48505_mk(s) { +function game_splash__P103391_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash__P48505, depth: s.depth + 1, + parent: s, fn: game_splash__P103391, 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___52153: undefined, - s___52166: undefined, - pressed___52173: undefined, - done___52174: undefined, + dialog___107039: undefined, + s___107052: undefined, + pressed___107059: undefined, + done___107060: undefined, arg0: undefined, arg1: undefined, } } @@ -1594,7 +1594,7 @@ function game_splash__P48505_mk(s) { -function inline__P52176(s) { +function inline__P107062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1604,23 +1604,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentState___52179 = undefined; - s.tmp_0 = game_BaseDialog__C48456_v0_1_mk(s); + s.currentState___107065 = undefined; + s.tmp_0 = game_BaseDialog__C103342_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C48456_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C103342_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__C47882_v0_1_mk(s); - s.tmp_0.arg0 = globals.A___47856; - if (!checkSubtype(s.tmp_0.arg0, controller_Button__C47882_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = controller_Button__C102768_v0_1_mk(s); + s.tmp_0.arg0 = globals.A___102742; + if (!checkSubtype(s.tmp_0.arg0, controller_Button__C102768_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___52179 = (r0); - s.tmp_0 = r0 = s.currentState___52179; + s.currentState___107065 = (r0); + s.tmp_0 = r0 = s.currentState___107065; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; @@ -1637,12 +1637,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__P48438_mk(s); + s.tmp_0 = scene_setBackgroundImage__P103324_mk(s); s.tmp_0.arg0 = null; s.callLocIdx = 902; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = game_popScene__P48516_mk(s); + s.tmp_0 = game_popScene__P103402_mk(s); s.callLocIdx = 903; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; @@ -1656,7 +1656,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.currentState___52179); + r0 = pxsim_numops_toBoolDecr(s.currentState___107065); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 5: @@ -1672,25 +1672,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P52176.info = {"start":20011,"length":410,"line":636,"column":22,"endLine":648,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +inline__P107062.info = {"start":20011,"length":410,"line":636,"column":22,"endLine":648,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function inline__P52176_mk(s) { +function inline__P107062_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P52176, depth: s.depth + 1, + parent: s, fn: inline__P107062, 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___52179: undefined, + currentState___107065: undefined, } } -function inline__P52199(s) { +function inline__P107085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1704,12 +1704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P52199.info = {"start":20443,"length":10,"line":650,"column":19,"endLine":650,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +inline__P107085.info = {"start":20443,"length":10,"line":650,"column":19,"endLine":650,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function inline__P52199_mk(s) { +function inline__P107085_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P52199, depth: s.depth + 1, + parent: s, fn: inline__P107085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1717,7 +1717,7 @@ function inline__P52199_mk(s) { -function game_onUpdate__P48522(s) { +function game_onUpdate__P103408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1731,7 +1731,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P49841_mk(s); + s.tmp_0 = game_init__P104727_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 924; s.pc = 4; return s.tmp_0; case 4: @@ -1745,8 +1745,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P46371_mk(s); - s.tmp_3 = game_eventContext__P48514_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P101257_mk(s); + s.tmp_3 = game_eventContext__P103400_mk(s); s.callLocIdx = 925; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; @@ -1761,12 +1761,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P48522.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__P103408.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__P48522_mk(s) { +function game_onUpdate__P103408_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P48522, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P103408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1779,7 +1779,7 @@ function game_onUpdate__P48522_mk(s) { -function game_init__P49841(s) { +function game_init__P104727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1793,7 +1793,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___49833); + r0 = pxsim_numops_toBoolDecr(globals._scene___104719); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1808,73 +1808,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__C48398_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C103284_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P48419_mk(s); + s.tmp_4 = scene_Scene_constructor__P103305_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P46377_mk(s); + s.tmp_5 = control_pushEventContext__P101263_mk(s); s.callLocIdx = 909; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___49833; + s.tmp_4.arg2 = globals._scene___104719; s.callLocIdx = 910; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___49833 = (s.tmp_3); + globals._scene___104719 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P48420_mk(s); - s.tmp_0.arg0 = globals._scene___49833; + s.tmp_0 = scene_Scene_init__P103306_mk(s); + s.tmp_0.arg0 = globals._scene___104719; s.callLocIdx = 911; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___48509); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___103395); 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___48509 = (globals.confetti___48780); + globals.winEffect___103395 = (globals.confetti___103666); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___48510); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___103396); 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___48510 = (globals.melt___48801); + globals.loseEffect___103396 = (globals.melt___103687); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___49832); + r0 = pxsim_numops_toBoolDecr(globals.winSound___104718); 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___49832 = (globals.powerUp___47597); + globals.winSound___104718 = (globals.powerUp___102483); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___49830); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___104716); 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___49830 = (globals.wawawawaa___47594); + globals.loseSound___104716 = (globals.wawawawaa___102480); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P49841.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__P104727.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__P49841_mk(s) { +function game_init__P104727_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P49841, depth: s.depth + 1, + parent: s, fn: game_init__P104727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1889,7 +1889,7 @@ function game_init__P49841_mk(s) { -function inline__P53239(s) { +function inline__P108125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1899,11 +1899,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___53242 = undefined; - s.j___53250 = undefined; - s.x___53255 = undefined; - s.y___53261 = undefined; - s.c___53267 = undefined; + s.rounds___108128 = undefined; + s.j___108136 = undefined; + s.x___108141 = undefined; + s.y___108147 = undefined; + s.c___108153 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1916,14 +1916,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___53242 = (r0); - s.j___53250 = (0); + s.rounds___108128 = (r0); + s.j___108136 = (0); case 1: - r0 = (s.j___53250 < s.rounds___53242); + r0 = (s.j___108136 < s.rounds___108128); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P48569_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P103455_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -1933,8 +1933,8 @@ switch (step) { s.callLocIdx = 45; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___53255 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P48569_mk(s); + s.x___108141 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P103455_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -1944,42 +1944,42 @@ switch (step) { s.callLocIdx = 46; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___53261 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___53255, s.y___53261); - s.c___53267 = (r0); + s.y___108147 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___108141, s.y___108147); + s.c___108153 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___53255; - r0 = (s.y___53261 + 1); + s.tmp_1 = r0 = s.x___108141; + r0 = (s.y___108147 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___53267); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___108153); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___53255; - r0 = (s.y___53261 + 2); + s.tmp_1 = r0 = s.x___108141; + r0 = (s.y___108147 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___53267); - r0 = (s.j___53250 + 1); - s.j___53250 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___108153); + r0 = (s.j___108136 + 1); + s.j___108136 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P53239.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__P108125.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__P53239_mk(s) { +function inline__P108125_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P53239, depth: s.depth + 1, + parent: s, fn: inline__P108125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___53242: undefined, - j___53250: undefined, - x___53255: undefined, - y___53261: undefined, - c___53267: undefined, + rounds___108128: undefined, + j___108136: undefined, + x___108141: undefined, + y___108147: undefined, + c___108153: undefined, arg0: undefined, arg1: undefined, } } @@ -1988,7 +1988,7 @@ function inline__P53239_mk(s) { -function Math_FastRandom_randomRange__P48569(s) { +function Math_FastRandom_randomRange__P103455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2005,12 +2005,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C48565_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C103451_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__P48568_mk(s); + s.tmp_2 = Math_FastRandom_next__P103454_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 935; s.pc = 3; return s.tmp_2; case 3: @@ -2031,12 +2031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P48569.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__P103455.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__P48569_mk(s) { +function Math_FastRandom_randomRange__P103455_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P48569, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P103455, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2053,7 +2053,7 @@ function Math_FastRandom_randomRange__P48569_mk(s) { -function Math_FastRandom_next__P48568(s) { +function Math_FastRandom_next__P103454(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2068,7 +2068,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C48565_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C103451_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -2089,12 +2089,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P48568.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__P103454.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__P48568_mk(s) { +function Math_FastRandom_next__P103454_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P48568, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P103454, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2111,7 +2111,7 @@ function Math_FastRandom_next__P48568_mk(s) { -function effects_ImageEffect_constructor__P48796(s) { +function effects_ImageEffect_constructor__P103682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2128,11 +2128,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C48795_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C103681_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C48565_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C103451_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P48567_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P103453_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1228; s.pc = 1; return s.tmp_1; @@ -2145,12 +2145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P48796.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__P103682.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__P48796_mk(s) { +function effects_ImageEffect_constructor__P103682_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P48796, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P103682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2163,7 +2163,7 @@ function effects_ImageEffect_constructor__P48796_mk(s) { -function inline__P53347(s) { +function inline__P108233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2173,13 +2173,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___53350 = undefined; + s.factory___108236 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C48724_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C103610_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -2214,27 +2214,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P48725_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P103611_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 35; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___53350 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P48701_mk(s); - s.tmp_0.arg0 = s.factory___53350; + s.factory___108236 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P103587_mk(s); + s.tmp_0.arg0 = s.factory___108236; s.tmp_0.arg1 = 30; s.callLocIdx = 36; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C48657_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C103543_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P48662_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P103548_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___53350; + s.tmp_1.arg3 = s.factory___108236; s.callLocIdx = 37; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -2242,12 +2242,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P53347.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__P108233.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__P53347_mk(s) { +function inline__P108233_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P53347, depth: s.depth + 1, + parent: s, fn: inline__P108233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2255,7 +2255,7 @@ function inline__P53347_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___53350: undefined, + factory___108236: undefined, arg0: undefined, arg1: undefined, } } @@ -2264,7 +2264,7 @@ function inline__P53347_mk(s) { -function particles_ParticleSource_constructor__P48662(s) { +function particles_ParticleSource_constructor__P103548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2274,8 +2274,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___53371 = undefined; - s.removedSource___53380 = undefined; + s.sources___108257 = undefined; + s.removedSource___108266 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2284,62 +2284,62 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P47839_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P102725_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1104; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P50191_mk(s); + s.tmp_0 = particles_init__P105077_mk(s); s.callLocIdx = 1105; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P50197_mk(s); + s.tmp_0 = particles_particleSources__P105083_mk(s); s.callLocIdx = 1106; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___53371 = (r0); - r0 = pxsim_Array__length(s.sources___53371); + s.sources___108257 = (r0); + r0 = pxsim_Array__length(s.sources___108257); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___50168); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___105054); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P50194_mk(s); - s.tmp_2.arg0 = s.sources___53371; + s.tmp_2 = particles_sortSources__P105080_mk(s); + s.tmp_2.arg0 = s.sources___108257; s.callLocIdx = 1107; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___53371, 0); - s.removedSource___53380 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P48672_mk(s); - s.tmp_0.arg0 = s.removedSource___53380; + r0 = pxsim_Array_.removeAt(s.sources___108257, 0); + s.removedSource___108266 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P103558_mk(s); + s.tmp_0.arg0 = s.removedSource___108266; s.callLocIdx = 1109; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P48671_mk(s); - s.tmp_0.arg0 = s.removedSource___53380; + s.tmp_0 = particles_ParticleSource_destroy__P103557_mk(s); + s.tmp_0.arg0 = s.removedSource___108266; s.callLocIdx = 1110; 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__P48674_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P103560_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1111; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P48666_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P103552_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.callLocIdx = 1112; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P48673_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P103559_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1113; s.pc = 13; return s.tmp_0; @@ -2354,18 +2354,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___48677; + r0 = globals.defaultFactory___103563; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P48676_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P103562_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 1114; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___53371, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P48670_mk(s); + r0 = pxsim_Array__push(s.sources___108257, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P103556_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1115; s.pc = 15; return s.tmp_0; @@ -2375,18 +2375,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P48662.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__P103548.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__P48662_mk(s) { +function particles_ParticleSource_constructor__P103548_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P48662, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P103548, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___53371: undefined, - removedSource___53380: undefined, + sources___108257: undefined, + removedSource___108266: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2397,7 +2397,7 @@ function particles_ParticleSource_constructor__P48662_mk(s) { -function particles_particleSources__P50197(s) { +function particles_particleSources__P105083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2407,33 +2407,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___52637 = undefined; - s.tmp_0 = game_currentScene__P48511_mk(s); + s.sources___107523 = undefined; + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 1166; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___52637 = (r0); - r0 = s.sources___52637; + s.sources___107523 = (r0); + r0 = s.sources___107523; return leave(s, r0) default: oops() } } } -particles_particleSources__P50197.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P105083.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__P50197_mk(s) { +function particles_particleSources__P105083_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P50197, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P105083, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___52637: undefined, + sources___107523: undefined, } } -function particles_sortSources__P50194(s) { +function particles_sortSources__P105080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2447,9 +2447,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P46082_mk(s); + s.tmp_0 = helpers_arraySort__P100968_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P53582; + s.tmp_0.arg1 = inline__P108468; s.callLocIdx = 1153; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -2457,12 +2457,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources__P50194.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__P105080.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__P50194_mk(s) { +function particles_sortSources__P105080_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P50194, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P105080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2472,7 +2472,7 @@ function particles_sortSources__P50194_mk(s) { -function inline__P53582(s) { +function inline__P108468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2510,12 +2510,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P53582.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__P108468.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__P53582_mk(s) { +function inline__P108468_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P53582, depth: s.depth + 1, + parent: s, fn: inline__P108468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2531,7 +2531,7 @@ function inline__P53582_mk(s) { -function helpers_arraySort__P46082(s) { +function helpers_arraySort__P100968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2563,10 +2563,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (inline__P53605); + s.arg1 = (inline__P108491); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P49443_mk(s); + s.tmp_0 = helpers_sortHelper__P104329_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 3; s.pc = 5; return s.tmp_0; @@ -2575,12 +2575,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P46082.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__P100968.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__P46082_mk(s) { +function helpers_arraySort__P100968_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P46082, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P100968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2594,7 +2594,7 @@ function helpers_arraySort__P46082_mk(s) { -function inline__P53605(s) { +function inline__P108491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2604,26 +2604,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___53608 = undefined; - s.bIsUndef___53612 = undefined; - s.aIsNull___53623 = undefined; - s.bIsNull___53627 = undefined; + s.aIsUndef___108494 = undefined; + s.bIsUndef___108498 = undefined; + s.aIsNull___108509 = undefined; + s.bIsNull___108513 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___53608 = (r0); + s.aIsUndef___108494 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___53612 = (r0); - s.tmp_0 = r0 = s.aIsUndef___53608; + s.bIsUndef___108498 = (r0); + s.tmp_0 = r0 = s.aIsUndef___108494; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___53612; + r0 = s.bIsUndef___108498; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -2633,13 +2633,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___53608); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___108494); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___53612); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___108498); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -2648,16 +2648,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___53623 = (r0); + s.aIsNull___108509 = (r0); r0 = (s.arg1 === null); - s.bIsNull___53627 = (r0); - s.tmp_0 = r0 = s.aIsNull___53623; + s.bIsNull___108513 = (r0); + s.tmp_0 = r0 = s.aIsNull___108509; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___53627; + r0 = s.bIsNull___108513; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -2667,13 +2667,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___53623); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___108509); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___53627); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___108513); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -2712,12 +2712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P53605.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__P108491.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__P53605_mk(s) { +function inline__P108491_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P53605, depth: s.depth + 1, + parent: s, fn: inline__P108491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2727,10 +2727,10 @@ function inline__P53605_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___53608: undefined, - bIsUndef___53612: undefined, - aIsNull___53623: undefined, - bIsNull___53627: undefined, + aIsUndef___108494: undefined, + bIsUndef___108498: undefined, + aIsNull___108509: undefined, + bIsNull___108513: undefined, arg0: undefined, arg1: undefined, } } @@ -2739,7 +2739,7 @@ function inline__P53605_mk(s) { -function helpers_sortHelper__P49443(s) { +function helpers_sortHelper__P104329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2749,9 +2749,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___53662 = undefined; - s.i___53665 = undefined; - s.j___53671 = undefined; + s.len___108548 = undefined; + s.i___108551 = undefined; + s.j___108557 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2779,28 +2779,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___53662 = (r0); - s.i___53665 = (0); + s.len___108548 = (r0); + s.i___108551 = (0); case 5: - s.tmp_1 = r0 = s.i___53665; - r0 = (s.len___53662 - 1); + s.tmp_1 = r0 = s.i___108551; + r0 = (s.len___108548 - 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___53665 + 1); - s.j___53671 = (r0); + r0 = (s.i___108551 + 1); + s.j___108557 = (r0); case 6: - r0 = (s.j___53671 < s.len___53662); + r0 = (s.j___108557 < s.len___108548); 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___53665); + r0 = pxsim_Array__getAt(s.arg0, s.i___108551); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___53671); + r0 = pxsim_Array__getAt(s.arg0, s.j___108557); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 1; s.pc = 12; return s.tmp_3; @@ -2811,21 +2811,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P49442_mk(s); + s.tmp_4 = helpers_swap__P104328_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___53665; - s.tmp_4.arg2 = s.j___53671; + s.tmp_4.arg1 = s.i___108551; + s.tmp_4.arg2 = s.j___108557; s.callLocIdx = 2; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___53671 + 1); - s.j___53671 = (r0); + r0 = (s.j___108557 + 1); + s.j___108557 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___53665 + 1); - s.i___53665 = (r0); + r0 = (s.i___108551 + 1); + s.i___108551 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -2833,21 +2833,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P49443.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__P104329.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__P49443_mk(s) { +function helpers_sortHelper__P104329_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P49443, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P104329, 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___53662: undefined, - i___53665: undefined, - j___53671: undefined, + len___108548: undefined, + i___108551: undefined, + j___108557: undefined, arg0: undefined, arg1: undefined, } } @@ -2856,7 +2856,7 @@ function helpers_sortHelper__P49443_mk(s) { -function helpers_swap__P49442(s) { +function helpers_swap__P104328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2866,7 +2866,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___53700 = undefined; + s.temp___108586 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2874,28 +2874,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___53700 = (r0); + s.temp___108586 = (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___53700); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___108586); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P49442.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__P104328.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__P49442_mk(s) { +function helpers_swap__P104328_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P49442, depth: s.depth + 1, + parent: s, fn: helpers_swap__P104328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___53700: undefined, + temp___108586: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2905,7 +2905,7 @@ function helpers_swap__P49442_mk(s) { -function particles_init__P50191(s) { +function particles_init__P105077(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2915,33 +2915,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___53712 = undefined; - s.tmp_0 = game_currentScene__P48511_mk(s); + s.scene___108598 = undefined; + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 1143; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___53712 = (r0); - r0 = s.scene___53712.fields["particleSources"]; + s.scene___108598 = (r0); + r0 = s.scene___108598.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___53712; + s.tmp_1 = r0 = s.scene___108598; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___50186 = (r0); - s.tmp_0 = game_onUpdate__P48522_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P50192; + globals.lastUpdate___105072 = (r0); + s.tmp_0 = game_onUpdate__P103408_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P105078; s.callLocIdx = 1144; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P48523_mk(s); + s.tmp_0 = game_onUpdateInterval__P103409_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P50193; + s.tmp_0.arg1 = particles_pruneParticles__P105079; s.callLocIdx = 1145; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -2950,24 +2950,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P50191.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P105077.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__P50191_mk(s) { +function particles_init__P105077_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P50191, depth: s.depth + 1, + parent: s, fn: particles_init__P105077, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___53712: undefined, + scene___108598: undefined, } } -function particles_pruneParticles__P50193(s) { +function particles_pruneParticles__P105079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2977,25 +2977,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___52474 = undefined; - s.tmp_0 = particles_particleSources__P50197_mk(s); + s.sources___107360 = undefined; + s.tmp_0 = particles_particleSources__P105083_mk(s); s.callLocIdx = 1149; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___52474 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___52474); + s.sources___107360 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___107360); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P46086_mk(s); - s.tmp_1 = helpers_arraySlice__P46091_mk(s); - s.tmp_1.arg0 = s.sources___52474; + s.tmp_0 = helpers_arrayForEach__P100972_mk(s); + s.tmp_1 = helpers_arraySlice__P100977_mk(s); + s.tmp_1.arg0 = s.sources___107360; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___52474); + r0 = pxsim_Array__length(s.sources___107360); s.tmp_1.arg2 = r0; s.callLocIdx = 1150; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P52483; + s.tmp_0.arg1 = inline__P107369; s.callLocIdx = 1152; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -3005,23 +3005,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P50193.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P105079.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__P50193_mk(s) { +function particles_pruneParticles__P105079_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P50193, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P105079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___52474: undefined, + sources___107360: undefined, } } -function inline__P52483(s) { +function inline__P107369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3035,7 +3035,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P48665_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P103551_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1151; s.pc = 1; return s.tmp_0; case 1: @@ -3044,12 +3044,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P52483.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P107369.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__P52483_mk(s) { +function inline__P107369_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P52483, depth: s.depth + 1, + parent: s, fn: inline__P107369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3059,7 +3059,7 @@ function inline__P52483_mk(s) { -function particles_ParticleSource__prune__P48665(s) { +function particles_ParticleSource__prune__P103551(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3069,15 +3069,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___52513 = undefined; - s.sources___52521 = undefined; - s.current___52535 = undefined; + s.scene___107399 = undefined; + s.sources___107407 = undefined; + s.current___107421 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -3120,36 +3120,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P48511_mk(s); + s.tmp_5 = game_currentScene__P103397_mk(s); s.callLocIdx = 1124; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___52513 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___52513); + s.scene___107399 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___107399); if (!r0) { step = 7; continue; } - r0 = s.scene___52513.fields["allSprites"]; + r0 = s.scene___107399.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P50197_mk(s); + s.tmp_0 = particles_particleSources__P105083_mk(s); s.callLocIdx = 1125; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___52521 = (r0); - s.tmp_0 = r0 = s.sources___52521; + s.sources___107407 = (r0); + s.tmp_0 = r0 = s.sources___107407; 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___52521); + r0 = pxsim_Array__length(s.sources___107407); 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___52521, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___107407, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -3158,35 +3158,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___52535 = (r0); + s.current___107421 = (r0); case 15: - s.tmp_0 = r0 = s.current___52535; + s.tmp_0 = r0 = s.current___107421; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___52535.fields["next"]; + r0 = s.current___107421.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___52535.fields["next"]; + r0 = s.current___107421.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___52535.fields["next"]; + r0 = s.current___107421.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___52535).fields["next"] = (s.tmp_4); + r0 = (s.current___107421).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___52535.fields["next"]; - s.current___52535 = (r0); + r0 = s.current___107421.fields["next"]; + s.current___107421 = (r0); case 19: { step = 15; continue; } case 20: @@ -3194,12 +3194,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P48665.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__P103551.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__P48665_mk(s) { +function particles_ParticleSource__prune__P103551_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P48665, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P103551, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3207,9 +3207,9 @@ function particles_ParticleSource__prune__P48665_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___52513: undefined, - sources___52521: undefined, - current___52535: undefined, + scene___107399: undefined, + sources___107407: undefined, + current___107421: undefined, arg0: undefined, } } @@ -3217,7 +3217,7 @@ function particles_ParticleSource__prune__P48665_mk(s) { -function helpers_arraySlice__P46091(s) { +function helpers_arraySlice__P100977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3227,9 +3227,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___52558 = undefined; - s.len___52560 = undefined; - s.i___52594 = undefined; + s.res___107444 = undefined; + s.len___107446 = undefined; + s.i___107480 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3237,9 +3237,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___52558 = (r0); + s.res___107444 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___52560 = (r0); + s.len___107446 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -3251,8 +3251,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P46104_mk(s); - r0 = (s.len___52560 + s.arg1); + s.tmp_1 = Math_max__P100990_mk(s); + r0 = (s.len___107446 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 9; s.pc = 16; return s.tmp_1; @@ -3262,11 +3262,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___52560); + r0 = (s.arg1 > s.len___107446); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___52558; + r0 = s.res___107444; { step = 15; continue; } case 5: case 6: @@ -3274,57 +3274,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___52560); + s.arg2 = (s.len___107446); { 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___52560 + s.arg2); + r0 = (s.len___107446 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___52560); + r0 = (s.arg2 > s.len___107446); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___52560); + s.arg2 = (s.len___107446); case 11: case 12: - s.i___52594 = (s.arg1); + s.i___107480 = (s.arg1); case 13: - r0 = (s.i___52594 < s.arg2); + r0 = (s.i___107480 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___52558; - r0 = pxsim_Array__getAt(s.arg0, s.i___52594); + s.tmp_1 = r0 = s.res___107444; + r0 = pxsim_Array__getAt(s.arg0, s.i___107480); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___52594 + 1); - s.i___52594 = (r0); + r0 = (s.i___107480 + 1); + s.i___107480 = (r0); { step = 13; continue; } case 14: - r0 = s.res___52558; + r0 = s.res___107444; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P46091.info = {"start":8909,"length":690,"line":299,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +helpers_arraySlice__P100977.info = {"start":8909,"length":690,"line":299,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} -function helpers_arraySlice__P46091_mk(s) { +function helpers_arraySlice__P100977_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P46091, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P100977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___52558: undefined, - len___52560: undefined, - i___52594: undefined, + res___107444: undefined, + len___107446: undefined, + i___107480: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3334,7 +3334,7 @@ function helpers_arraySlice__P46091_mk(s) { -function Math_max__P46104(s) { +function Math_max__P100990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3362,12 +3362,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P46104.info = {"start":15575,"length":105,"line":529,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P100990.info = {"start":15575,"length":105,"line":529,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function Math_max__P46104_mk(s) { +function Math_max__P100990_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P46104, depth: s.depth + 1, + parent: s, fn: Math_max__P100990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3378,7 +3378,7 @@ function Math_max__P46104_mk(s) { -function helpers_arrayForEach__P46086(s) { +function helpers_arrayForEach__P100972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3388,49 +3388,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___51790 = undefined; - s.i___51793 = undefined; + s.len___106676 = undefined; + s.i___106679 = 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___51790 = (r0); - s.i___51793 = (0); + s.len___106676 = (r0); + s.i___106679 = (0); case 1: - r0 = (s.i___51793 < s.len___51790); + r0 = (s.i___106679 < s.len___106676); 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___51793); + r0 = pxsim_Array__getAt(s.arg0, s.i___106679); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___51793; + s.tmp_1.arg1 = s.i___106679; 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___51793 + 1); - s.i___51793 = (r0); + r0 = (s.i___106679 + 1); + s.i___106679 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P46086.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__P100972.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__P46086_mk(s) { +function helpers_arrayForEach__P100972_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P46086, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P100972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___51790: undefined, - i___51793: undefined, + len___106676: undefined, + i___106679: undefined, arg0: undefined, arg1: undefined, } } @@ -3439,7 +3439,7 @@ function helpers_arrayForEach__P46086_mk(s) { -function particles_updateParticles__P50192(s) { +function particles_updateParticles__P105078(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3449,16 +3449,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___53757 = undefined; - s.time___53764 = undefined; - s.dt___53767 = undefined; - s.i___53773 = undefined; - s.tmp_0 = particles_particleSources__P50197_mk(s); + s.sources___108643 = undefined; + s.time___108650 = undefined; + s.dt___108653 = undefined; + s.i___108659 = undefined; + s.tmp_0 = particles_particleSources__P105083_mk(s); s.callLocIdx = 1146; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___53757 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___53757); + s.sources___108643 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___108643); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3467,34 +3467,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P50194_mk(s); - s.tmp_2.arg0 = s.sources___53757; + s.tmp_2 = particles_sortSources__P105080_mk(s); + s.tmp_2.arg0 = s.sources___108643; s.callLocIdx = 1147; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___53764 = (r0); - r0 = (s.time___53764 - globals.lastUpdate___50186); - s.dt___53767 = (r0); - globals.lastUpdate___50186 = (s.time___53764); - s.i___53773 = (0); + s.time___108650 = (r0); + r0 = (s.time___108650 - globals.lastUpdate___105072); + s.dt___108653 = (r0); + globals.lastUpdate___105072 = (s.time___108650); + s.i___108659 = (0); case 3: - s.tmp_1 = r0 = s.i___53773; - r0 = pxsim_Array__length(s.sources___53757); + s.tmp_1 = r0 = s.i___108659; + r0 = pxsim_Array__length(s.sources___108643); 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__P48664_mk(s); - r0 = pxsim_Array__getAt(s.sources___53757, s.i___53773); + s.tmp_3 = particles_ParticleSource__update__P103550_mk(s); + r0 = pxsim_Array__getAt(s.sources___108643, s.i___108659); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___53767; + s.tmp_3.arg1 = s.dt___108653; s.callLocIdx = 1148; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___53773 + 1); - s.i___53773 = (r0); + r0 = (s.i___108659 + 1); + s.i___108659 = (r0); { step = 3; continue; } case 4: case 5: @@ -3502,28 +3502,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P50192.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P105078.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__P50192_mk(s) { +function particles_updateParticles__P105078_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P50192, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P105078, 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___53757: undefined, - time___53764: undefined, - dt___53767: undefined, - i___53773: undefined, + sources___108643: undefined, + time___108650: undefined, + dt___108653: undefined, + i___108659: undefined, } } -function particles_ParticleSource__update__P48664(s) { +function particles_ParticleSource__update__P103550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3533,16 +3533,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___53836 = undefined; - s.current___53855 = undefined; - s.fixedDt___53863 = undefined; + s.p___108722 = undefined; + s.current___108741 = undefined; + s.fixedDt___108749 = 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__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -3568,7 +3568,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__P48671_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P103557_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1119; s.pc = 28; return s.tmp_0; case 28: @@ -3641,7 +3641,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P48669_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P103555_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1122; s.pc = 31; return s.tmp_2; case 31: @@ -3659,18 +3659,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__C48693_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C103579_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__C48693_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C103579_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___53836 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___53836); + s.p___108722 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___108722); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3681,8 +3681,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___53836).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___53836); + r0 = (s.p___108722).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___108722); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -3697,7 +3697,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___53855 = (r0); + s.current___108741 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -3709,36 +3709,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___53863 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___53863); + s.fixedDt___108749 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___108749); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___53855.fields["lifespan"]; + r0 = s.current___108741.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___53855; + s.tmp_2 = r0 = s.current___108741; 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__C48657_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C103543_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___53855; - s.tmp_0.arg2 = s.fixedDt___53863; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C48657_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___108741; + s.tmp_0.arg2 = s.fixedDt___108749; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C103543_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___53855.fields["next"]; + r0 = s.current___108741.fields["next"]; s.tmp_0 = r0; - s.current___53855 = (r0); + s.current___108741 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -3747,15 +3747,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___53855; + s.tmp_0 = r0 = s.current___108741; 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___53855.fields["next"]; + r0 = s.current___108741.fields["next"]; s.tmp_0 = r0; - s.current___53855 = (r0); + s.current___108741 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -3766,12 +3766,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P48664.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__P103550.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__P48664_mk(s) { +function particles_ParticleSource__update__P103550_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P48664, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P103550, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3781,9 +3781,9 @@ function particles_ParticleSource__update__P48664_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___53836: undefined, - current___53855: undefined, - fixedDt___53863: undefined, + p___108722: undefined, + current___108741: undefined, + fixedDt___108749: undefined, arg0: undefined, arg1: undefined, } } @@ -3792,7 +3792,7 @@ function particles_ParticleSource__update__P48664_mk(s) { -function particles_ParticleSource_updateParticle__P50188(s) { +function particles_ParticleSource_updateParticle__P105074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3809,7 +3809,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -3864,12 +3864,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P50188.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__P105074.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__P50188_mk(s) { +function particles_ParticleSource_updateParticle__P105074_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P50188, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P105074, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3886,7 +3886,7 @@ function particles_ParticleSource_updateParticle__P50188_mk(s) { -function Fx_rightShift__P46143(s) { +function Fx_rightShift__P101029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3905,12 +3905,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P46143.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__P101029.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__P46143_mk(s) { +function Fx_rightShift__P101029_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P46143, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P101029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3920,7 +3920,7 @@ function Fx_rightShift__P46143_mk(s) { -function Fx_mul__P46134(s) { +function Fx_mul__P101020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3941,12 +3941,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P46134.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__P101020.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__P46134_mk(s) { +function Fx_mul__P101020_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P46134, depth: s.depth + 1, + parent: s, fn: Fx_mul__P101020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3957,7 +3957,7 @@ function Fx_mul__P46134_mk(s) { -function Fx_add__P46131(s) { +function Fx_add__P101017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3976,12 +3976,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P46131.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__P101017.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__P46131_mk(s) { +function Fx_add__P101017_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P46131, depth: s.depth + 1, + parent: s, fn: Fx_add__P101017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3991,7 +3991,7 @@ function Fx_add__P46131_mk(s) { -function particles_ParticleFactory_createParticle__P48695(s) { +function particles_ParticleFactory_createParticle__P103581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4001,17 +4001,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___53960 = undefined; + s.p___108846 = 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__C48693_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C48638_VT); - s.p___53960 = (r0); - s.tmp_0 = r0 = s.p___53960; + if (!checkSubtype(r0, particles_ParticleFactory__C103579_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C103524_VT); + s.p___108846 = (r0); + s.tmp_0 = r0 = s.p___108846; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -4030,7 +4030,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___53960; + s.tmp_0 = r0 = s.p___108846; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -4049,26 +4049,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___53960).fields["vx"] = (0); - r0 = (s.p___53960).fields["vy"] = (0); - r0 = (s.p___53960).fields["lifespan"] = (500); - r0 = s.p___53960; + r0 = (s.p___108846).fields["vx"] = (0); + r0 = (s.p___108846).fields["vy"] = (0); + r0 = (s.p___108846).fields["lifespan"] = (500); + r0 = s.p___108846; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P48695.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__P103581.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__P48695_mk(s) { +function particles_ParticleFactory_createParticle__P103581_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P48695, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P103581, 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___53960: undefined, + p___108846: undefined, arg0: undefined, arg1: undefined, } } @@ -4077,7 +4077,7 @@ function particles_ParticleFactory_createParticle__P48695_mk(s) { -function game_onUpdateInterval__P48523(s) { +function game_onUpdateInterval__P103409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4087,13 +4087,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___53736 = undefined; + s.timer___108622 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P49841_mk(s); + s.tmp_0 = game_init__P104727_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 927; s.pc = 6; return s.tmp_0; case 6: @@ -4117,15 +4117,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___53736 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___53736, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P53740); + s.timer___108622 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___108622, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P108626); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___53736); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___108622); 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__P46371_mk(s); - s.tmp_2 = game_eventContext__P48514_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P101257_mk(s); + s.tmp_2 = game_eventContext__P103400_mk(s); s.callLocIdx = 928; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -4140,17 +4140,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P48523.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__P103409.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__P48523_mk(s) { +function game_onUpdateInterval__P103409_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P48523, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P103409, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___53736: undefined, + timer___108622: undefined, arg0: undefined, arg1: undefined, } } @@ -4159,7 +4159,7 @@ function game_onUpdateInterval__P48523_mk(s) { -function inline__P53740(s) { +function inline__P108626(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4169,22 +4169,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___53741 = undefined; - s.tmp_1 = game_currentScene__P48511_mk(s); + s.time___108627 = undefined; + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 929; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___53741 = (r0); + s.time___108627 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___53741); + r0 = (s.tmp_1 <= s.time___108627); 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___53741 + s.caps[1]); + r0 = (s.time___108627 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -4199,25 +4199,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P53740.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P108626.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P53740_mk(s) { +function inline__P108626_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P53740, depth: s.depth + 1, + parent: s, fn: inline__P108626, 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___53741: undefined, + time___108627: undefined, } } -function scene_Scene_millis__P48422(s) { +function scene_Scene_millis__P103308(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4232,17 +4232,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C48398_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C103284_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P48422.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__P103308.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__P48422_mk(s) { +function scene_Scene_millis__P103308_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P48422, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P103308, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4251,7 +4251,7 @@ function scene_Scene_millis__P48422_mk(s) { -function particles_SprayFactory_constructor__P48698(s) { +function particles_SprayFactory_constructor__P103584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4269,19 +4269,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C48697_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C103583_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P50212_mk(s); + s.tmp_0 = particles_initTrig__P105098_mk(s); s.callLocIdx = 1180; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P48701_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P103587_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1181; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P48702_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P103588_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -4292,12 +4292,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P48698.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__P103584.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__P48698_mk(s) { +function particles_SprayFactory_constructor__P103584_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P48698, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P103584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4310,7 +4310,7 @@ function particles_SprayFactory_constructor__P48698_mk(s) { -function particles_initTrig__P50212(s) { +function particles_initTrig__P105098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4320,36 +4320,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___50198); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___105084); 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__P48691_mk(s); + s.tmp_2 = particles_cacheSin__P103577_mk(s); s.tmp_2.arg0 = 100; s.callLocIdx = 1168; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___50198 = (r0); - s.tmp_0 = particles_cacheCos__P48692_mk(s); + globals.cachedSin___105084 = (r0); + s.tmp_0 = particles_cacheCos__P103578_mk(s); s.tmp_0.arg0 = 100; s.callLocIdx = 1169; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___50199 = (r0); + globals.cachedCos___105085 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P50212.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P105098.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__P50212_mk(s) { +function particles_initTrig__P105098_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P50212, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P105098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4360,7 +4360,7 @@ function particles_initTrig__P50212_mk(s) { -function particles_cacheCos__P48692(s) { +function particles_cacheCos__P103578(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4370,25 +4370,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___53474 = undefined; - s.anglePerSlice___53476 = undefined; - s.i___53482 = undefined; + s.cos___108360 = undefined; + s.anglePerSlice___108362 = undefined; + s.i___108368 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___53474 = (r0); + s.cos___108360 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___53476 = (r0); - s.i___53482 = (0); + s.anglePerSlice___108362 = (r0); + s.i___108368 = (0); case 1: - r0 = (s.i___53482 < s.arg0); + r0 = (s.i___108368 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___53474; - r0 = (s.i___53482 * s.anglePerSlice___53476); + s.tmp_1 = r0 = s.cos___108360; + r0 = (s.i___108368 * s.anglePerSlice___108362); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -4397,20 +4397,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___53482 + 1); - s.i___53482 = (r0); + r0 = (s.i___108368 + 1); + s.i___108368 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___53474; + r0 = s.cos___108360; return leave(s, r0) default: oops() } } } -particles_cacheCos__P48692.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__P103578.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__P48692_mk(s) { +function particles_cacheCos__P103578_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P48692, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P103578, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4418,9 +4418,9 @@ function particles_cacheCos__P48692_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___53474: undefined, - anglePerSlice___53476: undefined, - i___53482: undefined, + cos___108360: undefined, + anglePerSlice___108362: undefined, + i___108368: undefined, arg0: undefined, } } @@ -4428,7 +4428,7 @@ function particles_cacheCos__P48692_mk(s) { -function particles_cacheSin__P48691(s) { +function particles_cacheSin__P103577(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4438,25 +4438,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___53500 = undefined; - s.anglePerSlice___53502 = undefined; - s.i___53508 = undefined; + s.sin___108386 = undefined; + s.anglePerSlice___108388 = undefined; + s.i___108394 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___53500 = (r0); + s.sin___108386 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___53502 = (r0); - s.i___53508 = (0); + s.anglePerSlice___108388 = (r0); + s.i___108394 = (0); case 1: - r0 = (s.i___53508 < s.arg0); + r0 = (s.i___108394 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___53500; - r0 = (s.i___53508 * s.anglePerSlice___53502); + s.tmp_1 = r0 = s.sin___108386; + r0 = (s.i___108394 * s.anglePerSlice___108388); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -4465,20 +4465,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___53508 + 1); - s.i___53508 = (r0); + r0 = (s.i___108394 + 1); + s.i___108394 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___53500; + r0 = s.sin___108386; return leave(s, r0) default: oops() } } } -particles_cacheSin__P48691.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__P103577.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__P48691_mk(s) { +function particles_cacheSin__P103577_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P48691, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P103577, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4486,9 +4486,9 @@ function particles_cacheSin__P48691_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___53500: undefined, - anglePerSlice___53502: undefined, - i___53508: undefined, + sin___108386: undefined, + anglePerSlice___108388: undefined, + i___108394: undefined, arg0: undefined, } } @@ -4496,7 +4496,7 @@ function particles_cacheSin__P48691_mk(s) { -function particles_SprayFactory_setDirection__P48702(s) { +function particles_SprayFactory_setDirection__P103588(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4513,9 +4513,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C48697_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C103583_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P50217_mk(s); + s.tmp_4 = particles_toRadians__P105103_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -4525,19 +4525,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___50211); + r0 = (s.tmp_3 / globals.angleSlice___105097); 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__P50217_mk(s); + s.tmp_4 = particles_toRadians__P105103_mk(s); s.tmp_4.arg0 = s.arg2; s.callLocIdx = 1191; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___50211); + r0 = (s.tmp_3 / globals.angleSlice___105097); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -4546,12 +4546,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P48702.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__P103588.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__P48702_mk(s) { +function particles_SprayFactory_setDirection__P103588_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P48702, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P103588, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4569,7 +4569,7 @@ function particles_SprayFactory_setDirection__P48702_mk(s) { -function particles_toRadians__P50217(s) { +function particles_toRadians__P105103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4587,7 +4587,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P46102_mk(s); + s.tmp_3 = Math_abs__P100988_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1172; s.pc = 3; return s.tmp_3; case 3: @@ -4606,12 +4606,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P50217.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__P105103.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__P50217_mk(s) { +function particles_toRadians__P105103_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P50217, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P105103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4624,7 +4624,7 @@ function particles_toRadians__P50217_mk(s) { -function particles_ParticleFactory_constructor__P48694(s) { +function particles_ParticleFactory_constructor__P103580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4639,17 +4639,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C48693_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C103579_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P48694.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__P103580.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__P48694_mk(s) { +function particles_ParticleFactory_constructor__P103580_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P48694, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P103580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4658,7 +4658,7 @@ function particles_ParticleFactory_constructor__P48694_mk(s) { -function particles_ParticleSource_setFactory__P48676(s) { +function particles_ParticleSource_setFactory__P103562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4674,7 +4674,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -4684,12 +4684,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P48676.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__P103562.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__P48676_mk(s) { +function particles_ParticleSource_setFactory__P103562_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P48676, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P103562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -4699,7 +4699,7 @@ function particles_ParticleSource_setFactory__P48676_mk(s) { -function particles_ParticleSource_setRate__P48674(s) { +function particles_ParticleSource_setRate__P103560(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4715,7 +4715,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -4727,12 +4727,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P48674.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__P103560.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__P48674_mk(s) { +function particles_ParticleSource_setRate__P103560_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P48674, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P103560, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4745,7 +4745,7 @@ function particles_ParticleSource_setRate__P48674_mk(s) { -function particles_ParticleSource_setAnchor__P48673(s) { +function particles_ParticleSource_setAnchor__P103559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4761,18 +4761,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P48673.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__P103559.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__P48673_mk(s) { +function particles_ParticleSource_setAnchor__P103559_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P48673, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P103559, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -4782,7 +4782,7 @@ function particles_ParticleSource_setAnchor__P48673_mk(s) { -function particles_ParticleSource_clear__P48672(s) { +function particles_ParticleSource_clear__P103558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4797,18 +4797,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P48672.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__P103558.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__P48672_mk(s) { +function particles_ParticleSource_clear__P103558_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P48672, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P103558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4817,7 +4817,7 @@ function particles_ParticleSource_clear__P48672_mk(s) { -function particles_ParticleSource_destroy__P48671(s) { +function particles_ParticleSource_destroy__P103557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4832,8 +4832,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P48670_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P103556_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1129; s.pc = 1; return s.tmp_0; @@ -4845,7 +4845,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__P48665_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P103551_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1130; s.pc = 2; return s.tmp_0; case 2: @@ -4854,12 +4854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P48671.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__P103557.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__P48671_mk(s) { +function particles_ParticleSource_destroy__P103557_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P48671, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P103557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4871,7 +4871,7 @@ function particles_ParticleSource_destroy__P48671_mk(s) { -function particles_ParticleSource_enabled__P48670(s) { +function particles_ParticleSource_enabled__P103556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4887,9 +4887,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P48669_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P103555_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1128; s.pc = 5; return s.tmp_3; case 5: @@ -4920,12 +4920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P48670.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__P103556.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__P48670_mk(s) { +function particles_ParticleSource_enabled__P103556_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P48670, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P103556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4942,7 +4942,7 @@ function particles_ParticleSource_enabled__P48670_mk(s) { -function particles_ParticleSource_enabled__P48669(s) { +function particles_ParticleSource_enabled__P103555(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4957,7 +4957,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -4972,13 +4972,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P48669.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__P48669.isGetter = true; +particles_ParticleSource_enabled__P103555.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__P103555.isGetter = true; -function particles_ParticleSource_enabled__P48669_mk(s) { +function particles_ParticleSource_enabled__P103555_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P48669, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P103555, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4992,7 +4992,7 @@ function particles_ParticleSource_enabled__P48669_mk(s) { -function particles_ParticleSource_setAcceleration__P48666(s) { +function particles_ParticleSource_setAcceleration__P103552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5009,7 +5009,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -5026,12 +5026,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P48666.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__P103552.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__P48666_mk(s) { +function particles_ParticleSource_setAcceleration__P103552_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P48666, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P103552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5045,7 +5045,7 @@ function particles_ParticleSource_setAcceleration__P48666_mk(s) { -function sprites_BaseSprite_constructor__P47839(s) { +function sprites_BaseSprite_constructor__P102725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5061,15 +5061,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C47837_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P47842_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C102723_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P102728_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 164; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P48423_mk(s); - s.tmp_1 = game_currentScene__P48511_mk(s); + s.tmp_0 = scene_Scene_addSprite__P103309_mk(s); + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 165; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -5082,12 +5082,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P47839.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__P102725.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__P47839_mk(s) { +function sprites_BaseSprite_constructor__P102725_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P47839, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P102725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5099,7 +5099,7 @@ function sprites_BaseSprite_constructor__P47839_mk(s) { -function scene_Scene_addSprite__P48423(s) { +function scene_Scene_addSprite__P103309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5115,7 +5115,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C48398_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C103284_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -5142,12 +5142,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P48423.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__P103309.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__P48423_mk(s) { +function scene_Scene_addSprite__P103309_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P48423, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P103309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5161,7 +5161,7 @@ function scene_Scene_addSprite__P48423_mk(s) { -function sprites_BaseSprite_z__P47842(s) { +function sprites_BaseSprite_z__P102728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5177,7 +5177,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C47837_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C102723_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -5185,7 +5185,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__P48511_mk(s); + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 167; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -5201,12 +5201,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P47842.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__P102728.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__P47842_mk(s) { +function sprites_BaseSprite_z__P102728_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P47842, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P102728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5220,7 +5220,7 @@ function sprites_BaseSprite_z__P47842_mk(s) { -function sprites_BaseSprite_z__P47841(s) { +function sprites_BaseSprite_z__P102727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5235,18 +5235,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C47837_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C102723_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P47841.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__P47841.isGetter = true; +sprites_BaseSprite_z__P102727.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__P102727.isGetter = true; -function sprites_BaseSprite_z__P47841_mk(s) { +function sprites_BaseSprite_z__P102727_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P47841, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P102727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5255,7 +5255,7 @@ function sprites_BaseSprite_z__P47841_mk(s) { -function helpers_arrayShift__P46079(s) { +function helpers_arrayShift__P100965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5273,12 +5273,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P46079.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} +helpers_arrayShift__P100965.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__P46079_mk(s) { +function helpers_arrayShift__P100965_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P46079, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P100965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5287,7 +5287,7 @@ function helpers_arrayShift__P46079_mk(s) { -function particles_SprayFactory_setSpeed__P48701(s) { +function particles_SprayFactory_setSpeed__P103587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5303,7 +5303,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C48697_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C103583_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -5314,12 +5314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P48701.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__P103587.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__P48701_mk(s) { +function particles_SprayFactory_setSpeed__P103587_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P48701, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P103587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5332,7 +5332,7 @@ function particles_SprayFactory_setSpeed__P48701_mk(s) { -function particles_ConfettiFactory_constructor__P48725(s) { +function particles_ConfettiFactory_constructor__P103611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5342,8 +5342,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___54030 = undefined; - s.i___54046 = undefined; + s.confetti___108916 = undefined; + s.i___108932 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5351,52 +5351,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C48724_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C103610_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex54033); + r0 = pxsim.image.ofBuffer(_hex108919); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex54035); + r0 = pxsim.image.ofBuffer(_hex108921); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex54037); + r0 = pxsim.image.ofBuffer(_hex108923); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex54039); + r0 = pxsim.image.ofBuffer(_hex108925); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex54041); + r0 = pxsim.image.ofBuffer(_hex108927); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___54030 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P48720_mk(s); + s.confetti___108916 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P103606_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___54030, 0); + r0 = pxsim_Array__getAt(s.confetti___108916, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1214; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___54046 = (1); + s.i___108932 = (1); case 1: - s.tmp_1 = r0 = s.i___54046; - r0 = pxsim_Array__length(s.confetti___54030); + s.tmp_1 = r0 = s.i___108932; + r0 = pxsim_Array__length(s.confetti___108916); 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__P48721_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P103607_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___54030, s.i___54046); + r0 = pxsim_Array__getAt(s.confetti___108916, s.i___108932); s.tmp_3.arg1 = r0; s.callLocIdx = 1215; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___54046 + 1); - s.i___54046 = (r0); + r0 = (s.i___108932 + 1); + s.i___108932 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -5405,12 +5405,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P48725.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__P103611.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__P48725_mk(s) { +function particles_ConfettiFactory_constructor__P103611_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P48725, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P103611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5418,23 +5418,23 @@ function particles_ConfettiFactory_constructor__P48725_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___54030: undefined, - i___54046: undefined, + confetti___108916: undefined, + i___108932: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex54033 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex54035 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex54037 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex54039 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex54041 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex108919 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex108921 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex108923 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex108925 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex108927 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P48721(s) { +function particles_ShapeFactory_addShape__P103607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5450,7 +5450,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C48719_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C103605_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -5462,12 +5462,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P48721.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__P103607.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__P48721_mk(s) { +function particles_ShapeFactory_addShape__P103607_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P48721, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P103607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5478,7 +5478,7 @@ function particles_ShapeFactory_addShape__P48721_mk(s) { -function particles_ShapeFactory_constructor__P48720(s) { +function particles_ShapeFactory_constructor__P103606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5496,8 +5496,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C48719_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P48708_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C103605_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P103594_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -5534,12 +5534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P48720.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__P103606.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__P48720_mk(s) { +function particles_ShapeFactory_constructor__P103606_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P48720, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P103606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5556,7 +5556,7 @@ function particles_ShapeFactory_constructor__P48720_mk(s) { -function particles_AreaFactory_constructor__P48708(s) { +function particles_AreaFactory_constructor__P103594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5575,8 +5575,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C48703_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P48698_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C103589_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P103584_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -5606,9 +5606,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__C48565_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C103451_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P48567_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P103453_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1193; s.pc = 6; return s.tmp_1; @@ -5619,12 +5619,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P48708.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__P103594.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__P48708_mk(s) { +function particles_AreaFactory_constructor__P103594_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P48708, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P103594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5639,7 +5639,7 @@ function particles_AreaFactory_constructor__P48708_mk(s) { -function effects_ScreenEffect_constructor__P48773(s) { +function effects_ScreenEffect_constructor__P103659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5658,8 +5658,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C48772_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P48769_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C103658_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P103655_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -5672,12 +5672,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P48773.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__P103659.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__P48773_mk(s) { +function effects_ScreenEffect_constructor__P103659_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P48773, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P103659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5691,7 +5691,7 @@ function effects_ScreenEffect_constructor__P48773_mk(s) { -function effects_ParticleEffect_constructor__P48769(s) { +function effects_ParticleEffect_constructor__P103655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5709,7 +5709,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C48768_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C103654_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -5717,12 +5717,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P48769.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__P103655.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__P48769_mk(s) { +function effects_ParticleEffect_constructor__P103655_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P48769, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P103655, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5734,7 +5734,7 @@ function effects_ParticleEffect_constructor__P48769_mk(s) { -function scene_Scene_init__P48420(s) { +function scene_Scene_init__P103306(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5749,7 +5749,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C48398_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C103284_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -5757,7 +5757,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P47684_mk(s); + s.tmp_1 = power_poke__P102570_mk(s); s.callLocIdx = 817; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -5766,10 +5766,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__P54165); + r0 = pxsim_pxtcore_mkAction(1, inline__P109051); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P46371_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P101257_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -5777,18 +5777,18 @@ switch (step) { s.callLocIdx = 820; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P46371_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P101257_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P47901; + s.tmp_0.arg2 = controller__moveSprites__P102787; s.callLocIdx = 821; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P54188); + r0 = pxsim_pxtcore_mkAction(1, inline__P109074); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P46371_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P101257_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -5796,10 +5796,10 @@ switch (step) { s.callLocIdx = 823; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P54201); + r0 = pxsim_pxtcore_mkAction(1, inline__P109087); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P46371_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P101257_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -5807,10 +5807,10 @@ switch (step) { s.callLocIdx = 827; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P54222); + r0 = pxsim_pxtcore_mkAction(1, inline__P109108); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P46371_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P101257_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -5818,10 +5818,10 @@ switch (step) { s.callLocIdx = 829; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P54230); + r0 = pxsim_pxtcore_mkAction(1, inline__P109116); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P46371_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P101257_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -5829,19 +5829,19 @@ switch (step) { s.callLocIdx = 833; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P46371_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P101257_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P47742; + s.tmp_0.arg2 = control___screen_update__P102628; s.callLocIdx = 834; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P54259); + r0 = pxsim_pxtcore_mkAction(1, inline__P109145); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P46086_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___48418; + s.tmp_1 = helpers_arrayForEach__P100972_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___103304; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 836; s.pc = 12; return s.tmp_1; case 12: @@ -5851,12 +5851,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P48420.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__P103306.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__P48420_mk(s) { +function scene_Scene_init__P103306_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P48420, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P103306, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5867,7 +5867,7 @@ function scene_Scene_init__P48420_mk(s) { -function inline__P54165(s) { +function inline__P109051(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5886,7 +5886,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__P47929_mk(s); + s.tmp_0 = controller___update__P102815_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -5900,12 +5900,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P54165.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P109051.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P54165_mk(s) { +function inline__P109051_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P54165, depth: s.depth + 1, + parent: s, fn: inline__P109051, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5917,7 +5917,7 @@ function inline__P54165_mk(s) { -function inline__P54188(s) { +function inline__P109074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5927,7 +5927,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C48138_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C103024_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -5936,7 +5936,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C48138_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C103024_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: @@ -5945,12 +5945,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P54188.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P109074.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P54188_mk(s) { +function inline__P109074_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P54188, depth: s.depth + 1, + parent: s, fn: inline__P109074, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5961,7 +5961,7 @@ function inline__P54188_mk(s) { -function inline__P54201(s) { +function inline__P109087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5971,39 +5971,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___54202 = undefined; - s.s___54210 = undefined; - s.unnamed234___U2 = undefined; - s.unnamed235___U3 = undefined; + s.dt___109088 = undefined; + s.s___109096 = undefined; + s.unnamed474___U2 = undefined; + s.unnamed475___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___54202 = (r0); - s.tmp_0 = scene_Camera_update__P48355_mk(s); + s.dt___109088 = (r0); + s.tmp_0 = scene_Camera_update__P103241_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 825; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___54210 = (undefined); + s.s___109096 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed234___U2 = (r0); - s.unnamed235___U3 = (0); + s.unnamed474___U2 = (r0); + s.unnamed475___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed235___U3; - r0 = pxsim_Array__length(s.unnamed234___U2); + s.tmp_0 = r0 = s.unnamed475___U3; + r0 = pxsim_Array__length(s.unnamed474___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed234___U2, s.unnamed235___U3); - s.s___54210 = (r0); + r0 = pxsim_Array__getAt(s.unnamed474___U2, s.unnamed475___U3); + s.s___109096 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___54210; + s.tmp_2.arg0 = s.s___109096; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___54202; + s.tmp_2.arg2 = s.dt___109088; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 826; s.pc = 4; return s.tmp_2; @@ -6015,36 +6015,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed235___U3 + 1); - s.unnamed235___U3 = (r0); + r0 = (s.unnamed475___U3 + 1); + s.unnamed475___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed234___U2 = (undefined); + s.unnamed474___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P54201.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P109087.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P54201_mk(s) { +function inline__P109087_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P54201, depth: s.depth + 1, + parent: s, fn: inline__P109087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___54202: undefined, - s___54210: undefined, - unnamed234___U2: undefined, - unnamed235___U3: undefined, + dt___109088: undefined, + s___109096: undefined, + unnamed474___U2: undefined, + unnamed475___U3: undefined, } } -function inline__P54222(s) { +function inline__P109108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6054,7 +6054,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P48425_mk(s); + s.tmp_0 = scene_Scene_render__P103311_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 828; s.pc = 1; return s.tmp_0; case 1: @@ -6063,12 +6063,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P54222.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P109108.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P54222_mk(s) { +function inline__P109108_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P54222, depth: s.depth + 1, + parent: s, fn: inline__P109108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -6077,7 +6077,7 @@ function inline__P54222_mk(s) { -function inline__P54230(s) { +function inline__P109116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6087,26 +6087,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___48508; + s.tmp_0 = r0 = globals.stats___103394; 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___46366; + r0 = globals.control_EventContext_onStats___101252; 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___46366; - if ((globals.control_EventContext_lastStats___46365) && (globals.control_EventContext_lastStats___46365).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___101252; + if ((globals.control_EventContext_lastStats___101251) && (globals.control_EventContext_lastStats___101251).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___46365); + pxsim_String__stringConv(globals.control_EventContext_lastStats___101251); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___46365) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___101251) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -6142,23 +6142,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___48507); + r0 = pxsim_numops_toBoolDecr(globals.debug___103393); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C48138_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C103024_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C48138_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C103024_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__P48633_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P103519_mk(s); s.callLocIdx = 831; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P47685_mk(s); + s.tmp_0 = power_checkDeepSleep__P102571_mk(s); s.callLocIdx = 832; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -6166,12 +6166,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P54230.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P109116.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P54230_mk(s) { +function inline__P109116_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P54230, depth: s.depth + 1, + parent: s, fn: inline__P109116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6188,7 +6188,7 @@ function inline__P54230_mk(s) { -function inline__P54259(s) { +function inline__P109145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6213,12 +6213,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P54259.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P109145.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__P54259_mk(s) { +function inline__P109145_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P54259, depth: s.depth + 1, + parent: s, fn: inline__P109145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6228,7 +6228,7 @@ function inline__P54259_mk(s) { -function game_consoleOverlay_draw__P48633(s) { +function game_consoleOverlay_draw__P103519(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6238,16 +6238,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___54308 = undefined; - s.top___54313 = undefined; - s.i___54319 = undefined; - s.t___54332 = undefined; - s.tOff___54339 = undefined; - s.tab___54341 = undefined; - s.unnamed238___U6 = undefined; - s.unnamed239___U7 = undefined; - s.padding___54343 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___50131); + s.height___109194 = undefined; + s.top___109199 = undefined; + s.i___109205 = undefined; + s.t___109218 = undefined; + s.tOff___109225 = undefined; + s.tab___109227 = undefined; + s.unnamed478___U6 = undefined; + s.unnamed479___U7 = undefined; + s.padding___109229 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___105017); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -6256,7 +6256,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___50085); + r0 = pxsim_numops_toBoolDecr(globals.instance___104971); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -6272,7 +6272,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___50139; + s.tmp_7.arg0 = globals.consoleFont___105025; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -6285,10 +6285,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___54308 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___48508); + s.height___109194 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___103394); if (!r0) { step = 5; continue; } - r0 = s.height___54308; + r0 = s.height___109194; { step = 6; continue; } case 5: r0 = 0; @@ -6296,17 +6296,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___54313 = (r0); - s.i___54319 = (0); + s.top___109199 = (r0); + s.i___109205 = (0); case 7: - s.tmp_1 = r0 = s.i___54319; - r0 = pxsim_Array__length(globals.consoleStrings___50131); + s.tmp_1 = r0 = s.i___109205; + r0 = pxsim_Array__length(globals.consoleStrings___105017); 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___50131, s.i___54319); + r0 = pxsim_Array__getAt(globals.consoleStrings___105017, s.i___109205); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -6314,43 +6314,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P46096_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___50131, s.i___54319); + s.tmp_6 = helpers_stringSplit__P100982_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___105017, s.i___109205); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.callLocIdx = 1098; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___54332 = (r0); - s.tOff___54339 = (0); - s.tab___54341 = (undefined); - s.unnamed238___U6 = (s.t___54332); - s.unnamed239___U7 = (0); + s.t___109218 = (r0); + s.tOff___109225 = (0); + s.tab___109227 = (undefined); + s.unnamed478___U6 = (s.t___109218); + s.unnamed479___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed239___U7; - r0 = pxsim_Array__length(s.unnamed238___U6); + s.tmp_0 = r0 = s.unnamed479___U7; + r0 = pxsim_Array__length(s.unnamed478___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed238___U6, s.unnamed239___U7); - s.tab___54341 = (r0); - s.tmp_2 = r0 = globals.tabSize___50133; - s.tmp_5 = r0 = s.tOff___54339; - r0 = pxsim_String_.length(s.tab___54341); + r0 = pxsim_Array__getAt(s.unnamed478___U6, s.unnamed479___U7); + s.tab___109227 = (r0); + s.tmp_2 = r0 = globals.tabSize___105019; + s.tmp_5 = r0 = s.tOff___109225; + r0 = pxsim_String_.length(s.tab___109227); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___50133); + r0 = (s.tmp_4 % globals.tabSize___105019); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___54343 = (r0); - s.tmp_0 = helpers_imagePrint__P47739_mk(s); - s.tmp_0.arg0 = globals.screen___47781; - s.tmp_0.arg1 = s.tab___54341; - s.tmp_2 = r0 = s.tOff___54339; + s.padding___109229 = (r0); + s.tmp_0 = helpers_imagePrint__P102625_mk(s); + s.tmp_0.arg0 = globals.screen___102667; + s.tmp_0.arg1 = s.tab___109227; + s.tmp_2 = r0 = s.tOff___109225; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___50139; + s.tmp_4.arg0 = globals.consoleFont___105025; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -6366,50 +6366,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___54313; - r0 = (s.i___54319 * s.height___54308); + s.tmp_5 = r0 = s.top___109199; + r0 = (s.i___109205 * s.height___109194); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___50130; - s.tmp_0.arg5 = globals.consoleFont___50139; + s.tmp_0.arg4 = globals.consoleColor___105016; + s.tmp_0.arg5 = globals.consoleFont___105025; s.tmp_0.arg6 = undefined; s.callLocIdx = 1100; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___54339; - r0 = pxsim_String_.length(s.tab___54341); + s.tmp_0 = r0 = s.tOff___109225; + r0 = pxsim_String_.length(s.tab___109227); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___54343); + r0 = (s.tmp_2 + s.padding___109229); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___54339 = (r0); - r0 = (s.unnamed239___U7 + 1); - s.unnamed239___U7 = (r0); + s.tOff___109225 = (r0); + r0 = (s.unnamed479___U7 + 1); + s.unnamed479___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed238___U6 = (undefined); + s.unnamed478___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P47739_mk(s); - s.tmp_0.arg0 = globals.screen___47781; - r0 = pxsim_Array__getAt(globals.consoleStrings___50131, s.i___54319); + s.tmp_0 = helpers_imagePrint__P102625_mk(s); + s.tmp_0.arg0 = globals.screen___102667; + r0 = pxsim_Array__getAt(globals.consoleStrings___105017, s.i___109205); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___54313; - r0 = (s.i___54319 * s.height___54308); + s.tmp_1 = r0 = s.top___109199; + r0 = (s.i___109205 * s.height___109194); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___50130; - s.tmp_0.arg5 = globals.consoleFont___50139; + s.tmp_0.arg4 = globals.consoleColor___105016; + s.tmp_0.arg5 = globals.consoleFont___105025; s.tmp_0.arg6 = undefined; s.callLocIdx = 1101; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___54319 + 1); - s.i___54319 = (r0); + r0 = (s.i___109205 + 1); + s.i___109205 = (r0); { step = 7; continue; } case 12: case 13: @@ -6417,12 +6417,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P48633.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__P103519.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__P48633_mk(s) { +function game_consoleOverlay_draw__P103519_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P48633, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P103519, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6432,22 +6432,22 @@ function game_consoleOverlay_draw__P48633_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___54308: undefined, - top___54313: undefined, - i___54319: undefined, - t___54332: undefined, - tOff___54339: undefined, - tab___54341: undefined, - unnamed238___U6: undefined, - unnamed239___U7: undefined, - padding___54343: undefined, + height___109194: undefined, + top___109199: undefined, + i___109205: undefined, + t___109218: undefined, + tOff___109225: undefined, + tab___109227: undefined, + unnamed478___U6: undefined, + unnamed479___U7: undefined, + padding___109229: undefined, } } -function scene_systemMenu_isVisible__P48614(s) { +function scene_systemMenu_isVisible__P103500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6457,7 +6457,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___50085); + r0 = pxsim_numops_toBoolDecr(globals.instance___104971); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -6467,12 +6467,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P48614.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__P103500.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__P48614_mk(s) { +function scene_systemMenu_isVisible__P103500_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P48614, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P103500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6483,7 +6483,7 @@ function scene_systemMenu_isVisible__P48614_mk(s) { -function helpers_imagePrint__P47739(s) { +function helpers_imagePrint__P102625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6493,31 +6493,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___54415 = undefined; - s.cp___54417 = undefined; - s.mult___54418 = undefined; - s.dataW___54423 = undefined; - s.dataH___54429 = undefined; - s.byteHeight___54435 = undefined; - s.charSize___54441 = undefined; - s.dataSize___54445 = undefined; - s.fontdata___54449 = undefined; - s.lastchar___54452 = undefined; - s.imgBuf___54459 = undefined; - s.xOffset___54483 = undefined; - s.yOffset___54484 = undefined; - s.ch___54499 = undefined; - s.l___54518 = undefined; - s.r___54519 = undefined; - s.off___54521 = undefined; - s.guess___54522 = undefined; - s.m___54541 = undefined; - s.v___54550 = undefined; - s.i___54606 = undefined; - s.j___54611 = undefined; - s.mask___54612 = undefined; - s.c___54613 = undefined; - s.n___54630 = undefined; + s.x0___109301 = undefined; + s.cp___109303 = undefined; + s.mult___109304 = undefined; + s.dataW___109309 = undefined; + s.dataH___109315 = undefined; + s.byteHeight___109321 = undefined; + s.charSize___109327 = undefined; + s.dataSize___109331 = undefined; + s.fontdata___109335 = undefined; + s.lastchar___109338 = undefined; + s.imgBuf___109345 = undefined; + s.xOffset___109369 = undefined; + s.yOffset___109370 = undefined; + s.ch___109385 = undefined; + s.l___109404 = undefined; + s.r___109405 = undefined; + s.off___109407 = undefined; + s.guess___109408 = undefined; + s.m___109427 = undefined; + s.v___109436 = undefined; + s.i___109492 = undefined; + s.j___109497 = undefined; + s.mask___109498 = undefined; + s.c___109499 = undefined; + s.n___109516 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6538,7 +6538,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P47726_mk(s); + s.tmp_2 = image_getFontForText__P102612_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 134; s.pc = 39; return s.tmp_2; case 39: @@ -6555,8 +6555,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___54415 = (s.arg2); - s.cp___54417 = (0); + s.x0___109301 = (s.arg2); + s.cp___109303 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -6590,7 +6590,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___54418 = (s.tmp_3); + s.mult___109304 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -6604,8 +6604,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___54418); - s.dataW___54423 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___109304); + s.dataW___109309 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -6619,16 +6619,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___54418); - s.dataH___54429 = (r0); - r0 = (s.dataH___54429 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___109304); + s.dataH___109315 = (r0); + r0 = (s.dataH___109315 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___54435 = (r0); - r0 = (s.byteHeight___54435 * s.dataW___54423); - s.charSize___54441 = (r0); - r0 = (2 + s.charSize___54441); - s.dataSize___54445 = (r0); + s.byteHeight___109321 = (r0); + r0 = (s.byteHeight___109321 * s.dataW___109309); + s.charSize___109327 = (r0); + r0 = (2 + s.charSize___109327); + s.dataSize___109331 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -6641,44 +6641,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___54449 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___54449); + s.fontdata___109335 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___109335); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___54445); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___109331); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___54452 = (r0); - r0 = (s.mult___54418 == 1); + s.lastchar___109338 = (r0); + r0 = (s.mult___109304 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___54441); + r0 = (8 + s.charSize___109327); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___54459 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___54459, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___54459, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___54459, 2, s.dataW___54423); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___54459, 4, s.dataH___54429); + s.imgBuf___109345 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___109345, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___109345, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___109345, 2, s.dataW___109309); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___109345, 4, s.dataH___109315); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___54417; + s.tmp_1 = r0 = s.cp___109303; 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___54483 = (0); - s.yOffset___54484 = (0); + s.xOffset___109369 = (0); + s.yOffset___109370 = (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___54417; + s.tmp_1 = r0 = s.cp___109303; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -6688,7 +6688,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___54417); + r0 = pxsim_Array__getAt(s.arg6, s.cp___109303); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -6700,9 +6700,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___54483 = (r0); + s.xOffset___109369 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___54417); + r0 = pxsim_Array__getAt(s.arg6, s.cp___109303); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -6714,15 +6714,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___54484 = (r0); + s.yOffset___109370 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___54417; + s.tmp_0 = r0 = s.cp___109303; r0 = (s.tmp_0 + 1); - s.cp___54417 = (r0); + s.cp___109303 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___54499 = (r0); - r0 = (s.ch___54499 == 10); + s.ch___109385 = (r0); + r0 = (s.ch___109385 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -6744,89 +6744,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___54415); + s.arg2 = (s.x0___109301); case 14: case 15: - r0 = (s.ch___54499 < 32); + r0 = (s.ch___109385 < 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___54518 = (0); - s.r___54519 = (s.lastchar___54452); - s.off___54521 = (0); - r0 = (s.ch___54499 - 32); + s.l___109404 = (0); + s.r___109405 = (s.lastchar___109338); + s.off___109407 = (0); + r0 = (s.ch___109385 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___54445); - s.guess___54522 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___54449, 4, s.guess___54522); + r0 = (s.tmp_0 * s.dataSize___109331); + s.guess___109408 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___109335, 4, s.guess___109408); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___54499); + r0 = (s.tmp_1 == s.ch___109385); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___54521 = (s.guess___54522); + s.off___109407 = (s.guess___109408); { step = 25; continue; } case 18: case 19: - r0 = (s.l___54518 <= s.r___54519); + r0 = (s.l___109404 <= s.r___109405); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___54518; - r0 = (s.r___54519 - s.l___54518); + s.tmp_1 = r0 = s.l___109404; + r0 = (s.r___109405 - s.l___109404); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___54541 = (r0); - s.tmp_0 = r0 = s.fontdata___54449; - r0 = (s.m___54541 * s.dataSize___54445); + s.m___109427 = (r0); + s.tmp_0 = r0 = s.fontdata___109335; + r0 = (s.m___109427 * s.dataSize___109331); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___54550 = (r0); - r0 = (s.v___54550 == s.ch___54499); + s.v___109436 = (r0); + r0 = (s.v___109436 == s.ch___109385); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___54541 * s.dataSize___54445); - s.off___54521 = (r0); + r0 = (s.m___109427 * s.dataSize___109331); + s.off___109407 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___54550 < s.ch___54499); + r0 = (s.v___109436 < s.ch___109385); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___54541 + 1); - s.l___54518 = (r0); + r0 = (s.m___109427 + 1); + s.l___109404 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___54541 - 1); - s.r___54519 = (r0); + r0 = (s.m___109427 - 1); + s.r___109405 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___54418 == 1); + r0 = (s.mult___109304 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___54459; - s.tmp_3 = r0 = s.fontdata___54449; - r0 = (s.off___54521 + 2); + s.tmp_1 = r0 = s.imgBuf___109345; + s.tmp_3 = r0 = s.fontdata___109335; + r0 = (s.off___109407 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___54441); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___109327); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P47706_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P102592_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___54459; - r0 = (s.arg2 + s.xOffset___54483); + s.tmp_0.arg1 = s.imgBuf___109345; + r0 = (s.arg2 + s.xOffset___109369); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___54484); + r0 = (s.arg3 + s.yOffset___109370); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 143; s.pc = 48; return s.tmp_0; @@ -6850,88 +6850,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___54521 + 2); - s.off___54521 = (r0); - s.i___54606 = (0); + r0 = (s.off___109407 + 2); + s.off___109407 = (r0); + s.i___109492 = (0); case 27: - r0 = (s.i___54606 < s.dataW___54423); + r0 = (s.i___109492 < s.dataW___109309); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___54611 = (0); - s.mask___54612 = (1); - s.tmp_0 = r0 = s.off___54521; + s.j___109497 = (0); + s.mask___109498 = (1); + s.tmp_0 = r0 = s.off___109407; r0 = (s.tmp_0 + 1); - s.off___54521 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___54449, s.tmp_0); - s.c___54613 = (r0); + s.off___109407 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___109335, s.tmp_0); + s.c___109499 = (r0); case 28: - r0 = (s.j___54611 < s.dataH___54429); + r0 = (s.j___109497 < s.dataH___109315); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___54612 == 256); + r0 = (s.mask___109498 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___54521; + s.tmp_2 = r0 = s.off___109407; r0 = (s.tmp_2 + 1); - s.off___54521 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___54449, s.tmp_2); - s.c___54613 = (r0); - s.mask___54612 = (1); + s.off___109407 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___109335, s.tmp_2); + s.c___109499 = (r0); + s.mask___109498 = (1); case 29: case 30: - s.n___54630 = (0); + s.n___109516 = (0); case 31: - r0 = (s.c___54613 & s.mask___54612); + r0 = (s.c___109499 & s.mask___109498); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___54630 + 1); - s.n___54630 = (r0); - r0 = (s.mask___54612 << 1); - s.mask___54612 = (r0); + r0 = (s.n___109516 + 1); + s.n___109516 = (r0); + r0 = (s.mask___109498 << 1); + s.mask___109498 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___54630); + r0 = pxsim_numops_toBoolDecr(s.n___109516); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P47707_mk(s); + s.tmp_0 = helpers_imageFillRect__P102593_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___54483 * s.mult___54418); + r0 = (s.xOffset___109369 * s.mult___109304); 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___54611 + s.yOffset___54484); + r0 = (s.j___109497 + s.yOffset___109370); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___54418); + r0 = (s.tmp_5 * s.mult___109304); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___54418; - r0 = (s.mult___54418 * s.n___54630); + s.tmp_0.arg3 = s.mult___109304; + r0 = (s.mult___109304 * s.n___109516); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 145; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___54611 + s.n___54630); - s.j___54611 = (r0); + r0 = (s.j___109497 + s.n___109516); + s.j___109497 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___54612 << 1); - s.mask___54612 = (r0); - r0 = (s.j___54611 + 1); - s.j___54611 = (r0); + r0 = (s.mask___109498 << 1); + s.mask___109498 = (r0); + r0 = (s.j___109497 + 1); + s.j___109497 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___54418); + r0 = (s.arg2 + s.mult___109304); s.arg2 = (r0); - r0 = (s.i___54606 + 1); - s.i___54606 = (r0); + r0 = (s.i___109492 + 1); + s.i___109492 = (r0); { step = 27; continue; } case 36: case 37: @@ -6941,12 +6941,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P47739.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__P102625.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__P47739_mk(s) { +function helpers_imagePrint__P102625_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P47739, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P102625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6954,31 +6954,31 @@ function helpers_imagePrint__P47739_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___54415: undefined, - cp___54417: undefined, - mult___54418: undefined, - dataW___54423: undefined, - dataH___54429: undefined, - byteHeight___54435: undefined, - charSize___54441: undefined, - dataSize___54445: undefined, - fontdata___54449: undefined, - lastchar___54452: undefined, - imgBuf___54459: undefined, - xOffset___54483: undefined, - yOffset___54484: undefined, - ch___54499: undefined, - l___54518: undefined, - r___54519: undefined, - off___54521: undefined, - guess___54522: undefined, - m___54541: undefined, - v___54550: undefined, - i___54606: undefined, - j___54611: undefined, - mask___54612: undefined, - c___54613: undefined, - n___54630: undefined, + x0___109301: undefined, + cp___109303: undefined, + mult___109304: undefined, + dataW___109309: undefined, + dataH___109315: undefined, + byteHeight___109321: undefined, + charSize___109327: undefined, + dataSize___109331: undefined, + fontdata___109335: undefined, + lastchar___109338: undefined, + imgBuf___109345: undefined, + xOffset___109369: undefined, + yOffset___109370: undefined, + ch___109385: undefined, + l___109404: undefined, + r___109405: undefined, + off___109407: undefined, + guess___109408: undefined, + m___109427: undefined, + v___109436: undefined, + i___109492: undefined, + j___109497: undefined, + mask___109498: undefined, + c___109499: undefined, + n___109516: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6992,7 +6992,7 @@ function helpers_imagePrint__P47739_mk(s) { -function image_getFontForText__P47726(s) { +function image_getFontForText__P102612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7002,52 +7002,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___54691 = undefined; + s.i___109577 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___54691 = (0); + s.i___109577 = (0); case 1: - s.tmp_1 = r0 = s.i___54691; + s.tmp_1 = r0 = s.i___109577; 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___54691); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___109577); 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___47725; + r0 = globals.font12___102611; { step = 5; continue; } case 2: case 3: - r0 = (s.i___54691 + 1); - s.i___54691 = (r0); + r0 = (s.i___109577 + 1); + s.i___109577 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___47724; + r0 = globals.font8___102610; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P47726.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__P102612.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__P47726_mk(s) { +function image_getFontForText__P102612_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P47726, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P102612, 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___54691: undefined, + i___109577: undefined, arg0: undefined, } } @@ -7055,7 +7055,7 @@ function image_getFontForText__P47726_mk(s) { -function helpers_imageFillRect__P47707(s) { +function helpers_imageFillRect__P102593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7075,14 +7075,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P49585_mk(s); + s.tmp_2 = helpers_pack__P104471_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 116; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P49585_mk(s); + s.tmp_4 = helpers_pack__P104471_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 117; s.pc = 2; return s.tmp_4; @@ -7094,12 +7094,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P47707.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__P102593.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__P47707_mk(s) { +function helpers_imageFillRect__P102593_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P47707, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P102593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7118,7 +7118,7 @@ function helpers_imageFillRect__P47707_mk(s) { -function helpers_pack__P49585(s) { +function helpers_pack__P104471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7133,7 +7133,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P46101_mk(s); + s.tmp_2 = Math_clamp__P100987_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -7144,7 +7144,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P46101_mk(s); + s.tmp_5 = Math_clamp__P100987_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -7159,12 +7159,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P49585.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__P104471.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__P49585_mk(s) { +function helpers_pack__P104471_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P49585, depth: s.depth + 1, + parent: s, fn: helpers_pack__P104471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7180,7 +7180,7 @@ function helpers_pack__P49585_mk(s) { -function Math_clamp__P46101(s) { +function Math_clamp__P100987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7196,9 +7196,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P46105_mk(s); + s.tmp_0 = Math_min__P100991_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P46104_mk(s); + s.tmp_1 = Math_max__P100990_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 15; s.pc = 2; return s.tmp_1; @@ -7211,12 +7211,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P46101.info = {"start":14654,"length":130,"line":501,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P100987.info = {"start":14654,"length":130,"line":501,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P46101_mk(s) { +function Math_clamp__P100987_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P46101, depth: s.depth + 1, + parent: s, fn: Math_clamp__P100987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7229,7 +7229,7 @@ function Math_clamp__P46101_mk(s) { -function Math_min__P46105(s) { +function Math_min__P100991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7257,12 +7257,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P46105.info = {"start":15790,"length":105,"line":538,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P100991.info = {"start":15790,"length":105,"line":538,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P46105_mk(s) { +function Math_min__P100991_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P46105, depth: s.depth + 1, + parent: s, fn: Math_min__P100991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7273,7 +7273,7 @@ function Math_min__P46105_mk(s) { -function helpers_imageDrawIcon__P47706(s) { +function helpers_imageDrawIcon__P102592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7293,7 +7293,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P49585_mk(s); + s.tmp_3 = helpers_pack__P104471_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 115; s.pc = 1; return s.tmp_3; @@ -7305,12 +7305,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P47706.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__P102592.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__P47706_mk(s) { +function helpers_imageDrawIcon__P102592_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P47706, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P102592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7327,7 +7327,7 @@ function helpers_imageDrawIcon__P47706_mk(s) { -function helpers_stringSplit__P46096(s) { +function helpers_stringSplit__P100982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7337,15 +7337,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___51808 = undefined; - s.lim___51810 = undefined; - s.s___51826 = undefined; - s.p___51829 = undefined; - s.R___51830 = undefined; - s.z___51844 = undefined; - s.T___51857 = undefined; - s.q___51858 = undefined; - s.e___51864 = undefined; + s.A___106694 = undefined; + s.lim___106696 = undefined; + s.s___106712 = undefined; + s.p___106715 = undefined; + s.R___106716 = undefined; + s.z___106730 = undefined; + s.T___106743 = undefined; + s.q___106744 = undefined; + s.e___106750 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7353,36 +7353,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___51808 = (r0); - s.lim___51810 = (0); + s.A___106694 = (r0); + s.lim___106696 = (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___51810 = (r0); + s.lim___106696 = (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___51810 = (0); + s.lim___106696 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___51810 = (r0); + s.lim___106696 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___51826 = (r0); - s.p___51829 = (0); - s.R___51830 = (s.arg1); - r0 = (s.lim___51810 == 0); + s.s___106712 = (r0); + s.p___106715 = (0); + s.R___106716 = (s.arg1); + r0 = (s.lim___106696 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___51808; + r0 = s.A___106694; { step = 21; continue; } case 5: case 6: @@ -7390,123 +7390,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___51808, 0, s.arg0); - r0 = s.A___51808; + r0 = pxsim_Array_.setAt(s.A___106694, 0, s.arg0); + r0 = s.A___106694; { step = 21; continue; } case 7: case 8: - r0 = (s.s___51826 == 0); + r0 = (s.s___106712 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P49444_mk(s); + s.tmp_1 = helpers_splitMatch__P104330_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___51830; + s.tmp_1.arg2 = s.R___106716; s.callLocIdx = 11; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___51844 = (r0); - r0 = (s.z___51844 > -1); + s.z___106730 = (r0); + r0 = (s.z___106730 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___51808; + r0 = s.A___106694; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___51808, 0, s.arg0); - r0 = s.A___51808; + r0 = pxsim_Array_.setAt(s.A___106694, 0, s.arg0); + r0 = s.A___106694; { step = 21; continue; } case 11: case 12: - s.q___51858 = (s.p___51829); + s.q___106744 = (s.p___106715); case 13: - r0 = (s.q___51858 != s.s___51826); + r0 = (s.q___106744 != s.s___106712); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P49444_mk(s); + s.tmp_1 = helpers_splitMatch__P104330_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___51858; - s.tmp_1.arg2 = s.R___51830; + s.tmp_1.arg1 = s.q___106744; + s.tmp_1.arg2 = s.R___106716; s.callLocIdx = 12; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___51864 = (r0); - r0 = (s.e___51864 < 0); + s.e___106750 = (r0); + r0 = (s.e___106750 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___51858 + 1); - s.q___51858 = (r0); + r0 = (s.q___106744 + 1); + s.q___106744 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___51864 == s.p___51829); + r0 = (s.e___106750 == s.p___106715); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___51858 + 1); - s.q___51858 = (r0); + r0 = (s.q___106744 + 1); + s.q___106744 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P46094_mk(s); + s.tmp_0 = helpers_stringSlice__P100980_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___51829; - s.tmp_0.arg2 = s.q___51858; + s.tmp_0.arg1 = s.p___106715; + s.tmp_0.arg2 = s.q___106744; s.callLocIdx = 13; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___51857 = (r0); - r0 = pxsim_Array__push(s.A___51808, s.T___51857); - r0 = pxsim_Array__length(s.A___51808); + s.T___106743 = (r0); + r0 = pxsim_Array__push(s.A___106694, s.T___106743); + r0 = pxsim_Array__length(s.A___106694); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___51810); + r0 = (s.tmp_1 == s.lim___106696); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___51808; + r0 = s.A___106694; { step = 21; continue; } case 16: case 17: - s.p___51829 = (s.e___51864); - s.q___51858 = (s.p___51829); + s.p___106715 = (s.e___106750); + s.q___106744 = (s.p___106715); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P46094_mk(s); + s.tmp_0 = helpers_stringSlice__P100980_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___51829; - s.tmp_0.arg2 = s.q___51858; + s.tmp_0.arg1 = s.p___106715; + s.tmp_0.arg2 = s.q___106744; s.callLocIdx = 14; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___51857 = (r0); - r0 = pxsim_Array__push(s.A___51808, s.T___51857); - r0 = s.A___51808; + s.T___106743 = (r0); + r0 = pxsim_Array__push(s.A___106694, s.T___106743); + r0 = s.A___106694; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P46096.info = {"start":11930,"length":1319,"line":407,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P100982.info = {"start":11930,"length":1319,"line":407,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P46096_mk(s) { +function helpers_stringSplit__P100982_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P46096, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P100982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___51808: undefined, - lim___51810: undefined, - s___51826: undefined, - p___51829: undefined, - R___51830: undefined, - z___51844: undefined, - T___51857: undefined, - q___51858: undefined, - e___51864: undefined, + A___106694: undefined, + lim___106696: undefined, + s___106712: undefined, + p___106715: undefined, + R___106716: undefined, + z___106730: undefined, + T___106743: undefined, + q___106744: undefined, + e___106750: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7516,7 +7516,7 @@ function helpers_stringSplit__P46096_mk(s) { -function helpers_splitMatch__P49444(s) { +function helpers_splitMatch__P104330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7526,9 +7526,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___51909 = undefined; - s.s___51912 = undefined; - s.i___51922 = undefined; + s.r___106795 = undefined; + s.s___106798 = undefined; + s.i___106808 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7536,12 +7536,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___51909 = (r0); + s.r___106795 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___51912 = (r0); - r0 = (s.arg1 + s.r___51909); + s.s___106798 = (r0); + r0 = (s.arg1 + s.r___106795); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___51912); + r0 = (s.tmp_1 > s.s___106798); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -7549,18 +7549,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___51922 = (0); + s.i___106808 = (0); case 3: - r0 = (s.i___51922 < s.r___51909); + r0 = (s.i___106808 < s.r___106795); 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___51922); + r0 = (s.arg1 + s.i___106808); 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___51922); + r0 = pxsim_String_.charAt(s.arg2, s.i___106808); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -7570,21 +7570,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___51922 + 1); - s.i___51922 = (r0); + r0 = (s.i___106808 + 1); + s.i___106808 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___51909); + r0 = (s.arg1 + s.r___106795); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P49444.info = {"start":13255,"length":289,"line":453,"column":4,"endLine":462,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} +helpers_splitMatch__P104330.info = {"start":13255,"length":289,"line":453,"column":4,"endLine":462,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} -function helpers_splitMatch__P49444_mk(s) { +function helpers_splitMatch__P104330_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P49444, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P104330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7592,9 +7592,9 @@ function helpers_splitMatch__P49444_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___51909: undefined, - s___51912: undefined, - i___51922: undefined, + r___106795: undefined, + s___106798: undefined, + i___106808: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7604,7 +7604,7 @@ function helpers_splitMatch__P49444_mk(s) { -function helpers_stringSlice__P46094(s) { +function helpers_stringSlice__P100980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7614,7 +7614,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___52108 = undefined; + s.len___106994 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7622,13 +7622,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___52108 = (r0); + s.len___106994 = (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__P46104_mk(s); - r0 = (s.len___52108 + s.arg1); + s.tmp_1 = Math_max__P100990_mk(s); + r0 = (s.len___106994 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 10; s.pc = 7; return s.tmp_1; @@ -7641,14 +7641,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___52108); + s.arg2 = (s.len___106994); case 3: case 4: r0 = (s.arg2 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.len___52108 + s.arg2); + r0 = (s.len___106994 + s.arg2); s.arg2 = (r0); case 5: case 6: @@ -7660,17 +7660,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P46094.info = {"start":11047,"length":365,"line":373,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P100980.info = {"start":11047,"length":365,"line":373,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P46094_mk(s) { +function helpers_stringSlice__P100980_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P46094, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P100980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___52108: undefined, + len___106994: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7680,7 +7680,7 @@ function helpers_stringSlice__P46094_mk(s) { -function scene_Scene_render__P48425(s) { +function scene_Scene_render__P103311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7690,15 +7690,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___54774 = undefined; - s.unnamed236___U1 = undefined; - s.unnamed237___U2 = undefined; + s.s___109660 = undefined; + s.unnamed476___U1 = undefined; + s.unnamed477___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C48398_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C103284_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -7729,7 +7729,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__P48425_mk(s); + s.tmp_3 = scene_Scene_render__P103311_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.callLocIdx = 838; s.pc = 12; return s.tmp_3; @@ -7737,7 +7737,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P48253_mk(s); + s.tmp_0 = scene_Background_draw__P103139_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 839; s.pc = 13; return s.tmp_0; @@ -7750,10 +7750,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P46082_mk(s); + s.tmp_2 = helpers_arraySort__P100968_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P54751; + s.tmp_2.arg1 = inline__P109637; s.callLocIdx = 844; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -7765,20 +7765,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___54774 = (undefined); + s.s___109660 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed236___U1 = (r0); - s.unnamed237___U2 = (0); + s.unnamed476___U1 = (r0); + s.unnamed477___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed237___U2; - r0 = pxsim_Array__length(s.unnamed236___U1); + s.tmp_0 = r0 = s.unnamed477___U2; + r0 = pxsim_Array__length(s.unnamed476___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed236___U1, s.unnamed237___U2); - s.s___54774 = (r0); + r0 = pxsim_Array__getAt(s.unnamed476___U1, s.unnamed477___U2); + s.s___109660 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___54774; + s.tmp_2.arg0 = s.s___109660; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -7792,11 +7792,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed237___U2 + 1); - s.unnamed237___U2 = (r0); + r0 = (s.unnamed477___U2 + 1); + s.unnamed477___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed236___U1 = (undefined); + s.unnamed476___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -7808,21 +7808,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P48425.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__P103311.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__P48425_mk(s) { +function scene_Scene_render__P103311_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P48425, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P103311, 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___54774: undefined, - unnamed236___U1: undefined, - unnamed237___U2: undefined, + s___109660: undefined, + unnamed476___U1: undefined, + unnamed477___U2: undefined, arg0: undefined, } } @@ -7830,7 +7830,7 @@ function scene_Scene_render__P48425_mk(s) { -function inline__P54751(s) { +function inline__P109637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7912,12 +7912,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P54751.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__P109637.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__P54751_mk(s) { +function inline__P109637_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P54751, depth: s.depth + 1, + parent: s, fn: inline__P109637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7937,7 +7937,7 @@ function inline__P54751_mk(s) { -function scene_Background_draw__P48253(s) { +function scene_Background_draw__P103139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7952,27 +7952,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C48244_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C103130_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___47781, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___102667, 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___47781, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___102667, 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__P54806); + r0 = pxsim_pxtcore_mkAction(1, inline__P109692); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P46086_mk(s); + s.tmp_2 = helpers_arrayForEach__P100972_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -7985,12 +7985,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P48253.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__P103139.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__P48253_mk(s) { +function scene_Background_draw__P103139_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P48253, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P103139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8002,7 +8002,7 @@ function scene_Background_draw__P48253_mk(s) { -function inline__P54806(s) { +function inline__P109692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8012,8 +8012,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___54808 = undefined; - s.oy___54819 = undefined; + s.ox___109694 = undefined; + s.oy___109705 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -8028,7 +8028,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___54808 = (r0); + s.ox___109694 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -8039,11 +8039,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___54819 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P48262_mk(s); + s.oy___109705 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P103148_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___54808; - s.tmp_0.arg2 = s.oy___54819; + s.tmp_0.arg1 = s.ox___109694; + s.tmp_0.arg2 = s.oy___109705; s.callLocIdx = 714; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -8051,19 +8051,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P54806.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P109692.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__P54806_mk(s) { +function inline__P109692_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P54806, depth: s.depth + 1, + parent: s, fn: inline__P109692, 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___54808: undefined, - oy___54819: undefined, + ox___109694: undefined, + oy___109705: undefined, arg0: undefined, } } @@ -8071,7 +8071,7 @@ function inline__P54806_mk(s) { -function scene_BackgroundLayer_draw__P48262(s) { +function scene_BackgroundLayer_draw__P103148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8081,19 +8081,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___54837 = undefined; - s.h___54840 = undefined; - s.pw___54843 = undefined; - s.ph___54847 = undefined; - s.rx___54856 = undefined; - s.ry___54859 = undefined; - s.y___54928 = undefined; - s.py___54929 = undefined; - s.dh___54938 = undefined; - s.x___54946 = undefined; - s.rxl___54947 = undefined; - s.px___54953 = undefined; - s.dw___54957 = undefined; + s.w___109723 = undefined; + s.h___109726 = undefined; + s.pw___109729 = undefined; + s.ph___109733 = undefined; + s.rx___109742 = undefined; + s.ry___109745 = undefined; + s.y___109814 = undefined; + s.py___109815 = undefined; + s.dh___109824 = undefined; + s.x___109832 = undefined; + s.rxl___109833 = undefined; + s.px___109839 = undefined; + s.dw___109843 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8101,20 +8101,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C48254_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___47781); - s.w___54837 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___47781); - s.h___54840 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C103140_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___102667); + s.w___109723 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___102667); + s.h___109726 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___54843 = (r0); + s.pw___109729 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___54847 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___54843); + s.ph___109733 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___109729); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -8123,7 +8123,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___54847); + r0 = pxsim_numops_toBoolDecr(s.ph___109733); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -8135,9 +8135,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___54856 = (r0); + s.rx___109742 = (r0); r0 = (0 - s.arg2); - s.ry___54859 = (r0); + s.ry___109745 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -8147,20 +8147,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___54856; - r0 = (s.w___54837 + s.pw___54843); + s.tmp_1 = r0 = s.rx___109742; + r0 = (s.w___109723 + s.pw___109729); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___54856 = (r0); + s.rx___109742 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___54856; - r0 = (s.w___54837 + s.pw___54843); + s.tmp_0 = r0 = s.rx___109742; + r0 = (s.w___109723 + s.pw___109729); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___54856 = (r0); + s.rx___109742 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -8171,120 +8171,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___54859; - r0 = (s.h___54840 + s.ph___54847); + s.tmp_1 = r0 = s.ry___109745; + r0 = (s.h___109726 + s.ph___109733); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___54859 = (r0); + s.ry___109745 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___54859; - r0 = (s.h___54840 + s.ph___54847); + s.tmp_0 = r0 = s.ry___109745; + r0 = (s.h___109726 + s.ph___109733); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___54859 = (r0); + s.ry___109745 = (r0); case 10: - r0 = (s.rx___54856 % s.w___54837); - s.rx___54856 = (r0); - r0 = (s.rx___54856 < 0); + r0 = (s.rx___109742 % s.w___109723); + s.rx___109742 = (r0); + r0 = (s.rx___109742 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___54856 + s.w___54837); - s.rx___54856 = (r0); + r0 = (s.rx___109742 + s.w___109723); + s.rx___109742 = (r0); case 11: case 12: - r0 = (s.ry___54859 % s.h___54840); - s.ry___54859 = (r0); - r0 = (s.ry___54859 < 0); + r0 = (s.ry___109745 % s.h___109726); + s.ry___109745 = (r0); + r0 = (s.ry___109745 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___54859 + s.h___54840); - s.ry___54859 = (r0); + r0 = (s.ry___109745 + s.h___109726); + s.ry___109745 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___54856); - s.rx___54856 = (r0); - r0 = pxsim.Math_.floor(s.ry___54859); - s.ry___54859 = (r0); - s.y___54928 = (0); - s.py___54929 = (0); + r0 = pxsim.Math_.floor(s.rx___109742); + s.rx___109742 = (r0); + r0 = pxsim.Math_.floor(s.ry___109745); + s.ry___109745 = (r0); + s.y___109814 = (0); + s.py___109815 = (0); case 15: - r0 = (s.y___54928 < s.h___54840); + r0 = (s.y___109814 < s.h___109726); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___54928 % s.ph___54847); - s.py___54929 = (r0); - s.tmp_0 = Math_min__P46105_mk(s); - r0 = (s.ph___54847 - s.py___54929); + r0 = (s.y___109814 % s.ph___109733); + s.py___109815 = (r0); + s.tmp_0 = Math_min__P100991_mk(s); + r0 = (s.ph___109733 - s.py___109815); s.tmp_0.arg0 = r0; - r0 = (s.h___54840 - s.ry___54859); + r0 = (s.h___109726 - s.ry___109745); s.tmp_0.arg1 = r0; s.callLocIdx = 717; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___54938 = (r0); - s.x___54946 = (0); - s.rxl___54947 = (s.rx___54856); + s.dh___109824 = (r0); + s.x___109832 = (0); + s.rxl___109833 = (s.rx___109742); case 16: - r0 = (s.x___54946 < s.w___54837); + r0 = (s.x___109832 < s.w___109723); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___54946 % s.pw___54843); - s.px___54953 = (r0); - s.tmp_0 = Math_min__P46105_mk(s); - r0 = (s.pw___54843 - s.px___54953); + r0 = (s.x___109832 % s.pw___109729); + s.px___109839 = (r0); + s.tmp_0 = Math_min__P100991_mk(s); + r0 = (s.pw___109729 - s.px___109839); s.tmp_0.arg0 = r0; - r0 = (s.w___54837 - s.rxl___54947); + r0 = (s.w___109723 - s.rxl___109833); s.tmp_0.arg1 = r0; s.callLocIdx = 718; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___54957 = (r0); + s.dw___109843 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___47781, s.tmp_0, s.rxl___54947, s.ry___54859); - r0 = (s.rxl___54947 + s.dw___54957); + r0 = pxsim_ImageMethods.drawImage(globals.screen___102667, s.tmp_0, s.rxl___109833, s.ry___109745); + r0 = (s.rxl___109833 + s.dw___109843); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___54837); - s.rxl___54947 = (r0); + r0 = (s.tmp_0 % s.w___109723); + s.rxl___109833 = (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___54957; + r0 = s.dw___109843; { step = 18; continue; } case 17: - r0 = s.w___54837; + r0 = s.w___109723; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___54946 + s.tmp_1); - s.x___54946 = (r0); + r0 = (s.x___109832 + s.tmp_1); + s.x___109832 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___54859 + s.dh___54938); + r0 = (s.ry___109745 + s.dh___109824); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___54840); - s.ry___54859 = (r0); + r0 = (s.tmp_0 % s.h___109726); + s.ry___109745 = (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___54938; + r0 = s.dh___109824; { step = 21; continue; } case 20: - r0 = s.h___54840; + r0 = s.h___109726; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___54928 + s.tmp_1); - s.y___54928 = (r0); + r0 = (s.y___109814 + s.tmp_1); + s.y___109814 = (r0); { step = 15; continue; } case 22: case 23: @@ -8292,30 +8292,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P48262.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__P103148.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__P48262_mk(s) { +function scene_BackgroundLayer_draw__P103148_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P48262, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P103148, 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___54837: undefined, - h___54840: undefined, - pw___54843: undefined, - ph___54847: undefined, - rx___54856: undefined, - ry___54859: undefined, - y___54928: undefined, - py___54929: undefined, - dh___54938: undefined, - x___54946: undefined, - rxl___54947: undefined, - px___54953: undefined, - dw___54957: undefined, + w___109723: undefined, + h___109726: undefined, + pw___109729: undefined, + ph___109733: undefined, + rx___109742: undefined, + ry___109745: undefined, + y___109814: undefined, + py___109815: undefined, + dh___109824: undefined, + x___109832: undefined, + rxl___109833: undefined, + px___109839: undefined, + dw___109843: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8325,7 +8325,7 @@ function scene_BackgroundLayer_draw__P48262_mk(s) { -function scene_Camera_update__P48355(s) { +function scene_Camera_update__P103241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8335,32 +8335,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___55038 = undefined; - s.percentComplete___55052 = undefined; - s.damp___55059 = undefined; - s.f___55068 = undefined; - s.x___55074 = undefined; - s.y___55081 = undefined; + s.elapsed___109924 = undefined; + s.percentComplete___109938 = undefined; + s.damp___109945 = undefined; + s.f___109954 = undefined; + s.x___109960 = undefined; + s.y___109967 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C48339_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C103225_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__P48345_mk(s); + s.tmp_1 = scene_Camera_offsetX__P103231_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P48004_mk(s); + s.tmp_3 = Sprite_x__P102890_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 799; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; @@ -8369,16 +8369,16 @@ switch (step) { s.callLocIdx = 800; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P48347_mk(s); + s.tmp_0 = scene_Camera_offsetY__P103233_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P48006_mk(s); + s.tmp_2 = Sprite_y__P102892_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 801; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -8389,7 +8389,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P48345_mk(s); + s.tmp_0 = scene_Camera_offsetX__P103231_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; @@ -8399,7 +8399,7 @@ switch (step) { s.callLocIdx = 804; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P48347_mk(s); + s.tmp_0 = scene_Camera_offsetY__P103233_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; @@ -8428,10 +8428,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___55038 = (r0); + s.elapsed___109924 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___55038 >= s.tmp_1); + r0 = (s.elapsed___109924 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -8440,49 +8440,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___55038 / s.tmp_0); - s.percentComplete___55052 = (r0); - s.damp___55059 = (1); - r0 = (s.percentComplete___55052 >= 0.75); + r0 = (s.elapsed___109924 / s.tmp_0); + s.percentComplete___109938 = (r0); + s.damp___109945 = (1); + r0 = (s.percentComplete___109938 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P46104_mk(s); + s.tmp_1 = Math_max__P100990_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___55052); + r0 = (1 - s.percentComplete___109938); s.tmp_1.arg1 = r0; s.callLocIdx = 809; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___55059 = (r0); + s.damp___109945 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___55059); - s.f___55068 = (r0); + r0 = (s.tmp_0 * s.damp___109945); + s.f___109954 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___55068); + r0 = (s.tmp_1 * s.f___109954); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___55074 = (r0); + s.x___109960 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___55068); + r0 = (s.tmp_1 * s.f___109954); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___55081 = (r0); + s.y___109967 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___55074); + r0 = (s.tmp_2 + s.x___109960); 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___55081); + r0 = (s.tmp_2 + s.y___109967); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -8492,12 +8492,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P48355.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__P103241.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__P48355_mk(s) { +function scene_Camera_update__P103241_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P48355, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P103241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8505,12 +8505,12 @@ function scene_Camera_update__P48355_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___55038: undefined, - percentComplete___55052: undefined, - damp___55059: undefined, - f___55068: undefined, - x___55074: undefined, - y___55081: undefined, + elapsed___109924: undefined, + percentComplete___109938: undefined, + damp___109945: undefined, + f___109954: undefined, + x___109960: undefined, + y___109967: undefined, arg0: undefined, } } @@ -8518,7 +8518,7 @@ function scene_Camera_update__P48355_mk(s) { -function scene_Camera_offsetY__P48347(s) { +function scene_Camera_offsetY__P103233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8528,27 +8528,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___55116 = undefined; + s.scene___110002 = 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__C48339_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P48511_mk(s); + if (!checkSubtype(r0, scene_Camera__C103225_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 796; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___55116 = (r0); - r0 = s.scene___55116.fields["tileMap"]; + s.scene___110002 = (r0); + r0 = s.scene___110002.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___55116.fields["tileMap"]; + r0 = s.scene___110002.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -8565,8 +8565,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__P48301_mk(s); - r0 = s.scene___55116.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P103187_mk(s); + r0 = s.scene___110002.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 798; s.pc = 6; return s.tmp_9; @@ -8582,12 +8582,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P48347.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__P103233.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__P48347_mk(s) { +function scene_Camera_offsetY__P103233_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P48347, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P103233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8599,7 +8599,7 @@ function scene_Camera_offsetY__P48347_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___55116: undefined, + scene___110002: undefined, arg0: undefined, arg1: undefined, } } @@ -8608,7 +8608,7 @@ function scene_Camera_offsetY__P48347_mk(s) { -function tiles_TileMap_enabled__P48306(s) { +function tiles_TileMap_enabled__P103192(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8623,7 +8623,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -8636,13 +8636,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P48306.info = {"start":7107,"length":66,"line":261,"column":8,"endLine":263,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P48306.isGetter = true; +tiles_TileMap_enabled__P103192.info = {"start":7107,"length":66,"line":261,"column":8,"endLine":263,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P103192.isGetter = true; -function tiles_TileMap_enabled__P48306_mk(s) { +function tiles_TileMap_enabled__P103192_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P48306, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P103192, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8655,7 +8655,7 @@ function tiles_TileMap_enabled__P48306_mk(s) { -function tiles_TileMap_offsetY__P48301(s) { +function tiles_TileMap_offsetY__P103187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8671,17 +8671,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P46101_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P100987_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P46104_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P48303_mk(s); + s.tmp_1 = Math_max__P100990_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P103189_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 735; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -8697,12 +8697,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P48301.info = {"start":6560,"length":123,"line":239,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P103187.info = {"start":6560,"length":123,"line":239,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_TileMap_offsetY__P48301_mk(s) { +function tiles_TileMap_offsetY__P103187_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P48301, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P103187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8717,7 +8717,7 @@ function tiles_TileMap_offsetY__P48301_mk(s) { -function tiles_TileMap_areaHeight__P48303(s) { +function tiles_TileMap_areaHeight__P103189(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8732,7 +8732,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -8754,12 +8754,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P48303.info = {"start":6794,"length":93,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P103189.info = {"start":6794,"length":93,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_TileMap_areaHeight__P48303_mk(s) { +function tiles_TileMap_areaHeight__P103189_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P48303, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P103189, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8773,7 +8773,7 @@ function tiles_TileMap_areaHeight__P48303_mk(s) { -function tiles_TileMap_scale__P48298(s) { +function tiles_TileMap_scale__P103184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8788,18 +8788,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P48298.info = {"start":6125,"length":55,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P48298.isGetter = true; +tiles_TileMap_scale__P103184.info = {"start":6125,"length":55,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P103184.isGetter = true; -function tiles_TileMap_scale__P48298_mk(s) { +function tiles_TileMap_scale__P103184_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P48298, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P103184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8808,7 +8808,7 @@ function tiles_TileMap_scale__P48298_mk(s) { -function tiles_TileMapData_height__P48286(s) { +function tiles_TileMapData_height__P103172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8823,18 +8823,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C48283_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C103169_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P48286.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__P48286.isGetter = true; +tiles_TileMapData_height__P103172.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__P103172.isGetter = true; -function tiles_TileMapData_height__P48286_mk(s) { +function tiles_TileMapData_height__P103172_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P48286, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P103172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8843,7 +8843,7 @@ function tiles_TileMapData_height__P48286_mk(s) { -function scene_Camera_offsetY__P48346(s) { +function scene_Camera_offsetY__P103232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8858,18 +8858,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C48339_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C103225_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P48346.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__P48346.isGetter = true; +scene_Camera_offsetY__P103232.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__P103232.isGetter = true; -function scene_Camera_offsetY__P48346_mk(s) { +function scene_Camera_offsetY__P103232_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P48346, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P103232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8878,7 +8878,7 @@ function scene_Camera_offsetY__P48346_mk(s) { -function scene_Camera_offsetX__P48345(s) { +function scene_Camera_offsetX__P103231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8888,27 +8888,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___55183 = undefined; + s.scene___110069 = 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__C48339_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P48511_mk(s); + if (!checkSubtype(r0, scene_Camera__C103225_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 793; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___55183 = (r0); - r0 = s.scene___55183.fields["tileMap"]; + s.scene___110069 = (r0); + r0 = s.scene___110069.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___55183.fields["tileMap"]; + r0 = s.scene___110069.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -8925,8 +8925,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__P48300_mk(s); - r0 = s.scene___55183.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P103186_mk(s); + r0 = s.scene___110069.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 795; s.pc = 6; return s.tmp_9; @@ -8942,12 +8942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P48345.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__P103231.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__P48345_mk(s) { +function scene_Camera_offsetX__P103231_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P48345, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P103231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8959,7 +8959,7 @@ function scene_Camera_offsetX__P48345_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___55183: undefined, + scene___110069: undefined, arg0: undefined, arg1: undefined, } } @@ -8968,7 +8968,7 @@ function scene_Camera_offsetX__P48345_mk(s) { -function tiles_TileMap_offsetX__P48300(s) { +function tiles_TileMap_offsetX__P103186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8984,17 +8984,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P46101_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P100987_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P46104_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P48302_mk(s); + s.tmp_1 = Math_max__P100990_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P103188_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 732; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -9010,12 +9010,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P48300.info = {"start":6429,"length":121,"line":235,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P103186.info = {"start":6429,"length":121,"line":235,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_TileMap_offsetX__P48300_mk(s) { +function tiles_TileMap_offsetX__P103186_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P48300, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P103186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9030,7 +9030,7 @@ function tiles_TileMap_offsetX__P48300_mk(s) { -function tiles_TileMap_areaWidth__P48302(s) { +function tiles_TileMap_areaWidth__P103188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9045,7 +9045,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -9067,12 +9067,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P48302.info = {"start":6693,"length":91,"line":243,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P103188.info = {"start":6693,"length":91,"line":243,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_TileMap_areaWidth__P48302_mk(s) { +function tiles_TileMap_areaWidth__P103188_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P48302, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P103188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9086,7 +9086,7 @@ function tiles_TileMap_areaWidth__P48302_mk(s) { -function tiles_TileMapData_width__P48285(s) { +function tiles_TileMapData_width__P103171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9101,18 +9101,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C48283_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C103169_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P48285.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__P48285.isGetter = true; +tiles_TileMapData_width__P103171.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__P103171.isGetter = true; -function tiles_TileMapData_width__P48285_mk(s) { +function tiles_TileMapData_width__P103171_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P48285, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P103171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9121,7 +9121,7 @@ function tiles_TileMapData_width__P48285_mk(s) { -function scene_Camera_offsetX__P48344(s) { +function scene_Camera_offsetX__P103230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9136,18 +9136,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C48339_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C103225_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P48344.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__P48344.isGetter = true; +scene_Camera_offsetX__P103230.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__P103230.isGetter = true; -function scene_Camera_offsetX__P48344_mk(s) { +function scene_Camera_offsetX__P103230_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P48344, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P103230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9156,7 +9156,7 @@ function scene_Camera_offsetX__P48344_mk(s) { -function Sprite_y__P48006(s) { +function Sprite_y__P102892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9171,7 +9171,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -9186,13 +9186,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P48006.info = {"start":1849,"length":85,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P48006.isGetter = true; +Sprite_y__P102892.info = {"start":1849,"length":85,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P102892.isGetter = true; -function Sprite_y__P48006_mk(s) { +function Sprite_y__P102892_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P48006, depth: s.depth + 1, + parent: s, fn: Sprite_y__P102892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9206,7 +9206,7 @@ function Sprite_y__P48006_mk(s) { -function Fx_toFloat__P46145(s) { +function Fx_toFloat__P101031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9224,12 +9224,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P46145.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__P101031.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__P46145_mk(s) { +function Fx_toFloat__P101031_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P46145, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P101031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9238,7 +9238,7 @@ function Fx_toFloat__P46145_mk(s) { -function Sprite_x__P48004(s) { +function Sprite_x__P102890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9253,7 +9253,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -9268,13 +9268,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P48004.info = {"start":1501,"length":84,"line":70,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P48004.isGetter = true; +Sprite_x__P102890.info = {"start":1501,"length":84,"line":70,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P102890.isGetter = true; -function Sprite_x__P48004_mk(s) { +function Sprite_x__P102890_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P48004, depth: s.depth + 1, + parent: s, fn: Sprite_x__P102890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9288,7 +9288,7 @@ function Sprite_x__P48004_mk(s) { -function PhysicsEngine_move__P48144(s) { +function PhysicsEngine_move__P103030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9304,17 +9304,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C48138_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C103024_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P48144.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__P103030.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__P48144_mk(s) { +function PhysicsEngine_move__P103030_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P48144, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P103030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9324,7 +9324,7 @@ function PhysicsEngine_move__P48144_mk(s) { -function PhysicsEngine_draw__P48143(s) { +function PhysicsEngine_draw__P103029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9339,17 +9339,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C48138_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C103024_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P48143.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__P103029.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__P48143_mk(s) { +function PhysicsEngine_draw__P103029_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P48143, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P103029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9358,7 +9358,7 @@ function PhysicsEngine_draw__P48143_mk(s) { -function controller___update__P47929(s) { +function controller___update__P102815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9368,7 +9368,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___55580 = undefined; + s.dtms___110466 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -9376,12 +9376,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___55580 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P55587); + s.dtms___110466 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P110473); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___55580); - s.tmp_1 = helpers_arrayForEach__P46086_mk(s); - s.tmp_2 = controller_players__P47897_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___110466); + s.tmp_1 = helpers_arrayForEach__P100972_mk(s); + s.tmp_2 = controller_players__P102783_mk(s); s.callLocIdx = 227; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -9394,17 +9394,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P47929.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__P102815.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__P47929_mk(s) { +function controller___update__P102815_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P47929, depth: s.depth + 1, + parent: s, fn: controller___update__P102815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___55580: undefined, + dtms___110466: undefined, arg0: undefined, } } @@ -9412,7 +9412,7 @@ function controller___update__P47929_mk(s) { -function inline__P55587(s) { +function inline__P110473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9426,7 +9426,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P47927_mk(s); + s.tmp_0 = controller_Controller___update__P102813_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 228; s.pc = 1; return s.tmp_0; @@ -9436,12 +9436,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P55587.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P110473.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__P55587_mk(s) { +function inline__P110473_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P55587, depth: s.depth + 1, + parent: s, fn: inline__P110473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9451,7 +9451,7 @@ function inline__P55587_mk(s) { -function controller_Controller___update__P47927(s) { +function controller_Controller___update__P102813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9467,7 +9467,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -9478,10 +9478,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__P55600); + r0 = pxsim_pxtcore_mkAction(1, inline__P110486); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P46086_mk(s); + s.tmp_1 = helpers_arrayForEach__P100972_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -9492,12 +9492,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P47927.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__P102813.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__P47927_mk(s) { +function controller_Controller___update__P102813_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P47927, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P102813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9511,7 +9511,7 @@ function controller_Controller___update__P47927_mk(s) { -function inline__P55600(s) { +function inline__P110486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9525,7 +9525,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P47894_mk(s); + s.tmp_0 = controller_Button___update__P102780_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -9536,12 +9536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P55600.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P110486.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__P55600_mk(s) { +function inline__P110486_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P55600, depth: s.depth + 1, + parent: s, fn: inline__P110486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9551,7 +9551,7 @@ function inline__P55600_mk(s) { -function controller_Button___update__P47894(s) { +function controller_Button___update__P102780(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9561,16 +9561,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___55616 = undefined; - s.interval___55625 = undefined; - s.count___55638 = undefined; + s.delay___110502 = undefined; + s.interval___110511 = undefined; + s.count___110524 = 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__C47882_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C102768_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -9594,31 +9594,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___49664; + r0 = globals.defaultRepeatDelay___104550; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___55616 = (s.tmp_2); + s.delay___110502 = (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___49666; + r0 = globals.defaultRepeatInterval___104552; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___55625 = (s.tmp_2); + s.interval___110511 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___55616); + r0 = (s.tmp_1 < s.delay___110502); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -9627,26 +9627,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___55616); + r0 = (s.tmp_5 - s.delay___110502); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___55625); + r0 = (s.tmp_4 - s.interval___110511); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___55625); + r0 = (s.tmp_3 / s.interval___110511); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___55638 = (r0); + s.count___110524 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___55638 != s.tmp_1); + r0 = (s.count___110524 != 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__P49671_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P104557_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 183; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___55638); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___110524); case 9: case 10: case 11: @@ -9654,12 +9654,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P47894.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__P102780.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__P47894_mk(s) { +function controller_Button___update__P102780_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P47894, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P102780, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9667,9 +9667,9 @@ function controller_Button___update__P47894_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___55616: undefined, - interval___55625: undefined, - count___55638: undefined, + delay___110502: undefined, + interval___110511: undefined, + count___110524: undefined, arg0: undefined, arg1: undefined, } } @@ -9678,7 +9678,7 @@ function controller_Button___update__P47894_mk(s) { -function controller_Button_raiseButtonRepeat__P49671(s) { +function controller_Button_raiseButtonRepeat__P104557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9693,8 +9693,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C47882_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___49662); + if (!checkSubtype(r0, controller_Button__C102768_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___104548); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -9709,12 +9709,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P49671.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__P104557.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__P49671_mk(s) { +function controller_Button_raiseButtonRepeat__P104557_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P49671, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P104557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9724,7 +9724,7 @@ function controller_Button_raiseButtonRepeat__P49671_mk(s) { -function controller_players__P47897(s) { +function controller_players__P102783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9734,25 +9734,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P47896_mk(s); + s.tmp_0 = controller__player1__P102782_mk(s); s.callLocIdx = 186; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P46087_mk(s); - s.tmp_0.arg0 = globals._players___49675; - s.tmp_0.arg1 = inline__P55460; + s.tmp_0 = helpers_arrayFilter__P100973_mk(s); + s.tmp_0.arg0 = globals._players___104561; + s.tmp_0.arg1 = inline__P110346; s.callLocIdx = 187; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P47897.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P102783.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__P47897_mk(s) { +function controller_players__P102783_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P47897, depth: s.depth + 1, + parent: s, fn: controller_players__P102783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -9761,7 +9761,7 @@ function controller_players__P47897_mk(s) { -function inline__P55460(s) { +function inline__P110346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9785,12 +9785,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P55460.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P110346.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__P55460_mk(s) { +function inline__P110346_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P55460, depth: s.depth + 1, + parent: s, fn: inline__P110346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9802,7 +9802,7 @@ function inline__P55460_mk(s) { -function controller__player1__P47896(s) { +function controller__player1__P102782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9812,7 +9812,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___49675); + r0 = pxsim_numops_toBoolDecr(globals._players___104561); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9821,7 +9821,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___49675, 0); + r0 = pxsim_Array__getAt(globals._players___104561, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -9831,18 +9831,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__C47902_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C102788_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___47858); - r0 = pxsim_Array__push(s.tmp_6, globals.up___47859); - r0 = pxsim_Array__push(s.tmp_6, globals.right___47860); - r0 = pxsim_Array__push(s.tmp_6, globals.down___47861); - r0 = pxsim_Array__push(s.tmp_6, globals.A___47856); - r0 = pxsim_Array__push(s.tmp_6, globals.B___47857); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___47862); - s.tmp_7 = controller_Controller_constructor__P47906_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___102744); + r0 = pxsim_Array__push(s.tmp_6, globals.up___102745); + r0 = pxsim_Array__push(s.tmp_6, globals.right___102746); + r0 = pxsim_Array__push(s.tmp_6, globals.down___102747); + r0 = pxsim_Array__push(s.tmp_6, globals.A___102742); + r0 = pxsim_Array__push(s.tmp_6, globals.B___102743); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___102748); + s.tmp_7 = controller_Controller_constructor__P102792_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -9851,16 +9851,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___49675, 0); + r0 = pxsim_Array__getAt(globals._players___104561, 0); return leave(s, r0) default: oops() } } } -controller__player1__P47896.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P102782.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__P47896_mk(s) { +function controller__player1__P102782_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P47896, depth: s.depth + 1, + parent: s, fn: controller__player1__P102782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9876,7 +9876,7 @@ function controller__player1__P47896_mk(s) { -function controller_Controller_constructor__P47906(s) { +function controller_Controller_constructor__P102792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9886,9 +9886,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___55522 = undefined; - s.i___55530 = undefined; - s.i___55548 = undefined; + s.leftId___110408 = undefined; + s.i___110416 = undefined; + s.i___110434 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9896,7 +9896,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -9920,18 +9920,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___55522 = (r0); - s.i___55530 = (0); + s.leftId___110408 = (r0); + s.i___110416 = (0); case 2: - r0 = (s.i___55530 < 7); + r0 = (s.i___110416 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C47882_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C102768_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P47888_mk(s); + s.tmp_2 = controller_Button_constructor__P102774_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___55522 + s.i___55530); + r0 = (s.leftId___110408 + s.i___110416); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 191; s.pc = 7; return s.tmp_2; @@ -9940,14 +9940,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___55530 + 1); - s.i___55530 = (r0); + r0 = (s.i___110416 + 1); + s.i___110416 = (r0); { step = 2; continue; } case 3: case 4: - s.i___55548 = (0); + s.i___110434 = (0); case 5: - s.tmp_1 = r0 = s.i___55548; + s.tmp_1 = r0 = s.i___110434; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -9958,14 +9958,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___55548); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___110434); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___55548 + 1); - s.i___55548 = (r0); + r0 = (s.i___110434 + 1); + s.i___110434 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P49676_mk(s); + s.tmp_0 = controller_addController__P104562_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 192; s.pc = 8; return s.tmp_0; case 8: @@ -9974,12 +9974,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P47906.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__P102792.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__P47906_mk(s) { +function controller_Controller_constructor__P102792_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P47906, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P102792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9987,9 +9987,9 @@ function controller_Controller_constructor__P47906_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___55522: undefined, - i___55530: undefined, - i___55548: undefined, + leftId___110408: undefined, + i___110416: undefined, + i___110434: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9999,7 +9999,7 @@ function controller_Controller_constructor__P47906_mk(s) { -function controller_addController__P49676(s) { +function controller_addController__P104562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10013,17 +10013,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___49675); + r0 = pxsim_numops_toBoolDecr(globals._players___104561); 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___49675 = (r0); + globals._players___104561 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___49675; + s.tmp_0 = r0 = globals._players___104561; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -10033,12 +10033,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P49676.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__P104562.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__P49676_mk(s) { +function controller_addController__P104562_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P49676, depth: s.depth + 1, + parent: s, fn: controller_addController__P104562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10050,7 +10050,7 @@ function controller_addController__P49676_mk(s) { -function helpers_arrayFilter__P46087(s) { +function helpers_arrayFilter__P100973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10060,31 +10060,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___55383 = undefined; - s.len___55385 = undefined; - s.i___55388 = undefined; - s.v___55393 = undefined; + s.res___110269 = undefined; + s.len___110271 = undefined; + s.i___110274 = undefined; + s.v___110279 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___55383 = (r0); + s.res___110269 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___55385 = (r0); - s.i___55388 = (0); + s.len___110271 = (r0); + s.i___110274 = (0); case 1: - r0 = (s.i___55388 < s.len___55385); + r0 = (s.i___110274 < s.len___110271); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___55388); - s.v___55393 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___110274); + s.v___110279 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___55393; - s.tmp_1.arg1 = s.i___55388; + s.tmp_1.arg0 = s.v___110279; + s.tmp_1.arg1 = s.i___110274; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 5; return s.tmp_1; case 5: @@ -10092,30 +10092,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___55383, s.v___55393); + r0 = pxsim_Array__push(s.res___110269, s.v___110279); case 2: case 3: - r0 = (s.i___55388 + 1); - s.i___55388 = (r0); + r0 = (s.i___110274 + 1); + s.i___110274 = (r0); { step = 1; continue; } case 4: - r0 = s.res___55383; + r0 = s.res___110269; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P46087.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__P100973.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__P46087_mk(s) { +function helpers_arrayFilter__P100973_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P46087, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P100973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___55383: undefined, - len___55385: undefined, - i___55388: undefined, - v___55393: undefined, + res___110269: undefined, + len___110271: undefined, + i___110274: undefined, + v___110279: undefined, arg0: undefined, arg1: undefined, } } @@ -10124,7 +10124,7 @@ function helpers_arrayFilter__P46087_mk(s) { -function controller__moveSprites__P47901(s) { +function controller__moveSprites__P102787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10134,13 +10134,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P46086_mk(s); - s.tmp_1 = controller_players__P47897_mk(s); + s.tmp_0 = helpers_arrayForEach__P100972_mk(s); + s.tmp_1 = controller_players__P102783_mk(s); s.callLocIdx = 188; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P55233; + s.tmp_0.arg1 = inline__P110119; s.callLocIdx = 190; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -10148,12 +10148,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P47901.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P102787.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__P47901_mk(s) { +function controller__moveSprites__P102787_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P47901, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P102787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10163,7 +10163,7 @@ function controller__moveSprites__P47901_mk(s) { -function inline__P55233(s) { +function inline__P110119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10177,7 +10177,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P47926_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P102812_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 189; s.pc = 1; return s.tmp_0; case 1: @@ -10186,12 +10186,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P55233.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P110119.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__P55233_mk(s) { +function inline__P110119_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P55233, depth: s.depth + 1, + parent: s, fn: inline__P110119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10201,7 +10201,7 @@ function inline__P55233_mk(s) { -function controller_Controller___preUpdate__P47926(s) { +function controller_Controller___preUpdate__P102812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10211,20 +10211,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___55240 = undefined; - s.svx___55241 = undefined; - s.svy___55242 = undefined; - s.svxInCricle___55277 = undefined; - s.svyInCircle___55279 = undefined; - s.sq___55281 = undefined; - s.scale___55296 = undefined; + s.deadSprites___110126 = undefined; + s.svx___110127 = undefined; + s.svy___110128 = undefined; + s.svxInCricle___110163 = undefined; + s.svyInCircle___110165 = undefined; + s.sq___110167 = undefined; + s.scale___110182 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P47907_mk(s); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P102793_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 200; s.pc = 18; return s.tmp_3; case 18: @@ -10240,21 +10240,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___55240 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___55240, false); + s.deadSprites___110126 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___110126, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___55241 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___55241, 0); + s.svx___110127 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___110127, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___55242 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___55242, 0); + s.svy___110128 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___110128, 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___55241; - s.tmp_5 = controller_Button_pressureLevel__P47892_mk(s); - s.tmp_6 = controller_Controller_right__P47912_mk(s); + s.tmp_1 = r0 = s.svx___110127; + s.tmp_5 = controller_Button_pressureLevel__P102778_mk(s); + s.tmp_6 = controller_Controller_right__P102798_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 201; s.pc = 20; return s.tmp_6; case 20: @@ -10264,8 +10264,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P47892_mk(s); - s.tmp_9 = controller_Controller_left__P47911_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P102778_mk(s); + s.tmp_9 = controller_Controller_left__P102797_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 203; s.pc = 22; return s.tmp_9; case 22: @@ -10280,9 +10280,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___55242; - s.tmp_4 = controller_Button_pressureLevel__P47892_mk(s); - s.tmp_5 = controller_Controller_down__P47914_mk(s); + s.tmp_0 = r0 = s.svy___110128; + s.tmp_4 = controller_Button_pressureLevel__P102778_mk(s); + s.tmp_5 = controller_Controller_down__P102800_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 205; s.pc = 24; return s.tmp_5; case 24: @@ -10292,8 +10292,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P47892_mk(s); - s.tmp_8 = controller_Controller_up__P47913_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P102778_mk(s); + s.tmp_8 = controller_Controller_up__P102799_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 207; s.pc = 26; return s.tmp_8; case 26: @@ -10310,14 +10310,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C47882_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P47912_mk(s); + s.tmp_1 = controller_Button__C102768_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P102798_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 209; 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__C47882_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C102768_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: @@ -10332,14 +10332,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C47882_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P47911_mk(s); + s.tmp_5 = controller_Button__C102768_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P102797_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 210; 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__C47882_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C102768_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: @@ -10354,18 +10354,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___55241; + s.tmp_8 = r0 = s.svx___110127; 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__C47882_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P47914_mk(s); + s.tmp_1 = controller_Button__C102768_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P102800_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 211; 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__C47882_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C102768_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: @@ -10380,14 +10380,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C47882_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P47913_mk(s); + s.tmp_5 = controller_Button__C102768_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P102799_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 212; 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__C47882_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C102768_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: @@ -10402,57 +10402,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___55242; + s.tmp_8 = r0 = s.svy___110128; 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___55277 = (r0); - s.tmp_0 = r0 = s.svxInCricle___55277; - r0 = pxsim_pxtrt_ldlocRef(s.svx___55241); + s.svxInCricle___110163 = (r0); + s.tmp_0 = r0 = s.svxInCricle___110163; + r0 = pxsim_pxtrt_ldlocRef(s.svx___110127); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___55279 = (r0); - s.tmp_0 = r0 = s.svyInCircle___55279; - r0 = pxsim_pxtrt_ldlocRef(s.svy___55242); + s.svyInCircle___110165 = (r0); + s.tmp_0 = r0 = s.svyInCircle___110165; + r0 = pxsim_pxtrt_ldlocRef(s.svy___110128); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___55241); + r0 = pxsim_pxtrt_ldlocRef(s.svx___110127); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___55241); + r0 = pxsim_pxtrt_ldlocRef(s.svx___110127); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___55242); + r0 = pxsim_pxtrt_ldlocRef(s.svy___110128); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___55242); + r0 = pxsim_pxtrt_ldlocRef(s.svy___110128); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___55281 = (r0); - r0 = (s.sq___55281 > 65536); + s.sq___110167 = (r0); + r0 = (s.sq___110167 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___55281); + r0 = (65536 / s.sq___110167); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___55296 = (r0); - s.tmp_0 = r0 = s.svxInCricle___55277; - s.tmp_3 = r0 = s.scale___55296; - r0 = pxsim_pxtrt_ldlocRef(s.svx___55241); + s.scale___110182 = (r0); + s.tmp_0 = r0 = s.svxInCricle___110163; + s.tmp_3 = r0 = s.scale___110182; + r0 = pxsim_pxtrt_ldlocRef(s.svx___110127); 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___55279; - s.tmp_3 = r0 = s.scale___55296; - r0 = pxsim_pxtrt_ldlocRef(s.svy___55242); + s.tmp_0 = r0 = s.svyInCircle___110165; + s.tmp_3 = r0 = s.scale___110182; + r0 = pxsim_pxtrt_ldlocRef(s.svy___110128); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -10461,15 +10461,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, inline__P55314); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___55240); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___55241); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___55242); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___55277); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___55279); - s.tmp_1 = helpers_arrayForEach__P46086_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P47907_mk(s); + r0 = pxsim_pxtcore_mkAction(5, inline__P110200); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___110126); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___110127); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___110128); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___110163); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___110165); + s.tmp_1 = helpers_arrayForEach__P100972_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P102793_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 213; s.pc = 36; return s.tmp_2; case 36: @@ -10479,20 +10479,20 @@ switch (step) { s.callLocIdx = 221; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___55240); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___110126); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P47908_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P102794_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P46087_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P47907_mk(s); + s.tmp_2 = helpers_arrayFilter__P100973_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P102793_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 222; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P55371; + s.tmp_2.arg1 = inline__P110257; s.callLocIdx = 223; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -10507,12 +10507,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P47926.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__P102812.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__P47926_mk(s) { +function controller_Controller___preUpdate__P102812_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P47926, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P102812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10524,13 +10524,13 @@ function controller_Controller___preUpdate__P47926_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___55240: undefined, - svx___55241: undefined, - svy___55242: undefined, - svxInCricle___55277: undefined, - svyInCircle___55279: undefined, - sq___55281: undefined, - scale___55296: undefined, + deadSprites___110126: undefined, + svx___110127: undefined, + svy___110128: undefined, + svxInCricle___110163: undefined, + svyInCircle___110165: undefined, + sq___110167: undefined, + scale___110182: undefined, arg0: undefined, } } @@ -10538,7 +10538,7 @@ function controller_Controller___preUpdate__P47926_mk(s) { -function inline__P55314(s) { +function inline__P110200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10548,9 +10548,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___55317 = undefined; - s.vx___55318 = undefined; - s.vy___55319 = undefined; + s.s___110203 = undefined; + s.vx___110204 = undefined; + s.vy___110205 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -10568,7 +10568,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___55317 = (r0); + s.s___110203 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -10581,7 +10581,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___55318 = (r0); + s.vx___110204 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -10594,8 +10594,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___55319 = (r0); - r0 = s.s___55317.fields["flags"]; + s.vy___110205 = (r0); + r0 = s.s___110203.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -10609,14 +10609,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___55318); + r0 = pxsim_numops_toBoolDecr(s.vx___110204); if (!r0) { step = 3; continue; } - r0 = (s.s___55317).fields["_vx"] = (0); + r0 = (s.s___110203).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___55319); + r0 = pxsim_numops_toBoolDecr(s.vy___110205); if (!r0) { step = 5; continue; } - r0 = (s.s___55317).fields["_vy"] = (0); + r0 = (s.s___110203).fields["_vy"] = (0); case 5: case 6: case 7: @@ -10634,48 +10634,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___55318; + s.tmp_2 = r0 = s.vx___110204; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___55319; + r0 = s.vy___110205; 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___55317; + s.tmp_4 = r0 = s.s___110203; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___55318); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___110204); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___55317; + s.tmp_0 = r0 = s.s___110203; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___55319); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___110205); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___55318); + r0 = pxsim_numops_toBoolDecr(s.vx___110204); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___55317; + s.tmp_0 = r0 = s.s___110203; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___55318); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___110204); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___55319); + r0 = pxsim_numops_toBoolDecr(s.vy___110205); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___55317; + s.tmp_0 = r0 = s.s___110203; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___55319); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___110205); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -10692,12 +10692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P55314.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P110200.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__P55314_mk(s) { +function inline__P110200_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P55314, depth: s.depth + 1, + parent: s, fn: inline__P110200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10706,9 +10706,9 @@ function inline__P55314_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___55317: undefined, - vx___55318: undefined, - vy___55319: undefined, + s___110203: undefined, + vx___110204: undefined, + vy___110205: undefined, arg0: undefined, } } @@ -10716,7 +10716,7 @@ function inline__P55314_mk(s) { -function inline__P55371(s) { +function inline__P110257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10741,12 +10741,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P55371.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P110257.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__P55371_mk(s) { +function inline__P110257_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P55371, depth: s.depth + 1, + parent: s, fn: inline__P110257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10758,7 +10758,7 @@ function inline__P55371_mk(s) { -function controller_Controller_down__P47914(s) { +function controller_Controller_down__P102800(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10773,7 +10773,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -10782,13 +10782,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P47914.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__P47914.isGetter = true; +controller_Controller_down__P102800.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__P102800.isGetter = true; -function controller_Controller_down__P47914_mk(s) { +function controller_Controller_down__P102800_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P47914, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P102800, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10799,7 +10799,7 @@ function controller_Controller_down__P47914_mk(s) { -function controller_Controller_button__P49677(s) { +function controller_Controller_button__P104563(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10815,7 +10815,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -10824,12 +10824,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P49677.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__P104563.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__P49677_mk(s) { +function controller_Controller_button__P104563_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P49677, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P104563, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10841,7 +10841,7 @@ function controller_Controller_button__P49677_mk(s) { -function controller_Controller_up__P47913(s) { +function controller_Controller_up__P102799(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10856,7 +10856,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -10865,13 +10865,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P47913.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__P47913.isGetter = true; +controller_Controller_up__P102799.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__P102799.isGetter = true; -function controller_Controller_up__P47913_mk(s) { +function controller_Controller_up__P102799_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P47913, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P102799, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10882,7 +10882,7 @@ function controller_Controller_up__P47913_mk(s) { -function controller_Controller_right__P47912(s) { +function controller_Controller_right__P102798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10897,7 +10897,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -10906,13 +10906,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P47912.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__P47912.isGetter = true; +controller_Controller_right__P102798.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__P102798.isGetter = true; -function controller_Controller_right__P47912_mk(s) { +function controller_Controller_right__P102798_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P47912, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P102798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10923,7 +10923,7 @@ function controller_Controller_right__P47912_mk(s) { -function controller_Controller_left__P47911(s) { +function controller_Controller_left__P102797(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10938,7 +10938,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -10947,13 +10947,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P47911.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__P47911.isGetter = true; +controller_Controller_left__P102797.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__P102797.isGetter = true; -function controller_Controller_left__P47911_mk(s) { +function controller_Controller_left__P102797_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P47911, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P102797, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10964,7 +10964,7 @@ function controller_Controller_left__P47911_mk(s) { -function controller_Controller__controlledSprites__P47908(s) { +function controller_Controller__controlledSprites__P102794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10980,8 +10980,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P48511_mk(s); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 194; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -10994,12 +10994,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P47908.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__P102794.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__P47908_mk(s) { +function controller_Controller__controlledSprites__P102794_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P47908, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P102794, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11012,7 +11012,7 @@ function controller_Controller__controlledSprites__P47908_mk(s) { -function controller_Controller__controlledSprites__P47907(s) { +function controller_Controller__controlledSprites__P102793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11027,8 +11027,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P48511_mk(s); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 193; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -11040,13 +11040,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P47907.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__P47907.isGetter = true; +controller_Controller__controlledSprites__P102793.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__P102793.isGetter = true; -function controller_Controller__controlledSprites__P47907_mk(s) { +function controller_Controller__controlledSprites__P102793_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P47907, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P102793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11058,7 +11058,7 @@ function controller_Controller__controlledSprites__P47907_mk(s) { -function controller_Button_pressureLevel__P47892(s) { +function controller_Button_pressureLevel__P102778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11073,16 +11073,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C47882_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C102768_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__C47882_v0_1_mk(s); + s.tmp_3 = controller_Button__C102768_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C47882_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C102768_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: @@ -11111,12 +11111,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P47892.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__P102778.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__P47892_mk(s) { +function controller_Button_pressureLevel__P102778_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P47892, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P102778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11131,7 +11131,7 @@ function controller_Button_pressureLevel__P47892_mk(s) { -function Fx_imul__P46135(s) { +function Fx_imul__P101021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11150,12 +11150,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P46135.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__P101021.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__P46135_mk(s) { +function Fx_imul__P101021_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P46135, depth: s.depth + 1, + parent: s, fn: Fx_imul__P101021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11165,7 +11165,7 @@ function Fx_imul__P46135_mk(s) { -function power_checkDeepSleep__P47685(s) { +function power_checkDeepSleep__P102571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11175,13 +11175,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___54263 = undefined; - s.to___54266 = undefined; - s.tmp_0 = power_init__P49576_mk(s); + s.p___109149 = undefined; + s.to___109152 = undefined; + s.tmp_0 = power_init__P104462_mk(s); s.callLocIdx = 112; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___49574; + s.tmp_0 = r0 = globals._poked___104460; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -11191,8 +11191,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___54263 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___49575; + s.p___109149 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___104461; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -11202,8 +11202,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___54266 = (s.tmp_1); - r0 = (s.to___54266 > 0); + s.to___109152 = (s.tmp_1); + r0 = (s.to___109152 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -11212,9 +11212,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___54263); + r0 = (s.tmp_2 - s.p___109149); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___54266); + r0 = (s.tmp_1 > s.to___109152); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -11240,12 +11240,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P47685.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P102571.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__P47685_mk(s) { +function power_checkDeepSleep__P102571_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P47685, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P102571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11254,15 +11254,15 @@ function power_checkDeepSleep__P47685_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___54263: undefined, - to___54266: undefined, + p___109149: undefined, + to___109152: undefined, } } -function power_init__P49576(s) { +function power_init__P104462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11272,7 +11272,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___49575 !== undefined); + r0 = (globals._timeout___104461 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -11282,21 +11282,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___49575 = (r0); - r0 = (globals._timeout___49575 > 0); + globals._timeout___104461 = (r0); + r0 = (globals._timeout___104461 > 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___49575 < 300000); + r0 = (globals._timeout___104461 < 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___49575 = (300000); + globals._timeout___104461 = (300000); case 5: case 6: case 7: @@ -11304,12 +11304,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P49576.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P104462.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__P49576_mk(s) { +function power_init__P104462_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P49576, depth: s.depth + 1, + parent: s, fn: power_init__P104462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11319,7 +11319,7 @@ function power_init__P49576_mk(s) { -function power_poke__P47684(s) { +function power_poke__P102570(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11329,22 +11329,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P49576_mk(s); + s.tmp_0 = power_init__P104462_mk(s); s.callLocIdx = 111; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___49574 = (r0); + globals._poked___104460 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P47684.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P102570.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__P47684_mk(s) { +function power_poke__P102570_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P47684, depth: s.depth + 1, + parent: s, fn: power_poke__P102570, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -11353,7 +11353,7 @@ function power_poke__P47684_mk(s) { -function control_EventContext_deltaTime__P46368(s) { +function control_EventContext_deltaTime__P101254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11368,20 +11368,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C46363_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C101249_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__P46368.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__P46368.isGetter = true; +control_EventContext_deltaTime__P101254.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__P101254.isGetter = true; -function control_EventContext_deltaTime__P46368_mk(s) { +function control_EventContext_deltaTime__P101254_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P46368, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P101254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11391,7 +11391,7 @@ function control_EventContext_deltaTime__P46368_mk(s) { -function scene_Scene_constructor__P48419(s) { +function scene_Scene_constructor__P103305(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11408,13 +11408,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C48398_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C103284_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__C48152_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C103038_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P48153_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P103039_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -11423,17 +11423,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C48339_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C103225_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P48343_mk(s); + s.tmp_1 = scene_Camera_constructor__P103229_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 815; 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__C48244_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C103130_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P48248_mk(s); + s.tmp_1 = scene_Background_constructor__P103134_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -11490,12 +11490,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P48419.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__P103305.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__P48419_mk(s) { +function scene_Scene_constructor__P103305_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P48419, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P103305, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11508,7 +11508,7 @@ function scene_Scene_constructor__P48419_mk(s) { -function scene_Camera_constructor__P48343(s) { +function scene_Camera_constructor__P103229(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11523,7 +11523,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C48339_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C103225_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -11532,12 +11532,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P48343.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__P103229.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__P48343_mk(s) { +function scene_Camera_constructor__P103229_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P48343, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P103229, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11546,7 +11546,7 @@ function scene_Camera_constructor__P48343_mk(s) { -function scene_Background_constructor__P48248(s) { +function scene_Background_constructor__P103134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11562,7 +11562,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C48244_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C103130_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -11573,12 +11573,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P48248.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__P103134.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__P48248_mk(s) { +function scene_Background_constructor__P103134_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P48248, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P103134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11590,7 +11590,7 @@ function scene_Background_constructor__P48248_mk(s) { -function ArcadePhysicsEngine_constructor__P48153(s) { +function ArcadePhysicsEngine_constructor__P103039(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11608,33 +11608,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_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__C48073_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C102959_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P48074_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P102960_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 473; 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__P48155_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P103041_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 474; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P48159_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P103045_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 475; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P48157_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P103043_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 476; s.pc = 4; return s.tmp_0; @@ -11644,12 +11644,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P48153.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} +ArcadePhysicsEngine_constructor__P103039.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} -function ArcadePhysicsEngine_constructor__P48153_mk(s) { +function ArcadePhysicsEngine_constructor__P103039_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P48153, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P103039, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11663,7 +11663,7 @@ function ArcadePhysicsEngine_constructor__P48153_mk(s) { -function ArcadePhysicsEngine_maxStep__P48159(s) { +function ArcadePhysicsEngine_maxStep__P103045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11679,7 +11679,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -11690,12 +11690,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P48159.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxStep__P103045.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxStep__P48159_mk(s) { +function ArcadePhysicsEngine_maxStep__P103045_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P48159, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P103045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11708,7 +11708,7 @@ function ArcadePhysicsEngine_maxStep__P48159_mk(s) { -function ArcadePhysicsEngine_maxStep__P48158(s) { +function ArcadePhysicsEngine_maxStep__P103044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11723,7 +11723,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -11732,13 +11732,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P48158.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} -ArcadePhysicsEngine_maxStep__P48158.isGetter = true; +ArcadePhysicsEngine_maxStep__P103044.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} +ArcadePhysicsEngine_maxStep__P103044.isGetter = true; -function ArcadePhysicsEngine_maxStep__P48158_mk(s) { +function ArcadePhysicsEngine_maxStep__P103044_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P48158, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P103044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11749,7 +11749,7 @@ function ArcadePhysicsEngine_maxStep__P48158_mk(s) { -function Fx_toInt__P46144(s) { +function Fx_toInt__P101030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11769,12 +11769,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P46144.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__P101030.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__P46144_mk(s) { +function Fx_toInt__P101030_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P46144, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P101030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11784,7 +11784,7 @@ function Fx_toInt__P46144_mk(s) { -function ArcadePhysicsEngine_minStep__P48157(s) { +function ArcadePhysicsEngine_minStep__P103043(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11800,7 +11800,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -11811,12 +11811,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P48157.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_minStep__P103043.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_minStep__P48157_mk(s) { +function ArcadePhysicsEngine_minStep__P103043_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P48157, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P103043, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11829,7 +11829,7 @@ function ArcadePhysicsEngine_minStep__P48157_mk(s) { -function ArcadePhysicsEngine_minStep__P48156(s) { +function ArcadePhysicsEngine_minStep__P103042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11844,7 +11844,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -11853,13 +11853,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P48156.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} -ArcadePhysicsEngine_minStep__P48156.isGetter = true; +ArcadePhysicsEngine_minStep__P103042.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} +ArcadePhysicsEngine_minStep__P103042.isGetter = true; -function ArcadePhysicsEngine_minStep__P48156_mk(s) { +function ArcadePhysicsEngine_minStep__P103042_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P48156, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P103042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11870,7 +11870,7 @@ function ArcadePhysicsEngine_minStep__P48156_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P48155(s) { +function ArcadePhysicsEngine_maxSpeed__P103041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11886,7 +11886,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -11903,12 +11903,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P48155.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxSpeed__P103041.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxSpeed__P48155_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P103041_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P48155, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P103041, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11921,7 +11921,7 @@ function ArcadePhysicsEngine_maxSpeed__P48155_mk(s) { -function Fx_neg__P46129(s) { +function Fx_neg__P101015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11939,12 +11939,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P46129.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__P101015.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__P46129_mk(s) { +function Fx_neg__P101015_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P46129, depth: s.depth + 1, + parent: s, fn: Fx_neg__P101015, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11953,7 +11953,7 @@ function Fx_neg__P46129_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P48154(s) { +function ArcadePhysicsEngine_maxSpeed__P103040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11968,7 +11968,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -11977,13 +11977,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P48154.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} -ArcadePhysicsEngine_maxSpeed__P48154.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P103040.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} +ArcadePhysicsEngine_maxSpeed__P103040.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P48154_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P103040_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P48154, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P103040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11994,7 +11994,7 @@ function ArcadePhysicsEngine_maxSpeed__P48154_mk(s) { -function PhysicsEngine_constructor__P48139(s) { +function PhysicsEngine_constructor__P103025(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12009,17 +12009,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C48138_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C103024_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P48139.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__P103025.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__P48139_mk(s) { +function PhysicsEngine_constructor__P103025_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P48139, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P103025, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12028,7 +12028,7 @@ function PhysicsEngine_constructor__P48139_mk(s) { -function sprites_SpriteMap_constructor__P48074(s) { +function sprites_SpriteMap_constructor__P102960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12043,7 +12043,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C48073_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -12052,12 +12052,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P48074.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__P102960.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__P48074_mk(s) { +function sprites_SpriteMap_constructor__P102960_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P48074, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P102960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12068,7 +12068,7 @@ function sprites_SpriteMap_constructor__P48074_mk(s) { -function music_Melody_constructor__P47580(s) { +function music_Melody_constructor__P102466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12084,18 +12084,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C47577_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C102463_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P47580.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__P102466.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__P47580_mk(s) { +function music_Melody_constructor__P102466_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P47580, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P102466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12105,7 +12105,7 @@ function music_Melody_constructor__P47580_mk(s) { -function control_pushEventContext__P46377(s) { +function control_pushEventContext__P101263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12115,63 +12115,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___55679 = undefined; - s.n___55685 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___49517); + s.ctx___110565 = undefined; + s.n___110571 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___104403); 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___49517 = (r0); + globals.eventContexts___104403 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P46376_mk(s); + s.tmp_0 = control_eventContext__P101262_mk(s); s.callLocIdx = 55; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___55679 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___55679); + s.ctx___110565 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___110565); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P46370_mk(s); - s.tmp_0.arg0 = s.ctx___55679; + s.tmp_0 = control_EventContext_unregister__P101256_mk(s); + s.tmp_0.arg0 = s.ctx___110565; s.callLocIdx = 56; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C46363_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C101249_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P46367_mk(s); + s.tmp_1 = control_EventContext_constructor__P101253_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 57; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___55685 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___49517, s.n___55685); - r0 = s.n___55685; + s.n___110571 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___104403, s.n___110571); + r0 = s.n___110571; return leave(s, r0) default: oops() } } } -control_pushEventContext__P46377.info = {"start":7123,"length":340,"line":216,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P101263.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__P46377_mk(s) { +function control_pushEventContext__P101263_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P46377, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P101263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___55679: undefined, - n___55685: undefined, + ctx___110565: undefined, + n___110571: undefined, } } -function control_eventContext__P46376(s) { +function control_eventContext__P101262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12181,10 +12181,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___49517); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___104403); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___49517; - r0 = pxsim_Array__length(globals.eventContexts___49517); + s.tmp_0 = r0 = globals.eventContexts___104403; + r0 = pxsim_Array__length(globals.eventContexts___104403); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -12199,12 +12199,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P46376.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P101262.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__P46376_mk(s) { +function control_eventContext__P101262_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P46376, depth: s.depth + 1, + parent: s, fn: control_eventContext__P101262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12216,7 +12216,7 @@ function control_eventContext__P46376_mk(s) { -function control_EventContext_unregister__P46370(s) { +function control_EventContext_unregister__P101256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12226,37 +12226,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___52829 = undefined; - s.unnamed212___U1 = undefined; - s.unnamed213___U2 = undefined; + s.h___107715 = undefined; + s.unnamed452___U1 = undefined; + s.unnamed453___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C46363_VT)) failedCast(r0); - s.h___52829 = (undefined); + if (!checkSubtype(r0, control_EventContext__C101249_VT)) failedCast(r0); + s.h___107715 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed212___U1 = (r0); - s.unnamed213___U2 = (0); + s.unnamed452___U1 = (r0); + s.unnamed453___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed213___U2; - r0 = pxsim_Array__length(s.unnamed212___U1); + s.tmp_0 = r0 = s.unnamed453___U2; + r0 = pxsim_Array__length(s.unnamed452___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed212___U1, s.unnamed213___U2); - s.h___52829 = (r0); - s.tmp_2 = control_EventHandler_unregister__P49511_mk(s); - s.tmp_2.arg0 = s.h___52829; + r0 = pxsim_Array__getAt(s.unnamed452___U1, s.unnamed453___U2); + s.h___107715 = (r0); + s.tmp_2 = control_EventHandler_unregister__P104397_mk(s); + s.tmp_2.arg0 = s.h___107715; s.callLocIdx = 51; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed213___U2 + 1); - s.unnamed213___U2 = (r0); + r0 = (s.unnamed453___U2 + 1); + s.unnamed453___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed212___U1 = (undefined); + s.unnamed452___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -12267,19 +12267,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P46370.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__P101256.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__P46370_mk(s) { +function control_EventContext_unregister__P101256_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P46370, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P101256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___52829: undefined, - unnamed212___U1: undefined, - unnamed213___U2: undefined, + h___107715: undefined, + unnamed452___U1: undefined, + unnamed453___U2: undefined, arg0: undefined, } } @@ -12287,7 +12287,7 @@ function control_EventContext_unregister__P46370_mk(s) { -function control_EventHandler_unregister__P49511(s) { +function control_EventHandler_unregister__P104397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12302,24 +12302,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C49509_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C104395_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__P49513, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P104399, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P49511.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__P104397.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__P49511_mk(s) { +function control_EventHandler_unregister__P104397_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P49511, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P104397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12331,7 +12331,7 @@ function control_EventHandler_unregister__P49511_mk(s) { -function control_doNothing__P49513(s) { +function control_doNothing__P104399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12345,12 +12345,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P49513.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P104399.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__P49513_mk(s) { +function control_doNothing__P104399_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P49513, depth: s.depth + 1, + parent: s, fn: control_doNothing__P104399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -12358,7 +12358,7 @@ function control_doNothing__P49513_mk(s) { -function control_EventContext_constructor__P46367(s) { +function control_EventContext_constructor__P101253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12373,7 +12373,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C46363_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C101249_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -12383,26 +12383,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___46365); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___101251); 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___46365 = (r0); + globals.control_EventContext_lastStats___101251 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P46367.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__P101253.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__P46367_mk(s) { +function control_EventContext_constructor__P101253_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P46367, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P101253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12413,7 +12413,7 @@ function control_EventContext_constructor__P46367_mk(s) { -function control_EventContext_registerFrameHandler__P46371(s) { +function control_EventContext_registerFrameHandler__P101257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12423,8 +12423,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___53164 = undefined; - s.i___53173 = undefined; + s.fn___108050 = undefined; + s.i___108059 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12432,7 +12432,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C46363_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C101249_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -12445,20 +12445,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__P49515_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P104401_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 52; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C46360_VT); - s.fn___53164 = (r0); - r0 = (s.fn___53164).fields["order"] = (s.arg1); - r0 = (s.fn___53164).fields["handler"] = (s.arg2); - s.i___53173 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C101246_VT); + s.fn___108050 = (r0); + r0 = (s.fn___108050).fields["order"] = (s.arg1); + r0 = (s.fn___108050).fields["handler"] = (s.arg2); + s.i___108059 = (0); case 3: - s.tmp_1 = r0 = s.i___53173; + s.tmp_1 = r0 = s.i___108059; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -12469,7 +12469,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___53173); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___108059); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -12478,29 +12478,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___53173, s.fn___53164); - r0 = s.fn___53164; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___108059, s.fn___108050); + r0 = s.fn___108050; { step = 7; continue; } case 4: case 5: - r0 = (s.i___53173 + 1); - s.i___53173 = (r0); + r0 = (s.i___108059 + 1); + s.i___108059 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___53164); - r0 = s.fn___53164; + r0 = pxsim_Array__push(s.tmp_0, s.fn___108050); + r0 = s.fn___108050; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P46371.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__P101257.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__P46371_mk(s) { +function control_EventContext_registerFrameHandler__P101257_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P46371, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P101257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12510,8 +12510,8 @@ function control_EventContext_registerFrameHandler__P46371_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___53164: undefined, - i___53173: undefined, + fn___108050: undefined, + i___108059: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12521,7 +12521,7 @@ function control_EventContext_registerFrameHandler__P46371_mk(s) { -function control_EventContext_registerFrameCallbacks__P49515(s) { +function control_EventContext_registerFrameCallbacks__P104401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12531,13 +12531,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___52676 = undefined; + s.worker___107562 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C46363_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C101249_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -12550,28 +12550,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___52676 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P52682); + s.worker___107562 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P107568); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___52676); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___107562); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P49515.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__P104401.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__P49515_mk(s) { +function control_EventContext_registerFrameCallbacks__P104401_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P49515, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P104401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___52676: undefined, + worker___107562: undefined, arg0: undefined, } } @@ -12579,7 +12579,7 @@ function control_EventContext_registerFrameCallbacks__P49515_mk(s) { -function inline__P52682(s) { +function inline__P107568(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12589,15 +12589,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___52712 = undefined; + s.delay___107598 = 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__P52688); + r0 = pxsim_pxtcore_mkAction(1, inline__P107574); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P46335_mk(s); + s.tmp_2 = pauseUntil__P101221_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 46; s.pc = 5; return s.tmp_2; @@ -12620,14 +12620,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__P49514_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P104400_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 47; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___52712 = (r0); - s.tmp_0 = pause__P46381_mk(s); - s.tmp_0.arg0 = s.delay___52712; + s.delay___107598 = (r0); + s.tmp_0 = pause__P101267_mk(s); + s.tmp_0.arg0 = s.delay___107598; s.callLocIdx = 48; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -12638,24 +12638,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P52682.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P107568.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P52682_mk(s) { +function inline__P107568_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P52682, depth: s.depth + 1, + parent: s, fn: inline__P107568, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___52712: undefined, + delay___107598: undefined, } } -function inline__P52688(s) { +function inline__P107574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12673,12 +12673,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P52688.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P107574.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P52688_mk(s) { +function inline__P107574_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P52688, depth: s.depth + 1, + parent: s, fn: inline__P107574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12688,7 +12688,7 @@ function inline__P52688_mk(s) { -function control_EventContext_runCallbacks__P49514(s) { +function control_EventContext_runCallbacks__P104400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12698,42 +12698,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___52721 = undefined; - s.f___52734 = undefined; - s.unnamed208___U2 = undefined; - s.unnamed209___U3 = undefined; - s.runtime___52739 = undefined; - s.fps___52759 = undefined; - s.delay___52821 = undefined; + s.loopStart___107607 = undefined; + s.f___107620 = undefined; + s.unnamed448___U2 = undefined; + s.unnamed449___U3 = undefined; + s.runtime___107625 = undefined; + s.fps___107645 = undefined; + s.delay___107707 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C46363_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C101249_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___52721 = (r0); + s.loopStart___107607 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___52721 - s.tmp_2); + r0 = (s.loopStart___107607 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___52721); - s.f___52734 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___107607); + s.f___107620 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed208___U2 = (r0); - s.unnamed209___U3 = (0); + s.unnamed448___U2 = (r0); + s.unnamed449___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed209___U3; - r0 = pxsim_Array__length(s.unnamed208___U2); + s.tmp_0 = r0 = s.unnamed449___U3; + r0 = pxsim_Array__length(s.unnamed448___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed208___U2, s.unnamed209___U3); - s.f___52734 = (r0); + r0 = pxsim_Array__getAt(s.unnamed448___U2, s.unnamed449___U3); + s.f___107620 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___52734; + s.tmp_2.arg0 = s.f___107620; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 43; s.pc = 13; return s.tmp_2; @@ -12745,19 +12745,19 @@ switch (step) { } case 13: r0 = s.retval; - r0 = (s.unnamed209___U3 + 1); - s.unnamed209___U3 = (r0); + r0 = (s.unnamed449___U3 + 1); + s.unnamed449___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed208___U2 = (undefined); + s.unnamed448___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___52721); - s.runtime___52739 = (r0); + r0 = (s.tmp_0 - s.loopStart___107607); + s.runtime___107625 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___52739); + r0 = (s.tmp_2 + s.runtime___107625); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -12790,8 +12790,8 @@ switch (step) { r0 = (s.tmp_6 / 1000); s.tmp_5 = r0; r0 = (s.tmp_4 / s.tmp_5); - s.fps___52759 = (r0); - r0 = pxsim.Math_.round(s.fps___52759); + s.fps___107645 = (r0); + r0 = pxsim.Math_.round(s.fps___107645); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 14); @@ -12803,21 +12803,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___46365 = (r0); - r0 = (s.fps___52759 < 99); + globals.control_EventContext_lastStats___101251 = (r0); + r0 = (s.fps___107645 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___46365) && (globals.control_EventContext_lastStats___46365).vtable) { + if ((globals.control_EventContext_lastStats___101251) && (globals.control_EventContext_lastStats___101251).vtable) { setupResume(s, 15); - pxsim_String__stringConv(globals.control_EventContext_lastStats___46365); + pxsim_String__stringConv(globals.control_EventContext_lastStats___101251); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___46365) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___101251) + ""; } case 15: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___52759 * 10); + r0 = (s.fps___107645 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -12844,10 +12844,10 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___46365 = (r0); + globals.control_EventContext_lastStats___101251 = (r0); case 5: case 6: - s.tmp_2 = control_ramSize__P46314_mk(s); + s.tmp_2 = control_ramSize__P101200_mk(s); s.callLocIdx = 44; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; @@ -12867,7 +12867,7 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_8 = r0; - r0 = (s.fps___52759 * 100); + r0 = (s.fps___107645 * 100); s.tmp_11 = r0; r0 = (s.tmp_11 | 0); s.tmp_10 = r0; @@ -12908,24 +12908,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 11: case 12: - s.tmp_0 = Math_max__P46104_mk(s); + s.tmp_0 = Math_max__P100990_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___52739); + r0 = (20 - s.runtime___107625); s.tmp_0.arg1 = r0; s.callLocIdx = 45; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.delay___52821 = (r0); - r0 = s.delay___52821; + s.delay___107707 = (r0); + r0 = s.delay___107707; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P49514.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__P104400.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__P49514_mk(s) { +function control_EventContext_runCallbacks__P104400_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P49514, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P104400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12941,13 +12941,13 @@ function control_EventContext_runCallbacks__P49514_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - loopStart___52721: undefined, - f___52734: undefined, - unnamed208___U2: undefined, - unnamed209___U3: undefined, - runtime___52739: undefined, - fps___52759: undefined, - delay___52821: undefined, + loopStart___107607: undefined, + f___107620: undefined, + unnamed448___U2: undefined, + unnamed449___U3: undefined, + runtime___107625: undefined, + fps___107645: undefined, + delay___107707: undefined, arg0: undefined, } } @@ -12955,7 +12955,7 @@ function control_EventContext_runCallbacks__P49514_mk(s) { -function game_popScene__P48516(s) { +function game_popScene__P103402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12965,57 +12965,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___52438 = undefined; - s.tmp_0 = game_currentScene__P48511_mk(s); + s.oldScene___107324 = undefined; + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 918; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___52438 = (r0); - s.tmp_0 = r0 = globals._sceneStack___49834; + s.oldScene___107324 = (r0); + s.tmp_0 = r0 = globals._sceneStack___104720; 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___49834); + r0 = pxsim_Array__length(globals._sceneStack___104720); 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___49834); - globals._scene___49833 = (r0); - s.tmp_0 = control_popEventContext__P46378_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___104720); + globals._scene___104719 = (r0); + s.tmp_0 = control_popEventContext__P101264_mk(s); s.callLocIdx = 919; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___49833); + r0 = pxsim_numops_toBoolDecr(globals._scene___104719); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P46378_mk(s); + s.tmp_0 = control_popEventContext__P101264_mk(s); s.callLocIdx = 920; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___49833 = (undefined); + globals._scene___104719 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___49833); + r0 = pxsim_numops_toBoolDecr(globals._scene___104719); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P48689_mk(s); + s.tmp_0 = particles_enableAll__P103575_mk(s); s.callLocIdx = 921; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___49836); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___104722); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P52459); + r0 = pxsim_pxtcore_mkAction(1, inline__P107345); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___52438); - s.tmp_1 = helpers_arrayForEach__P46086_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___49836; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___107324); + s.tmp_1 = helpers_arrayForEach__P100972_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___104722; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 923; s.pc = 15; return s.tmp_1; case 15: @@ -13026,23 +13026,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P48516.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P103402.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__P48516_mk(s) { +function game_popScene__P103402_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P48516, depth: s.depth + 1, + parent: s, fn: game_popScene__P103402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___52438: undefined, + oldScene___107324: undefined, } } -function inline__P52459(s) { +function inline__P107345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13067,12 +13067,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P52459.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P107345.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__P52459_mk(s) { +function inline__P107345_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P52459, depth: s.depth + 1, + parent: s, fn: inline__P107345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13082,7 +13082,7 @@ function inline__P52459_mk(s) { -function particles_enableAll__P48689(s) { +function particles_enableAll__P103575(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13092,21 +13092,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___52463 = undefined; - s.tmp_0 = particles_particleSources__P50197_mk(s); + s.sources___107349 = undefined; + s.tmp_0 = particles_particleSources__P105083_mk(s); s.callLocIdx = 1162; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___52463 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___52463); + s.sources___107349 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___107349); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P46086_mk(s); - s.tmp_0.arg0 = s.sources___52463; - s.tmp_0.arg1 = inline__P52469; + s.tmp_0 = helpers_arrayForEach__P100972_mk(s); + s.tmp_0.arg0 = s.sources___107349; + s.tmp_0.arg1 = inline__P107355; s.callLocIdx = 1164; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P50193_mk(s); + s.tmp_0 = particles_pruneParticles__P105079_mk(s); s.callLocIdx = 1165; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -13116,22 +13116,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P48689.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P103575.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__P48689_mk(s) { +function particles_enableAll__P103575_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P48689, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P103575, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___52463: undefined, + sources___107349: undefined, } } -function inline__P52469(s) { +function inline__P107355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13145,7 +13145,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P48670_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P103556_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1163; s.pc = 1; return s.tmp_0; @@ -13155,12 +13155,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P52469.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P107355.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__P52469_mk(s) { +function inline__P107355_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P52469, depth: s.depth + 1, + parent: s, fn: inline__P107355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13170,7 +13170,7 @@ function inline__P52469_mk(s) { -function control_popEventContext__P46378(s) { +function control_popEventContext__P101264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13180,9 +13180,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___52644 = undefined; - s.context___52652 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___49517); + s.ctx___107530 = undefined; + s.context___107538 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___104403); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13191,9 +13191,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___49517); - s.ctx___52644 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___52644); + r0 = pxsim_Array_.pop(globals.eventContexts___104403); + s.ctx___107530 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___107530); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13202,53 +13202,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P46370_mk(s); - s.tmp_2.arg0 = s.ctx___52644; + s.tmp_2 = control_EventContext_unregister__P101256_mk(s); + s.tmp_2.arg0 = s.ctx___107530; s.callLocIdx = 58; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___49517; - r0 = pxsim_Array__length(globals.eventContexts___49517); + s.tmp_0 = r0 = globals.eventContexts___104403; + r0 = pxsim_Array__length(globals.eventContexts___104403); 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___52652 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___52652); + s.context___107538 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___107538); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P46369_mk(s); - s.tmp_0.arg0 = s.context___52652; + s.tmp_0 = control_EventContext_register__P101255_mk(s); + s.tmp_0.arg0 = s.context___107538; s.callLocIdx = 59; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___49517 = (undefined); + globals.eventContexts___104403 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P46378.info = {"start":7568,"length":413,"line":232,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P101264.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__P46378_mk(s) { +function control_popEventContext__P101264_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P46378, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P101264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___52644: undefined, - context___52652: undefined, + ctx___107530: undefined, + context___107538: undefined, } } -function control_EventContext_register__P46369(s) { +function control_EventContext_register__P101255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13258,38 +13258,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___52665 = undefined; - s.unnamed210___U1 = undefined; - s.unnamed211___U2 = undefined; + s.h___107551 = undefined; + s.unnamed450___U1 = undefined; + s.unnamed451___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C46363_VT)) failedCast(r0); - s.h___52665 = (undefined); + if (!checkSubtype(r0, control_EventContext__C101249_VT)) failedCast(r0); + s.h___107551 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed210___U1 = (r0); - s.unnamed211___U2 = (0); + s.unnamed450___U1 = (r0); + s.unnamed451___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed211___U2; - r0 = pxsim_Array__length(s.unnamed210___U1); + s.tmp_0 = r0 = s.unnamed451___U2; + r0 = pxsim_Array__length(s.unnamed450___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed210___U1, s.unnamed211___U2); - s.h___52665 = (r0); - s.tmp_2 = control_EventHandler_register__P49510_mk(s); - s.tmp_2.arg0 = s.h___52665; + r0 = pxsim_Array__getAt(s.unnamed450___U1, s.unnamed451___U2); + s.h___107551 = (r0); + s.tmp_2 = control_EventHandler_register__P104396_mk(s); + s.tmp_2.arg0 = s.h___107551; s.callLocIdx = 49; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed211___U2 + 1); - s.unnamed211___U2 = (r0); + r0 = (s.unnamed451___U2 + 1); + s.unnamed451___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed210___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P49515_mk(s); + s.unnamed450___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P104401_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 50; s.pc = 4; return s.tmp_0; case 4: @@ -13298,19 +13298,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P46369.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__P101255.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__P46369_mk(s) { +function control_EventContext_register__P101255_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P46369, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P101255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___52665: undefined, - unnamed210___U1: undefined, - unnamed211___U2: undefined, + h___107551: undefined, + unnamed450___U1: undefined, + unnamed451___U2: undefined, arg0: undefined, } } @@ -13318,7 +13318,7 @@ function control_EventContext_register__P46369_mk(s) { -function control_EventHandler_register__P49510(s) { +function control_EventHandler_register__P104396(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13333,8 +13333,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C49509_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P52327); + if (!checkSubtype(r0, control_EventHandler__C104395_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P107213); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -13348,12 +13348,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P49510.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__P104396.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__P49510_mk(s) { +function control_EventHandler_register__P104396_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P49510, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P104396, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13366,7 +13366,7 @@ function control_EventHandler_register__P49510_mk(s) { -function inline__P52327(s) { +function inline__P107213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13399,12 +13399,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P52327.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P107213.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P52327_mk(s) { +function inline__P107213_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P52327, depth: s.depth + 1, + parent: s, fn: inline__P107213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13414,7 +13414,7 @@ function inline__P52327_mk(s) { -function game_pushScene__P48515(s) { +function game_pushScene__P103401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13424,43 +13424,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___56618 = undefined; - s.tmp_0 = game_currentScene__P48511_mk(s); + s.oldScene___111504 = undefined; + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 912; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___56618 = (r0); - s.tmp_0 = particles_clearAll__P48687_mk(s); + s.oldScene___111504 = (r0); + s.tmp_0 = particles_clearAll__P103573_mk(s); s.callLocIdx = 913; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P48688_mk(s); + s.tmp_0 = particles_disableAll__P103574_mk(s); s.callLocIdx = 914; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___49834); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___104720); 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___49834 = (r0); + globals._sceneStack___104720 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___49834, globals._scene___49833); - s.tmp_0 = game_init__P49841_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___104720, globals._scene___104719); + s.tmp_0 = game_init__P104727_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 915; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___49835); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___104721); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P56635); + r0 = pxsim_pxtcore_mkAction(1, inline__P111521); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___56618); - s.tmp_1 = helpers_arrayForEach__P46086_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___49835; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___111504); + s.tmp_1 = helpers_arrayForEach__P100972_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___104721; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 917; s.pc = 9; return s.tmp_1; case 9: @@ -13471,23 +13471,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P48515.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P103401.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__P48515_mk(s) { +function game_pushScene__P103401_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P48515, depth: s.depth + 1, + parent: s, fn: game_pushScene__P103401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___56618: undefined, + oldScene___111504: undefined, } } -function inline__P56635(s) { +function inline__P111521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13512,12 +13512,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56635.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P111521.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__P56635_mk(s) { +function inline__P111521_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56635, depth: s.depth + 1, + parent: s, fn: inline__P111521, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13527,7 +13527,7 @@ function inline__P56635_mk(s) { -function particles_disableAll__P48688(s) { +function particles_disableAll__P103574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13537,21 +13537,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___56639 = undefined; - s.tmp_0 = particles_particleSources__P50197_mk(s); + s.sources___111525 = undefined; + s.tmp_0 = particles_particleSources__P105083_mk(s); s.callLocIdx = 1158; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___56639 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___56639); + s.sources___111525 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___111525); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P46086_mk(s); - s.tmp_0.arg0 = s.sources___56639; - s.tmp_0.arg1 = inline__P56645; + s.tmp_0 = helpers_arrayForEach__P100972_mk(s); + s.tmp_0.arg0 = s.sources___111525; + s.tmp_0.arg1 = inline__P111531; s.callLocIdx = 1160; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P50193_mk(s); + s.tmp_0 = particles_pruneParticles__P105079_mk(s); s.callLocIdx = 1161; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -13561,22 +13561,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P48688.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P103574.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__P48688_mk(s) { +function particles_disableAll__P103574_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P48688, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P103574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___56639: undefined, + sources___111525: undefined, } } -function inline__P56645(s) { +function inline__P111531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13590,7 +13590,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P48670_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P103556_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1159; s.pc = 1; return s.tmp_0; @@ -13600,12 +13600,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56645.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P111531.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__P56645_mk(s) { +function inline__P111531_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56645, depth: s.depth + 1, + parent: s, fn: inline__P111531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13615,7 +13615,7 @@ function inline__P56645_mk(s) { -function particles_clearAll__P48687(s) { +function particles_clearAll__P103573(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13625,21 +13625,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___56650 = undefined; - s.tmp_0 = particles_particleSources__P50197_mk(s); + s.sources___111536 = undefined; + s.tmp_0 = particles_particleSources__P105083_mk(s); s.callLocIdx = 1154; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___56650 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___56650); + s.sources___111536 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___111536); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P46086_mk(s); - s.tmp_0.arg0 = s.sources___56650; - s.tmp_0.arg1 = inline__P56656; + s.tmp_0 = helpers_arrayForEach__P100972_mk(s); + s.tmp_0.arg0 = s.sources___111536; + s.tmp_0.arg1 = inline__P111542; s.callLocIdx = 1156; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P50193_mk(s); + s.tmp_0 = particles_pruneParticles__P105079_mk(s); s.callLocIdx = 1157; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -13649,22 +13649,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P48687.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P103573.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__P48687_mk(s) { +function particles_clearAll__P103573_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P48687, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P103573, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___56650: undefined, + sources___111536: undefined, } } -function inline__P56656(s) { +function inline__P111542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13678,7 +13678,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P48672_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P103558_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1155; s.pc = 1; return s.tmp_0; case 1: @@ -13687,12 +13687,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56656.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P111542.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__P56656_mk(s) { +function inline__P111542_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56656, depth: s.depth + 1, + parent: s, fn: inline__P111542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13702,7 +13702,7 @@ function inline__P56656_mk(s) { -function game_SplashDialog_setSubtext__P48493(s) { +function game_SplashDialog_setSubtext__P103379(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13718,9 +13718,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C48484_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C103370_VT)) failedCast(r0); r0 = (s.arg0).fields["subtext"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P49817_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P104703_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 882; s.pc = 1; return s.tmp_0; case 1: @@ -13744,7 +13744,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -13759,12 +13759,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setSubtext__P48493.info = {"start":8997,"length":200,"line":284,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} +game_SplashDialog_setSubtext__P103379.info = {"start":8997,"length":200,"line":284,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} -function game_SplashDialog_setSubtext__P48493_mk(s) { +function game_SplashDialog_setSubtext__P103379_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setSubtext__P48493, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setSubtext__P103379, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13784,7 +13784,7 @@ function game_SplashDialog_setSubtext__P48493_mk(s) { -function game_SplashDialog_updateFont__P49817(s) { +function game_SplashDialog_updateFont__P104703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13799,7 +13799,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C48484_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C103370_VT)) failedCast(r0); r0 = s.arg0.fields["text"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -13822,9 +13822,9 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = game_BaseDialog_setFont__P49814_mk(s); + s.tmp_4 = game_BaseDialog_setFont__P104700_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_5 = image_getFontForText__P47726_mk(s); + s.tmp_5 = image_getFontForText__P102612_mk(s); if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 7); pxsim_String__stringConv(s.tmp_1); @@ -13856,12 +13856,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_updateFont__P49817.info = {"start":8606,"length":122,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} +game_SplashDialog_updateFont__P104703.info = {"start":8606,"length":122,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} -function game_SplashDialog_updateFont__P49817_mk(s) { +function game_SplashDialog_updateFont__P104703_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_updateFont__P49817, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_updateFont__P104703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13878,7 +13878,7 @@ function game_SplashDialog_updateFont__P49817_mk(s) { -function game_BaseDialog_setFont__P49814(s) { +function game_BaseDialog_setFont__P104700(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13894,18 +13894,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); r0 = (s.arg0).fields["font"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setFont__P49814.info = {"start":5310,"length":77,"line":176,"column":8,"endLine":178,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} +game_BaseDialog_setFont__P104700.info = {"start":5310,"length":77,"line":176,"column":8,"endLine":178,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} -function game_BaseDialog_setFont__P49814_mk(s) { +function game_BaseDialog_setFont__P104700_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setFont__P49814, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setFont__P104700, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13915,7 +13915,7 @@ function game_BaseDialog_setFont__P49814_mk(s) { -function game_SplashDialog_setText__P48492(s) { +function game_SplashDialog_setText__P103378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13931,9 +13931,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C48484_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C103370_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P49817_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P104703_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 880; s.pc = 1; return s.tmp_0; case 1: @@ -13958,7 +13958,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -13974,12 +13974,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setText__P48492.info = {"start":8738,"length":249,"line":276,"column":8,"endLine":282,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} +game_SplashDialog_setText__P103378.info = {"start":8738,"length":249,"line":276,"column":8,"endLine":282,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} -function game_SplashDialog_setText__P48492_mk(s) { +function game_SplashDialog_setText__P103378_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setText__P48492, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setText__P103378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13999,7 +13999,7 @@ function game_SplashDialog_setText__P48492_mk(s) { -function game_SplashDialog_constructor__P48491(s) { +function game_SplashDialog_constructor__P103377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14016,12 +14016,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C48484_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_constructor__P48468_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C103370_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_constructor__P103354_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__P49820_mk(s); + s.tmp_1 = game_defaultSplashFrame__P104706_mk(s); s.callLocIdx = 876; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -14038,12 +14038,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_constructor__P48491.info = {"start":8386,"length":210,"line":265,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} +game_SplashDialog_constructor__P103377.info = {"start":8386,"length":210,"line":265,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} -function game_SplashDialog_constructor__P48491_mk(s) { +function game_SplashDialog_constructor__P103377_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_constructor__P48491, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_constructor__P103377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14056,7 +14056,7 @@ function game_SplashDialog_constructor__P48491_mk(s) { -function game_defaultSplashFrame__P49820(s) { +function game_defaultSplashFrame__P104706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14066,14 +14066,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___47781); + r0 = pxsim_ImageMethods.isMono(globals.screen___102667); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex56423); + r0 = pxsim.image.ofBuffer(_hex111309); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex56425); + r0 = pxsim.image.ofBuffer(_hex111311); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -14081,24 +14081,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultSplashFrame__P49820.info = {"start":16870,"length":220,"line":528,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} +game_defaultSplashFrame__P104706.info = {"start":16870,"length":220,"line":528,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} -function game_defaultSplashFrame__P49820_mk(s) { +function game_defaultSplashFrame__P104706_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultSplashFrame__P49820, depth: s.depth + 1, + parent: s, fn: game_defaultSplashFrame__P104706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex56423 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") -const _hex56425 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") +const _hex111309 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") +const _hex111311 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") -function game_BaseDialog_constructor__P48468(s) { +function game_BaseDialog_constructor__P103354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14118,7 +14118,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.image.create(s.arg1, s.arg2); s.tmp_1 = r0; @@ -14129,7 +14129,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.dialogFrame___49803; + r0 = globals.dialogFrame___104689; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -14138,12 +14138,12 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - s.tmp_3 = game_defaultFrame__P49819_mk(s); + s.tmp_3 = game_defaultFrame__P104705_mk(s); s.callLocIdx = 848; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; - globals.dialogFrame___49803 = (r0); + globals.dialogFrame___104689 = (r0); r0 = s.tmp_2; case 4: // jmp value (already in r0) @@ -14155,7 +14155,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = globals.font8___47724; + r0 = globals.font8___102610; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -14166,7 +14166,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = globals.dialogCursor___49804; + r0 = globals.dialogCursor___104690; case 8: // jmp value (already in r0) s.tmp_1 = r0; @@ -14175,26 +14175,26 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 9: - s.tmp_3 = game_defaultCursorImage__P49821_mk(s); + s.tmp_3 = game_defaultCursorImage__P104707_mk(s); s.callLocIdx = 849; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; s.tmp_2 = r0; - globals.dialogCursor___49804 = (r0); + globals.dialogCursor___104690 = (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___49805 == undefined); + r0 = (globals.dialogTextColor___104691 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - globals.dialogTextColor___49805 = (15); + globals.dialogTextColor___104691 = (15); r0 = 15; { step = 12; continue; } case 11: - r0 = globals.dialogTextColor___49805; + r0 = globals.dialogTextColor___104691; case 12: // jmp value (already in r0) s.tmp_1 = r0; @@ -14252,12 +14252,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__P49806_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P104692_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 850; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_clearInterior__P49808_mk(s); + s.tmp_0 = game_BaseDialog_clearInterior__P104694_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 851; s.pc = 16; return s.tmp_0; case 16: @@ -14266,12 +14266,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_constructor__P48468.info = {"start":634,"length":895,"line":36,"column":8,"endLine":58,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_constructor__P103354.info = {"start":634,"length":895,"line":36,"column":8,"endLine":58,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -function game_BaseDialog_constructor__P48468_mk(s) { +function game_BaseDialog_constructor__P103354_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_constructor__P48468, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_constructor__P103354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14292,7 +14292,7 @@ function game_BaseDialog_constructor__P48468_mk(s) { -function game_defaultCursorImage__P49821(s) { +function game_defaultCursorImage__P104707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14302,14 +14302,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___47781); + r0 = pxsim_ImageMethods.isMono(globals.screen___102667); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex56609); + r0 = pxsim.image.ofBuffer(_hex111495); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex56611); + r0 = pxsim.image.ofBuffer(_hex111497); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -14317,24 +14317,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultCursorImage__P49821.info = {"start":17096,"length":690,"line":543,"column":4,"endLine":569,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} +game_defaultCursorImage__P104707.info = {"start":17096,"length":690,"line":543,"column":4,"endLine":569,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} -function game_defaultCursorImage__P49821_mk(s) { +function game_defaultCursorImage__P104707_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultCursorImage__P49821, depth: s.depth + 1, + parent: s, fn: game_defaultCursorImage__P104707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex56609 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") -const _hex56611 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") +const _hex111495 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") +const _hex111497 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") -function game_defaultFrame__P49819(s) { +function game_defaultFrame__P104705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14344,14 +14344,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___47781); + r0 = pxsim_ImageMethods.isMono(globals.screen___102667); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex56615); + r0 = pxsim.image.ofBuffer(_hex111501); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex56617); + r0 = pxsim.image.ofBuffer(_hex111503); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -14359,24 +14359,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultFrame__P49819.info = {"start":16308,"length":556,"line":504,"column":4,"endLine":526,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} +game_defaultFrame__P104705.info = {"start":16308,"length":556,"line":504,"column":4,"endLine":526,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} -function game_defaultFrame__P49819_mk(s) { +function game_defaultFrame__P104705_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultFrame__P49819, depth: s.depth + 1, + parent: s, fn: game_defaultFrame__P104705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex56615 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") -const _hex56617 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") +const _hex111501 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") +const _hex111503 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") -function game_BaseDialog_clearInterior__P49808(s) { +function game_BaseDialog_clearInterior__P104694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14386,21 +14386,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___52975 = undefined; - s.s___52982 = undefined; + s.d___107861 = undefined; + s.s___107868 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_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__P49807_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P104693_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 4; s.tmp_2.arg2 = 1; @@ -14419,9 +14419,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.d___52975 = (1); + s.d___107861 = (1); case 3: - s.tmp_1 = r0 = s.d___52975; + s.tmp_1 = r0 = s.d___107861; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -14430,9 +14430,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.s___52982 = (1); + s.s___107868 = (1); case 4: - s.tmp_1 = r0 = s.s___52982; + s.tmp_1 = r0 = s.s___107868; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -14441,20 +14441,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__P49809_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P104695_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 4; - s.tmp_4.arg2 = s.d___52975; - s.tmp_4.arg3 = s.s___52982; + s.tmp_4.arg2 = s.d___107861; + s.tmp_4.arg3 = s.s___107868; s.callLocIdx = 875; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; - r0 = (s.s___52982 + 1); - s.s___52982 = (r0); + r0 = (s.s___107868 + 1); + s.s___107868 = (r0); { step = 4; continue; } case 5: - r0 = (s.d___52975 + 1); - s.d___52975 = (r0); + r0 = (s.d___107861 + 1); + s.d___107861 = (r0); { step = 3; continue; } case 6: case 7: @@ -14462,20 +14462,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_clearInterior__P49808.info = {"start":3911,"length":342,"line":132,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} +game_BaseDialog_clearInterior__P104694.info = {"start":3911,"length":342,"line":132,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} -function game_BaseDialog_clearInterior__P49808_mk(s) { +function game_BaseDialog_clearInterior__P104694_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_clearInterior__P49808, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_clearInterior__P104694, 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___52975: undefined, - s___52982: undefined, + d___107861: undefined, + s___107868: undefined, arg0: undefined, } } @@ -14483,7 +14483,7 @@ function game_BaseDialog_clearInterior__P49808_mk(s) { -function game_BaseDialog_drawPartial__P49809(s) { +function game_BaseDialog_drawPartial__P104695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14493,12 +14493,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___53000 = undefined; - s.y0___53008 = undefined; - s.xf___53016 = undefined; - s.yf___53023 = undefined; - s.e___53030 = undefined; - s.t___53036 = undefined; + s.x0___107886 = undefined; + s.y0___107894 = undefined; + s.xf___107902 = undefined; + s.yf___107909 = undefined; + s.e___107916 = undefined; + s.t___107922 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14507,7 +14507,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); r0 = s.arg0.fields["innerLeft"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -14515,7 +14515,7 @@ switch (step) { r0 = (s.arg2 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.x0___53000 = (r0); + s.x0___107886 = (r0); r0 = s.arg0.fields["innerTop"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -14523,68 +14523,68 @@ switch (step) { r0 = (s.arg3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y0___53008 = (r0); + s.y0___107894 = (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___53016 = (r0); + s.xf___107902 = (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___53023 = (r0); - s.e___53030 = (0); + s.yf___107909 = (r0); + s.e___107916 = (0); case 1: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.e___53030 < s.tmp_1); + r0 = (s.e___107916 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.t___53036 = (0); + s.t___107922 = (0); case 2: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.t___53036 < s.tmp_1); + r0 = (s.t___107922 < 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___53000 + s.e___53030); + r0 = (s.x0___107886 + s.e___107916); s.tmp_3 = r0; - r0 = (s.y0___53008 + s.t___53036); + r0 = (s.y0___107894 + s.t___107922); s.tmp_4 = r0; r0 = s.arg0.fields["frame"]; s.tmp_6 = r0; - r0 = (s.xf___53016 + s.e___53030); + r0 = (s.xf___107902 + s.e___107916); s.tmp_7 = r0; - r0 = (s.yf___53023 + s.t___53036); + r0 = (s.yf___107909 + s.t___107922); 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___53036 + 1); - s.t___53036 = (r0); + r0 = (s.t___107922 + 1); + s.t___107922 = (r0); { step = 2; continue; } case 3: - r0 = (s.e___53030 + 1); - s.e___53030 = (r0); + r0 = (s.e___107916 + 1); + s.e___107916 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawPartial__P49809.info = {"start":4263,"length":604,"line":143,"column":8,"endLine":158,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} +game_BaseDialog_drawPartial__P104695.info = {"start":4263,"length":604,"line":143,"column":8,"endLine":158,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} -function game_BaseDialog_drawPartial__P49809_mk(s) { +function game_BaseDialog_drawPartial__P104695_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawPartial__P49809, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawPartial__P104695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14595,12 +14595,12 @@ function game_BaseDialog_drawPartial__P49809_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - x0___53000: undefined, - y0___53008: undefined, - xf___53016: undefined, - yf___53023: undefined, - e___53030: undefined, - t___53036: undefined, + x0___107886: undefined, + y0___107894: undefined, + xf___107902: undefined, + yf___107909: undefined, + e___107916: undefined, + t___107922: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -14611,7 +14611,7 @@ function game_BaseDialog_drawPartial__P49809_mk(s) { -function game_BaseDialog_fastFill__P49807(s) { +function game_BaseDialog_fastFill__P104693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14621,7 +14621,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.color___53072 = undefined; + s.color___107958 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14632,7 +14632,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); r0 = s.arg0.fields["frame"]; s.tmp_0 = r0; r0 = (s.arg1 % 3); @@ -14640,8 +14640,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___53072 = (r0); - s.tmp_0 = helpers_imageFillRect__P47707_mk(s); + s.color___107958 = (r0); + s.tmp_0 = helpers_imageFillRect__P102593_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["innerLeft"]; @@ -14654,7 +14654,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___53072; + s.tmp_0.arg5 = s.color___107958; s.callLocIdx = 873; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -14662,17 +14662,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_fastFill__P49807.info = {"start":3652,"length":249,"line":127,"column":8,"endLine":130,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} +game_BaseDialog_fastFill__P104693.info = {"start":3652,"length":249,"line":127,"column":8,"endLine":130,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} -function game_BaseDialog_fastFill__P49807_mk(s) { +function game_BaseDialog_fastFill__P104693_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_fastFill__P49807, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_fastFill__P104693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - color___53072: undefined, + color___107958: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -14685,7 +14685,7 @@ function game_BaseDialog_fastFill__P49807_mk(s) { -function game_BaseDialog_drawBorder__P49806(s) { +function game_BaseDialog_drawBorder__P104692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14695,22 +14695,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.y___56540 = undefined; - s.c___56556 = undefined; - s.r___56590 = undefined; + s.y___111426 = undefined; + s.c___111442 = undefined; + s.r___111476 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_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__P49807_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P104693_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; @@ -14720,7 +14720,7 @@ switch (step) { s.callLocIdx = 857; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P49807_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P104693_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; @@ -14733,7 +14733,7 @@ switch (step) { s.callLocIdx = 858; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P49807_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P104693_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; r0 = s.arg0.fields["columns"]; @@ -14746,7 +14746,7 @@ switch (step) { s.callLocIdx = 859; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P49807_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P104693_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 0; @@ -14759,7 +14759,7 @@ switch (step) { s.callLocIdx = 860; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P49807_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P104693_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; @@ -14778,22 +14778,22 @@ switch (step) { r0 = s.arg0.fields["rows"]; s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.y___56540 = (r0); - s.tmp_0 = game_BaseDialog_fastFill__P49807_mk(s); + s.y___111426 = (r0); + s.tmp_0 = game_BaseDialog_fastFill__P104693_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.y___56540; + s.tmp_0.arg3 = s.y___111426; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; s.callLocIdx = 862; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P49807_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P104693_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = s.y___56540; + s.tmp_0.arg3 = s.y___111426; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 2); @@ -14802,14 +14802,14 @@ switch (step) { s.callLocIdx = 863; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P49807_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P104693_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___56540; + s.tmp_0.arg3 = s.y___111426; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; s.callLocIdx = 864; s.pc = 19; return s.tmp_0; @@ -14818,19 +14818,19 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.c___56556 = (0); + s.c___111442 = (0); case 3: r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; - r0 = (s.c___56556 < s.tmp_1); + r0 = (s.c___111442 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.c___56556 == 0); + r0 = (s.c___111442 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = game_BaseDialog_drawPartial__P49809_mk(s); + s.tmp_3 = game_BaseDialog_drawPartial__P104695_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; @@ -14838,7 +14838,7 @@ switch (step) { s.callLocIdx = 865; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P49809_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P104695_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; @@ -14851,7 +14851,7 @@ switch (step) { r0 = s.retval; { step = 7; continue; } case 4: - s.tmp_1 = r0 = s.c___56556; + s.tmp_1 = r0 = s.c___111442; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -14860,18 +14860,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__P49809_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P104695_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; - s.tmp_4.arg2 = s.c___56556; + s.tmp_4.arg2 = s.c___111442; s.tmp_4.arg3 = 0; s.callLocIdx = 867; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P49809_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P104695_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; - s.tmp_0.arg2 = s.c___56556; + s.tmp_0.arg2 = s.c___111442; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); @@ -14881,18 +14881,18 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = game_BaseDialog_drawPartial__P49809_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P104695_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.tmp_0.arg2 = s.c___56556; + s.tmp_0.arg2 = s.c___111442; s.tmp_0.arg3 = 0; s.callLocIdx = 869; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P49809_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P104695_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; - s.tmp_0.arg2 = s.c___56556; + s.tmp_0.arg2 = s.c___111442; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); @@ -14902,13 +14902,13 @@ switch (step) { r0 = s.retval; case 6: case 7: - r0 = (s.c___56556 + 1); - s.c___56556 = (r0); + r0 = (s.c___111442 + 1); + s.c___111442 = (r0); { step = 3; continue; } case 8: - s.r___56590 = (1); + s.r___111476 = (1); case 9: - s.tmp_1 = r0 = s.r___56590; + s.tmp_1 = r0 = s.r___111476; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -14917,27 +14917,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__P49809_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P104695_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 3; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.r___56590; + s.tmp_4.arg3 = s.r___111476; s.callLocIdx = 871; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P49809_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P104695_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___56590; + s.tmp_0.arg3 = s.r___111476; s.callLocIdx = 872; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - r0 = (s.r___56590 + 1); - s.r___56590 = (r0); + r0 = (s.r___111476 + 1); + s.r___111476 = (r0); { step = 9; continue; } case 10: case 11: @@ -14945,21 +14945,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawBorder__P49806.info = {"start":2321,"length":1321,"line":89,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} +game_BaseDialog_drawBorder__P104692.info = {"start":2321,"length":1321,"line":89,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} -function game_BaseDialog_drawBorder__P49806_mk(s) { +function game_BaseDialog_drawBorder__P104692_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawBorder__P49806, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawBorder__P104692, 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___56540: undefined, - c___56556: undefined, - r___56590: undefined, + y___111426: undefined, + c___111442: undefined, + r___111476: undefined, arg0: undefined, } } @@ -14967,7 +14967,7 @@ function game_BaseDialog_drawBorder__P49806_mk(s) { -function game_BaseDialog_update__P48469(s) { +function game_BaseDialog_update__P103355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14982,20 +14982,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P49808_mk(s); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P104694_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 852; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_BaseDialog__C48456_v2_1_mk(s); + s.tmp_0 = game_BaseDialog__C103342_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C48456_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C103342_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__P48472_mk(s); + s.tmp_0 = game_BaseDialog_drawCursorRow__P103358_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 853; s.pc = 3; return s.tmp_0; case 3: @@ -15004,12 +15004,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_update__P48469.info = {"start":1539,"length":121,"line":60,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_BaseDialog_update__P103355.info = {"start":1539,"length":121,"line":60,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_BaseDialog_update__P48469_mk(s) { +function game_BaseDialog_update__P103355_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_update__P48469, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_update__P103355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15019,7 +15019,7 @@ function game_BaseDialog_update__P48469_mk(s) { -function game_BaseDialog_drawCursorRow__P48472(s) { +function game_BaseDialog_drawCursorRow__P103358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15029,21 +15029,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.offset___52886 = undefined; + s.offset___107772 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); - s.offset___52886 = (0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); + s.offset___107772 = (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___52886 = (1); + s.offset___107772 = (1); case 1: case 2: s.tmp_0 = r0 = s.arg0; @@ -15060,7 +15060,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_6 = r0; - s.tmp_8 = game_BaseDialog_textAreaWidth__P49812_mk(s); + s.tmp_8 = game_BaseDialog_textAreaWidth__P104698_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 854; s.pc = 3; return s.tmp_8; case 3: @@ -15072,7 +15072,7 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_5 + s.tmp_9); s.tmp_4 = r0; - r0 = (s.tmp_4 + s.offset___52886); + r0 = (s.tmp_4 + s.offset___107772); s.tmp_3 = r0; r0 = s.arg0.fields["cursor"]; s.tmp_11 = r0; @@ -15086,7 +15086,7 @@ switch (step) { s.tmp_17 = r0; r0 = (s.tmp_16 + s.tmp_17); s.tmp_15 = r0; - s.tmp_19 = game_BaseDialog_textAreaHeight__P49813_mk(s); + s.tmp_19 = game_BaseDialog_textAreaHeight__P104699_mk(s); s.tmp_19.arg0 = s.arg0; s.callLocIdx = 855; s.pc = 4; return s.tmp_19; case 4: @@ -15109,12 +15109,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawCursorRow__P48472.info = {"start":1832,"length":479,"line":74,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} +game_BaseDialog_drawCursorRow__P103358.info = {"start":1832,"length":479,"line":74,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} -function game_BaseDialog_drawCursorRow__P48472_mk(s) { +function game_BaseDialog_drawCursorRow__P103358_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawCursorRow__P48472, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawCursorRow__P103358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15139,7 +15139,7 @@ function game_BaseDialog_drawCursorRow__P48472_mk(s) { tmp_20: undefined, tmp_21: undefined, tmp_22: undefined, - offset___52886: undefined, + offset___107772: undefined, arg0: undefined, } } @@ -15147,7 +15147,7 @@ function game_BaseDialog_drawCursorRow__P48472_mk(s) { -function game_BaseDialog_textAreaHeight__P49813(s) { +function game_BaseDialog_textAreaHeight__P104699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15162,7 +15162,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); @@ -15181,12 +15181,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaHeight__P49813.info = {"start":5183,"length":117,"line":172,"column":8,"endLine":174,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} +game_BaseDialog_textAreaHeight__P104699.info = {"start":5183,"length":117,"line":172,"column":8,"endLine":174,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} -function game_BaseDialog_textAreaHeight__P49813_mk(s) { +function game_BaseDialog_textAreaHeight__P104699_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaHeight__P49813, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaHeight__P104699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15202,7 +15202,7 @@ function game_BaseDialog_textAreaHeight__P49813_mk(s) { -function game_BaseDialog_textAreaWidth__P49812(s) { +function game_BaseDialog_textAreaWidth__P104698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15217,7 +15217,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.width(s.tmp_2); @@ -15236,12 +15236,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaWidth__P49812.info = {"start":5057,"length":116,"line":168,"column":8,"endLine":170,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} +game_BaseDialog_textAreaWidth__P104698.info = {"start":5057,"length":116,"line":168,"column":8,"endLine":170,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} -function game_BaseDialog_textAreaWidth__P49812_mk(s) { +function game_BaseDialog_textAreaWidth__P104698_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaWidth__P49812, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaWidth__P104698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15257,7 +15257,7 @@ function game_BaseDialog_textAreaWidth__P49812_mk(s) { -function game_BaseDialog_cursorRowHeight__P49810(s) { +function game_BaseDialog_cursorRowHeight__P104696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15272,7 +15272,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); r0 = s.arg0.fields["cursor"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.height(s.tmp_1); @@ -15281,12 +15281,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_cursorRowHeight__P49810.info = {"start":4877,"length":82,"line":160,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} +game_BaseDialog_cursorRowHeight__P104696.info = {"start":4877,"length":82,"line":160,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} -function game_BaseDialog_cursorRowHeight__P49810_mk(s) { +function game_BaseDialog_cursorRowHeight__P104696_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_cursorRowHeight__P49810, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_cursorRowHeight__P104696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15297,7 +15297,7 @@ function game_BaseDialog_cursorRowHeight__P49810_mk(s) { -function game_BaseDialog_drawTextCore__P48471(s) { +function game_BaseDialog_drawTextCore__P103357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15312,17 +15312,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawTextCore__P48471.info = {"start":1757,"length":65,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_BaseDialog_drawTextCore__P103357.info = {"start":1757,"length":65,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_BaseDialog_drawTextCore__P48471_mk(s) { +function game_BaseDialog_drawTextCore__P103357_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawTextCore__P48471, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawTextCore__P103357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15331,7 +15331,7 @@ function game_BaseDialog_drawTextCore__P48471_mk(s) { -function scene_setBackgroundImage__P48438(s) { +function scene_setBackgroundImage__P103324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15341,18 +15341,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___52848 = undefined; + s.scene___107734 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P48511_mk(s); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 846; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___52848 = (r0); - s.tmp_0 = scene_Background_image__P48251_mk(s); - r0 = s.scene___52848.fields["background"]; + s.scene___107734 = (r0); + s.tmp_0 = scene_Background_image__P103137_mk(s); + r0 = s.scene___107734.fields["background"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 847; s.pc = 2; return s.tmp_0; @@ -15362,15 +15362,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_setBackgroundImage__P48438.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__P103324.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__P48438_mk(s) { +function scene_setBackgroundImage__P103324_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundImage__P48438, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundImage__P103324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___52848: undefined, + scene___107734: undefined, arg0: undefined, } } @@ -15378,7 +15378,7 @@ function scene_setBackgroundImage__P48438_mk(s) { -function scene_Background_image__P48251(s) { +function scene_Background_image__P103137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15394,18 +15394,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C48244_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C103130_VT)) failedCast(r0); r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_image__P48251.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__P103137.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__P48251_mk(s) { +function scene_Background_image__P103137_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P48251, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P103137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15415,7 +15415,7 @@ function scene_Background_image__P48251_mk(s) { -function scene_Background_image__P48250(s) { +function scene_Background_image__P103136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15430,7 +15430,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C48244_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C103130_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -15440,9 +15440,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___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_6 = r0; r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; @@ -15453,13 +15453,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Background_image__P48250.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__P48250.isGetter = true; +scene_Background_image__P103136.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__P103136.isGetter = true; -function scene_Background_image__P48250_mk(s) { +function scene_Background_image__P103136_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P48250, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P103136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15475,7 +15475,7 @@ function scene_Background_image__P48250_mk(s) { -function sprites_create__P47953(s) { +function sprites_create__P102839(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15485,51 +15485,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___55863 = undefined; - s.sprite___55866 = undefined; + s.scene___110749 = undefined; + s.sprite___110752 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P48511_mk(s); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 249; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___55863 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C47995_VT); + s.scene___110749 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C102881_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P48032_mk(s); + s.tmp_1 = Sprite_constructor__P102918_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 250; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___55866 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P48050_mk(s); - s.tmp_0.arg0 = s.sprite___55866; + s.sprite___110752 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P102936_mk(s); + s.tmp_0.arg0 = s.sprite___110752; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 251; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C48138_v0_2_mk(s); - r0 = s.scene___55863.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C103024_v0_2_mk(s); + r0 = s.scene___110749.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___55866; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C48138_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___110752; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C103024_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__P55881); + r0 = pxsim_pxtcore_mkAction(1, inline__P110767); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P55888); + r0 = pxsim_pxtcore_mkAction(1, inline__P110774); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___55866); - s.tmp_2 = helpers_arrayForEach__P46086_mk(s); - s.tmp_3 = helpers_arrayFilter__P46087_mk(s); - r0 = s.scene___55863.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___110752); + s.tmp_2 = helpers_arrayForEach__P100972_mk(s); + s.tmp_3 = helpers_arrayFilter__P100973_mk(s); + r0 = s.scene___110749.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 252; s.pc = 6; return s.tmp_3; @@ -15540,23 +15540,23 @@ switch (step) { s.callLocIdx = 254; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___55866; + r0 = s.sprite___110752; return leave(s, r0) default: oops() } } } -sprites_create__P47953.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__P102839.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__P47953_mk(s) { +function sprites_create__P102839_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P47953, depth: s.depth + 1, + parent: s, fn: sprites_create__P102839, 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___55863: undefined, - sprite___55866: undefined, + scene___110749: undefined, + sprite___110752: undefined, arg0: undefined, arg1: undefined, } } @@ -15565,7 +15565,7 @@ function sprites_create__P47953_mk(s) { -function inline__P55881(s) { +function inline__P110767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15585,12 +15585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P55881.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P110767.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__P55881_mk(s) { +function inline__P110767_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P55881, depth: s.depth + 1, + parent: s, fn: inline__P110767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15600,7 +15600,7 @@ function inline__P55881_mk(s) { -function inline__P55888(s) { +function inline__P110774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15632,12 +15632,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P55888.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P110774.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__P55888_mk(s) { +function inline__P110774_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P55888, depth: s.depth + 1, + parent: s, fn: inline__P110774, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15647,7 +15647,7 @@ function inline__P55888_mk(s) { -function PhysicsEngine_addSprite__P48140(s) { +function PhysicsEngine_addSprite__P103026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15663,17 +15663,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C48138_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C103024_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P48140.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__P103026.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__P48140_mk(s) { +function PhysicsEngine_addSprite__P103026_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P48140, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P103026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15683,7 +15683,7 @@ function PhysicsEngine_addSprite__P48140_mk(s) { -function Sprite_setKind__P48050(s) { +function Sprite_setKind__P102936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15693,15 +15693,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___55907 = undefined; - s.overlapMap___55936 = undefined; + s.spritesByKind___110793 = undefined; + s.overlapMap___110822 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -15720,12 +15720,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P48511_mk(s); + s.tmp_3 = game_currentScene__P103397_mk(s); s.callLocIdx = 318; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___55907 = (r0); + s.spritesByKind___110793 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -15737,16 +15737,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___55907, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___110793, 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__P48097_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P102983_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___55907, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___110793, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 319; s.pc = 17; return s.tmp_4; @@ -15758,7 +15758,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___55907, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___110793, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -15766,18 +15766,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__C48090_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C102976_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P48092_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P102978_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 320; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___55907, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___110793, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P48095_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___55907, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P102981_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___110793, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 321; s.pc = 19; return s.tmp_0; @@ -15785,13 +15785,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P48511_mk(s); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 322; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___55936 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___55936, s.arg1); + s.overlapMap___110822 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___110822, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -15799,7 +15799,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___55936; + s.tmp_3 = r0 = s.overlapMap___110822; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -15807,7 +15807,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___55936, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___110822, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -15816,12 +15816,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P48050.info = {"start":10872,"length":663,"line":398,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P102936.info = {"start":10872,"length":663,"line":398,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P48050_mk(s) { +function Sprite_setKind__P102936_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P48050, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P102936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15829,8 +15829,8 @@ function Sprite_setKind__P48050_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___55907: undefined, - overlapMap___55936: undefined, + spritesByKind___110793: undefined, + overlapMap___110822: undefined, arg0: undefined, arg1: undefined, } } @@ -15839,7 +15839,7 @@ function Sprite_setKind__P48050_mk(s) { -function sprites_SpriteSet_remove__P48097(s) { +function sprites_SpriteSet_remove__P102983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15849,26 +15849,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___55984 = undefined; + s.i___110870 = 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__C48090_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C102976_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___55984 = (r0); - r0 = (s.i___55984 > -1); + s.i___110870 = (r0); + r0 = (s.i___110870 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P46077_mk(s); + s.tmp_1 = helpers_arraySplice__P100963_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___55984; + s.tmp_1.arg1 = s.i___110870; s.tmp_1.arg2 = 1; s.callLocIdx = 463; s.pc = 4; return s.tmp_1; case 4: @@ -15882,16 +15882,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P48097.info = {"start":1816,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} +sprites_SpriteSet_remove__P102983.info = {"start":1816,"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__P48097_mk(s) { +function sprites_SpriteSet_remove__P102983_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P48097, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P102983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___55984: undefined, + i___110870: undefined, arg0: undefined, arg1: undefined, } } @@ -15900,7 +15900,7 @@ function sprites_SpriteSet_remove__P48097_mk(s) { -function helpers_arraySplice__P46077(s) { +function helpers_arraySplice__P100963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15910,7 +15910,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___52401 = undefined; + s.i___107287 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15924,15 +15924,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___52401 = (0); + s.i___107287 = (0); case 3: - r0 = (s.i___52401 < s.arg2); + r0 = (s.i___107287 < 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___52401 + 1); - s.i___52401 = (r0); + r0 = (s.i___107287 + 1); + s.i___107287 = (r0); { step = 3; continue; } case 4: case 5: @@ -15940,15 +15940,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P46077.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__P100963.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__P46077_mk(s) { +function helpers_arraySplice__P100963_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P46077, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P100963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___52401: undefined, + i___107287: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15958,7 +15958,7 @@ function helpers_arraySplice__P46077_mk(s) { -function sprites_SpriteSet_add__P48095(s) { +function sprites_SpriteSet_add__P102981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15974,7 +15974,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C48090_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C102976_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -16005,12 +16005,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P48095.info = {"start":1027,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} +sprites_SpriteSet_add__P102981.info = {"start":1027,"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__P48095_mk(s) { +function sprites_SpriteSet_add__P102981_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P48095, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P102981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16026,7 +16026,7 @@ function sprites_SpriteSet_add__P48095_mk(s) { -function sprites_SpriteSet_contains__P48098(s) { +function sprites_SpriteSet_contains__P102984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16042,7 +16042,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C48090_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C102976_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -16051,12 +16051,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P48098.info = {"start":2162,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} +sprites_SpriteSet_contains__P102984.info = {"start":2162,"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__P48098_mk(s) { +function sprites_SpriteSet_contains__P102984_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P48098, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P102984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16068,7 +16068,7 @@ function sprites_SpriteSet_contains__P48098_mk(s) { -function sprites_SpriteSet_constructor__P48092(s) { +function sprites_SpriteSet_constructor__P102978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16083,7 +16083,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C48090_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C102976_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -16092,12 +16092,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P48092.info = {"start":488,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} +sprites_SpriteSet_constructor__P102978.info = {"start":488,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} -function sprites_SpriteSet_constructor__P48092_mk(s) { +function sprites_SpriteSet_constructor__P102978_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P48092, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P102978, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16108,7 +16108,7 @@ function sprites_SpriteSet_constructor__P48092_mk(s) { -function Sprite_constructor__P48032(s) { +function Sprite_constructor__P102918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16124,15 +16124,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P47839_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P102725_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 273; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -16146,7 +16146,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___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -16165,50 +16165,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__P48009_mk(s); + s.tmp_0 = Sprite_vx__P102895_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 276; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P48011_mk(s); + s.tmp_0 = Sprite_vy__P102897_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 277; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P48013_mk(s); + s.tmp_0 = Sprite_ax__P102899_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 278; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P48015_mk(s); + s.tmp_0 = Sprite_ay__P102901_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 279; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P48017_mk(s); + s.tmp_0 = Sprite_fx__P102903_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 280; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P48019_mk(s); + s.tmp_0 = Sprite_fy__P102905_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 281; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P48035_mk(s); + s.tmp_0 = Sprite_setImage__P102921_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 282; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P48050_mk(s); + s.tmp_0 = Sprite_setKind__P102936_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 283; s.pc = 9; return s.tmp_0; @@ -16228,12 +16228,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P48032.info = {"start":5178,"length":618,"line":202,"column":4,"endLine":222,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P102918.info = {"start":5178,"length":618,"line":202,"column":4,"endLine":222,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P48032_mk(s) { +function Sprite_constructor__P102918_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P48032, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P102918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16250,7 +16250,7 @@ function Sprite_constructor__P48032_mk(s) { -function Sprite_setImage__P48035(s) { +function Sprite_setImage__P102921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16266,7 +16266,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -16277,7 +16277,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite_setHitbox__P48036_mk(s); + s.tmp_0 = Sprite_setHitbox__P102922_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 284; s.pc = 4; return s.tmp_0; case 4: @@ -16287,12 +16287,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P48035.info = {"start":6825,"length":133,"line":252,"column":4,"endLine":256,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P102921.info = {"start":6825,"length":133,"line":252,"column":4,"endLine":256,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P48035_mk(s) { +function Sprite_setImage__P102921_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P48035, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P102921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16304,7 +16304,7 @@ function Sprite_setImage__P48035_mk(s) { -function Sprite_setHitbox__P48036(s) { +function Sprite_setHitbox__P102922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16314,29 +16314,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___56063 = undefined; - s.oMinX___56071 = undefined; - s.oMinY___56075 = undefined; - s.oMaxX___56079 = undefined; - s.oMaxY___56086 = undefined; - s.nMinX___56093 = undefined; - s.nMinY___56096 = undefined; - s.nMaxX___56099 = undefined; - s.nMaxY___56105 = undefined; - s.xDiff___56111 = undefined; - s.yDiff___56122 = undefined; + s.newHitBox___110949 = undefined; + s.oMinX___110957 = undefined; + s.oMinY___110961 = undefined; + s.oMaxX___110965 = undefined; + s.oMaxY___110972 = undefined; + s.nMinX___110979 = undefined; + s.nMinY___110982 = undefined; + s.nMaxX___110985 = undefined; + s.nMaxY___110991 = undefined; + s.xDiff___110997 = undefined; + s.yDiff___111008 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_0 = game_calculateHitBox__P47949_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_0 = game_calculateHitBox__P102835_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 285; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.newHitBox___56063 = (r0); + s.newHitBox___110949 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -16345,95 +16345,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___56063); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___110949); { step = 7; continue; } case 1: case 2: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___56071 = (r0); + s.oMinX___110957 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___56075 = (r0); + s.oMinY___110961 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___56071 + s.tmp_0); - s.oMaxX___56079 = (r0); + r0 = (s.oMinX___110957 + s.tmp_0); + s.oMaxX___110965 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___56075 + s.tmp_0); - s.oMaxY___56086 = (r0); - r0 = s.newHitBox___56063.fields["ox"]; - s.nMinX___56093 = (r0); - r0 = s.newHitBox___56063.fields["oy"]; - s.nMinY___56096 = (r0); - r0 = s.newHitBox___56063.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___56093 + s.tmp_0); - s.nMaxX___56099 = (r0); - r0 = s.newHitBox___56063.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___56096 + s.tmp_0); - s.nMaxY___56105 = (r0); - s.tmp_1 = Fx_abs__P46139_mk(s); - r0 = (s.oMinX___56071 - s.nMinX___56093); + r0 = (s.oMinY___110961 + s.tmp_0); + s.oMaxY___110972 = (r0); + r0 = s.newHitBox___110949.fields["ox"]; + s.nMinX___110979 = (r0); + r0 = s.newHitBox___110949.fields["oy"]; + s.nMinY___110982 = (r0); + r0 = s.newHitBox___110949.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___110979 + s.tmp_0); + s.nMaxX___110985 = (r0); + r0 = s.newHitBox___110949.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___110982 + s.tmp_0); + s.nMaxY___110991 = (r0); + s.tmp_1 = Fx_abs__P101025_mk(s); + r0 = (s.oMinX___110957 - s.nMinX___110979); s.tmp_1.arg0 = r0; s.callLocIdx = 291; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P46139_mk(s); - r0 = (s.oMaxX___56079 - s.nMaxX___56099); + s.tmp_3 = Fx_abs__P101025_mk(s); + r0 = (s.oMaxX___110965 - s.nMaxX___110985); s.tmp_3.arg0 = r0; s.callLocIdx = 293; 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___56111 = (r0); - s.tmp_1 = Fx_abs__P46139_mk(s); - r0 = (s.oMinY___56075 - s.nMinY___56096); + s.xDiff___110997 = (r0); + s.tmp_1 = Fx_abs__P101025_mk(s); + r0 = (s.oMinY___110961 - s.nMinY___110982); s.tmp_1.arg0 = r0; s.callLocIdx = 296; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P46139_mk(s); - r0 = (s.oMaxY___56086 - s.nMaxY___56105); + s.tmp_3 = Fx_abs__P101025_mk(s); + r0 = (s.oMaxY___110972 - s.nMaxY___110991); s.tmp_3.arg0 = r0; s.callLocIdx = 298; 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___56122 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___56063); - r0 = (s.xDiff___56111 <= 512); + s.yDiff___111008 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___110949); + r0 = (s.xDiff___110997 <= 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___56071); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___110957); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___56079 - s.oMinX___56071); + r0 = (s.oMaxX___110965 - s.oMinX___110957); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 3: case 4: - r0 = (s.yDiff___56122 <= 512); + r0 = (s.yDiff___111008 <= 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___56075); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___110961); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___56086 - s.oMinY___56075); + r0 = (s.oMaxY___110972 - s.oMinY___110961); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 5: @@ -16443,28 +16443,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P48036.info = {"start":6964,"length":1296,"line":258,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P102922.info = {"start":6964,"length":1296,"line":258,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P48036_mk(s) { +function Sprite_setHitbox__P102922_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P48036, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P102922, 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___56063: undefined, - oMinX___56071: undefined, - oMinY___56075: undefined, - oMaxX___56079: undefined, - oMaxY___56086: undefined, - nMinX___56093: undefined, - nMinY___56096: undefined, - nMaxX___56099: undefined, - nMaxY___56105: undefined, - xDiff___56111: undefined, - yDiff___56122: undefined, + newHitBox___110949: undefined, + oMinX___110957: undefined, + oMinY___110961: undefined, + oMaxX___110965: undefined, + oMaxY___110972: undefined, + nMinX___110979: undefined, + nMinY___110982: undefined, + nMaxX___110985: undefined, + nMaxY___110991: undefined, + xDiff___110997: undefined, + yDiff___111008: undefined, arg0: undefined, } } @@ -16472,7 +16472,7 @@ function Sprite_setHitbox__P48036_mk(s) { -function game_calculateHitBox__P47949(s) { +function game_calculateHitBox__P102835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16482,104 +16482,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___56177 = undefined; - s.minX___56180 = undefined; - s.minY___56183 = undefined; - s.maxX___56186 = undefined; - s.maxY___56187 = undefined; - s.c___56188 = undefined; - s.r___56194 = undefined; - s.width___56225 = undefined; - s.height___56231 = undefined; + s.i___111063 = undefined; + s.minX___111066 = undefined; + s.minY___111069 = undefined; + s.maxX___111072 = undefined; + s.maxY___111073 = undefined; + s.c___111074 = undefined; + s.r___111080 = undefined; + s.width___111111 = undefined; + s.height___111117 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - s.i___56177 = (r0); - r0 = pxsim_ImageMethods.width(s.i___56177); - s.minX___56180 = (r0); - r0 = pxsim_ImageMethods.height(s.i___56177); - s.minY___56183 = (r0); - s.maxX___56186 = (0); - s.maxY___56187 = (0); - s.c___56188 = (0); - case 1: - s.tmp_1 = r0 = s.c___56188; - r0 = pxsim_ImageMethods.width(s.i___56177); + s.i___111063 = (r0); + r0 = pxsim_ImageMethods.width(s.i___111063); + s.minX___111066 = (r0); + r0 = pxsim_ImageMethods.height(s.i___111063); + s.minY___111069 = (r0); + s.maxX___111072 = (0); + s.maxY___111073 = (0); + s.c___111074 = (0); + case 1: + s.tmp_1 = r0 = s.c___111074; + r0 = pxsim_ImageMethods.width(s.i___111063); 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___56194 = (0); + s.r___111080 = (0); case 2: - s.tmp_1 = r0 = s.r___56194; - r0 = pxsim_ImageMethods.height(s.i___56177); + s.tmp_1 = r0 = s.r___111080; + r0 = pxsim_ImageMethods.height(s.i___111063); 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___56177, s.c___56188, s.r___56194); + r0 = pxsim_ImageMethods.getPixel(s.i___111063, s.c___111074, s.r___111080); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Math_min__P46105_mk(s); - s.tmp_4.arg0 = s.minX___56180; - s.tmp_4.arg1 = s.c___56188; + s.tmp_4 = Math_min__P100991_mk(s); + s.tmp_4.arg0 = s.minX___111066; + s.tmp_4.arg1 = s.c___111074; s.callLocIdx = 244; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.minX___56180 = (r0); - s.tmp_0 = Math_min__P46105_mk(s); - s.tmp_0.arg0 = s.minY___56183; - s.tmp_0.arg1 = s.r___56194; + s.minX___111066 = (r0); + s.tmp_0 = Math_min__P100991_mk(s); + s.tmp_0.arg0 = s.minY___111069; + s.tmp_0.arg1 = s.r___111080; s.callLocIdx = 245; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.minY___56183 = (r0); - s.tmp_0 = Math_max__P46104_mk(s); - s.tmp_0.arg0 = s.maxX___56186; - s.tmp_0.arg1 = s.c___56188; + s.minY___111069 = (r0); + s.tmp_0 = Math_max__P100990_mk(s); + s.tmp_0.arg0 = s.maxX___111072; + s.tmp_0.arg1 = s.c___111074; s.callLocIdx = 246; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.maxX___56186 = (r0); - s.tmp_0 = Math_max__P46104_mk(s); - s.tmp_0.arg0 = s.maxY___56187; - s.tmp_0.arg1 = s.r___56194; + s.maxX___111072 = (r0); + s.tmp_0 = Math_max__P100990_mk(s); + s.tmp_0.arg0 = s.maxY___111073; + s.tmp_0.arg1 = s.r___111080; s.callLocIdx = 247; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___56187 = (r0); + s.maxY___111073 = (r0); case 3: case 4: - r0 = (s.r___56194 + 1); - s.r___56194 = (r0); + r0 = (s.r___111080 + 1); + s.r___111080 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___56188 + 1); - s.c___56188 = (r0); + r0 = (s.c___111074 + 1); + s.c___111074 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___56186 - s.minX___56180); + r0 = (s.maxX___111072 - s.minX___111066); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___56225 = (r0); - r0 = (s.maxY___56187 - s.minY___56183); + s.width___111111 = (r0); + r0 = (s.maxY___111073 - s.minY___111069); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___56231 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C47938_VT); + s.height___111117 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C102824_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P47944_mk(s); + s.tmp_1 = game_Hitbox_constructor__P102830_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___56225; - s.tmp_1.arg3 = s.height___56231; - s.tmp_1.arg4 = s.minX___56180; - s.tmp_1.arg5 = s.minY___56183; + s.tmp_1.arg2 = s.width___111111; + s.tmp_1.arg3 = s.height___111117; + s.tmp_1.arg4 = s.minX___111066; + s.tmp_1.arg5 = s.minY___111069; s.callLocIdx = 248; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -16587,27 +16587,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P47949.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__P102835.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__P47949_mk(s) { +function game_calculateHitBox__P102835_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P47949, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P102835, 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___56177: undefined, - minX___56180: undefined, - minY___56183: undefined, - maxX___56186: undefined, - maxY___56187: undefined, - c___56188: undefined, - r___56194: undefined, - width___56225: undefined, - height___56231: undefined, + i___111063: undefined, + minX___111066: undefined, + minY___111069: undefined, + maxX___111072: undefined, + maxY___111073: undefined, + c___111074: undefined, + r___111080: undefined, + width___111111: undefined, + height___111117: undefined, arg0: undefined, } } @@ -16615,7 +16615,7 @@ function game_calculateHitBox__P47949_mk(s) { -function Sprite_image__P48034(s) { +function Sprite_image__P102920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16630,18 +16630,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P48034.info = {"start":6549,"length":54,"line":242,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P48034.isGetter = true; +Sprite_image__P102920.info = {"start":6549,"length":54,"line":242,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P102920.isGetter = true; -function Sprite_image__P48034_mk(s) { +function Sprite_image__P102920_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P48034, depth: s.depth + 1, + parent: s, fn: Sprite_image__P102920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16650,7 +16650,7 @@ function Sprite_image__P48034_mk(s) { -function game_Hitbox_constructor__P47944(s) { +function game_Hitbox_constructor__P102830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16670,7 +16670,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C47938_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C102824_VT)) failedCast(r0); r0 = (s.arg0).fields["parent"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = (s.arg2 * 256); @@ -16700,12 +16700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P47944.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__P102830.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__P47944_mk(s) { +function game_Hitbox_constructor__P102830_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P47944, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P102830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16722,7 +16722,7 @@ function game_Hitbox_constructor__P47944_mk(s) { -function Fx_abs__P46139(s) { +function Fx_abs__P101025(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16752,12 +16752,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P46139.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__P101025.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__P46139_mk(s) { +function Fx_abs__P101025_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P46139, depth: s.depth + 1, + parent: s, fn: Fx_abs__P101025, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16767,7 +16767,7 @@ function Fx_abs__P46139_mk(s) { -function Fx_sub__P46133(s) { +function Fx_sub__P101019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16786,12 +16786,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P46133.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__P101019.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__P46133_mk(s) { +function Fx_sub__P101019_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P46133, depth: s.depth + 1, + parent: s, fn: Fx_sub__P101019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16801,7 +16801,7 @@ function Fx_sub__P46133_mk(s) { -function Sprite_fy__P48019(s) { +function Sprite_fy__P102905(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16817,9 +16817,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P46104_mk(s); + s.tmp_3 = Math_max__P100990_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 271; s.pc = 1; return s.tmp_3; @@ -16835,12 +16835,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P48019.info = {"start":4057,"length":64,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P102905.info = {"start":4057,"length":64,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P48019_mk(s) { +function Sprite_fy__P102905_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P48019, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P102905, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16855,7 +16855,7 @@ function Sprite_fy__P48019_mk(s) { -function Sprite_fy__P48018(s) { +function Sprite_fy__P102904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16870,20 +16870,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48018.info = {"start":3895,"length":60,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P48018.isGetter = true; +Sprite_fy__P102904.info = {"start":3895,"length":60,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P102904.isGetter = true; -function Sprite_fy__P48018_mk(s) { +function Sprite_fy__P102904_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P48018, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P102904, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16893,7 +16893,7 @@ function Sprite_fy__P48018_mk(s) { -function Sprite_fx__P48017(s) { +function Sprite_fx__P102903(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16909,9 +16909,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P46104_mk(s); + s.tmp_3 = Math_max__P100990_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 268; s.pc = 1; return s.tmp_3; @@ -16927,12 +16927,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P48017.info = {"start":3714,"length":64,"line":141,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P102903.info = {"start":3714,"length":64,"line":141,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P48017_mk(s) { +function Sprite_fx__P102903_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P48017, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P102903, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16947,7 +16947,7 @@ function Sprite_fx__P48017_mk(s) { -function Sprite_fx__P48016(s) { +function Sprite_fx__P102902(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16962,20 +16962,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48016.info = {"start":3552,"length":60,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P48016.isGetter = true; +Sprite_fx__P102902.info = {"start":3552,"length":60,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P102902.isGetter = true; -function Sprite_fx__P48016_mk(s) { +function Sprite_fx__P102902_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P48016, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P102902, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16985,7 +16985,7 @@ function Sprite_fx__P48016_mk(s) { -function Sprite_ay__P48015(s) { +function Sprite_ay__P102901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17001,7 +17001,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -17012,12 +17012,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P48015.info = {"start":3383,"length":51,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P102901.info = {"start":3383,"length":51,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P48015_mk(s) { +function Sprite_ay__P102901_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P48015, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P102901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17030,7 +17030,7 @@ function Sprite_ay__P48015_mk(s) { -function Sprite_ay__P48014(s) { +function Sprite_ay__P102900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17045,20 +17045,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48014.info = {"start":3217,"length":60,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P48014.isGetter = true; +Sprite_ay__P102900.info = {"start":3217,"length":60,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P102900.isGetter = true; -function Sprite_ay__P48014_mk(s) { +function Sprite_ay__P102900_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P48014, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P102900, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17068,7 +17068,7 @@ function Sprite_ay__P48014_mk(s) { -function Sprite_ax__P48013(s) { +function Sprite_ax__P102899(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17084,7 +17084,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -17095,12 +17095,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P48013.info = {"start":3044,"length":51,"line":119,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P102899.info = {"start":3044,"length":51,"line":119,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P48013_mk(s) { +function Sprite_ax__P102899_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P48013, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P102899, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17113,7 +17113,7 @@ function Sprite_ax__P48013_mk(s) { -function Sprite_ax__P48012(s) { +function Sprite_ax__P102898(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17128,20 +17128,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48012.info = {"start":2878,"length":60,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P48012.isGetter = true; +Sprite_ax__P102898.info = {"start":2878,"length":60,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P102898.isGetter = true; -function Sprite_ax__P48012_mk(s) { +function Sprite_ax__P102898_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P48012, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P102898, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17151,7 +17151,7 @@ function Sprite_ax__P48012_mk(s) { -function Sprite_vy__P48011(s) { +function Sprite_vy__P102897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17167,7 +17167,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -17178,12 +17178,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P48011.info = {"start":2705,"length":51,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P102897.info = {"start":2705,"length":51,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P48011_mk(s) { +function Sprite_vy__P102897_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P48011, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P102897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17196,7 +17196,7 @@ function Sprite_vy__P48011_mk(s) { -function Sprite_vy__P48010(s) { +function Sprite_vy__P102896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17211,20 +17211,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48010.info = {"start":2543,"length":60,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P48010.isGetter = true; +Sprite_vy__P102896.info = {"start":2543,"length":60,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P102896.isGetter = true; -function Sprite_vy__P48010_mk(s) { +function Sprite_vy__P102896_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P48010, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P102896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17234,7 +17234,7 @@ function Sprite_vy__P48010_mk(s) { -function Sprite_vx__P48009(s) { +function Sprite_vx__P102895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17250,7 +17250,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -17261,12 +17261,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P48009.info = {"start":2374,"length":51,"line":97,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P102895.info = {"start":2374,"length":51,"line":97,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P48009_mk(s) { +function Sprite_vx__P102895_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P48009, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P102895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17279,7 +17279,7 @@ function Sprite_vx__P48009_mk(s) { -function Sprite_vx__P48008(s) { +function Sprite_vx__P102894(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17294,20 +17294,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48008.info = {"start":2212,"length":60,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P48008.isGetter = true; +Sprite_vx__P102894.info = {"start":2212,"length":60,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P102894.isGetter = true; -function Sprite_vx__P48008_mk(s) { +function Sprite_vx__P102894_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P48008, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P102894, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17317,7 +17317,7 @@ function Sprite_vx__P48008_mk(s) { -function controller__setUserEventsEnabled__P47933(s) { +function controller__setUserEventsEnabled__P102819(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17331,17 +17331,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___49662 = (s.arg0); + globals._userEventsEnabled___104548 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P47933.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__P102819.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__P47933_mk(s) { +function controller__setUserEventsEnabled__P102819_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P47933, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P102819, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17350,7 +17350,7 @@ function controller__setUserEventsEnabled__P47933_mk(s) { -function controller_Button_isPressed__P47891(s) { +function controller_Button_isPressed__P102777(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17365,17 +17365,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C47882_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C102768_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P47891.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__P102777.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__P47891_mk(s) { +function controller_Button_isPressed__P102777_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P47891, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P102777, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17384,7 +17384,7 @@ function controller_Button_isPressed__P47891_mk(s) { -function pauseUntil__P46335(s) { +function pauseUntil__P101221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17431,7 +17431,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P46334_mk(s); + s.tmp_0 = control___queuePollEvent__P101220_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -17443,12 +17443,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P46335.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__P101221.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__P46335_mk(s) { +function pauseUntil__P101221_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P46335, depth: s.depth + 1, + parent: s, fn: pauseUntil__P101221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17464,7 +17464,7 @@ function pauseUntil__P46335_mk(s) { -function control___queuePollEvent__P46334(s) { +function control___queuePollEvent__P101220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17474,16 +17474,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___52218 = undefined; + s.ev___107104 = 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__C49488_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C104374_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P49489_mk(s); + s.tmp_1 = control_PollEvent_constructor__P104375_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1.arg1 = r0; @@ -17499,8 +17499,8 @@ switch (step) { s.callLocIdx = 28; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___52218 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___49491); + s.ev___107104 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___104377); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17508,19 +17508,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___52218); - globals._pollEventQueue___49491 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P49492); + r0 = pxsim_Array__push(s.tmp_2, s.ev___107104); + globals._pollEventQueue___104377 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P104378); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___49491, s.ev___52218); + r0 = pxsim_Array__push(globals._pollEventQueue___104377, s.ev___107104); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P46359_mk(s); - r0 = s.ev___52218.fields["eid"]; + s.tmp_0 = control_onEvent__P101245_mk(s); + r0 = s.ev___107104.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___52218.fields["vid"]; + r0 = s.ev___107104.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -17529,9 +17529,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___52218.fields["eid"]; + r0 = s.ev___107104.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___52218.fields["vid"]; + r0 = s.ev___107104.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -17544,17 +17544,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P46334.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__P101220.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__P46334_mk(s) { +function control___queuePollEvent__P101220_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P46334, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P101220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___52218: undefined, + ev___107104: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17564,7 +17564,7 @@ function control___queuePollEvent__P46334_mk(s) { -function control_pollEvents__P49492(s) { +function control_pollEvents__P104378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17574,31 +17574,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___52344 = undefined; - s.i___52347 = undefined; - s.ev___52353 = undefined; + s.now___107230 = undefined; + s.i___107233 = undefined; + s.ev___107239 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___49491); + r0 = pxsim_Array__length(globals._pollEventQueue___104377); 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___52344 = (r0); - s.i___52347 = (0); + s.now___107230 = (r0); + s.i___107233 = (0); case 2: - s.tmp_1 = r0 = s.i___52347; - r0 = pxsim_Array__length(globals._pollEventQueue___49491); + s.tmp_1 = r0 = s.i___107233; + r0 = pxsim_Array__length(globals._pollEventQueue___104377); 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___49491, s.i___52347); - s.ev___52353 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___104377, s.i___107233); + s.ev___107239 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___52353; + s.tmp_1.arg0 = s.ev___107239; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 25; s.pc = 13; return s.tmp_1; @@ -17616,7 +17616,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___52353.fields["timeOut"]; + r0 = s.ev___107239.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -17625,11 +17625,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___52353.fields["start"]; + r0 = s.ev___107239.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___52344 - s.tmp_5); + r0 = (s.now___107230 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___52353.fields["timeOut"]; + r0 = s.ev___107239.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -17641,50 +17641,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___52353.fields["eid"]; + r0 = s.ev___107239.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___52353.fields["vid"]; + r0 = s.ev___107239.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___52353.fields["once"]; + r0 = s.ev___107239.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P46077_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___49491; - s.tmp_1.arg1 = s.i___52347; + s.tmp_1 = helpers_arraySplice__P100963_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___104377; + s.tmp_1.arg1 = s.i___107233; s.tmp_1.arg2 = 1; s.callLocIdx = 26; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___52347 - 1); - s.i___52347 = (r0); + r0 = (s.i___107233 - 1); + s.i___107233 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___52347 + 1); - s.i___52347 = (r0); + r0 = (s.i___107233 + 1); + s.i___107233 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P46381_mk(s); + s.tmp_0 = pause__P101267_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 27; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___49491 = (undefined); + globals._pollEventQueue___104377 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P49492.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P104378.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__P49492_mk(s) { +function control_pollEvents__P104378_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P49492, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P104378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17697,16 +17697,16 @@ function control_pollEvents__P49492_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___52344: undefined, - i___52347: undefined, - ev___52353: undefined, + now___107230: undefined, + i___107233: undefined, + ev___107239: undefined, } } -function control_PollEvent_constructor__P49489(s) { +function control_PollEvent_constructor__P104375(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17727,7 +17727,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C49488_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C104374_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -17738,12 +17738,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P49489.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__P104375.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__P49489_mk(s) { +function control_PollEvent_constructor__P104375_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P49489, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P104375, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17758,7 +17758,7 @@ function control_PollEvent_constructor__P49489_mk(s) { -function control_onEvent__P46359(s) { +function control_onEvent__P101245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17768,7 +17768,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___52260 = undefined; + s.ctx___107146 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17776,12 +17776,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P46376_mk(s); + s.tmp_0 = control_eventContext__P101262_mk(s); s.callLocIdx = 40; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___52260 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___52260); + s.ctx___107146 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___107146); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17790,8 +17790,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__P46373_mk(s); - s.tmp_0.arg0 = s.ctx___52260; + s.tmp_0 = control_EventContext_registerHandler__P101259_mk(s); + s.tmp_0.arg0 = s.ctx___107146; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -17804,16 +17804,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P46359.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__P101245.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__P46359_mk(s) { +function control_onEvent__P101245_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P46359, depth: s.depth + 1, + parent: s, fn: control_onEvent__P101245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___52260: undefined, + ctx___107146: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17824,7 +17824,7 @@ function control_onEvent__P46359_mk(s) { -function control_EventContext_registerHandler__P46373(s) { +function control_EventContext_registerHandler__P101259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17834,10 +17834,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___52283 = undefined; - s.unnamed214___U1 = undefined; - s.unnamed215___U2 = undefined; - s.hn___52306 = undefined; + s.h___107169 = undefined; + s.unnamed454___U1 = undefined; + s.unnamed455___U2 = undefined; + s.hn___107192 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17847,20 +17847,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C46363_VT)) failedCast(r0); - s.h___52283 = (undefined); + if (!checkSubtype(r0, control_EventContext__C101249_VT)) failedCast(r0); + s.h___107169 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed214___U1 = (r0); - s.unnamed215___U2 = (0); + s.unnamed454___U1 = (r0); + s.unnamed455___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed215___U2; - r0 = pxsim_Array__length(s.unnamed214___U1); + s.tmp_0 = r0 = s.unnamed455___U2; + r0 = pxsim_Array__length(s.unnamed454___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed214___U1, s.unnamed215___U2); - s.h___52283 = (r0); - r0 = s.h___52283.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed454___U1, s.unnamed455___U2); + s.h___107169 = (r0); + r0 = s.h___107169.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -17869,7 +17869,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___52283.fields["value"]; + r0 = s.h___107169.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -17877,19 +17877,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___52283).fields["flags"] = (s.arg4); - r0 = (s.h___52283).fields["handler"] = (s.arg3); + r0 = (s.h___107169).fields["flags"] = (s.arg4); + r0 = (s.h___107169).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed215___U2 + 1); - s.unnamed215___U2 = (r0); + r0 = (s.unnamed455___U2 + 1); + s.unnamed455___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed214___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C49509_VT); + s.unnamed454___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C104395_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P49512_mk(s); + s.tmp_1 = control_EventHandler_constructor__P104398_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -17898,12 +17898,12 @@ switch (step) { s.callLocIdx = 53; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___52306 = (s.tmp_0); + s.hn___107192 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___52306); - s.tmp_0 = control_EventHandler_register__P49510_mk(s); - s.tmp_0.arg0 = s.hn___52306; + r0 = pxsim_Array__push(s.tmp_0, s.hn___107192); + s.tmp_0 = control_EventHandler_register__P104396_mk(s); + s.tmp_0.arg0 = s.hn___107192; s.callLocIdx = 54; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -17912,12 +17912,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P46373.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__P101259.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__P46373_mk(s) { +function control_EventContext_registerHandler__P101259_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P46373, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P101259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17925,10 +17925,10 @@ function control_EventContext_registerHandler__P46373_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___52283: undefined, - unnamed214___U1: undefined, - unnamed215___U2: undefined, - hn___52306: undefined, + h___107169: undefined, + unnamed454___U1: undefined, + unnamed455___U2: undefined, + hn___107192: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17940,7 +17940,7 @@ function control_EventContext_registerHandler__P46373_mk(s) { -function control_EventHandler_constructor__P49512(s) { +function control_EventHandler_constructor__P104398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17959,7 +17959,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C49509_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C104395_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -17968,12 +17968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P49512.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__P104398.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__P49512_mk(s) { +function control_EventHandler_constructor__P104398_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P49512, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P104398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17986,7 +17986,7 @@ function control_EventHandler_constructor__P49512_mk(s) { -function music_playMelody__P47574(s) { +function music_playMelody__P102460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17996,18 +17996,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.notes___56666 = undefined; - s.formattedMelody___56676 = undefined; - s.newOctave___56677 = undefined; - s.i___56678 = undefined; - s.song___56742 = undefined; + s.notes___111552 = undefined; + s.formattedMelody___111562 = undefined; + s.newOctave___111563 = undefined; + s.i___111564 = undefined; + s.song___111628 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arrayFilter__P46087_mk(s); - s.tmp_1 = helpers_stringSplit__P46096_mk(s); + s.tmp_0 = helpers_arrayFilter__P100973_mk(s); + s.tmp_1 = helpers_stringSplit__P100982_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = " "; s.tmp_1.arg2 = undefined; @@ -18015,46 +18015,46 @@ switch (step) { case 12: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P56671; + s.tmp_0.arg1 = inline__P111557; s.callLocIdx = 73; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.notes___56666 = (r0); + s.notes___111552 = (r0); r0 = pxsim_String_.mkEmpty(); - s.formattedMelody___56676 = (r0); - s.newOctave___56677 = (false); - s.i___56678 = (0); + s.formattedMelody___111562 = (r0); + s.newOctave___111563 = (false); + s.i___111564 = (0); case 1: - s.tmp_1 = r0 = s.i___56678; - r0 = pxsim_Array__length(s.notes___56666); + s.tmp_1 = r0 = s.i___111564; + r0 = pxsim_Array__length(s.notes___111552); 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___56666, s.i___56678); + r0 = pxsim_Array__getAt(s.notes___111552, s.i___111564); 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___56666, s.i___56678, "R"); + r0 = pxsim_Array_.setAt(s.notes___111552, s.i___111564, "R"); { step = 7; continue; } case 2: - r0 = pxsim_Array__getAt(s.notes___56666, s.i___56678); + r0 = pxsim_Array__getAt(s.notes___111552, s.i___111564); 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___56677 = (true); + s.newOctave___111563 = (true); { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.newOctave___56677); + r0 = pxsim_numops_toBoolDecr(s.newOctave___111563); if (!r0) { step = 4; continue; } - s.tmp_0 = r0 = s.notes___56666; - s.tmp_1 = r0 = s.i___56678; - r0 = pxsim_Array__getAt(s.tmp_0, s.i___56678); + s.tmp_0 = r0 = s.notes___111552; + s.tmp_1 = r0 = s.i___111564; + r0 = pxsim_Array__getAt(s.tmp_0, s.i___111564); s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { setupResume(s, 13); @@ -18068,25 +18068,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___56677 = (false); + s.newOctave___111563 = (false); case 4: case 5: case 6: case 7: - r0 = (s.i___56678 == 0); + r0 = (s.i___111564 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - if ((s.formattedMelody___56676) && (s.formattedMelody___56676).vtable) { + if ((s.formattedMelody___111562) && (s.formattedMelody___111562).vtable) { setupResume(s, 14); - pxsim_String__stringConv(s.formattedMelody___56676); + pxsim_String__stringConv(s.formattedMelody___111562); checkResumeConsumed(); return; - } else { s.retval = (s.formattedMelody___56676) + ""; } + } else { s.retval = (s.formattedMelody___111562) + ""; } case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.notes___56666, s.i___56678); + r0 = pxsim_Array__getAt(s.notes___111552, s.i___111564); s.tmp_9 = r0; if ((s.tmp_9) && (s.tmp_9).vtable) { setupResume(s, 15); @@ -18140,19 +18140,19 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - s.formattedMelody___56676 = (r0); + s.formattedMelody___111562 = (r0); { step = 9; continue; } case 8: - if ((s.formattedMelody___56676) && (s.formattedMelody___56676).vtable) { + if ((s.formattedMelody___111562) && (s.formattedMelody___111562).vtable) { setupResume(s, 20); - pxsim_String__stringConv(s.formattedMelody___56676); + pxsim_String__stringConv(s.formattedMelody___111562); checkResumeConsumed(); return; - } else { s.retval = (s.formattedMelody___56676) + ""; } + } else { s.retval = (s.formattedMelody___111562) + ""; } case 20: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.notes___56666, s.i___56678); + r0 = pxsim_Array__getAt(s.notes___111552, s.i___111564); s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { setupResume(s, 21); @@ -18175,23 +18175,23 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.formattedMelody___56676 = (r0); + s.formattedMelody___111562 = (r0); case 9: - r0 = (s.i___56678 + 1); - s.i___56678 = (r0); + r0 = (s.i___111564 + 1); + s.i___111564 = (r0); { step = 1; continue; } case 10: - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C47577_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C102463_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P47580_mk(s); + s.tmp_1 = music_Melody_constructor__P102466_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.formattedMelody___56676; + s.tmp_1.arg1 = s.formattedMelody___111562; s.callLocIdx = 74; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.song___56742 = (s.tmp_0); - s.tmp_0 = music_Melody_playUntilDone__P47585_mk(s); - s.tmp_0.arg0 = s.song___56742; + s.song___111628 = (s.tmp_0); + s.tmp_0 = music_Melody_playUntilDone__P102471_mk(s); + s.tmp_0.arg0 = s.song___111628; s.tmp_0.arg1 = 255; s.callLocIdx = 75; s.pc = 24; return s.tmp_0; case 24: @@ -18200,12 +18200,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playMelody__P47574.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__P102460.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__P47574_mk(s) { +function music_playMelody__P102460_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playMelody__P47574, depth: s.depth + 1, + parent: s, fn: music_playMelody__P102460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18218,11 +18218,11 @@ function music_playMelody__P47574_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - notes___56666: undefined, - formattedMelody___56676: undefined, - newOctave___56677: undefined, - i___56678: undefined, - song___56742: undefined, + notes___111552: undefined, + formattedMelody___111562: undefined, + newOctave___111563: undefined, + i___111564: undefined, + song___111628: undefined, arg0: undefined, arg1: undefined, } } @@ -18231,7 +18231,7 @@ function music_playMelody__P47574_mk(s) { -function inline__P56671(s) { +function inline__P111557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18255,12 +18255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56671.info = {"start":4176,"length":8,"line":126,"column":55,"endLine":126,"endColumn":63,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["n"]} +inline__P111557.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__P56671_mk(s) { +function inline__P111557_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56671, depth: s.depth + 1, + parent: s, fn: inline__P111557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18272,7 +18272,7 @@ function inline__P56671_mk(s) { -function music_Melody_playUntilDone__P47585(s) { +function music_Melody_playUntilDone__P102471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18282,42 +18282,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___56751 = undefined; + s.p___111637 = 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__C47577_VT)) failedCast(r0); - s.tmp_0 = music_Melody_stop__P47582_mk(s); + if (!checkSubtype(r0, music_Melody__C102463_VT)) failedCast(r0); + s.tmp_0 = music_Melody_stop__P102468_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 79; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C47587_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C102473_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayer_constructor__P47590_mk(s); + s.tmp_1 = music_MelodyPlayer_constructor__P102476_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 80; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["_player"] = (s.tmp_0); - s.p___56751 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(2, inline__P56761); + s.p___111637 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(2, inline__P111647); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.p___56751); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.p___111637); 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__P49556_mk(s); + s.tmp_0 = music_Melody_registerMelody__P104442_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 82; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = music_MelodyPlayer_play__P47592_mk(s); + s.tmp_0 = music_MelodyPlayer_play__P102478_mk(s); r0 = s.arg0.fields["_player"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -18328,16 +18328,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playUntilDone__P47585.info = {"start":9286,"length":344,"line":292,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playUntilDone","argumentNames":["this","volume"]} +music_Melody_playUntilDone__P102471.info = {"start":9286,"length":344,"line":292,"column":8,"endLine":301,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playUntilDone","argumentNames":["this","volume"]} -function music_Melody_playUntilDone__P47585_mk(s) { +function music_Melody_playUntilDone__P102471_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playUntilDone__P47585, depth: s.depth + 1, + parent: s, fn: music_Melody_playUntilDone__P102471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___56751: undefined, + p___111637: undefined, arg0: undefined, arg1: undefined, } } @@ -18346,7 +18346,7 @@ function music_Melody_playUntilDone__P47585_mk(s) { -function inline__P56761(s) { +function inline__P111647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18362,7 +18362,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__P49557_mk(s); + s.tmp_2 = music_Melody_unregisterMelody__P104443_mk(s); s.tmp_2.arg0 = s.caps[1]; s.callLocIdx = 81; s.pc = 3; return s.tmp_2; case 3: @@ -18373,12 +18373,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56761.info = {"start":9442,"length":105,"line":295,"column":42,"endLine":298,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P111647.info = {"start":9442,"length":105,"line":295,"column":42,"endLine":298,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P56761_mk(s) { +function inline__P111647_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56761, depth: s.depth + 1, + parent: s, fn: inline__P111647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18389,7 +18389,7 @@ function inline__P56761_mk(s) { -function music_Melody_unregisterMelody__P49557(s) { +function music_Melody_unregisterMelody__P104443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18404,22 +18404,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C47577_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___49559); + if (!checkSubtype(r0, music_Melody__C102463_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___104445); if (!r0) { step = 1; continue; } - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___49559, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___104445, s.arg0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_unregisterMelody__P49557.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__P104443.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__P49557_mk(s) { +function music_Melody_unregisterMelody__P104443_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_unregisterMelody__P49557, depth: s.depth + 1, + parent: s, fn: music_Melody_unregisterMelody__P104443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18428,7 +18428,7 @@ function music_Melody_unregisterMelody__P49557_mk(s) { -function music_Melody_registerMelody__P49556(s) { +function music_Melody_registerMelody__P104442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18443,26 +18443,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C47577_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___49559); + if (!checkSubtype(r0, music_Melody__C102463_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___104445); 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___49559 = (r0); + globals.music_Melody_playingMelodies___104445 = (r0); case 1: case 2: - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___49559); + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___104445); 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__P47582_mk(s); - s.tmp_3 = r0 = globals.music_Melody_playingMelodies___49559; - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___49559); + s.tmp_2 = music_Melody_stop__P102468_mk(s); + s.tmp_3 = r0 = globals.music_Melody_playingMelodies___104445; + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___104445); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; @@ -18473,18 +18473,18 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___49559, s.arg0); - r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___49559, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___104445, s.arg0); + r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___104445, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_registerMelody__P49556.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__P104442.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__P49556_mk(s) { +function music_Melody_registerMelody__P104442_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_registerMelody__P49556, depth: s.depth + 1, + parent: s, fn: music_Melody_registerMelody__P104442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18499,7 +18499,7 @@ function music_Melody_registerMelody__P49556_mk(s) { -function music_MelodyPlayer_play__P47592(s) { +function music_MelodyPlayer_play__P102478(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18509,46 +18509,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.notes___56784 = undefined; - s.pos___56788 = undefined; - s.duration___56789 = undefined; - s.octave___56790 = undefined; - s.tempo___56791 = undefined; - s.hz___56792 = undefined; - s.endHz___56793 = undefined; - s.ms___56796 = undefined; - s.timePos___56797 = undefined; - s.startTime___56798 = undefined; - s.now___56801 = undefined; - s.envA___56802 = undefined; - s.envD___56803 = undefined; - s.envS___56804 = undefined; - s.envR___56805 = undefined; - s.soundWave___56806 = undefined; - s.sndInstr___56807 = undefined; - s.sndInstrPtr___56813 = undefined; - s.addForm___56814 = undefined; - s.scanNextWord___56874 = undefined; - s.token___56931 = undefined; - s.tokenKind___56932 = undefined; - s.consumeToken___56935 = undefined; - s.currNote___57011 = undefined; - s.prevNote___57013 = undefined; - s.timeLeft___57016 = undefined; - s.note___57030 = undefined; - s.i___57034 = undefined; - s.noteChar___57040 = undefined; - s.keyNumber___57114 = undefined; - s.currMs___57131 = undefined; - s.beat___57135 = undefined; - s.timeLeft___57192 = undefined; + s.notes___111670 = undefined; + s.pos___111674 = undefined; + s.duration___111675 = undefined; + s.octave___111676 = undefined; + s.tempo___111677 = undefined; + s.hz___111678 = undefined; + s.endHz___111679 = undefined; + s.ms___111682 = undefined; + s.timePos___111683 = undefined; + s.startTime___111684 = undefined; + s.now___111687 = undefined; + s.envA___111688 = undefined; + s.envD___111689 = undefined; + s.envS___111690 = undefined; + s.envR___111691 = undefined; + s.soundWave___111692 = undefined; + s.sndInstr___111693 = undefined; + s.sndInstrPtr___111699 = undefined; + s.addForm___111700 = undefined; + s.scanNextWord___111760 = undefined; + s.token___111817 = undefined; + s.tokenKind___111818 = undefined; + s.consumeToken___111821 = undefined; + s.currNote___111897 = undefined; + s.prevNote___111899 = undefined; + s.timeLeft___111902 = undefined; + s.note___111916 = undefined; + s.i___111920 = undefined; + s.noteChar___111926 = undefined; + s.keyNumber___112000 = undefined; + s.currMs___112017 = undefined; + s.beat___112021 = undefined; + s.timeLeft___112078 = 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__C47587_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C102473_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -18565,12 +18565,12 @@ switch (step) { case 1: case 2: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_clamp__P46101_mk(s); + s.tmp_6 = Math_clamp__P100987_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__P47572_mk(s); + s.tmp_10 = music_volume__P102458_mk(s); s.callLocIdx = 84; s.pc = 61; return s.tmp_10; case 61: r0 = s.retval; @@ -18586,121 +18586,121 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_4, s.tmp_5); r0 = s.arg0.fields["melody"]; r0 = r0.fields["_text"]; - s.notes___56784 = (r0); + s.notes___111670 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pos___56788 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pos___56788, 0); + s.pos___111674 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pos___111674, 0); r0 = pxsim_pxtrt.mklocRef(); - s.duration___56789 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.duration___56789, 4); + s.duration___111675 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.duration___111675, 4); r0 = pxsim_pxtrt.mklocRef(); - s.octave___56790 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.octave___56790, 4); + s.octave___111676 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.octave___111676, 4); r0 = pxsim_pxtrt.mklocRef(); - s.tempo___56791 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tempo___56791, 120); + s.tempo___111677 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tempo___111677, 120); r0 = pxsim_pxtrt.mklocRef(); - s.hz___56792 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hz___56792, 0); + s.hz___111678 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hz___111678, 0); r0 = pxsim_pxtrt.mklocRef(); - s.endHz___56793 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.endHz___56793, -1); + s.endHz___111679 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___111679, -1); r0 = pxsim_pxtrt.mklocRef(); - s.ms___56796 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.ms___56796, 0); - s.timePos___56797 = (0); + s.ms___111682 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.ms___111682, 0); + s.timePos___111683 = (0); r0 = pxsim.control.millis(); - s.startTime___56798 = (r0); - s.now___56801 = (0); + s.startTime___111684 = (r0); + s.now___111687 = (0); r0 = pxsim_pxtrt.mklocRef(); - s.envA___56802 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envA___56802, 0); + s.envA___111688 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envA___111688, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envD___56803 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envD___56803, 0); + s.envD___111689 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envD___111689, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envS___56804 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envS___56804, 255); + s.envS___111690 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envS___111690, 255); r0 = pxsim_pxtrt.mklocRef(); - s.envR___56805 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envR___56805, 0); + s.envR___111691 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envR___111691, 0); r0 = pxsim_pxtrt.mklocRef(); - s.soundWave___56806 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.soundWave___56806, 1); + s.soundWave___111692 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.soundWave___111692, 1); r0 = pxsim.control.createBuffer(60); - s.sndInstr___56807 = (r0); + s.sndInstr___111693 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.sndInstrPtr___56813 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___56813, 0); - r0 = pxsim_pxtcore_mkAction(10, inline__P56815); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___56792); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___56793); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___56796); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___56789); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___56791); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___56805); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___56813); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___56807); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___56806); + s.sndInstrPtr___111699 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___111699, 0); + r0 = pxsim_pxtcore_mkAction(10, inline__P111701); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___111678); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___111679); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___111682); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___111675); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___111677); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___111691); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___111699); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___111693); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___111692); r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.arg1); - s.addForm___56814 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P56875); + s.addForm___111700 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P111761); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___56788); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___56784); - s.scanNextWord___56874 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___111674); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___111670); + s.scanNextWord___111760 = (s.tmp_0); r0 = pxsim_pxtrt.mklocRef(); - s.token___56931 = (r0); - s.tmp_0 = r0 = s.token___56931; + s.token___111817 = (r0); + s.tmp_0 = r0 = s.token___111817; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.tokenKind___56932 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___56932, 0); - r0 = pxsim_pxtcore_mkAction(13, inline__P56936); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___56931); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___56932); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___56790); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___56789); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___56796); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___56791); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___56792); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___56806); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___56802); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___56803); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___56804); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___56805); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___56793); - s.consumeToken___56935 = (s.tmp_0); + s.tokenKind___111818 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___111818, 0); + r0 = pxsim_pxtcore_mkAction(13, inline__P111822); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___111817); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___111818); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___111676); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___111675); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___111682); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___111677); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___111678); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___111692); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___111688); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___111689); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___111690); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___111691); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___111679); + s.consumeToken___111821 = (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___56874; + s.tmp_0.argL = s.scanNextWord___111760; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 93; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.currNote___57011 = (r0); - s.prevNote___57013 = (false); - r0 = pxsim_numops_toBoolDecr(s.currNote___57011); + s.currNote___111897 = (r0); + s.prevNote___111899 = (false); + r0 = pxsim_numops_toBoolDecr(s.currNote___111897); 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___56797 - s.now___56801); - s.timeLeft___57016 = (r0); - r0 = (s.timeLeft___57016 > 0); + r0 = (s.timePos___111683 - s.now___111687); + s.timeLeft___111902 = (r0); + r0 = (s.timeLeft___111902 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = pause__P46381_mk(s); - s.tmp_1.arg0 = s.timeLeft___57016; + s.tmp_1 = pause__P101267_mk(s); + s.tmp_1.arg0 = s.timeLeft___111902; s.callLocIdx = 94; s.pc = 63; return s.tmp_1; case 63: r0 = s.retval; @@ -18728,25 +18728,25 @@ switch (step) { { step = 59; continue; } case 8: case 9: - r0 = pxsim_pxtrt_stlocRef(s.hz___56792, -1); - s.note___57030 = (0); - s.tmp_0 = r0 = s.token___56931; + r0 = pxsim_pxtrt_stlocRef(s.hz___111678, -1); + s.note___111916 = (0); + s.tmp_0 = r0 = s.token___111817; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___56932, 0); - s.i___57034 = (0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___111818, 0); + s.i___111920 = (0); case 10: - s.tmp_1 = r0 = s.i___57034; - r0 = pxsim_String_.length(s.currNote___57011); + s.tmp_1 = r0 = s.i___111920; + r0 = pxsim_String_.length(s.currNote___111897); 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___57011, s.i___57034); - s.noteChar___57040 = (r0); - s.tmp_0 = r0 = s.noteChar___57040; + r0 = pxsim_String_.charAt(s.currNote___111897, s.i___111920); + s.noteChar___111926 = (r0); + s.tmp_0 = r0 = s.noteChar___111926; r0 = pxsim_pxtcore.switch_eq("c", s.tmp_0); if (r0) { step = 11; continue; } r0 = pxsim_pxtcore.switch_eq("C", s.tmp_0); @@ -18799,133 +18799,133 @@ switch (step) { { step = 37; continue; } case 11: case 12: - s.note___57030 = (1); - s.prevNote___57013 = (true); + s.note___111916 = (1); + s.prevNote___111899 = (true); { step = 40; continue; } case 13: case 14: - s.note___57030 = (3); - s.prevNote___57013 = (true); + s.note___111916 = (3); + s.prevNote___111899 = (true); { step = 40; continue; } case 15: case 16: - s.note___57030 = (5); - s.prevNote___57013 = (true); + s.note___111916 = (5); + s.prevNote___111899 = (true); { step = 40; continue; } case 17: case 18: - s.note___57030 = (6); - s.prevNote___57013 = (true); + s.note___111916 = (6); + s.prevNote___111899 = (true); { step = 40; continue; } case 19: case 20: - s.note___57030 = (8); - s.prevNote___57013 = (true); + s.note___111916 = (8); + s.prevNote___111899 = (true); { step = 40; continue; } case 21: case 22: - s.note___57030 = (10); - s.prevNote___57013 = (true); + s.note___111916 = (10); + s.prevNote___111899 = (true); { step = 40; continue; } case 23: - s.note___57030 = (12); - s.prevNote___57013 = (true); + s.note___111916 = (12); + s.prevNote___111899 = (true); { step = 40; continue; } case 24: case 25: - r0 = pxsim_pxtrt_stlocRef(s.hz___56792, 0); - s.prevNote___57013 = (false); + r0 = pxsim_pxtrt_stlocRef(s.hz___111678, 0); + s.prevNote___111899 = (false); { step = 40; continue; } case 26: - r0 = (s.note___57030 + 1); - s.note___57030 = (r0); - s.prevNote___57013 = (false); + r0 = (s.note___111916 + 1); + s.note___111916 = (r0); + s.prevNote___111899 = (false); { step = 40; continue; } case 27: - r0 = pxsim_numops_toBoolDecr(s.prevNote___57013); + r0 = pxsim_numops_toBoolDecr(s.prevNote___111899); if (!r0) { step = 28; continue; } - r0 = (s.note___57030 - 1); - s.note___57030 = (r0); + r0 = (s.note___111916 - 1); + s.note___111916 = (r0); { step = 29; continue; } case 28: - s.note___57030 = (12); - s.prevNote___57013 = (true); + s.note___111916 = (12); + s.prevNote___111899 = (true); case 29: { step = 40; continue; } case 30: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___56935; + s.tmp_0.argL = s.consumeToken___111821; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 96; s.pc = 65; return s.tmp_0; case 65: r0 = s.retval; - s.prevNote___57013 = (false); + s.prevNote___111899 = (false); { step = 40; continue; } case 31: - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___56932, 4); - s.prevNote___57013 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___111818, 4); + s.prevNote___111899 = (false); { step = 40; continue; } case 32: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___56935; + s.tmp_0.argL = s.consumeToken___111821; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 97; s.pc = 66; return s.tmp_0; case 66: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___56932, 8); - s.prevNote___57013 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___111818, 8); + s.prevNote___111899 = (false); { step = 40; continue; } case 33: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___56935; + s.tmp_0.argL = s.consumeToken___111821; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 98; s.pc = 67; return s.tmp_0; case 67: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___56932, 7); - s.prevNote___57013 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___111818, 7); + s.prevNote___111899 = (false); { step = 40; continue; } case 34: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___56935; + s.tmp_0.argL = s.consumeToken___111821; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 99; s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___56932, 2); - s.prevNote___57013 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___111818, 2); + s.prevNote___111899 = (false); { step = 40; continue; } case 35: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___56935; + s.tmp_0.argL = s.consumeToken___111821; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 100; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___56932, 3); - s.prevNote___57013 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___111818, 3); + s.prevNote___111899 = (false); { step = 40; continue; } case 36: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___56935; + s.tmp_0.argL = s.consumeToken___111821; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 101; s.pc = 70; return s.tmp_0; case 70: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___56932, 5); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___111818, 5); { step = 40; continue; } case 37: - r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___56932); + r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___111818); 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___56932, 1); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___111818, 1); case 38: case 39: - s.tmp_0 = r0 = s.token___56931; - r0 = pxsim_pxtrt_ldlocRef(s.token___56931); + s.tmp_0 = r0 = s.token___111817; + r0 = pxsim_pxtrt_ldlocRef(s.token___111817); s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 71); @@ -18936,37 +18936,37 @@ switch (step) { case 71: r0 = s.retval; s.tmp_2 = r0; - if ((s.noteChar___57040) && (s.noteChar___57040).vtable) { + if ((s.noteChar___111926) && (s.noteChar___111926).vtable) { setupResume(s, 72); - pxsim_String__stringConv(s.noteChar___57040); + pxsim_String__stringConv(s.noteChar___111926); checkResumeConsumed(); return; - } else { s.retval = (s.noteChar___57040) + ""; } + } else { s.retval = (s.noteChar___111926) + ""; } 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___57013 = (false); + s.prevNote___111899 = (false); case 40: - r0 = (s.i___57034 + 1); - s.i___57034 = (r0); + r0 = (s.i___111920 + 1); + s.i___111920 = (r0); { step = 10; continue; } case 41: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___56935; + s.tmp_0.argL = s.consumeToken___111821; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 102; s.pc = 73; return s.tmp_0; case 73: r0 = s.retval; - s.tmp_0 = r0 = s.note___57030; + s.tmp_0 = r0 = s.note___111916; 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___56792); + r0 = pxsim_pxtrt_ldlocRef(s.hz___111678); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); case 43: @@ -18974,17 +18974,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___57030; - r0 = pxsim_pxtrt_ldlocRef(s.octave___56790); + s.tmp_3 = r0 = s.note___111916; + r0 = pxsim_pxtrt_ldlocRef(s.octave___111676); 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___57114 = (r0); - s.tmp_1 = r0 = globals.freqs___49544; - r0 = (s.keyNumber___57114 * 2); + s.keyNumber___112000 = (r0); + s.tmp_1 = r0 = globals.freqs___104430; + r0 = (s.keyNumber___112000 * 2); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 4, s.tmp_2); s.tmp_0 = r0; @@ -18997,26 +18997,26 @@ switch (step) { case 45: // jmp value (already in r0) s.tmp_3 = r0; - r0 = pxsim_pxtrt_stlocRef(s.hz___56792, s.tmp_3); + r0 = pxsim_pxtrt_stlocRef(s.hz___111678, s.tmp_3); case 46: case 47: - r0 = pxsim_pxtrt_ldlocRef(s.ms___56796); - s.currMs___57131 = (r0); - r0 = (s.currMs___57131 <= 0); + r0 = pxsim_pxtrt_ldlocRef(s.ms___111682); + s.currMs___112017 = (r0); + r0 = (s.currMs___112017 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.tempo___56791); + r0 = pxsim_pxtrt_ldlocRef(s.tempo___111677); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(15000, s.tmp_1); - s.beat___57135 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.duration___56789); + s.beat___112021 = (r0); + r0 = pxsim_pxtrt_ldlocRef(s.duration___111675); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.beat___57135); - s.currMs___57131 = (r0); + r0 = (s.tmp_0 * s.beat___112021); + s.currMs___112017 = (r0); case 48: case 49: - r0 = pxsim_pxtrt_ldlocRef(s.hz___56792); + r0 = pxsim_pxtrt_ldlocRef(s.hz___111678); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -19024,32 +19024,32 @@ switch (step) { if (!r0) { step = 50; continue; } { step = 55; continue; } case 50: - r0 = pxsim_pxtrt_ldlocRef(s.hz___56792); + r0 = pxsim_pxtrt_ldlocRef(s.hz___111678); 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___56797 + s.currMs___57131); - s.timePos___56797 = (r0); + r0 = (s.timePos___111683 + s.currMs___112017); + s.timePos___111683 = (r0); { step = 54; continue; } case 51: - r0 = pxsim_pxtrt_ldlocRef(s.endHz___56793); + r0 = pxsim_pxtrt_ldlocRef(s.endHz___111679); 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___56793; - r0 = pxsim_pxtrt_ldlocRef(s.hz___56792); + s.tmp_2 = r0 = s.endHz___111679; + r0 = pxsim_pxtrt_ldlocRef(s.hz___111678); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); case 52: case 53: - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___56813, 0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___111699, 0); s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___56814; - r0 = pxsim_pxtrt_ldlocRef(s.envA___56802); + s.tmp_0.argL = s.addForm___111700; + r0 = pxsim_pxtrt_ldlocRef(s.envA___111688); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 255; @@ -19059,36 +19059,36 @@ switch (step) { case 74: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___56814; - r0 = pxsim_pxtrt_ldlocRef(s.envD___56803); + s.tmp_0.argL = s.addForm___111700; + r0 = pxsim_pxtrt_ldlocRef(s.envD___111689); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 255; - r0 = pxsim_pxtrt_ldlocRef(s.envS___56804); + r0 = pxsim_pxtrt_ldlocRef(s.envS___111690); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___56802); + r0 = pxsim_pxtrt_ldlocRef(s.envA___111688); s.tmp_0.arg3 = r0; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 104; 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___56814; - s.tmp_1 = r0 = s.currMs___57131; - r0 = pxsim_pxtrt_ldlocRef(s.envA___56802); + s.tmp_0.argL = s.addForm___111700; + s.tmp_1 = r0 = s.currMs___112017; + r0 = pxsim_pxtrt_ldlocRef(s.envA___111688); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___56803); + r0 = pxsim_pxtrt_ldlocRef(s.envD___111689); 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___56804); + r0 = pxsim_pxtrt_ldlocRef(s.envS___111690); s.tmp_0.arg1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___56804); + r0 = pxsim_pxtrt_ldlocRef(s.envS___111690); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___56803); + r0 = pxsim_pxtrt_ldlocRef(s.envD___111689); s.tmp_5 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___56802); + r0 = pxsim_pxtrt_ldlocRef(s.envA___111688); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; @@ -19097,50 +19097,50 @@ switch (step) { case 76: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___56814; - r0 = pxsim_pxtrt_ldlocRef(s.envR___56805); + s.tmp_0.argL = s.addForm___111700; + r0 = pxsim_pxtrt_ldlocRef(s.envR___111691); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___56804); + r0 = pxsim_pxtrt_ldlocRef(s.envS___111690); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.currMs___57131; + s.tmp_0.arg3 = s.currMs___112017; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 106; s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P49561_mk(s); + s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P104447_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.timePos___56797 - s.now___56801); + r0 = (s.timePos___111683 - s.now___111687); s.tmp_0.arg1 = r0; - s.tmp_1 = r0 = s.sndInstr___56807; - r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___56813); + s.tmp_1 = r0 = s.sndInstr___111693; + r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___111699); s.tmp_2 = r0; r0 = pxsim.BufferMethods.slice(s.tmp_1, 0, s.tmp_2); s.tmp_0.arg2 = r0; s.callLocIdx = 107; s.pc = 78; return s.tmp_0; case 78: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.endHz___56793, -1); - r0 = (s.timePos___56797 + s.currMs___57131); - s.timePos___56797 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___111679, -1); + r0 = (s.timePos___111683 + s.currMs___112017); + s.timePos___111683 = (r0); case 54: case 55: - r0 = (s.timePos___56797 - s.now___56801); - s.timeLeft___57192 = (r0); - r0 = (s.timeLeft___57192 > 200); + r0 = (s.timePos___111683 - s.now___111687); + s.timeLeft___112078 = (r0); + r0 = (s.timeLeft___112078 > 200); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 56; continue; } - s.tmp_1 = pause__P46381_mk(s); - r0 = (s.timeLeft___57192 - 100); + s.tmp_1 = pause__P101267_mk(s); + r0 = (s.timeLeft___112078 - 100); s.tmp_1.arg0 = r0; s.callLocIdx = 108; 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___56798); - s.now___56801 = (r0); + r0 = (s.tmp_0 - s.startTime___111684); + s.now___111687 = (r0); case 56: case 57: { step = 3; continue; } @@ -19150,12 +19150,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_MelodyPlayer_play__P47592.info = {"start":10980,"length":9006,"line":341,"column":8,"endLine":572,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_MelodyPlayer_play__P102478.info = {"start":10980,"length":9006,"line":341,"column":8,"endLine":572,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_MelodyPlayer_play__P47592_mk(s) { +function music_MelodyPlayer_play__P102478_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_play__P47592, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_play__P102478, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19168,39 +19168,39 @@ function music_MelodyPlayer_play__P47592_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - notes___56784: undefined, - pos___56788: undefined, - duration___56789: undefined, - octave___56790: undefined, - tempo___56791: undefined, - hz___56792: undefined, - endHz___56793: undefined, - ms___56796: undefined, - timePos___56797: undefined, - startTime___56798: undefined, - now___56801: undefined, - envA___56802: undefined, - envD___56803: undefined, - envS___56804: undefined, - envR___56805: undefined, - soundWave___56806: undefined, - sndInstr___56807: undefined, - sndInstrPtr___56813: undefined, - addForm___56814: undefined, - scanNextWord___56874: undefined, - token___56931: undefined, - tokenKind___56932: undefined, - consumeToken___56935: undefined, - currNote___57011: undefined, - prevNote___57013: undefined, - timeLeft___57016: undefined, - note___57030: undefined, - i___57034: undefined, - noteChar___57040: undefined, - keyNumber___57114: undefined, - currMs___57131: undefined, - beat___57135: undefined, - timeLeft___57192: undefined, + notes___111670: undefined, + pos___111674: undefined, + duration___111675: undefined, + octave___111676: undefined, + tempo___111677: undefined, + hz___111678: undefined, + endHz___111679: undefined, + ms___111682: undefined, + timePos___111683: undefined, + startTime___111684: undefined, + now___111687: undefined, + envA___111688: undefined, + envD___111689: undefined, + envS___111690: undefined, + envR___111691: undefined, + soundWave___111692: undefined, + sndInstr___111693: undefined, + sndInstrPtr___111699: undefined, + addForm___111700: undefined, + scanNextWord___111760: undefined, + token___111817: undefined, + tokenKind___111818: undefined, + consumeToken___111821: undefined, + currNote___111897: undefined, + prevNote___111899: undefined, + timeLeft___111902: undefined, + note___111916: undefined, + i___111920: undefined, + noteChar___111926: undefined, + keyNumber___112000: undefined, + currMs___112017: undefined, + beat___112021: undefined, + timeLeft___112078: undefined, arg0: undefined, arg1: undefined, } } @@ -19209,7 +19209,7 @@ function music_MelodyPlayer_play__P47592_mk(s) { -function inline__P56815(s) { +function inline__P111701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19219,10 +19219,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.freqStart___56820 = undefined; - s.freqEnd___56822 = undefined; - s.envelopeWidth___56824 = undefined; - s.slope___56842 = undefined; + s.freqStart___111706 = undefined; + s.freqEnd___111708 = undefined; + s.envelopeWidth___111710 = undefined; + s.slope___111728 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19231,9 +19231,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.freqStart___56820 = (r0); + s.freqStart___111706 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.freqEnd___56822 = (r0); + s.freqEnd___111708 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -19257,7 +19257,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_7 = r0; - s.envelopeWidth___56824 = (s.tmp_7); + s.envelopeWidth___111710 = (s.tmp_7); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); @@ -19269,35 +19269,35 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.envelopeWidth___56824 != 0); + r0 = (s.envelopeWidth___111710 != 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___56822 - s.freqStart___56820); + r0 = (s.freqEnd___111708 - s.freqStart___111706); s.tmp_4 = r0; - r0 = (s.tmp_4 / s.envelopeWidth___56824); - s.slope___56842 = (r0); + r0 = (s.tmp_4 / s.envelopeWidth___111710); + s.slope___111728 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - r0 = (s.slope___56842 * s.arg3); + r0 = (s.slope___111728 * s.arg3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqStart___56820 = (r0); + s.freqStart___111706 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - s.tmp_2 = r0 = s.slope___56842; + s.tmp_2 = r0 = s.slope___111728; 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___56822 = (r0); + s.freqEnd___111708 = (r0); case 5: case 6: s.tmp_0 = r0 = s.caps[6]; - s.tmp_2 = music_addNote__P49560_mk(s); + s.tmp_2 = music_addNote__P104446_mk(s); s.tmp_2.arg0 = s.caps[7]; r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); s.tmp_2.arg1 = r0; @@ -19306,10 +19306,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___56820; + s.tmp_2.arg6 = s.freqStart___111706; r0 = pxsim_pxtrt_ldlocRef(s.caps[9]); s.tmp_2.arg7 = r0; - s.tmp_2.arg8 = s.freqEnd___56822; + s.tmp_2.arg8 = s.freqEnd___111708; s.callLocIdx = 86; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -19319,12 +19319,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56815.info = {"start":11788,"length":643,"line":367,"column":28,"endLine":378,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} +inline__P111701.info = {"start":11788,"length":643,"line":367,"column":28,"endLine":378,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} -function inline__P56815_mk(s) { +function inline__P111701_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56815, depth: s.depth + 1, + parent: s, fn: inline__P111701, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19334,10 +19334,10 @@ function inline__P56815_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - freqStart___56820: undefined, - freqEnd___56822: undefined, - envelopeWidth___56824: undefined, - slope___56842: undefined, + freqStart___111706: undefined, + freqEnd___111708: undefined, + envelopeWidth___111710: undefined, + slope___111728: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19348,7 +19348,7 @@ function inline__P56815_mk(s) { -function inline__P56875(s) { +function inline__P111761(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19358,9 +19358,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___56884 = undefined; - s.note___56901 = undefined; - s.c___56907 = undefined; + s.c___111770 = undefined; + s.note___111787 = undefined; + s.c___111793 = undefined; r0 = s.caps[0].fields["melody"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -19386,15 +19386,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___56884 = (r0); - r0 = (s.c___56884 != " "); + s.c___111770 = (r0); + r0 = (s.c___111770 != " "); 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___56884 != "\r"); + r0 = (s.c___111770 != "\r"); case 5: // jmp value (already in r0) s.tmp_1 = r0; @@ -19403,7 +19403,7 @@ switch (step) { r0 = s.tmp_1; { step = 7; continue; } case 6: - r0 = (s.c___56884 != "\n"); + r0 = (s.c___111770 != "\n"); case 7: // jmp value (already in r0) s.tmp_2 = r0; @@ -19412,7 +19412,7 @@ switch (step) { r0 = s.tmp_2; { step = 9; continue; } case 8: - r0 = (s.c___56884 != "\t"); + r0 = (s.c___111770 != "\t"); case 9: // jmp value (already in r0) s.tmp_3 = r0; @@ -19430,7 +19430,7 @@ switch (step) { { step = 3; continue; } case 12: r0 = pxsim_String_.mkEmpty(); - s.note___56901 = (r0); + s.note___111787 = (r0); case 13: r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; @@ -19444,15 +19444,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___56907 = (r0); - r0 = (s.c___56907 == " "); + s.c___111793 = (r0); + r0 = (s.c___111793 == " "); 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___56907 == "\r"); + r0 = (s.c___111793 == "\r"); case 15: // jmp value (already in r0) s.tmp_1 = r0; @@ -19461,7 +19461,7 @@ switch (step) { r0 = s.tmp_1; { step = 17; continue; } case 16: - r0 = (s.c___56907 == "\n"); + r0 = (s.c___111793 == "\n"); case 17: // jmp value (already in r0) s.tmp_2 = r0; @@ -19470,7 +19470,7 @@ switch (step) { r0 = s.tmp_2; { step = 19; continue; } case 18: - r0 = (s.c___56907 == "\t"); + r0 = (s.c___111793 == "\t"); case 19: // jmp value (already in r0) s.tmp_3 = r0; @@ -19479,26 +19479,26 @@ switch (step) { { step = 22; continue; } case 20: case 21: - if ((s.note___56901) && (s.note___56901).vtable) { + if ((s.note___111787) && (s.note___111787).vtable) { setupResume(s, 24); - pxsim_String__stringConv(s.note___56901); + pxsim_String__stringConv(s.note___111787); checkResumeConsumed(); return; - } else { s.retval = (s.note___56901) + ""; } + } else { s.retval = (s.note___111787) + ""; } case 24: r0 = s.retval; s.tmp_4 = r0; - if ((s.c___56907) && (s.c___56907).vtable) { + if ((s.c___111793) && (s.c___111793).vtable) { setupResume(s, 25); - pxsim_String__stringConv(s.c___56907); + pxsim_String__stringConv(s.c___111793); checkResumeConsumed(); return; - } else { s.retval = (s.c___56907) + ""; } + } else { s.retval = (s.c___111793) + ""; } case 25: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_String__concat(s.tmp_4, s.tmp_5); - s.note___56901 = (r0); + s.note___111787 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; @@ -19507,17 +19507,17 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 13; continue; } case 22: - r0 = s.note___56901; + r0 = s.note___111787; case 23: return leave(s, r0) default: oops() } } } -inline__P56875.info = {"start":12466,"length":708,"line":380,"column":33,"endLine":402,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P111761.info = {"start":12466,"length":708,"line":380,"column":33,"endLine":402,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P56875_mk(s) { +function inline__P111761_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56875, depth: s.depth + 1, + parent: s, fn: inline__P111761, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19527,16 +19527,16 @@ function inline__P56875_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - c___56884: undefined, - note___56901: undefined, - c___56907: undefined, + c___111770: undefined, + note___111787: undefined, + c___111793: undefined, } } -function inline__P56936(s) { +function inline__P111822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19546,7 +19546,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___56942 = undefined; + s.d___111828 = undefined; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -19562,14 +19562,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 15; continue; } - s.tmp_3 = parseInt__P46074_mk(s); + s.tmp_3 = parseInt__P100960_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = undefined; s.callLocIdx = 87; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; - s.d___56942 = (r0); + s.d___111828 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); @@ -19597,15 +19597,15 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 3: - r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___56942); + r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___111828); { step = 14; continue; } case 4: s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = Math_max__P46104_mk(s); + s.tmp_2 = Math_max__P100990_mk(s); s.tmp_2.arg0 = 1; - s.tmp_3 = Math_min__P46105_mk(s); + s.tmp_3 = Math_min__P100991_mk(s); s.tmp_3.arg0 = 16; - s.tmp_3.arg1 = s.d___56942; + s.tmp_3.arg1 = s.d___111828; s.callLocIdx = 88; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; @@ -19619,9 +19619,9 @@ switch (step) { { step = 14; continue; } case 5: s.tmp_0 = r0 = s.caps[5]; - s.tmp_2 = Math_max__P46104_mk(s); + s.tmp_2 = Math_max__P100990_mk(s); s.tmp_2.arg0 = 1; - s.tmp_2.arg1 = s.d___56942; + s.tmp_2.arg1 = s.d___111828; s.callLocIdx = 90; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; @@ -19629,18 +19629,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___56942); + r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___111828); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 6); { step = 14; continue; } case 7: - r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___56942); + r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___111828); { step = 14; continue; } case 8: s.tmp_0 = r0 = s.caps[7]; - s.tmp_2 = Math_clamp__P46101_mk(s); + s.tmp_2 = Math_clamp__P100987_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = 15; - s.tmp_2.arg2 = s.d___56942; + s.tmp_2.arg2 = s.d___111828; s.callLocIdx = 91; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; @@ -19648,19 +19648,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___56942); + r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___111828); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 9); { step = 14; continue; } case 10: - r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___56942); + r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___111828); 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__P46101_mk(s); + s.tmp_2 = Math_clamp__P100987_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 255; - s.tmp_2.arg2 = s.d___56942; + s.tmp_2.arg2 = s.d___111828; s.callLocIdx = 92; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; @@ -19669,10 +19669,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___56942); + r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___111828); { step = 14; continue; } case 13: - r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___56942); + r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___111828); case 14: s.tmp_0 = r0 = s.caps[0]; r0 = pxsim_String_.mkEmpty(); @@ -19684,25 +19684,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56936.info = {"start":14207,"length":1189,"line":438,"column":33,"endLine":459,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P111822.info = {"start":14207,"length":1189,"line":438,"column":33,"endLine":459,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P56936_mk(s) { +function inline__P111822_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56936, depth: s.depth + 1, + parent: s, fn: inline__P111822, 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___56942: undefined, + d___111828: undefined, } } -function music_MelodyPlayer_queuePlayInstructions__P49561(s) { +function music_MelodyPlayer_queuePlayInstructions__P104447(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19719,18 +19719,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C47587_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C102473_VT)) failedCast(r0); r0 = pxsim.music.queuePlayInstructions(s.arg1, s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_queuePlayInstructions__P49561.info = {"start":10845,"length":125,"line":337,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"queuePlayInstructions","argumentNames":["this","timeDelta","buf"]} +music_MelodyPlayer_queuePlayInstructions__P104447.info = {"start":10845,"length":125,"line":337,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"queuePlayInstructions","argumentNames":["this","timeDelta","buf"]} -function music_MelodyPlayer_queuePlayInstructions__P49561_mk(s) { +function music_MelodyPlayer_queuePlayInstructions__P104447_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P49561, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P104447, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19741,7 +19741,7 @@ function music_MelodyPlayer_queuePlayInstructions__P49561_mk(s) { -function music_addNote__P49560(s) { +function music_addNote__P104446(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19809,12 +19809,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P49560.info = {"start":9705,"length":904,"line":308,"column":4,"endLine":321,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P104446.info = {"start":9705,"length":904,"line":308,"column":4,"endLine":321,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -function music_addNote__P49560_mk(s) { +function music_addNote__P104446_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P49560, depth: s.depth + 1, + parent: s, fn: music_addNote__P104446, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19835,7 +19835,7 @@ function music_addNote__P49560_mk(s) { -function music_volume__P47572(s) { +function music_volume__P102458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19845,20 +19845,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P49552_mk(s); + s.tmp_0 = music_initVolume__P104438_mk(s); s.callLocIdx = 63; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___49548; + r0 = globals.globalVolume___104434; return leave(s, r0) default: oops() } } } -music_volume__P47572.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P102458.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__P47572_mk(s) { +function music_volume__P102458_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P47572, depth: s.depth + 1, + parent: s, fn: music_volume__P102458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19867,7 +19867,7 @@ function music_volume__P47572_mk(s) { -function music_initVolume__P49552(s) { +function music_initVolume__P104438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19877,12 +19877,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___49548 === null); + r0 = (globals.globalVolume___104434 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___49548 = (0); - s.tmp_0 = music_setVolume__P47571_mk(s); + globals.globalVolume___104434 = (0); + s.tmp_0 = music_setVolume__P102457_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 60; s.pc = 3; return s.tmp_0; @@ -19894,12 +19894,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P49552.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P104438.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__P49552_mk(s) { +function music_initVolume__P104438_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P49552, depth: s.depth + 1, + parent: s, fn: music_initVolume__P104438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19908,7 +19908,7 @@ function music_initVolume__P49552_mk(s) { -function music_setVolume__P47571(s) { +function music_setVolume__P102457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19922,7 +19922,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P46101_mk(s); + s.tmp_0 = Math_clamp__P100987_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -19930,8 +19930,8 @@ switch (step) { s.callLocIdx = 61; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___49548 = (r0); - r0 = (globals.globalVolume___49548 > 0); + globals.globalVolume___104434 = (r0); + r0 = (globals.globalVolume___104434 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -19947,12 +19947,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P47571.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__P102457.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__P47571_mk(s) { +function music_setVolume__P102457_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P47571, depth: s.depth + 1, + parent: s, fn: music_setVolume__P102457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19963,7 +19963,7 @@ function music_setVolume__P47571_mk(s) { -function music_enableAmp__P49551(s) { +function music_enableAmp__P104437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19981,12 +19981,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P49551.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__P104437.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__P49551_mk(s) { +function music_enableAmp__P104437_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P49551, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P104437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19995,7 +19995,7 @@ function music_enableAmp__P49551_mk(s) { -function parseInt__P46074(s) { +function parseInt__P100960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20005,13 +20005,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___51958 = undefined; - s.sign___51988 = undefined; - s.output___52033 = undefined; - s.hasDigit___52034 = undefined; - s.i___52035 = undefined; - s.code___52042 = undefined; - s.val___52049 = undefined; + s.start___106844 = undefined; + s.sign___106874 = undefined; + s.output___106919 = undefined; + s.hasDigit___106920 = undefined; + s.i___106921 = undefined; + s.code___106928 = undefined; + s.val___106935 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20058,9 +20058,9 @@ switch (step) { { step = 46; continue; } case 7: case 8: - s.start___51958 = (0); + s.start___106844 = (0); case 9: - s.tmp_1 = r0 = s.start___51958; + s.tmp_1 = r0 = s.start___106844; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -20070,8 +20070,8 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - s.tmp_3 = helpers_isWhitespace__P46098_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___51958); + s.tmp_3 = helpers_isWhitespace__P100984_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___106844); s.tmp_3.arg0 = r0; s.callLocIdx = 0; s.pc = 47; return s.tmp_3; case 47: @@ -20081,11 +20081,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - r0 = (s.start___51958 + 1); - s.start___51958 = (r0); + r0 = (s.start___106844 + 1); + s.start___106844 = (r0); { step = 9; continue; } case 12: - s.tmp_1 = r0 = s.start___51958; + s.tmp_1 = r0 = s.start___106844; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); @@ -20096,8 +20096,8 @@ switch (step) { { step = 46; continue; } case 13: case 14: - s.sign___51988 = (1); - r0 = pxsim_String_.charAt(s.arg0, s.start___51958); + s.sign___106874 = (1); + r0 = pxsim_String_.charAt(s.arg0, s.start___106844); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq("-", s.tmp_0); if (r0) { step = 15; continue; } @@ -20106,10 +20106,10 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 15: - s.sign___51988 = (-1); + s.sign___106874 = (-1); case 16: - r0 = (s.start___51958 + 1); - s.start___51958 = (r0); + r0 = (s.start___106844 + 1); + s.start___106844 = (r0); case 17: r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; @@ -20129,7 +20129,7 @@ switch (step) { r0 = s.tmp_2; { step = 21; continue; } case 20: - r0 = pxsim_String_.charAt(s.arg0, s.start___51958); + r0 = pxsim_String_.charAt(s.arg0, s.start___106844); s.tmp_3 = r0; r0 = ("0" === s.tmp_3); case 21: @@ -20141,7 +20141,7 @@ switch (step) { { step = 25; continue; } case 22: s.tmp_7 = r0 = s.arg0; - r0 = (s.start___51958 + 1); + r0 = (s.start___106844 + 1); s.tmp_8 = r0; r0 = pxsim_String_.charAt(s.tmp_7, s.tmp_8); s.tmp_6 = r0; @@ -20153,7 +20153,7 @@ switch (step) { { step = 24; continue; } case 23: s.tmp_10 = r0 = s.arg0; - r0 = (s.start___51958 + 1); + r0 = (s.start___106844 + 1); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -20168,8 +20168,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_13); if (!r0) { step = 26; continue; } s.arg1 = (16); - r0 = (s.start___51958 + 2); - s.start___51958 = (r0); + r0 = (s.start___106844 + 2); + s.start___106844 = (r0); { step = 29; continue; } case 26: r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -20182,73 +20182,73 @@ switch (step) { case 27: case 28: case 29: - s.output___52033 = (0); - s.hasDigit___52034 = (false); - s.i___52035 = (s.start___51958); + s.output___106919 = (0); + s.hasDigit___106920 = (false); + s.i___106921 = (s.start___106844); case 30: - s.tmp_1 = r0 = s.i___52035; + s.tmp_1 = r0 = s.i___106921; 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___52035); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___106921); s.tmp_3 = r0; r0 = (s.tmp_3 | 32); - s.code___52042 = (r0); - s.val___52049 = (undefined); - r0 = (s.code___52042 >= 48); + s.code___106928 = (r0); + s.val___106935 = (undefined); + r0 = (s.code___106928 >= 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___52042 < 58); + r0 = (s.code___106928 < 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___52042 - 48); - s.val___52049 = (r0); + r0 = (s.code___106928 - 48); + s.val___106935 = (r0); { step = 38; continue; } case 33: - r0 = (s.code___52042 >= 97); + r0 = (s.code___106928 >= 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___52042 < 123); + r0 = (s.code___106928 < 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___52042); + r0 = (10 + s.code___106928); s.tmp_2 = r0; r0 = (s.tmp_2 - 97); - s.val___52049 = (r0); + s.val___106935 = (r0); case 36: case 37: case 38: - r0 = (s.val___52049 == undefined); + r0 = (s.val___106935 == 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___52049 >= s.arg1); + r0 = (s.val___106935 >= 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___52034); + r0 = pxsim_numops_toBoolDecr(s.hasDigit___106920); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -20261,26 +20261,26 @@ switch (step) { { step = 45; continue; } case 43: case 44: - s.hasDigit___52034 = (true); - r0 = (s.output___52033 * s.arg1); + s.hasDigit___106920 = (true); + r0 = (s.output___106919 * s.arg1); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.val___52049); - s.output___52033 = (r0); - r0 = (s.i___52035 + 1); - s.i___52035 = (r0); + r0 = (s.tmp_0 + s.val___106935); + s.output___106919 = (r0); + r0 = (s.i___106921 + 1); + s.i___106921 = (r0); { step = 30; continue; } case 45: - r0 = (s.sign___51988 * s.output___52033); + r0 = (s.sign___106874 * s.output___106919); case 46: return leave(s, r0) default: oops() } } } -parseInt__P46074.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__P100960.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__P46074_mk(s) { +function parseInt__P100960_mk(s) { checkStack(s.depth); return { - parent: s, fn: parseInt__P46074, depth: s.depth + 1, + parent: s, fn: parseInt__P100960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20296,13 +20296,13 @@ function parseInt__P46074_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - start___51958: undefined, - sign___51988: undefined, - output___52033: undefined, - hasDigit___52034: undefined, - i___52035: undefined, - code___52042: undefined, - val___52049: undefined, + start___106844: undefined, + sign___106874: undefined, + output___106919: undefined, + hasDigit___106920: undefined, + i___106921: undefined, + code___106928: undefined, + val___106935: undefined, arg0: undefined, arg1: undefined, } } @@ -20311,7 +20311,7 @@ function parseInt__P46074_mk(s) { -function helpers_isWhitespace__P46098(s) { +function helpers_isWhitespace__P100984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20368,12 +20368,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_isWhitespace__P46098.info = {"start":13875,"length":674,"line":476,"column":4,"endLine":493,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} +helpers_isWhitespace__P100984.info = {"start":13875,"length":674,"line":476,"column":4,"endLine":493,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} -function helpers_isWhitespace__P46098_mk(s) { +function helpers_isWhitespace__P100984_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_isWhitespace__P46098, depth: s.depth + 1, + parent: s, fn: helpers_isWhitespace__P100984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20383,7 +20383,7 @@ function helpers_isWhitespace__P46098_mk(s) { -function music_MelodyPlayer_constructor__P47590(s) { +function music_MelodyPlayer_constructor__P102476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20399,18 +20399,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C47587_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C102473_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_constructor__P47590.info = {"start":10714,"length":62,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} +music_MelodyPlayer_constructor__P102476.info = {"start":10714,"length":62,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} -function music_MelodyPlayer_constructor__P47590_mk(s) { +function music_MelodyPlayer_constructor__P102476_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_constructor__P47590, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_constructor__P102476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20420,7 +20420,7 @@ function music_MelodyPlayer_constructor__P47590_mk(s) { -function music_Melody_stop__P47582(s) { +function music_Melody_stop__P102468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20435,12 +20435,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C47577_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C102463_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__P47591_mk(s); + s.tmp_1 = music_MelodyPlayer_stop__P102477_mk(s); r0 = s.arg0.fields["_player"]; s.tmp_1.arg0 = r0; s.callLocIdx = 76; s.pc = 3; return s.tmp_1; @@ -20449,7 +20449,7 @@ switch (step) { r0 = (s.arg0).fields["_player"] = (null); case 1: case 2: - s.tmp_0 = music_Melody_unregisterMelody__P49557_mk(s); + s.tmp_0 = music_Melody_unregisterMelody__P104443_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 77; s.pc = 4; return s.tmp_0; case 4: @@ -20458,12 +20458,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_stop__P47582.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__P102468.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__P47582_mk(s) { +function music_Melody_stop__P102468_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_stop__P47582, depth: s.depth + 1, + parent: s, fn: music_Melody_stop__P102468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20474,7 +20474,7 @@ function music_Melody_stop__P47582_mk(s) { -function music_MelodyPlayer_stop__P47591(s) { +function music_MelodyPlayer_stop__P102477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20489,18 +20489,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C47587_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C102473_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (null); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_stop__P47591.info = {"start":10786,"length":49,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} +music_MelodyPlayer_stop__P102477.info = {"start":10786,"length":49,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} -function music_MelodyPlayer_stop__P47591_mk(s) { +function music_MelodyPlayer_stop__P102477_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_stop__P47591, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_stop__P102477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20509,7 +20509,7 @@ function music_MelodyPlayer_stop__P47591_mk(s) { -function music_convertRTTTLToMelody__P64788(s) { +function music_convertRTTTLToMelody__P118703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20519,16 +20519,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.defaultd___64822 = undefined; - s.defaulto___64823 = undefined; - s.defaultb___64824 = undefined; - s.dotc___64825 = undefined; - s.sharp___64829 = undefined; - s.convertNote___64833 = undefined; - s.parts___64978 = undefined; - s.name___64984 = undefined; - s.data___65013 = undefined; - s.melody___65019 = undefined; + s.defaultd___118737 = undefined; + s.defaulto___118738 = undefined; + s.defaultb___118739 = undefined; + s.dotc___118740 = undefined; + s.sharp___118744 = undefined; + s.convertNote___118748 = undefined; + s.parts___118893 = undefined; + s.name___118899 = undefined; + s.data___118928 = undefined; + s.melody___118934 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -20544,44 +20544,44 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.defaultd___64822 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.defaultd___64822, 1); + s.defaultd___118737 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.defaultd___118737, 1); r0 = pxsim_pxtrt.mklocRef(); - s.defaulto___64823 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.defaulto___64823, 8); + s.defaulto___118738 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.defaulto___118738, 8); r0 = pxsim_pxtrt.mklocRef(); - s.defaultb___64824 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.defaultb___64824, 120); + s.defaultb___118739 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.defaultb___118739, 120); r0 = pxsim_String_.charCodeAt(".", 0); - s.dotc___64825 = (r0); + s.dotc___118740 = (r0); r0 = pxsim_String_.charCodeAt("#", 0); - s.sharp___64829 = (r0); - r0 = pxsim_pxtcore_mkAction(4, inline__P64834); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.defaultd___64822); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.sharp___64829); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dotc___64825); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.defaulto___64823); - s.convertNote___64833 = (s.tmp_0); - s.tmp_0 = helpers_stringSplit__P46096_mk(s); + s.sharp___118744 = (r0); + r0 = pxsim_pxtcore_mkAction(4, inline__P118749); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.defaultd___118737); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.sharp___118744); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dotc___118740); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.defaulto___118738); + s.convertNote___118748 = (s.tmp_0); + s.tmp_0 = helpers_stringSplit__P100982_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = ":"; s.tmp_0.arg2 = undefined; s.callLocIdx = 80; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.parts___64978 = (r0); - r0 = pxsim_Array__getAt(s.parts___64978, 0); - s.name___64984 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P64997); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.defaultd___64822); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.defaulto___64823); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.defaultb___64824); - s.tmp_1 = helpers_arrayForEach__P46086_mk(s); - s.tmp_2 = helpers_arrayMap__P46083_mk(s); - s.tmp_3 = helpers_stringSplit__P46096_mk(s); - r0 = pxsim_Array__getAt(s.parts___64978, 1); + s.parts___118893 = (r0); + r0 = pxsim_Array__getAt(s.parts___118893, 0); + s.name___118899 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P118912); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.defaultd___118737); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.defaulto___118738); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.defaultb___118739); + s.tmp_1 = helpers_arrayForEach__P100972_mk(s); + s.tmp_2 = helpers_arrayMap__P100969_mk(s); + s.tmp_3 = helpers_stringSplit__P100982_mk(s); + r0 = pxsim_Array__getAt(s.parts___118893, 1); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = ","; s.tmp_3.arg2 = undefined; @@ -20589,7 +20589,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P64992; + s.tmp_2.arg1 = inline__P118907; s.callLocIdx = 83; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; @@ -20598,21 +20598,21 @@ switch (step) { s.callLocIdx = 87; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = helpers_stringSplit__P46096_mk(s); - r0 = pxsim_Array__getAt(s.parts___64978, 2); + s.tmp_0 = helpers_stringSplit__P100982_mk(s); + r0 = pxsim_Array__getAt(s.parts___118893, 2); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = ","; s.tmp_0.arg2 = undefined; s.callLocIdx = 88; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.data___65013 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P65025); + s.data___118928 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P118940); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.convertNote___64833); - s.tmp_1 = helpers_arrayJoin__P46080_mk(s); - s.tmp_2 = helpers_arrayMap__P46083_mk(s); - s.tmp_2.arg0 = s.data___65013; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.convertNote___118748); + s.tmp_1 = helpers_arrayJoin__P100966_mk(s); + s.tmp_2 = helpers_arrayMap__P100969_mk(s); + s.tmp_2.arg0 = s.data___118928; s.tmp_2.arg1 = s.tmp_0; s.callLocIdx = 90; s.pc = 10; return s.tmp_2; case 10: @@ -20622,33 +20622,33 @@ switch (step) { s.callLocIdx = 91; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.melody___65019 = (r0); - r0 = s.melody___65019; + s.melody___118934 = (r0); + r0 = s.melody___118934; case 3: return leave(s, r0) default: oops() } } } -music_convertRTTTLToMelody__P64788.info = {"start":576,"length":2173,"line":22,"column":4,"endLine":83,"endColumn":5,"fileName":"main.ts","functionName":"convertRTTTLToMelody","argumentNames":["notes"]} +music_convertRTTTLToMelody__P118703.info = {"start":512,"length":2173,"line":18,"column":4,"endLine":79,"endColumn":5,"fileName":"main.ts","functionName":"convertRTTTLToMelody","argumentNames":["notes"]} -function music_convertRTTTLToMelody__P64788_mk(s) { +function music_convertRTTTLToMelody__P118703_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_convertRTTTLToMelody__P64788, depth: s.depth + 1, + parent: s, fn: music_convertRTTTLToMelody__P118703, 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, - defaultd___64822: undefined, - defaulto___64823: undefined, - defaultb___64824: undefined, - dotc___64825: undefined, - sharp___64829: undefined, - convertNote___64833: undefined, - parts___64978: undefined, - name___64984: undefined, - data___65013: undefined, - melody___65019: undefined, + defaultd___118737: undefined, + defaulto___118738: undefined, + defaultb___118739: undefined, + dotc___118740: undefined, + sharp___118744: undefined, + convertNote___118748: undefined, + parts___118893: undefined, + name___118899: undefined, + data___118928: undefined, + melody___118934: undefined, arg0: undefined, } } @@ -20656,7 +20656,7 @@ function music_convertRTTTLToMelody__P64788_mk(s) { -function inline__P64834(s) { +function inline__P118749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20666,30 +20666,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.onote___64836 = undefined; - s.i___64842 = undefined; - s.d___64873 = undefined; - s.thenote___64889 = undefined; - s.hassharp___64897 = undefined; - s.dot___64909 = undefined; - s.octave___64934 = undefined; - s.duration___64950 = undefined; - s.mk___64960 = undefined; + s.onote___118751 = undefined; + s.i___118757 = undefined; + s.d___118788 = undefined; + s.thenote___118804 = undefined; + s.hassharp___118812 = undefined; + s.dot___118824 = undefined; + s.octave___118849 = undefined; + s.duration___118865 = undefined; + s.mk___118875 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_stringSlice__P46094_mk(s); + s.tmp_0 = helpers_stringSlice__P100980_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = undefined; s.callLocIdx = 68; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.onote___64836 = (r0); - s.i___64842 = (0); + s.onote___118751 = (r0); + s.i___118757 = (0); case 1: - s.tmp_1 = r0 = s.i___64842; + s.tmp_1 = r0 = s.i___118757; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -20699,9 +20699,9 @@ switch (step) { r0 = s.tmp_0; { step = 3; continue; } case 2: - s.tmp_3 = music_isSpace__P64789_mk(s); + s.tmp_3 = music_isSpace__P118704_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.i___64842; + s.tmp_3.arg1 = s.i___118757; s.callLocIdx = 69; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; @@ -20710,21 +20710,21 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 4; continue; } - r0 = (s.i___64842 + 1); - s.i___64842 = (r0); + r0 = (s.i___118757 + 1); + s.i___118757 = (r0); { step = 1; continue; } case 4: - s.tmp_0 = helpers_stringSlice__P46094_mk(s); + s.tmp_0 = helpers_stringSlice__P100980_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___64842; + s.tmp_0.arg1 = s.i___118757; s.tmp_0.arg2 = undefined; s.callLocIdx = 70; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.arg0 = (r0); - s.i___64842 = (0); + s.i___118757 = (0); case 5: - s.tmp_1 = r0 = s.i___64842; + s.tmp_1 = r0 = s.i___118757; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -20734,9 +20734,9 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_3 = music_isDigit__P64805_mk(s); + s.tmp_3 = music_isDigit__P118720_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.i___64842; + s.tmp_3.arg1 = s.i___118757; s.callLocIdx = 71; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; @@ -20745,19 +20745,19 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 8; continue; } - r0 = (s.i___64842 + 1); - s.i___64842 = (r0); + r0 = (s.i___118757 + 1); + s.i___118757 = (r0); { step = 5; continue; } case 8: - r0 = (s.i___64842 == 0); + r0 = (s.i___118757 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); { step = 10; continue; } case 9: - s.tmp_1 = parseInt__P46074_mk(s); - r0 = pxsim_String_.substr(s.arg0, 0, s.i___64842); + s.tmp_1 = parseInt__P100960_mk(s); + r0 = pxsim_String_.substr(s.arg0, 0, s.i___118757); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.callLocIdx = 72; s.pc = 29; return s.tmp_1; @@ -20766,18 +20766,18 @@ switch (step) { case 10: // jmp value (already in r0) s.tmp_2 = r0; - s.d___64873 = (s.tmp_2); - s.tmp_0 = helpers_stringSlice__P46094_mk(s); + s.d___118788 = (s.tmp_2); + s.tmp_0 = helpers_stringSlice__P100980_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___64842; + s.tmp_0.arg1 = s.i___118757; s.tmp_0.arg2 = undefined; s.callLocIdx = 73; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; s.arg0 = (r0); r0 = pxsim_String_.substr(s.arg0, 0, 1); - s.thenote___64889 = (r0); - s.tmp_0 = helpers_stringSlice__P46094_mk(s); + s.thenote___118804 = (r0); + s.tmp_0 = helpers_stringSlice__P100980_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = undefined; @@ -20788,10 +20788,10 @@ switch (step) { r0 = pxsim_String_.charCodeAt(s.arg0, 0); s.tmp_0 = r0; r0 = (s.tmp_0 === s.caps[1]); - s.hassharp___64897 = (r0); - r0 = pxsim_numops_toBoolDecr(s.hassharp___64897); + s.hassharp___118812 = (r0); + r0 = pxsim_numops_toBoolDecr(s.hassharp___118812); if (!r0) { step = 11; continue; } - s.tmp_0 = helpers_stringSlice__P46094_mk(s); + s.tmp_0 = helpers_stringSlice__P100980_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = undefined; @@ -20804,10 +20804,10 @@ switch (step) { r0 = pxsim_String_.charCodeAt(s.arg0, 0); s.tmp_0 = r0; r0 = (s.tmp_0 == s.caps[2]); - s.dot___64909 = (r0); - r0 = pxsim_numops_toBoolDecr(s.dot___64909); + s.dot___118824 = (r0); + r0 = pxsim_numops_toBoolDecr(s.dot___118824); if (!r0) { step = 13; continue; } - s.tmp_0 = helpers_stringSlice__P46094_mk(s); + s.tmp_0 = helpers_stringSlice__P100980_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = undefined; @@ -20817,9 +20817,9 @@ switch (step) { s.arg0 = (r0); case 13: case 14: - s.i___64842 = (0); + s.i___118757 = (0); case 15: - s.tmp_1 = r0 = s.i___64842; + s.tmp_1 = r0 = s.i___118757; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -20829,9 +20829,9 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 16: - s.tmp_3 = music_isDigit__P64805_mk(s); + s.tmp_3 = music_isDigit__P118720_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.i___64842; + s.tmp_3.arg1 = s.i___118757; s.callLocIdx = 77; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; @@ -20840,19 +20840,19 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 18; continue; } - r0 = (s.i___64842 + 1); - s.i___64842 = (r0); + r0 = (s.i___118757 + 1); + s.i___118757 = (r0); { step = 15; continue; } case 18: - r0 = (s.i___64842 == 0); + r0 = (s.i___118757 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); { step = 20; continue; } case 19: - s.tmp_1 = parseInt__P46074_mk(s); - r0 = pxsim_String_.substr(s.arg0, 0, s.i___64842); + s.tmp_1 = parseInt__P100960_mk(s); + r0 = pxsim_String_.substr(s.arg0, 0, s.i___118757); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.callLocIdx = 78; s.pc = 35; return s.tmp_1; @@ -20861,27 +20861,27 @@ switch (step) { case 20: // jmp value (already in r0) s.tmp_2 = r0; - s.octave___64934 = (s.tmp_2); - s.tmp_0 = helpers_stringSlice__P46094_mk(s); + s.octave___118849 = (s.tmp_2); + s.tmp_0 = helpers_stringSlice__P100980_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___64842; + s.tmp_0.arg1 = s.i___118757; s.tmp_0.arg2 = undefined; s.callLocIdx = 79; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; s.arg0 = (r0); - r0 = (32 >> s.d___64873); - s.duration___64950 = (r0); - r0 = pxsim_numops_toBoolDecr(s.dot___64909); + r0 = (32 >> s.d___118788); + s.duration___118865 = (r0); + r0 = pxsim_numops_toBoolDecr(s.dot___118824); if (!r0) { step = 21; continue; } - s.tmp_0 = r0 = s.duration___64950; - r0 = (s.duration___64950 >> 1); + s.tmp_0 = r0 = s.duration___118865; + r0 = (s.duration___118865 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.duration___64950 = (r0); + s.duration___118865 = (r0); case 21: case 22: - r0 = pxsim_numops_toBoolDecr(s.hassharp___64897); + r0 = pxsim_numops_toBoolDecr(s.hassharp___118812); if (!r0) { step = 23; continue; } r0 = "#"; { step = 24; continue; } @@ -20892,12 +20892,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_String_.mkEmpty(); s.tmp_5 = r0; - if ((s.thenote___64889) && (s.thenote___64889).vtable) { + if ((s.thenote___118804) && (s.thenote___118804).vtable) { setupResume(s, 37); - pxsim_String__stringConv(s.thenote___64889); + pxsim_String__stringConv(s.thenote___118804); checkResumeConsumed(); return; - } else { s.retval = (s.thenote___64889) + ""; } + } else { s.retval = (s.thenote___118804) + ""; } case 37: r0 = s.retval; s.tmp_6 = r0; @@ -20914,12 +20914,12 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_4, s.tmp_7); s.tmp_3 = r0; - if ((s.octave___64934) && (s.octave___64934).vtable) { + if ((s.octave___118849) && (s.octave___118849).vtable) { setupResume(s, 39); - pxsim_String__stringConv(s.octave___64934); + pxsim_String__stringConv(s.octave___118849); checkResumeConsumed(); return; - } else { s.retval = (s.octave___64934) + ""; } + } else { s.retval = (s.octave___118849) + ""; } case 39: r0 = s.retval; s.tmp_8 = r0; @@ -20927,27 +20927,27 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ":"); s.tmp_1 = r0; - if ((s.duration___64950) && (s.duration___64950).vtable) { + if ((s.duration___118865) && (s.duration___118865).vtable) { setupResume(s, 40); - pxsim_String__stringConv(s.duration___64950); + pxsim_String__stringConv(s.duration___118865); checkResumeConsumed(); return; - } else { s.retval = (s.duration___64950) + ""; } + } else { s.retval = (s.duration___118865) + ""; } case 40: r0 = s.retval; s.tmp_9 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_9); - s.mk___64960 = (r0); - r0 = s.mk___64960; + s.mk___118875 = (r0); + r0 = s.mk___118875; return leave(s, r0) default: oops() } } } -inline__P64834.info = {"start":862,"length":1259,"line":32,"column":28,"endLine":65,"endColumn":9,"fileName":"main.ts","functionName":"inline","argumentNames":["note"]} +inline__P118749.info = {"start":798,"length":1259,"line":28,"column":28,"endLine":61,"endColumn":9,"fileName":"main.ts","functionName":"inline","argumentNames":["note"]} -function inline__P64834_mk(s) { +function inline__P118749_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64834, depth: s.depth + 1, + parent: s, fn: inline__P118749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20959,15 +20959,15 @@ function inline__P64834_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - onote___64836: undefined, - i___64842: undefined, - d___64873: undefined, - thenote___64889: undefined, - hassharp___64897: undefined, - dot___64909: undefined, - octave___64934: undefined, - duration___64950: undefined, - mk___64960: undefined, + onote___118751: undefined, + i___118757: undefined, + d___118788: undefined, + thenote___118804: undefined, + hassharp___118812: undefined, + dot___118824: undefined, + octave___118849: undefined, + duration___118865: undefined, + mk___118875: undefined, arg0: undefined, } } @@ -20975,7 +20975,7 @@ function inline__P64834_mk(s) { -function inline__P64992(s) { +function inline__P118907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20989,7 +20989,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_stringSplit__P46096_mk(s); + s.tmp_0 = helpers_stringSplit__P100982_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = "="; s.tmp_0.arg2 = undefined; @@ -20999,12 +20999,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64992.info = {"start":2238,"length":21,"line":70,"column":17,"endLine":70,"endColumn":38,"fileName":"main.ts","functionName":"inline","argumentNames":["kvs"]} +inline__P118907.info = {"start":2174,"length":21,"line":66,"column":17,"endLine":66,"endColumn":38,"fileName":"main.ts","functionName":"inline","argumentNames":["kvs"]} -function inline__P64992_mk(s) { +function inline__P118907_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64992, depth: s.depth + 1, + parent: s, fn: inline__P118907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21014,7 +21014,7 @@ function inline__P64992_mk(s) { -function inline__P64997(s) { +function inline__P118912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21040,7 +21040,7 @@ switch (step) { { step = 4; continue; } case 1: s.tmp_1 = r0 = s.caps[0]; - s.tmp_3 = parseInt__P46074_mk(s); + s.tmp_3 = parseInt__P100960_mk(s); r0 = pxsim_Array__getAt(s.arg0, 1); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = undefined; @@ -21052,7 +21052,7 @@ switch (step) { { step = 4; continue; } case 2: s.tmp_0 = r0 = s.caps[1]; - s.tmp_2 = parseInt__P46074_mk(s); + s.tmp_2 = parseInt__P100960_mk(s); r0 = pxsim_Array__getAt(s.arg0, 1); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -21064,7 +21064,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_0 = r0 = s.caps[2]; - s.tmp_2 = parseInt__P46074_mk(s); + s.tmp_2 = parseInt__P100960_mk(s); r0 = pxsim_Array__getAt(s.arg0, 1); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -21078,12 +21078,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64997.info = {"start":2282,"length":266,"line":71,"column":21,"endLine":77,"endColumn":13,"fileName":"main.ts","functionName":"inline","argumentNames":["kv"]} +inline__P118912.info = {"start":2218,"length":266,"line":67,"column":21,"endLine":73,"endColumn":13,"fileName":"main.ts","functionName":"inline","argumentNames":["kv"]} -function inline__P64997_mk(s) { +function inline__P118912_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64997, depth: s.depth + 1, + parent: s, fn: inline__P118912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21096,7 +21096,7 @@ function inline__P64997_mk(s) { -function inline__P65025(s) { +function inline__P118940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21120,12 +21120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65025.info = {"start":2670,"length":25,"line":80,"column":32,"endLine":80,"endColumn":57,"fileName":"main.ts","functionName":"inline","argumentNames":["note"]} +inline__P118940.info = {"start":2606,"length":25,"line":76,"column":32,"endLine":76,"endColumn":57,"fileName":"main.ts","functionName":"inline","argumentNames":["note"]} -function inline__P65025_mk(s) { +function inline__P118940_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65025, depth: s.depth + 1, + parent: s, fn: inline__P118940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21135,7 +21135,7 @@ function inline__P65025_mk(s) { -function helpers_arrayJoin__P46080(s) { +function helpers_arrayJoin__P100966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21145,9 +21145,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___51723 = undefined; - s.len___51724 = undefined; - s.i___51727 = undefined; + s.r___106609 = undefined; + s.len___106610 = undefined; + s.i___106613 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21170,16 +21170,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___51723 = (r0); + s.r___106609 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___51724 = (r0); - s.i___51727 = (0); + s.len___106610 = (r0); + s.i___106613 = (0); case 5: - r0 = (s.i___51727 < s.len___51724); + r0 = (s.i___106613 < s.len___106610); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___51727 > 0); + r0 = (s.i___106613 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -21192,12 +21192,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___51723) && (s.r___51723).vtable) { + if ((s.r___106609) && (s.r___106609).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___51723); + pxsim_String__stringConv(s.r___106609); checkResumeConsumed(); return; - } else { s.retval = (s.r___51723) + ""; } + } else { s.retval = (s.r___106609) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -21211,10 +21211,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___51723 = (r0); + s.r___106609 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___51727); + r0 = pxsim_Array__getAt(s.arg0, s.i___106613); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -21223,7 +21223,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___51727); + r0 = pxsim_Array__getAt(s.arg0, s.i___106613); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -21234,16 +21234,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___51727); + r0 = pxsim_Array__getAt(s.arg0, s.i___106613); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___51723) && (s.r___51723).vtable) { + if ((s.r___106609) && (s.r___106609).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___51723); + pxsim_String__stringConv(s.r___106609); checkResumeConsumed(); return; - } else { s.retval = (s.r___51723) + ""; } + } else { s.retval = (s.r___106609) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -21257,21 +21257,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___51723 = (r0); - r0 = (s.i___51727 + 1); - s.i___51727 = (r0); + s.r___106609 = (r0); + r0 = (s.i___106613 + 1); + s.i___106613 = (r0); { step = 5; continue; } case 14: - r0 = s.r___51723; + r0 = s.r___106609; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P46080.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__P100966.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__P46080_mk(s) { +function helpers_arrayJoin__P100966_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P46080, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P100966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21280,9 +21280,9 @@ function helpers_arrayJoin__P46080_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___51723: undefined, - len___51724: undefined, - i___51727: undefined, + r___106609: undefined, + len___106610: undefined, + i___106613: undefined, arg0: undefined, arg1: undefined, } } @@ -21291,7 +21291,7 @@ function helpers_arrayJoin__P46080_mk(s) { -function helpers_arrayMap__P46083(s) { +function helpers_arrayMap__P100969(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21301,58 +21301,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___51767 = undefined; - s.len___51769 = undefined; - s.i___51772 = undefined; + s.res___106653 = undefined; + s.len___106655 = undefined; + s.i___106658 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___51767 = (r0); + s.res___106653 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___51769 = (r0); - s.i___51772 = (0); + s.len___106655 = (r0); + s.i___106658 = (0); case 1: - r0 = (s.i___51772 < s.len___51769); + r0 = (s.i___106658 < s.len___106655); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___51767; + s.tmp_1 = r0 = s.res___106653; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___51772); + r0 = pxsim_Array__getAt(s.arg0, s.i___106658); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___51772; + s.tmp_3.arg1 = s.i___106658; 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___51772 + 1); - s.i___51772 = (r0); + r0 = (s.i___106658 + 1); + s.i___106658 = (r0); { step = 1; continue; } case 2: - r0 = s.res___51767; + r0 = s.res___106653; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P46083.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__P100969.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__P46083_mk(s) { +function helpers_arrayMap__P100969_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P46083, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P100969, 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___51767: undefined, - len___51769: undefined, - i___51772: undefined, + res___106653: undefined, + len___106655: undefined, + i___106658: undefined, arg0: undefined, arg1: undefined, } } @@ -21361,7 +21361,7 @@ function helpers_arrayMap__P46083_mk(s) { -function music_isDigit__P64805(s) { +function music_isDigit__P118720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21371,22 +21371,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___64808 = undefined; + s.c___118723 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_String_.charCodeAt(s.arg0, s.arg1); - s.c___64808 = (r0); - r0 = (s.c___64808 >= 48); + s.c___118723 = (r0); + r0 = (s.c___118723 >= 48); 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.c___64808 <= 57); + r0 = (s.c___118723 <= 57); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -21394,16 +21394,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_isDigit__P64805.info = {"start":218,"length":115,"line":10,"column":4,"endLine":13,"endColumn":5,"fileName":"main.ts","functionName":"isDigit","argumentNames":["s","i"]} +music_isDigit__P118720.info = {"start":154,"length":115,"line":6,"column":4,"endLine":9,"endColumn":5,"fileName":"main.ts","functionName":"isDigit","argumentNames":["s","i"]} -function music_isDigit__P64805_mk(s) { +function music_isDigit__P118720_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_isDigit__P64805, depth: s.depth + 1, + parent: s, fn: music_isDigit__P118720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - c___64808: undefined, + c___118723: undefined, arg0: undefined, arg1: undefined, } } @@ -21412,7 +21412,7 @@ function music_isDigit__P64805_mk(s) { -function music_isSpace__P64789(s) { +function music_isSpace__P118704(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21422,22 +21422,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___64792 = undefined; + s.c___118707 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_String_.charCodeAt(s.arg0, s.arg1); - s.c___64792 = (r0); - r0 = (s.c___64792 == 32); + s.c___118707 = (r0); + r0 = (s.c___118707 == 32); 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.c___64792 == 10); + r0 = (s.c___118707 == 10); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -21446,7 +21446,7 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - r0 = (s.c___64792 == 13); + r0 = (s.c___118707 == 13); case 4: // jmp value (already in r0) s.tmp_2 = r0; @@ -21454,17 +21454,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_isSpace__P64789.info = {"start":86,"length":126,"line":5,"column":4,"endLine":8,"endColumn":5,"fileName":"main.ts","functionName":"isSpace","argumentNames":["s","i"]} +music_isSpace__P118704.info = {"start":22,"length":126,"line":1,"column":4,"endLine":4,"endColumn":5,"fileName":"main.ts","functionName":"isSpace","argumentNames":["s","i"]} -function music_isSpace__P64789_mk(s) { +function music_isSpace__P118704_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_isSpace__P64789, depth: s.depth + 1, + parent: s, fn: music_isSpace__P118704, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - c___64792: undefined, + c___118707: undefined, arg0: undefined, arg1: undefined, } } @@ -21473,7 +21473,7 @@ function music_isSpace__P64789_mk(s) { -function console_log__P46348(s) { +function console_log__P101234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21487,7 +21487,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P46344_mk(s); + s.tmp_0 = console_add__P101230_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 34; s.pc = 1; return s.tmp_0; @@ -21497,12 +21497,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P46348.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__P101234.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__P46348_mk(s) { +function console_log__P101234_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P46348, depth: s.depth + 1, + parent: s, fn: console_log__P101234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21512,7 +21512,7 @@ function console_log__P46348_mk(s) { -function console_add__P46344(s) { +function console_add__P101230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21522,58 +21522,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___57367 = undefined; - s.i___57376 = undefined; + s.text___112253 = undefined; + s.i___112262 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___46343); + r0 = (s.arg0 < globals.minPriority___101229); 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__P46350_mk(s); + s.tmp_1 = console_inspect__P101236_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 32; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___57367 = (r0); - if ((s.text___57367) && (s.text___57367).vtable) { + s.text___112253 = (r0); + if ((s.text___112253) && (s.text___112253).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___57367); + pxsim_String__stringConv(s.text___112253); checkResumeConsumed(); return; - } else { s.retval = (s.text___57367) + ""; } + } else { s.retval = (s.text___112253) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___57367 = (r0); - s.i___57376 = (0); + s.text___112253 = (r0); + s.i___112262 = (0); case 3: - s.tmp_1 = r0 = s.i___57376; - r0 = pxsim_Array__length(globals.listeners___49495); + s.tmp_1 = r0 = s.i___112262; + r0 = pxsim_Array__length(globals.listeners___104381); 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___49495, s.i___57376); + r0 = pxsim_Array__getAt(globals.listeners___104381, s.i___112262); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___57367; + s.tmp_3.arg1 = s.text___112253; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 33; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___57376 + 1); - s.i___57376 = (r0); + r0 = (s.i___112262 + 1); + s.i___112262 = (r0); { step = 3; continue; } case 4: case 5: @@ -21581,19 +21581,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P46344.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__P101230.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__P46344_mk(s) { +function console_add__P101230_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P46344, depth: s.depth + 1, + parent: s, fn: console_add__P101230, 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___57367: undefined, - i___57376: undefined, + text___112253: undefined, + i___112262: undefined, arg0: undefined, arg1: undefined, } } @@ -21602,7 +21602,7 @@ function console_add__P46344_mk(s) { -function inline__P49494(s) { +function inline__P104380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21622,12 +21622,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P49494.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__P104380.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__P49494_mk(s) { +function inline__P104380_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P49494, depth: s.depth + 1, + parent: s, fn: inline__P104380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21637,7 +21637,7 @@ function inline__P49494_mk(s) { -function console_inspect__P46350(s) { +function console_inspect__P101236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21647,10 +21647,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___57414 = undefined; - s.asString___57432 = undefined; - s.keys___57444 = undefined; - s.snipped___57448 = undefined; + s.asArr___112300 = undefined; + s.asString___112318 = undefined; + s.keys___112330 = undefined; + s.snipped___112334 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21691,15 +21691,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___57414 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___57414); + s.asArr___112300 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___112300); 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__P46080_mk(s); - s.tmp_2.arg0 = s.asArr___57414; + s.tmp_2 = helpers_arrayJoin__P100966_mk(s); + s.tmp_2.arg0 = s.asArr___112300; s.tmp_2.arg1 = ","; s.callLocIdx = 35; s.pc = 19; return s.tmp_2; case 19: @@ -21709,9 +21709,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P46080_mk(s); - s.tmp_8 = helpers_arraySlice__P46091_mk(s); - s.tmp_8.arg0 = s.asArr___57414; + s.tmp_7 = helpers_arrayJoin__P100966_mk(s); + s.tmp_8 = helpers_arraySlice__P100977_mk(s); + s.tmp_8.arg0 = s.asArr___112300; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 36; s.pc = 21; return s.tmp_8; @@ -21751,46 +21751,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___57432 = (r0); - r0 = (s.asString___57432 != "[object Object]"); + s.asString___112318 = (r0); + r0 = (s.asString___112318 != "[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___57432 != "[Object]"); + r0 = (s.asString___112318 != "[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___57432; + r0 = s.asString___112318; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___57444 = (r0); - r0 = pxsim_Array__length(s.keys___57444); + s.keys___112330 = (r0); + r0 = pxsim_Array__length(s.keys___112330); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___57448 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___57448); + s.snipped___112334 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___112334); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P46091_mk(s); - s.tmp_0.arg0 = s.keys___57444; + s.tmp_0 = helpers_arraySlice__P100977_mk(s); + s.tmp_0.arg0 = s.keys___112330; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 38; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___57444 = (r0); + s.keys___112330 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P57465); + r0 = pxsim_pxtcore_mkAction(1, inline__P112351); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___57448); + r0 = pxsim_numops_toBoolDecr(s.snipped___112334); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -21799,8 +21799,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P46089_mk(s); - s.tmp_7.arg0 = s.keys___57444; + s.tmp_7 = helpers_arrayReduce__P100975_mk(s); + s.tmp_7.arg0 = s.keys___112330; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -21849,12 +21849,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P46350.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__P101236.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__P46350_mk(s) { +function console_inspect__P101236_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P46350, depth: s.depth + 1, + parent: s, fn: console_inspect__P101236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21867,10 +21867,10 @@ function console_inspect__P46350_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___57414: undefined, - asString___57432: undefined, - keys___57444: undefined, - snipped___57448: undefined, + asArr___112300: undefined, + asString___112318: undefined, + keys___112330: undefined, + snipped___112334: undefined, arg0: undefined, arg1: undefined, } } @@ -21879,7 +21879,7 @@ function console_inspect__P46350_mk(s) { -function inline__P57465(s) { +function inline__P112351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21942,12 +21942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57465.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__P112351.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__P57465_mk(s) { +function inline__P112351_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57465, depth: s.depth + 1, + parent: s, fn: inline__P112351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21965,7 +21965,7 @@ function inline__P57465_mk(s) { -function helpers_arrayReduce__P46089(s) { +function helpers_arrayReduce__P100975(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21975,8 +21975,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___57492 = undefined; - s.i___57495 = undefined; + s.len___112378 = undefined; + s.i___112381 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21984,43 +21984,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___57492 = (r0); - s.i___57495 = (0); + s.len___112378 = (r0); + s.i___112381 = (0); case 1: - r0 = (s.i___57495 < s.len___57492); + r0 = (s.i___112381 < s.len___112378); 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___57495); + r0 = pxsim_Array__getAt(s.arg0, s.i___112381); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___57495; + s.tmp_1.arg2 = s.i___112381; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 8; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___57495 + 1); - s.i___57495 = (r0); + r0 = (s.i___112381 + 1); + s.i___112381 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P46089.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__P100975.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__P46089_mk(s) { +function helpers_arrayReduce__P100975_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P46089, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P100975, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___57492: undefined, - i___57495: undefined, + len___112378: undefined, + i___112381: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22030,7 +22030,7 @@ function helpers_arrayReduce__P46089_mk(s) { -function game_eventContext__P48514(s) { +function game_eventContext__P103400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22040,21 +22040,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P49841_mk(s); + s.tmp_0 = game_init__P104727_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 908; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___49833.fields["eventContext"]; + r0 = globals._scene___104719.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P48514.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P103400.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__P48514_mk(s) { +function game_eventContext__P103400_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P48514, depth: s.depth + 1, + parent: s, fn: game_eventContext__P103400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -22063,7 +22063,7 @@ function game_eventContext__P48514_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P47932(s) { +function controller_pauseUntilAnyButtonIsPressed__P102818(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22083,12 +22083,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P47932.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P102818.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__P47932_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P102818_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P47932, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P102818, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -22096,7 +22096,7 @@ function controller_pauseUntilAnyButtonIsPressed__P47932_mk(s) { -function game_setWaitAnyButton__P48512(s) { +function game_setWaitAnyButton__P103398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22110,17 +22110,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___49837 = (s.arg0); + globals.__waitAnyButton___104723 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P48512.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__P103398.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__P48512_mk(s) { +function game_setWaitAnyButton__P103398_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P48512, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P103398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -22129,7 +22129,7 @@ function game_setWaitAnyButton__P48512_mk(s) { -function Math_abs__P46102(s) { +function Math_abs__P100988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22158,12 +22158,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P46102.info = {"start":15106,"length":77,"line":511,"column":4,"endLine":513,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P100988.info = {"start":15106,"length":77,"line":511,"column":4,"endLine":513,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P46102_mk(s) { +function Math_abs__P100988_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P46102, depth: s.depth + 1, + parent: s, fn: Math_abs__P100988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22174,7 +22174,7 @@ function Math_abs__P46102_mk(s) { -function Math_sign__P46103(s) { +function Math_sign__P100989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22209,12 +22209,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P46103.info = {"start":15341,"length":125,"line":519,"column":4,"endLine":523,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P100989.info = {"start":15341,"length":125,"line":519,"column":4,"endLine":523,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P46103_mk(s) { +function Math_sign__P100989_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P46103, depth: s.depth + 1, + parent: s, fn: Math_sign__P100989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22225,7 +22225,7 @@ function Math_sign__P46103_mk(s) { -function texteffects_TextEffect_constructor__P48812(s) { +function texteffects_TextEffect_constructor__P103698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22241,18 +22241,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, texteffects_TextEffect__C48810_VT)) failedCast(r0); + if (!checkSubtype(r0, texteffects_TextEffect__C103696_VT)) failedCast(r0); r0 = (s.arg0).fields["getState"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -texteffects_TextEffect_constructor__P48812.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__P103698.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__P48812_mk(s) { +function texteffects_TextEffect_constructor__P103698_mk(s) { checkStack(s.depth); return { - parent: s, fn: texteffects_TextEffect_constructor__P48812, depth: s.depth + 1, + parent: s, fn: texteffects_TextEffect_constructor__P103698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22262,7 +22262,7 @@ function texteffects_TextEffect_constructor__P48812_mk(s) { -function Math_FastRandom_constructor__P48567(s) { +function Math_FastRandom_constructor__P103453(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22278,7 +22278,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C48565_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C103451_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -22293,12 +22293,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P48567.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__P103453.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__P48567_mk(s) { +function Math_FastRandom_constructor__P103453_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P48567, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P103453, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22309,7 +22309,7 @@ function Math_FastRandom_constructor__P48567_mk(s) { -function control_ramSize__P46314(s) { +function control_ramSize__P101200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22334,12 +22334,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P46314.info = {"start":5058,"length":100,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P101200.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__P46314_mk(s) { +function control_ramSize__P101200_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P46314, depth: s.depth + 1, + parent: s, fn: control_ramSize__P101200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22349,7 +22349,7 @@ function control_ramSize__P46314_mk(s) { -function control__ramSize__P49480(s) { +function control__ramSize__P104366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22363,12 +22363,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P49480.info = {"start":4938,"length":60,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P104366.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__P49480_mk(s) { +function control__ramSize__P104366_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P49480, depth: s.depth + 1, + parent: s, fn: control__ramSize__P104366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -22376,7 +22376,7 @@ function control__ramSize__P49480_mk(s) { -function game_consoleOverlay_listener__P50166(s) { +function game_consoleOverlay_listener__P105052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22391,7 +22391,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___50131); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___105017); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -22411,9 +22411,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P46086_mk(s); - s.tmp_5 = helpers_arrayFilter__P46087_mk(s); - s.tmp_6 = helpers_stringSplit__P46096_mk(s); + s.tmp_4 = helpers_arrayForEach__P100972_mk(s); + s.tmp_5 = helpers_arrayFilter__P100973_mk(s); + s.tmp_6 = helpers_stringSplit__P100982_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -22421,27 +22421,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P57574; + s.tmp_5.arg1 = inline__P112460; s.callLocIdx = 1092; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P57579; + s.tmp_4.arg1 = inline__P112465; s.callLocIdx = 1094; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___50131); + r0 = pxsim_Array__length(globals.consoleStrings___105017); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___50144); + r0 = (s.tmp_1 > globals.consoleLines___105030); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P46077_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___50131; + s.tmp_2 = helpers_arraySplice__P100963_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___105017; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___50131); + r0 = pxsim_Array__length(globals.consoleStrings___105017); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___50144); + r0 = (s.tmp_3 - globals.consoleLines___105030); s.tmp_2.arg2 = r0; s.callLocIdx = 1095; s.pc = 11; return s.tmp_2; case 11: @@ -22453,12 +22453,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P50166.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__P105052.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__P50166_mk(s) { +function game_consoleOverlay_listener__P105052_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P50166, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P105052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22475,7 +22475,7 @@ function game_consoleOverlay_listener__P50166_mk(s) { -function inline__P57574(s) { +function inline__P112460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22499,12 +22499,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57574.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P112460.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__P57574_mk(s) { +function inline__P112460_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57574, depth: s.depth + 1, + parent: s, fn: inline__P112460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22516,7 +22516,7 @@ function inline__P57574_mk(s) { -function inline__P57579(s) { +function inline__P112465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22526,45 +22526,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___57581 = undefined; + s.j___112467 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___57581 = (0); + s.j___112467 = (0); case 1: - s.tmp_1 = r0 = s.j___57581; + s.tmp_1 = r0 = s.j___112467; 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___50131; - s.tmp_5 = helpers_stringSlice__P46094_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___105017; + s.tmp_5 = helpers_stringSlice__P100980_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___57581; - r0 = (s.j___57581 + globals.consoleColumns___50154); + s.tmp_5.arg1 = s.j___112467; + r0 = (s.j___112467 + globals.consoleColumns___105040); s.tmp_5.arg2 = r0; s.callLocIdx = 1093; 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___57581 + globals.consoleColumns___50154); - s.j___57581 = (r0); + r0 = (s.j___112467 + globals.consoleColumns___105040); + s.j___112467 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P57579.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P112465.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__P57579_mk(s) { +function inline__P112465_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57579, depth: s.depth + 1, + parent: s, fn: inline__P112465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22572,7 +22572,7 @@ function inline__P57579_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___57581: undefined, + j___112467: undefined, arg0: undefined, } } @@ -22580,7 +22580,7 @@ function inline__P57579_mk(s) { -function console_addListener__P46351(s) { +function console_addListener__P101237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22603,7 +22603,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___49495, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___104381, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -22614,18 +22614,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___49495, s.arg0); + r0 = pxsim_Array__push(globals.listeners___104381, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P46351.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__P101237.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__P46351_mk(s) { +function console_addListener__P101237_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P46351, depth: s.depth + 1, + parent: s, fn: console_addListener__P101237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22638,7 +22638,7 @@ function console_addListener__P46351_mk(s) { -function scene_systemMenu_register__P48612(s) { +function scene_systemMenu_register__P103498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22648,15 +22648,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___50085); + r0 = pxsim_numops_toBoolDecr(globals.instance___104971); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P47889_mk(s); - s.tmp_0.arg0 = globals.menu___47862; + s.tmp_0 = controller_Button_onEvent__P102775_mk(s); + s.tmp_0.arg0 = globals.menu___102748; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P48613; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P103499; s.callLocIdx = 1078; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -22665,12 +22665,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P48612.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__P103498.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__P48612_mk(s) { +function scene_systemMenu_register__P103498_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P48612, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P103498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -22679,7 +22679,7 @@ function scene_systemMenu_register__P48612_mk(s) { -function scene_systemMenu_showSystemMenu__P48613(s) { +function scene_systemMenu_showSystemMenu__P103499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22689,27 +22689,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___50085); + r0 = pxsim_numops_toBoolDecr(globals.instance___104971); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P48515_mk(s); + s.tmp_0 = game_pushScene__P103401_mk(s); s.callLocIdx = 1079; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C48601_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C103487_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P48602_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P103488_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P48609; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P103495; s.tmp_1.arg2 = undefined; s.callLocIdx = 1080; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___50085 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P48603_mk(s); - s.tmp_0.arg0 = globals.instance___50085; + globals.instance___104971 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P103489_mk(s); + s.tmp_0.arg0 = globals.instance___104971; s.callLocIdx = 1081; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -22718,12 +22718,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P48613.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__P103499.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__P48613_mk(s) { +function scene_systemMenu_showSystemMenu__P103499_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P48613, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P103499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22733,7 +22733,7 @@ function scene_systemMenu_showSystemMenu__P48613_mk(s) { -function scene_systemMenu_buildOptionList__P48609(s) { +function scene_systemMenu_buildOptionList__P103495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22743,136 +22743,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___58663 = undefined; + s.options___113549 = undefined; r0 = pxsim_Array__mk(); - s.options___58663 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C48593_VT); + s.options___113549 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C103479_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P48594_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P103480_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___48623; - s.tmp_1.arg2 = inline__P58671; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P50091; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___103509; + s.tmp_1.arg2 = inline__P113557; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P104977; s.callLocIdx = 1061; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___58663, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C48593_VT); + r0 = pxsim_Array__push(s.options___113549, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C103479_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P48594_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P103480_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___48620; - s.tmp_1.arg2 = inline__P58685; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P50090; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___103506; + s.tmp_1.arg2 = inline__P113571; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P104976; s.callLocIdx = 1063; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___58663, s.tmp_0); + r0 = pxsim_Array__push(s.options___113549, 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__C48593_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C103479_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P48594_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P103480_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___48621; - s.tmp_2.arg2 = inline__P58700; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P50093; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___103507; + s.tmp_2.arg2 = inline__P113586; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P104979; s.callLocIdx = 1066; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___58663, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C48593_VT); + r0 = pxsim_Array__push(s.options___113549, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C103479_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P48594_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P103480_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___48626; - s.tmp_1.arg2 = inline__P58715; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P50092; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___103512; + s.tmp_1.arg2 = inline__P113601; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P104978; s.callLocIdx = 1068; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___58663, s.tmp_0); + r0 = pxsim_Array__push(s.options___113549, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C48593_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C103479_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P48594_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P103480_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___48627; - s.tmp_1.arg2 = inline__P58730; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P50095; + s.tmp_1.arg1 = globals.STATS_ICON___103513; + s.tmp_1.arg2 = inline__P113616; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P104981; s.callLocIdx = 1069; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___58663, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C48593_VT); + r0 = pxsim_Array__push(s.options___113549, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C103479_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P48594_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P103480_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___48625; - s.tmp_1.arg2 = inline__P58739; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P50096; + s.tmp_1.arg1 = globals.CONSOLE_ICON___103511; + s.tmp_1.arg2 = inline__P113625; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P104982; s.callLocIdx = 1071; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___58663, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C48593_VT); + r0 = pxsim_Array__push(s.options___113549, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C103479_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P48594_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P103480_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___48624; - s.tmp_1.arg2 = inline__P58748; - s.tmp_1.arg3 = scene_systemMenu_sleep__P50097; + s.tmp_1.arg1 = globals.SLEEP_ICON___103510; + s.tmp_1.arg2 = inline__P113634; + s.tmp_1.arg3 = scene_systemMenu_sleep__P104983; s.callLocIdx = 1072; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___58663, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___50086); + r0 = pxsim_Array__push(s.options___113549, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___104972); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P46090_mk(s); - s.tmp_0.arg0 = s.options___58663; - s.tmp_0.arg1 = globals.customMenuOptions___50086; + s.tmp_0 = helpers_arrayConcat__P100976_mk(s); + s.tmp_0.arg0 = s.options___113549; + s.tmp_0.arg1 = globals.customMenuOptions___104972; s.callLocIdx = 1073; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___58663 = (r0); + s.options___113549 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C48593_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C103479_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P48594_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P103480_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___48622; - s.tmp_1.arg2 = inline__P58761; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P48608; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___103508; + s.tmp_1.arg2 = inline__P113647; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P103494; s.callLocIdx = 1074; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___58663, s.tmp_0); - r0 = s.options___58663; + r0 = pxsim_Array__push(s.options___113549, s.tmp_0); + r0 = s.options___113549; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P48609.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__P103495.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__P48609_mk(s) { +function scene_systemMenu_buildOptionList__P103495_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P48609, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P103495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___58663: undefined, + options___113549: undefined, } } -function inline__P58671(s) { +function inline__P113557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22882,7 +22882,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P47572_mk(s); + s.tmp_3 = music_volume__P102458_mk(s); s.callLocIdx = 1060; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -22902,12 +22902,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58671.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P113557.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P58671_mk(s) { +function inline__P113557_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58671, depth: s.depth + 1, + parent: s, fn: inline__P113557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22919,7 +22919,7 @@ function inline__P58671_mk(s) { -function inline__P58685(s) { +function inline__P113571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22929,7 +22929,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P47572_mk(s); + s.tmp_3 = music_volume__P102458_mk(s); s.callLocIdx = 1062; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -22949,12 +22949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58685.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P113571.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P58685_mk(s) { +function inline__P113571_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58685, depth: s.depth + 1, + parent: s, fn: inline__P113571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22966,7 +22966,7 @@ function inline__P58685_mk(s) { -function inline__P58700(s) { +function inline__P113586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22976,7 +22976,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___47703; + r0 = globals.brightness___102589; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -22993,12 +22993,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58700.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P113586.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P58700_mk(s) { +function inline__P113586_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58700, depth: s.depth + 1, + parent: s, fn: inline__P113586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23009,7 +23009,7 @@ function inline__P58700_mk(s) { -function inline__P58715(s) { +function inline__P113601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23019,7 +23019,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___47703; + r0 = globals.brightness___102589; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -23036,12 +23036,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58715.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P113601.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P58715_mk(s) { +function inline__P113601_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58715, depth: s.depth + 1, + parent: s, fn: inline__P113601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23052,7 +23052,7 @@ function inline__P58715_mk(s) { -function inline__P58730(s) { +function inline__P113616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23062,7 +23062,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___48508); + r0 = pxsim_numops_toBoolDecr(globals.stats___103394); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -23075,12 +23075,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58730.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P113616.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P58730_mk(s) { +function inline__P113616_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58730, depth: s.depth + 1, + parent: s, fn: inline__P113616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -23089,7 +23089,7 @@ function inline__P58730_mk(s) { -function inline__P58739(s) { +function inline__P113625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23099,7 +23099,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___50131); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___105017); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -23120,12 +23120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58739.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P113625.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P58739_mk(s) { +function inline__P113625_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58739, depth: s.depth + 1, + parent: s, fn: inline__P113625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23138,7 +23138,7 @@ function inline__P58739_mk(s) { -function inline__P58748(s) { +function inline__P113634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23152,12 +23152,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58748.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P113634.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P58748_mk(s) { +function inline__P113634_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58748, depth: s.depth + 1, + parent: s, fn: inline__P113634, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -23165,7 +23165,7 @@ function inline__P58748_mk(s) { -function inline__P58761(s) { +function inline__P113647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23179,12 +23179,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58761.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P113647.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P58761_mk(s) { +function inline__P113647_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58761, depth: s.depth + 1, + parent: s, fn: inline__P113647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -23192,7 +23192,7 @@ function inline__P58761_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P50098(s) { +function scene_systemMenu_setScreenBrightnessSupported__P104984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23206,12 +23206,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P50098.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__P104984.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__P50098_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P104984_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P50098, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P104984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -23219,7 +23219,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P50098_mk(s) { -function scene_systemMenu_sleep__P50097(s) { +function scene_systemMenu_sleep__P104983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23234,12 +23234,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P50097.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__P104983.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__P50097_mk(s) { +function scene_systemMenu_sleep__P104983_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P50097, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P104983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -23247,7 +23247,7 @@ function scene_systemMenu_sleep__P50097_mk(s) { -function scene_systemMenu_toggleConsole__P50096(s) { +function scene_systemMenu_toggleConsole__P104982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23257,7 +23257,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___50131); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___105017); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -23267,7 +23267,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__P48632_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P103518_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.callLocIdx = 1054; s.pc = 3; return s.tmp_4; @@ -23275,13 +23275,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P48632_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P103518_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.callLocIdx = 1055; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P46348_mk(s); + s.tmp_0 = console_log__P101234_mk(s); s.tmp_0.arg0 = "console"; s.callLocIdx = 1056; s.pc = 5; return s.tmp_0; case 5: @@ -23291,12 +23291,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P50096.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__P104982.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__P50096_mk(s) { +function scene_systemMenu_toggleConsole__P104982_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P50096, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P104982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23309,7 +23309,7 @@ function scene_systemMenu_toggleConsole__P50096_mk(s) { -function game_consoleOverlay_setVisible__P48632(s) { +function game_consoleOverlay_setVisible__P103518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23325,7 +23325,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___50131); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___105017); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -23346,26 +23346,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___50131 = (s.tmp_6); + globals.consoleStrings___105017 = (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___50130 = (s.arg1); + globals.consoleColor___105016 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P48632.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__P103518.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__P48632_mk(s) { +function game_consoleOverlay_setVisible__P103518_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P48632, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P103518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23382,7 +23382,7 @@ function game_consoleOverlay_setVisible__P48632_mk(s) { -function scene_systemMenu_toggleStats__P50095(s) { +function scene_systemMenu_toggleStats__P104981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23392,11 +23392,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___48508); + r0 = pxsim_numops_toBoolDecr(globals.stats___103394); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___48508 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___48508); + globals.stats___103394 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___103394); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23405,14 +23405,14 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___46366; + r0 = globals.control_EventContext_onStats___101252; 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___46366; + s.tmp_3.argL = globals.control_EventContext_onStats___101252; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); @@ -23425,12 +23425,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P50095.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__P104981.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__P50095_mk(s) { +function scene_systemMenu_toggleStats__P104981_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P50095, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P104981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23442,7 +23442,7 @@ function scene_systemMenu_toggleStats__P50095_mk(s) { -function scene_systemMenu_brightnessDown__P50093(s) { +function scene_systemMenu_brightnessDown__P104979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23452,8 +23452,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P50094_mk(s); - r0 = globals.brightness___47703; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P104980_mk(s); + r0 = globals.brightness___102589; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; @@ -23464,12 +23464,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P50093.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__P104979.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__P50093_mk(s) { +function scene_systemMenu_brightnessDown__P104979_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P50093, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P104979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23479,7 +23479,7 @@ function scene_systemMenu_brightnessDown__P50093_mk(s) { -function scene_systemMenu_setScreenBrightness__P50094(s) { +function scene_systemMenu_setScreenBrightness__P104980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23493,15 +23493,15 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P47714_mk(s); - s.tmp_0.arg0 = globals.screen___47781; + s.tmp_0 = helpers_setScreenBrightness__P102600_mk(s); + s.tmp_0.arg0 = globals.screen___102667; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1049; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P47808_mk(s); + s.tmp_0 = settings_writeNumber__P102694_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___47703; + r0 = globals.brightness___102589; s.tmp_0.arg1 = r0; s.callLocIdx = 1051; s.pc = 2; return s.tmp_0; case 2: @@ -23510,12 +23510,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P50094.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__P104980.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__P50094_mk(s) { +function scene_systemMenu_setScreenBrightness__P104980_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P50094, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P104980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23525,7 +23525,7 @@ function scene_systemMenu_setScreenBrightness__P50094_mk(s) { -function settings_writeNumber__P47808(s) { +function settings_writeNumber__P102694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23543,9 +23543,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__P47806_mk(s); + s.tmp_1 = settings_writeBuffer__P102692_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P46156_mk(s); + s.tmp_2 = msgpack_packNumberArray__P101042_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 159; s.pc = 2; return s.tmp_2; case 2: @@ -23558,12 +23558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P47808.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__P102694.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__P47808_mk(s) { +function settings_writeNumber__P102694_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P47808, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P102694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23576,7 +23576,7 @@ function settings_writeNumber__P47808_mk(s) { -function settings_writeBuffer__P47806(s) { +function settings_writeBuffer__P102692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23603,12 +23603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P47806.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__P102692.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__P47806_mk(s) { +function settings_writeBuffer__P102692_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P47806, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P102692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23619,7 +23619,7 @@ function settings_writeBuffer__P47806_mk(s) { -function msgpack_packNumberArray__P46156(s) { +function msgpack_packNumberArray__P101042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23629,100 +23629,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___58839 = undefined; - s.n___58841 = undefined; - s.unnamed204___U2 = undefined; - s.unnamed205___U3 = undefined; - s.buf___58851 = undefined; - s.n___58857 = undefined; - s.unnamed206___U6 = undefined; - s.unnamed207___U7 = undefined; + s.off___113725 = undefined; + s.n___113727 = undefined; + s.unnamed444___U2 = undefined; + s.unnamed445___U3 = undefined; + s.buf___113737 = undefined; + s.n___113743 = undefined; + s.unnamed446___U6 = undefined; + s.unnamed447___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___58839 = (0); - s.n___58841 = (undefined); - s.unnamed204___U2 = (s.arg0); - s.unnamed205___U3 = (0); + s.off___113725 = (0); + s.n___113727 = (undefined); + s.unnamed444___U2 = (s.arg0); + s.unnamed445___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed205___U3; - r0 = pxsim_Array__length(s.unnamed204___U2); + s.tmp_0 = r0 = s.unnamed445___U3; + r0 = pxsim_Array__length(s.unnamed444___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed204___U2, s.unnamed205___U3); - s.n___58841 = (r0); - s.tmp_2 = r0 = s.off___58839; - s.tmp_4 = msgpack_packNumberCore__P49458_mk(s); + r0 = pxsim_Array__getAt(s.unnamed444___U2, s.unnamed445___U3); + s.n___113727 = (r0); + s.tmp_2 = r0 = s.off___113725; + s.tmp_4 = msgpack_packNumberCore__P104344_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___58839; - s.tmp_4.arg2 = s.n___58841; + s.tmp_4.arg1 = s.off___113725; + s.tmp_4.arg2 = s.n___113727; s.callLocIdx = 22; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___58839 = (r0); - r0 = (s.unnamed205___U3 + 1); - s.unnamed205___U3 = (r0); + s.off___113725 = (r0); + r0 = (s.unnamed445___U3 + 1); + s.unnamed445___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed204___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___58839); - s.buf___58851 = (r0); - s.off___58839 = (0); - s.n___58857 = (undefined); - s.unnamed206___U6 = (s.arg0); - s.unnamed207___U7 = (0); + s.unnamed444___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___113725); + s.buf___113737 = (r0); + s.off___113725 = (0); + s.n___113743 = (undefined); + s.unnamed446___U6 = (s.arg0); + s.unnamed447___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed207___U7; - r0 = pxsim_Array__length(s.unnamed206___U6); + s.tmp_0 = r0 = s.unnamed447___U7; + r0 = pxsim_Array__length(s.unnamed446___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed206___U6, s.unnamed207___U7); - s.n___58857 = (r0); - s.tmp_2 = r0 = s.off___58839; - s.tmp_4 = msgpack_packNumberCore__P49458_mk(s); - s.tmp_4.arg0 = s.buf___58851; - s.tmp_4.arg1 = s.off___58839; - s.tmp_4.arg2 = s.n___58857; + r0 = pxsim_Array__getAt(s.unnamed446___U6, s.unnamed447___U7); + s.n___113743 = (r0); + s.tmp_2 = r0 = s.off___113725; + s.tmp_4 = msgpack_packNumberCore__P104344_mk(s); + s.tmp_4.arg0 = s.buf___113737; + s.tmp_4.arg1 = s.off___113725; + s.tmp_4.arg2 = s.n___113743; s.callLocIdx = 23; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___58839 = (r0); - r0 = (s.unnamed207___U7 + 1); - s.unnamed207___U7 = (r0); + s.off___113725 = (r0); + r0 = (s.unnamed447___U7 + 1); + s.unnamed447___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed206___U6 = (undefined); - r0 = s.buf___58851; + s.unnamed446___U6 = (undefined); + r0 = s.buf___113737; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P46156.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__P101042.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__P46156_mk(s) { +function msgpack_packNumberArray__P101042_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P46156, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P101042, 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___58839: undefined, - n___58841: undefined, - unnamed204___U2: undefined, - unnamed205___U3: undefined, - buf___58851: undefined, - n___58857: undefined, - unnamed206___U6: undefined, - unnamed207___U7: undefined, + off___113725: undefined, + n___113727: undefined, + unnamed444___U2: undefined, + unnamed445___U3: undefined, + buf___113737: undefined, + n___113743: undefined, + unnamed446___U6: undefined, + unnamed447___U7: undefined, arg0: undefined, } } @@ -23730,7 +23730,7 @@ function msgpack_packNumberArray__P46156_mk(s) { -function msgpack_packNumberCore__P49458(s) { +function msgpack_packNumberCore__P104344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23740,15 +23740,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___58871 = undefined; - s.fmt___58914 = undefined; + s.tag___113757 = undefined; + s.fmt___113800 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___58871 = (203); + s.tag___113757 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -23798,17 +23798,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___58871 = (204); + s.tag___113757 = (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___58871 = (205); + s.tag___113757 = (205); { step = 10; continue; } case 9: - s.tag___58871 = (206); + s.tag___113757 = (206); case 10: case 11: { step = 17; continue; } @@ -23817,41 +23817,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___58871 = (208); + s.tag___113757 = (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___58871 = (209); + s.tag___113757 = (209); { step = 15; continue; } case 14: - s.tag___58871 = (210); + s.tag___113757 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P49457_mk(s); - s.tmp_0.arg0 = s.tag___58871; + s.tmp_0 = msgpack_tagFormat__P104343_mk(s); + s.tmp_0.arg0 = s.tag___113757; s.callLocIdx = 18; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___58914 = (r0); + s.fmt___113800 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___58871); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___113757); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___58914; + s.tmp_1 = r0 = s.fmt___113800; 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__P46147_mk(s); - s.tmp_1.arg0 = s.fmt___58914; + s.tmp_1 = pins_sizeOf__P101033_mk(s); + s.tmp_1.arg0 = s.fmt___113800; s.callLocIdx = 19; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -23861,12 +23861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P49458.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__P104344.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__P49458_mk(s) { +function msgpack_packNumberCore__P104344_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P49458, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P104344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23876,8 +23876,8 @@ function msgpack_packNumberCore__P49458_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___58871: undefined, - fmt___58914: undefined, + tag___113757: undefined, + fmt___113800: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23887,7 +23887,7 @@ function msgpack_packNumberCore__P49458_mk(s) { -function msgpack_tagFormat__P49457(s) { +function msgpack_tagFormat__P104343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23947,12 +23947,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P49457.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__P104343.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__P49457_mk(s) { +function msgpack_tagFormat__P104343_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P49457, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P104343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23962,7 +23962,7 @@ function msgpack_tagFormat__P49457_mk(s) { -function pins_sizeOf__P46147(s) { +function pins_sizeOf__P101033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23976,7 +23976,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P46183_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P101069_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 17; s.pc = 1; return s.tmp_0; case 1: @@ -23984,12 +23984,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P46147.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__P101033.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__P46147_mk(s) { +function pins_sizeOf__P101033_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P46147, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P101033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23999,7 +23999,7 @@ function pins_sizeOf__P46147_mk(s) { -function Buffer_sizeOfNumberFormat__P46183(s) { +function Buffer_sizeOfNumberFormat__P101069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24078,12 +24078,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P46183.info = {"start":12467,"length":856,"line":427,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} +Buffer_sizeOfNumberFormat__P101069.info = {"start":12467,"length":856,"line":427,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} -function Buffer_sizeOfNumberFormat__P46183_mk(s) { +function Buffer_sizeOfNumberFormat__P101069_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P46183, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P101069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24093,7 +24093,7 @@ function Buffer_sizeOfNumberFormat__P46183_mk(s) { -function helpers_setScreenBrightness__P47714(s) { +function helpers_setScreenBrightness__P102600(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24108,7 +24108,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P46101_mk(s); + s.tmp_0 = Math_clamp__P100987_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -24117,18 +24117,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___47703 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___47703); + globals.brightness___102589 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___102589); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P47714.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__P102600.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__P47714_mk(s) { +function helpers_setScreenBrightness__P102600_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P47714, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P102600, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24139,7 +24139,7 @@ function helpers_setScreenBrightness__P47714_mk(s) { -function scene_systemMenu_brightnessUp__P50092(s) { +function scene_systemMenu_brightnessUp__P104978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24149,8 +24149,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P50094_mk(s); - r0 = globals.brightness___47703; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P104980_mk(s); + r0 = globals.brightness___102589; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; @@ -24161,12 +24161,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P50092.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__P104978.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__P50092_mk(s) { +function scene_systemMenu_brightnessUp__P104978_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P50092, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P104978, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24176,7 +24176,7 @@ function scene_systemMenu_brightnessUp__P50092_mk(s) { -function scene_systemMenu_volumeDown__P50091(s) { +function scene_systemMenu_volumeDown__P104977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24186,29 +24186,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___59096 = undefined; - s.remainder___59099 = undefined; - s.newVolume___59102 = undefined; - s.tmp_0 = music_volume__P47572_mk(s); + s.v___113982 = undefined; + s.remainder___113985 = undefined; + s.newVolume___113988 = undefined; + s.tmp_0 = music_volume__P102458_mk(s); s.callLocIdx = 1043; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___59096 = (r0); - r0 = (s.v___59096 % 32); - s.remainder___59099 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___59099); + s.v___113982 = (r0); + r0 = (s.v___113982 % 32); + s.remainder___113985 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___113985); if (!r0) { step = 1; continue; } - r0 = s.remainder___59099; + r0 = s.remainder___113985; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___59096 - s.tmp_0); - s.newVolume___59102 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P50089_mk(s); - s.tmp_0.arg0 = s.newVolume___59102; + r0 = (s.v___113982 - s.tmp_0); + s.newVolume___113988 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P104975_mk(s); + s.tmp_0.arg0 = s.newVolume___113988; s.callLocIdx = 1044; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -24216,24 +24216,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P50091.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__P104977.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__P50091_mk(s) { +function scene_systemMenu_volumeDown__P104977_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P50091, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P104977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___59096: undefined, - remainder___59099: undefined, - newVolume___59102: undefined, + v___113982: undefined, + remainder___113985: undefined, + newVolume___113988: undefined, } } -function scene_systemMenu_setVolume__P50089(s) { +function scene_systemMenu_setVolume__P104975(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24247,18 +24247,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P47571_mk(s); + s.tmp_0 = music_setVolume__P102457_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1038; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P47573_mk(s); + s.tmp_0 = music_playTone__P102459_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; s.callLocIdx = 1039; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P47808_mk(s); + s.tmp_0 = settings_writeNumber__P102694_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1040; s.pc = 3; return s.tmp_0; @@ -24268,12 +24268,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P50089.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__P104975.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__P50089_mk(s) { +function scene_systemMenu_setVolume__P104975_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P50089, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P104975, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24283,7 +24283,7 @@ function scene_systemMenu_setVolume__P50089_mk(s) { -function music_playTone__P47573(s) { +function music_playTone__P102459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24293,7 +24293,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___59028 = undefined; + s.id___113914 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24318,7 +24318,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P49553_mk(s); + s.tmp_2 = music_playNoteCore__P104439_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -24326,7 +24326,7 @@ switch (step) { s.callLocIdx = 66; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P46381_mk(s); + s.tmp_0 = pause__P101267_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 67; s.pc = 6; return s.tmp_0; @@ -24334,13 +24334,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___49555 + 1); + r0 = (globals.playToneID___104441 + 1); s.tmp_0 = r0; - globals.playToneID___49555 = (r0); - s.id___59028 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P59034); + globals.playToneID___104441 = (r0); + s.id___113914 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P113920); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___59028); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___113914); 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); @@ -24349,17 +24349,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P47573.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__P102459.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__P47573_mk(s) { +function music_playTone__P102459_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P47573, depth: s.depth + 1, + parent: s, fn: music_playTone__P102459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___59028: undefined, + id___113914: undefined, arg0: undefined, arg1: undefined, } } @@ -24368,7 +24368,7 @@ function music_playTone__P47573_mk(s) { -function inline__P59034(s) { +function inline__P113920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24378,14 +24378,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___59035 = undefined; - s.now___59045 = undefined; - s.d___59048 = undefined; - s.t___59052 = undefined; + s.pos___113921 = undefined; + s.now___113931 = undefined; + s.d___113934 = undefined; + s.t___113938 = undefined; r0 = pxsim.control.millis(); - s.pos___59035 = (r0); + s.pos___113921 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___49555); + r0 = (s.caps[0] == globals.playToneID___104441); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -24401,30 +24401,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___59045 = (r0); - r0 = (s.pos___59035 - s.now___59045); - s.d___59048 = (r0); - s.tmp_0 = Math_min__P46105_mk(s); + s.now___113931 = (r0); + r0 = (s.pos___113921 - s.now___113931); + s.d___113934 = (r0); + s.tmp_0 = Math_min__P100991_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 68; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___59052 = (r0); + s.t___113938 = (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___59052); + r0 = (s.tmp_2 - s.t___113938); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___59035 + s.t___59052); - s.pos___59035 = (r0); - s.tmp_0 = music_playNoteCore__P49553_mk(s); - r0 = (s.d___59048 - 1); + r0 = (s.pos___113921 + s.t___113938); + s.pos___113921 = (r0); + s.tmp_0 = music_playNoteCore__P104439_mk(s); + r0 = (s.d___113934 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___59052; + s.tmp_0.arg2 = s.t___113938; s.callLocIdx = 69; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -24434,16 +24434,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P46381_mk(s); - r0 = (s.d___59048 + s.t___59052); + s.tmp_2 = pause__P101267_mk(s); + r0 = (s.d___113934 + s.t___113938); s.tmp_2.arg0 = r0; s.callLocIdx = 70; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P46381_mk(s); - r0 = (s.d___59048 + s.t___59052); + s.tmp_0 = pause__P101267_mk(s); + r0 = (s.d___113934 + s.t___113938); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -24457,27 +24457,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P59034.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P113920.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P59034_mk(s) { +function inline__P113920_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P59034, depth: s.depth + 1, + parent: s, fn: inline__P113920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___59035: undefined, - now___59045: undefined, - d___59048: undefined, - t___59052: undefined, + pos___113921: undefined, + now___113931: undefined, + d___113934: undefined, + t___113938: undefined, } } -function music_playNoteCore__P49553(s) { +function music_playNoteCore__P104439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24487,7 +24487,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___59082 = undefined; + s.buf___113968 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24495,16 +24495,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___59082 = (r0); - s.tmp_0 = music_addNote__P49560_mk(s); - s.tmp_0.arg0 = s.buf___59082; + s.buf___113968 = (r0); + s.tmp_0 = music_addNote__P104446_mk(s); + s.tmp_0.arg0 = s.buf___113968; 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__P47572_mk(s); + s.tmp_1 = music_volume__P102458_mk(s); s.callLocIdx = 64; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -24513,21 +24513,21 @@ switch (step) { s.callLocIdx = 65; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___59082); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___113968); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P49553.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__P104439.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__P49553_mk(s) { +function music_playNoteCore__P104439_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P49553, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P104439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___59082: undefined, + buf___113968: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24537,7 +24537,7 @@ function music_playNoteCore__P49553_mk(s) { -function scene_systemMenu_volumeUp__P50090(s) { +function scene_systemMenu_volumeUp__P104976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24547,22 +24547,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___58996 = undefined; - s.remainder___58999 = undefined; - s.newVolume___59002 = undefined; - s.tmp_0 = music_volume__P47572_mk(s); + s.v___113882 = undefined; + s.remainder___113885 = undefined; + s.newVolume___113888 = undefined; + s.tmp_0 = music_volume__P102458_mk(s); s.callLocIdx = 1041; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___58996 = (r0); - r0 = (s.v___58996 % 32); - s.remainder___58999 = (r0); - r0 = (s.v___58996 + 32); + s.v___113882 = (r0); + r0 = (s.v___113882 % 32); + s.remainder___113885 = (r0); + r0 = (s.v___113882 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___58999); - s.newVolume___59002 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P50089_mk(s); - s.tmp_0.arg0 = s.newVolume___59002; + r0 = (s.tmp_0 - s.remainder___113885); + s.newVolume___113888 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P104975_mk(s); + s.tmp_0.arg0 = s.newVolume___113888; s.callLocIdx = 1042; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -24570,24 +24570,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P50090.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__P104976.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__P50090_mk(s) { +function scene_systemMenu_volumeUp__P104976_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P50090, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P104976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___58996: undefined, - remainder___58999: undefined, - newVolume___59002: undefined, + v___113882: undefined, + remainder___113885: undefined, + newVolume___113888: undefined, } } -function game_consoleOverlay_isVisible__P48630(s) { +function game_consoleOverlay_isVisible__P103516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24597,7 +24597,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___50131); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___105017); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -24607,12 +24607,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P48630.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__P103516.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__P48630_mk(s) { +function game_consoleOverlay_isVisible__P103516_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P48630, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P103516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24623,7 +24623,7 @@ function game_consoleOverlay_isVisible__P48630_mk(s) { -function scene_systemMenu_closeMenu__P48608(s) { +function scene_systemMenu_closeMenu__P103494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24633,20 +24633,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___50085); + r0 = pxsim_numops_toBoolDecr(globals.instance___104971); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P48607_mk(s); - s.tmp_0.arg0 = globals.instance___50085; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P103493_mk(s); + s.tmp_0.arg0 = globals.instance___104971; s.callLocIdx = 1057; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___50085 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P47933_mk(s); + globals.instance___104971 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P102819_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1058; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P48516_mk(s); + s.tmp_0 = game_popScene__P103402_mk(s); s.callLocIdx = 1059; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -24656,12 +24656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P48608.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__P103494.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__P48608_mk(s) { +function scene_systemMenu_closeMenu__P103494_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P48608, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P103494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24670,7 +24670,7 @@ function scene_systemMenu_closeMenu__P48608_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P48607(s) { +function scene_systemMenu_PauseMenu_dispose__P103493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24685,15 +24685,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C48601_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C103487_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__P46086_mk(s); + s.tmp_1 = helpers_arrayForEach__P100972_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P58176; + s.tmp_1.arg1 = inline__P113062; s.callLocIdx = 1034; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -24704,12 +24704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P48607.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__P103493.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__P48607_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P103493_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P48607, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P103493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24720,7 +24720,7 @@ function scene_systemMenu_PauseMenu_dispose__P48607_mk(s) { -function inline__P58176(s) { +function inline__P113062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24734,7 +24734,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P48600_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P103486_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1033; s.pc = 1; return s.tmp_0; case 1: @@ -24743,12 +24743,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58176.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P113062.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__P58176_mk(s) { +function inline__P113062_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58176, depth: s.depth + 1, + parent: s, fn: inline__P113062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24758,7 +24758,7 @@ function inline__P58176_mk(s) { -function scene_systemMenu_MenuOption_dispose__P48600(s) { +function scene_systemMenu_MenuOption_dispose__P103486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24773,12 +24773,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C48593_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C103479_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__P48066_mk(s); + s.tmp_1 = Sprite_destroy__P102952_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -24786,7 +24786,7 @@ switch (step) { s.callLocIdx = 953; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P48066_mk(s); + s.tmp_0 = Sprite_destroy__P102952_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -24802,12 +24802,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P48600.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__P103486.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__P48600_mk(s) { +function scene_systemMenu_MenuOption_dispose__P103486_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P48600, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P103486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24818,7 +24818,7 @@ function scene_systemMenu_MenuOption_dispose__P48600_mk(s) { -function Sprite_destroy__P48066(s) { +function Sprite_destroy__P102952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24835,7 +24835,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -24853,7 +24853,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__P48771_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P103657_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -24863,7 +24863,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P48067_mk(s); + s.tmp_0 = Sprite__destroyCore__P102953_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 406; s.pc = 7; return s.tmp_0; case 7: @@ -24874,12 +24874,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P48066.info = {"start":28412,"length":293,"line":858,"column":4,"endLine":867,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P102952.info = {"start":28412,"length":293,"line":858,"column":4,"endLine":867,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P48066_mk(s) { +function Sprite_destroy__P102952_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P48066, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P102952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24895,7 +24895,7 @@ function Sprite_destroy__P48066_mk(s) { -function effects_ParticleEffect_destroy__P48771(s) { +function effects_ParticleEffect_destroy__P103657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24913,15 +24913,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C48768_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P48058_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C103654_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P102944_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = true; s.callLocIdx = 1218; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P48770_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P103656_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -24953,8 +24953,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__P48797_mk(s); - s.tmp_0.arg0 = globals.dissolve___48800; + s.tmp_0 = effects_ImageEffect_applyTo__P103683_mk(s); + s.tmp_0.arg0 = globals.dissolve___103686; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1220; s.pc = 5; return s.tmp_0; case 5: @@ -24963,12 +24963,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P48771.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__P103657.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__P48771_mk(s) { +function effects_ParticleEffect_destroy__P103657_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P48771, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P103657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24986,7 +24986,7 @@ function effects_ParticleEffect_destroy__P48771_mk(s) { -function inline__P58307(s) { +function inline__P113193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24996,11 +24996,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___58310 = undefined; - s.x___58321 = undefined; - s.y___58327 = undefined; - s.w___58333 = undefined; - s.h___58337 = undefined; + s.i___113196 = undefined; + s.x___113207 = undefined; + s.y___113213 = undefined; + s.w___113219 = undefined; + s.h___113223 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25013,13 +25013,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___58310 = (r0); + s.i___113196 = (r0); case 1: - r0 = (s.i___58310 > 0); + r0 = (s.i___113196 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P48569_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P103455_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -25027,8 +25027,8 @@ switch (step) { s.callLocIdx = 39; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___58321 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P48569_mk(s); + s.x___113207 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P103455_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -25036,56 +25036,56 @@ switch (step) { s.callLocIdx = 40; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___58327 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P48569_mk(s); + s.y___113213 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P103455_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 41; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___58333 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P48569_mk(s); + s.w___113219 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P103455_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___58337 = (r0); - s.tmp_0 = helpers_imageDrawRect__P47710_mk(s); + s.h___113223 = (r0); + s.tmp_0 = helpers_imageDrawRect__P102596_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___58321; - s.tmp_0.arg2 = s.y___58327; - s.tmp_0.arg3 = s.w___58333; - s.tmp_0.arg4 = s.h___58337; + s.tmp_0.arg1 = s.x___113207; + s.tmp_0.arg2 = s.y___113213; + s.tmp_0.arg3 = s.w___113219; + s.tmp_0.arg4 = s.h___113223; s.tmp_0.arg5 = 0; s.callLocIdx = 43; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___58310 - 1); - s.i___58310 = (r0); + r0 = (s.i___113196 - 1); + s.i___113196 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P58307.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__P113193.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__P58307_mk(s) { +function inline__P113193_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58307, depth: s.depth + 1, + parent: s, fn: inline__P113193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___58310: undefined, - x___58321: undefined, - y___58327: undefined, - w___58333: undefined, - h___58337: undefined, + i___113196: undefined, + x___113207: undefined, + y___113213: undefined, + w___113219: undefined, + h___113223: undefined, arg0: undefined, arg1: undefined, } } @@ -25094,7 +25094,7 @@ function inline__P58307_mk(s) { -function helpers_imageDrawRect__P47710(s) { +function helpers_imageDrawRect__P102596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25133,7 +25133,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P47709_mk(s); + s.tmp_0 = helpers_imageDrawLine__P102595_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -25144,7 +25144,7 @@ switch (step) { s.callLocIdx = 120; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P47709_mk(s); + s.tmp_0 = helpers_imageDrawLine__P102595_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -25155,7 +25155,7 @@ switch (step) { s.callLocIdx = 121; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P47709_mk(s); + s.tmp_0 = helpers_imageDrawLine__P102595_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -25168,7 +25168,7 @@ switch (step) { s.callLocIdx = 122; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P47709_mk(s); + s.tmp_0 = helpers_imageDrawLine__P102595_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -25186,12 +25186,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P47710.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__P102596.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__P47710_mk(s) { +function helpers_imageDrawRect__P102596_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P47710, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P102596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25207,7 +25207,7 @@ function helpers_imageDrawRect__P47710_mk(s) { -function helpers_imageDrawLine__P47709(s) { +function helpers_imageDrawLine__P102595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25227,14 +25227,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P49585_mk(s); + s.tmp_2 = helpers_pack__P104471_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 118; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P49585_mk(s); + s.tmp_4 = helpers_pack__P104471_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 119; s.pc = 2; return s.tmp_4; @@ -25246,12 +25246,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P47709.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__P102595.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__P47709_mk(s) { +function helpers_imageDrawLine__P102595_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P47709, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P102595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25270,7 +25270,7 @@ function helpers_imageDrawLine__P47709_mk(s) { -function effects_ImageEffect_applyTo__P48797(s) { +function effects_ImageEffect_applyTo__P103683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25280,14 +25280,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___58433 = undefined; + s.clonedImage___113319 = 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__C48795_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C103681_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -25313,16 +25313,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___58433 = (r0); - s.tmp_0 = effects_ImageEffect_change__P48798_mk(s); + s.clonedImage___113319 = (r0); + s.tmp_0 = effects_ImageEffect_change__P103684_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___58433; + s.tmp_0.arg1 = s.clonedImage___113319; s.callLocIdx = 1231; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P48035_mk(s); + s.tmp_0 = Sprite_setImage__P102921_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___58433; + s.tmp_0.arg1 = s.clonedImage___113319; s.callLocIdx = 1232; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -25331,12 +25331,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P48797.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__P103683.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__P48797_mk(s) { +function effects_ImageEffect_applyTo__P103683_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P48797, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P103683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25344,7 +25344,7 @@ function effects_ImageEffect_applyTo__P48797_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___58433: undefined, + clonedImage___113319: undefined, arg0: undefined, arg1: undefined, } } @@ -25353,7 +25353,7 @@ function effects_ImageEffect_applyTo__P48797_mk(s) { -function effects_ImageEffect_change__P48798(s) { +function effects_ImageEffect_change__P103684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25369,7 +25369,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C48795_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C103681_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -25390,12 +25390,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P48798.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__P103684.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__P48798_mk(s) { +function effects_ImageEffect_change__P103684_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P48798, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P103684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25406,7 +25406,7 @@ function effects_ImageEffect_change__P48798_mk(s) { -function effects_ParticleEffect_start__P48770(s) { +function effects_ParticleEffect_start__P103656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25416,7 +25416,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___58457 = undefined; + s.src___113343 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25426,7 +25426,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C48768_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C103654_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -25462,9 +25462,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___58457 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P48668_mk(s); - s.tmp_0.arg0 = s.src___58457; + s.src___113343 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P103554_mk(s); + s.tmp_0.arg0 = s.src___113343; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -25489,7 +25489,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___58457).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___113343).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -25497,19 +25497,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P48770.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__P103656.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__P48770_mk(s) { +function effects_ParticleEffect_start__P103656_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P48770, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P103656, 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___58457: undefined, + src___113343: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25521,7 +25521,7 @@ function effects_ParticleEffect_start__P48770_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P48668(s) { +function particles_ParticleSource_setRelativeToCamera__P103554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25537,7 +25537,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -25563,12 +25563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P48668.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__P103554.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__P48668_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P103554_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P48668, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P103554, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25583,7 +25583,7 @@ function particles_ParticleSource_setRelativeToCamera__P48668_mk(s) { -function Sprite_setFlag__P48058(s) { +function Sprite_setFlag__P102944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25600,7 +25600,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -25635,7 +25635,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = Sprite_setFlag__P48058_mk(s); + s.tmp_2 = Sprite_setFlag__P102944_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 512; @@ -25649,12 +25649,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P48058.info = {"start":23896,"length":292,"line":731,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P102944.info = {"start":23896,"length":292,"line":731,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P48058_mk(s) { +function Sprite_setFlag__P102944_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P48058, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P102944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25670,7 +25670,7 @@ function Sprite_setFlag__P48058_mk(s) { -function Sprite__destroyCore__P48067(s) { +function Sprite__destroyCore__P102953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25680,29 +25680,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___58226 = undefined; + s.scene___113112 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48511_mk(s); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 407; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___58226 = (r0); + s.scene___113112 = (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__P48066_mk(s); + s.tmp_1 = Sprite_destroy__P102952_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -25712,7 +25712,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.scene___58226.fields["allSprites"]; + r0 = s.scene___113112.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -25724,7 +25724,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.scene___58226.fields["spritesByKind"]; + r0 = s.scene___113112.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -25734,8 +25734,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__P48097_mk(s); - r0 = s.scene___58226.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P102983_mk(s); + r0 = s.scene___113112.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -25747,11 +25747,11 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.tmp_0 = PhysicsEngine__C48138_v1_2_mk(s); - r0 = s.scene___58226.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C103024_v1_2_mk(s); + r0 = s.scene___113112.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C48138_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C103024_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: @@ -25775,15 +25775,15 @@ switch (step) { r0 = s.retval; case 7: case 8: - r0 = pxsim_pxtcore_mkAction(1, inline__P58263); + r0 = pxsim_pxtcore_mkAction(1, inline__P113149); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P58269); + r0 = pxsim_pxtcore_mkAction(1, inline__P113155); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P46086_mk(s); - s.tmp_3 = helpers_arrayFilter__P46087_mk(s); - r0 = s.scene___58226.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P100972_mk(s); + s.tmp_3 = helpers_arrayFilter__P100973_mk(s); + r0 = s.scene___113112.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 415; s.pc = 15; return s.tmp_3; @@ -25798,12 +25798,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P48067.info = {"start":28711,"length":693,"line":869,"column":4,"endLine":885,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P102953.info = {"start":28711,"length":693,"line":869,"column":4,"endLine":885,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P48067_mk(s) { +function Sprite__destroyCore__P102953_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P48067, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P102953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25813,7 +25813,7 @@ function Sprite__destroyCore__P48067_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___58226: undefined, + scene___113112: undefined, arg0: undefined, } } @@ -25821,7 +25821,7 @@ function Sprite__destroyCore__P48067_mk(s) { -function inline__P58263(s) { +function inline__P113149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25843,12 +25843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58263.info = {"start":29327,"length":26,"line":883,"column":20,"endLine":883,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P113149.info = {"start":29327,"length":26,"line":883,"column":20,"endLine":883,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P58263_mk(s) { +function inline__P113149_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58263, depth: s.depth + 1, + parent: s, fn: inline__P113149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25859,7 +25859,7 @@ function inline__P58263_mk(s) { -function inline__P58269(s) { +function inline__P113155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25891,12 +25891,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58269.info = {"start":29376,"length":20,"line":884,"column":21,"endLine":884,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P113155.info = {"start":29376,"length":20,"line":884,"column":21,"endLine":884,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P58269_mk(s) { +function inline__P113155_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58269, depth: s.depth + 1, + parent: s, fn: inline__P113155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25906,7 +25906,7 @@ function inline__P58269_mk(s) { -function PhysicsEngine_removeSprite__P48141(s) { +function PhysicsEngine_removeSprite__P103027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25922,17 +25922,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C48138_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C103024_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P48141.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__P103027.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__P48141_mk(s) { +function PhysicsEngine_removeSprite__P103027_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P48141, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P103027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25942,7 +25942,7 @@ function PhysicsEngine_removeSprite__P48141_mk(s) { -function Sprite_kind__P48049(s) { +function Sprite_kind__P102935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25957,17 +25957,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P48049.info = {"start":10604,"length":41,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P102935.info = {"start":10604,"length":41,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P48049_mk(s) { +function Sprite_kind__P102935_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P48049, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P102935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25976,7 +25976,7 @@ function Sprite_kind__P48049_mk(s) { -function scene_systemMenu_MenuOption_constructor__P48594(s) { +function scene_systemMenu_MenuOption_constructor__P103480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25994,7 +25994,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C48593_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C103479_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -26002,12 +26002,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P48594.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__P103480.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__P48594_mk(s) { +function scene_systemMenu_MenuOption_constructor__P103480_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P48594, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P103480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26019,7 +26019,7 @@ function scene_systemMenu_MenuOption_constructor__P48594_mk(s) { -function helpers_screenBrightness__P47715(s) { +function helpers_screenBrightness__P102601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26033,16 +26033,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___47703; + r0 = globals.brightness___102589; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P47715.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__P102601.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__P47715_mk(s) { +function helpers_screenBrightness__P102601_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P47715, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P102601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26051,7 +26051,7 @@ function helpers_screenBrightness__P47715_mk(s) { -function helpers_arrayConcat__P46090(s) { +function helpers_arrayConcat__P100976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26061,74 +26061,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___58766 = undefined; - s.value___58769 = undefined; - s.unnamed200___U2 = undefined; - s.unnamed201___U3 = undefined; - s.value___58776 = undefined; - s.unnamed202___U5 = undefined; - s.unnamed203___U6 = undefined; + s.out___113652 = undefined; + s.value___113655 = undefined; + s.unnamed440___U2 = undefined; + s.unnamed441___U3 = undefined; + s.value___113662 = undefined; + s.unnamed442___U5 = undefined; + s.unnamed443___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___58766 = (r0); - s.value___58769 = (undefined); - s.unnamed200___U2 = (s.arg0); - s.unnamed201___U3 = (0); + s.out___113652 = (r0); + s.value___113655 = (undefined); + s.unnamed440___U2 = (s.arg0); + s.unnamed441___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed201___U3; - r0 = pxsim_Array__length(s.unnamed200___U2); + s.tmp_0 = r0 = s.unnamed441___U3; + r0 = pxsim_Array__length(s.unnamed440___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed200___U2, s.unnamed201___U3); - s.value___58769 = (r0); - r0 = pxsim_Array__push(s.out___58766, s.value___58769); - r0 = (s.unnamed201___U3 + 1); - s.unnamed201___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed440___U2, s.unnamed441___U3); + s.value___113655 = (r0); + r0 = pxsim_Array__push(s.out___113652, s.value___113655); + r0 = (s.unnamed441___U3 + 1); + s.unnamed441___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed200___U2 = (undefined); - s.value___58776 = (undefined); - s.unnamed202___U5 = (s.arg1); - s.unnamed203___U6 = (0); + s.unnamed440___U2 = (undefined); + s.value___113662 = (undefined); + s.unnamed442___U5 = (s.arg1); + s.unnamed443___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed203___U6; - r0 = pxsim_Array__length(s.unnamed202___U5); + s.tmp_0 = r0 = s.unnamed443___U6; + r0 = pxsim_Array__length(s.unnamed442___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed202___U5, s.unnamed203___U6); - s.value___58776 = (r0); - r0 = pxsim_Array__push(s.out___58766, s.value___58776); - r0 = (s.unnamed203___U6 + 1); - s.unnamed203___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed442___U5, s.unnamed443___U6); + s.value___113662 = (r0); + r0 = pxsim_Array__push(s.out___113652, s.value___113662); + r0 = (s.unnamed443___U6 + 1); + s.unnamed443___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed202___U5 = (undefined); - r0 = s.out___58766; + s.unnamed442___U5 = (undefined); + r0 = s.out___113652; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P46090.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__P100976.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__P46090_mk(s) { +function helpers_arrayConcat__P100976_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P46090, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P100976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___58766: undefined, - value___58769: undefined, - unnamed200___U2: undefined, - unnamed201___U3: undefined, - value___58776: undefined, - unnamed202___U5: undefined, - unnamed203___U6: undefined, + out___113652: undefined, + value___113655: undefined, + unnamed440___U2: undefined, + unnamed441___U3: undefined, + value___113662: undefined, + unnamed442___U5: undefined, + unnamed443___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -26137,7 +26137,7 @@ function helpers_arrayConcat__P46090_mk(s) { -function scene_systemMenu_PauseMenu_show__P48603(s) { +function scene_systemMenu_PauseMenu_show__P103489(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26147,14 +26147,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___57652 = undefined; - s.i___57653 = undefined; + s.current___112538 = undefined; + s.i___112539 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C48601_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C103487_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -26172,9 +26172,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___57653 = (0); + s.i___112539 = (0); case 1: - s.tmp_1 = r0 = s.i___57653; + s.tmp_1 = r0 = s.i___112539; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -26185,22 +26185,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___57653); - s.current___57652 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P48595_mk(s); - s.tmp_0.arg0 = s.current___57652; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___112539); + s.current___112538 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P103481_mk(s); + s.tmp_0.arg0 = s.current___112538; s.callLocIdx = 967; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P48598_mk(s); - s.tmp_0.arg0 = s.current___57652; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P103484_mk(s); + s.tmp_0.arg0 = s.current___112538; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.callLocIdx = 968; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P48596_mk(s); - s.tmp_0.arg0 = s.current___57652; + s.tmp_0 = scene_systemMenu_MenuOption_position__P103482_mk(s); + s.tmp_0.arg0 = s.current___112538; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -26215,7 +26215,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___57653; + s.tmp_5 = r0 = s.i___112539; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -26280,7 +26280,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___57653; + s.tmp_17 = r0 = s.i___112539; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -26334,98 +26334,98 @@ switch (step) { s.callLocIdx = 977; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___57653 + 1); - s.i___57653 = (r0); + r0 = (s.i___112539 + 1); + s.i___112539 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P47933_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P102819_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 978; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P57716); + r0 = pxsim_pxtcore_mkAction(1, inline__P112602); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P47889_mk(s); - s.tmp_1.arg0 = globals.A___47856; + s.tmp_1 = controller_Button_onEvent__P102775_mk(s); + s.tmp_1.arg0 = globals.A___102742; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 980; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P57736); + r0 = pxsim_pxtcore_mkAction(1, inline__P112622); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P47889_mk(s); - s.tmp_1.arg0 = globals.A___47856; + s.tmp_1 = controller_Button_onEvent__P102775_mk(s); + s.tmp_1.arg0 = globals.A___102742; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 982; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P47889_mk(s); - s.tmp_0.arg0 = globals.B___47857; + s.tmp_0 = controller_Button_onEvent__P102775_mk(s); + s.tmp_0.arg0 = globals.B___102743; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P57765; + s.tmp_0.arg2 = inline__P112651; s.callLocIdx = 984; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P47889_mk(s); - s.tmp_0.arg0 = globals.menu___47862; + s.tmp_0 = controller_Button_onEvent__P102775_mk(s); + s.tmp_0.arg0 = globals.menu___102748; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P57770; + s.tmp_0.arg2 = inline__P112656; s.callLocIdx = 986; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P57775); + r0 = pxsim_pxtcore_mkAction(1, inline__P112661); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P47889_mk(s); - s.tmp_1.arg0 = globals.up___47859; + s.tmp_1 = controller_Button_onEvent__P102775_mk(s); + s.tmp_1.arg0 = globals.up___102745; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 990; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P57787); + r0 = pxsim_pxtcore_mkAction(1, inline__P112673); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P47889_mk(s); - s.tmp_1.arg0 = globals.left___47858; + s.tmp_1 = controller_Button_onEvent__P102775_mk(s); + s.tmp_1.arg0 = globals.left___102744; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 993; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P57796); + r0 = pxsim_pxtcore_mkAction(1, inline__P112682); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P47889_mk(s); - s.tmp_1.arg0 = globals.down___47861; + s.tmp_1 = controller_Button_onEvent__P102775_mk(s); + s.tmp_1.arg0 = globals.down___102747; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 997; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P57812); + r0 = pxsim_pxtcore_mkAction(1, inline__P112698); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P47889_mk(s); - s.tmp_1.arg0 = globals.right___47860; + s.tmp_1 = controller_Button_onEvent__P102775_mk(s); + s.tmp_1.arg0 = globals.right___102746; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1000; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P57824); + r0 = pxsim_pxtcore_mkAction(1, inline__P112710); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P48526_mk(s); + s.tmp_1 = game_onShade__P103412_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1003; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P48605_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P103491_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1004; s.pc = 25; return s.tmp_0; @@ -26435,12 +26435,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P48603.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__P103489.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__P48603_mk(s) { +function scene_systemMenu_PauseMenu_show__P103489_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P48603, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P103489, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26467,8 +26467,8 @@ function scene_systemMenu_PauseMenu_show__P48603_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___57652: undefined, - i___57653: undefined, + current___112538: undefined, + i___112539: undefined, arg0: undefined, } } @@ -26476,7 +26476,7 @@ function scene_systemMenu_PauseMenu_show__P48603_mk(s) { -function inline__P57716(s) { +function inline__P112602(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26514,7 +26514,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P48599_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P103485_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -26530,12 +26530,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57716.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P112602.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P57716_mk(s) { +function inline__P112602_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57716, depth: s.depth + 1, + parent: s, fn: inline__P112602, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26554,7 +26554,7 @@ function inline__P57716_mk(s) { -function inline__P57736(s) { +function inline__P112622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26592,7 +26592,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P48599_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P103485_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -26616,12 +26616,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57736.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P112622.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P57736_mk(s) { +function inline__P112622_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57736, depth: s.depth + 1, + parent: s, fn: inline__P112622, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26640,7 +26640,7 @@ function inline__P57736_mk(s) { -function inline__P57765(s) { +function inline__P112651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26650,7 +26650,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P48608_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P103494_mk(s); s.callLocIdx = 983; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -26658,12 +26658,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57765.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P112651.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P57765_mk(s) { +function inline__P112651_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57765, depth: s.depth + 1, + parent: s, fn: inline__P112651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26672,7 +26672,7 @@ function inline__P57765_mk(s) { -function inline__P57770(s) { +function inline__P112656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26682,7 +26682,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P48608_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P103494_mk(s); s.callLocIdx = 985; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -26690,12 +26690,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57770.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P112656.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P57770_mk(s) { +function inline__P112656_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57770, depth: s.depth + 1, + parent: s, fn: inline__P112656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26704,7 +26704,7 @@ function inline__P57770_mk(s) { -function inline__P57775(s) { +function inline__P112661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26714,9 +26714,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P48605_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P103491_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P46104_mk(s); + s.tmp_1 = Math_max__P100990_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -26747,12 +26747,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57775.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P112661.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P57775_mk(s) { +function inline__P112661_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57775, depth: s.depth + 1, + parent: s, fn: inline__P112661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26765,7 +26765,7 @@ function inline__P57775_mk(s) { -function inline__P57787(s) { +function inline__P112673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26775,9 +26775,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P48605_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P103491_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P46104_mk(s); + s.tmp_1 = Math_max__P100990_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -26794,12 +26794,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57787.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P112673.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P57787_mk(s) { +function inline__P112673_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57787, depth: s.depth + 1, + parent: s, fn: inline__P112673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26810,7 +26810,7 @@ function inline__P57787_mk(s) { -function inline__P57796(s) { +function inline__P112682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26820,9 +26820,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P48605_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P103491_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P46105_mk(s); + s.tmp_1 = Math_min__P100991_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -26858,12 +26858,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57796.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P112682.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P57796_mk(s) { +function inline__P112682_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57796, depth: s.depth + 1, + parent: s, fn: inline__P112682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26878,7 +26878,7 @@ function inline__P57796_mk(s) { -function inline__P57812(s) { +function inline__P112698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26888,9 +26888,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P48605_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P103491_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P46105_mk(s); + s.tmp_1 = Math_min__P100991_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -26912,12 +26912,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57812.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P112698.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P57812_mk(s) { +function inline__P112698_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57812, depth: s.depth + 1, + parent: s, fn: inline__P112698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26930,7 +26930,7 @@ function inline__P57812_mk(s) { -function inline__P57824(s) { +function inline__P112710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26940,12 +26940,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P48604_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P103490_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1001; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P48606_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P103492_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1002; s.pc = 2; return s.tmp_0; case 2: @@ -26954,12 +26954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P57824.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P112710.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P57824_mk(s) { +function inline__P112710_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P57824, depth: s.depth + 1, + parent: s, fn: inline__P112710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26968,7 +26968,7 @@ function inline__P57824_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P48606(s) { +function scene_systemMenu_PauseMenu_drawText__P103492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26983,7 +26983,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C48601_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C103487_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -26995,11 +26995,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P47707_mk(s); - s.tmp_3.arg0 = globals.screen___47781; + s.tmp_3 = helpers_imageFillRect__P102593_mk(s); + s.tmp_3.arg0 = globals.screen___102667; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -27021,8 +27021,8 @@ switch (step) { s.callLocIdx = 1016; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P47738_mk(s); - s.tmp_0.arg0 = globals.screen___47781; + s.tmp_0 = helpers_imagePrintCenter__P102624_mk(s); + s.tmp_0.arg0 = globals.screen___102667; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -27056,8 +27056,8 @@ switch (step) { s.callLocIdx = 1019; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P47707_mk(s); - s.tmp_0.arg0 = globals.screen___47781; + s.tmp_0 = helpers_imageFillRect__P102593_mk(s); + s.tmp_0.arg0 = globals.screen___102667; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -27075,9 +27075,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -27101,8 +27101,8 @@ switch (step) { s.callLocIdx = 1022; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P47707_mk(s); - s.tmp_0.arg0 = globals.screen___47781; + s.tmp_0 = helpers_imageFillRect__P102593_mk(s); + s.tmp_0.arg0 = globals.screen___102667; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -27131,7 +27131,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -27183,8 +27183,8 @@ switch (step) { s.callLocIdx = 1028; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P47738_mk(s); - s.tmp_0.arg0 = globals.screen___47781; + s.tmp_0 = helpers_imagePrintCenter__P102624_mk(s); + s.tmp_0.arg0 = globals.screen___102667; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -27243,12 +27243,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P48606.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__P103492.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__P48606_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P103492_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P48606, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P103492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27267,7 +27267,7 @@ function scene_systemMenu_PauseMenu_drawText__P48606_mk(s) { -function helpers_imagePrintCenter__P47738(s) { +function helpers_imagePrintCenter__P102624(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27277,8 +27277,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___57911 = undefined; - s.x___57917 = undefined; + s.w___112797 = undefined; + s.x___112803 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27293,7 +27293,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P47726_mk(s); + s.tmp_2 = image_getFontForText__P102612_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 131; s.pc = 3; return s.tmp_2; case 3: @@ -27317,17 +27317,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___57911 = (r0); + s.w___112797 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___57911); + r0 = (s.tmp_1 - s.w___112797); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___57917 = (r0); - s.tmp_0 = helpers_imagePrint__P47739_mk(s); + s.x___112803 = (r0); + s.tmp_0 = helpers_imagePrint__P102625_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___57917; + s.tmp_0.arg2 = s.x___112803; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -27339,18 +27339,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P47738.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__P102624.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__P47738_mk(s) { +function helpers_imagePrintCenter__P102624_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P47738, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P102624, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___57911: undefined, - x___57917: undefined, + w___112797: undefined, + x___112803: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27362,7 +27362,7 @@ function helpers_imagePrintCenter__P47738_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P48605(s) { +function scene_systemMenu_PauseMenu_setSelection__P103491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27378,7 +27378,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C48601_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C103487_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -27398,7 +27398,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__P48599_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P103485_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -27420,9 +27420,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C47882_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___47856; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C47882_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C102768_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___102742; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C102768_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: @@ -27437,7 +27437,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P48599_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P103485_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -27450,7 +27450,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P50088_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P104974_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1014; s.pc = 13; return s.tmp_0; case 13: @@ -27460,12 +27460,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P48605.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__P103491.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__P48605_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P103491_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P48605, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P103491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27484,7 +27484,7 @@ function scene_systemMenu_PauseMenu_setSelection__P48605_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P50088(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P104974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27494,13 +27494,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___58122 = undefined; + s.row___113008 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C48601_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C103487_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -27518,17 +27518,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___58122 = (r0); + s.row___113008 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___58122 === s.tmp_1); + r0 = (s.row___113008 === 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___58122 - 1); + r0 = (s.row___113008 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -27543,7 +27543,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___58122 > s.tmp_6); + r0 = (s.row___113008 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -27603,12 +27603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P50088.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__P104974.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__P50088_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P104974_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P50088, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P104974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27620,7 +27620,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P50088_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___58122: undefined, + row___113008: undefined, arg0: undefined, } } @@ -27628,7 +27628,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P50088_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P48604(s) { +function scene_systemMenu_PauseMenu_onUpdate__P103490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27638,22 +27638,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___57933 = undefined; - s.i___57937 = undefined; - s.dt___57966 = undefined; + s.t___112819 = undefined; + s.i___112823 = undefined; + s.dt___112852 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C48601_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C103487_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___57933 = (r0); - s.i___57937 = (0); + s.t___112819 = (r0); + s.i___112823 = (0); case 1: - s.tmp_1 = r0 = s.i___57937; + s.tmp_1 = r0 = s.i___112823; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -27662,13 +27662,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__P48597_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P103483_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___57937); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___112823); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___57933; - s.tmp_11 = r0 = s.i___57937; + s.tmp_8 = r0 = s.t___112819; + s.tmp_11 = r0 = s.i___112823; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -27696,11 +27696,11 @@ switch (step) { s.callLocIdx = 1006; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___57937 + 1); - s.i___57937 = (r0); + r0 = (s.i___112823 + 1); + s.i___112823 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P48511_mk(s); + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 1007; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -27709,7 +27709,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___57966 = (r0); + s.dt___112852 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -27721,7 +27721,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___57966 * 100); + r0 = (s.dt___112852 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -27739,7 +27739,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___57966 * 100); + r0 = (s.dt___112852 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -27749,7 +27749,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P46102_mk(s); + s.tmp_2 = Math_abs__P100988_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -27769,8 +27769,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P48347_mk(s); - s.tmp_1 = game_currentScene__P48511_mk(s); + s.tmp_0 = scene_Camera_offsetY__P103233_mk(s); + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 1010; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -27786,12 +27786,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P48604.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__P103490.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__P48604_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P103490_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P48604, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P103490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27807,9 +27807,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P48604_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___57933: undefined, - i___57937: undefined, - dt___57966: undefined, + t___112819: undefined, + i___112823: undefined, + dt___112852: undefined, arg0: undefined, } } @@ -27817,7 +27817,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P48604_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P48597(s) { +function scene_systemMenu_MenuOption_setOffset__P103483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27833,8 +27833,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C48593_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P48046_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C103479_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P102932_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -27844,10 +27844,10 @@ switch (step) { s.callLocIdx = 948; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P48007_mk(s); + s.tmp_0 = Sprite_y__P102893_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P48006_mk(s); + s.tmp_1 = Sprite_y__P102892_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 949; s.pc = 3; return s.tmp_1; @@ -27861,12 +27861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P48597.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__P103483.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__P48597_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P103483_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P48597, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P103483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27878,7 +27878,7 @@ function scene_systemMenu_MenuOption_setOffset__P48597_mk(s) { -function Sprite_top__P48046(s) { +function Sprite_top__P102932(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27888,22 +27888,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___58042 = undefined; + s.physics___112928 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P48511_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 311; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___58042 = (r0); - s.tmp_0 = PhysicsEngine__C48138_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___58042; + s.physics___112928 = (r0); + s.tmp_0 = PhysicsEngine__C103024_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___112928; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -27914,7 +27914,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__C48138_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C103024_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: @@ -27923,18 +27923,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P48046.info = {"start":9733,"length":256,"line":355,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P102932.info = {"start":9733,"length":256,"line":355,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P48046_mk(s) { +function Sprite_top__P102932_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P48046, depth: s.depth + 1, + parent: s, fn: Sprite_top__P102932, 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___58042: undefined, + physics___112928: undefined, arg0: undefined, arg1: undefined, } } @@ -27943,7 +27943,7 @@ function Sprite_top__P48046_mk(s) { -function PhysicsEngine_moveSprite__P48142(s) { +function PhysicsEngine_moveSprite__P103028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27961,17 +27961,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C48138_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C103024_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P48142.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__P103028.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__P48142_mk(s) { +function PhysicsEngine_moveSprite__P103028_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P48142, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P103028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27983,7 +27983,7 @@ function PhysicsEngine_moveSprite__P48142_mk(s) { -function Sprite_top__P48045(s) { +function Sprite_top__P102931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27998,20 +27998,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48045.info = {"start":9590,"length":53,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P48045.isGetter = true; +Sprite_top__P102931.info = {"start":9590,"length":53,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P102931.isGetter = true; -function Sprite_top__P48045_mk(s) { +function Sprite_top__P102931_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P48045, depth: s.depth + 1, + parent: s, fn: Sprite_top__P102931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28021,7 +28021,7 @@ function Sprite_top__P48045_mk(s) { -function Sprite_y__P48007(s) { +function Sprite_y__P102893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28037,8 +28037,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P48046_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P102932_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -28056,12 +28056,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P48007.info = {"start":2022,"length":72,"line":86,"column":4,"endLine":88,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P102893.info = {"start":2022,"length":72,"line":86,"column":4,"endLine":88,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P48007_mk(s) { +function Sprite_y__P102893_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P48007, depth: s.depth + 1, + parent: s, fn: Sprite_y__P102893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28076,7 +28076,7 @@ function Sprite_y__P48007_mk(s) { -function scene_systemMenu_MenuOption_setState__P48599(s) { +function scene_systemMenu_MenuOption_setState__P103485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28092,7 +28092,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C48593_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C103479_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -28103,7 +28103,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P50087_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P104973_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 952; s.pc = 4; return s.tmp_0; case 4: @@ -28113,12 +28113,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P48599.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__P103485.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__P48599_mk(s) { +function scene_systemMenu_MenuOption_setState__P103485_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P48599, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P103485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28130,7 +28130,7 @@ function scene_systemMenu_MenuOption_setState__P48599_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P50087(s) { +function scene_systemMenu_MenuOption_updateCard__P104973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28145,7 +28145,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C48593_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C103479_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -28168,7 +28168,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P48035_mk(s); + s.tmp_4 = Sprite_setImage__P102921_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -28190,7 +28190,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P48035_mk(s); + s.tmp_0 = Sprite_setImage__P102921_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -28212,7 +28212,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P48035_mk(s); + s.tmp_0 = Sprite_setImage__P102921_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -28233,10 +28233,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P48005_mk(s); + s.tmp_0 = Sprite_x__P102891_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P48004_mk(s); + s.tmp_1 = Sprite_x__P102890_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 961; s.pc = 15; return s.tmp_1; @@ -28246,10 +28246,10 @@ switch (step) { s.callLocIdx = 962; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P48007_mk(s); + s.tmp_0 = Sprite_y__P102893_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P48006_mk(s); + s.tmp_1 = Sprite_y__P102892_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 963; s.pc = 17; return s.tmp_1; @@ -28264,12 +28264,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P50087.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__P104973.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__P50087_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P104973_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P50087, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P104973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28284,7 +28284,7 @@ function scene_systemMenu_MenuOption_updateCard__P50087_mk(s) { -function Sprite_x__P48005(s) { +function Sprite_x__P102891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28300,8 +28300,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P48042_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P102928_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -28319,12 +28319,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P48005.info = {"start":1673,"length":72,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P102891.info = {"start":1673,"length":72,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P48005_mk(s) { +function Sprite_x__P102891_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P48005, depth: s.depth + 1, + parent: s, fn: Sprite_x__P102891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28339,7 +28339,7 @@ function Sprite_x__P48005_mk(s) { -function Sprite_left__P48042(s) { +function Sprite_left__P102928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28349,22 +28349,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___58588 = undefined; + s.physics___113474 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P48511_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 303; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___58588 = (r0); - s.tmp_0 = PhysicsEngine__C48138_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___58588; + s.physics___113474 = (r0); + s.tmp_0 = PhysicsEngine__C103024_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___113474; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -28375,7 +28375,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__C48138_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C103024_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: @@ -28384,18 +28384,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P48042.info = {"start":8929,"length":257,"line":325,"column":4,"endLine":335,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P102928.info = {"start":8929,"length":257,"line":325,"column":4,"endLine":335,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P48042_mk(s) { +function Sprite_left__P102928_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P48042, depth: s.depth + 1, + parent: s, fn: Sprite_left__P102928, 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___58588: undefined, + physics___113474: undefined, arg0: undefined, arg1: undefined, } } @@ -28404,7 +28404,7 @@ function Sprite_left__P48042_mk(s) { -function Sprite_left__P48041(s) { +function Sprite_left__P102927(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28419,20 +28419,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48041.info = {"start":8785,"length":53,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P48041.isGetter = true; +Sprite_left__P102927.info = {"start":8785,"length":53,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P102927.isGetter = true; -function Sprite_left__P48041_mk(s) { +function Sprite_left__P102927_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P48041, depth: s.depth + 1, + parent: s, fn: Sprite_left__P102927, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28442,7 +28442,7 @@ function Sprite_left__P48041_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P48598(s) { +function scene_systemMenu_MenuOption_setTheme__P103484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28458,9 +28458,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C48593_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C103479_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P50087_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P104973_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 951; s.pc = 1; return s.tmp_0; case 1: @@ -28469,12 +28469,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P48598.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__P103484.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__P48598_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P103484_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P48598, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P103484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28485,7 +28485,7 @@ function scene_systemMenu_MenuOption_setTheme__P48598_mk(s) { -function scene_systemMenu_MenuOption_position__P48596(s) { +function scene_systemMenu_MenuOption_position__P103482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28502,26 +28502,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C48593_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C103479_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P48042_mk(s); + s.tmp_0 = Sprite_left__P102928_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 942; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P48046_mk(s); + s.tmp_0 = Sprite_top__P102932_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 943; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P48005_mk(s); + s.tmp_0 = Sprite_x__P102891_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P48004_mk(s); + s.tmp_1 = Sprite_x__P102890_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 944; s.pc = 4; return s.tmp_1; @@ -28531,10 +28531,10 @@ switch (step) { s.callLocIdx = 945; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P48007_mk(s); + s.tmp_0 = Sprite_y__P102893_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P48006_mk(s); + s.tmp_1 = Sprite_y__P102892_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 946; s.pc = 6; return s.tmp_1; @@ -28548,12 +28548,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P48596.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__P103482.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__P48596_mk(s) { +function scene_systemMenu_MenuOption_position__P103482_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P48596, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P103482, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28566,7 +28566,7 @@ function scene_systemMenu_MenuOption_position__P48596_mk(s) { -function scene_systemMenu_MenuOption_show__P48595(s) { +function scene_systemMenu_MenuOption_show__P103481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28581,7 +28581,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C48593_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C103479_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -28601,12 +28601,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___48617; + r0 = globals.CARD_NORMAL___103503; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P47953_mk(s); + s.tmp_5 = sprites_create__P102839_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; s.callLocIdx = 938; s.pc = 4; return s.tmp_5; @@ -28629,7 +28629,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P47953_mk(s); + s.tmp_2 = sprites_create__P102839_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -28657,12 +28657,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P48595.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__P103481.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__P48595_mk(s) { +function scene_systemMenu_MenuOption_show__P103481_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P48595, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P103481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28677,7 +28677,7 @@ function scene_systemMenu_MenuOption_show__P48595_mk(s) { -function game_onShade__P48526(s) { +function game_onShade__P103412(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28691,7 +28691,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P49841_mk(s); + s.tmp_0 = game_init__P104727_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 933; s.pc = 4; return s.tmp_0; case 4: @@ -28705,7 +28705,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P48362_mk(s); + s.tmp_2 = scene_createRenderable__P103248_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -28717,12 +28717,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P48526.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__P103412.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__P48526_mk(s) { +function game_onShade__P103412_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P48526, depth: s.depth + 1, + parent: s, fn: game_onShade__P103412, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28734,7 +28734,7 @@ function game_onShade__P48526_mk(s) { -function scene_createRenderable__P48362(s) { +function scene_createRenderable__P103248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28744,14 +28744,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___58074 = undefined; + s.renderable___112960 = 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__C48357_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C103243_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -28759,11 +28759,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P58080; + r0 = inline__P112966; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P48358_mk(s); + s.tmp_3 = scene_Renderable_constructor__P103244_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -28771,23 +28771,23 @@ switch (step) { s.callLocIdx = 813; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___58074 = (s.tmp_0); - r0 = s.renderable___58074; + s.renderable___112960 = (s.tmp_0); + r0 = s.renderable___112960; return leave(s, r0) default: oops() } } } -scene_createRenderable__P48362.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__P103248.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__P48362_mk(s) { +function scene_createRenderable__P103248_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P48362, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P103248, 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___58074: undefined, + renderable___112960: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28797,7 +28797,7 @@ function scene_createRenderable__P48362_mk(s) { -function inline__P58080(s) { +function inline__P112966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28811,12 +28811,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P58080.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P112966.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P58080_mk(s) { +function inline__P112966_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P58080, depth: s.depth + 1, + parent: s, fn: inline__P112966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -28824,7 +28824,7 @@ function inline__P58080_mk(s) { -function scene_Renderable_constructor__P48358(s) { +function scene_Renderable_constructor__P103244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28842,10 +28842,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C48357_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C103243_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P47839_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P102725_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 810; s.pc = 1; return s.tmp_0; @@ -28855,12 +28855,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P48358.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__P103244.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__P48358_mk(s) { +function scene_Renderable_constructor__P103244_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P48358, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P103244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28873,7 +28873,7 @@ function scene_Renderable_constructor__P48358_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P48602(s) { +function scene_systemMenu_PauseMenu_constructor__P103488(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28890,7 +28890,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C48601_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C103487_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -28898,8 +28898,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P48610_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___48617); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P103496_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___103503); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -28918,12 +28918,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P48602.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__P103488.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__P48602_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P103488_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P48602, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P103488, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28937,7 +28937,7 @@ function scene_systemMenu_PauseMenu_constructor__P48602_mk(s) { -function scene_systemMenu_buildMenuTheme__P48610(s) { +function scene_systemMenu_buildMenuTheme__P103496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28947,7 +28947,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___59131 = undefined; + s.cardsPerRow___114017 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28955,19 +28955,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); 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___59131 = (r0); + s.cardsPerRow___114017 = (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___47724; + r0 = globals.font8___102610; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -28978,7 +28978,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P47727_mk(s); + s.tmp_1 = image_doubledFont__P102613_mk(s); s.tmp_1.arg0 = s.arg2; s.callLocIdx = 1075; s.pc = 5; return s.tmp_1; case 5: @@ -28991,12 +28991,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___59131); - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___114017); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_3 = r0; - r0 = (s.cardsPerRow___59131 * s.arg0); + r0 = (s.cardsPerRow___114017 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___59131 - 1); + r0 = (s.cardsPerRow___114017 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -29027,7 +29027,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___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -29048,19 +29048,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___48618); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___48619); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___48617); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___103504); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___103505); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___103503); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P48610.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__P103496.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__P48610_mk(s) { +function scene_systemMenu_buildMenuTheme__P103496_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P48610, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P103496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29079,7 +29079,7 @@ function scene_systemMenu_buildMenuTheme__P48610_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___59131: undefined, + cardsPerRow___114017: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29090,7 +29090,7 @@ function scene_systemMenu_buildMenuTheme__P48610_mk(s) { -function image_doubledFont__P47727(s) { +function image_doubledFont__P102613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29104,7 +29104,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P47728_mk(s); + s.tmp_0 = image_scaledFont__P102614_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 125; s.pc = 1; return s.tmp_0; @@ -29113,12 +29113,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P47727.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__P102613.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__P47727_mk(s) { +function image_doubledFont__P102613_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P47727, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P102613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29128,7 +29128,7 @@ function image_doubledFont__P47727_mk(s) { -function image_scaledFont__P47728(s) { +function image_scaledFont__P102614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29243,12 +29243,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P47728.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__P102614.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__P47728_mk(s) { +function image_scaledFont__P102614_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P47728, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P102614, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29274,7 +29274,7 @@ function image_scaledFont__P47728_mk(s) { -function controller_Button_onEvent__P47889(s) { +function controller_Button_onEvent__P102775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29291,8 +29291,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C47882_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P46359_mk(s); + if (!checkSubtype(r0, controller_Button__C102768_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P101245_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -29305,12 +29305,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P47889.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__P102775.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__P47889_mk(s) { +function controller_Button_onEvent__P102775_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P47889, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P102775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29322,7 +29322,7 @@ function controller_Button_onEvent__P47889_mk(s) { -function scene_systemMenu_initScreen__P50100(s) { +function scene_systemMenu_initScreen__P104986(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29332,20 +29332,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___59219 = undefined; - s.tmp_0 = settings_readNumber__P47812_mk(s); + s.brightness___114105 = undefined; + s.tmp_0 = settings_readNumber__P102698_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 1084; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___59219 = (r0); - r0 = (s.brightness___59219 !== undefined); + s.brightness___114105 = (r0); + r0 = (s.brightness___114105 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P47714_mk(s); - s.tmp_1.arg0 = globals.screen___47781; - s.tmp_1.arg1 = s.brightness___59219; + s.tmp_1 = helpers_setScreenBrightness__P102600_mk(s); + s.tmp_1.arg0 = globals.screen___102667; + s.tmp_1.arg1 = s.brightness___114105; s.callLocIdx = 1085; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -29355,23 +29355,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P50100.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__P104986.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__P50100_mk(s) { +function scene_systemMenu_initScreen__P104986_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P50100, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P104986, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___59219: undefined, + brightness___114105: undefined, } } -function settings_readNumber__P47812(s) { +function settings_readNumber__P102698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29381,15 +29381,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___59230 = undefined; - s.nums___59237 = undefined; + s.buf___114116 = undefined; + s.nums___114123 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___59230 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___59230); + s.buf___114116 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___114116); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -29399,20 +29399,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P46155_mk(s); - s.tmp_2.arg0 = s.buf___59230; + s.tmp_2 = msgpack_unpackNumberArray__P101041_mk(s); + s.tmp_2.arg0 = s.buf___114116; s.tmp_2.arg1 = 0; s.callLocIdx = 163; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___59237 = (r0); - s.tmp_0 = r0 = s.nums___59237; + s.nums___114123 = (r0); + s.tmp_0 = r0 = s.nums___114123; 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___59237); + r0 = pxsim_Array__length(s.nums___114123); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -29420,7 +29420,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___59237, 0); + r0 = pxsim_Array__getAt(s.nums___114123, 0); { step = 7; continue; } case 4: case 5: @@ -29432,18 +29432,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P47812.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__P102698.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__P47812_mk(s) { +function settings_readNumber__P102698_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P47812, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P102698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___59230: undefined, - nums___59237: undefined, + buf___114116: undefined, + nums___114123: undefined, arg0: undefined, } } @@ -29451,7 +29451,7 @@ function settings_readNumber__P47812_mk(s) { -function settings_readBuffer__P47810(s) { +function settings_readBuffer__P102696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29469,12 +29469,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P47810.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__P102696.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__P47810_mk(s) { +function settings_readBuffer__P102696_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P47810, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P102696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29483,7 +29483,7 @@ function settings_readBuffer__P47810_mk(s) { -function msgpack_unpackNumberArray__P46155(s) { +function msgpack_unpackNumberArray__P101041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29493,16 +29493,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___59250 = undefined; - s.fmt___59257 = undefined; - s.v___59266 = undefined; + s.res___114136 = undefined; + s.fmt___114143 = undefined; + s.v___114152 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___59250 = (r0); + s.res___114136 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -29514,14 +29514,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P49457_mk(s); + s.tmp_4 = msgpack_tagFormat__P104343_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 20; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___59257 = (r0); - r0 = (s.fmt___59257 === null); + s.fmt___114143 = (r0); + r0 = (s.fmt___114143 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -29529,21 +29529,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___59266 = (r0); - r0 = (-31 <= s.v___59266); + s.v___114152 = (r0); + r0 = (-31 <= s.v___114152); 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___59266 <= 127); + r0 = (s.v___114152 <= 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___59250, s.v___59266); + r0 = pxsim_Array__push(s.res___114136, s.v___114152); { step = 5; continue; } case 4: r0 = null; @@ -29551,13 +29551,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___59250; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___59257, s.arg1); + s.tmp_0 = r0 = s.res___114136; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___114143, 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__P46147_mk(s); - s.tmp_2.arg0 = s.fmt___59257; + s.tmp_2 = pins_sizeOf__P101033_mk(s); + s.tmp_2.arg0 = s.fmt___114143; s.callLocIdx = 21; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -29578,26 +29578,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___59250; + r0 = s.res___114136; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P46155.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__P101041.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__P46155_mk(s) { +function msgpack_unpackNumberArray__P101041_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P46155, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P101041, 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___59250: undefined, - fmt___59257: undefined, - v___59266: undefined, + res___114136: undefined, + fmt___114143: undefined, + v___114152: undefined, arg0: undefined, arg1: undefined, } } @@ -29606,7 +29606,7 @@ function msgpack_unpackNumberArray__P46155_mk(s) { -function scene_systemMenu_initVolume__P50099(s) { +function scene_systemMenu_initVolume__P104985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29616,19 +29616,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___59311 = undefined; - s.tmp_0 = settings_readNumber__P47812_mk(s); + s.vol___114197 = undefined; + s.tmp_0 = settings_readNumber__P102698_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 1082; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___59311 = (r0); - r0 = (s.vol___59311 !== undefined); + s.vol___114197 = (r0); + r0 = (s.vol___114197 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P47571_mk(s); - s.tmp_1.arg0 = s.vol___59311; + s.tmp_1 = music_setVolume__P102457_mk(s); + s.tmp_1.arg0 = s.vol___114197; s.callLocIdx = 1083; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -29638,23 +29638,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P50099.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__P104985.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__P50099_mk(s) { +function scene_systemMenu_initVolume__P104985_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P50099, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P104985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___59311: undefined, + vol___114197: undefined, } } -function game_currentScene__P48511(s) { +function game_currentScene__P103397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29664,21 +29664,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P49841_mk(s); + s.tmp_0 = game_init__P104727_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 907; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___49833; + r0 = globals._scene___104719; return leave(s, r0) default: oops() } } } -game_currentScene__P48511.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P103397.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__P48511_mk(s) { +function game_currentScene__P103397_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P48511, depth: s.depth + 1, + parent: s, fn: game_currentScene__P103397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -29687,7 +29687,7 @@ function game_currentScene__P48511_mk(s) { -function game_addScenePopHandler__P48530(s) { +function game_addScenePopHandler__P103416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29701,35 +29701,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___49836); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___104722); 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___49836 = (r0); + globals._scenePopHandlers___104722 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___49836, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___104722, 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___49836, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___104722, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P48530.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__P103416.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__P48530_mk(s) { +function game_addScenePopHandler__P103416_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P48530, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P103416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29740,7 +29740,7 @@ function game_addScenePopHandler__P48530_mk(s) { -function game_addScenePushHandler__P48528(s) { +function game_addScenePushHandler__P103414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29754,35 +29754,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___49835); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___104721); 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___49835 = (r0); + globals._scenePushHandlers___104721 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___49835, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___104721, 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___49835, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___104721, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P48528.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__P103414.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__P48528_mk(s) { +function game_addScenePushHandler__P103414_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P48528, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P103414, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29793,7 +29793,7 @@ function game_addScenePushHandler__P48528_mk(s) { -function Fx8__P46123(s) { +function Fx8__P101009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29813,12 +29813,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P46123.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P101009.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__P46123_mk(s) { +function Fx8__P101009_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P46123, depth: s.depth + 1, + parent: s, fn: Fx8__P101009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29828,7 +29828,7 @@ function Fx8__P46123_mk(s) { -function SpriteKind_create__P48106(s) { +function SpriteKind_create__P102992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29838,26 +29838,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___49686 === undefined); + r0 = (globals.nextKind___104572 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___49686 = (1000); + globals.nextKind___104572 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___49686; + s.tmp_0 = r0 = globals.nextKind___104572; r0 = (s.tmp_0 + 1); - globals.nextKind___49686 = (r0); + globals.nextKind___104572 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P48106.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P102992.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__P48106_mk(s) { +function SpriteKind_create__P102992_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P48106, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P102992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -29866,7 +29866,7 @@ function SpriteKind_create__P48106_mk(s) { -function controller_Button_constructor__P47888(s) { +function controller_Button_constructor__P102774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29883,7 +29883,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C47882_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C102768_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -29893,13 +29893,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__P59387); + r0 = pxsim_pxtcore_mkAction(1, inline__P114273); 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__P59394); + r0 = pxsim_pxtcore_mkAction(1, inline__P114280); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -29918,12 +29918,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P47888.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__P102774.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__P47888_mk(s) { +function controller_Button_constructor__P102774_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P47888, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P102774, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29937,7 +29937,7 @@ function controller_Button_constructor__P47888_mk(s) { -function inline__P59387(s) { +function inline__P114273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29947,7 +29947,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P47893_mk(s); + s.tmp_0 = controller_Button_setPressed__P102779_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 175; s.pc = 1; return s.tmp_0; @@ -29957,12 +29957,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P59387.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P114273.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P59387_mk(s) { +function inline__P114273_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P59387, depth: s.depth + 1, + parent: s, fn: inline__P114273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -29971,7 +29971,7 @@ function inline__P59387_mk(s) { -function inline__P59394(s) { +function inline__P114280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29981,7 +29981,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P47893_mk(s); + s.tmp_0 = controller_Button_setPressed__P102779_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 176; s.pc = 1; return s.tmp_0; @@ -29991,12 +29991,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P59394.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P114280.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P59394_mk(s) { +function inline__P114280_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P59394, depth: s.depth + 1, + parent: s, fn: inline__P114280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -30005,7 +30005,7 @@ function inline__P59394_mk(s) { -function controller_setupButton__P49668(s) { +function controller_setupButton__P104554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30024,12 +30024,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P49668.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__P104554.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__P49668_mk(s) { +function controller_setupButton__P104554_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P49668, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P104554, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30039,7 +30039,7 @@ function controller_setupButton__P49668_mk(s) { -function controller_Button_setPressed__P47893(s) { +function controller_Button_setPressed__P102779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30055,14 +30055,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C47882_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C102768_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__P47684_mk(s); + s.tmp_2 = power_poke__P102570_mk(s); s.callLocIdx = 179; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -30070,7 +30070,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__P47922_mk(s); + s.tmp_1 = controller_Controller_connected__P102808_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -30085,7 +30085,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__P49670_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P104556_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 181; s.pc = 9; return s.tmp_0; case 9: @@ -30093,7 +30093,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P49669_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P104555_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 182; s.pc = 10; return s.tmp_0; case 10: @@ -30105,12 +30105,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P47893.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__P102779.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__P47893_mk(s) { +function controller_Button_setPressed__P102779_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P47893, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P102779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30123,7 +30123,7 @@ function controller_Button_setPressed__P47893_mk(s) { -function controller_Button_raiseButtonDown__P49670(s) { +function controller_Button_raiseButtonDown__P104556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30138,8 +30138,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C47882_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___49662); + if (!checkSubtype(r0, controller_Button__C102768_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___104548); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -30154,12 +30154,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P49670.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__P104556.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__P49670_mk(s) { +function controller_Button_raiseButtonDown__P104556_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P49670, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P104556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30169,7 +30169,7 @@ function controller_Button_raiseButtonDown__P49670_mk(s) { -function controller_Button_raiseButtonUp__P49669(s) { +function controller_Button_raiseButtonUp__P104555(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30184,8 +30184,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C47882_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___49662); + if (!checkSubtype(r0, controller_Button__C102768_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___104548); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -30200,12 +30200,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P49669.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__P104555.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__P49669_mk(s) { +function controller_Button_raiseButtonUp__P104555_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P49669, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P104555, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30215,7 +30215,7 @@ function controller_Button_raiseButtonUp__P49669_mk(s) { -function controller_Controller_connected__P47922(s) { +function controller_Controller_connected__P102808(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30231,7 +30231,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -30259,12 +30259,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P47922.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__P102808.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__P47922_mk(s) { +function controller_Controller_connected__P102808_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P47922, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P102808, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30277,7 +30277,7 @@ function controller_Controller_connected__P47922_mk(s) { -function controller_Controller_id__P47909(s) { +function controller_Controller_id__P102795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30292,18 +30292,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P47909.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__P47909.isGetter = true; +controller_Controller_id__P102795.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__P102795.isGetter = true; -function controller_Controller_id__P47909_mk(s) { +function controller_Controller_id__P102795_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P47909, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P102795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30312,7 +30312,7 @@ function controller_Controller_id__P47909_mk(s) { -function controller_Controller_connected__P47921(s) { +function controller_Controller_connected__P102807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30327,18 +30327,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C47902_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C102788_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P47921.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__P47921.isGetter = true; +controller_Controller_connected__P102807.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__P102807.isGetter = true; -function controller_Controller_connected__P47921_mk(s) { +function controller_Controller_connected__P102807_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P47921, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P102807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30347,7 +30347,7 @@ function controller_Controller_connected__P47921_mk(s) { -function settings_initScopes__P49635(s) { +function settings_initScopes__P104521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30357,17 +30357,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___59472 = undefined; - s.tmp_1 = settings_runNumber__P47804_mk(s); + s.rn___114358 = undefined; + s.tmp_1 = settings_runNumber__P102690_mk(s); s.callLocIdx = 154; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___59472 = (r0); - s.tmp_0 = settings_writeNumber__P47808_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___49623; - s.tmp_0.arg1 = s.rn___59472; + s.rn___114358 = (r0); + s.tmp_0 = settings_writeNumber__P102694_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___104509; + s.tmp_0.arg1 = s.rn___114358; s.callLocIdx = 155; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -30376,8 +30376,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___59472); - s.tmp_0 = settings_setScope__P49634_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___114358); + s.tmp_0 = settings_setScope__P104520_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 156; s.pc = 3; return s.tmp_0; @@ -30387,23 +30387,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P49635.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P104521.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__P49635_mk(s) { +function settings_initScopes__P104521_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P49635, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P104521, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___59472: undefined, + rn___114358: undefined, } } -function settings_setScope__P49634(s) { +function settings_setScope__P104520(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30413,7 +30413,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___59501 = undefined; + s.currScope___114387 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -30438,19 +30438,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P47811_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___49624; + s.tmp_0 = settings_readString__P102697_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___104510; s.callLocIdx = 152; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___59501 = (r0); - r0 = (s.currScope___59501 != s.arg0); + s.currScope___114387 = (r0); + r0 = (s.currScope___114387 != 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__P47807_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___49624; + s.tmp_0 = settings_writeString__P102693_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___104510; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 153; s.pc = 8; return s.tmp_0; case 8: @@ -30461,18 +30461,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P49634.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__P104520.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__P49634_mk(s) { +function settings_setScope__P104520_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P49634, depth: s.depth + 1, + parent: s, fn: settings_setScope__P104520, 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___59501: undefined, + currScope___114387: undefined, arg0: undefined, } } @@ -30480,7 +30480,7 @@ function settings_setScope__P49634_mk(s) { -function settings_readString__P47811(s) { +function settings_readString__P102697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30490,14 +30490,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___59522 = undefined; + s.buf___114408 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___59522 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___59522); + s.buf___114408 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___114408); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -30507,7 +30507,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___59522); + r0 = pxsim.BufferMethods.toString(s.buf___114408); { step = 3; continue; } case 2: r0 = undefined; @@ -30515,16 +30515,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P47811.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__P102697.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__P47811_mk(s) { +function settings_readString__P102697_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P47811, depth: s.depth + 1, + parent: s, fn: settings_readString__P102697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___59522: undefined, + buf___114408: undefined, arg0: undefined, } } @@ -30532,7 +30532,7 @@ function settings_readString__P47811_mk(s) { -function settings_writeString__P47807(s) { +function settings_writeString__P102693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30547,7 +30547,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P47806_mk(s); + s.tmp_0 = settings_writeBuffer__P102692_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -30558,12 +30558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P47807.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__P102693.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__P47807_mk(s) { +function settings_writeString__P102693_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P47807, depth: s.depth + 1, + parent: s, fn: settings_writeString__P102693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30574,7 +30574,7 @@ function settings_writeString__P47807_mk(s) { -function settings_runNumber__P47804(s) { +function settings_runNumber__P102690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30584,8 +30584,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P47812_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___49623; + s.tmp_1 = settings_readNumber__P102698_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___104509; s.callLocIdx = 151; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -30603,12 +30603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P47804.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P102690.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__P47804_mk(s) { +function settings_runNumber__P102690_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P47804, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P102690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30619,7 +30619,7 @@ function settings_runNumber__P47804_mk(s) { -function control___screen_setupUpdate__P47743(s) { +function control___screen_setupUpdate__P102629(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30633,8 +30633,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___49592 = (true); - globals.__update___49590 = (s.arg0); + globals.__updated___104478 = (true); + globals.__update___104476 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -30645,12 +30645,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P47743.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__P102629.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__P47743_mk(s) { +function control___screen_setupUpdate__P102629_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P47743, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P102629, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30660,7 +30660,7 @@ function control___screen_setupUpdate__P47743_mk(s) { -function control___screen_update__P47742(s) { +function control___screen_update__P102628(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30670,27 +30670,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___49590); + r0 = pxsim_numops_toBoolDecr(globals.__update___104476); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___49590; + s.tmp_0.argL = globals.__update___104476; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 146; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___49592 = (true); + globals.__updated___104478 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P47742.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__P102628.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__P47742_mk(s) { +function control___screen_update__P102628_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P47742, depth: s.depth + 1, + parent: s, fn: control___screen_update__P102628, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -30699,7 +30699,7 @@ function control___screen_update__P47742_mk(s) { -function pause__P46381(s) { +function pause__P101267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30723,12 +30723,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P46381.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P101267.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__P46381_mk(s) { +function pause__P101267_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P46381, depth: s.depth + 1, + parent: s, fn: pause__P101267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30737,7 +30737,7 @@ function pause__P46381_mk(s) { -function sprites_SpriteSet_toString__P48101(s) { +function sprites_SpriteSet_toString__P102987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30752,7 +30752,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C48090_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C102976_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -30774,12 +30774,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P48101.info = {"start":2577,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} +sprites_SpriteSet_toString__P102987.info = {"start":2577,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} -function sprites_SpriteSet_toString__P48101_mk(s) { +function sprites_SpriteSet_toString__P102987_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P48101, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P102987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30793,7 +30793,7 @@ function sprites_SpriteSet_toString__P48101_mk(s) { -function sprites_SpriteSet_length__P48093(s) { +function sprites_SpriteSet_length__P102979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30808,20 +30808,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C48090_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C102976_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__P48093.info = {"start":628,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} -sprites_SpriteSet_length__P48093.isGetter = true; +sprites_SpriteSet_length__P102979.info = {"start":628,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} +sprites_SpriteSet_length__P102979.isGetter = true; -function sprites_SpriteSet_length__P48093_mk(s) { +function sprites_SpriteSet_length__P102979_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P48093, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P102979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30831,7 +30831,7 @@ function sprites_SpriteSet_length__P48093_mk(s) { -function music_Melody_toString__P47586(s) { +function music_Melody_toString__P102472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30846,17 +30846,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C47577_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C102463_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P47586.info = {"start":9640,"length":53,"line":303,"column":8,"endLine":305,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P102472.info = {"start":9640,"length":53,"line":303,"column":8,"endLine":305,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P47586_mk(s) { +function music_Melody_toString__P102472_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P47586, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P102472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30865,7 +30865,7 @@ function music_Melody_toString__P47586_mk(s) { -function sprites_SpriteMap_toString__P48081(s) { +function sprites_SpriteMap_toString__P102967(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30880,7 +30880,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C48073_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -30900,10 +30900,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P46087_mk(s); + s.tmp_10 = helpers_arrayFilter__P100973_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P59573; + s.tmp_10.arg1 = inline__P114459; s.callLocIdx = 461; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -30925,12 +30925,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P48081.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__P102967.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__P48081_mk(s) { +function sprites_SpriteMap_toString__P102967_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P48081, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P102967, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30950,7 +30950,7 @@ function sprites_SpriteMap_toString__P48081_mk(s) { -function inline__P59573(s) { +function inline__P114459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30974,12 +30974,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P59573.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P114459.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__P59573_mk(s) { +function inline__P114459_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P59573, depth: s.depth + 1, + parent: s, fn: inline__P114459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30991,7 +30991,7 @@ function inline__P59573_mk(s) { -function ArcadePhysicsEngine_moveSprite__P48166(s) { +function ArcadePhysicsEngine_moveSprite__P103052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31001,9 +31001,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___59611 = undefined; - s.maxDist___59621 = undefined; - s.ms___59641 = undefined; + s.tm___114497 = undefined; + s.maxDist___114507 = undefined; + s.ms___114527 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31012,7 +31012,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -31041,19 +31041,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_4 = game_currentScene__P48511_mk(s); + s.tmp_4 = game_currentScene__P103397_mk(s); s.callLocIdx = 672; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___59611 = (r0); - s.tmp_0 = r0 = s.tm___59611; + s.tm___114497 = (r0); + s.tmp_0 = r0 = s.tm___114497; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___59611.fields["_map"]; + r0 = s.tm___114497.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -31079,8 +31079,8 @@ switch (step) { r0 = (s.tmp_8 + 128); s.tmp_9 = r0; r0 = (s.tmp_9 >> 8); - s.maxDist___59621 = (r0); - s.tmp_2 = Math_abs__P46102_mk(s); + s.maxDist___114507 = (r0); + s.tmp_2 = Math_abs__P100988_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -31089,14 +31089,14 @@ switch (step) { case 17: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___59621); + r0 = (s.tmp_1 <= s.maxDist___114507); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_5 = Math_abs__P46102_mk(s); + s.tmp_5 = Math_abs__P100988_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -31105,15 +31105,15 @@ switch (step) { case 18: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___59621); + r0 = (s.tmp_4 <= s.maxDist___114507); case 6: // jmp value (already in r0) s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 7; continue; } - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C48150_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C103036_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P48151_mk(s); + s.tmp_9 = MovingSprite_constructor__P103037_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -31127,18 +31127,18 @@ switch (step) { s.callLocIdx = 679; s.pc = 19; return s.tmp_9; case 19: r0 = s.retval; - s.ms___59641 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P49708_mk(s); + s.ms___114527 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P104594_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___59641; - s.tmp_0.arg2 = s.tm___59611; + s.tmp_0.arg1 = s.ms___114527; + s.tmp_0.arg2 = s.tm___114497; s.callLocIdx = 680; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 12; continue; } case 7: - s.tmp_1 = tiles_TileMap_isOnWall__P48317_mk(s); - s.tmp_1.arg0 = s.tm___59611; + s.tmp_1 = tiles_TileMap_isOnWall__P103203_mk(s); + s.tmp_1.arg0 = s.tm___114497; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 681; s.pc = 21; return s.tmp_1; case 21: @@ -31149,10 +31149,10 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P49710_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P104596_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___59611; + s.tmp_4.arg2 = s.tm___114497; s.callLocIdx = 682; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; @@ -31188,12 +31188,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P48166.info = {"start":21785,"length":1276,"line":642,"column":4,"endLine":675,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P103052.info = {"start":21785,"length":1276,"line":642,"column":4,"endLine":675,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P48166_mk(s) { +function ArcadePhysicsEngine_moveSprite__P103052_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P48166, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P103052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31205,9 +31205,9 @@ function ArcadePhysicsEngine_moveSprite__P48166_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___59611: undefined, - maxDist___59621: undefined, - ms___59641: undefined, + tm___114497: undefined, + maxDist___114507: undefined, + ms___114527: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31218,7 +31218,7 @@ function ArcadePhysicsEngine_moveSprite__P48166_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P49710(s) { +function ArcadePhysicsEngine_canResolveClipping__P104596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31228,19 +31228,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___59686 = undefined; - s.sz___59689 = undefined; - s.maxMove___59694 = undefined; - s.origY___59696 = undefined; - s.origX___59699 = undefined; - s.l___59702 = undefined; - s.r___59707 = undefined; - s.t___59712 = undefined; - s.b___59717 = undefined; - s.offset___59722 = undefined; - s.offset___59747 = undefined; - s.offset___59778 = undefined; - s.offset___59803 = undefined; + s.hbox___114572 = undefined; + s.sz___114575 = undefined; + s.maxMove___114580 = undefined; + s.origY___114582 = undefined; + s.origX___114585 = undefined; + s.l___114588 = undefined; + s.r___114593 = undefined; + s.t___114598 = undefined; + s.b___114603 = undefined; + s.offset___114608 = undefined; + s.offset___114633 = undefined; + s.offset___114664 = undefined; + s.offset___114689 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31248,7 +31248,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -31259,7 +31259,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_setHitbox__P48036_mk(s); + s.tmp_4 = Sprite_setHitbox__P102922_mk(s); s.tmp_4.arg0 = s.arg1; s.callLocIdx = 684; s.pc = 20; return s.tmp_4; case 20: @@ -31267,23 +31267,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___59686 = (r0); + s.hbox___114572 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___59689 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P48158_mk(s); + s.sz___114575 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P103044_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 686; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___59694 = (r0); + s.maxMove___114580 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___59696 = (r0); + s.origY___114582 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___59699 = (r0); - s.tmp_1 = game_Hitbox_left__P47945_mk(s); - s.tmp_1.arg0 = s.hbox___59686; + s.origX___114585 = (r0); + s.tmp_1 = game_Hitbox_left__P102831_mk(s); + s.tmp_1.arg0 = s.hbox___114572; s.callLocIdx = 687; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -31291,9 +31291,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___59702 = (r0); - s.tmp_1 = game_Hitbox_right__P47947_mk(s); - s.tmp_1.arg0 = s.hbox___59686; + s.l___114588 = (r0); + s.tmp_1 = game_Hitbox_right__P102833_mk(s); + s.tmp_1.arg0 = s.hbox___114572; s.callLocIdx = 689; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -31301,9 +31301,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___59707 = (r0); - s.tmp_1 = game_Hitbox_top__P47946_mk(s); - s.tmp_1.arg0 = s.hbox___59686; + s.r___114593 = (r0); + s.tmp_1 = game_Hitbox_top__P102832_mk(s); + s.tmp_1.arg0 = s.hbox___114572; s.callLocIdx = 691; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -31311,9 +31311,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___59712 = (r0); - s.tmp_1 = game_Hitbox_bottom__P47948_mk(s); - s.tmp_1.arg0 = s.hbox___59686; + s.t___114598 = (r0); + s.tmp_1 = game_Hitbox_bottom__P102834_mk(s); + s.tmp_1.arg0 = s.hbox___114572; s.callLocIdx = 693; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -31321,26 +31321,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___59717 = (r0); - r0 = (s.b___59717 + 1); + s.b___114603 = (r0); + r0 = (s.b___114603 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___59689); - s.offset___59722 = (r0); - r0 = (s.offset___59722 <= s.maxMove___59694); + r0 = (s.tmp_0 % s.sz___114575); + s.offset___114608 = (r0); + r0 = (s.offset___114608 <= s.maxMove___114580); 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___59722 * 256); + r0 = (s.offset___114608 * 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__P48317_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P103203_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 697; s.pc = 26; return s.tmp_3; @@ -31357,35 +31357,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___59696); + r0 = (s.arg1).fields["_y"] = (s.origY___114582); case 4: case 5: case 6: - r0 = (s.t___59712 / s.sz___59689); + r0 = (s.t___114598 / s.sz___114575); 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___59689); + r0 = (s.tmp_1 * s.sz___114575); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___59712); - s.offset___59747 = (r0); - r0 = (s.offset___59747 <= s.maxMove___59694); + r0 = (s.tmp_0 - s.t___114598); + s.offset___114633 = (r0); + r0 = (s.offset___114633 <= s.maxMove___114580); 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___59747 * 256); + r0 = (s.offset___114633 * 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__P48317_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P103203_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 700; s.pc = 27; return s.tmp_3; @@ -31402,29 +31402,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___59696); + r0 = (s.arg1).fields["_y"] = (s.origY___114582); case 8: case 9: case 10: - r0 = (s.r___59707 + 1); + r0 = (s.r___114593 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___59689); - s.offset___59778 = (r0); - r0 = (s.offset___59778 <= s.maxMove___59694); + r0 = (s.tmp_0 % s.sz___114575); + s.offset___114664 = (r0); + r0 = (s.offset___114664 <= s.maxMove___114580); 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___59778 * 256); + r0 = (s.offset___114664 * 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__P48317_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P103203_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 703; s.pc = 28; return s.tmp_3; @@ -31441,35 +31441,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___59699); + r0 = (s.arg1).fields["_x"] = (s.origX___114585); case 12: case 13: case 14: - r0 = (s.l___59702 / s.sz___59689); + r0 = (s.l___114588 / s.sz___114575); 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___59689); + r0 = (s.tmp_1 * s.sz___114575); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___59702); - s.offset___59803 = (r0); - r0 = (s.offset___59803 <= s.maxMove___59694); + r0 = (s.tmp_0 - s.l___114588); + s.offset___114689 = (r0); + r0 = (s.offset___114689 <= s.maxMove___114580); 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___59803 * 256); + r0 = (s.offset___114689 * 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__P48317_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P103203_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 706; s.pc = 29; return s.tmp_3; @@ -31486,7 +31486,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___59699); + r0 = (s.arg1).fields["_x"] = (s.origX___114585); case 16: case 17: case 18: @@ -31495,12 +31495,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P49710.info = {"start":23157,"length":2135,"line":678,"column":4,"endLine":749,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P104596.info = {"start":23157,"length":2135,"line":678,"column":4,"endLine":749,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P49710_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P104596_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P49710, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P104596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31508,19 +31508,19 @@ function ArcadePhysicsEngine_canResolveClipping__P49710_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___59686: undefined, - sz___59689: undefined, - maxMove___59694: undefined, - origY___59696: undefined, - origX___59699: undefined, - l___59702: undefined, - r___59707: undefined, - t___59712: undefined, - b___59717: undefined, - offset___59722: undefined, - offset___59747: undefined, - offset___59778: undefined, - offset___59803: undefined, + hbox___114572: undefined, + sz___114575: undefined, + maxMove___114580: undefined, + origY___114582: undefined, + origX___114585: undefined, + l___114588: undefined, + r___114593: undefined, + t___114598: undefined, + b___114603: undefined, + offset___114608: undefined, + offset___114633: undefined, + offset___114664: undefined, + offset___114689: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31530,7 +31530,7 @@ function ArcadePhysicsEngine_canResolveClipping__P49710_mk(s) { -function Sprite_isStatic__P48037(s) { +function Sprite_isStatic__P102923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31545,19 +31545,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48037.info = {"start":8266,"length":57,"line":299,"column":4,"endLine":301,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P102923.info = {"start":8266,"length":57,"line":299,"column":4,"endLine":301,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P48037_mk(s) { +function Sprite_isStatic__P102923_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P48037, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P102923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31567,7 +31567,7 @@ function Sprite_isStatic__P48037_mk(s) { -function game_Hitbox_bottom__P47948(s) { +function game_Hitbox_bottom__P102834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31582,10 +31582,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C47938_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C102824_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P47946_mk(s); + s.tmp_3 = game_Hitbox_top__P102832_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 240; s.pc = 1; return s.tmp_3; case 1: @@ -31597,13 +31597,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P47948.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__P47948.isGetter = true; +game_Hitbox_bottom__P102834.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__P102834.isGetter = true; -function game_Hitbox_bottom__P47948_mk(s) { +function game_Hitbox_bottom__P102834_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P47948, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P102834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31616,7 +31616,7 @@ function game_Hitbox_bottom__P47948_mk(s) { -function game_Hitbox_right__P47947(s) { +function game_Hitbox_right__P102833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31631,10 +31631,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C47938_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C102824_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P47945_mk(s); + s.tmp_3 = game_Hitbox_left__P102831_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 237; s.pc = 1; return s.tmp_3; case 1: @@ -31646,13 +31646,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P47947.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__P47947.isGetter = true; +game_Hitbox_right__P102833.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__P102833.isGetter = true; -function game_Hitbox_right__P47947_mk(s) { +function game_Hitbox_right__P102833_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P47947, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P102833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31665,7 +31665,7 @@ function game_Hitbox_right__P47947_mk(s) { -function game_Hitbox_top__P47946(s) { +function game_Hitbox_top__P102832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31680,7 +31680,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C47938_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C102824_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -31690,13 +31690,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P47946.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__P47946.isGetter = true; +game_Hitbox_top__P102832.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__P102832.isGetter = true; -function game_Hitbox_top__P47946_mk(s) { +function game_Hitbox_top__P102832_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P47946, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P102832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31707,7 +31707,7 @@ function game_Hitbox_top__P47946_mk(s) { -function game_Hitbox_left__P47945(s) { +function game_Hitbox_left__P102831(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31722,7 +31722,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C47938_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C102824_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -31732,13 +31732,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P47945.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__P47945.isGetter = true; +game_Hitbox_left__P102831.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__P102831.isGetter = true; -function game_Hitbox_left__P47945_mk(s) { +function game_Hitbox_left__P102831_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P47945, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P102831, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31749,7 +31749,7 @@ function game_Hitbox_left__P47945_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P49708(s) { +function ArcadePhysicsEngine_tilemapCollisions__P104594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31759,38 +31759,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___59971 = undefined; - s.hbox___59994 = undefined; - s.tileScale___59997 = undefined; - s.tileSize___60000 = undefined; - s.xDiff___60004 = undefined; - s.yDiff___60011 = undefined; - s.overlappedTiles___60018 = undefined; - s.right___60023 = undefined; - s.x0___60027 = undefined; - s.collidedTiles___60042 = undefined; - s.y___60044 = undefined; - s.y0___60058 = undefined; - s.obstacle___60074 = undefined; - s.collisionDirection___60108 = undefined; - s.tile___60134 = undefined; - s.unnamed228___U15 = undefined; - s.unnamed229___U16 = undefined; - s.down___60212 = undefined; - s.y0___60216 = undefined; - s.collidedTiles___60231 = undefined; - s.overlappedTiles___60233 = undefined; - s.x___60235 = undefined; - s.x0___60245 = undefined; - s.obstacle___60259 = undefined; - s.collisionDirection___60293 = undefined; - s.tile___60319 = undefined; - s.unnamed230___U26 = undefined; - s.unnamed231___U27 = undefined; - s.x___60394 = undefined; - s.x0___60404 = undefined; - s.y___60414 = undefined; - s.y0___60424 = undefined; + s.s___114857 = undefined; + s.hbox___114880 = undefined; + s.tileScale___114883 = undefined; + s.tileSize___114886 = undefined; + s.xDiff___114890 = undefined; + s.yDiff___114897 = undefined; + s.overlappedTiles___114904 = undefined; + s.right___114909 = undefined; + s.x0___114913 = undefined; + s.collidedTiles___114928 = undefined; + s.y___114930 = undefined; + s.y0___114944 = undefined; + s.obstacle___114960 = undefined; + s.collisionDirection___114994 = undefined; + s.tile___115020 = undefined; + s.unnamed468___U15 = undefined; + s.unnamed469___U16 = undefined; + s.down___115098 = undefined; + s.y0___115102 = undefined; + s.collidedTiles___115117 = undefined; + s.overlappedTiles___115119 = undefined; + s.x___115121 = undefined; + s.x0___115131 = undefined; + s.obstacle___115145 = undefined; + s.collisionDirection___115179 = undefined; + s.tile___115205 = undefined; + s.unnamed470___U26 = undefined; + s.unnamed471___U27 = undefined; + s.x___115280 = undefined; + s.x0___115290 = undefined; + s.y___115300 = undefined; + s.y0___115310 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31798,18 +31798,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___59971 = (r0); - r0 = s.s___59971.fields["flags"]; + s.s___114857 = (r0); + r0 = s.s___114857.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_3 = tiles_TileMap_isOnWall__P48317_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P103203_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.s___59971; + s.tmp_3.arg1 = s.s___114857; s.callLocIdx = 565; s.pc = 84; return s.tmp_3; case 84: r0 = s.retval; @@ -31819,7 +31819,7 @@ switch (step) { { step = 83; continue; } { step = 2; continue; } case 1: - s.tmp_4 = r0 = s.s___59971; + s.tmp_4 = r0 = s.s___114857; r0 = s.tmp_4.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & -257); @@ -31828,7 +31828,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___59971.fields["_image"]; + r0 = s.s___114857.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -31838,43 +31838,43 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_setHitbox__P48036_mk(s); - s.tmp_4.arg0 = s.s___59971; + s.tmp_4 = Sprite_setHitbox__P102922_mk(s); + s.tmp_4.arg0 = s.s___114857; s.callLocIdx = 567; s.pc = 85; return s.tmp_4; case 85: r0 = s.retval; case 5: case 6: - r0 = s.s___59971.fields["_hitbox"]; - s.hbox___59994 = (r0); + r0 = s.s___114857.fields["_hitbox"]; + s.hbox___114880 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___59997 = (r0); - r0 = (1 << s.tileScale___59997); - s.tileSize___60000 = (r0); - r0 = s.s___59971.fields["_x"]; + s.tileScale___114883 = (r0); + r0 = (1 << s.tileScale___114883); + s.tileSize___114886 = (r0); + r0 = s.s___114857.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___59971.fields["_lastX"]; + r0 = s.s___114857.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___60004 = (r0); - r0 = s.s___59971.fields["_y"]; + s.xDiff___114890 = (r0); + r0 = s.s___114857.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___59971.fields["_lastY"]; + r0 = s.s___114857.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___60011 = (r0); + s.yDiff___114897 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___60018 = (r0); - r0 = (s.xDiff___60004 !== 0); + s.overlappedTiles___114904 = (r0); + r0 = (s.xDiff___114890 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___60004 > 0); - s.right___60023 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___60023); + r0 = (s.xDiff___114890 > 0); + s.right___114909 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___114909); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P47947_mk(s); - s.tmp_1.arg0 = s.hbox___59994; + s.tmp_1 = game_Hitbox_right__P102833_mk(s); + s.tmp_1.arg0 = s.hbox___114880; s.callLocIdx = 571; s.pc = 86; return s.tmp_1; case 86: r0 = s.retval; @@ -31882,8 +31882,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P47945_mk(s); - s.tmp_3.arg0 = s.hbox___59994; + s.tmp_3 = game_Hitbox_left__P102831_mk(s); + s.tmp_3.arg0 = s.hbox___114880; s.callLocIdx = 573; s.pc = 87; return s.tmp_3; case 87: r0 = s.retval; @@ -31894,30 +31894,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___59997 + 8); + r0 = (s.tileScale___114883 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___60027 = (r0); + s.x0___114913 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___60042 = (r0); - s.tmp_1 = game_Hitbox_top__P47946_mk(s); - s.tmp_1.arg0 = s.hbox___59994; + s.collidedTiles___114928 = (r0); + s.tmp_1 = game_Hitbox_top__P102832_mk(s); + s.tmp_1.arg0 = s.hbox___114880; s.callLocIdx = 577; s.pc = 88; return s.tmp_1; case 88: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___60011); - s.y___60044 = (r0); + r0 = (s.tmp_0 - s.yDiff___114897); + s.y___114930 = (r0); case 9: - s.tmp_1 = r0 = s.y___60044; - s.tmp_3 = r0 = s.tileSize___60000; - s.tmp_6 = game_Hitbox_bottom__P47948_mk(s); - s.tmp_6.arg0 = s.hbox___59994; + s.tmp_1 = r0 = s.y___114930; + s.tmp_3 = r0 = s.tileSize___114886; + s.tmp_6 = game_Hitbox_bottom__P102834_mk(s); + s.tmp_6.arg0 = s.hbox___114880; s.callLocIdx = 579; s.pc = 89; return s.tmp_6; case 89: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___60011); + r0 = (s.tmp_5 - s.yDiff___114897); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -31927,15 +31927,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P46140_mk(s); - s.tmp_10.arg0 = s.y___60044; - s.tmp_12 = game_Hitbox_bottom__P47948_mk(s); - s.tmp_12.arg0 = s.hbox___59994; + s.tmp_10 = Fx_min__P101026_mk(s); + s.tmp_10.arg0 = s.y___114930; + s.tmp_12 = game_Hitbox_bottom__P102834_mk(s); + s.tmp_12.arg0 = s.hbox___114880; s.callLocIdx = 582; s.pc = 91; return s.tmp_12; case 91: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___60011); + r0 = (s.tmp_11 - s.yDiff___114897); s.tmp_10.arg1 = r0; s.callLocIdx = 584; s.pc = 90; return s.tmp_10; case 90: @@ -31943,33 +31943,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___59997 + 8); + r0 = (s.tileScale___114883 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___60058 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P48315_mk(s); + s.y0___114944 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P103201_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___60027; - s.tmp_1.arg2 = s.y0___60058; + s.tmp_1.arg1 = s.x0___114913; + s.tmp_1.arg2 = s.y0___114944; s.callLocIdx = 587; s.pc = 92; return s.tmp_1; case 92: 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__P48316_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P103202_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___60027; - s.tmp_2.arg2 = s.y0___60058; + s.tmp_2.arg1 = s.x0___114913; + s.tmp_2.arg2 = s.y0___114944; s.callLocIdx = 588; s.pc = 93; return s.tmp_2; case 93: r0 = s.retval; - s.obstacle___60074 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P60082); + s.obstacle___114960 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P114968); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___60074); - s.tmp_4 = helpers_arraySome__P46084_mk(s); - s.tmp_4.arg0 = s.collidedTiles___60042; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___114960); + s.tmp_4 = helpers_arraySome__P100970_mk(s); + s.tmp_4.arg0 = s.collidedTiles___114928; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 589; s.pc = 94; return s.tmp_4; case 94: @@ -31981,33 +31981,33 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__push(s.collidedTiles___60042, s.obstacle___60074); + r0 = pxsim_Array__push(s.collidedTiles___114928, s.obstacle___114960); case 10: case 11: { step = 13; continue; } case 12: - s.tmp_0 = r0 = s.overlappedTiles___60018; - s.tmp_2 = tiles_TileMap_getTile__P48308_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___114904; + s.tmp_2 = tiles_TileMap_getTile__P103194_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___60027; - s.tmp_2.arg2 = s.y0___60058; + s.tmp_2.arg1 = s.x0___114913; + s.tmp_2.arg2 = s.y0___114944; s.callLocIdx = 590; s.pc = 95; return s.tmp_2; case 95: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 13: - r0 = (s.tileSize___60000 << 8); + r0 = (s.tileSize___114886 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___60044); - s.y___60044 = (r0); + r0 = (s.tmp_0 + s.y___114930); + s.y___114930 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___60042); + r0 = pxsim_Array__length(s.collidedTiles___114928); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___60023); + r0 = pxsim_numops_toBoolDecr(s.right___114909); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -32016,23 +32016,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___60108 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___60023); + s.collisionDirection___114994 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___114909); if (!r0) { step = 17; continue; } - r0 = (s.x0___60027 << s.tileScale___59997); + r0 = (s.x0___114913 << s.tileScale___114883); 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___59994.fields["width"]; + r0 = s.hbox___114880.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___60027 + 1); + r0 = (s.x0___114913 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___59997); + r0 = (s.tmp_5 << s.tileScale___114883); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -32040,44 +32040,44 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___59971; - r0 = s.hbox___59994.fields["ox"]; + s.tmp_8 = r0 = s.s___114857; + r0 = s.hbox___114880.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___60134 = (undefined); - s.unnamed228___U15 = (s.collidedTiles___60042); - s.unnamed229___U16 = (0); + s.tile___115020 = (undefined); + s.unnamed468___U15 = (s.collidedTiles___114928); + s.unnamed469___U16 = (0); case 19: - s.tmp_0 = r0 = s.unnamed229___U16; - r0 = pxsim_Array__length(s.unnamed228___U15); + s.tmp_0 = r0 = s.unnamed469___U16; + r0 = pxsim_Array__length(s.unnamed468___U15); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed228___U15, s.unnamed229___U16); - s.tile___60134 = (r0); - s.tmp_2 = Sprite_registerObstacle__P48064_mk(s); - s.tmp_2.arg0 = s.s___59971; - s.tmp_2.arg1 = s.collisionDirection___60108; - s.tmp_2.arg2 = s.tile___60134; + r0 = pxsim_Array__getAt(s.unnamed468___U15, s.unnamed469___U16); + s.tile___115020 = (r0); + s.tmp_2 = Sprite_registerObstacle__P102950_mk(s); + s.tmp_2.arg0 = s.s___114857; + s.tmp_2.arg1 = s.collisionDirection___114994; + s.tmp_2.arg2 = s.tile___115020; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 596; s.pc = 96; return s.tmp_2; case 96: r0 = s.retval; - r0 = (s.unnamed229___U16 + 1); - s.unnamed229___U16 = (r0); + r0 = (s.unnamed469___U16 + 1); + s.unnamed469___U16 = (r0); { step = 19; continue; } case 20: - s.unnamed228___U15 = (undefined); - r0 = s.s___59971.fields["flags"]; + s.unnamed468___U15 = (undefined); + r0 = s.s___114857.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__P48066_mk(s); - s.tmp_2.arg0 = s.s___59971; + s.tmp_2 = Sprite_destroy__P102952_mk(s); + s.tmp_2.arg0 = s.s___114857; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 597; s.pc = 97; return s.tmp_2; @@ -32085,7 +32085,7 @@ switch (step) { r0 = s.retval; { step = 36; continue; } case 21: - r0 = s.s___59971.fields["_vx"]; + r0 = s.s___114857.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -32093,13 +32093,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = s.s___59971.fields["flags"]; + r0 = s.s___114857.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___60023); + r0 = pxsim_numops_toBoolDecr(s.right___114909); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -32108,8 +32108,8 @@ switch (step) { r0 = s.tmp_5; { step = 23; continue; } case 22: - s.tmp_8 = Sprite_vx__P48008_mk(s); - s.tmp_8.arg0 = s.s___59971; + s.tmp_8 = Sprite_vx__P102894_mk(s); + s.tmp_8.arg0 = s.s___114857; s.callLocIdx = 598; s.pc = 98; return s.tmp_8; case 98: r0 = s.retval; @@ -32123,14 +32123,14 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 24: - s.tmp_10 = r0 = s.right___60023; + s.tmp_10 = r0 = s.right___114909; 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__P48008_mk(s); - s.tmp_12.arg0 = s.s___59971; + s.tmp_12 = Sprite_vx__P102894_mk(s); + s.tmp_12.arg0 = s.s___114857; s.callLocIdx = 599; s.pc = 99; return s.tmp_12; case 99: r0 = s.retval; @@ -32145,8 +32145,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___59971; - r0 = s.s___59971.fields["_vx"]; + s.tmp_15 = r0 = s.s___114857; + r0 = s.s___114857.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -32168,12 +32168,12 @@ switch (step) { { step = 31; continue; } case 30: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___59971).fields["_vx"] = (0); + r0 = (s.s___114857).fields["_vx"] = (0); case 31: { step = 35; continue; } case 32: - s.tmp_2 = Math_sign__P46103_mk(s); - r0 = s.s___59971.fields["_vx"]; + s.tmp_2 = Math_sign__P100989_mk(s); + r0 = s.s___114857.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -32183,7 +32183,7 @@ switch (step) { case 100: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P46103_mk(s); + s.tmp_6 = Math_sign__P100989_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -32207,16 +32207,16 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___60011 !== 0); + r0 = (s.yDiff___114897 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 73; continue; } - r0 = (s.yDiff___60011 > 0); - s.down___60212 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___60212); + r0 = (s.yDiff___114897 > 0); + s.down___115098 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___115098); if (!r0) { step = 41; continue; } - s.tmp_1 = game_Hitbox_bottom__P47948_mk(s); - s.tmp_1.arg0 = s.hbox___59994; + s.tmp_1 = game_Hitbox_bottom__P102834_mk(s); + s.tmp_1.arg0 = s.hbox___114880; s.callLocIdx = 607; s.pc = 102; return s.tmp_1; case 102: r0 = s.retval; @@ -32224,8 +32224,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 42; continue; } case 41: - s.tmp_3 = game_Hitbox_top__P47946_mk(s); - s.tmp_3.arg0 = s.hbox___59994; + s.tmp_3 = game_Hitbox_top__P102832_mk(s); + s.tmp_3.arg0 = s.hbox___114880; s.callLocIdx = 609; s.pc = 103; return s.tmp_3; case 103: r0 = s.retval; @@ -32236,25 +32236,25 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___59997 + 8); + r0 = (s.tileScale___114883 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___60216 = (r0); + s.y0___115102 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___60231 = (r0); + s.collidedTiles___115117 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___60233 = (r0); - s.tmp_0 = game_Hitbox_left__P47945_mk(s); - s.tmp_0.arg0 = s.hbox___59994; + s.overlappedTiles___115119 = (r0); + s.tmp_0 = game_Hitbox_left__P102831_mk(s); + s.tmp_0.arg0 = s.hbox___114880; s.callLocIdx = 613; s.pc = 104; return s.tmp_0; case 104: r0 = s.retval; - s.x___60235 = (r0); + s.x___115121 = (r0); case 43: - s.tmp_1 = r0 = s.x___60235; - s.tmp_3 = r0 = s.tileSize___60000; - s.tmp_5 = game_Hitbox_right__P47947_mk(s); - s.tmp_5.arg0 = s.hbox___59994; + s.tmp_1 = r0 = s.x___115121; + s.tmp_3 = r0 = s.tileSize___114886; + s.tmp_5 = game_Hitbox_right__P102833_mk(s); + s.tmp_5.arg0 = s.hbox___114880; s.callLocIdx = 614; s.pc = 105; return s.tmp_5; case 105: r0 = s.retval; @@ -32267,10 +32267,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_9 = Fx_min__P46140_mk(s); - s.tmp_9.arg0 = s.x___60235; - s.tmp_10 = game_Hitbox_right__P47947_mk(s); - s.tmp_10.arg0 = s.hbox___59994; + s.tmp_9 = Fx_min__P101026_mk(s); + s.tmp_9.arg0 = s.x___115121; + s.tmp_10 = game_Hitbox_right__P102833_mk(s); + s.tmp_10.arg0 = s.hbox___114880; s.callLocIdx = 616; s.pc = 107; return s.tmp_10; case 107: r0 = s.retval; @@ -32281,33 +32281,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___59997 + 8); + r0 = (s.tileScale___114883 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___60245 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P48315_mk(s); + s.x0___115131 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P103201_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___60245; - s.tmp_1.arg2 = s.y0___60216; + s.tmp_1.arg1 = s.x0___115131; + s.tmp_1.arg2 = s.y0___115102; s.callLocIdx = 620; s.pc = 108; return s.tmp_1; case 108: 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__P48316_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P103202_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___60245; - s.tmp_2.arg2 = s.y0___60216; + s.tmp_2.arg1 = s.x0___115131; + s.tmp_2.arg2 = s.y0___115102; s.callLocIdx = 621; s.pc = 109; return s.tmp_2; case 109: r0 = s.retval; - s.obstacle___60259 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P60267); + s.obstacle___115145 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P115153); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___60259); - s.tmp_4 = helpers_arraySome__P46084_mk(s); - s.tmp_4.arg0 = s.collidedTiles___60231; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___115145); + s.tmp_4 = helpers_arraySome__P100970_mk(s); + s.tmp_4.arg0 = s.collidedTiles___115117; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 622; s.pc = 110; return s.tmp_4; case 110: @@ -32319,33 +32319,33 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 44; continue; } - r0 = pxsim_Array__push(s.collidedTiles___60231, s.obstacle___60259); + r0 = pxsim_Array__push(s.collidedTiles___115117, s.obstacle___115145); case 44: case 45: { step = 47; continue; } case 46: - s.tmp_0 = r0 = s.overlappedTiles___60233; - s.tmp_2 = tiles_TileMap_getTile__P48308_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___115119; + s.tmp_2 = tiles_TileMap_getTile__P103194_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___60245; - s.tmp_2.arg2 = s.y0___60216; + s.tmp_2.arg1 = s.x0___115131; + s.tmp_2.arg2 = s.y0___115102; s.callLocIdx = 623; s.pc = 111; return s.tmp_2; case 111: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 47: - r0 = (s.tileSize___60000 << 8); + r0 = (s.tileSize___114886 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___60235); - s.x___60235 = (r0); + r0 = (s.tmp_0 + s.x___115121); + s.x___115121 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___60231); + r0 = pxsim_Array__length(s.collidedTiles___115117); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___60212); + r0 = pxsim_numops_toBoolDecr(s.down___115098); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -32354,23 +32354,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___60293 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___60212); + s.collisionDirection___115179 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___115098); if (!r0) { step = 51; continue; } - r0 = (s.y0___60216 << s.tileScale___59997); + r0 = (s.y0___115102 << s.tileScale___114883); 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___59994.fields["height"]; + r0 = s.hbox___114880.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___60216 + 1); + r0 = (s.y0___115102 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___59997); + r0 = (s.tmp_5 << s.tileScale___114883); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -32378,44 +32378,44 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___59971; - r0 = s.hbox___59994.fields["oy"]; + s.tmp_8 = r0 = s.s___114857; + r0 = s.hbox___114880.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___60319 = (undefined); - s.unnamed230___U26 = (s.collidedTiles___60231); - s.unnamed231___U27 = (0); + s.tile___115205 = (undefined); + s.unnamed470___U26 = (s.collidedTiles___115117); + s.unnamed471___U27 = (0); case 53: - s.tmp_0 = r0 = s.unnamed231___U27; - r0 = pxsim_Array__length(s.unnamed230___U26); + s.tmp_0 = r0 = s.unnamed471___U27; + r0 = pxsim_Array__length(s.unnamed470___U26); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 54; continue; } - r0 = pxsim_Array__getAt(s.unnamed230___U26, s.unnamed231___U27); - s.tile___60319 = (r0); - s.tmp_2 = Sprite_registerObstacle__P48064_mk(s); - s.tmp_2.arg0 = s.s___59971; - s.tmp_2.arg1 = s.collisionDirection___60293; - s.tmp_2.arg2 = s.tile___60319; + r0 = pxsim_Array__getAt(s.unnamed470___U26, s.unnamed471___U27); + s.tile___115205 = (r0); + s.tmp_2 = Sprite_registerObstacle__P102950_mk(s); + s.tmp_2.arg0 = s.s___114857; + s.tmp_2.arg1 = s.collisionDirection___115179; + s.tmp_2.arg2 = s.tile___115205; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 629; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; - r0 = (s.unnamed231___U27 + 1); - s.unnamed231___U27 = (r0); + r0 = (s.unnamed471___U27 + 1); + s.unnamed471___U27 = (r0); { step = 53; continue; } case 54: - s.unnamed230___U26 = (undefined); - r0 = s.s___59971.fields["flags"]; + s.unnamed470___U26 = (undefined); + r0 = s.s___114857.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__P48066_mk(s); - s.tmp_2.arg0 = s.s___59971; + s.tmp_2 = Sprite_destroy__P102952_mk(s); + s.tmp_2.arg0 = s.s___114857; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 630; s.pc = 113; return s.tmp_2; @@ -32423,7 +32423,7 @@ switch (step) { r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___59971.fields["_vy"]; + r0 = s.s___114857.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -32431,13 +32431,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___59971.fields["flags"]; + r0 = s.s___114857.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___60212); + r0 = pxsim_numops_toBoolDecr(s.down___115098); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -32446,8 +32446,8 @@ switch (step) { r0 = s.tmp_5; { step = 57; continue; } case 56: - s.tmp_8 = Sprite_vy__P48010_mk(s); - s.tmp_8.arg0 = s.s___59971; + s.tmp_8 = Sprite_vy__P102896_mk(s); + s.tmp_8.arg0 = s.s___114857; s.callLocIdx = 631; s.pc = 114; return s.tmp_8; case 114: r0 = s.retval; @@ -32461,14 +32461,14 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___60212; + s.tmp_10 = r0 = s.down___115098; 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__P48010_mk(s); - s.tmp_12.arg0 = s.s___59971; + s.tmp_12 = Sprite_vy__P102896_mk(s); + s.tmp_12.arg0 = s.s___114857; s.callLocIdx = 632; s.pc = 115; return s.tmp_12; case 115: r0 = s.retval; @@ -32483,8 +32483,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___59971; - r0 = s.s___59971.fields["_vy"]; + s.tmp_15 = r0 = s.s___114857; + r0 = s.s___114857.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -32506,12 +32506,12 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___59971).fields["_vy"] = (0); + r0 = (s.s___114857).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: - s.tmp_2 = Math_sign__P46103_mk(s); - r0 = s.s___59971.fields["_vy"]; + s.tmp_2 = Math_sign__P100989_mk(s); + r0 = s.s___114857.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -32521,7 +32521,7 @@ switch (step) { case 116: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P46103_mk(s); + s.tmp_6 = Math_sign__P100989_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -32545,17 +32545,17 @@ switch (step) { case 72: case 73: case 74: - s.tmp_0 = game_Hitbox_left__P47945_mk(s); - s.tmp_0.arg0 = s.hbox___59994; + s.tmp_0 = game_Hitbox_left__P102831_mk(s); + s.tmp_0.arg0 = s.hbox___114880; s.callLocIdx = 640; s.pc = 118; return s.tmp_0; case 118: r0 = s.retval; - s.x___60394 = (r0); + s.x___115280 = (r0); case 75: - s.tmp_1 = r0 = s.x___60394; - s.tmp_3 = r0 = s.tileSize___60000; - s.tmp_5 = game_Hitbox_right__P47947_mk(s); - s.tmp_5.arg0 = s.hbox___59994; + s.tmp_1 = r0 = s.x___115280; + s.tmp_3 = r0 = s.tileSize___114886; + s.tmp_5 = game_Hitbox_right__P102833_mk(s); + s.tmp_5.arg0 = s.hbox___114880; s.callLocIdx = 641; s.pc = 119; return s.tmp_5; case 119: r0 = s.retval; @@ -32568,10 +32568,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 80; continue; } - s.tmp_9 = Fx_min__P46140_mk(s); - s.tmp_9.arg0 = s.x___60394; - s.tmp_10 = game_Hitbox_right__P47947_mk(s); - s.tmp_10.arg0 = s.hbox___59994; + s.tmp_9 = Fx_min__P101026_mk(s); + s.tmp_9.arg0 = s.x___115280; + s.tmp_10 = game_Hitbox_right__P102833_mk(s); + s.tmp_10.arg0 = s.hbox___114880; s.callLocIdx = 643; s.pc = 121; return s.tmp_10; case 121: r0 = s.retval; @@ -32582,21 +32582,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___59997 + 8); + r0 = (s.tileScale___114883 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___60404 = (r0); - s.tmp_0 = game_Hitbox_top__P47946_mk(s); - s.tmp_0.arg0 = s.hbox___59994; + s.x0___115290 = (r0); + s.tmp_0 = game_Hitbox_top__P102832_mk(s); + s.tmp_0.arg0 = s.hbox___114880; s.callLocIdx = 647; s.pc = 122; return s.tmp_0; case 122: r0 = s.retval; - s.y___60414 = (r0); + s.y___115300 = (r0); case 76: - s.tmp_1 = r0 = s.y___60414; - s.tmp_3 = r0 = s.tileSize___60000; - s.tmp_5 = game_Hitbox_bottom__P47948_mk(s); - s.tmp_5.arg0 = s.hbox___59994; + s.tmp_1 = r0 = s.y___115300; + s.tmp_3 = r0 = s.tileSize___114886; + s.tmp_5 = game_Hitbox_bottom__P102834_mk(s); + s.tmp_5.arg0 = s.hbox___114880; s.callLocIdx = 648; s.pc = 123; return s.tmp_5; case 123: r0 = s.retval; @@ -32609,10 +32609,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - s.tmp_9 = Fx_min__P46140_mk(s); - s.tmp_9.arg0 = s.y___60414; - s.tmp_10 = game_Hitbox_bottom__P47948_mk(s); - s.tmp_10.arg0 = s.hbox___59994; + s.tmp_9 = Fx_min__P101026_mk(s); + s.tmp_9.arg0 = s.y___115300; + s.tmp_10 = game_Hitbox_bottom__P102834_mk(s); + s.tmp_10.arg0 = s.hbox___114880; s.callLocIdx = 650; s.pc = 125; return s.tmp_10; case 125: r0 = s.retval; @@ -32623,14 +32623,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___59997 + 8); + r0 = (s.tileScale___114883 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___60424 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P48315_mk(s); + s.y0___115310 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P103201_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___60404; - s.tmp_3.arg2 = s.y0___60424; + s.tmp_3.arg1 = s.x0___115290; + s.tmp_3.arg2 = s.y0___115310; s.callLocIdx = 654; s.pc = 126; return s.tmp_3; case 126: r0 = s.retval; @@ -32641,11 +32641,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 77; continue; } - s.tmp_4 = r0 = s.overlappedTiles___60018; - s.tmp_6 = tiles_TileMap_getTile__P48308_mk(s); + s.tmp_4 = r0 = s.overlappedTiles___114904; + s.tmp_6 = tiles_TileMap_getTile__P103194_mk(s); s.tmp_6.arg0 = s.arg2; - s.tmp_6.arg1 = s.x0___60404; - s.tmp_6.arg2 = s.y0___60424; + s.tmp_6.arg1 = s.x0___115290; + s.tmp_6.arg2 = s.y0___115310; s.callLocIdx = 655; s.pc = 127; return s.tmp_6; case 127: r0 = s.retval; @@ -32653,26 +32653,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_4, s.tmp_5); case 77: case 78: - r0 = (s.tileSize___60000 << 8); + r0 = (s.tileSize___114886 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___60414); - s.y___60414 = (r0); + r0 = (s.tmp_0 + s.y___115300); + s.y___115300 = (r0); { step = 76; continue; } case 79: - r0 = (s.tileSize___60000 << 8); + r0 = (s.tileSize___114886 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___60394); - s.x___60394 = (r0); + r0 = (s.tmp_0 + s.x___115280); + s.x___115280 = (r0); { step = 75; continue; } case 80: - r0 = pxsim_Array__length(s.overlappedTiles___60018); + r0 = pxsim_Array__length(s.overlappedTiles___114904); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P49709_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P104595_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___59971; - s.tmp_1.arg2 = s.overlappedTiles___60018; + s.tmp_1.arg1 = s.s___114857; + s.tmp_1.arg2 = s.overlappedTiles___114904; s.callLocIdx = 658; s.pc = 128; return s.tmp_1; case 128: r0 = s.retval; @@ -32683,12 +32683,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P49708.info = {"start":11859,"length":8619,"line":370,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P104594.info = {"start":11859,"length":8619,"line":370,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P49708_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P104594_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P49708, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P104594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32708,38 +32708,38 @@ function ArcadePhysicsEngine_tilemapCollisions__P49708_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___59971: undefined, - hbox___59994: undefined, - tileScale___59997: undefined, - tileSize___60000: undefined, - xDiff___60004: undefined, - yDiff___60011: undefined, - overlappedTiles___60018: undefined, - right___60023: undefined, - x0___60027: undefined, - collidedTiles___60042: undefined, - y___60044: undefined, - y0___60058: undefined, - obstacle___60074: undefined, - collisionDirection___60108: undefined, - tile___60134: undefined, - unnamed228___U15: undefined, - unnamed229___U16: undefined, - down___60212: undefined, - y0___60216: undefined, - collidedTiles___60231: undefined, - overlappedTiles___60233: undefined, - x___60235: undefined, - x0___60245: undefined, - obstacle___60259: undefined, - collisionDirection___60293: undefined, - tile___60319: undefined, - unnamed230___U26: undefined, - unnamed231___U27: undefined, - x___60394: undefined, - x0___60404: undefined, - y___60414: undefined, - y0___60424: undefined, + s___114857: undefined, + hbox___114880: undefined, + tileScale___114883: undefined, + tileSize___114886: undefined, + xDiff___114890: undefined, + yDiff___114897: undefined, + overlappedTiles___114904: undefined, + right___114909: undefined, + x0___114913: undefined, + collidedTiles___114928: undefined, + y___114930: undefined, + y0___114944: undefined, + obstacle___114960: undefined, + collisionDirection___114994: undefined, + tile___115020: undefined, + unnamed468___U15: undefined, + unnamed469___U16: undefined, + down___115098: undefined, + y0___115102: undefined, + collidedTiles___115117: undefined, + overlappedTiles___115119: undefined, + x___115121: undefined, + x0___115131: undefined, + obstacle___115145: undefined, + collisionDirection___115179: undefined, + tile___115205: undefined, + unnamed470___U26: undefined, + unnamed471___U27: undefined, + x___115280: undefined, + x0___115290: undefined, + y___115300: undefined, + y0___115310: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32749,7 +32749,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P49708_mk(s) { -function inline__P60082(s) { +function inline__P114968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32771,12 +32771,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60082.info = {"start":13980,"length":39,"line":434,"column":44,"endLine":434,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P114968.info = {"start":13980,"length":39,"line":434,"column":44,"endLine":434,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P60082_mk(s) { +function inline__P114968_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60082, depth: s.depth + 1, + parent: s, fn: inline__P114968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32787,7 +32787,7 @@ function inline__P60082_mk(s) { -function inline__P60267(s) { +function inline__P115153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32809,12 +32809,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60267.info = {"start":17215,"length":39,"line":516,"column":44,"endLine":516,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P115153.info = {"start":17215,"length":39,"line":516,"column":44,"endLine":516,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P60267_mk(s) { +function inline__P115153_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60267, depth: s.depth + 1, + parent: s, fn: inline__P115153, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32825,7 +32825,7 @@ function inline__P60267_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P49709(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P104595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32835,11 +32835,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___60463 = undefined; - s.tile___60466 = undefined; - s.unnamed232___U2 = undefined; - s.unnamed233___U3 = undefined; - s.tileOverlapHandlers___60487 = undefined; + s.alreadyHandled___115349 = undefined; + s.tile___115352 = undefined; + s.unnamed472___U2 = undefined; + s.unnamed473___U3 = undefined; + s.tileOverlapHandlers___115373 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32847,25 +32847,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___60463 = (r0); - s.tile___60466 = (undefined); - s.unnamed232___U2 = (s.arg2); - s.unnamed233___U3 = (0); + s.alreadyHandled___115349 = (r0); + s.tile___115352 = (undefined); + s.unnamed472___U2 = (s.arg2); + s.unnamed473___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed233___U3; - r0 = pxsim_Array__length(s.unnamed232___U2); + s.tmp_0 = r0 = s.unnamed473___U3; + r0 = pxsim_Array__length(s.unnamed472___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed232___U2, s.unnamed233___U3); - s.tile___60466 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P60470); + r0 = pxsim_Array__getAt(s.unnamed472___U2, s.unnamed473___U3); + s.tile___115352 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P115356); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___60466); - s.tmp_4 = helpers_arraySome__P46084_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___60463; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___115352); + s.tmp_4 = helpers_arraySome__P100970_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___115349; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 663; s.pc = 8; return s.tmp_4; case 8: @@ -32876,26 +32876,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___60463, s.tile___60466); - s.tmp_0 = game_currentScene__P48511_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___115349, s.tile___115352); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 664; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___60487 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___60487); + s.tileOverlapHandlers___115373 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___115373); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P60495); + r0 = pxsim_pxtcore_mkAction(2, inline__P115381); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___60466); - r0 = pxsim_pxtcore_mkAction(2, inline__P60511); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___115352); + r0 = pxsim_pxtcore_mkAction(2, inline__P115397); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___60466); - s.tmp_2 = helpers_arrayForEach__P46086_mk(s); - s.tmp_3 = helpers_arrayFilter__P46087_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___60487; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___115352); + s.tmp_2 = helpers_arrayForEach__P100972_mk(s); + s.tmp_3 = helpers_arrayFilter__P100973_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___115373; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 667; s.pc = 11; return s.tmp_3; case 11: @@ -32908,32 +32908,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed233___U3 + 1); - s.unnamed233___U3 = (r0); + r0 = (s.unnamed473___U3 + 1); + s.unnamed473___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed232___U2 = (undefined); + s.unnamed472___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P49709.info = {"start":20755,"length":699,"line":614,"column":4,"endLine":630,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P104595.info = {"start":20755,"length":699,"line":614,"column":4,"endLine":630,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P49709_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P104595_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P49709, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P104595, 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___60463: undefined, - tile___60466: undefined, - unnamed232___U2: undefined, - unnamed233___U3: undefined, - tileOverlapHandlers___60487: undefined, + alreadyHandled___115349: undefined, + tile___115352: undefined, + unnamed472___U2: undefined, + unnamed473___U3: undefined, + tileOverlapHandlers___115373: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32943,7 +32943,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P49709_mk(s) { -function inline__P60470(s) { +function inline__P115356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32980,12 +32980,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60470.info = {"start":20968,"length":45,"line":618,"column":36,"endLine":618,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +inline__P115356.info = {"start":20968,"length":45,"line":618,"column":36,"endLine":618,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function inline__P60470_mk(s) { +function inline__P115356_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60470, depth: s.depth + 1, + parent: s, fn: inline__P115356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33000,7 +33000,7 @@ function inline__P60470_mk(s) { -function inline__P60495(s) { +function inline__P115381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33027,7 +33027,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P48324_mk(s); + s.tmp_5 = tiles_getTileImage__P103210_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 666; s.pc = 3; return s.tmp_5; case 3: @@ -33041,12 +33041,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60495.info = {"start":21282,"length":81,"line":626,"column":28,"endLine":626,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P115381.info = {"start":21282,"length":81,"line":626,"column":28,"endLine":626,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P60495_mk(s) { +function inline__P115381_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60495, depth: s.depth + 1, + parent: s, fn: inline__P115381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33062,7 +33062,7 @@ function inline__P60495_mk(s) { -function inline__P60511(s) { +function inline__P115397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33095,12 +33095,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60511.info = {"start":21394,"length":28,"line":627,"column":29,"endLine":627,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P115397.info = {"start":21394,"length":28,"line":627,"column":29,"endLine":627,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P60511_mk(s) { +function inline__P115397_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60511, depth: s.depth + 1, + parent: s, fn: inline__P115397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33110,7 +33110,7 @@ function inline__P60511_mk(s) { -function tiles_getTileImage__P48324(s) { +function tiles_getTileImage__P103210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33120,16 +33120,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___60519 = undefined; + s.scene___115405 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P48511_mk(s); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 790; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___60519 = (r0); + s.scene___115405 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -33139,7 +33139,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___60519.fields["tileMap"]; + r0 = s.scene___115405.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -33149,14 +33149,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex60529); + r0 = pxsim.image.ofBuffer(_hex115415); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P48318_mk(s); - r0 = s.scene___60519.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P103204_mk(s); + r0 = s.scene___115405.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P48274_mk(s); + s.tmp_6 = tiles_Location_tileSet__P103160_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 791; s.pc = 8; return s.tmp_6; case 8: @@ -33169,12 +33169,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P48324.info = {"start":16636,"length":207,"line":525,"column":4,"endLine":529,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P103210.info = {"start":16636,"length":207,"line":525,"column":4,"endLine":529,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P48324_mk(s) { +function tiles_getTileImage__P103210_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P48324, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P103210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33183,16 +33183,16 @@ function tiles_getTileImage__P48324_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___60519: undefined, + scene___115405: undefined, arg0: undefined, } } -const _hex60529 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex115415 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P48318(s) { +function tiles_TileMap_getTileImage__P103204(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33208,8 +33208,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P48292_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P103178_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -33219,12 +33219,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P48318.info = {"start":13699,"length":96,"line":442,"column":8,"endLine":444,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P103204.info = {"start":13699,"length":96,"line":442,"column":8,"endLine":444,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P48318_mk(s) { +function tiles_TileMap_getTileImage__P103204_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P48318, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P103204, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33235,7 +33235,7 @@ function tiles_TileMap_getTileImage__P48318_mk(s) { -function tiles_TileMapData_getTileImage__P48292(s) { +function tiles_TileMapData_getTileImage__P103178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33245,25 +33245,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___60582 = undefined; - s.cachedImage___60586 = undefined; - s.originalImage___60593 = undefined; + s.size___115468 = undefined; + s.cachedImage___115472 = undefined; + s.originalImage___115479 = 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__C48283_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C103169_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___60582 = (r0); + s.size___115468 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___60586 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___60586); + s.cachedImage___115472 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___115472); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -33272,58 +33272,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___60593 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___60593); + s.originalImage___115479 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___115479); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___60593); + r0 = pxsim_ImageMethods.width(s.originalImage___115479); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___60582); + r0 = (s.tmp_1 <= s.size___115468); 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___60593); + r0 = pxsim_ImageMethods.height(s.originalImage___115479); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___60582); + r0 = (s.tmp_2 <= s.size___115468); 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___60586 = (s.originalImage___60593); + s.cachedImage___115472 = (s.originalImage___115479); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___60582, s.size___60582); - s.cachedImage___60586 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___60586, s.originalImage___60593, 0, 0); + r0 = pxsim.image.create(s.size___115468, s.size___115468); + s.cachedImage___115472 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___115472, s.originalImage___115479, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___60586); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___115472); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___60586; + r0 = s.cachedImage___115472; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P48292.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__P103178.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__P48292_mk(s) { +function tiles_TileMapData_getTileImage__P103178_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P48292, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P103178, 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___60582: undefined, - cachedImage___60586: undefined, - originalImage___60593: undefined, + size___115468: undefined, + cachedImage___115472: undefined, + originalImage___115479: undefined, arg0: undefined, arg1: undefined, } } @@ -33332,7 +33332,7 @@ function tiles_TileMapData_getTileImage__P48292_mk(s) { -function tiles_TileMapData_scale__P48287(s) { +function tiles_TileMapData_scale__P103173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33347,18 +33347,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C48283_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C103169_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P48287.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__P48287.isGetter = true; +tiles_TileMapData_scale__P103173.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__P103173.isGetter = true; -function tiles_TileMapData_scale__P48287_mk(s) { +function tiles_TileMapData_scale__P103173_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P48287, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P103173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33367,7 +33367,7 @@ function tiles_TileMapData_scale__P48287_mk(s) { -function tiles_Location_tileSet__P48274(s) { +function tiles_Location_tileSet__P103160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33382,8 +33382,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C48268_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P48309_mk(s); + if (!checkSubtype(r0, tiles_Location__C103154_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P103195_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; @@ -33396,13 +33396,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P48274.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__P48274.isGetter = true; +tiles_Location_tileSet__P103160.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__P103160.isGetter = true; -function tiles_Location_tileSet__P48274_mk(s) { +function tiles_Location_tileSet__P103160_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P48274, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P103160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33412,7 +33412,7 @@ function tiles_Location_tileSet__P48274_mk(s) { -function tiles_TileMap_getTileIndex__P48309(s) { +function tiles_TileMap_getTileIndex__P103195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33429,8 +33429,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P48289_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P103175_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -33441,12 +33441,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P48309.info = {"start":7380,"length":105,"line":273,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P103195.info = {"start":7380,"length":105,"line":273,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_TileMap_getTileIndex__P48309_mk(s) { +function tiles_TileMap_getTileIndex__P103195_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P48309, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P103195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33458,7 +33458,7 @@ function tiles_TileMap_getTileIndex__P48309_mk(s) { -function tiles_TileMapData_getTile__P48289(s) { +function tiles_TileMapData_getTile__P103175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33475,8 +33475,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C48283_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P48295_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C103169_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P103181_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -33509,12 +33509,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P48289.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__P103175.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__P48289_mk(s) { +function tiles_TileMapData_getTile__P103175_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P48289, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P103175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33534,7 +33534,7 @@ function tiles_TileMapData_getTile__P48289_mk(s) { -function tiles_TileMapData_isOutsideMap__P48295(s) { +function tiles_TileMapData_isOutsideMap__P103181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33551,7 +33551,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C48283_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C103169_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -33591,12 +33591,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P48295.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__P103181.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__P48295_mk(s) { +function tiles_TileMapData_isOutsideMap__P103181_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P48295, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P103181, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33615,7 +33615,7 @@ function tiles_TileMapData_isOutsideMap__P48295_mk(s) { -function tiles_Location_row__P48270(s) { +function tiles_Location_row__P103156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33630,18 +33630,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C48268_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C103154_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P48270.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__P48270.isGetter = true; +tiles_Location_row__P103156.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__P103156.isGetter = true; -function tiles_Location_row__P48270_mk(s) { +function tiles_Location_row__P103156_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P48270, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P103156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33650,7 +33650,7 @@ function tiles_Location_row__P48270_mk(s) { -function tiles_Location_col__P48269(s) { +function tiles_Location_col__P103155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33665,18 +33665,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C48268_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C103154_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_col__P48269.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__P48269.isGetter = true; +tiles_Location_col__P103155.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__P103155.isGetter = true; -function tiles_Location_col__P48269_mk(s) { +function tiles_Location_col__P103155_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P48269, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P103155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33685,7 +33685,7 @@ function tiles_Location_col__P48269_mk(s) { -function tiles_TileMap_getObstacle__P48316(s) { +function tiles_TileMap_getObstacle__P103202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33695,8 +33695,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___60752 = undefined; - s.tile___60764 = undefined; + s.index___115638 = undefined; + s.tile___115650 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33704,8 +33704,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P48295_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P103181_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -33719,7 +33719,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P48289_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P103175_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -33730,20 +33730,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___60752 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P48292_mk(s); + s.index___115638 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P103178_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___60752; + s.tmp_0.arg1 = s.index___115638; s.callLocIdx = 770; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___60764 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C48125_VT); + s.tile___115650 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C103011_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P48131_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P103017_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___60764; + s.tmp_1.arg1 = s.tile___115650; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -33756,7 +33756,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___60752; + s.tmp_1.arg5 = s.index___115638; s.callLocIdx = 774; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -33764,12 +33764,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P48316.info = {"start":12642,"length":410,"line":411,"column":8,"endLine":421,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P103202.info = {"start":12642,"length":410,"line":411,"column":8,"endLine":421,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P48316_mk(s) { +function tiles_TileMap_getObstacle__P103202_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P48316, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P103202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33777,8 +33777,8 @@ function tiles_TileMap_getObstacle__P48316_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___60752: undefined, - tile___60764: undefined, + index___115638: undefined, + tile___115650: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33788,7 +33788,7 @@ function tiles_TileMap_getObstacle__P48316_mk(s) { -function tiles_TileMap_layer__P48304(s) { +function tiles_TileMap_layer__P103190(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33803,18 +33803,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P48304.info = {"start":6897,"length":63,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P48304.isGetter = true; +tiles_TileMap_layer__P103190.info = {"start":6897,"length":63,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P103190.isGetter = true; -function tiles_TileMap_layer__P48304_mk(s) { +function tiles_TileMap_layer__P103190_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P48304, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P103190, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33823,7 +33823,7 @@ function tiles_TileMap_layer__P48304_mk(s) { -function sprites_StaticObstacle_constructor__P48131(s) { +function sprites_StaticObstacle_constructor__P103017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33843,7 +33843,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C48125_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C103011_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -33853,12 +33853,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P48131.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__P103017.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__P48131_mk(s) { +function sprites_StaticObstacle_constructor__P103017_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P48131, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P103017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33872,7 +33872,7 @@ function sprites_StaticObstacle_constructor__P48131_mk(s) { -function tiles_TileMap_isObstacle__P48315(s) { +function tiles_TileMap_isObstacle__P103201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33889,7 +33889,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -33910,7 +33910,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P48295_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P103181_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -33936,12 +33936,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P48315.info = {"start":12421,"length":211,"line":404,"column":8,"endLine":409,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P103201.info = {"start":12421,"length":211,"line":404,"column":8,"endLine":409,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P48315_mk(s) { +function tiles_TileMap_isObstacle__P103201_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P48315, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P103201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33964,7 +33964,7 @@ function tiles_TileMap_isObstacle__P48315_mk(s) { -function tiles_TileMapData_isWall__P48294(s) { +function tiles_TileMapData_isWall__P103180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33981,7 +33981,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C48283_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C103169_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -33990,12 +33990,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P48294.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__P103180.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__P48294_mk(s) { +function tiles_TileMapData_isWall__P103180_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P48294, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P103180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34008,7 +34008,7 @@ function tiles_TileMapData_isWall__P48294_mk(s) { -function tiles_TileMap_getTile__P48308(s) { +function tiles_TileMap_getTile__P103194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34025,10 +34025,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C48268_VT); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C103154_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P48271_mk(s); + s.tmp_1 = tiles_Location_constructor__P103157_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -34040,12 +34040,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P48308.info = {"start":7259,"length":111,"line":269,"column":8,"endLine":271,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P103194.info = {"start":7259,"length":111,"line":269,"column":8,"endLine":271,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMap_getTile__P48308_mk(s) { +function tiles_TileMap_getTile__P103194_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P48308, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P103194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34058,7 +34058,7 @@ function tiles_TileMap_getTile__P48308_mk(s) { -function tiles_Location_constructor__P48271(s) { +function tiles_Location_constructor__P103157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34076,7 +34076,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C48268_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C103154_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -34084,12 +34084,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P48271.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__P103157.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__P48271_mk(s) { +function tiles_Location_constructor__P103157_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P48271, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P103157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34101,7 +34101,7 @@ function tiles_Location_constructor__P48271_mk(s) { -function Sprite_registerObstacle__P48064(s) { +function Sprite_registerObstacle__P102950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34111,10 +34111,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___60645 = undefined; - s.wallCollisionHandlers___60652 = undefined; - s.wallHandlersToRun___60677 = undefined; - s.asTileLocation___60690 = undefined; + s.collisionHandlers___115531 = undefined; + s.wallCollisionHandlers___115538 = undefined; + s.wallHandlersToRun___115563 = undefined; + s.asTileLocation___115576 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34123,11 +34123,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48511_mk(s); + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 388; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -34147,24 +34147,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___60645 = (r0); - s.tmp_0 = game_currentScene__P48511_mk(s); + s.collisionHandlers___115531 = (r0); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 390; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___60652 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___60645); + s.wallCollisionHandlers___115538 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___115531); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P60660); + r0 = pxsim_pxtcore_mkAction(1, inline__P115546); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P60666); + r0 = pxsim_pxtcore_mkAction(1, inline__P115552); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P46086_mk(s); - s.tmp_3 = helpers_arrayFilter__P46087_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___60645; + s.tmp_2 = helpers_arrayForEach__P100972_mk(s); + s.tmp_3 = helpers_arrayFilter__P100973_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___115531; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 392; s.pc = 13; return s.tmp_3; case 13: @@ -34176,7 +34176,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___60652); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___115538); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -34184,7 +34184,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P48511_mk(s); + s.tmp_1 = game_currentScene__P103397_mk(s); s.callLocIdx = 395; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -34193,21 +34193,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, inline__P60679); + r0 = pxsim_pxtcore_mkAction(1, inline__P115565); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P46087_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___60652; + s.tmp_1 = helpers_arrayFilter__P100973_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___115538; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 397; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___60677 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___60677); + s.wallHandlersToRun___115563 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___115563); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P48308_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P103194_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -34246,13 +34246,13 @@ switch (step) { s.callLocIdx = 402; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___60690 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P60706); + s.asTileLocation___115576 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P115592); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___60690); - s.tmp_1 = helpers_arrayForEach__P46086_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___60677; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___115576); + s.tmp_1 = helpers_arrayForEach__P100972_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___115563; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 404; s.pc = 19; return s.tmp_1; case 19: @@ -34265,12 +34265,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P48064.info = {"start":26932,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P102950.info = {"start":26932,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P48064_mk(s) { +function Sprite_registerObstacle__P102950_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P48064, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P102950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34280,10 +34280,10 @@ function Sprite_registerObstacle__P48064_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___60645: undefined, - wallCollisionHandlers___60652: undefined, - wallHandlersToRun___60677: undefined, - asTileLocation___60690: undefined, + collisionHandlers___115531: undefined, + wallCollisionHandlers___115538: undefined, + wallHandlersToRun___115563: undefined, + asTileLocation___115576: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34294,7 +34294,7 @@ function Sprite_registerObstacle__P48064_mk(s) { -function inline__P60660(s) { +function inline__P115546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34316,12 +34316,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60660.info = {"start":27330,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P115546.info = {"start":27330,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P60660_mk(s) { +function inline__P115546_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60660, depth: s.depth + 1, + parent: s, fn: inline__P115546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34332,7 +34332,7 @@ function inline__P60660_mk(s) { -function inline__P60666(s) { +function inline__P115552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34364,12 +34364,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60666.info = {"start":27383,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P115552.info = {"start":27383,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P60666_mk(s) { +function inline__P115552_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60666, depth: s.depth + 1, + parent: s, fn: inline__P115552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34379,7 +34379,7 @@ function inline__P60666_mk(s) { -function inline__P60679(s) { +function inline__P115565(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34401,12 +34401,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60679.info = {"start":27589,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P115565.info = {"start":27589,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P60679_mk(s) { +function inline__P115565_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60679, depth: s.depth + 1, + parent: s, fn: inline__P115565, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34417,7 +34417,7 @@ function inline__P60679_mk(s) { -function inline__P60706(s) { +function inline__P115592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34450,12 +34450,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60706.info = {"start":27829,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P115592.info = {"start":27829,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P60706_mk(s) { +function inline__P115592_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60706, depth: s.depth + 1, + parent: s, fn: inline__P115592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34465,7 +34465,7 @@ function inline__P60706_mk(s) { -function Fx_min__P46140(s) { +function Fx_min__P101026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34496,12 +34496,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P46140.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__P101026.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__P46140_mk(s) { +function Fx_min__P101026_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P46140, depth: s.depth + 1, + parent: s, fn: Fx_min__P101026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34512,7 +34512,7 @@ function Fx_min__P46140_mk(s) { -function Fx_iadd__P46132(s) { +function Fx_iadd__P101018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34533,12 +34533,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P46132.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__P101018.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__P46132_mk(s) { +function Fx_iadd__P101018_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P46132, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P101018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34549,7 +34549,7 @@ function Fx_iadd__P46132_mk(s) { -function Fx_toIntShifted__P46130(s) { +function Fx_toIntShifted__P101016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34571,12 +34571,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P46130.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__P101016.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__P46130_mk(s) { +function Fx_toIntShifted__P101016_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P46130, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P101016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34588,7 +34588,7 @@ function Fx_toIntShifted__P46130_mk(s) { -function helpers_arraySome__P46084(s) { +function helpers_arraySome__P100970(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34598,26 +34598,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___60734 = undefined; - s.i___60737 = undefined; + s.len___115620 = undefined; + s.i___115623 = 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___60734 = (r0); - s.i___60737 = (0); + s.len___115620 = (r0); + s.i___115623 = (0); case 1: - r0 = (s.i___60737 < s.len___60734); + r0 = (s.i___115623 < s.len___115620); 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___60737); + r0 = pxsim_Array__getAt(s.arg0, s.i___115623); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___60737; + s.tmp_2.arg1 = s.i___115623; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: @@ -34629,8 +34629,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___60737 + 1); - s.i___60737 = (r0); + r0 = (s.i___115623 + 1); + s.i___115623 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -34638,18 +34638,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P46084.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__P100970.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__P46084_mk(s) { +function helpers_arraySome__P100970_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P46084, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P100970, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___60734: undefined, - i___60737: undefined, + len___115620: undefined, + i___115623: undefined, arg0: undefined, arg1: undefined, } } @@ -34658,7 +34658,7 @@ function helpers_arraySome__P46084_mk(s) { -function tiles_TileMap_isOnWall__P48317(s) { +function tiles_TileMap_isOnWall__P103203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34668,24 +34668,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___59869 = undefined; - s.left___59872 = undefined; - s.right___59878 = undefined; - s.top___59884 = undefined; - s.bottom___59890 = undefined; - s.col___59896 = undefined; - s.row___59902 = undefined; + s.hbox___114755 = undefined; + s.left___114758 = undefined; + s.right___114764 = undefined; + s.top___114770 = undefined; + s.bottom___114776 = undefined; + s.col___114782 = undefined; + s.row___114788 = 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__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___59869 = (r0); - s.tmp_1 = game_Hitbox_left__P47945_mk(s); - s.tmp_1.arg0 = s.hbox___59869; + s.hbox___114755 = (r0); + s.tmp_1 = game_Hitbox_left__P102831_mk(s); + s.tmp_1.arg0 = s.hbox___114755; s.callLocIdx = 775; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -34695,9 +34695,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___59872 = (r0); - s.tmp_1 = game_Hitbox_right__P47947_mk(s); - s.tmp_1.arg0 = s.hbox___59869; + s.left___114758 = (r0); + s.tmp_1 = game_Hitbox_right__P102833_mk(s); + s.tmp_1.arg0 = s.hbox___114755; s.callLocIdx = 778; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -34707,9 +34707,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___59878 = (r0); - s.tmp_1 = game_Hitbox_top__P47946_mk(s); - s.tmp_1.arg0 = s.hbox___59869; + s.right___114764 = (r0); + s.tmp_1 = game_Hitbox_top__P102832_mk(s); + s.tmp_1.arg0 = s.hbox___114755; s.callLocIdx = 781; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -34719,9 +34719,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___59884 = (r0); - s.tmp_1 = game_Hitbox_bottom__P47948_mk(s); - s.tmp_1.arg0 = s.hbox___59869; + s.top___114770 = (r0); + s.tmp_1 = game_Hitbox_bottom__P102834_mk(s); + s.tmp_1.arg0 = s.hbox___114755; s.callLocIdx = 784; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -34731,23 +34731,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___59890 = (r0); - s.col___59896 = (s.left___59872); + s.bottom___114776 = (r0); + s.col___114782 = (s.left___114758); case 1: - r0 = (s.col___59896 <= s.right___59878); + r0 = (s.col___114782 <= s.right___114764); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___59902 = (s.top___59884); + s.row___114788 = (s.top___114770); case 2: - r0 = (s.row___59902 <= s.bottom___59890); + r0 = (s.row___114788 <= s.bottom___114776); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P48315_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P103201_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___59896; - s.tmp_2.arg2 = s.row___59902; + s.tmp_2.arg1 = s.col___114782; + s.tmp_2.arg2 = s.row___114788; s.callLocIdx = 787; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -34758,12 +34758,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___59902 + 1); - s.row___59902 = (r0); + r0 = (s.row___114788 + 1); + s.row___114788 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___59896 + 1); - s.col___59896 = (r0); + r0 = (s.col___114782 + 1); + s.col___114782 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -34771,24 +34771,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P48317.info = {"start":13062,"length":627,"line":423,"column":8,"endLine":440,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P103203.info = {"start":13062,"length":627,"line":423,"column":8,"endLine":440,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P48317_mk(s) { +function tiles_TileMap_isOnWall__P103203_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P48317, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P103203, 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___59869: undefined, - left___59872: undefined, - right___59878: undefined, - top___59884: undefined, - bottom___59890: undefined, - col___59896: undefined, - row___59902: undefined, + hbox___114755: undefined, + left___114758: undefined, + right___114764: undefined, + top___114770: undefined, + bottom___114776: undefined, + col___114782: undefined, + row___114788: undefined, arg0: undefined, arg1: undefined, } } @@ -34797,7 +34797,7 @@ function tiles_TileMap_isOnWall__P48317_mk(s) { -function MovingSprite_constructor__P48151(s) { +function MovingSprite_constructor__P103037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34819,7 +34819,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C48150_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C103036_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -34831,12 +34831,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P48151.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} +MovingSprite_constructor__P103037.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} -function MovingSprite_constructor__P48151_mk(s) { +function MovingSprite_constructor__P103037_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P48151, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P103037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34852,7 +34852,7 @@ function MovingSprite_constructor__P48151_mk(s) { -function ArcadePhysicsEngine_move__P48164(s) { +function ArcadePhysicsEngine_move__P103050(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34862,33 +34862,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtf___60824 = undefined; - s.dt2___60831 = undefined; - s.scene___60835 = undefined; - s.tileMap___60838 = undefined; - s.movingSprites___60841 = undefined; - s.MAX_STEP_COUNT___60872 = undefined; - s.overlapHandlers___60884 = undefined; - s.selected___60891 = undefined; - s.buffers___60892 = undefined; - s.count___60896 = undefined; - s.currMovers___60906 = undefined; - s.remainingMovers___60913 = undefined; - s.ms___60918 = undefined; - s.unnamed222___U13 = undefined; - s.unnamed223___U14 = undefined; - s.s___60920 = undefined; - s.stepX___61013 = undefined; - s.stepY___61027 = undefined; + s.dtf___115710 = undefined; + s.dt2___115717 = undefined; + s.scene___115721 = undefined; + s.tileMap___115724 = undefined; + s.movingSprites___115727 = undefined; + s.MAX_STEP_COUNT___115758 = undefined; + s.overlapHandlers___115770 = undefined; + s.selected___115777 = undefined; + s.buffers___115778 = undefined; + s.count___115782 = undefined; + s.currMovers___115792 = undefined; + s.remainingMovers___115799 = undefined; + s.ms___115804 = undefined; + s.unnamed462___U13 = undefined; + s.unnamed463___U14 = undefined; + s.s___115806 = undefined; + s.stepX___115899 = undefined; + s.stepY___115913 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); - s.tmp_0 = Fx_min__P46140_mk(s); - s.tmp_0.arg0 = globals.MAX_TIME_STEP___48147; + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); + s.tmp_0 = Fx_min__P101026_mk(s); + s.tmp_0.arg0 = globals.MAX_TIME_STEP___103033; r0 = (s.arg1 * 1000); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); @@ -34898,43 +34898,43 @@ switch (step) { s.callLocIdx = 488; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtf___60824 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___60824, 2); - s.dt2___60831 = (r0); - s.tmp_0 = game_currentScene__P48511_mk(s); + s.dtf___115710 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___115710, 2); + s.dt2___115717 = (r0); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 490; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___60835 = (r0); - r0 = s.scene___60835.fields["tileMap"]; - s.tileMap___60838 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P60843); + s.scene___115721 = (r0); + r0 = s.scene___115721.fields["tileMap"]; + s.tileMap___115724 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P115729); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtf___60824); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___60831); - s.tmp_1 = helpers_arrayMap__P46083_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtf___115710); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___115717); + s.tmp_1 = helpers_arrayMap__P100969_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 492; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___60841 = (r0); - s.tmp_0 = helpers_arrayForEach__P46086_mk(s); + s.movingSprites___115727 = (r0); + s.tmp_0 = helpers_arrayForEach__P100972_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P60855; + s.tmp_0.arg1 = inline__P115741; s.callLocIdx = 496; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P48079_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P102965_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 497; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P48078_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P102964_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -34950,7 +34950,7 @@ 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.dtf___60824); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtf___115710); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); s.tmp_1 = r0; @@ -34959,34 +34959,34 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.MAX_STEP_COUNT___60872 = (r0); - s.tmp_0 = helpers_arraySlice__P46091_mk(s); - r0 = s.scene___60835.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___115758 = (r0); + s.tmp_0 = helpers_arraySlice__P100977_mk(s); + r0 = s.scene___115721.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 503; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.overlapHandlers___60884 = (r0); - s.selected___60891 = (0); + s.overlapHandlers___115770 = (r0); + s.selected___115777 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___60841); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___115727); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___60892 = (s.tmp_0); - s.count___60896 = (0); + s.buffers___115778 = (s.tmp_0); + s.count___115782 = (0); case 1: - r0 = (s.count___60896 < s.MAX_STEP_COUNT___60872); + r0 = (s.count___115782 < s.MAX_STEP_COUNT___115758); 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___60892, s.selected___60891); + r0 = pxsim_Array__getAt(s.buffers___115778, s.selected___115777); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -34996,43 +34996,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___60892, s.selected___60891); - s.currMovers___60906 = (r0); - r0 = (s.selected___60891 ^ 1); - s.selected___60891 = (r0); - r0 = pxsim_Array__getAt(s.buffers___60892, s.selected___60891); - s.remainingMovers___60913 = (r0); - s.ms___60918 = (undefined); - s.unnamed222___U13 = (s.currMovers___60906); - s.unnamed223___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___115778, s.selected___115777); + s.currMovers___115792 = (r0); + r0 = (s.selected___115777 ^ 1); + s.selected___115777 = (r0); + r0 = pxsim_Array__getAt(s.buffers___115778, s.selected___115777); + s.remainingMovers___115799 = (r0); + s.ms___115804 = (undefined); + s.unnamed462___U13 = (s.currMovers___115792); + s.unnamed463___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed223___U14; - r0 = pxsim_Array__length(s.unnamed222___U13); + s.tmp_0 = r0 = s.unnamed463___U14; + r0 = pxsim_Array__length(s.unnamed462___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_Array__getAt(s.unnamed222___U13, s.unnamed223___U14); - s.ms___60918 = (r0); - r0 = s.ms___60918.fields["sprite"]; - s.s___60920 = (r0); - r0 = s.ms___60918.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed462___U13, s.unnamed463___U14); + s.ms___115804 = (r0); + r0 = s.ms___115804.fields["sprite"]; + s.s___115806 = (r0); + r0 = s.ms___115804.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___60920.fields["_vx"]; + r0 = s.s___115806.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___60920.fields["_vx"]; + r0 = s.s___115806.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___60918).fields["dx"] = (0); + r0 = (s.ms___115804).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___60920.fields["_vx"]; + r0 = s.s___115806.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -35041,7 +35041,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___60918.fields["cachedVx"]; + r0 = s.ms___115804.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -35052,7 +35052,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___60920.fields["_vx"]; + r0 = s.s___115806.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -35061,7 +35061,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___60918.fields["cachedVx"]; + r0 = s.ms___115804.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -35073,14 +35073,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___60918; - r0 = s.ms___60918.fields["dx"]; + s.tmp_9 = r0 = s.ms___115804; + r0 = s.ms___115804.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___60918; - r0 = s.ms___60918.fields["xStep"]; + s.tmp_0 = r0 = s.ms___115804; + r0 = s.ms___115804.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -35088,29 +35088,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___60920.fields["_vx"]; + r0 = s.s___115806.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___60918).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___115804).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___60918.fields["cachedVy"]; + r0 = s.ms___115804.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___60920.fields["_vy"]; + r0 = s.s___115806.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___60920.fields["_vy"]; + r0 = s.s___115806.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___60918).fields["dy"] = (0); + r0 = (s.ms___115804).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___60920.fields["_vy"]; + r0 = s.s___115806.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -35119,7 +35119,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___60918.fields["cachedVy"]; + r0 = s.ms___115804.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -35130,7 +35130,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___60920.fields["_vy"]; + r0 = s.s___115806.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -35139,7 +35139,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___60918.fields["cachedVy"]; + r0 = s.ms___115804.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -35151,14 +35151,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___60918; - r0 = s.ms___60918.fields["dy"]; + s.tmp_9 = r0 = s.ms___115804; + r0 = s.ms___115804.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___60918; - r0 = s.ms___60918.fields["yStep"]; + s.tmp_0 = r0 = s.ms___115804; + r0 = s.ms___115804.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -35166,20 +35166,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___60920.fields["_vy"]; + r0 = s.s___115806.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___60918).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___115804).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P46139_mk(s); - r0 = s.ms___60918.fields["xStep"]; + s.tmp_2 = Fx_abs__P101025_mk(s); + r0 = s.ms___115804.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 508; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P46139_mk(s); - r0 = s.ms___60918.fields["dx"]; + s.tmp_4 = Fx_abs__P101025_mk(s); + r0 = s.ms___115804.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 509; s.pc = 55; return s.tmp_4; case 55: @@ -35189,23 +35189,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___60918.fields["dx"]; + r0 = s.ms___115804.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___60918.fields["xStep"]; + r0 = s.ms___115804.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___61013 = (s.tmp_5); - s.tmp_2 = Fx_abs__P46139_mk(s); - r0 = s.ms___60918.fields["yStep"]; + s.stepX___115899 = (s.tmp_5); + s.tmp_2 = Fx_abs__P101025_mk(s); + r0 = s.ms___115804.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 510; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P46139_mk(s); - r0 = s.ms___60918.fields["dy"]; + s.tmp_4 = Fx_abs__P101025_mk(s); + r0 = s.ms___115804.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 511; s.pc = 57; return s.tmp_4; case 57: @@ -35215,45 +35215,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___60918.fields["dy"]; + r0 = s.ms___115804.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___60918.fields["yStep"]; + r0 = s.ms___115804.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___61027 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___60918; - r0 = s.ms___60918.fields["dx"]; + s.stepY___115913 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___115804; + r0 = s.ms___115804.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___61013); + r0 = (s.tmp_2 - s.stepX___115899); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___60918; - r0 = s.ms___60918.fields["dy"]; + s.tmp_0 = r0 = s.ms___115804; + r0 = s.ms___115804.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___61027); + r0 = (s.tmp_2 - s.stepY___115913); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___60920.fields["_x"]; + r0 = s.s___115806.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___60920).fields["_lastX"] = (s.tmp_0); - r0 = s.s___60920.fields["_y"]; + r0 = (s.s___115806).fields["_lastX"] = (s.tmp_0); + r0 = s.s___115806.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___60920).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___60920; - r0 = s.s___60920.fields["_x"]; + r0 = (s.s___115806).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___115806; + r0 = s.s___115806.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___61013); + r0 = (s.tmp_2 + s.stepX___115899); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___60920; - r0 = s.s___60920.fields["_y"]; + s.tmp_0 = r0 = s.s___115806; + r0 = s.s___115806.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___61027); + r0 = (s.tmp_2 + s.stepY___115913); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___60920.fields["flags"]; + r0 = s.s___115806.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -35263,20 +35263,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - s.tmp_4 = sprites_SpriteMap_insertAABB__P48080_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P102966_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___60920; + s.tmp_4.arg1 = s.s___115806; s.callLocIdx = 516; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; - s.tmp_0 = r0 = s.tileMap___60838; + s.tmp_0 = r0 = s.tileMap___115724; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 33; continue; } r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = s.tileMap___60838.fields["_map"]; + r0 = s.tileMap___115724.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -35290,10 +35290,10 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 35; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P49708_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P104594_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___60918; - s.tmp_6.arg2 = s.tileMap___60838; + s.tmp_6.arg1 = s.ms___115804; + s.tmp_6.arg2 = s.tileMap___115724; s.callLocIdx = 518; s.pc = 59; return s.tmp_6; case 59: r0 = s.retval; @@ -35301,70 +35301,70 @@ switch (step) { case 36: case 37: case 38: - s.tmp_2 = Fx_abs__P46139_mk(s); - r0 = s.ms___60918.fields["dx"]; + s.tmp_2 = Fx_abs__P101025_mk(s); + r0 = s.ms___115804.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 519; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___48149); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___103035); 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__P46139_mk(s); - r0 = s.ms___60918.fields["dy"]; + s.tmp_4 = Fx_abs__P101025_mk(s); + r0 = s.ms___115804.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 520; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___48149); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___103035); 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___60913, s.ms___60918); + r0 = pxsim_Array__push(s.remainingMovers___115799, s.ms___115804); case 41: case 42: - r0 = (s.unnamed223___U14 + 1); - s.unnamed223___U14 = (r0); + r0 = (s.unnamed463___U14 + 1); + s.unnamed463___U14 = (r0); { step = 4; continue; } case 43: - s.unnamed222___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P49707_mk(s); + s.unnamed462___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P104593_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___60906; - s.tmp_0.arg2 = s.overlapHandlers___60884; + s.tmp_0.arg1 = s.currMovers___115792; + s.tmp_0.arg2 = s.overlapHandlers___115770; s.callLocIdx = 521; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___60906); + r0 = pxsim_Array__length(s.currMovers___115792); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___60906); + r0 = pxsim_Array_.pop(s.currMovers___115792); { step = 44; continue; } case 45: - r0 = (s.count___60896 + 1); - s.count___60896 = (r0); + r0 = (s.count___115782 + 1); + s.count___115782 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P48164.info = {"start":2551,"length":3971,"line":109,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P103050.info = {"start":2551,"length":3971,"line":109,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P48164_mk(s) { +function ArcadePhysicsEngine_move__P103050_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P48164, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P103050, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35378,24 +35378,24 @@ function ArcadePhysicsEngine_move__P48164_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtf___60824: undefined, - dt2___60831: undefined, - scene___60835: undefined, - tileMap___60838: undefined, - movingSprites___60841: undefined, - MAX_STEP_COUNT___60872: undefined, - overlapHandlers___60884: undefined, - selected___60891: undefined, - buffers___60892: undefined, - count___60896: undefined, - currMovers___60906: undefined, - remainingMovers___60913: undefined, - ms___60918: undefined, - unnamed222___U13: undefined, - unnamed223___U14: undefined, - s___60920: undefined, - stepX___61013: undefined, - stepY___61027: undefined, + dtf___115710: undefined, + dt2___115717: undefined, + scene___115721: undefined, + tileMap___115724: undefined, + movingSprites___115727: undefined, + MAX_STEP_COUNT___115758: undefined, + overlapHandlers___115770: undefined, + selected___115777: undefined, + buffers___115778: undefined, + count___115782: undefined, + currMovers___115792: undefined, + remainingMovers___115799: undefined, + ms___115804: undefined, + unnamed462___U13: undefined, + unnamed463___U14: undefined, + s___115806: undefined, + stepX___115899: undefined, + stepY___115913: undefined, arg0: undefined, arg1: undefined, } } @@ -35404,7 +35404,7 @@ function ArcadePhysicsEngine_move__P48164_mk(s) { -function inline__P60843(s) { +function inline__P115729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35418,7 +35418,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P49706_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P104592_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -35429,12 +35429,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60843.info = {"start":2943,"length":51,"line":121,"column":17,"endLine":121,"endColumn":68,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P115729.info = {"start":2943,"length":51,"line":121,"column":17,"endLine":121,"endColumn":68,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} -function inline__P60843_mk(s) { +function inline__P115729_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60843, depth: s.depth + 1, + parent: s, fn: inline__P115729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35444,7 +35444,7 @@ function inline__P60843_mk(s) { -function inline__P60855(s) { +function inline__P115741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35458,7 +35458,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P48008_mk(s); + s.tmp_1 = Sprite_vx__P102894_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 493; s.pc = 5; return s.tmp_1; case 5: @@ -35469,7 +35469,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P48010_mk(s); + s.tmp_2 = Sprite_vy__P102896_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 494; s.pc = 6; return s.tmp_2; case 6: @@ -35479,7 +35479,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P48063_mk(s); + s.tmp_4 = Sprite_clearObstacles__P102949_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 495; s.pc = 7; return s.tmp_4; case 7: @@ -35490,12 +35490,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60855.info = {"start":3077,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P115741.info = {"start":3077,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} -function inline__P60855_mk(s) { +function inline__P115741_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60855, depth: s.depth + 1, + parent: s, fn: inline__P115741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35509,7 +35509,7 @@ function inline__P60855_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P49707(s) { +function ArcadePhysicsEngine_spriteCollisions__P104593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35519,18 +35519,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___61128 = undefined; - s.unnamed224___U1 = undefined; - s.unnamed225___U2 = undefined; - s.sprite___61130 = undefined; - s.overSprites___61137 = undefined; - s.overlapper___61145 = undefined; - s.unnamed226___U6 = undefined; - s.unnamed227___U7 = undefined; - s.thisKind___61151 = undefined; - s.otherKind___61155 = undefined; - s.higher___61168 = undefined; - s.lower___61177 = undefined; + s.ms___116014 = undefined; + s.unnamed464___U1 = undefined; + s.unnamed465___U2 = undefined; + s.sprite___116016 = undefined; + s.overSprites___116023 = undefined; + s.overlapper___116031 = undefined; + s.unnamed466___U6 = undefined; + s.unnamed467___U7 = undefined; + s.thisKind___116037 = undefined; + s.otherKind___116041 = undefined; + s.higher___116054 = undefined; + s.lower___116063 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35538,7 +35538,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -35550,20 +35550,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___61128 = (undefined); - s.unnamed224___U1 = (s.arg1); - s.unnamed225___U2 = (0); + s.ms___116014 = (undefined); + s.unnamed464___U1 = (s.arg1); + s.unnamed465___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed225___U2; - r0 = pxsim_Array__length(s.unnamed224___U1); + s.tmp_0 = r0 = s.unnamed465___U2; + r0 = pxsim_Array__length(s.unnamed464___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed224___U1, s.unnamed225___U2); - s.ms___61128 = (r0); - r0 = s.ms___61128.fields["sprite"]; - s.sprite___61130 = (r0); - r0 = s.sprite___61130.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed464___U1, s.unnamed465___U2); + s.ms___116014 = (r0); + r0 = s.ms___116014.fields["sprite"]; + s.sprite___116016 = (r0); + r0 = s.sprite___116016.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 515); s.tmp_0 = r0; @@ -35572,27 +35572,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P48076_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P102962_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___61128.fields["sprite"]; + r0 = s.ms___116014.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 559; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___61137 = (r0); - s.overlapper___61145 = (undefined); - s.unnamed226___U6 = (s.overSprites___61137); - s.unnamed227___U7 = (0); + s.overSprites___116023 = (r0); + s.overlapper___116031 = (undefined); + s.unnamed466___U6 = (s.overSprites___116023); + s.unnamed467___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed227___U7; - r0 = pxsim_Array__length(s.unnamed226___U6); + s.tmp_0 = r0 = s.unnamed467___U7; + r0 = pxsim_Array__length(s.unnamed466___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed226___U6, s.unnamed227___U7); - s.overlapper___61145 = (r0); - r0 = s.overlapper___61145.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed466___U6, s.unnamed467___U7); + s.overlapper___116031 = (r0); + r0 = s.overlapper___116031.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -35601,13 +35601,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___61130.fields["_kind"]; - s.thisKind___61151 = (r0); - r0 = s.overlapper___61145.fields["_kind"]; - s.otherKind___61155 = (r0); - r0 = s.sprite___61130.fields["_kindsOverlappedWith"]; + r0 = s.sprite___116016.fields["_kind"]; + s.thisKind___116037 = (r0); + r0 = s.overlapper___116031.fields["_kind"]; + s.otherKind___116041 = (r0); + r0 = s.sprite___116016.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___61155, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___116041, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -35616,37 +35616,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___61130.fields["id"]; + r0 = s.sprite___116016.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___61145.fields["id"]; + r0 = s.overlapper___116031.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___61130; + r0 = s.sprite___116016; { step = 12; continue; } case 11: - r0 = s.overlapper___61145; + r0 = s.overlapper___116031; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___61168 = (s.tmp_6); - r0 = (s.higher___61168 === s.sprite___61130); + s.higher___116054 = (s.tmp_6); + r0 = (s.higher___116054 === s.sprite___116016); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___61145; + r0 = s.overlapper___116031; { step = 14; continue; } case 13: - r0 = s.sprite___61130; + r0 = s.sprite___116016; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___61177 = (s.tmp_1); - r0 = s.higher___61168.fields["_overlappers"]; + s.lower___116063 = (s.tmp_1); + r0 = s.higher___116054.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___61177.fields["id"]; + r0 = s.lower___116063.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -35654,19 +35654,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__P61197); + r0 = pxsim_pxtcore_mkAction(2, inline__P116083); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___61151); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___61155); - r0 = pxsim_pxtcore_mkAction(5, inline__P61221); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___116037); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___116041); + r0 = pxsim_pxtcore_mkAction(5, inline__P116107); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___61168); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___61177); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___61130); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___61145); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___61151); - s.tmp_6 = helpers_arrayForEach__P46086_mk(s); - s.tmp_7 = helpers_arrayFilter__P46087_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___116054); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___116063); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___116016); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___116031); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___116037); + s.tmp_6 = helpers_arrayForEach__P100972_mk(s); + s.tmp_7 = helpers_arrayFilter__P100973_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 562; s.pc = 24; return s.tmp_7; @@ -35680,28 +35680,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed227___U7 + 1); - s.unnamed227___U7 = (r0); + r0 = (s.unnamed467___U7 + 1); + s.unnamed467___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed226___U6 = (undefined); + s.unnamed466___U6 = (undefined); case 19: - r0 = (s.unnamed225___U2 + 1); - s.unnamed225___U2 = (r0); + r0 = (s.unnamed465___U2 + 1); + s.unnamed465___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed224___U1 = (undefined); + s.unnamed464___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P49707.info = {"start":9599,"length":2254,"line":324,"column":4,"endLine":368,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P104593.info = {"start":9599,"length":2254,"line":324,"column":4,"endLine":368,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P49707_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P104593_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P49707, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P104593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35711,18 +35711,18 @@ function ArcadePhysicsEngine_spriteCollisions__P49707_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___61128: undefined, - unnamed224___U1: undefined, - unnamed225___U2: undefined, - sprite___61130: undefined, - overSprites___61137: undefined, - overlapper___61145: undefined, - unnamed226___U6: undefined, - unnamed227___U7: undefined, - thisKind___61151: undefined, - otherKind___61155: undefined, - higher___61168: undefined, - lower___61177: undefined, + ms___116014: undefined, + unnamed464___U1: undefined, + unnamed465___U2: undefined, + sprite___116016: undefined, + overSprites___116023: undefined, + overlapper___116031: undefined, + unnamed466___U6: undefined, + unnamed467___U7: undefined, + thisKind___116037: undefined, + otherKind___116041: undefined, + higher___116054: undefined, + lower___116063: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35732,7 +35732,7 @@ function ArcadePhysicsEngine_spriteCollisions__P49707_mk(s) { -function inline__P61197(s) { +function inline__P116083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35789,12 +35789,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61197.info = {"start":10958,"length":137,"line":350,"column":32,"endLine":351,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P116083.info = {"start":10958,"length":137,"line":350,"column":32,"endLine":351,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P61197_mk(s) { +function inline__P116083_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61197, depth: s.depth + 1, + parent: s, fn: inline__P116083, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35812,7 +35812,7 @@ function inline__P61197_mk(s) { -function inline__P61221(s) { +function inline__P116107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35831,7 +35831,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__P61231); + r0 = pxsim_pxtcore_mkAction(6, inline__P116117); 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]); @@ -35844,12 +35844,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61221.info = {"start":11155,"length":648,"line":353,"column":33,"endLine":364,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P116107.info = {"start":11155,"length":648,"line":353,"column":33,"endLine":364,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P61221_mk(s) { +function inline__P116107_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61221, depth: s.depth + 1, + parent: s, fn: inline__P116107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35860,7 +35860,7 @@ function inline__P61221_mk(s) { -function inline__P61231(s) { +function inline__P116117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35936,12 +35936,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61231.info = {"start":11276,"length":499,"line":355,"column":50,"endLine":363,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P116117.info = {"start":11276,"length":499,"line":355,"column":50,"endLine":363,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P61231_mk(s) { +function inline__P116117_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61231, depth: s.depth + 1, + parent: s, fn: inline__P116117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35962,7 +35962,7 @@ function inline__P61231_mk(s) { -function sprites_SpriteMap_overlaps__P48076(s) { +function sprites_SpriteMap_overlaps__P102962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35972,47 +35972,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___61265 = undefined; - s.o___61269 = undefined; + s.n___116151 = undefined; + s.o___116155 = 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__C48073_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P48075_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P102961_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 434; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___61265 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P61271); + s.n___116151 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P116157); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P46087_mk(s); - s.tmp_1.arg0 = s.n___61265; + s.tmp_1 = helpers_arrayFilter__P100973_mk(s); + s.tmp_1.arg0 = s.n___116151; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 436; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___61269 = (r0); - r0 = s.o___61269; + s.o___116155 = (r0); + r0 = s.o___116155; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P48076.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__P102962.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__P48076_mk(s) { +function sprites_SpriteMap_overlaps__P102962_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P48076, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P102962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___61265: undefined, - o___61269: undefined, + n___116151: undefined, + o___116155: undefined, arg0: undefined, arg1: undefined, } } @@ -36021,7 +36021,7 @@ function sprites_SpriteMap_overlaps__P48076_mk(s) { -function inline__P61271(s) { +function inline__P116157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36035,7 +36035,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P48059_mk(s); + s.tmp_0 = Sprite_overlapsWith__P102945_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 435; s.pc = 1; return s.tmp_0; @@ -36044,12 +36044,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61271.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P116157.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__P61271_mk(s) { +function inline__P116157_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61271, depth: s.depth + 1, + parent: s, fn: inline__P116157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36059,7 +36059,7 @@ function inline__P61271_mk(s) { -function sprites_SpriteMap_neighbors__P48075(s) { +function sprites_SpriteMap_neighbors__P102961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36069,112 +36069,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___61313 = undefined; - s.layer___61315 = undefined; + s.n___116199 = undefined; + s.layer___116201 = 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__C48073_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___61313 = (r0); + s.n___116199 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___61315 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P49685_mk(s); + s.layer___116201 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P104571_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P48041_mk(s); + s.tmp_1 = Sprite_left__P102927_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 422; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P48045_mk(s); + s.tmp_2 = Sprite_top__P102931_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 423; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___61315; - s.tmp_0.arg4 = s.n___61313; + s.tmp_0.arg3 = s.layer___116201; + s.tmp_0.arg4 = s.n___116199; s.callLocIdx = 424; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P49685_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P104571_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P48041_mk(s); + s.tmp_1 = Sprite_left__P102927_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 425; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P48047_mk(s); + s.tmp_2 = Sprite_bottom__P102933_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 426; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___61315; - s.tmp_0.arg4 = s.n___61313; + s.tmp_0.arg3 = s.layer___116201; + s.tmp_0.arg4 = s.n___116199; s.callLocIdx = 427; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P49685_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P104571_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P48043_mk(s); + s.tmp_1 = Sprite_right__P102929_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 428; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P48045_mk(s); + s.tmp_2 = Sprite_top__P102931_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 429; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___61315; - s.tmp_0.arg4 = s.n___61313; + s.tmp_0.arg3 = s.layer___116201; + s.tmp_0.arg4 = s.n___116199; s.callLocIdx = 430; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P49685_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P104571_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P48043_mk(s); + s.tmp_1 = Sprite_right__P102929_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 431; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P48047_mk(s); + s.tmp_2 = Sprite_bottom__P102933_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 432; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___61315; - s.tmp_0.arg4 = s.n___61313; + s.tmp_0.arg3 = s.layer___116201; + s.tmp_0.arg4 = s.n___116199; s.callLocIdx = 433; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___61313, s.arg1); - r0 = s.n___61313; + r0 = pxsim_Array_.removeElement(s.n___116199, s.arg1); + r0 = s.n___116199; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P48075.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__P102961.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__P48075_mk(s) { +function sprites_SpriteMap_neighbors__P102961_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P48075, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P102961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___61313: undefined, - layer___61315: undefined, + n___116199: undefined, + layer___116201: undefined, arg0: undefined, arg1: undefined, } } @@ -36183,7 +36183,7 @@ function sprites_SpriteMap_neighbors__P48075_mk(s) { -function sprites_SpriteMap_mergeAtKey__P49685(s) { +function sprites_SpriteMap_mergeAtKey__P104571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36193,11 +36193,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___61368 = undefined; - s.bucket___61373 = undefined; - s.sprite___61380 = undefined; - s.unnamed220___U3 = undefined; - s.unnamed221___U4 = undefined; + s.k___116254 = undefined; + s.bucket___116259 = undefined; + s.sprite___116266 = undefined; + s.unnamed460___U3 = undefined; + s.unnamed461___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36207,33 +36207,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C48073_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P49683_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P104569_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 460; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___61368 = (r0); + s.k___116254 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___61368); - s.bucket___61373 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___61373); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___116254); + s.bucket___116259 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___116259); if (!r0) { step = 7; continue; } - s.sprite___61380 = (undefined); - s.unnamed220___U3 = (s.bucket___61373); - s.unnamed221___U4 = (0); + s.sprite___116266 = (undefined); + s.unnamed460___U3 = (s.bucket___116259); + s.unnamed461___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed221___U4; - r0 = pxsim_Array__length(s.unnamed220___U3); + s.tmp_0 = r0 = s.unnamed461___U4; + r0 = pxsim_Array__length(s.unnamed460___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed220___U3, s.unnamed221___U4); - s.sprite___61380 = (r0); - r0 = s.sprite___61380.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed460___U3, s.unnamed461___U4); + s.sprite___116266 = (r0); + r0 = s.sprite___116266.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -36242,7 +36242,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___61380, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___116266, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -36250,26 +36250,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___61380); + r0 = pxsim_Array__push(s.arg4, s.sprite___116266); case 4: case 5: - r0 = (s.unnamed221___U4 + 1); - s.unnamed221___U4 = (r0); + r0 = (s.unnamed461___U4 + 1); + s.unnamed461___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed220___U3 = (undefined); + s.unnamed460___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P49685.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__P104571.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__P49685_mk(s) { +function sprites_SpriteMap_mergeAtKey__P104571_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P49685, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P104571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36277,11 +36277,11 @@ function sprites_SpriteMap_mergeAtKey__P49685_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___61368: undefined, - bucket___61373: undefined, - sprite___61380: undefined, - unnamed220___U3: undefined, - unnamed221___U4: undefined, + k___116254: undefined, + bucket___116259: undefined, + sprite___116266: undefined, + unnamed460___U3: undefined, + unnamed461___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36293,7 +36293,7 @@ function sprites_SpriteMap_mergeAtKey__P49685_mk(s) { -function sprites_SpriteMap_key__P49683(s) { +function sprites_SpriteMap_key__P104569(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36303,8 +36303,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___61401 = undefined; - s.yi___61413 = undefined; + s.xi___116287 = undefined; + s.yi___116299 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36312,8 +36312,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C48073_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P46101_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P100987_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -36324,8 +36324,8 @@ switch (step) { s.callLocIdx = 448; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___61401 = (r0); - s.tmp_0 = Math_clamp__P46101_mk(s); + s.xi___116287 = (r0); + s.tmp_0 = Math_clamp__P100987_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -36336,28 +36336,28 @@ switch (step) { s.callLocIdx = 449; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___61413 = (r0); - s.tmp_0 = r0 = s.xi___61401; + s.yi___116299 = (r0); + s.tmp_0 = r0 = s.xi___116287; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___61413 * s.tmp_2); + r0 = (s.yi___116299 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P49683.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__P104569.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__P49683_mk(s) { +function sprites_SpriteMap_key__P104569_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P49683, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P104569, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___61401: undefined, - yi___61413: undefined, + xi___116287: undefined, + yi___116299: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36367,7 +36367,7 @@ function sprites_SpriteMap_key__P49683_mk(s) { -function Sprite_bottom__P48047(s) { +function Sprite_bottom__P102933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36382,8 +36382,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P48045_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P102931_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 314; s.pc = 1; return s.tmp_1; case 1: @@ -36397,13 +36397,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P48047.info = {"start":10083,"length":59,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P48047.isGetter = true; +Sprite_bottom__P102933.info = {"start":10083,"length":59,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P102933.isGetter = true; -function Sprite_bottom__P48047_mk(s) { +function Sprite_bottom__P102933_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P48047, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P102933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36416,7 +36416,7 @@ function Sprite_bottom__P48047_mk(s) { -function Sprite_height__P48040(s) { +function Sprite_height__P102926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36431,20 +36431,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48040.info = {"start":8639,"length":54,"line":314,"column":4,"endLine":316,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P48040.isGetter = true; +Sprite_height__P102926.info = {"start":8639,"length":54,"line":314,"column":4,"endLine":316,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P102926.isGetter = true; -function Sprite_height__P48040_mk(s) { +function Sprite_height__P102926_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P48040, depth: s.depth + 1, + parent: s, fn: Sprite_height__P102926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36454,7 +36454,7 @@ function Sprite_height__P48040_mk(s) { -function Sprite_right__P48043(s) { +function Sprite_right__P102929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36469,8 +36469,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P48041_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P102927_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 306; s.pc = 1; return s.tmp_1; case 1: @@ -36484,13 +36484,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P48043.info = {"start":9279,"length":57,"line":339,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P48043.isGetter = true; +Sprite_right__P102929.info = {"start":9279,"length":57,"line":339,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P102929.isGetter = true; -function Sprite_right__P48043_mk(s) { +function Sprite_right__P102929_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P48043, depth: s.depth + 1, + parent: s, fn: Sprite_right__P102929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36503,7 +36503,7 @@ function Sprite_right__P48043_mk(s) { -function Sprite_overlapsWith__P48059(s) { +function Sprite_overlapsWith__P102945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36519,7 +36519,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -36552,13 +36552,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P48041_mk(s); + s.tmp_9 = Sprite_left__P102927_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 384; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = Sprite_left__P48041_mk(s); + s.tmp_11 = Sprite_left__P102927_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 385; s.pc = 9; return s.tmp_11; case 9: @@ -36566,13 +36566,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P48045_mk(s); + s.tmp_14 = Sprite_top__P102931_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 386; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; - s.tmp_16 = Sprite_top__P48045_mk(s); + s.tmp_16 = Sprite_top__P102931_mk(s); s.tmp_16.arg0 = s.arg1; s.callLocIdx = 387; s.pc = 11; return s.tmp_16; case 11: @@ -36585,12 +36585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P48059.info = {"start":24476,"length":434,"line":748,"column":4,"endLine":756,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P102945.info = {"start":24476,"length":434,"line":748,"column":4,"endLine":756,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P48059_mk(s) { +function Sprite_overlapsWith__P102945_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P48059, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P102945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36617,7 +36617,7 @@ function Sprite_overlapsWith__P48059_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P49706(s) { +function ArcadePhysicsEngine_createMovingSprite__P104592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36627,16 +36627,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___61615 = undefined; - s.ovy___61620 = undefined; - s.fx___61647 = undefined; - s.c___61654 = undefined; - s.fy___61697 = undefined; - s.c___61704 = undefined; - s.dx___61743 = undefined; - s.dy___61752 = undefined; - s.xStep___61761 = undefined; - s.yStep___61763 = undefined; + s.ovx___116501 = undefined; + s.ovy___116506 = undefined; + s.fx___116533 = undefined; + s.c___116540 = undefined; + s.fy___116583 = undefined; + s.c___116590 = undefined; + s.dx___116629 = undefined; + s.dy___116638 = undefined; + s.xStep___116647 = undefined; + s.yStep___116649 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36645,23 +36645,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P49711_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P104597_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 522; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___61615 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P49711_mk(s); + s.ovx___116501 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P104597_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 523; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___61620 = (r0); + s.ovy___116506 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -36699,21 +36699,21 @@ switch (step) { r0 = (s.tmp_3 >> 8); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fx___61647 = (r0); + s.fx___116533 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___61647); - s.c___61654 = (r0); - r0 = (s.c___61654 < 0); + r0 = (s.tmp_0 - s.fx___116533); + s.c___116540 = (r0); + r0 = (s.c___116540 < 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__P46140_mk(s); + s.tmp_3 = Fx_min__P101026_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___61647); + r0 = (s.tmp_4 + s.fx___116533); s.tmp_3.arg1 = r0; s.callLocIdx = 531; s.pc = 27; return s.tmp_3; case 27: @@ -36722,16 +36722,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___61654 > 0); + r0 = (s.c___116540 > 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__P46141_mk(s); + s.tmp_3 = Fx_max__P101027_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___61647); + r0 = (s.tmp_4 - s.fx___116533); s.tmp_3.arg1 = r0; s.callLocIdx = 533; s.pc = 28; return s.tmp_3; case 28: @@ -36777,21 +36777,21 @@ switch (step) { r0 = (s.tmp_3 >> 8); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fy___61697 = (r0); + s.fy___116583 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___61697); - s.c___61704 = (r0); - r0 = (s.c___61704 < 0); + r0 = (s.tmp_0 - s.fy___116583); + s.c___116590 = (r0); + r0 = (s.c___116590 < 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__P46140_mk(s); + s.tmp_3 = Fx_min__P101026_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___61697); + r0 = (s.tmp_4 + s.fy___116583); s.tmp_3.arg1 = r0; s.callLocIdx = 541; s.pc = 29; return s.tmp_3; case 29: @@ -36800,16 +36800,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___61704 > 0); + r0 = (s.c___116590 > 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_min__P46140_mk(s); + s.tmp_3 = Fx_min__P101026_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___61697); + r0 = (s.tmp_4 - s.fy___116583); s.tmp_3.arg1 = r0; s.callLocIdx = 543; s.pc = 30; return s.tmp_3; case 30: @@ -36825,7 +36825,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P49711_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P104597_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -36835,7 +36835,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__P49711_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P104597_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -36846,29 +36846,29 @@ switch (step) { r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovx___61615); + r0 = (s.tmp_2 + s.ovx___116501); s.tmp_1 = r0; r0 = pxsim.Math_.imul(s.tmp_1, s.arg3); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); s.tmp_0 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, 1000); - s.dx___61743 = (r0); + s.dx___116629 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovy___61620); + r0 = (s.tmp_2 + s.ovy___116506); s.tmp_1 = r0; r0 = pxsim.Math_.imul(s.tmp_1, s.arg3); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); s.tmp_0 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, 1000); - s.dy___61752 = (r0); - s.xStep___61761 = (s.dx___61743); - s.yStep___61763 = (s.dy___61752); + s.dy___116638 = (r0); + s.xStep___116647 = (s.dx___116629); + s.yStep___116649 = (s.dy___116638); case 17: - s.tmp_2 = Fx_abs__P46139_mk(s); - s.tmp_2.arg0 = s.xStep___61761; + s.tmp_2 = Fx_abs__P101025_mk(s); + s.tmp_2.arg0 = s.xStep___116647; s.callLocIdx = 552; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -36882,8 +36882,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P46139_mk(s); - s.tmp_5.arg0 = s.yStep___61763; + s.tmp_5 = Fx_abs__P101025_mk(s); + s.tmp_5.arg0 = s.yStep___116649; s.callLocIdx = 553; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -36896,8 +36896,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P46139_mk(s); - s.tmp_10.arg0 = s.xStep___61761; + s.tmp_10 = Fx_abs__P101025_mk(s); + s.tmp_10.arg0 = s.xStep___116647; s.callLocIdx = 554; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -36908,12 +36908,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___61761, 2); - s.xStep___61761 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___116647, 2); + s.xStep___116647 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P46139_mk(s); - s.tmp_2.arg0 = s.yStep___61763; + s.tmp_2 = Fx_abs__P101025_mk(s); + s.tmp_2.arg0 = s.yStep___116649; s.callLocIdx = 556; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -36924,25 +36924,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___61763, 2); - s.yStep___61763 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___116649, 2); + s.yStep___116649 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C48150_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C103036_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P48151_mk(s); + s.tmp_1 = MovingSprite_constructor__P103037_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___61743; - s.tmp_1.arg5 = s.dy___61752; - s.tmp_1.arg6 = s.xStep___61761; - s.tmp_1.arg7 = s.yStep___61763; + s.tmp_1.arg4 = s.dx___116629; + s.tmp_1.arg5 = s.dy___116638; + s.tmp_1.arg6 = s.xStep___116647; + s.tmp_1.arg7 = s.yStep___116649; s.callLocIdx = 558; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -36950,12 +36950,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P49706.info = {"start":6528,"length":3065,"line":213,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P104592.info = {"start":6528,"length":3065,"line":213,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P49706_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P104592_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P49706, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P104592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36969,16 +36969,16 @@ function ArcadePhysicsEngine_createMovingSprite__P49706_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___61615: undefined, - ovy___61620: undefined, - fx___61647: undefined, - c___61654: undefined, - fy___61697: undefined, - c___61704: undefined, - dx___61743: undefined, - dy___61752: undefined, - xStep___61761: undefined, - yStep___61763: undefined, + ovx___116501: undefined, + ovy___116506: undefined, + fx___116533: undefined, + c___116540: undefined, + fy___116583: undefined, + c___116590: undefined, + dx___116629: undefined, + dy___116638: undefined, + xStep___116647: undefined, + yStep___116649: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36989,7 +36989,7 @@ function ArcadePhysicsEngine_createMovingSprite__P49706_mk(s) { -function ArcadePhysicsEngine_constrain__P49711(s) { +function ArcadePhysicsEngine_constrain__P104597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37005,9 +37005,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P46141_mk(s); - s.tmp_1 = Fx_min__P46140_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P101027_mk(s); + s.tmp_1 = Fx_min__P101026_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -37023,12 +37023,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P49711.info = {"start":25298,"length":191,"line":751,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P104597.info = {"start":25298,"length":191,"line":751,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P49711_mk(s) { +function ArcadePhysicsEngine_constrain__P104597_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P49711, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P104597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37040,7 +37040,7 @@ function ArcadePhysicsEngine_constrain__P49711_mk(s) { -function Fx_max__P46141(s) { +function Fx_max__P101027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37071,12 +37071,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P46141.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__P101027.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__P46141_mk(s) { +function Fx_max__P101027_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P46141, depth: s.depth + 1, + parent: s, fn: Fx_max__P101027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37087,7 +37087,7 @@ function Fx_max__P46141_mk(s) { -function Fx_compare__P46138(s) { +function Fx_compare__P101024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37106,12 +37106,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P46138.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__P101024.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__P46138_mk(s) { +function Fx_compare__P101024_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P46138, depth: s.depth + 1, + parent: s, fn: Fx_compare__P101024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37121,7 +37121,7 @@ function Fx_compare__P46138_mk(s) { -function sprites_SpriteMap_insertAABB__P48080(s) { +function sprites_SpriteMap_insertAABB__P102966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37131,31 +37131,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___61433 = undefined; - s.top___61436 = undefined; - s.xn___61439 = undefined; - s.yn___61450 = undefined; - s.x___61461 = undefined; - s.y___61466 = undefined; + s.left___116319 = undefined; + s.top___116322 = undefined; + s.xn___116325 = undefined; + s.yn___116336 = undefined; + s.x___116347 = undefined; + s.y___116352 = 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__C48073_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P48041_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P102927_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 451; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___61433 = (r0); - s.tmp_0 = Sprite_top__P48045_mk(s); + s.left___116319 = (r0); + s.tmp_0 = Sprite_top__P102931_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 452; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___61436 = (r0); + s.top___116322 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -37169,7 +37169,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___61439 = (r0); + s.xn___116325 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -37183,30 +37183,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___61450 = (r0); - s.x___61461 = (0); + s.yn___116336 = (r0); + s.x___116347 = (0); case 1: - r0 = (s.x___61461 <= s.xn___61439); + r0 = (s.x___116347 <= s.xn___116325); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___61466 = (0); + s.y___116352 = (0); case 2: - r0 = (s.y___61466 <= s.yn___61450); + r0 = (s.y___116352 <= s.yn___116336); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P49684_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P104570_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___61433; - s.tmp_4 = Math_min__P46105_mk(s); + s.tmp_2 = r0 = s.left___116319; + s.tmp_4 = Math_min__P100991_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___61461 * s.tmp_6); + r0 = (s.x___116347 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 456; s.pc = 8; return s.tmp_4; case 8: @@ -37214,15 +37214,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___61436; - s.tmp_9 = Math_min__P46105_mk(s); + s.tmp_7 = r0 = s.top___116322; + s.tmp_9 = Math_min__P100991_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___61466 * s.tmp_11); + r0 = (s.y___116352 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 458; s.pc = 9; return s.tmp_9; case 9: @@ -37234,24 +37234,24 @@ switch (step) { s.callLocIdx = 459; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___61466 + 1); - s.y___61466 = (r0); + r0 = (s.y___116352 + 1); + s.y___116352 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___61461 + 1); - s.x___61461 = (r0); + r0 = (s.x___116347 + 1); + s.x___116347 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P48080.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__P102966.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__P48080_mk(s) { +function sprites_SpriteMap_insertAABB__P102966_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P48080, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P102966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37265,12 +37265,12 @@ function sprites_SpriteMap_insertAABB__P48080_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___61433: undefined, - top___61436: undefined, - xn___61439: undefined, - yn___61450: undefined, - x___61461: undefined, - y___61466: undefined, + left___116319: undefined, + top___116322: undefined, + xn___116325: undefined, + yn___116336: undefined, + x___116347: undefined, + y___116352: undefined, arg0: undefined, arg1: undefined, } } @@ -37279,7 +37279,7 @@ function sprites_SpriteMap_insertAABB__P48080_mk(s) { -function sprites_SpriteMap_insertAtKey__P49684(s) { +function sprites_SpriteMap_insertAtKey__P104570(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37289,8 +37289,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___61501 = undefined; - s.bucket___61506 = undefined; + s.k___116387 = undefined; + s.bucket___116392 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37299,20 +37299,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C48073_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P49683_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P104569_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 450; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___61501 = (r0); + s.k___116387 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___61501); - s.bucket___61506 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___61506); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___116387); + s.bucket___116392 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___116392); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -37320,40 +37320,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___61501; + s.tmp_3 = r0 = s.k___116387; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___61506 = (s.tmp_4); + s.bucket___116392 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___61506, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___116392, 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___61506, s.arg3); + r0 = pxsim_Array__push(s.bucket___116392, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P49684.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__P104570.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__P49684_mk(s) { +function sprites_SpriteMap_insertAtKey__P104570_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P49684, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P104570, 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___61501: undefined, - bucket___61506: undefined, + k___116387: undefined, + bucket___116392: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37364,7 +37364,7 @@ function sprites_SpriteMap_insertAtKey__P49684_mk(s) { -function sprites_SpriteMap_clear__P48079(s) { +function sprites_SpriteMap_clear__P102965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37379,7 +37379,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C48073_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -37388,12 +37388,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P48079.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__P102965.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__P48079_mk(s) { +function sprites_SpriteMap_clear__P102965_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P48079, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P102965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37404,7 +37404,7 @@ function sprites_SpriteMap_clear__P48079_mk(s) { -function sprites_SpriteMap_resizeBuckets__P48078(s) { +function sprites_SpriteMap_resizeBuckets__P102964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37414,107 +37414,107 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___61538 = undefined; - s.maxHeight___61539 = undefined; - s.sprite___61541 = undefined; - s.unnamed218___U3 = undefined; - s.unnamed219___U4 = undefined; - s.tMap___61557 = undefined; - s.areaWidth___61561 = undefined; - s.areaHeight___61568 = undefined; + s.maxWidth___116424 = undefined; + s.maxHeight___116425 = undefined; + s.sprite___116427 = undefined; + s.unnamed458___U3 = undefined; + s.unnamed459___U4 = undefined; + s.tMap___116443 = undefined; + s.areaWidth___116447 = undefined; + s.areaHeight___116454 = 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__C48073_VT)) failedCast(r0); - s.maxWidth___61538 = (0); - s.maxHeight___61539 = (0); - s.sprite___61541 = (undefined); - s.unnamed218___U3 = (s.arg1); - s.unnamed219___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); + s.maxWidth___116424 = (0); + s.maxHeight___116425 = (0); + s.sprite___116427 = (undefined); + s.unnamed458___U3 = (s.arg1); + s.unnamed459___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed219___U4; - r0 = pxsim_Array__length(s.unnamed218___U3); + s.tmp_0 = r0 = s.unnamed459___U4; + r0 = pxsim_Array__length(s.unnamed458___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed218___U3, s.unnamed219___U4); - s.sprite___61541 = (r0); - r0 = s.sprite___61541.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed458___U3, s.unnamed459___U4); + s.sprite___116427 = (r0); + r0 = s.sprite___116427.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___61538); + r0 = (s.tmp_3 > s.maxWidth___116424); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___61541.fields["_image"]; + r0 = s.sprite___116427.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___61538 = (r0); + s.maxWidth___116424 = (r0); case 2: case 3: - r0 = s.sprite___61541.fields["_image"]; + r0 = s.sprite___116427.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___61539); + r0 = (s.tmp_1 > s.maxHeight___116425); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___61541.fields["_image"]; + r0 = s.sprite___116427.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___61539 = (r0); + s.maxHeight___116425 = (r0); case 4: case 5: - r0 = (s.unnamed219___U4 + 1); - s.unnamed219___U4 = (r0); + r0 = (s.unnamed459___U4 + 1); + s.unnamed459___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed218___U3 = (undefined); - s.tmp_0 = game_currentScene__P48511_mk(s); + s.unnamed458___U3 = (undefined); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 443; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___61557 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___61557); + s.tMap___116443 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___116443); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P48302_mk(s); - s.tmp_0.arg0 = s.tMap___61557; + s.tmp_0 = tiles_TileMap_areaWidth__P103188_mk(s); + s.tmp_0.arg0 = s.tMap___116443; s.callLocIdx = 444; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___61561 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___61557); + s.areaWidth___116447 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___116443); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P48303_mk(s); - s.tmp_0.arg0 = s.tMap___61557; + s.tmp_0 = tiles_TileMap_areaHeight__P103189_mk(s); + s.tmp_0.arg0 = s.tMap___116443; s.callLocIdx = 445; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___61568 = (s.tmp_1); + s.areaHeight___116454 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P46101_mk(s); + s.tmp_2 = Math_clamp__P100987_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___61561 >> 2); + r0 = (s.areaWidth___116447 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___61538 * 2); + r0 = (s.maxWidth___116424 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 446; s.pc = 14; return s.tmp_2; case 14: @@ -37522,11 +37522,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__P46101_mk(s); + s.tmp_2 = Math_clamp__P100987_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___61568 >> 2); + r0 = (s.areaHeight___116454 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___61539 * 2); + r0 = (s.maxHeight___116425 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 447; s.pc = 15; return s.tmp_2; case 15: @@ -37536,25 +37536,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___61568, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___116454, 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___61561, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___116447, 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__P48078.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__P102964.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__P48078_mk(s) { +function sprites_SpriteMap_resizeBuckets__P102964_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P48078, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P102964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37562,14 +37562,14 @@ function sprites_SpriteMap_resizeBuckets__P48078_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___61538: undefined, - maxHeight___61539: undefined, - sprite___61541: undefined, - unnamed218___U3: undefined, - unnamed219___U4: undefined, - tMap___61557: undefined, - areaWidth___61561: undefined, - areaHeight___61568: undefined, + maxWidth___116424: undefined, + maxHeight___116425: undefined, + sprite___116427: undefined, + unnamed458___U3: undefined, + unnamed459___U4: undefined, + tMap___116443: undefined, + areaWidth___116447: undefined, + areaHeight___116454: undefined, arg0: undefined, arg1: undefined, } } @@ -37578,7 +37578,7 @@ function sprites_SpriteMap_resizeBuckets__P48078_mk(s) { -function Sprite_clearObstacles__P48063(s) { +function Sprite_clearObstacles__P102949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37593,7 +37593,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -37602,12 +37602,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P48063.info = {"start":26872,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P102949.info = {"start":26872,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P48063_mk(s) { +function Sprite_clearObstacles__P102949_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P48063, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P102949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37618,7 +37618,7 @@ function Sprite_clearObstacles__P48063_mk(s) { -function Fx_idiv__P46137(s) { +function Fx_idiv__P101023(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37637,12 +37637,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P46137.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__P101023.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__P46137_mk(s) { +function Fx_idiv__P101023_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P46137, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P101023, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37652,7 +37652,7 @@ function Fx_idiv__P46137_mk(s) { -function Fx_div__P46136(s) { +function Fx_div__P101022(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37673,12 +37673,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P46136.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__P101022.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__P46136_mk(s) { +function Fx_div__P101022_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P46136, depth: s.depth + 1, + parent: s, fn: Fx_div__P101022, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37689,7 +37689,7 @@ function Fx_div__P46136_mk(s) { -function ArcadePhysicsEngine_draw__P48163(s) { +function ArcadePhysicsEngine_draw__P103049(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37704,8 +37704,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P48077_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P102963_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 486; s.pc = 1; return s.tmp_0; @@ -37715,12 +37715,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P48163.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} +ArcadePhysicsEngine_draw__P103049.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} -function ArcadePhysicsEngine_draw__P48163_mk(s) { +function ArcadePhysicsEngine_draw__P103049_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P48163, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P103049, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37730,7 +37730,7 @@ function ArcadePhysicsEngine_draw__P48163_mk(s) { -function sprites_SpriteMap_draw__P48077(s) { +function sprites_SpriteMap_draw__P102963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37740,70 +37740,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___61841 = undefined; - s.y___61847 = undefined; - s.left___61853 = undefined; - s.top___61858 = undefined; - s.k___61863 = undefined; - s.b___61868 = undefined; + s.x___116727 = undefined; + s.y___116733 = undefined; + s.left___116739 = undefined; + s.top___116744 = undefined; + s.k___116749 = undefined; + s.b___116754 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C48073_VT)) failedCast(r0); - s.x___61841 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C102959_VT)) failedCast(r0); + s.x___116727 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___61841 < s.tmp_1); + r0 = (s.x___116727 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___61847 = (0); + s.y___116733 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___61847 < s.tmp_1); + r0 = (s.y___116733 < 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___61841 * s.tmp_2); - s.left___61853 = (r0); + r0 = (s.x___116727 * s.tmp_2); + s.left___116739 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___61847 * s.tmp_0); - s.top___61858 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P49683_mk(s); + r0 = (s.y___116733 * s.tmp_0); + s.top___116744 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P104569_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___61853; - s.tmp_0.arg2 = s.top___61858; + s.tmp_0.arg1 = s.left___116739; + s.tmp_0.arg2 = s.top___116744; s.callLocIdx = 437; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___61863 = (r0); + s.k___116749 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___61863); - s.b___61868 = (r0); - s.tmp_0 = r0 = s.b___61868; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___116749); + s.b___116754 = (r0); + s.tmp_0 = r0 = s.b___116754; 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___61868); + r0 = pxsim_Array__length(s.b___116754); 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__P47710_mk(s); - s.tmp_2.arg0 = globals.screen___47781; - s.tmp_2.arg1 = s.left___61853; - s.tmp_2.arg2 = s.top___61858; + s.tmp_2 = helpers_imageDrawRect__P102596_mk(s); + s.tmp_2.arg0 = globals.screen___102667; + s.tmp_2.arg1 = s.left___116739; + s.tmp_2.arg2 = s.top___116744; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -37814,34 +37814,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___61847 + 1); - s.y___61847 = (r0); + r0 = (s.y___116733 + 1); + s.y___116733 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___61841 + 1); - s.x___61841 = (r0); + r0 = (s.x___116727 + 1); + s.x___116727 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P48077.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__P102963.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__P48077_mk(s) { +function sprites_SpriteMap_draw__P102963_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P48077, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P102963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___61841: undefined, - y___61847: undefined, - left___61853: undefined, - top___61858: undefined, - k___61863: undefined, - b___61868: undefined, + x___116727: undefined, + y___116733: undefined, + left___116739: undefined, + top___116744: undefined, + k___116749: undefined, + b___116754: undefined, arg0: undefined, } } @@ -37849,7 +37849,7 @@ function sprites_SpriteMap_draw__P48077_mk(s) { -function ArcadePhysicsEngine_removeSprite__P48162(s) { +function ArcadePhysicsEngine_removeSprite__P103048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37865,7 +37865,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -37873,12 +37873,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P48162.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_removeSprite__P103048.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_removeSprite__P48162_mk(s) { +function ArcadePhysicsEngine_removeSprite__P103048_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P48162, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P103048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37889,7 +37889,7 @@ function ArcadePhysicsEngine_removeSprite__P48162_mk(s) { -function ArcadePhysicsEngine_addSprite__P48161(s) { +function ArcadePhysicsEngine_addSprite__P103047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37899,31 +37899,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___61905 = undefined; + s.tm___116791 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C48152_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C103038_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__P48511_mk(s); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 484; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___61905 = (r0); - s.tmp_0 = r0 = s.tm___61905; + s.tm___116791 = (r0); + s.tmp_0 = r0 = s.tm___116791; 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__P48317_mk(s); - s.tmp_1.arg0 = s.tm___61905; + s.tmp_1 = tiles_TileMap_isOnWall__P103203_mk(s); + s.tmp_1.arg0 = s.tm___116791; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 485; s.pc = 6; return s.tmp_1; case 6: @@ -37945,12 +37945,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P48161.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_addSprite__P103047.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_addSprite__P48161_mk(s) { +function ArcadePhysicsEngine_addSprite__P103047_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P48161, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P103047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37958,7 +37958,7 @@ function ArcadePhysicsEngine_addSprite__P48161_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___61905: undefined, + tm___116791: undefined, arg0: undefined, arg1: undefined, } } @@ -37967,7 +37967,7 @@ function ArcadePhysicsEngine_addSprite__P48161_mk(s) { -function tiles_TileMapData_constructor__P48284(s) { +function tiles_TileMapData_constructor__P103170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37986,11 +37986,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C48283_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C103169_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__P48288_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P103174_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 722; s.pc = 1; return s.tmp_0; @@ -38008,12 +38008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P48284.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__P103170.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__P48284_mk(s) { +function tiles_TileMapData_constructor__P103170_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P48284, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P103170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38028,7 +38028,7 @@ function tiles_TileMapData_constructor__P48284_mk(s) { -function tiles_TileMapData_scale__P48288(s) { +function tiles_TileMapData_scale__P103174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38044,7 +38044,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C48283_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C103169_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -38054,12 +38054,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P48288.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__P103174.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__P48288_mk(s) { +function tiles_TileMapData_scale__P103174_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P48288, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P103174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38071,7 +38071,7 @@ function tiles_TileMapData_scale__P48288_mk(s) { -function tiles_TileMap_constructor__P48297(s) { +function tiles_TileMap_constructor__P103183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38087,18 +38087,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P48299_mk(s); + s.tmp_0 = tiles_TileMap_scale__P103185_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 728; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P61964); + r0 = pxsim_pxtcore_mkAction(1, inline__P116850); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = scene_createRenderable__P48362_mk(s); + s.tmp_1 = scene_createRenderable__P103248_mk(s); s.tmp_1.arg0 = -1; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; @@ -38109,12 +38109,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P48297.info = {"start":5865,"length":250,"line":210,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P103183.info = {"start":5865,"length":250,"line":210,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_TileMap_constructor__P48297_mk(s) { +function tiles_TileMap_constructor__P103183_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P48297, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P103183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38126,7 +38126,7 @@ function tiles_TileMap_constructor__P48297_mk(s) { -function inline__P61964(s) { +function inline__P116850(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38141,7 +38141,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P49779_mk(s); + s.tmp_0 = tiles_TileMap_draw__P104665_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -38152,12 +38152,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61964.info = {"start":6065,"length":25,"line":216,"column":16,"endLine":216,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +inline__P116850.info = {"start":6065,"length":25,"line":216,"column":16,"endLine":216,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function inline__P61964_mk(s) { +function inline__P116850_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61964, depth: s.depth + 1, + parent: s, fn: inline__P116850, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38168,7 +38168,7 @@ function inline__P61964_mk(s) { -function tiles_TileMap_draw__P49779(s) { +function tiles_TileMap_draw__P104665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38178,21 +38178,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___61975 = undefined; - s.offsetX___61981 = undefined; - s.offsetY___61986 = undefined; - s.x0___61991 = undefined; - s.xn___61998 = undefined; - s.y0___62015 = undefined; - s.yn___62022 = undefined; - s.x___62039 = undefined; - s.y___62045 = undefined; - s.index___62051 = undefined; - s.tile___62058 = undefined; - s.x___62094 = undefined; - s.xLine___62100 = undefined; - s.y___62126 = undefined; - s.yLine___62132 = undefined; + s.bitmask___116861 = undefined; + s.offsetX___116867 = undefined; + s.offsetY___116872 = undefined; + s.x0___116877 = undefined; + s.xn___116884 = undefined; + s.y0___116901 = undefined; + s.yn___116908 = undefined; + s.x___116925 = undefined; + s.y___116931 = undefined; + s.index___116937 = undefined; + s.tile___116944 = undefined; + s.x___116980 = undefined; + s.xLine___116986 = undefined; + s.y___117012 = undefined; + s.yLine___117018 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38200,7 +38200,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -38225,16 +38225,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___61975 = (r0); + s.bitmask___116861 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___61975); - s.offsetX___61981 = (r0); + r0 = (s.tmp_0 & s.bitmask___116861); + s.offsetX___116867 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___61975); - s.offsetY___61986 = (r0); - s.tmp_0 = Math_max__P46104_mk(s); + r0 = (s.tmp_0 & s.bitmask___116861); + s.offsetY___116872 = (r0); + s.tmp_0 = Math_max__P100990_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -38245,8 +38245,8 @@ switch (step) { s.callLocIdx = 748; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___61991 = (r0); - s.tmp_0 = Math_min__P46105_mk(s); + s.x0___116877 = (r0); + s.tmp_0 = Math_min__P100991_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -38266,8 +38266,8 @@ switch (step) { s.callLocIdx = 751; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___61998 = (r0); - s.tmp_0 = Math_max__P46104_mk(s); + s.xn___116884 = (r0); + s.tmp_0 = Math_max__P100990_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -38278,8 +38278,8 @@ switch (step) { s.callLocIdx = 753; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___62015 = (r0); - s.tmp_0 = Math_min__P46105_mk(s); + s.y0___116901 = (r0); + s.tmp_0 = Math_min__P100991_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -38299,92 +38299,92 @@ switch (step) { s.callLocIdx = 756; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___62022 = (r0); - s.x___62039 = (s.x0___61991); + s.yn___116908 = (r0); + s.x___116925 = (s.x0___116877); case 3: - r0 = (s.x___62039 <= s.xn___61998); + r0 = (s.x___116925 <= s.xn___116884); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___62045 = (s.y0___62015); + s.y___116931 = (s.y0___116901); case 4: - r0 = (s.y___62045 <= s.yn___62022); + r0 = (s.y___116931 <= s.yn___116908); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P48289_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P103175_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___62039; - s.tmp_1.arg2 = s.y___62045; + s.tmp_1.arg1 = s.x___116925; + s.tmp_1.arg2 = s.y___116931; s.callLocIdx = 757; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___62051 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P48292_mk(s); + s.index___116937 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P103178_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___62051; + s.tmp_0.arg1 = s.index___116937; s.callLocIdx = 758; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___62058 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___62058); + s.tile___116944 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___116944); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___62058; - r0 = (s.x___62039 - s.x0___61991); + s.tmp_1 = r0 = s.tile___116944; + r0 = (s.x___116925 - s.x0___116877); 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___61981); + r0 = (s.tmp_3 - s.offsetX___116867); s.tmp_2 = r0; - r0 = (s.y___62045 - s.y0___62015); + r0 = (s.y___116931 - s.y0___116901); 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___61986); + r0 = (s.tmp_7 - s.offsetY___116872); 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___62045 + 1); - s.y___62045 = (r0); + r0 = (s.y___116931 + 1); + s.y___116931 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___62039 + 1); - s.x___62039 = (r0); + r0 = (s.x___116925 + 1); + s.x___116925 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___48507); + r0 = pxsim_numops_toBoolDecr(globals.debug___103393); if (!r0) { step = 21; continue; } - s.x___62094 = (s.x0___61991); + s.x___116980 = (s.x0___116877); case 9: - r0 = (s.x___62094 <= s.xn___61998); + r0 = (s.x___116980 <= s.xn___116884); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___62094 - s.x0___61991); + r0 = (s.x___116980 - s.x0___116877); 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___61981); - s.xLine___62100 = (r0); - r0 = (s.xLine___62100 >= 0); + r0 = (s.tmp_1 - s.offsetX___116867); + s.xLine___116986 = (r0); + r0 = (s.xLine___116986 >= 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___62100; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + s.tmp_1 = r0 = s.xLine___116986; + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -38392,11 +38392,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P47709_mk(s); + s.tmp_4 = helpers_imageDrawLine__P102595_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___62100; + s.tmp_4.arg1 = s.xLine___116986; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___62100; + s.tmp_4.arg3 = s.xLine___116986; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -38405,33 +38405,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___62094 + 1); - s.x___62094 = (r0); + r0 = (s.x___116980 + 1); + s.x___116980 = (r0); { step = 9; continue; } case 14: - s.y___62126 = (s.y0___62015); + s.y___117012 = (s.y0___116901); case 15: - r0 = (s.y___62126 <= s.yn___62022); + r0 = (s.y___117012 <= s.yn___116908); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___62126 - s.y0___62015); + r0 = (s.y___117012 - s.y0___116901); 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___61986); - s.yLine___62132 = (r0); - r0 = (s.yLine___62132 >= 0); + r0 = (s.tmp_1 - s.offsetY___116872); + s.yLine___117018 = (r0); + r0 = (s.yLine___117018 >= 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___62132; - r0 = pxsim_ImageMethods.height(globals.screen___47781); + s.tmp_1 = r0 = s.yLine___117018; + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -38439,21 +38439,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P47709_mk(s); + s.tmp_4 = helpers_imageDrawLine__P102595_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___62132; + s.tmp_4.arg2 = s.yLine___117018; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___62132; + s.tmp_4.arg4 = s.yLine___117018; s.tmp_4.arg5 = 1; s.callLocIdx = 764; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___62126 + 1); - s.y___62126 = (r0); + r0 = (s.y___117012 + 1); + s.y___117012 = (r0); { step = 15; continue; } case 20: case 21: @@ -38463,12 +38463,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P49779.info = {"start":10187,"length":2224,"line":347,"column":8,"endLine":402,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P104665.info = {"start":10187,"length":2224,"line":347,"column":8,"endLine":402,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P49779_mk(s) { +function tiles_TileMap_draw__P104665_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P49779, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P104665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38480,21 +38480,21 @@ function tiles_TileMap_draw__P49779_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___61975: undefined, - offsetX___61981: undefined, - offsetY___61986: undefined, - x0___61991: undefined, - xn___61998: undefined, - y0___62015: undefined, - yn___62022: undefined, - x___62039: undefined, - y___62045: undefined, - index___62051: undefined, - tile___62058: undefined, - x___62094: undefined, - xLine___62100: undefined, - y___62126: undefined, - yLine___62132: undefined, + bitmask___116861: undefined, + offsetX___116867: undefined, + offsetY___116872: undefined, + x0___116877: undefined, + xn___116884: undefined, + y0___116901: undefined, + yn___116908: undefined, + x___116925: undefined, + y___116931: undefined, + index___116937: undefined, + tile___116944: undefined, + x___116980: undefined, + xLine___116986: undefined, + y___117012: undefined, + yLine___117018: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38504,7 +38504,7 @@ function tiles_TileMap_draw__P49779_mk(s) { -function tiles_TileMap_scale__P48299(s) { +function tiles_TileMap_scale__P103185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38520,13 +38520,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_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__P48288_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P103174_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -38539,12 +38539,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P48299.info = {"start":6190,"length":144,"line":224,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P103185.info = {"start":6190,"length":144,"line":224,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMap_scale__P48299_mk(s) { +function tiles_TileMap_scale__P103185_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P48299, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P103185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38556,7 +38556,7 @@ function tiles_TileMap_scale__P48299_mk(s) { -function tiles_TileMap_data__P49777(s) { +function tiles_TileMap_data__P104663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38571,18 +38571,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C48296_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C103182_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P49777.info = {"start":6344,"length":75,"line":231,"column":8,"endLine":233,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P49777.isGetter = true; +tiles_TileMap_data__P104663.info = {"start":6344,"length":75,"line":231,"column":8,"endLine":233,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P104663.isGetter = true; -function tiles_TileMap_data__P49777_mk(s) { +function tiles_TileMap_data__P104663_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P49777, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P104663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38591,7 +38591,7 @@ function tiles_TileMap_data__P49777_mk(s) { -function Sprite_toString__P48069(s) { +function Sprite_toString__P102955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38606,7 +38606,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -38624,7 +38624,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P48004_mk(s); + s.tmp_14 = Sprite_x__P102890_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 418; s.pc = 2; return s.tmp_14; case 2: @@ -38643,7 +38643,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P48006_mk(s); + s.tmp_17 = Sprite_y__P102892_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 419; s.pc = 4; return s.tmp_17; case 4: @@ -38662,7 +38662,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P48008_mk(s); + s.tmp_20 = Sprite_vx__P102894_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 420; s.pc = 6; return s.tmp_20; case 6: @@ -38681,7 +38681,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P48010_mk(s); + s.tmp_23 = Sprite_vy__P102896_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 421; s.pc = 8; return s.tmp_23; case 8: @@ -38702,12 +38702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P48069.info = {"start":33194,"length":93,"line":980,"column":4,"endLine":982,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P102955.info = {"start":33194,"length":93,"line":980,"column":4,"endLine":982,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P48069_mk(s) { +function Sprite_toString__P102955_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P48069, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P102955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38740,7 +38740,7 @@ function Sprite_toString__P48069_mk(s) { -function Sprite___update__P48057(s) { +function Sprite___update__P102943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38750,8 +38750,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___62231 = undefined; - s.tm___62236 = undefined; + s.bounce___117117 = undefined; + s.tm___117122 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38759,7 +38759,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -38781,7 +38781,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__P48067_mk(s); + s.tmp_0 = Sprite__destroyCore__P102953_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 354; s.pc = 33; return s.tmp_0; case 33: @@ -38799,7 +38799,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P48055_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P102941_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 355; s.pc = 34; return s.tmp_2; @@ -38810,7 +38810,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P48066_mk(s); + s.tmp_4 = Sprite_destroy__P102952_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -38822,13 +38822,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___62231 = (r0); - s.tmp_0 = game_currentScene__P48511_mk(s); + s.bounce___117117 = (r0); + s.tmp_0 = game_currentScene__P103397_mk(s); s.callLocIdx = 357; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___62236 = (r0); + s.tm___117122 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -38838,13 +38838,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___62231; + s.tmp_2 = r0 = s.bounce___117117; 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___62236); + r0 = pxsim_numops_toBoolDecr(s.tm___117122); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -38856,7 +38856,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P48041_mk(s); + s.tmp_8 = Sprite_left__P102927_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 358; s.pc = 37; return s.tmp_8; case 37: @@ -38868,18 +38868,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P48042_mk(s); + s.tmp_10 = Sprite_left__P102928_mk(s); s.tmp_10.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_10.arg1 = r0; s.callLocIdx = 361; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___62231); + r0 = pxsim_numops_toBoolDecr(s.bounce___117117); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P48009_mk(s); + s.tmp_0 = Sprite_vx__P102895_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P48008_mk(s); + s.tmp_2 = Sprite_vx__P102894_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 362; s.pc = 40; return s.tmp_2; case 40: @@ -38894,7 +38894,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P48043_mk(s); + s.tmp_2 = Sprite_right__P102929_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 364; s.pc = 41; return s.tmp_2; case 41: @@ -38902,7 +38902,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -38910,22 +38910,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P48044_mk(s); + s.tmp_6 = Sprite_right__P102930_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 367; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___62231); + r0 = pxsim_numops_toBoolDecr(s.bounce___117117); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P48009_mk(s); + s.tmp_0 = Sprite_vx__P102895_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P48008_mk(s); + s.tmp_2 = Sprite_vx__P102894_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 368; s.pc = 44; return s.tmp_2; case 44: @@ -38941,7 +38941,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P48045_mk(s); + s.tmp_2 = Sprite_top__P102931_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 370; s.pc = 45; return s.tmp_2; case 45: @@ -38953,18 +38953,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P48046_mk(s); + s.tmp_4 = Sprite_top__P102932_mk(s); s.tmp_4.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4.arg1 = r0; s.callLocIdx = 373; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___62231); + r0 = pxsim_numops_toBoolDecr(s.bounce___117117); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P48011_mk(s); + s.tmp_0 = Sprite_vy__P102897_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P48010_mk(s); + s.tmp_2 = Sprite_vy__P102896_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 374; s.pc = 48; return s.tmp_2; case 48: @@ -38979,7 +38979,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P48047_mk(s); + s.tmp_2 = Sprite_bottom__P102933_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 376; s.pc = 49; return s.tmp_2; case 49: @@ -38987,7 +38987,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -38995,22 +38995,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P48048_mk(s); + s.tmp_6 = Sprite_bottom__P102934_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 379; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___62231); + r0 = pxsim_numops_toBoolDecr(s.bounce___117117); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P48011_mk(s); + s.tmp_0 = Sprite_vy__P102897_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P48010_mk(s); + s.tmp_2 = Sprite_vy__P102896_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 380; s.pc = 52; return s.tmp_2; case 52: @@ -39053,12 +39053,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P48057.info = {"start":22253,"length":1390,"line":682,"column":4,"endLine":721,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P102943.info = {"start":22253,"length":1390,"line":682,"column":4,"endLine":721,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P48057_mk(s) { +function Sprite___update__P102943_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P48057, depth: s.depth + 1, + parent: s, fn: Sprite___update__P102943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39071,8 +39071,8 @@ function Sprite___update__P48057_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___62231: undefined, - tm___62236: undefined, + bounce___117117: undefined, + tm___117122: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39082,7 +39082,7 @@ function Sprite___update__P48057_mk(s) { -function Sprite_isOutOfScreen__P48055(s) { +function Sprite_isOutOfScreen__P102941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39092,15 +39092,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___62325 = undefined; - s.oy___62333 = undefined; + s.ox___117211 = undefined; + s.oy___117219 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -39114,7 +39114,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___62325 = (s.tmp_2); + s.ox___117211 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -39128,14 +39128,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___62333 = (s.tmp_2); - s.tmp_3 = Sprite_right__P48043_mk(s); + s.oy___117219 = (s.tmp_2); + s.tmp_3 = Sprite_right__P102929_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 323; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___62325); + r0 = (s.tmp_2 - s.ox___117211); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -39144,13 +39144,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P48047_mk(s); + s.tmp_6 = Sprite_bottom__P102933_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 324; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___62333); + r0 = (s.tmp_5 - s.oy___117219); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -39161,15 +39161,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P48041_mk(s); + s.tmp_10 = Sprite_left__P102927_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 325; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___62325); + r0 = (s.tmp_9 - s.ox___117211); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -39180,15 +39180,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P48045_mk(s); + s.tmp_15 = Sprite_top__P102931_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 326; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___62333); + r0 = (s.tmp_14 - s.oy___117219); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -39198,12 +39198,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P48055.info = {"start":20500,"length":358,"line":636,"column":4,"endLine":640,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P102941.info = {"start":20500,"length":358,"line":636,"column":4,"endLine":640,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P48055_mk(s) { +function Sprite_isOutOfScreen__P102941_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P48055, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P102941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39223,8 +39223,8 @@ function Sprite_isOutOfScreen__P48055_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___62325: undefined, - oy___62333: undefined, + ox___117211: undefined, + oy___117219: undefined, arg0: undefined, arg1: undefined, } } @@ -39233,7 +39233,7 @@ function Sprite_isOutOfScreen__P48055_mk(s) { -function Sprite_bottom__P48048(s) { +function Sprite_bottom__P102934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39249,8 +39249,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P48046_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P102932_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -39266,12 +39266,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P48048.info = {"start":10235,"length":73,"line":374,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P102934.info = {"start":10235,"length":73,"line":374,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P48048_mk(s) { +function Sprite_bottom__P102934_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P48048, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P102934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39285,7 +39285,7 @@ function Sprite_bottom__P48048_mk(s) { -function Sprite_right__P48044(s) { +function Sprite_right__P102930(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39301,8 +39301,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P48042_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P102928_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -39318,12 +39318,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P48044.info = {"start":9428,"length":71,"line":344,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P102930.info = {"start":9428,"length":71,"line":344,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P48044_mk(s) { +function Sprite_right__P102930_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P48044, depth: s.depth + 1, + parent: s, fn: Sprite_right__P102930, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39337,7 +39337,7 @@ function Sprite_right__P48044_mk(s) { -function Sprite_width__P48039(s) { +function Sprite_width__P102925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39352,20 +39352,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_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__P48039.info = {"start":8494,"length":52,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P48039.isGetter = true; +Sprite_width__P102925.info = {"start":8494,"length":52,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P102925.isGetter = true; -function Sprite_width__P48039_mk(s) { +function Sprite_width__P102925_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P48039, depth: s.depth + 1, + parent: s, fn: Sprite_width__P102925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39375,7 +39375,7 @@ function Sprite_width__P48039_mk(s) { -function Sprite_data__P48021(s) { +function Sprite_data__P102907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39391,18 +39391,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P48021.info = {"start":4292,"length":56,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P102907.info = {"start":4292,"length":56,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P48021_mk(s) { +function Sprite_data__P102907_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P48021, depth: s.depth + 1, + parent: s, fn: Sprite_data__P102907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39412,7 +39412,7 @@ function Sprite_data__P48021_mk(s) { -function Sprite_data__P48020(s) { +function Sprite_data__P102906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39427,7 +39427,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -39446,13 +39446,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P48020.info = {"start":4194,"length":92,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P48020.isGetter = true; +Sprite_data__P102906.info = {"start":4194,"length":92,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P102906.isGetter = true; -function Sprite_data__P48020_mk(s) { +function Sprite_data__P102906_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P48020, depth: s.depth + 1, + parent: s, fn: Sprite_data__P102906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39466,7 +39466,7 @@ function Sprite_data__P48020_mk(s) { -function scene_BackgroundLayer_constructor__P48261(s) { +function scene_BackgroundLayer_constructor__P103147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39484,9 +39484,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C48254_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C103140_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P46104_mk(s); + s.tmp_2 = Math_max__P100990_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 716; s.pc = 7; return s.tmp_2; @@ -39532,12 +39532,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P48261.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__P103147.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__P48261_mk(s) { +function scene_BackgroundLayer_constructor__P103147_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P48261, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P103147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39552,7 +39552,7 @@ function scene_BackgroundLayer_constructor__P48261_mk(s) { -function scene_Camera_y__P48349(s) { +function scene_Camera_y__P103235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39567,10 +39567,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C48339_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C103225_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___47781); + r0 = pxsim_ImageMethods.height(globals.screen___102667); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -39578,13 +39578,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P48349.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__P48349.isGetter = true; +scene_Camera_y__P103235.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__P103235.isGetter = true; -function scene_Camera_y__P48349_mk(s) { +function scene_Camera_y__P103235_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P48349, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P103235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39596,7 +39596,7 @@ function scene_Camera_y__P48349_mk(s) { -function scene_Camera_x__P48348(s) { +function scene_Camera_x__P103234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39611,10 +39611,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C48339_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C103225_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___47781); + r0 = pxsim_ImageMethods.width(globals.screen___102667); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -39622,13 +39622,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P48348.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__P48348.isGetter = true; +scene_Camera_x__P103234.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__P103234.isGetter = true; -function scene_Camera_x__P48348_mk(s) { +function scene_Camera_x__P103234_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P48348, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P103234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39640,7 +39640,7 @@ function scene_Camera_x__P48348_mk(s) { -function particles_ParticleSource___draw__P48663(s) { +function particles_ParticleSource___draw__P103549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39650,18 +39650,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___62547 = undefined; - s.left___62550 = undefined; - s.top___62560 = undefined; + s.current___117433 = undefined; + s.left___117436 = undefined; + s.top___117446 = 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__C48657_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___62547 = (r0); + s.current___117433 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -39679,7 +39679,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___62550 = (s.tmp_4); + s.left___117436 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -39697,49 +39697,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___62560 = (s.tmp_4); + s.top___117446 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___62547); + r0 = pxsim_numops_toBoolDecr(s.current___117433); if (!r0) { step = 8; continue; } - r0 = s.current___62547.fields["lifespan"]; + r0 = s.current___117433.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__P50189_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P105075_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___62547; - s.tmp_2.arg2 = s.left___62550; - s.tmp_2.arg3 = s.top___62560; + s.tmp_2.arg1 = s.current___117433; + s.tmp_2.arg2 = s.left___117436; + s.tmp_2.arg3 = s.top___117446; s.callLocIdx = 1118; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___62547.fields["next"]; - s.current___62547 = (r0); + r0 = s.current___117433.fields["next"]; + s.current___117433 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P48663.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__P103549.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__P48663_mk(s) { +function particles_ParticleSource___draw__P103549_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P48663, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P103549, 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___62547: undefined, - left___62550: undefined, - top___62560: undefined, + current___117433: undefined, + left___117436: undefined, + top___117446: undefined, arg0: undefined, arg1: undefined, } } @@ -39748,7 +39748,7 @@ function particles_ParticleSource___draw__P48663_mk(s) { -function particles_ParticleSource_drawParticle__P50189(s) { +function particles_ParticleSource_drawParticle__P105075(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39766,8 +39766,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C48657_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C48693_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C103543_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C103579_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -39779,7 +39779,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__C48693_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C103579_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: @@ -39788,12 +39788,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P50189.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__P105075.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__P50189_mk(s) { +function particles_ParticleSource_drawParticle__P105075_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P50189, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P105075, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39808,7 +39808,7 @@ function particles_ParticleSource_drawParticle__P50189_mk(s) { -function particles_ParticleFactory_drawParticle__P48696(s) { +function particles_ParticleFactory_drawParticle__P103582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39826,8 +39826,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C48693_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___47781; + if (!checkSubtype(r0, particles_ParticleFactory__C103579_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___102667; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -39841,12 +39841,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P48696.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__P103582.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__P48696_mk(s) { +function particles_ParticleFactory_drawParticle__P103582_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P48696, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P103582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39863,7 +39863,7 @@ function particles_ParticleFactory_drawParticle__P48696_mk(s) { -function sprites_BaseSprite___update__P47845(s) { +function sprites_BaseSprite___update__P102731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39880,17 +39880,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C47837_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C102723_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P47845.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__P102731.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__P47845_mk(s) { +function sprites_BaseSprite___update__P102731_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P47845, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P102731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39901,7 +39901,7 @@ function sprites_BaseSprite___update__P47845_mk(s) { -function sprites_BaseSprite___draw__P47843(s) { +function sprites_BaseSprite___draw__P102729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39917,10 +39917,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C47837_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C47837_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C102723_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C102723_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C47837_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C102723_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: @@ -39928,10 +39928,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C47837_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C102723_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C47837_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C102723_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: @@ -39942,12 +39942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P47843.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__P102729.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__P47843_mk(s) { +function sprites_BaseSprite___draw__P102729_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P47843, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P102729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39960,7 +39960,7 @@ function sprites_BaseSprite___draw__P47843_mk(s) { -function sprites_BaseSprite___drawCore__P47844(s) { +function sprites_BaseSprite___drawCore__P102730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39976,17 +39976,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C47837_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C102723_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P47844.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__P102730.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__P47844_mk(s) { +function sprites_BaseSprite___drawCore__P102730_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P47844, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P102730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39996,7 +39996,7 @@ function sprites_BaseSprite___drawCore__P47844_mk(s) { -function sprites_BaseSprite___visible__P47840(s) { +function sprites_BaseSprite___visible__P102726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40011,17 +40011,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C47837_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C102723_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P47840.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__P102726.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__P47840_mk(s) { +function sprites_BaseSprite___visible__P102726_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P47840, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P102726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40030,7 +40030,7 @@ function sprites_BaseSprite___visible__P47840_mk(s) { -function particles_ShapeFactory_createParticle__P48723(s) { +function particles_ShapeFactory_createParticle__P103609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40040,23 +40040,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___62448 = undefined; + s.p___117334 = 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__C48719_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P48709_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C103605_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P103595_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1212; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___62448 = (r0); - s.tmp_0 = r0 = s.p___62448; - s.tmp_2 = Math_FastRandom_randomRange__P48569_mk(s); + s.p___117334 = (r0); + s.tmp_0 = r0 = s.p___117334; + s.tmp_2 = Math_FastRandom_randomRange__P103455_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -40066,21 +40066,21 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___62448; + r0 = s.p___117334; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P48723.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__P103609.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__P48723_mk(s) { +function particles_ShapeFactory_createParticle__P103609_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P48723, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P103609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___62448: undefined, + p___117334: undefined, arg0: undefined, arg1: undefined, } } @@ -40089,7 +40089,7 @@ function particles_ShapeFactory_createParticle__P48723_mk(s) { -function particles_AreaFactory_createParticle__P48709(s) { +function particles_AreaFactory_createParticle__P103595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40099,23 +40099,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___62460 = undefined; + s.p___117346 = 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__C48703_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P48699_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C103589_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P103585_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1194; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___62460 = (r0); - s.tmp_0 = r0 = s.p___62460; - s.tmp_2 = Math_FastRandom_randomRange__P48569_mk(s); + s.p___117346 = (r0); + s.tmp_0 = r0 = s.p___117346; + s.tmp_2 = Math_FastRandom_randomRange__P103455_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -40127,8 +40127,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___62460; - s.tmp_4 = Math_FastRandom_randomRange__P48569_mk(s); + s.tmp_0 = r0 = s.p___117346; + s.tmp_4 = Math_FastRandom_randomRange__P103455_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -40144,7 +40144,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___62460.fields["_x"]; + r0 = s.p___117346.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -40186,8 +40186,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___62460; - s.tmp_9 = Math_FastRandom_randomRange__P48569_mk(s); + s.tmp_5 = r0 = s.p___117346; + s.tmp_9 = Math_FastRandom_randomRange__P103455_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -40199,23 +40199,23 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___62460.fields["_y"]; + r0 = s.p___117346.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___62460; + r0 = s.p___117346; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P48709.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__P103595.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__P48709_mk(s) { +function particles_AreaFactory_createParticle__P103595_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P48709, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P103595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40229,7 +40229,7 @@ function particles_AreaFactory_createParticle__P48709_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___62460: undefined, + p___117346: undefined, arg0: undefined, arg1: undefined, } } @@ -40238,7 +40238,7 @@ function particles_AreaFactory_createParticle__P48709_mk(s) { -function particles_SprayFactory_createParticle__P48699(s) { +function particles_SprayFactory_createParticle__P103585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40248,26 +40248,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___62508 = undefined; - s.angle___62512 = undefined; + s.p___117394 = undefined; + s.angle___117398 = 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__C48697_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P48695_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C103583_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P103581_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1183; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___62508 = (r0); + s.p___117394 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P48569_mk(s); - s.tmp_3.arg0 = globals.galois___50203; + s.tmp_3 = Math_FastRandom_randomRange__P103455_mk(s); + s.tmp_3.arg0 = globals.galois___105089; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -40278,9 +40278,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___62512 = (r0); - s.tmp_0 = r0 = s.p___62508; - r0 = pxsim_Array__getAt(globals.cachedSin___50198, s.angle___62512); + s.angle___117398 = (r0); + s.tmp_0 = r0 = s.p___117394; + r0 = pxsim_Array__getAt(globals.cachedSin___105084, s.angle___117398); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -40289,8 +40289,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___62508; - r0 = pxsim_Array__getAt(globals.cachedCos___50199, s.angle___62512); + s.tmp_0 = r0 = s.p___117394; + r0 = pxsim_Array__getAt(globals.cachedCos___105085, s.angle___117398); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -40299,24 +40299,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___62508; + r0 = s.p___117394; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P48699.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__P103585.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__P48699_mk(s) { +function particles_SprayFactory_createParticle__P103585_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P48699, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P103585, 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___62508: undefined, - angle___62512: undefined, + p___117394: undefined, + angle___117398: undefined, arg0: undefined, arg1: undefined, } } @@ -40325,7 +40325,7 @@ function particles_SprayFactory_createParticle__P48699_mk(s) { -function scene_Scene_data__P48421(s) { +function scene_Scene_data__P103307(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40340,18 +40340,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C48398_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C103284_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P48421.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__P48421.isGetter = true; +scene_Scene_data__P103307.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__P103307.isGetter = true; -function scene_Scene_data__P48421_mk(s) { +function scene_Scene_data__P103307_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P48421, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P103307, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40360,7 +40360,7 @@ function scene_Scene_data__P48421_mk(s) { -function game_SplashDialog_drawTextCore__P48494(s) { +function game_SplashDialog_drawTextCore__P103380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40370,17 +40370,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scrollMax___62621 = undefined; - s.left___62664 = undefined; - s.ysub___62709 = undefined; - s.left___62720 = undefined; + s.scrollMax___117507 = undefined; + s.left___117550 = undefined; + s.ysub___117595 = undefined; + s.left___117606 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C48484_VT)) failedCast(r0); - s.tmp_0 = Math_max__P46104_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C103370_VT)) failedCast(r0); + s.tmp_0 = Math_max__P100990_mk(s); r0 = s.arg0.fields["maxOffset"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; @@ -40388,7 +40388,7 @@ switch (step) { s.callLocIdx = 884; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.scrollMax___62621 = (r0); + s.scrollMax___117507 = (r0); r0 = s.arg0.fields["timer"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -40398,7 +40398,7 @@ switch (step) { s.tmp_2 = r0 = s.arg0; r0 = s.tmp_2.fields["timer"]; s.tmp_4 = r0; - s.tmp_7 = game_eventContext__P48514_mk(s); + s.tmp_7 = game_eventContext__P103400_mk(s); s.callLocIdx = 885; s.pc = 16; return s.tmp_7; case 16: r0 = s.retval; @@ -40438,11 +40438,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___62621); + r0 = (s.tmp_1 >= s.scrollMax___117507); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.arg0).fields["offset"] = (s.scrollMax___62621); + r0 = (s.arg0).fields["offset"] = (s.scrollMax___117507); r0 = (s.arg0).fields["timer"] = (2); case 6: case 7: @@ -40482,13 +40482,13 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___62664 = (r0); - s.tmp_0 = helpers_imagePrint__P47739_mk(s); + s.left___117550 = (r0); + s.tmp_0 = helpers_imagePrint__P102625_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___62664; + s.tmp_0.arg2 = s.left___117550; s.tmp_0.arg3 = 10; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; @@ -40500,7 +40500,7 @@ switch (step) { r0 = s.retval; { step = 10; continue; } case 9: - s.tmp_0 = helpers_imagePrint__P47739_mk(s); + s.tmp_0 = helpers_imagePrint__P102625_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; @@ -40542,7 +40542,7 @@ switch (step) { r0 = (10 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 + 2); - s.ysub___62709 = (r0); + s.ysub___117595 = (r0); r0 = s.arg0.fields["maxSubOffset"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); @@ -40578,14 +40578,14 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___62720 = (r0); - s.tmp_0 = helpers_imagePrint__P47739_mk(s); + s.left___117606 = (r0); + s.tmp_0 = helpers_imagePrint__P102625_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___62720; - s.tmp_0.arg3 = s.ysub___62709; + s.tmp_0.arg2 = s.left___117606; + s.tmp_0.arg3 = s.ysub___117595; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; @@ -40596,14 +40596,14 @@ switch (step) { r0 = s.retval; { step = 12; continue; } case 11: - s.tmp_0 = helpers_imagePrint__P47739_mk(s); + s.tmp_0 = helpers_imagePrint__P102625_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__P46105_mk(s); + s.tmp_3 = Math_min__P100991_mk(s); r0 = s.arg0.fields["offset"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; @@ -40614,7 +40614,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___62709; + s.tmp_0.arg3 = s.ysub___117595; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; @@ -40626,7 +40626,7 @@ switch (step) { case 12: case 13: case 14: - s.tmp_0 = game_BaseDialog_drawBorder__P49806_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P104692_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 895; s.pc = 25; return s.tmp_0; case 25: @@ -40635,12 +40635,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_drawTextCore__P48494.info = {"start":9207,"length":1616,"line":290,"column":8,"endLine":328,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_SplashDialog_drawTextCore__P103380.info = {"start":9207,"length":1616,"line":290,"column":8,"endLine":328,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_SplashDialog_drawTextCore__P48494_mk(s) { +function game_SplashDialog_drawTextCore__P103380_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_drawTextCore__P48494, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_drawTextCore__P103380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40653,10 +40653,10 @@ function game_SplashDialog_drawTextCore__P48494_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scrollMax___62621: undefined, - left___62664: undefined, - ysub___62709: undefined, - left___62720: undefined, + scrollMax___117507: undefined, + left___117550: undefined, + ysub___117595: undefined, + left___117606: undefined, arg0: undefined, } } @@ -40664,7 +40664,7 @@ function game_SplashDialog_drawTextCore__P48494_mk(s) { -function game_BaseDialog_setText__P48470(s) { +function game_BaseDialog_setText__P103356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40680,17 +40680,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C48456_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C103342_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setText__P48470.info = {"start":1670,"length":77,"line":66,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} +game_BaseDialog_setText__P103356.info = {"start":1670,"length":77,"line":66,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} -function game_BaseDialog_setText__P48470_mk(s) { +function game_BaseDialog_setText__P103356_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setText__P48470, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setText__P103356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -40700,7 +40700,7 @@ function game_BaseDialog_setText__P48470_mk(s) { -function controller_AnyButton_isPressed__P49674(s) { +function controller_AnyButton_isPressed__P104560(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40710,36 +40710,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___62770 = undefined; - s.b___62774 = undefined; - s.unnamed216___U2 = undefined; - s.unnamed217___U3 = undefined; + s.ctrl___117656 = undefined; + s.b___117660 = undefined; + s.unnamed456___U2 = undefined; + s.unnamed457___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C49672_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P47896_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C104558_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P102782_mk(s); s.callLocIdx = 184; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___62770 = (r0); - s.b___62774 = (undefined); - r0 = s.ctrl___62770.fields["buttons"]; - s.unnamed216___U2 = (r0); - s.unnamed217___U3 = (0); + s.ctrl___117656 = (r0); + s.b___117660 = (undefined); + r0 = s.ctrl___117656.fields["buttons"]; + s.unnamed456___U2 = (r0); + s.unnamed457___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed217___U3; - r0 = pxsim_Array__length(s.unnamed216___U2); + s.tmp_0 = r0 = s.unnamed457___U3; + r0 = pxsim_Array__length(s.unnamed456___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed216___U2, s.unnamed217___U3); - s.b___62774 = (r0); - s.tmp_3 = controller_Button__C47882_v0_1_mk(s); - s.tmp_3.arg0 = s.b___62774; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C47882_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed456___U2, s.unnamed457___U3); + s.b___117660 = (r0); + s.tmp_3 = controller_Button__C102768_v0_1_mk(s); + s.tmp_3.arg0 = s.b___117660; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C102768_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: @@ -40751,31 +40751,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed217___U3 + 1); - s.unnamed217___U3 = (r0); + r0 = (s.unnamed457___U3 + 1); + s.unnamed457___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed216___U2 = (undefined); + s.unnamed456___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P49674.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__P104560.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__P49674_mk(s) { +function controller_AnyButton_isPressed__P104560_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P49674, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P104560, 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___62770: undefined, - b___62774: undefined, - unnamed216___U2: undefined, - unnamed217___U3: undefined, + ctrl___117656: undefined, + b___117660: undefined, + unnamed456___U2: undefined, + unnamed457___U3: undefined, arg0: undefined, } } @@ -40783,7 +40783,7 @@ function controller_AnyButton_isPressed__P49674_mk(s) { -function controller_Button_toString__P47887(s) { +function controller_Button_toString__P102773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40798,7 +40798,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C47882_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C102768_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -40838,12 +40838,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P47887.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__P102773.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__P47887_mk(s) { +function controller_Button_toString__P102773_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P47887, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P102773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40859,7 +40859,7 @@ function controller_Button_toString__P47887_mk(s) { -function sprites_StaticObstacle_width__P48135(s) { +function sprites_StaticObstacle_width__P103021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40874,20 +40874,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C48125_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C103011_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__P48135.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__P48135.isGetter = true; +sprites_StaticObstacle_width__P103021.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__P103021.isGetter = true; -function sprites_StaticObstacle_width__P48135_mk(s) { +function sprites_StaticObstacle_width__P103021_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P48135, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P103021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40897,7 +40897,7 @@ function sprites_StaticObstacle_width__P48135_mk(s) { -function sprites_StaticObstacle_height__P48134(s) { +function sprites_StaticObstacle_height__P103020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40912,20 +40912,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C48125_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C103011_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__P48134.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__P48134.isGetter = true; +sprites_StaticObstacle_height__P103020.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__P103020.isGetter = true; -function sprites_StaticObstacle_height__P48134_mk(s) { +function sprites_StaticObstacle_height__P103020_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P48134, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P103020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40935,7 +40935,7 @@ function sprites_StaticObstacle_height__P48134_mk(s) { -function sprites_StaticObstacle_y__P48133(s) { +function sprites_StaticObstacle_y__P103019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40950,7 +40950,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C48125_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C103011_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -40963,13 +40963,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P48133.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__P48133.isGetter = true; +sprites_StaticObstacle_y__P103019.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__P103019.isGetter = true; -function sprites_StaticObstacle_y__P48133_mk(s) { +function sprites_StaticObstacle_y__P103019_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P48133, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P103019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40982,7 +40982,7 @@ function sprites_StaticObstacle_y__P48133_mk(s) { -function sprites_StaticObstacle_x__P48132(s) { +function sprites_StaticObstacle_x__P103018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40997,7 +40997,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C48125_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C103011_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -41010,13 +41010,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P48132.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__P48132.isGetter = true; +sprites_StaticObstacle_x__P103018.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__P103018.isGetter = true; -function sprites_StaticObstacle_x__P48132_mk(s) { +function sprites_StaticObstacle_x__P103018_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P48132, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P103018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41029,7 +41029,7 @@ function sprites_StaticObstacle_x__P48132_mk(s) { -function tiles_Location_y__P48273(s) { +function tiles_Location_y__P103159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41039,22 +41039,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___62814 = undefined; + s.scale___117700 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C48268_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C103154_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___62814 = (r0); + s.scale___117700 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___62814); + r0 = (s.tmp_1 << s.scale___117700); s.tmp_0 = r0; - r0 = (s.scale___62814 - 1); + r0 = (s.scale___117700 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -41062,19 +41062,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P48273.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__P48273.isGetter = true; +tiles_Location_y__P103159.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__P103159.isGetter = true; -function tiles_Location_y__P48273_mk(s) { +function tiles_Location_y__P103159_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P48273, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P103159, 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___62814: undefined, + scale___117700: undefined, arg0: undefined, } } @@ -41082,7 +41082,7 @@ function tiles_Location_y__P48273_mk(s) { -function tiles_Location_x__P48272(s) { +function tiles_Location_x__P103158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41092,22 +41092,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___62831 = undefined; + s.scale___117717 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C48268_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C103154_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___62831 = (r0); + s.scale___117717 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___62831); + r0 = (s.tmp_1 << s.scale___117717); s.tmp_0 = r0; - r0 = (s.scale___62831 - 1); + r0 = (s.scale___117717 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -41115,19 +41115,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P48272.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__P48272.isGetter = true; +tiles_Location_x__P103158.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__P103158.isGetter = true; -function tiles_Location_x__P48272_mk(s) { +function tiles_Location_x__P103158_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P48272, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P103158, 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___62831: undefined, + scale___117717: undefined, arg0: undefined, } } @@ -41135,7 +41135,7 @@ function tiles_Location_x__P48272_mk(s) { -function scene_Renderable___drawCore__P48360(s) { +function scene_Renderable___drawCore__P103246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41151,10 +41151,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C48357_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C103243_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___47781; + s.tmp_0.arg1 = globals.screen___102667; 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); @@ -41171,12 +41171,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P48360.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__P103246.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__P48360_mk(s) { +function scene_Renderable___drawCore__P103246_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P48360, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P103246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41187,7 +41187,7 @@ function scene_Renderable___drawCore__P48360_mk(s) { -function scene_Renderable___visible__P48359(s) { +function scene_Renderable___visible__P103245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41202,7 +41202,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C48357_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C103243_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -41219,12 +41219,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P48359.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__P103245.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__P48359_mk(s) { +function scene_Renderable___visible__P103245_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P48359, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P103245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41234,7 +41234,7 @@ function scene_Renderable___visible__P48359_mk(s) { -function Sprite___drawCore__P48056(s) { +function Sprite___drawCore__P102942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41244,21 +41244,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___62858 = undefined; - s.oy___62866 = undefined; - s.l___62874 = undefined; - s.t___62878 = undefined; - s.font___62893 = undefined; - s.tx___62897 = undefined; - s.ty___62899 = undefined; + s.ox___117744 = undefined; + s.oy___117752 = undefined; + s.l___117760 = undefined; + s.t___117764 = undefined; + s.font___117779 = undefined; + s.tx___117783 = undefined; + s.ty___117785 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); - s.tmp_1 = Sprite_isOutOfScreen__P48055_mk(s); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); + s.tmp_1 = Sprite_isOutOfScreen__P102941_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 327; s.pc = 20; return s.tmp_1; @@ -41283,7 +41283,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___62858 = (s.tmp_4); + s.ox___117744 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -41297,35 +41297,35 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___62866 = (s.tmp_2); - s.tmp_1 = Sprite_left__P48041_mk(s); + s.oy___117752 = (s.tmp_2); + s.tmp_1 = Sprite_left__P102927_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 328; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.ox___62858); - s.l___62874 = (r0); - s.tmp_1 = Sprite_top__P48045_mk(s); + r0 = (s.tmp_0 - s.ox___117744); + s.l___117760 = (r0); + s.tmp_1 = Sprite_top__P102931_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 329; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.oy___62866); - s.t___62878 = (r0); + r0 = (s.tmp_0 - s.oy___117752); + s.t___117764 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___47781, s.tmp_0, s.l___62874, s.t___62878); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___102667, s.tmp_0, s.l___117760, s.t___117764); 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___62893 = (globals.font5___47729); - s.tx___62897 = (s.l___62874); - s.tmp_1 = r0 = s.t___62878; + s.font___117779 = (globals.font5___102615); + s.tx___117783 = (s.l___117760); + s.tmp_1 = r0 = s.t___117764; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -41333,12 +41333,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___62899 = (r0); - s.tmp_0 = helpers_imagePrint__P47739_mk(s); - s.tmp_0.arg0 = globals.screen___47781; + s.ty___117785 = (r0); + s.tmp_0 = helpers_imagePrint__P102625_mk(s); + s.tmp_0.arg0 = globals.screen___102667; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P48004_mk(s); + s.tmp_7 = Sprite_x__P102890_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 331; s.pc = 24; return s.tmp_7; case 24: @@ -41359,7 +41359,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P48006_mk(s); + s.tmp_11 = Sprite_y__P102892_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 332; s.pc = 26; return s.tmp_11; case 26: @@ -41378,17 +41378,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___62897; - s.tmp_0.arg3 = s.ty___62899; + s.tmp_0.arg2 = s.tx___117783; + s.tmp_0.arg3 = s.ty___117785; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___62893; + s.tmp_0.arg5 = s.font___117779; s.tmp_0.arg6 = undefined; s.callLocIdx = 333; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = r0 = s.tx___62897; + s.tmp_0 = r0 = s.tx___117783; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___62893; + s.tmp_2.arg0 = s.font___117779; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -41401,8 +41401,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___62897 = (r0); - s.tmp_1 = Sprite_vx__P48008_mk(s); + s.tx___117783 = (r0); + s.tmp_1 = Sprite_vx__P102894_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 335; s.pc = 29; return s.tmp_1; case 29: @@ -41413,7 +41413,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_2 = Sprite_vy__P48010_mk(s); + s.tmp_2 = Sprite_vy__P102896_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 336; s.pc = 30; return s.tmp_2; case 30: @@ -41423,9 +41423,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___62899; + s.tmp_4 = r0 = s.ty___117785; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___62893; + s.tmp_7.arg0 = s.font___117779; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -41440,10 +41440,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___62899 = (r0); - s.tmp_0 = helpers_imagePrint__P47739_mk(s); - s.tmp_0.arg0 = globals.screen___47781; - s.tmp_6 = Sprite_vx__P48008_mk(s); + s.ty___117785 = (r0); + s.tmp_0 = helpers_imagePrint__P102625_mk(s); + s.tmp_0.arg0 = globals.screen___102667; + s.tmp_6 = Sprite_vx__P102894_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 338; s.pc = 33; return s.tmp_6; case 33: @@ -41464,7 +41464,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P48010_mk(s); + s.tmp_10 = Sprite_vy__P102896_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 339; s.pc = 35; return s.tmp_10; case 35: @@ -41483,17 +41483,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___62897; - s.tmp_0.arg3 = s.ty___62899; + s.tmp_0.arg2 = s.tx___117783; + s.tmp_0.arg3 = s.ty___117785; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___62893; + s.tmp_0.arg5 = s.font___117779; s.tmp_0.arg6 = undefined; s.callLocIdx = 340; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 9: case 10: - s.tmp_1 = Sprite_ax__P48012_mk(s); + s.tmp_1 = Sprite_ax__P102898_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 341; s.pc = 37; return s.tmp_1; case 37: @@ -41504,7 +41504,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_2 = Sprite_ay__P48014_mk(s); + s.tmp_2 = Sprite_ay__P102900_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 342; s.pc = 38; return s.tmp_2; case 38: @@ -41514,9 +41514,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___62899; + s.tmp_4 = r0 = s.ty___117785; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___62893; + s.tmp_7.arg0 = s.font___117779; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -41531,10 +41531,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___62899 = (r0); - s.tmp_0 = helpers_imagePrint__P47739_mk(s); - s.tmp_0.arg0 = globals.screen___47781; - s.tmp_6 = Sprite_ax__P48012_mk(s); + s.ty___117785 = (r0); + s.tmp_0 = helpers_imagePrint__P102625_mk(s); + s.tmp_0.arg0 = globals.screen___102667; + s.tmp_6 = Sprite_ax__P102898_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 344; s.pc = 41; return s.tmp_6; case 41: @@ -41555,7 +41555,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P48014_mk(s); + s.tmp_10 = Sprite_ay__P102900_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 345; s.pc = 43; return s.tmp_10; case 43: @@ -41574,10 +41574,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___62897; - s.tmp_0.arg3 = s.ty___62899; + s.tmp_0.arg2 = s.tx___117783; + s.tmp_0.arg3 = s.ty___117785; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___62893; + s.tmp_0.arg5 = s.font___117779; s.tmp_0.arg6 = undefined; s.callLocIdx = 346; s.pc = 40; return s.tmp_0; case 40: @@ -41586,11 +41586,11 @@ switch (step) { case 14: case 15: case 16: - r0 = pxsim_numops_toBoolDecr(globals.debug___48507); + r0 = pxsim_numops_toBoolDecr(globals.debug___103393); if (!r0) { step = 17; continue; } - s.tmp_0 = helpers_imageDrawRect__P47710_mk(s); - s.tmp_0.arg0 = globals.screen___47781; - s.tmp_3 = game_Hitbox_left__P47945_mk(s); + s.tmp_0 = helpers_imageDrawRect__P102596_mk(s); + s.tmp_0.arg0 = globals.screen___102667; + s.tmp_3 = game_Hitbox_left__P102831_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 347; s.pc = 46; return s.tmp_3; @@ -41601,9 +41601,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___62858); + r0 = (s.tmp_1 - s.ox___117744); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P47946_mk(s); + s.tmp_7 = game_Hitbox_top__P102832_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 349; s.pc = 47; return s.tmp_7; @@ -41614,7 +41614,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___62866); + r0 = (s.tmp_5 - s.oy___117752); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -41641,12 +41641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P48056.info = {"start":20864,"length":1383,"line":642,"column":4,"endLine":680,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P102942.info = {"start":20864,"length":1383,"line":642,"column":4,"endLine":680,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P48056_mk(s) { +function Sprite___drawCore__P102942_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P48056, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P102942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41661,13 +41661,13 @@ function Sprite___drawCore__P48056_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___62858: undefined, - oy___62866: undefined, - l___62874: undefined, - t___62878: undefined, - font___62893: undefined, - tx___62897: undefined, - ty___62899: undefined, + ox___117744: undefined, + oy___117752: undefined, + l___117760: undefined, + t___117764: undefined, + font___117779: undefined, + tx___117783: undefined, + ty___117785: undefined, arg0: undefined, arg1: undefined, } } @@ -41676,7 +41676,7 @@ function Sprite___drawCore__P48056_mk(s) { -function Sprite___visible__P48038(s) { +function Sprite___visible__P102924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41691,7 +41691,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C47995_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C102881_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -41702,12 +41702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P48038.info = {"start":8329,"length":72,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P102924.info = {"start":8329,"length":72,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P48038_mk(s) { +function Sprite___visible__P102924_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P48038, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P102924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41719,7 +41719,7 @@ function Sprite___visible__P48038_mk(s) { -function scene_Camera_top__P48352(s) { +function scene_Camera_top__P103238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41734,18 +41734,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C48339_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C103225_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P48352.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__P48352.isGetter = true; +scene_Camera_top__P103238.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__P103238.isGetter = true; -function scene_Camera_top__P48352_mk(s) { +function scene_Camera_top__P103238_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P48352, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P103238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -41754,7 +41754,7 @@ function scene_Camera_top__P48352_mk(s) { -function scene_Camera_left__P48350(s) { +function scene_Camera_left__P103236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41769,18 +41769,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C48339_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C103225_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P48350.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__P48350.isGetter = true; +scene_Camera_left__P103236.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__P103236.isGetter = true; -function scene_Camera_left__P48350_mk(s) { +function scene_Camera_left__P103236_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P48350, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P103236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -41789,7 +41789,7 @@ function scene_Camera_left__P48350_mk(s) { -function particles_ShapeFactory_drawParticle__P48722(s) { +function particles_ShapeFactory_drawParticle__P103608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41799,7 +41799,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___63023 = undefined; + s.pImage___117909 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41808,8 +41808,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C48719_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P48570_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C103605_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P103456_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -41819,12 +41819,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___63023 = (r0); + s.pImage___117909 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___63023, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___47781; - s.tmp_1 = r0 = s.pImage___63023; + r0 = pxsim_ImageMethods.replace(s.pImage___117909, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___102667; + s.tmp_1 = r0 = s.pImage___117909; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -41846,12 +41846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P48722.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__P103608.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__P48722_mk(s) { +function particles_ShapeFactory_drawParticle__P103608_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P48722, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P103608, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41863,7 +41863,7 @@ function particles_ShapeFactory_drawParticle__P48722_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___63023: undefined, + pImage___117909: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41874,7 +41874,7 @@ function particles_ShapeFactory_drawParticle__P48722_mk(s) { -function Math_FastRandom_pickRandom__P48570(s) { +function Math_FastRandom_pickRandom__P103456(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41890,7 +41890,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C48565_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C103451_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -41913,7 +41913,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P48569_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P103455_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -41929,12 +41929,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P48570.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__P103456.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__P48570_mk(s) { +function Math_FastRandom_pickRandom__P103456_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P48570, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P103456, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41952,7 +41952,7 @@ function Math_FastRandom_pickRandom__P48570_mk(s) { -function particles_AreaFactory_drawParticle__P48710(s) { +function particles_AreaFactory_drawParticle__P103596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41962,7 +41962,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___63069 = undefined; + s.col___117955 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41971,7 +41971,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C48703_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C103589_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -41998,8 +41998,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___63069 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___47781; + s.col___117955 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___102667; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -42008,17 +42008,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___63069); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___117955); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P48710.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__P103596.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__P48710_mk(s) { +function particles_AreaFactory_drawParticle__P103596_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P48710, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P103596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42026,7 +42026,7 @@ function particles_AreaFactory_drawParticle__P48710_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___63069: undefined, + col___117955: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -42037,7 +42037,7 @@ function particles_AreaFactory_drawParticle__P48710_mk(s) { -function particles_SprayFactory_drawParticle__P48700(s) { +function particles_SprayFactory_drawParticle__P103586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42055,8 +42055,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C48697_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___47781; + if (!checkSubtype(r0, particles_SprayFactory__C103583_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___102667; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -42070,12 +42070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P48700.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__P103586.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__P48700_mk(s) { +function particles_SprayFactory_drawParticle__P103586_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P48700, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P103586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42091,7 +42091,7 @@ function particles_SprayFactory_drawParticle__P48700_mk(s) { -function game_SplashDialog__C48484_v1_2_mk(s) { +function game_SplashDialog__C103370_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42106,7 +42106,7 @@ function game_SplashDialog__C48484_v1_2_mk(s) { } } -function game_BaseDialog__C48456_v0_1_mk(s) { +function game_BaseDialog__C103342_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42120,7 +42120,7 @@ function game_BaseDialog__C48456_v0_1_mk(s) { } } -function controller_Button__C47882_v0_1_mk(s) { +function controller_Button__C102768_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42164,7 +42164,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C48693_v0_2_mk(s) { +function particles_ParticleFactory__C103579_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42179,7 +42179,7 @@ function particles_ParticleFactory__C48693_v0_2_mk(s) { } } -function particles_ParticleSource__C48657_v4_3_mk(s) { +function particles_ParticleSource__C103543_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42252,7 +42252,7 @@ function if_id_2_mk(s) { } } -function PhysicsEngine__C48138_v4_2_mk(s) { +function PhysicsEngine__C103024_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42298,7 +42298,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C48138_v3_1_mk(s) { +function PhysicsEngine__C103024_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42495,7 +42495,7 @@ function if_handler_1_mk(s) { } } -function game_BaseDialog__C48456_v2_1_mk(s) { +function game_BaseDialog__C103342_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42509,7 +42509,7 @@ function game_BaseDialog__C48456_v2_1_mk(s) { } } -function PhysicsEngine__C48138_v0_2_mk(s) { +function PhysicsEngine__C103024_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42634,7 +42634,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C48138_v1_2_mk(s) { +function PhysicsEngine__C103024_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42817,7 +42817,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C48138_v2_4_mk(s) { +function PhysicsEngine__C103024_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42965,7 +42965,7 @@ function if_updateSay_3_mk(s) { } } -function particles_ParticleFactory__C48693_v1_4_mk(s) { +function particles_ParticleFactory__C103579_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42982,7 +42982,7 @@ function particles_ParticleFactory__C48693_v1_4_mk(s) { } } -function sprites_BaseSprite__C47837_v0_1_mk(s) { +function sprites_BaseSprite__C102723_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42996,7 +42996,7 @@ function sprites_BaseSprite__C47837_v0_1_mk(s) { } } -function sprites_BaseSprite__C47837_v2_2_mk(s) { +function sprites_BaseSprite__C102723_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -43124,14 +43124,14 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Button__C47882_VT = mkVTable({ +const controller_Button__C102768_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P47891, + "isPressed": controller_Button_isPressed__P102777, }, iface: { "_owner": null, @@ -43148,26 +43148,26 @@ const controller_Button__C47882_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P47887, - "raiseButtonUp": controller_Button_raiseButtonUp__P49669, - "raiseButtonDown": controller_Button_raiseButtonDown__P49670, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P49671, - "onEvent": controller_Button_onEvent__P47889, - "isPressed": controller_Button_isPressed__P47891, - "pressureLevel": controller_Button_pressureLevel__P47892, - "setPressed": controller_Button_setPressed__P47893, - "__update": controller_Button___update__P47894, + "toString": controller_Button_toString__P102773, + "raiseButtonUp": controller_Button_raiseButtonUp__P104555, + "raiseButtonDown": controller_Button_raiseButtonDown__P104556, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P104557, + "onEvent": controller_Button_onEvent__P102775, + "isPressed": controller_Button_isPressed__P102777, + "pressureLevel": controller_Button_pressureLevel__P102778, + "setPressed": controller_Button_setPressed__P102779, + "__update": controller_Button___update__P102780, }, - toStringMethod: controller_Button_toString__P47887, + toStringMethod: controller_Button_toString__P102773, }); -const controller_AnyButton__C49672_VT = mkVTable({ +const controller_AnyButton__C104558_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P49674, + "isPressed": controller_AnyButton_isPressed__P104560, }, iface: { "_owner": null, @@ -43184,18 +43184,18 @@ const controller_AnyButton__C49672_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P49674, - "toString": controller_Button_toString__P47887, - "raiseButtonUp": controller_Button_raiseButtonUp__P49669, - "raiseButtonDown": controller_Button_raiseButtonDown__P49670, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P49671, - "onEvent": controller_Button_onEvent__P47889, - "pressureLevel": controller_Button_pressureLevel__P47892, - "setPressed": controller_Button_setPressed__P47893, - "__update": controller_Button___update__P47894, + "isPressed": controller_AnyButton_isPressed__P104560, + "toString": controller_Button_toString__P102773, + "raiseButtonUp": controller_Button_raiseButtonUp__P104555, + "raiseButtonDown": controller_Button_raiseButtonDown__P104556, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P104557, + "onEvent": controller_Button_onEvent__P102775, + "pressureLevel": controller_Button_pressureLevel__P102778, + "setPressed": controller_Button_setPressed__P102779, + "__update": controller_Button___update__P102780, }, }); -const Math_FastRandom__C48565_VT = mkVTable({ +const Math_FastRandom__C103451_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -43208,12 +43208,12 @@ const Math_FastRandom__C48565_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P48568, - "randomRange": Math_FastRandom_randomRange__P48569, - "pickRandom": Math_FastRandom_pickRandom__P48570, + "next": Math_FastRandom_next__P103454, + "randomRange": Math_FastRandom_randomRange__P103455, + "pickRandom": Math_FastRandom_pickRandom__P103456, }, }); -const texteffects_TextEffect__C48810_VT = mkVTable({ +const texteffects_TextEffect__C103696_VT = mkVTable({ name: "TextEffect", numFields: 1, classNo: 19, @@ -43226,16 +43226,16 @@ const texteffects_TextEffect__C48810_VT = mkVTable({ "set/getState": null, }, }); -const game_BaseDialog__C48456_VT = mkVTable({ +const game_BaseDialog__C103342_VT = mkVTable({ name: "BaseDialog", numFields: 11, classNo: 20, lastSubtypeNo: 21, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P48469, - "setText": game_BaseDialog_setText__P48470, - "drawTextCore": game_BaseDialog_drawTextCore__P48471, + "update": game_BaseDialog_update__P103355, + "setText": game_BaseDialog_setText__P103356, + "drawTextCore": game_BaseDialog_drawTextCore__P103357, }, iface: { "image": null, @@ -43260,30 +43260,30 @@ const game_BaseDialog__C48456_VT = mkVTable({ "set/font": null, "textColor": null, "set/textColor": null, - "update": game_BaseDialog_update__P48469, - "setText": game_BaseDialog_setText__P48470, - "drawTextCore": game_BaseDialog_drawTextCore__P48471, - "drawCursorRow": game_BaseDialog_drawCursorRow__P48472, - "drawBorder": game_BaseDialog_drawBorder__P49806, - "fastFill": game_BaseDialog_fastFill__P49807, - "clearInterior": game_BaseDialog_clearInterior__P49808, - "drawPartial": game_BaseDialog_drawPartial__P49809, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P49810, - "textAreaWidth": game_BaseDialog_textAreaWidth__P49812, - "textAreaHeight": game_BaseDialog_textAreaHeight__P49813, - "setFont": game_BaseDialog_setFont__P49814, + "update": game_BaseDialog_update__P103355, + "setText": game_BaseDialog_setText__P103356, + "drawTextCore": game_BaseDialog_drawTextCore__P103357, + "drawCursorRow": game_BaseDialog_drawCursorRow__P103358, + "drawBorder": game_BaseDialog_drawBorder__P104692, + "fastFill": game_BaseDialog_fastFill__P104693, + "clearInterior": game_BaseDialog_clearInterior__P104694, + "drawPartial": game_BaseDialog_drawPartial__P104695, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P104696, + "textAreaWidth": game_BaseDialog_textAreaWidth__P104698, + "textAreaHeight": game_BaseDialog_textAreaHeight__P104699, + "setFont": game_BaseDialog_setFont__P104700, }, }); -const game_SplashDialog__C48484_VT = mkVTable({ +const game_SplashDialog__C103370_VT = mkVTable({ name: "SplashDialog", numFields: 17, classNo: 21, lastSubtypeNo: 21, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P48469, - "setText": game_SplashDialog_setText__P48492, - "drawTextCore": game_SplashDialog_drawTextCore__P48494, + "update": game_BaseDialog_update__P103355, + "setText": game_SplashDialog_setText__P103378, + "drawTextCore": game_SplashDialog_drawTextCore__P103380, }, iface: { "image": null, @@ -43320,23 +43320,23 @@ const game_SplashDialog__C48484_VT = mkVTable({ "set/maxOffset": null, "maxSubOffset": null, "set/maxSubOffset": null, - "updateFont": game_SplashDialog_updateFont__P49817, - "setText": game_SplashDialog_setText__P48492, - "setSubtext": game_SplashDialog_setSubtext__P48493, - "drawTextCore": game_SplashDialog_drawTextCore__P48494, - "update": game_BaseDialog_update__P48469, - "drawCursorRow": game_BaseDialog_drawCursorRow__P48472, - "drawBorder": game_BaseDialog_drawBorder__P49806, - "fastFill": game_BaseDialog_fastFill__P49807, - "clearInterior": game_BaseDialog_clearInterior__P49808, - "drawPartial": game_BaseDialog_drawPartial__P49809, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P49810, - "textAreaWidth": game_BaseDialog_textAreaWidth__P49812, - "textAreaHeight": game_BaseDialog_textAreaHeight__P49813, - "setFont": game_BaseDialog_setFont__P49814, + "updateFont": game_SplashDialog_updateFont__P104703, + "setText": game_SplashDialog_setText__P103378, + "setSubtext": game_SplashDialog_setSubtext__P103379, + "drawTextCore": game_SplashDialog_drawTextCore__P103380, + "update": game_BaseDialog_update__P103355, + "drawCursorRow": game_BaseDialog_drawCursorRow__P103358, + "drawBorder": game_BaseDialog_drawBorder__P104692, + "fastFill": game_BaseDialog_fastFill__P104693, + "clearInterior": game_BaseDialog_clearInterior__P104694, + "drawPartial": game_BaseDialog_drawPartial__P104695, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P104696, + "textAreaWidth": game_BaseDialog_textAreaWidth__P104698, + "textAreaHeight": game_BaseDialog_textAreaHeight__P104699, + "setFont": game_BaseDialog_setFont__P104700, }, }); -const control_EventContext__C46363_VT = mkVTable({ +const control_EventContext__C101249_VT = mkVTable({ name: "EventContext", numFields: 9, classNo: 22, @@ -43363,16 +43363,16 @@ const control_EventContext__C46363_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P46368, - "runCallbacks": control_EventContext_runCallbacks__P49514, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P49515, - "register": control_EventContext_register__P46369, - "unregister": control_EventContext_unregister__P46370, - "registerFrameHandler": control_EventContext_registerFrameHandler__P46371, - "registerHandler": control_EventContext_registerHandler__P46373, + "deltaTime": control_EventContext_deltaTime__P101254, + "runCallbacks": control_EventContext_runCallbacks__P104400, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P104401, + "register": control_EventContext_register__P101255, + "unregister": control_EventContext_unregister__P101256, + "registerFrameHandler": control_EventContext_registerFrameHandler__P101257, + "registerHandler": control_EventContext_registerHandler__P101259, }, }); -const scene_Scene__C48398_VT = mkVTable({ +const scene_Scene__C103284_VT = mkVTable({ name: "Scene", numFields: 23, classNo: 23, @@ -43427,14 +43427,14 @@ const scene_Scene__C48398_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P48420, - "data": scene_Scene_data__P48421, - "millis": scene_Scene_millis__P48422, - "addSprite": scene_Scene_addSprite__P48423, - "render": scene_Scene_render__P48425, + "init": scene_Scene_init__P103306, + "data": scene_Scene_data__P103307, + "millis": scene_Scene_millis__P103308, + "addSprite": scene_Scene_addSprite__P103309, + "render": scene_Scene_render__P103311, }, }); -const effects_ImageEffect__C48795_VT = mkVTable({ +const effects_ImageEffect__C103681_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 24, @@ -43451,11 +43451,11 @@ const effects_ImageEffect__C48795_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P48797, - "change": effects_ImageEffect_change__P48798, + "applyTo": effects_ImageEffect_applyTo__P103683, + "change": effects_ImageEffect_change__P103684, }, }); -const effects_ParticleEffect__C48768_VT = mkVTable({ +const effects_ParticleEffect__C103654_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 25, @@ -43470,11 +43470,11 @@ const effects_ParticleEffect__C48768_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P48770, - "destroy": effects_ParticleEffect_destroy__P48771, + "start": effects_ParticleEffect_start__P103656, + "destroy": effects_ParticleEffect_destroy__P103657, }, }); -const effects_ScreenEffect__C48772_VT = mkVTable({ +const effects_ScreenEffect__C103658_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 26, @@ -43493,34 +43493,34 @@ const effects_ScreenEffect__C48772_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P48770, - "destroy": effects_ParticleEffect_destroy__P48771, + "start": effects_ParticleEffect_start__P103656, + "destroy": effects_ParticleEffect_destroy__P103657, }, }); -const particles_ParticleFactory__C48693_VT = mkVTable({ +const particles_ParticleFactory__C103579_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 27, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P48695, - "drawParticle": particles_ParticleFactory_drawParticle__P48696, + "createParticle": particles_ParticleFactory_createParticle__P103581, + "drawParticle": particles_ParticleFactory_drawParticle__P103582, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P48695, - "drawParticle": particles_ParticleFactory_drawParticle__P48696, + "createParticle": particles_ParticleFactory_createParticle__P103581, + "drawParticle": particles_ParticleFactory_drawParticle__P103582, }, }); -const particles_SprayFactory__C48697_VT = mkVTable({ +const particles_SprayFactory__C103583_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 28, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P48699, - "drawParticle": particles_SprayFactory_drawParticle__P48700, + "createParticle": particles_SprayFactory_createParticle__P103585, + "drawParticle": particles_SprayFactory_drawParticle__P103586, }, iface: { "speed": null, @@ -43529,21 +43529,21 @@ const particles_SprayFactory__C48697_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P48699, - "drawParticle": particles_SprayFactory_drawParticle__P48700, - "setSpeed": particles_SprayFactory_setSpeed__P48701, - "setDirection": particles_SprayFactory_setDirection__P48702, + "createParticle": particles_SprayFactory_createParticle__P103585, + "drawParticle": particles_SprayFactory_drawParticle__P103586, + "setSpeed": particles_SprayFactory_setSpeed__P103587, + "setDirection": particles_SprayFactory_setDirection__P103588, }, }); -const particles_AreaFactory__C48703_VT = mkVTable({ +const particles_AreaFactory__C103589_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 29, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P48709, - "drawParticle": particles_AreaFactory_drawParticle__P48710, + "createParticle": particles_AreaFactory_createParticle__P103595, + "drawParticle": particles_AreaFactory_drawParticle__P103596, }, iface: { "speed": null, @@ -43562,21 +43562,21 @@ const particles_AreaFactory__C48703_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P48709, - "drawParticle": particles_AreaFactory_drawParticle__P48710, - "setSpeed": particles_SprayFactory_setSpeed__P48701, - "setDirection": particles_SprayFactory_setDirection__P48702, + "createParticle": particles_AreaFactory_createParticle__P103595, + "drawParticle": particles_AreaFactory_drawParticle__P103596, + "setSpeed": particles_SprayFactory_setSpeed__P103587, + "setDirection": particles_SprayFactory_setDirection__P103588, }, }); -const particles_ShapeFactory__C48719_VT = mkVTable({ +const particles_ShapeFactory__C103605_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 30, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P48723, - "drawParticle": particles_ShapeFactory_drawParticle__P48722, + "createParticle": particles_ShapeFactory_createParticle__P103609, + "drawParticle": particles_ShapeFactory_drawParticle__P103608, }, iface: { "speed": null, @@ -43601,22 +43601,22 @@ const particles_ShapeFactory__C48719_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P48721, - "drawParticle": particles_ShapeFactory_drawParticle__P48722, - "createParticle": particles_ShapeFactory_createParticle__P48723, - "setSpeed": particles_SprayFactory_setSpeed__P48701, - "setDirection": particles_SprayFactory_setDirection__P48702, + "addShape": particles_ShapeFactory_addShape__P103607, + "drawParticle": particles_ShapeFactory_drawParticle__P103608, + "createParticle": particles_ShapeFactory_createParticle__P103609, + "setSpeed": particles_SprayFactory_setSpeed__P103587, + "setDirection": particles_SprayFactory_setDirection__P103588, }, }); -const particles_ConfettiFactory__C48724_VT = mkVTable({ +const particles_ConfettiFactory__C103610_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 31, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P48723, - "drawParticle": particles_ShapeFactory_drawParticle__P48722, + "createParticle": particles_ShapeFactory_createParticle__P103609, + "drawParticle": particles_ShapeFactory_drawParticle__P103608, }, iface: { "speed": null, @@ -43641,50 +43641,50 @@ const particles_ConfettiFactory__C48724_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P48721, - "drawParticle": particles_ShapeFactory_drawParticle__P48722, - "createParticle": particles_ShapeFactory_createParticle__P48723, - "setSpeed": particles_SprayFactory_setSpeed__P48701, - "setDirection": particles_SprayFactory_setDirection__P48702, + "addShape": particles_ShapeFactory_addShape__P103607, + "drawParticle": particles_ShapeFactory_drawParticle__P103608, + "createParticle": particles_ShapeFactory_createParticle__P103609, + "setSpeed": particles_SprayFactory_setSpeed__P103587, + "setDirection": particles_SprayFactory_setDirection__P103588, }, }); -const sprites_BaseSprite__C47837_VT = mkVTable({ +const sprites_BaseSprite__C102723_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 32, lastSubtypeNo: 35, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P47840, - "__draw": sprites_BaseSprite___draw__P47843, - "__drawCore": sprites_BaseSprite___drawCore__P47844, - "__update": sprites_BaseSprite___update__P47845, + "__visible": sprites_BaseSprite___visible__P102726, + "__draw": sprites_BaseSprite___draw__P102729, + "__drawCore": sprites_BaseSprite___drawCore__P102730, + "__update": sprites_BaseSprite___update__P102731, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P47840, - "z": sprites_BaseSprite_z__P47841, - "set/z": sprites_BaseSprite_z__P47842, - "__draw": sprites_BaseSprite___draw__P47843, - "__drawCore": sprites_BaseSprite___drawCore__P47844, - "__update": sprites_BaseSprite___update__P47845, + "__visible": sprites_BaseSprite___visible__P102726, + "z": sprites_BaseSprite_z__P102727, + "set/z": sprites_BaseSprite_z__P102728, + "__draw": sprites_BaseSprite___draw__P102729, + "__drawCore": sprites_BaseSprite___drawCore__P102730, + "__update": sprites_BaseSprite___update__P102731, }, }); -const particles_ParticleSource__C48657_VT = mkVTable({ +const particles_ParticleSource__C103543_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 33, lastSubtypeNo: 33, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P47840, - "__draw": particles_ParticleSource___draw__P48663, - "__drawCore": sprites_BaseSprite___drawCore__P47844, - "__update": sprites_BaseSprite___update__P47845, - "updateParticle": particles_ParticleSource_updateParticle__P50188, + "__visible": sprites_BaseSprite___visible__P102726, + "__draw": particles_ParticleSource___draw__P103549, + "__drawCore": sprites_BaseSprite___drawCore__P102730, + "__update": sprites_BaseSprite___update__P102731, + "updateParticle": particles_ParticleSource_updateParticle__P105074, }, iface: { "_z": null, @@ -43713,28 +43713,28 @@ const particles_ParticleSource__C48657_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P48663, - "_update": particles_ParticleSource__update__P48664, - "_prune": particles_ParticleSource__prune__P48665, - "setAcceleration": particles_ParticleSource_setAcceleration__P48666, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P48668, - "enabled": particles_ParticleSource_enabled__P48669, - "set/enabled": particles_ParticleSource_enabled__P48670, - "destroy": particles_ParticleSource_destroy__P48671, - "clear": particles_ParticleSource_clear__P48672, - "setAnchor": particles_ParticleSource_setAnchor__P48673, - "setRate": particles_ParticleSource_setRate__P48674, - "setFactory": particles_ParticleSource_setFactory__P48676, - "updateParticle": particles_ParticleSource_updateParticle__P50188, - "drawParticle": particles_ParticleSource_drawParticle__P50189, - "__visible": sprites_BaseSprite___visible__P47840, - "z": sprites_BaseSprite_z__P47841, - "set/z": sprites_BaseSprite_z__P47842, - "__drawCore": sprites_BaseSprite___drawCore__P47844, - "__update": sprites_BaseSprite___update__P47845, + "__draw": particles_ParticleSource___draw__P103549, + "_update": particles_ParticleSource__update__P103550, + "_prune": particles_ParticleSource__prune__P103551, + "setAcceleration": particles_ParticleSource_setAcceleration__P103552, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P103554, + "enabled": particles_ParticleSource_enabled__P103555, + "set/enabled": particles_ParticleSource_enabled__P103556, + "destroy": particles_ParticleSource_destroy__P103557, + "clear": particles_ParticleSource_clear__P103558, + "setAnchor": particles_ParticleSource_setAnchor__P103559, + "setRate": particles_ParticleSource_setRate__P103560, + "setFactory": particles_ParticleSource_setFactory__P103562, + "updateParticle": particles_ParticleSource_updateParticle__P105074, + "drawParticle": particles_ParticleSource_drawParticle__P105075, + "__visible": sprites_BaseSprite___visible__P102726, + "z": sprites_BaseSprite_z__P102727, + "set/z": sprites_BaseSprite_z__P102728, + "__drawCore": sprites_BaseSprite___drawCore__P102730, + "__update": sprites_BaseSprite___update__P102731, }, }); -const particles_Particle__C48638_VT = mkVTable({ +const particles_Particle__C103524_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 36, @@ -43761,28 +43761,28 @@ const particles_Particle__C48638_VT = mkVTable({ "set/color": null, }, }); -const PhysicsEngine__C48138_VT = mkVTable({ +const PhysicsEngine__C103024_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 37, lastSubtypeNo: 38, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P48140, - "removeSprite": PhysicsEngine_removeSprite__P48141, - "moveSprite": PhysicsEngine_moveSprite__P48142, - "draw": PhysicsEngine_draw__P48143, - "move": PhysicsEngine_move__P48144, + "addSprite": PhysicsEngine_addSprite__P103026, + "removeSprite": PhysicsEngine_removeSprite__P103027, + "moveSprite": PhysicsEngine_moveSprite__P103028, + "draw": PhysicsEngine_draw__P103029, + "move": PhysicsEngine_move__P103030, }, iface: { - "addSprite": PhysicsEngine_addSprite__P48140, - "removeSprite": PhysicsEngine_removeSprite__P48141, - "moveSprite": PhysicsEngine_moveSprite__P48142, - "draw": PhysicsEngine_draw__P48143, - "move": PhysicsEngine_move__P48144, + "addSprite": PhysicsEngine_addSprite__P103026, + "removeSprite": PhysicsEngine_removeSprite__P103027, + "moveSprite": PhysicsEngine_moveSprite__P103028, + "draw": PhysicsEngine_draw__P103029, + "move": PhysicsEngine_move__P103030, }, }); -const scene_Camera__C48339_VT = mkVTable({ +const scene_Camera__C103225_VT = mkVTable({ name: "Camera", numFields: 8, classNo: 39, @@ -43807,18 +43807,18 @@ const scene_Camera__C48339_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P48344, - "set/offsetX": scene_Camera_offsetX__P48345, - "offsetY": scene_Camera_offsetY__P48346, - "set/offsetY": scene_Camera_offsetY__P48347, - "x": scene_Camera_x__P48348, - "y": scene_Camera_y__P48349, - "left": scene_Camera_left__P48350, - "top": scene_Camera_top__P48352, - "update": scene_Camera_update__P48355, + "offsetX": scene_Camera_offsetX__P103230, + "set/offsetX": scene_Camera_offsetX__P103231, + "offsetY": scene_Camera_offsetY__P103232, + "set/offsetY": scene_Camera_offsetY__P103233, + "x": scene_Camera_x__P103234, + "y": scene_Camera_y__P103235, + "left": scene_Camera_left__P103236, + "top": scene_Camera_top__P103238, + "update": scene_Camera_update__P103241, }, }); -const scene_Background__C48244_VT = mkVTable({ +const scene_Background__C103130_VT = mkVTable({ name: "Background", numFields: 4, classNo: 40, @@ -43835,12 +43835,12 @@ const scene_Background__C48244_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P48250, - "set/image": scene_Background_image__P48251, - "draw": scene_Background_draw__P48253, + "image": scene_Background_image__P103136, + "set/image": scene_Background_image__P103137, + "draw": scene_Background_draw__P103139, }, }); -const scene_BackgroundLayer__C48254_VT = mkVTable({ +const scene_BackgroundLayer__C103140_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 41, @@ -43861,20 +43861,20 @@ const scene_BackgroundLayer__C48254_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P48262, + "draw": scene_BackgroundLayer_draw__P103148, }, }); -const Sprite__C47995_VT = mkVTable({ +const Sprite__C102881_VT = mkVTable({ name: "Sprite", numFields: 26, classNo: 34, lastSubtypeNo: 34, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P48038, - "__draw": sprites_BaseSprite___draw__P47843, - "__drawCore": Sprite___drawCore__P48056, - "__update": Sprite___update__P48057, + "__visible": Sprite___visible__P102924, + "__draw": sprites_BaseSprite___draw__P102729, + "__drawCore": Sprite___drawCore__P102942, + "__update": Sprite___update__P102943, }, iface: { "_z": null, @@ -43929,58 +43929,58 @@ const Sprite__C47995_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P48004, - "set/x": Sprite_x__P48005, - "y": Sprite_y__P48006, - "set/y": Sprite_y__P48007, - "vx": Sprite_vx__P48008, - "set/vx": Sprite_vx__P48009, - "vy": Sprite_vy__P48010, - "set/vy": Sprite_vy__P48011, - "ax": Sprite_ax__P48012, - "set/ax": Sprite_ax__P48013, - "ay": Sprite_ay__P48014, - "set/ay": Sprite_ay__P48015, - "fx": Sprite_fx__P48016, - "set/fx": Sprite_fx__P48017, - "fy": Sprite_fy__P48018, - "set/fy": Sprite_fy__P48019, - "data": Sprite_data__P48020, - "set/data": Sprite_data__P48021, - "image": Sprite_image__P48034, - "setImage": Sprite_setImage__P48035, - "setHitbox": Sprite_setHitbox__P48036, - "isStatic": Sprite_isStatic__P48037, - "__visible": Sprite___visible__P48038, - "width": Sprite_width__P48039, - "height": Sprite_height__P48040, - "left": Sprite_left__P48041, - "set/left": Sprite_left__P48042, - "right": Sprite_right__P48043, - "set/right": Sprite_right__P48044, - "top": Sprite_top__P48045, - "set/top": Sprite_top__P48046, - "bottom": Sprite_bottom__P48047, - "set/bottom": Sprite_bottom__P48048, - "kind": Sprite_kind__P48049, - "setKind": Sprite_setKind__P48050, - "isOutOfScreen": Sprite_isOutOfScreen__P48055, - "__drawCore": Sprite___drawCore__P48056, - "__update": Sprite___update__P48057, - "setFlag": Sprite_setFlag__P48058, - "overlapsWith": Sprite_overlapsWith__P48059, - "clearObstacles": Sprite_clearObstacles__P48063, - "registerObstacle": Sprite_registerObstacle__P48064, - "destroy": Sprite_destroy__P48066, - "_destroyCore": Sprite__destroyCore__P48067, - "toString": Sprite_toString__P48069, - "z": sprites_BaseSprite_z__P47841, - "set/z": sprites_BaseSprite_z__P47842, - "__draw": sprites_BaseSprite___draw__P47843, + "x": Sprite_x__P102890, + "set/x": Sprite_x__P102891, + "y": Sprite_y__P102892, + "set/y": Sprite_y__P102893, + "vx": Sprite_vx__P102894, + "set/vx": Sprite_vx__P102895, + "vy": Sprite_vy__P102896, + "set/vy": Sprite_vy__P102897, + "ax": Sprite_ax__P102898, + "set/ax": Sprite_ax__P102899, + "ay": Sprite_ay__P102900, + "set/ay": Sprite_ay__P102901, + "fx": Sprite_fx__P102902, + "set/fx": Sprite_fx__P102903, + "fy": Sprite_fy__P102904, + "set/fy": Sprite_fy__P102905, + "data": Sprite_data__P102906, + "set/data": Sprite_data__P102907, + "image": Sprite_image__P102920, + "setImage": Sprite_setImage__P102921, + "setHitbox": Sprite_setHitbox__P102922, + "isStatic": Sprite_isStatic__P102923, + "__visible": Sprite___visible__P102924, + "width": Sprite_width__P102925, + "height": Sprite_height__P102926, + "left": Sprite_left__P102927, + "set/left": Sprite_left__P102928, + "right": Sprite_right__P102929, + "set/right": Sprite_right__P102930, + "top": Sprite_top__P102931, + "set/top": Sprite_top__P102932, + "bottom": Sprite_bottom__P102933, + "set/bottom": Sprite_bottom__P102934, + "kind": Sprite_kind__P102935, + "setKind": Sprite_setKind__P102936, + "isOutOfScreen": Sprite_isOutOfScreen__P102941, + "__drawCore": Sprite___drawCore__P102942, + "__update": Sprite___update__P102943, + "setFlag": Sprite_setFlag__P102944, + "overlapsWith": Sprite_overlapsWith__P102945, + "clearObstacles": Sprite_clearObstacles__P102949, + "registerObstacle": Sprite_registerObstacle__P102950, + "destroy": Sprite_destroy__P102952, + "_destroyCore": Sprite__destroyCore__P102953, + "toString": Sprite_toString__P102955, + "z": sprites_BaseSprite_z__P102727, + "set/z": sprites_BaseSprite_z__P102728, + "__draw": sprites_BaseSprite___draw__P102729, }, - toStringMethod: Sprite_toString__P48069, + toStringMethod: Sprite_toString__P102955, }); -const tiles_TileMap__C48296_VT = mkVTable({ +const tiles_TileMap__C103182_VT = mkVTable({ name: "TileMap", numFields: 3, classNo: 42, @@ -43995,25 +43995,25 @@ const tiles_TileMap__C48296_VT = mkVTable({ "set/_layer": null, "_map": null, "set/_map": null, - "scale": tiles_TileMap_scale__P48298, - "set/scale": tiles_TileMap_scale__P48299, - "data": tiles_TileMap_data__P49777, - "offsetX": tiles_TileMap_offsetX__P48300, - "offsetY": tiles_TileMap_offsetY__P48301, - "areaWidth": tiles_TileMap_areaWidth__P48302, - "areaHeight": tiles_TileMap_areaHeight__P48303, - "layer": tiles_TileMap_layer__P48304, - "enabled": tiles_TileMap_enabled__P48306, - "getTile": tiles_TileMap_getTile__P48308, - "getTileIndex": tiles_TileMap_getTileIndex__P48309, - "draw": tiles_TileMap_draw__P49779, - "isObstacle": tiles_TileMap_isObstacle__P48315, - "getObstacle": tiles_TileMap_getObstacle__P48316, - "isOnWall": tiles_TileMap_isOnWall__P48317, - "getTileImage": tiles_TileMap_getTileImage__P48318, + "scale": tiles_TileMap_scale__P103184, + "set/scale": tiles_TileMap_scale__P103185, + "data": tiles_TileMap_data__P104663, + "offsetX": tiles_TileMap_offsetX__P103186, + "offsetY": tiles_TileMap_offsetY__P103187, + "areaWidth": tiles_TileMap_areaWidth__P103188, + "areaHeight": tiles_TileMap_areaHeight__P103189, + "layer": tiles_TileMap_layer__P103190, + "enabled": tiles_TileMap_enabled__P103192, + "getTile": tiles_TileMap_getTile__P103194, + "getTileIndex": tiles_TileMap_getTileIndex__P103195, + "draw": tiles_TileMap_draw__P104665, + "isObstacle": tiles_TileMap_isObstacle__P103201, + "getObstacle": tiles_TileMap_getObstacle__P103202, + "isOnWall": tiles_TileMap_isOnWall__P103203, + "getTileImage": tiles_TileMap_getTileImage__P103204, }, }); -const tiles_TileMapData__C48283_VT = mkVTable({ +const tiles_TileMapData__C103169_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 43, @@ -44036,17 +44036,17 @@ const tiles_TileMapData__C48283_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P48285, - "height": tiles_TileMapData_height__P48286, - "scale": tiles_TileMapData_scale__P48287, - "set/scale": tiles_TileMapData_scale__P48288, - "getTile": tiles_TileMapData_getTile__P48289, - "getTileImage": tiles_TileMapData_getTileImage__P48292, - "isWall": tiles_TileMapData_isWall__P48294, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P48295, + "width": tiles_TileMapData_width__P103171, + "height": tiles_TileMapData_height__P103172, + "scale": tiles_TileMapData_scale__P103173, + "set/scale": tiles_TileMapData_scale__P103174, + "getTile": tiles_TileMapData_getTile__P103175, + "getTileImage": tiles_TileMapData_getTileImage__P103178, + "isWall": tiles_TileMapData_isWall__P103180, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P103181, }, }); -const controller_Controller__C47902_VT = mkVTable({ +const controller_Controller__C102788_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 44, @@ -44065,32 +44065,32 @@ const controller_Controller__C47902_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P47907, - "set/_controlledSprites": controller_Controller__controlledSprites__P47908, - "id": controller_Controller_id__P47909, - "left": controller_Controller_left__P47911, - "right": controller_Controller_right__P47912, - "up": controller_Controller_up__P47913, - "down": controller_Controller_down__P47914, - "button": controller_Controller_button__P49677, - "connected": controller_Controller_connected__P47921, - "set/connected": controller_Controller_connected__P47922, - "__preUpdate": controller_Controller___preUpdate__P47926, - "__update": controller_Controller___update__P47927, + "_controlledSprites": controller_Controller__controlledSprites__P102793, + "set/_controlledSprites": controller_Controller__controlledSprites__P102794, + "id": controller_Controller_id__P102795, + "left": controller_Controller_left__P102797, + "right": controller_Controller_right__P102798, + "up": controller_Controller_up__P102799, + "down": controller_Controller_down__P102800, + "button": controller_Controller_button__P104563, + "connected": controller_Controller_connected__P102807, + "set/connected": controller_Controller_connected__P102808, + "__preUpdate": controller_Controller___preUpdate__P102812, + "__update": controller_Controller___update__P102813, }, }); -const ArcadePhysicsEngine__C48152_VT = mkVTable({ +const ArcadePhysicsEngine__C103038_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 38, lastSubtypeNo: 38, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P48161, - "removeSprite": ArcadePhysicsEngine_removeSprite__P48162, - "moveSprite": ArcadePhysicsEngine_moveSprite__P48166, - "draw": ArcadePhysicsEngine_draw__P48163, - "move": ArcadePhysicsEngine_move__P48164, + "addSprite": ArcadePhysicsEngine_addSprite__P103047, + "removeSprite": ArcadePhysicsEngine_removeSprite__P103048, + "moveSprite": ArcadePhysicsEngine_moveSprite__P103052, + "draw": ArcadePhysicsEngine_draw__P103049, + "move": ArcadePhysicsEngine_move__P103050, }, iface: { "sprites": null, @@ -44105,26 +44105,26 @@ const ArcadePhysicsEngine__C48152_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P48154, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P48155, - "minStep": ArcadePhysicsEngine_minStep__P48156, - "set/minStep": ArcadePhysicsEngine_minStep__P48157, - "maxStep": ArcadePhysicsEngine_maxStep__P48158, - "set/maxStep": ArcadePhysicsEngine_maxStep__P48159, - "addSprite": ArcadePhysicsEngine_addSprite__P48161, - "removeSprite": ArcadePhysicsEngine_removeSprite__P48162, - "draw": ArcadePhysicsEngine_draw__P48163, - "move": ArcadePhysicsEngine_move__P48164, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P49706, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P49707, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P49708, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P49709, - "moveSprite": ArcadePhysicsEngine_moveSprite__P48166, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P49710, - "constrain": ArcadePhysicsEngine_constrain__P49711, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P103040, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P103041, + "minStep": ArcadePhysicsEngine_minStep__P103042, + "set/minStep": ArcadePhysicsEngine_minStep__P103043, + "maxStep": ArcadePhysicsEngine_maxStep__P103044, + "set/maxStep": ArcadePhysicsEngine_maxStep__P103045, + "addSprite": ArcadePhysicsEngine_addSprite__P103047, + "removeSprite": ArcadePhysicsEngine_removeSprite__P103048, + "draw": ArcadePhysicsEngine_draw__P103049, + "move": ArcadePhysicsEngine_move__P103050, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P104592, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P104593, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P104594, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P104595, + "moveSprite": ArcadePhysicsEngine_moveSprite__P103052, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P104596, + "constrain": ArcadePhysicsEngine_constrain__P104597, }, }); -const sprites_SpriteMap__C48073_VT = mkVTable({ +const sprites_SpriteMap__C102959_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 45, @@ -44143,20 +44143,20 @@ const sprites_SpriteMap__C48073_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P48075, - "overlaps": sprites_SpriteMap_overlaps__P48076, - "draw": sprites_SpriteMap_draw__P48077, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P48078, - "clear": sprites_SpriteMap_clear__P48079, - "key": sprites_SpriteMap_key__P49683, - "insertAtKey": sprites_SpriteMap_insertAtKey__P49684, - "insertAABB": sprites_SpriteMap_insertAABB__P48080, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P49685, - "toString": sprites_SpriteMap_toString__P48081, + "neighbors": sprites_SpriteMap_neighbors__P102961, + "overlaps": sprites_SpriteMap_overlaps__P102962, + "draw": sprites_SpriteMap_draw__P102963, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P102964, + "clear": sprites_SpriteMap_clear__P102965, + "key": sprites_SpriteMap_key__P104569, + "insertAtKey": sprites_SpriteMap_insertAtKey__P104570, + "insertAABB": sprites_SpriteMap_insertAABB__P102966, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P104571, + "toString": sprites_SpriteMap_toString__P102967, }, - toStringMethod: sprites_SpriteMap_toString__P48081, + toStringMethod: sprites_SpriteMap_toString__P102967, }); -const music_Melody__C47577_VT = mkVTable({ +const music_Melody__C102463_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 46, @@ -44169,15 +44169,15 @@ const music_Melody__C47577_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "stop": music_Melody_stop__P47582, - "registerMelody": music_Melody_registerMelody__P49556, - "unregisterMelody": music_Melody_unregisterMelody__P49557, - "playUntilDone": music_Melody_playUntilDone__P47585, - "toString": music_Melody_toString__P47586, + "stop": music_Melody_stop__P102468, + "registerMelody": music_Melody_registerMelody__P104442, + "unregisterMelody": music_Melody_unregisterMelody__P104443, + "playUntilDone": music_Melody_playUntilDone__P102471, + "toString": music_Melody_toString__P102472, }, - toStringMethod: music_Melody_toString__P47586, + toStringMethod: music_Melody_toString__P102472, }); -const control_EventHandler__C49509_VT = mkVTable({ +const control_EventHandler__C104395_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 47, @@ -44194,11 +44194,11 @@ const control_EventHandler__C49509_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P49510, - "unregister": control_EventHandler_unregister__P49511, + "register": control_EventHandler_register__P104396, + "unregister": control_EventHandler_unregister__P104397, }, }); -const control_FrameCallback__C46360_VT = mkVTable({ +const control_FrameCallback__C101246_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 48, @@ -44213,7 +44213,7 @@ const control_FrameCallback__C46360_VT = mkVTable({ "set/handler": null, }, }); -const sprites_SpriteSet__C48090_VT = mkVTable({ +const sprites_SpriteSet__C102976_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 49, @@ -44224,15 +44224,15 @@ const sprites_SpriteSet__C48090_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P48093, - "add": sprites_SpriteSet_add__P48095, - "remove": sprites_SpriteSet_remove__P48097, - "contains": sprites_SpriteSet_contains__P48098, - "toString": sprites_SpriteSet_toString__P48101, + "length": sprites_SpriteSet_length__P102979, + "add": sprites_SpriteSet_add__P102981, + "remove": sprites_SpriteSet_remove__P102983, + "contains": sprites_SpriteSet_contains__P102984, + "toString": sprites_SpriteSet_toString__P102987, }, - toStringMethod: sprites_SpriteSet_toString__P48101, + toStringMethod: sprites_SpriteSet_toString__P102987, }); -const game_Hitbox__C47938_VT = mkVTable({ +const game_Hitbox__C102824_VT = mkVTable({ name: "Hitbox", numFields: 5, classNo: 50, @@ -44251,13 +44251,13 @@ const game_Hitbox__C47938_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P47945, - "top": game_Hitbox_top__P47946, - "right": game_Hitbox_right__P47947, - "bottom": game_Hitbox_bottom__P47948, + "left": game_Hitbox_left__P102831, + "top": game_Hitbox_top__P102832, + "right": game_Hitbox_right__P102833, + "bottom": game_Hitbox_bottom__P102834, }, }); -const control_PollEvent__C49488_VT = mkVTable({ +const control_PollEvent__C104374_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 51, @@ -44280,7 +44280,7 @@ const control_PollEvent__C49488_VT = mkVTable({ "set/once": null, }, }); -const music_MelodyPlayer__C47587_VT = mkVTable({ +const music_MelodyPlayer__C102473_VT = mkVTable({ name: "MelodyPlayer", numFields: 2, classNo: 52, @@ -44293,12 +44293,12 @@ const music_MelodyPlayer__C47587_VT = mkVTable({ "set/melody": null, "onPlayFinished": null, "set/onPlayFinished": null, - "stop": music_MelodyPlayer_stop__P47591, - "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P49561, - "play": music_MelodyPlayer_play__P47592, + "stop": music_MelodyPlayer_stop__P102477, + "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P104447, + "play": music_MelodyPlayer_play__P102478, }, }); -const scene_systemMenu_PauseMenu__C48601_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C103487_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 53, @@ -44321,15 +44321,15 @@ const scene_systemMenu_PauseMenu__C48601_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P48603, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P48604, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P48605, - "drawText": scene_systemMenu_PauseMenu_drawText__P48606, - "dispose": scene_systemMenu_PauseMenu_dispose__P48607, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P50088, + "show": scene_systemMenu_PauseMenu_show__P103489, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P103490, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P103491, + "drawText": scene_systemMenu_PauseMenu_drawText__P103492, + "dispose": scene_systemMenu_PauseMenu_dispose__P103493, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P104974, }, }); -const scene_systemMenu_MenuOption__C48593_VT = mkVTable({ +const scene_systemMenu_MenuOption__C103479_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 54, @@ -44354,26 +44354,26 @@ const scene_systemMenu_MenuOption__C48593_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P48595, - "position": scene_systemMenu_MenuOption_position__P48596, - "setOffset": scene_systemMenu_MenuOption_setOffset__P48597, - "setTheme": scene_systemMenu_MenuOption_setTheme__P48598, - "setState": scene_systemMenu_MenuOption_setState__P48599, - "dispose": scene_systemMenu_MenuOption_dispose__P48600, - "updateCard": scene_systemMenu_MenuOption_updateCard__P50087, + "show": scene_systemMenu_MenuOption_show__P103481, + "position": scene_systemMenu_MenuOption_position__P103482, + "setOffset": scene_systemMenu_MenuOption_setOffset__P103483, + "setTheme": scene_systemMenu_MenuOption_setTheme__P103484, + "setState": scene_systemMenu_MenuOption_setState__P103485, + "dispose": scene_systemMenu_MenuOption_dispose__P103486, + "updateCard": scene_systemMenu_MenuOption_updateCard__P104973, }, }); -const scene_Renderable__C48357_VT = mkVTable({ +const scene_Renderable__C103243_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 35, lastSubtypeNo: 35, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P48359, - "__draw": sprites_BaseSprite___draw__P47843, - "__drawCore": scene_Renderable___drawCore__P48360, - "__update": sprites_BaseSprite___update__P47845, + "__visible": scene_Renderable___visible__P103245, + "__draw": sprites_BaseSprite___draw__P102729, + "__drawCore": scene_Renderable___drawCore__P103246, + "__update": sprites_BaseSprite___update__P102731, }, iface: { "_z": null, @@ -44384,15 +44384,15 @@ const scene_Renderable__C48357_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P48359, - "__drawCore": scene_Renderable___drawCore__P48360, - "z": sprites_BaseSprite_z__P47841, - "set/z": sprites_BaseSprite_z__P47842, - "__draw": sprites_BaseSprite___draw__P47843, - "__update": sprites_BaseSprite___update__P47845, + "__visible": scene_Renderable___visible__P103245, + "__drawCore": scene_Renderable___drawCore__P103246, + "z": sprites_BaseSprite_z__P102727, + "set/z": sprites_BaseSprite_z__P102728, + "__draw": sprites_BaseSprite___draw__P102729, + "__update": sprites_BaseSprite___update__P102731, }, }); -const MovingSprite__C48150_VT = mkVTable({ +const MovingSprite__C103036_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 55, @@ -44417,7 +44417,7 @@ const MovingSprite__C48150_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C48268_VT = mkVTable({ +const tiles_Location__C103154_VT = mkVTable({ name: "Location", numFields: 3, classNo: 56, @@ -44432,14 +44432,14 @@ const tiles_Location__C48268_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "col": tiles_Location_col__P48269, - "row": tiles_Location_row__P48270, - "x": tiles_Location_x__P48272, - "y": tiles_Location_y__P48273, - "tileSet": tiles_Location_tileSet__P48274, + "col": tiles_Location_col__P103155, + "row": tiles_Location_row__P103156, + "x": tiles_Location_x__P103158, + "y": tiles_Location_y__P103159, + "tileSet": tiles_Location_tileSet__P103160, }, }); -const sprites_StaticObstacle__C48125_VT = mkVTable({ +const sprites_StaticObstacle__C103011_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 57, @@ -44458,14 +44458,14 @@ const sprites_StaticObstacle__C48125_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P48132, - "y": sprites_StaticObstacle_y__P48133, - "height": sprites_StaticObstacle_height__P48134, - "width": sprites_StaticObstacle_width__P48135, + "x": sprites_StaticObstacle_x__P103018, + "y": sprites_StaticObstacle_y__P103019, + "height": sprites_StaticObstacle_height__P103020, + "width": sprites_StaticObstacle_width__P103021, }, }); -const breakpoints = setupDebugger(1, ["demo___65314","melody___65321"]) +const breakpoints = setupDebugger(1, ["demo___104319","melody___104320"]) -return _main___P65613 +return _main___P119124 }) diff --git a/assets/version.txt b/assets/version.txt index 6812f81..05b19b1 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.0.3 \ No newline at end of file +0.0.4 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 4d4d70f..543f1bf 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "pxt-rtttl", - "version": "0.0.3", + "version": "0.0.4", "description": "", "dependencies": { "device": "*"