From 4cbe0ab41fbd5a3e01f92c4021ceb13a830f521c Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Tue, 24 Nov 2020 14:18:36 -0800 Subject: [PATCH] 0.0.1 --- assets/js/binary.js | 17714 ++++++++++++++++++++++-------------------- assets/version.txt | 2 +- pxt.json | 1 + 3 files changed, 9108 insertions(+), 8609 deletions(-) diff --git a/assets/js/binary.js b/assets/js/binary.js index 8dcbdda..a12c318 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.3.14/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.0","target":"arcade","targetVersion":"1.3.14"} -// total=1136225 new=6.25% cached=88.11% other=5.64% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.3.15/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.1","target":"arcade","targetVersion":"1.3.15","repo":"eanders-ms/arcade-webcam"} +// total=1144613 new=6.67% cached=87.75% other=5.58% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -382,7 +382,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P39276(s) { +function _main___P15864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -392,232 +392,232 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___27009 = (undefined); - globals._pollEventQueue___27018 = (undefined); - globals.minPriority___23855 = (1); + globals._intervals___3521 = (undefined); + globals._pollEventQueue___3530 = (undefined); + globals.minPriority___367 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, inline__P27021); - globals.listeners___27022 = (s.tmp_0); - globals.globalVolume___27075 = (null); - globals.playToneID___27082 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C25089_VT); + r0 = pxsim_Array__push(s.tmp_0, inline__P3533); + globals.listeners___3534 = (s.tmp_0); + globals.globalVolume___3587 = (null); + globals.playToneID___3594 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1601_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P25092_mk(s); + s.tmp_1 = music_Melody_constructor__P1604_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___25106 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C25089_VT); + globals.wawawawaa___1618 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1601_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P25092_mk(s); + s.tmp_1 = music_Melody_constructor__P1604_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___25109 = (s.tmp_0); - globals.brightness___25215 = (100); + globals.powerUp___1621 = (s.tmp_0); + globals.brightness___1727 = (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", _hex31256); - globals.font8___25236 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex7802); + globals.font8___1748 = (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", _hex31258); - globals.font12___25237 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex7804); + globals.font12___1749 = (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", _hex32729); - globals.font5___25241 = (s.tmp_0); - globals.__updated___27119 = (false); - r0 = pxsim.control.runInParallel(inline__P27122); - r0 = pxsim_pxtcore.setPalette(_hex27133); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex9275); + globals.font5___1753 = (s.tmp_0); + globals.__updated___3631 = (false); + r0 = pxsim.control.runInParallel(inline__P3634); + r0 = pxsim_pxtcore.setPalette(_hex3645); r0 = pxsim.image.create(160, 120); - globals.screen___25293 = (r0); - s.tmp_0 = control___screen_setupUpdate__P25255_mk(s); - s.tmp_0.arg0 = inline__P27140; + globals.screen___1805 = (r0); + s.tmp_0 = control___screen_setupUpdate__P1767_mk(s); + s.tmp_0.arg0 = inline__P3652; s.callLocIdx = 4; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___23878 = (inline__P27145); - globals.RUN_KEY___27150 = ("#run"); - globals.SCOPE_KEY___27151 = ("#scope"); - s.tmp_0 = settings_initScopes__P27162_mk(s); + globals.control_EventContext_onStats___390 = (inline__P3657); + globals.RUN_KEY___3662 = ("#run"); + globals.SCOPE_KEY___3663 = ("#scope"); + s.tmp_0 = settings_initScopes__P3674_mk(s); s.callLocIdx = 5; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25394_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1906_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25400_mk(s); + s.tmp_1 = controller_Button_constructor__P1912_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___25368 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25394_VT); + globals.A___1880 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1906_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25400_mk(s); + s.tmp_1 = controller_Button_constructor__P1912_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___25369 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25394_VT); + globals.B___1881 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1906_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25400_mk(s); + s.tmp_1 = controller_Button_constructor__P1912_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___25370 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25394_VT); + globals.left___1882 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1906_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25400_mk(s); + s.tmp_1 = controller_Button_constructor__P1912_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___25371 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25394_VT); + globals.up___1883 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1906_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25400_mk(s); + s.tmp_1 = controller_Button_constructor__P1912_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___25372 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25394_VT); + globals.right___1884 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1906_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25400_mk(s); + s.tmp_1 = controller_Button_constructor__P1912_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___25373 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25394_VT); + globals.down___1885 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1906_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25400_mk(s); + s.tmp_1 = controller_Button_constructor__P1912_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___25374 = (s.tmp_0); - globals._userEventsEnabled___27189 = (true); - globals.defaultRepeatDelay___27191 = (500); - globals.defaultRepeatInterval___27193 = (30); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C27199_VT); + globals.menu___1886 = (s.tmp_0); + globals._userEventsEnabled___3701 = (true); + globals.defaultRepeatDelay___3703 = (500); + globals.defaultRepeatInterval___3705 = (30); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C3711_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P25400_mk(s); + s.tmp_1 = controller_Button_constructor__P1912_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___25448 = (s.tmp_0); - s.tmp_0 = SpriteKind_create__P25622_mk(s); + globals.anyButton___1960 = (s.tmp_0); + s.tmp_0 = SpriteKind_create__P2134_mk(s); s.callLocIdx = 14; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___25623 = (r0); - s.tmp_0 = SpriteKind_create__P25622_mk(s); + globals.Player___2135 = (r0); + s.tmp_0 = SpriteKind_create__P2134_mk(s); s.callLocIdx = 15; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___25625 = (r0); - s.tmp_0 = SpriteKind_create__P25622_mk(s); + globals.Food___2137 = (r0); + s.tmp_0 = SpriteKind_create__P2134_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___25626 = (r0); + globals.Enemy___2138 = (r0); r0 = (100 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MAX_TIME_STEP___25663 = (r0); + globals.MAX_TIME_STEP___2175 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___25666 = (r0); - globals.infoState___27250 = (undefined); - s.tmp_0 = game_addScenePushHandler__P26038_mk(s); - s.tmp_0.arg0 = inline__P27254; + globals.MIN_MOVE_GAP___2178 = (r0); + globals.infoState___3762 = (undefined); + s.tmp_0 = game_addScenePushHandler__P2550_mk(s); + s.tmp_0.arg0 = inline__P3766; s.callLocIdx = 19; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P26040_mk(s); - s.tmp_0.arg0 = inline__P27269; + s.tmp_0 = game_addScenePopHandler__P2552_mk(s); + s.tmp_0.arg0 = inline__P3781; s.callLocIdx = 23; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___25928 = (r0); - globals.debug___26017 = (false); - globals.stats___26018 = (false); - globals.winEffect___26019 = (undefined); - globals.loseEffect___26020 = (undefined); - globals.loseSound___27364 = (undefined); - globals.winSound___27366 = (undefined); - s.tmp_0 = scene_systemMenu_initVolume__P27633_mk(s); + globals.scene_Scene_initializers___2440 = (r0); + globals.debug___2529 = (false); + globals.stats___2530 = (false); + globals.winEffect___2531 = (undefined); + globals.loseEffect___2532 = (undefined); + globals.loseSound___3876 = (undefined); + globals.winSound___3878 = (undefined); + s.tmp_0 = scene_systemMenu_initVolume__P4145_mk(s); s.callLocIdx = 24; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P27634_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P4146_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___25928, scene_systemMenu_register__P26122); - r0 = pxsim.image.ofBuffer(_hex27641); - globals.CARD_NORMAL___26127 = (r0); - r0 = pxsim.image.ofBuffer(_hex27643); - globals.CARD_SELECTED___26128 = (r0); - r0 = pxsim.image.ofBuffer(_hex27645); - globals.CARD_ACTIVE___26129 = (r0); - r0 = pxsim.image.ofBuffer(_hex27647); - globals.VOLUME_UP_ICON___26130 = (r0); - r0 = pxsim.image.ofBuffer(_hex27649); - globals.BRIGHTNESS_DOWN_ICON___26131 = (r0); - r0 = pxsim.image.ofBuffer(_hex27651); - globals.CLOSE_MENU_ICON___26132 = (r0); - r0 = pxsim.image.ofBuffer(_hex27653); - globals.VOLUME_DOWN_ICON___26133 = (r0); - r0 = pxsim.image.ofBuffer(_hex27655); - globals.SLEEP_ICON___26134 = (r0); - r0 = pxsim.image.ofBuffer(_hex27657); - globals.CONSOLE_ICON___26135 = (r0); - r0 = pxsim.image.ofBuffer(_hex27659); - globals.BRIGHTNESS_UP_ICON___26136 = (r0); - r0 = pxsim.image.ofBuffer(_hex27661); - globals.STATS_ICON___26137 = (r0); - globals.consoleColor___27664 = (1); - globals.tabSize___27667 = (8); - globals.consoleFont___27673 = (globals.font5___25241); - r0 = pxsim_ImageMethods.height(globals.screen___25293); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___2440, scene_systemMenu_register__P2634); + r0 = pxsim.image.ofBuffer(_hex4153); + globals.CARD_NORMAL___2639 = (r0); + r0 = pxsim.image.ofBuffer(_hex4155); + globals.CARD_SELECTED___2640 = (r0); + r0 = pxsim.image.ofBuffer(_hex4157); + globals.CARD_ACTIVE___2641 = (r0); + r0 = pxsim.image.ofBuffer(_hex4159); + globals.VOLUME_UP_ICON___2642 = (r0); + r0 = pxsim.image.ofBuffer(_hex4161); + globals.BRIGHTNESS_DOWN_ICON___2643 = (r0); + r0 = pxsim.image.ofBuffer(_hex4163); + globals.CLOSE_MENU_ICON___2644 = (r0); + r0 = pxsim.image.ofBuffer(_hex4165); + globals.VOLUME_DOWN_ICON___2645 = (r0); + r0 = pxsim.image.ofBuffer(_hex4167); + globals.SLEEP_ICON___2646 = (r0); + r0 = pxsim.image.ofBuffer(_hex4169); + globals.CONSOLE_ICON___2647 = (r0); + r0 = pxsim.image.ofBuffer(_hex4171); + globals.BRIGHTNESS_UP_ICON___2648 = (r0); + r0 = pxsim.image.ofBuffer(_hex4173); + globals.STATS_ICON___2649 = (r0); + globals.consoleColor___4176 = (1); + globals.tabSize___4179 = (8); + globals.consoleFont___4185 = (globals.font5___1753); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___27673; + s.tmp_5.arg0 = globals.consoleFont___4185; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -636,13 +636,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___27678 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___25293); + globals.consoleLines___4190 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___1805); 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___27673; + s.tmp_4.arg0 = globals.consoleFont___4185; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -657,22 +657,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___27688 = (r0); - s.tmp_0 = console_addListener__P23863_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P27700; + globals.consoleColumns___4200 = (r0); + s.tmp_0 = console_addListener__P375_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P4212; 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__P27704; + s.tmp_0.argL = inline__P4216; 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___27702 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C26207_VT); + globals.MAX_SOURCES___4214 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C2719_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P26208_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P2720_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -680,88 +680,95 @@ switch (step) { s.callLocIdx = 31; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - globals.defaultFactory___26187 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C26075_VT); + globals.defaultFactory___2699 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2587_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P26077_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P2589_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___27737 = (s.tmp_0); - globals.angleSlice___27745 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C26282_VT); + globals.galois___4249 = (s.tmp_0); + globals.angleSlice___4257 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C2794_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P26283_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P2795_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__P29288; + s.tmp_1.arg4 = inline__P5834; s.callLocIdx = 38; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.confetti___26290 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C26305_VT); + globals.confetti___2802 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C2817_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P26306_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P2818_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P33501; + s.tmp_1.arg2 = inline__P10047; s.callLocIdx = 44; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.dissolve___26310 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C26305_VT); + globals.dissolve___2822 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C2817_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P26306_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P2818_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P29180; + s.tmp_1.arg2 = inline__P5726; s.callLocIdx = 47; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.melt___26311 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C26320_VT); + globals.melt___2823 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C2832_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P26322_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P2834_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P27796; + s.tmp_1.arg1 = inline__P4308; s.callLocIdx = 48; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.shake___26323 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C26320_VT); + globals.shake___2835 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C2832_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P26322_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P2834_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P27809; + s.tmp_1.arg1 = inline__P4321; s.callLocIdx = 58; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.wave___26324 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P26022_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P25444; + globals.wave___2836 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P2534_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P1956; s.callLocIdx = 59; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = game_eventContext__P26024_mk(s); + s.tmp_0 = game_eventContext__P2536_mk(s); s.callLocIdx = 60; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - globals.currentFrame___26959 = (undefined); + s.tmp_0 = webcam_onFrameReceived__P3472_mk(s); + s.tmp_0.arg0 = inline__P5505; + s.callLocIdx = 62; s.pc = 33; return s.tmp_0; + case 33: + r0 = s.retval; + globals.CHANNEL___5512 = ("webcam"); + globals.initialized___5519 = (false); + globals.currentFrame___3471 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P39276.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -_main___P39276.continuations = [ ] +_main___P15864.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P15864.continuations = [ ] -function _main___P39276_mk(s) { +function _main___P15864_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P39276, depth: s.depth + 1, + parent: s, fn: _main___P15864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -771,26 +778,26 @@ function _main___P39276_mk(s) { tmp_5: undefined, } } -const _hex31256 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex31258 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex32729 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex27133 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex27641 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex27643 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex27645 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex27647 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex27649 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex27651 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex27653 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex27655 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex27657 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex27659 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex27661 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7802 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex7804 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex9275 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex3645 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex4153 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex4155 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex4157 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex4159 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4161 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4163 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4165 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4167 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4169 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4171 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4173 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function inline__P27122(s) { +function inline__P3634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -803,23 +810,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___27119 = (false); - s.tmp_0 = pause__P23893_mk(s); + globals.__updated___3631 = (false); + s.tmp_0 = pause__P405_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___27119); + r0 = pxsim_numops_toBoolDecr(globals.__updated___3631); 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__P25254_mk(s); + s.tmp_2 = control___screen_update__P1766_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___27119 = (true); + globals.__updated___3631 = (true); case 2: case 3: { step = 1; continue; } @@ -828,12 +835,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27122.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P3634.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function inline__P27122_mk(s) { +function inline__P3634_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27122, depth: s.depth + 1, + parent: s, fn: inline__P3634, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -844,7 +851,7 @@ function inline__P27122_mk(s) { -function inline__P27140(s) { +function inline__P3652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -854,17 +861,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___25293); + r0 = pxsim_pxtcore.updateScreen(globals.screen___1805); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P27140.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P3652.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function inline__P27140_mk(s) { +function inline__P3652_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27140, depth: s.depth + 1, + parent: s, fn: inline__P3652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -872,7 +879,7 @@ function inline__P27140_mk(s) { -function inline__P27145(s) { +function inline__P3657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -891,12 +898,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27145.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +inline__P3657.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__P27145_mk(s) { +function inline__P3657_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27145, depth: s.depth + 1, + parent: s, fn: inline__P3657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -905,7 +912,7 @@ function inline__P27145_mk(s) { -function inline__P27254(s) { +function inline__P3766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -919,36 +926,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___27250); + r0 = pxsim_numops_toBoolDecr(globals.infoState___3762); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___27252); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___3764); 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___27252 = (r0); + globals.infoStateStack___3764 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___27250); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___3762); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___27252, s.tmp_0); - globals.infoState___27250 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___3764, s.tmp_0); + globals.infoState___3762 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P27254.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P3766.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__P27254_mk(s) { +function inline__P3766_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27254, depth: s.depth + 1, + parent: s, fn: inline__P3766, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -959,7 +966,7 @@ function inline__P27254_mk(s) { -function inline__P27269(s) { +function inline__P3781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -969,30 +976,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___27270 = undefined; - s.nextState___27279 = undefined; - s.tmp_0 = game_currentScene__P26021_mk(s); + s.scene___3782 = undefined; + s.nextState___3791 = undefined; + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 20; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___27270 = (r0); - globals.infoState___27250 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___27252; + s.scene___3782 = (r0); + globals.infoState___3762 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___3764; 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___27252); + r0 = pxsim_Array__length(globals.infoStateStack___3764); 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___27252); - s.nextState___27279 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___3764); + s.nextState___3791 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___27279; + s.tmp_2.arg0 = s.nextState___3791; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1004,12 +1011,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___27270); + r0 = (s.tmp_1 == s.scene___3782); 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___27279; + s.tmp_3.arg0 = s.nextState___3791; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1020,10 +1027,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___27250 = (r0); + globals.infoState___3762 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___27252, s.nextState___27279); + r0 = pxsim_Array__push(globals.infoStateStack___3764, s.nextState___3791); case 4: case 5: case 6: @@ -1031,26 +1038,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27269.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P3781.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P27269_mk(s) { +function inline__P3781_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27269, depth: s.depth + 1, + parent: s, fn: inline__P3781, 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___27270: undefined, - nextState___27279: undefined, + scene___3782: undefined, + nextState___3791: undefined, } } -function inline__P27704(s) { +function inline__P4216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1060,13 +1067,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___27705 = undefined; - s.tmp_0 = control_ramSize__P23826_mk(s); + s.sz___4217 = undefined; + s.tmp_0 = control_ramSize__P338_mk(s); s.callLocIdx = 29; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___27705 = (r0); - r0 = (s.sz___27705 <= 102400); + s.sz___4217 = (r0); + r0 = (s.sz___4217 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -1074,7 +1081,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___27705 <= 204800); + r0 = (s.sz___4217 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -1091,23 +1098,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27704.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P4216.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function inline__P27704_mk(s) { +function inline__P4216_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27704, depth: s.depth + 1, + parent: s, fn: inline__P4216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___27705: undefined, + sz___4217: undefined, } } -function inline__P27796(s) { +function inline__P4308(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1137,12 +1144,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27796.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P4308.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -function inline__P27796_mk(s) { +function inline__P4308_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27796, depth: s.depth + 1, + parent: s, fn: inline__P4308, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1157,7 +1164,7 @@ function inline__P27796_mk(s) { -function inline__P27809(s) { +function inline__P4321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1186,7 +1193,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__P23615_mk(s); + s.tmp_7 = Math_sign__P127_mk(s); r0 = pxsim.Math_.sin(s.arg0); s.tmp_7.arg0 = r0; s.callLocIdx = 49; s.pc = 7; return s.tmp_7; @@ -1251,7 +1258,7 @@ switch (step) { } case 9: r0 = s.retval; - s.tmp_2 = Math_abs__P23614_mk(s); + s.tmp_2 = Math_abs__P126_mk(s); s.tmp_3 = if_yOffset_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -1323,12 +1330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27809.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__P4321.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__P27809_mk(s) { +function inline__P4321_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27809, depth: s.depth + 1, + parent: s, fn: inline__P4321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1348,7 +1355,7 @@ function inline__P27809_mk(s) { -function game_eventContext__P26024(s) { +function inline__P5505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1358,30 +1365,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P27375_mk(s); - s.tmp_0.arg0 = undefined; - s.callLocIdx = 811; s.pc = 1; return s.tmp_0; - case 1: + s.frame___5506 = undefined; + s.frame___5506 = (globals.currentFrame___3471); + r0 = pxsim_numops_toBoolDecr(s.frame___5506); + if (!r0) { step = 1; continue; } + s.tmp_0 = scene_setBackgroundImage__P2460_mk(s); + s.tmp_0.arg0 = s.frame___5506; + s.callLocIdx = 61; s.pc = 3; return s.tmp_0; + case 3: r0 = s.retval; - r0 = globals._scene___27367.fields["eventContext"]; + case 1: + case 2: + r0 = undefined; return leave(s, r0) default: oops() } } } -game_eventContext__P26024.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +inline__P5505.info = {"start":59,"length":108,"line":1,"column":23,"endLine":5,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} -function game_eventContext__P26024_mk(s) { +function inline__P5505_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P26024, depth: s.depth + 1, + parent: s, fn: inline__P5505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, + frame___5506: undefined, } } -function game_init__P27375(s) { +function scene_setBackgroundImage__P2460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1391,99 +1405,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: + s.scene___5660 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___27367); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(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; } + s.tmp_0 = game_currentScene__P2533_mk(s); + s.callLocIdx = 810; s.pc = 1; return s.tmp_0; case 1: - r0 = s.arg0; - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C25908_VT); - s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P25929_mk(s); - s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P23889_mk(s); - s.callLocIdx = 812; s.pc = 14; return s.tmp_5; - case 14: - r0 = s.retval; - s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___27367; - s.callLocIdx = 813; s.pc = 13; return s.tmp_4; - case 13: r0 = s.retval; - globals._scene___27367 = (s.tmp_3); - case 3: - case 4: - s.tmp_0 = scene_Scene_init__P25930_mk(s); - s.tmp_0.arg0 = globals._scene___27367; - s.callLocIdx = 814; s.pc = 15; return s.tmp_0; - case 15: + s.scene___5660 = (r0); + s.tmp_0 = scene_Background_image__P2280_mk(s); + r0 = s.scene___5660.fields["background"]; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = s.arg0; + s.callLocIdx = 811; s.pc = 2; return s.tmp_0; + case 2: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___26019); - 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___26019 = (globals.confetti___26290); - case 5: - case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___26020); - 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___26020 = (globals.melt___26311); - case 7: - case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___27366); - 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___27366 = (globals.powerUp___25109); - case 9: - case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___27364); - 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___27364 = (globals.wawawawaa___25106); - case 11: - case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P27375.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +scene_setBackgroundImage__P2460.info = {"start":1938,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -function game_init__P27375_mk(s) { +function scene_setBackgroundImage__P2460_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P27375, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundImage__P2460, 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, - tmp_5: undefined, + scene___5660: undefined, arg0: undefined, } } @@ -1491,7 +1442,7 @@ function game_init__P27375_mk(s) { -function inline__P29180(s) { +function scene_Background_image__P2280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1501,87 +1452,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___29183 = undefined; - s.j___29191 = undefined; - s.x___29196 = undefined; - s.y___29202 = undefined; - s.c___29208 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(s.arg0); - s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_1 * s.tmp_2); - s.tmp_0 = r0; - r0 = (s.tmp_0 >> 5); - s.rounds___29183 = (r0); - s.j___29191 = (0); - case 1: - r0 = (s.j___29191 < s.rounds___29183); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P26079_mk(s); - s.tmp_1.arg0 = s.arg1; - s.tmp_1.arg1 = 0; - r0 = pxsim_ImageMethods.width(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_2 - 1); - s.tmp_1.arg2 = r0; - s.callLocIdx = 45; s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.x___29196 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P26079_mk(s); - s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = 0; - r0 = pxsim_ImageMethods.height(s.arg0); - s.tmp_1 = r0; - r0 = (s.tmp_1 - 3); - s.tmp_0.arg2 = r0; - s.callLocIdx = 46; s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.y___29202 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___29196, s.y___29202); - s.c___29208 = (r0); - s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___29196; - r0 = (s.y___29202 + 1); - s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___29208); - s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___29196; - r0 = (s.y___29202 + 2); - s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___29208); - r0 = (s.j___29191 + 1); - s.j___29191 = (r0); - { step = 1; continue; } - case 2: + r0 = s.arg0; + if (!checkSubtype(r0, scene_Background__C2273_VT)) failedCast(r0); + r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P29180.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +scene_Background_image__P2280.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 inline__P29180_mk(s) { +function scene_Background_image__P2280_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29180, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P2280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - rounds___29183: undefined, - j___29191: undefined, - x___29196: undefined, - y___29202: undefined, - c___29208: undefined, arg0: undefined, arg1: undefined, } } @@ -1590,7 +1479,7 @@ function inline__P29180_mk(s) { -function Math_FastRandom_randomRange__P26079(s) { +function scene_Background_image__P2279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1602,43 +1491,39 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C26075_VT)) failedCast(r0); - r0 = (s.arg2 > s.arg1); + if (!checkSubtype(r0, scene_Background__C2273_VT)) failedCast(r0); + r0 = s.arg0.fields["_image"]; + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + 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 = Math_FastRandom_next__P26078_mk(s); - s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 838; s.pc = 3; return s.tmp_2; - case 3: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.arg2 - s.arg1); + s.tmp_3 = r0 = s.arg0; + r0 = pxsim_ImageMethods.width(globals.screen___1805); + s.tmp_5 = r0; + r0 = pxsim_ImageMethods.height(globals.screen___1805); + s.tmp_6 = r0; + r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 + 1); - s.tmp_3 = r0; - r0 = (s.tmp_1 % s.tmp_3); - { step = 2; continue; } + r0 = (s.tmp_3).fields["_image"] = (s.tmp_4); case 1: - r0 = 0; case 2: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = (s.arg1 + s.tmp_5); - return leave(s, r0) + r0 = s.arg0.fields["_image"]; + return leaveAccessor(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P26079.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"]} +scene_Background_image__P2279.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__P2279.isGetter = true; -function Math_FastRandom_randomRange__P26079_mk(s) { +function scene_Background_image__P2279_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P26079, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P2279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1646,16 +1531,15 @@ function Math_FastRandom_randomRange__P26079_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, + tmp_6: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, } } -function Math_FastRandom_next__P26078(s) { +function webcam_onFrameReceived__P3472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1669,43 +1553,34 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C26075_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - r0 = s.arg0.fields["lfsr"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 >> 1); - s.tmp_2 = r0; - r0 = s.arg0.fields["lfsr"]; - s.tmp_7 = r0; - r0 = (s.tmp_7 & 1); - s.tmp_6 = r0; - r0 = (0 - s.tmp_6); - s.tmp_5 = r0; - r0 = (s.tmp_5 & 46080); - s.tmp_4 = r0; - r0 = (s.tmp_2 ^ s.tmp_4); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["lfsr"] = (s.tmp_1); - r0 = s.tmp_1; + s.tmp_0 = webcam_init__P5522_mk(s); + s.callLocIdx = 63; s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = pxsim_pxtcore_mkAction(1, inline__P5526); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = control_onEvent__P383_mk(s); + s.tmp_1.arg0 = 4567; + s.tmp_1.arg1 = 1; + s.tmp_1.arg2 = s.tmp_0; + s.tmp_1.arg3 = 16; + s.callLocIdx = 65; s.pc = 2; return s.tmp_1; + case 2: + r0 = s.retval; + r0 = undefined; return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P26078.info = {"start":1713,"length":107,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} +webcam_onFrameReceived__P3472.info = {"start":417,"length":198,"line":17,"column":4,"endLine":23,"endColumn":5,"fileName":"main.ts","functionName":"onFrameReceived","argumentNames":["handler"]} -function Math_FastRandom_next__P26078_mk(s) { +function webcam_onFrameReceived__P3472_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P26078, depth: s.depth + 1, + parent: s, fn: webcam_onFrameReceived__P3472, 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, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, arg0: undefined, } } @@ -1713,7 +1588,45 @@ function Math_FastRandom_next__P26078_mk(s) { -function effects_ImageEffect_constructor__P26306(s) { +function inline__P5526(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + r0 = pxsim_numops_toBoolDecr(s.caps[0]); + if (!r0) { step = 1; continue; } + s.tmp_0 = lambda_1_mk(s); + s.tmp_0.argL = s.caps[0]; + setupLambda(s.tmp_0, s.tmp_0.argL); + s.callLocIdx = 64; s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + case 1: + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P5526.info = {"start":534,"length":74,"line":19,"column":47,"endLine":22,"endColumn":9,"fileName":"main.ts","functionName":"inline","argumentNames":[]} + +function inline__P5526_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P5526, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, +} } + + + + + +function control_onEvent__P383(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1723,49 +1636,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: + s.ctx___5579 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); + s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C26305_VT)) failedCast(r0); - r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C26075_VT); + s.tmp_0 = control_eventContext__P400_mk(s); + s.callLocIdx = 39; s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + s.ctx___5579 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___5579); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P26077_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = undefined; - s.callLocIdx = 1131; s.pc = 1; return s.tmp_1; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = pxsim.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); + { step = 2; continue; } case 1: + s.tmp_0 = control_EventContext_registerHandler__P397_mk(s); + s.tmp_0.arg0 = s.ctx___5579; + s.tmp_0.arg1 = s.arg0; + s.tmp_0.arg2 = s.arg1; + s.tmp_0.arg3 = s.arg2; + s.tmp_0.arg4 = s.arg3; + s.callLocIdx = 40; s.pc = 4; return s.tmp_0; + case 4: r0 = s.retval; - r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); - r0 = (s.arg0).fields["preferredDelay"] = (s.arg1); - r0 = (s.arg0).fields["times"] = (undefined); + case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P26306.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"]} +control_onEvent__P383.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 effects_ImageEffect_constructor__P26306_mk(s) { +function control_onEvent__P383_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P26306, depth: s.depth + 1, + parent: s, fn: control_onEvent__P383, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, + ctx___5579: undefined, arg0: undefined, arg1: undefined, arg2: undefined, + arg3: undefined, } } -function inline__P29288(s) { +function control_eventContext__P400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1775,98 +1702,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___29291 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C26234_VT); - s.tmp_0 = r0; - s.tmp_2 = if_width_1_mk(s); - s.tmp_2.arg0 = s.arg0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "width"); - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["width"]; - if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["width"]; } - else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 33; s.pc = 3; return s.tmp_2; } - } - case 3: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3556); if (!r0) { step = 1; continue; } - s.tmp_3 = if_width_1_mk(s); - s.tmp_3.arg0 = s.arg0; - if (!s.tmp_3.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "width"); - } else { - s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["width"]; - if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["width"]; } - else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 34; s.pc = 4; return s.tmp_3; } - } - case 4: - r0 = s.retval; + s.tmp_0 = r0 = globals.eventContexts___3556; + r0 = pxsim_Array__length(globals.eventContexts___3556); + s.tmp_2 = r0; + r0 = (s.tmp_2 - 1); + s.tmp_1 = r0; + r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); { step = 2; continue; } case 1: - r0 = 16; + r0 = undefined; case 2: // jmp value (already in r0) - s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P26235_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___29291 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P26211_mk(s); - s.tmp_0.arg0 = s.factory___29291; - 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__C26167_VT); - s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P26172_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___29291; - s.callLocIdx = 37; s.pc = 7; return s.tmp_1; - case 7: - r0 = s.retval; - r0 = s.tmp_0; + s.tmp_3 = r0; + r0 = s.tmp_3; return leave(s, r0) default: oops() } } } -inline__P29288.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +control_eventContext__P400.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function inline__P29288_mk(s) { +function control_eventContext__P400_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29288, depth: s.depth + 1, + parent: s, fn: control_eventContext__P400, 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, - tmp_5: undefined, - factory___29291: undefined, - arg0: undefined, - arg1: undefined, } } -function particles_ParticleSource_constructor__P26172(s) { +function control_EventContext_registerHandler__P397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1876,130 +1747,113 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___29312 = undefined; - s.removedSource___29321 = undefined; + s.h___5602 = undefined; + s.unnamed54___U1 = undefined; + s.unnamed55___U2 = undefined; + s.hn___5625 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.arg3 = (s.lambdaArgs[3]); + s.arg4 = (s.lambdaArgs[4]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P25351_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 0; - s.callLocIdx = 1007; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, control_EventContext__C387_VT)) failedCast(r0); + s.h___5602 = (undefined); + r0 = s.arg0.fields["handlers"]; + s.unnamed54___U1 = (r0); + s.unnamed55___U2 = (0); + case 1: + s.tmp_0 = r0 = s.unnamed55___U2; + r0 = pxsim_Array__length(s.unnamed54___U1); + s.tmp_1 = r0; + r0 = (s.tmp_0 < s.tmp_1); + if (!r0) { step = 6; continue; } + r0 = pxsim_Array__getAt(s.unnamed54___U1, s.unnamed55___U2); + s.h___5602 = (r0); + r0 = s.h___5602.fields["src"]; + s.tmp_3 = r0; + r0 = (s.tmp_3 == s.arg1); + s.tmp_2 = r0; + r0 = pxsim_numops_toBool(s.tmp_2); + if (r0) { step = 2; continue; } + r0 = s.tmp_2; + { step = 3; continue; } + case 2: + r0 = s.h___5602.fields["value"]; + s.tmp_4 = r0; + r0 = (s.tmp_4 == s.arg2); + case 3: + // jmp value (already in r0) + s.tmp_5 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_5); + if (!r0) { step = 4; continue; } + r0 = (s.h___5602).fields["flags"] = (s.arg4); + r0 = (s.h___5602).fields["handler"] = (s.arg3); + { step = 7; continue; } + case 4: case 5: - r0 = s.retval; - s.tmp_0 = particles_init__P27725_mk(s); - s.callLocIdx = 1008; s.pc = 6; return s.tmp_0; + r0 = (s.unnamed55___U2 + 1); + s.unnamed55___U2 = (r0); + { step = 1; continue; } case 6: - r0 = s.retval; - s.tmp_0 = particles_particleSources__P27731_mk(s); - s.callLocIdx = 1009; s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - s.sources___29312 = (r0); - r0 = pxsim_Array__length(s.sources___29312); - s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___27702); + s.unnamed54___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C3548_VT); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P27728_mk(s); - s.tmp_2.arg0 = s.sources___29312; - s.callLocIdx = 1010; s.pc = 8; return s.tmp_2; + s.tmp_1 = control_EventHandler_constructor__P3551_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = s.arg1; + s.tmp_1.arg2 = s.arg2; + s.tmp_1.arg3 = s.arg3; + s.tmp_1.arg4 = s.arg4; + s.callLocIdx = 52; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___29312, 0); - s.removedSource___29321 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P26182_mk(s); - s.tmp_0.arg0 = s.removedSource___29321; - s.callLocIdx = 1012; s.pc = 9; return s.tmp_0; + s.hn___5625 = (s.tmp_0); + r0 = s.arg0.fields["handlers"]; + s.tmp_0 = r0; + r0 = pxsim_Array__push(s.tmp_0, s.hn___5625); + s.tmp_0 = control_EventHandler_register__P3549_mk(s); + s.tmp_0.arg0 = s.hn___5625; + s.callLocIdx = 53; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P26181_mk(s); - s.tmp_0.arg0 = s.removedSource___29321; - s.callLocIdx = 1013; 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__P26184_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1014; s.pc = 11; return s.tmp_0; - case 11: - r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P26176_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 0; - s.callLocIdx = 1015; s.pc = 12; return s.tmp_0; - case 12: - r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P26183_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1016; s.pc = 13; return s.tmp_0; - case 13: - r0 = s.retval; - r0 = (s.arg0).fields["lifespan"] = (undefined); - r0 = (s.arg0).fields["_dt"] = (0); - r0 = (s.arg0).fields["priority"] = (0); - s.tmp_0 = r0 = s.arg3; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = s.tmp_0; - { step = 4; continue; } - case 3: - r0 = globals.defaultFactory___26187; - case 4: - // jmp value (already in r0) - s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P26186_mk(s); - s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1017; s.pc = 14; return s.tmp_2; - case 14: - r0 = s.retval; - r0 = pxsim_Array__push(s.sources___29312, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P26180_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = true; - s.callLocIdx = 1018; s.pc = 15; return s.tmp_0; - case 15: - r0 = s.retval; + case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P26172.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"]} +control_EventContext_registerHandler__P397.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 particles_ParticleSource_constructor__P26172_mk(s) { +function control_EventContext_registerHandler__P397_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P26172, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___29312: undefined, - removedSource___29321: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + h___5602: undefined, + unnamed54___U1: undefined, + unnamed55___U2: undefined, + hn___5625: undefined, arg0: undefined, arg1: undefined, arg2: undefined, arg3: undefined, + arg4: undefined, } } -function particles_particleSources__P27731(s) { +function control_EventHandler_constructor__P3551(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2009,33 +1863,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___29749 = undefined; - s.tmp_0 = game_currentScene__P26021_mk(s); - s.callLocIdx = 1069; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = r0.fields["particleSources"]; - s.sources___29749 = (r0); - r0 = s.sources___29749; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.arg3 = (s.lambdaArgs[3]); + s.arg4 = (s.lambdaArgs[4]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, control_EventHandler__C3548_VT)) failedCast(r0); + r0 = (s.arg0).fields["src"] = (s.arg1); + r0 = (s.arg0).fields["value"] = (s.arg2); + r0 = (s.arg0).fields["handler"] = (s.arg3); + r0 = (s.arg0).fields["flags"] = (s.arg4); + r0 = undefined; return leave(s, r0) default: oops() } } } -particles_particleSources__P27731.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +control_EventHandler_constructor__P3551.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 particles_particleSources__P27731_mk(s) { +function control_EventHandler_constructor__P3551_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P27731, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P3551, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - sources___29749: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, + arg4: undefined, } } -function particles_sortSources__P27728(s) { +function control_EventHandler_register__P3549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2049,24 +1913,33 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P23592_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P29619; - s.callLocIdx = 1056; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; + r0 = s.arg0; + if (!checkSubtype(r0, control_EventHandler__C3548_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P5646); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + r0 = s.arg0.fields["src"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["value"]; + s.tmp_2 = r0; + r0 = s.arg0.fields["flags"]; + s.tmp_3 = r0; + r0 = pxsim.control.internalOnEvent(s.tmp_1, s.tmp_2, s.tmp_0, s.tmp_3); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_sortSources__P27728.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} +control_EventHandler_register__P3549.info = {"start":961,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function particles_sortSources__P27728_mk(s) { +function control_EventHandler_register__P3549_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P27728, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P3549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, arg0: undefined, } } @@ -2074,7 +1947,7 @@ function particles_sortSources__P27728_mk(s) { -function inline__P29619(s) { +function inline__P5646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2084,56 +1957,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0.fields["priority"]; - s.tmp_1 = r0; - r0 = s.arg1.fields["priority"]; - s.tmp_2 = r0; - r0 = (s.tmp_1 - s.tmp_2); + r0 = s.caps[0].fields["handler"]; s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + s.tmp_1 = if_handler_1_mk(s); + s.tmp_1.arg0 = s.caps[0]; + if (!s.tmp_1.arg0.vtable.iface) { + setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "handler"), 1); + s.callLocIdx = 41; s.pc = 3; return s.tmp_1; + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["handler"]; + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["handler"], 1); s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 41; s.pc = 3; return s.tmp_1;; } + else { s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } + } + case 3: + r0 = s.retval; case 1: - r0 = s.arg0.fields["id"]; - s.tmp_3 = r0; - r0 = s.arg1.fields["id"]; - s.tmp_4 = r0; - r0 = (s.tmp_3 - s.tmp_4); case 2: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = s.tmp_5; + r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P29619.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__P5646.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P29619_mk(s) { +function inline__P5646_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29619, depth: s.depth + 1, + parent: s, fn: inline__P5646, 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, - tmp_5: undefined, - arg0: undefined, - arg1: undefined, } } -function helpers_arraySort__P23592(s) { +function webcam_init__P5522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2143,60 +2005,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = pxsim_numops_toBoolDecr(s.arg1); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(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; } + r0 = pxsim_numops_toBoolDecr(globals.initialized___5519); + if (!r0) { step = 1; continue; } + { step = 3; continue; } case 1: - r0 = pxsim_Array__length(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_2 > 1); case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 3; continue; } - s.arg1 = (inline__P29642); - case 3: + globals.initialized___5519 = (true); + s.tmp_0 = control_simmessages_onReceived__P424_mk(s); + s.tmp_0.arg0 = globals.CHANNEL___5512; + s.tmp_0.arg1 = inline__P5533; + s.callLocIdx = 66; s.pc = 4; return s.tmp_0; case 4: - s.tmp_0 = helpers_sortHelper__P26969_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2; s.pc = 5; return s.tmp_0; - case 5: r0 = s.retval; + case 3: + r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arraySort__P23592.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"]} +webcam_init__P5522.info = {"start":621,"length":321,"line":25,"column":4,"endLine":34,"endColumn":5,"fileName":"main.ts","functionName":"init","argumentNames":[]} -function helpers_arraySort__P23592_mk(s) { +function webcam_init__P5522_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P23592, depth: s.depth + 1, + parent: s, fn: webcam_init__P5522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - arg0: undefined, - arg1: undefined, } } -function inline__P29642(s) { +function inline__P5533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2206,142 +2046,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___29645 = undefined; - s.bIsUndef___29649 = undefined; - s.aIsNull___29660 = undefined; - s.bIsNull___29664 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 === undefined); - s.aIsUndef___29645 = (r0); - r0 = (s.arg1 === undefined); - s.bIsUndef___29649 = (r0); - s.tmp_0 = r0 = s.aIsUndef___29645; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } - case 1: - r0 = s.bIsUndef___29649; - case 2: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 3; continue; } - r0 = 0; - { step = 17; continue; } - { step = 8; continue; } - case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___29645); - if (!r0) { step = 4; continue; } - r0 = 1; - { step = 17; continue; } - { step = 7; continue; } - case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___29649); - if (!r0) { step = 5; continue; } - r0 = -1; - { step = 17; continue; } - case 5: - case 6: - case 7: - case 8: - r0 = (s.arg0 === null); - s.aIsNull___29660 = (r0); - r0 = (s.arg1 === null); - s.bIsNull___29664 = (r0); - s.tmp_0 = r0 = s.aIsNull___29660; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 9; continue; } - r0 = s.tmp_0; - { step = 10; continue; } - case 9: - r0 = s.bIsNull___29664; - case 10: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 11; continue; } - r0 = 0; - { step = 17; continue; } - { step = 16; continue; } - case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___29660); - if (!r0) { step = 12; continue; } - r0 = 1; - { step = 17; continue; } - { step = 15; continue; } - case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___29664); - if (!r0) { step = 13; continue; } - r0 = -1; - { step = 17; continue; } - case 13: - case 14: - case 15: - case 16: - if ((s.arg0) && (s.arg0).vtable) { - setupResume(s, 18); - pxsim_String__stringConv(s.arg0); - checkResumeConsumed(); - return; - } else { s.retval = (s.arg0) + ""; } - case 18: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String_.mkEmpty(); - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.tmp_2 = r0; - if ((s.arg1) && (s.arg1).vtable) { - setupResume(s, 19); - pxsim_String__stringConv(s.arg1); - checkResumeConsumed(); - return; - } else { s.retval = (s.arg1) + ""; } - case 19: - r0 = s.retval; - s.tmp_6 = r0; - r0 = pxsim_String_.mkEmpty(); - s.tmp_7 = r0; - r0 = pxsim_String__concat(s.tmp_6, s.tmp_7); - s.tmp_5 = r0; - r0 = pxsim_String_.compare(s.tmp_2, s.tmp_5); - case 17: + r0 = pxsim.image.ofBuffer(s.arg0); + globals.currentFrame___3471 = (r0); + r0 = pxsim.control.raiseEvent(4567, 1); + r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P29642.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__P5533.info = {"start":757,"length":178,"line":29,"column":48,"endLine":33,"endColumn":9,"fileName":"main.ts","functionName":"inline","argumentNames":["msg"]} -function inline__P29642_mk(s) { +function inline__P5533_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29642, depth: s.depth + 1, + parent: s, fn: inline__P5533, 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, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - aIsUndef___29645: undefined, - bIsUndef___29649: undefined, - aIsNull___29660: undefined, - bIsNull___29664: undefined, arg0: undefined, - arg1: undefined, } } -function helpers_sortHelper__P26969(s) { +function control_simmessages_onReceived__P424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2351,163 +2081,64 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___29699 = undefined; - s.i___29702 = undefined; - s.j___29708 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_Array__length(s.arg0); + r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 <= 0); + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + { step = 5; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.arg1); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); case 2: - // jmp value (already in r0) + r0 = pxsim_numops_toBoolDecr(globals.handlers___3562); s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); + r0 = pxsim_Boolean__bang(s.tmp_3); + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = s.arg0; - { step = 11; continue; } + r0 = pxsim_pxtrt.mkMap(); + globals.handlers___3562 = (r0); case 3: case 4: - r0 = pxsim_Array__length(s.arg0); - s.len___29699 = (r0); - s.i___29702 = (0); - case 5: - s.tmp_1 = r0 = s.i___29702; - r0 = (s.len___29699 - 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___29702 + 1); - s.j___29708 = (r0); + r0 = pxsim_pxtrt.mapSetGeneric(globals.handlers___3562, s.arg0, s.arg1); + s.tmp_0 = control_onEvent__P383_mk(s); + s.tmp_0.arg0 = 2999; + s.tmp_0.arg1 = 1; + s.tmp_0.arg2 = control_simmessages_consumeMessages__P3563; + s.tmp_0.arg3 = 16; + s.callLocIdx = 60; s.pc = 6; return s.tmp_0; case 6: - r0 = (s.j___29708 < s.len___29699); - 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___29702); - s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___29708); - s.tmp_3.arg1 = r0; - setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 0; s.pc = 12; return s.tmp_3; - case 12: - r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_2 > 0); - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P26968_mk(s); - s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___29702; - s.tmp_4.arg2 = s.j___29708; - s.callLocIdx = 1; s.pc = 13; return s.tmp_4; - case 13: r0 = s.retval; - case 7: - case 8: - r0 = (s.j___29708 + 1); - s.j___29708 = (r0); - { step = 6; continue; } - case 9: - r0 = (s.i___29702 + 1); - s.i___29702 = (r0); - { step = 5; continue; } - case 10: - r0 = s.arg0; - case 11: - return leave(s, r0) - default: oops() -} } } -helpers_sortHelper__P26969.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__P26969_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: helpers_sortHelper__P26969, 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___29699: undefined, - i___29702: undefined, - j___29708: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function helpers_swap__P26968(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.temp___29737 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___29737 = (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___29737); + case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P26968.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"]} +control_simmessages_onReceived__P424.info = {"start":1063,"length":293,"line":32,"column":4,"endLine":39,"endColumn":5,"fileName":"pxt_modules/base/controlmessage.ts","functionName":"onReceived","argumentNames":["channel","handler"]} -function helpers_swap__P26968_mk(s) { +function control_simmessages_onReceived__P424_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P26968, depth: s.depth + 1, + parent: s, fn: control_simmessages_onReceived__P424, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___29737: undefined, + tmp_3: undefined, arg0: undefined, arg1: undefined, - arg2: undefined, } } -function particles_init__P27725(s) { +function control_simmessages_consumeMessages__P3563(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2517,59 +2148,72 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___29754 = undefined; - s.tmp_0 = game_currentScene__P26021_mk(s); - s.callLocIdx = 1046; s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.scene___29754 = (r0); - r0 = s.scene___29754.fields["particleSources"]; + s.channel___5559 = undefined; + s.msg___5564 = undefined; + s.handler___5567 = undefined; + case 1: + r0 = pxsim_numops_toBoolDecr(true); + if (!r0) { step = 8; continue; } + r0 = pxsim_pxtcore.peekMessageChannel(); + s.channel___5559 = (r0); + r0 = pxsim_numops_toBoolDecr(s.channel___5559); + 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; } - { step = 3; continue; } - case 1: + if (!r0) { step = 2; continue; } + { step = 8; continue; } case 2: - s.tmp_1 = r0 = s.scene___29754; - r0 = pxsim_Array__mk(); - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); - r0 = pxsim.control.millis(); - globals.lastUpdate___27720 = (r0); - s.tmp_0 = game_onUpdate__P26032_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P27726; - s.callLocIdx = 1047; s.pc = 5; return s.tmp_0; + case 3: + r0 = pxsim_pxtcore.readMessageData(); + s.msg___5564 = (r0); + s.tmp_0 = r0 = globals.handlers___3562; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 4; continue; } + r0 = s.tmp_0; + { step = 5; continue; } + case 4: + r0 = pxsim_pxtrt.mapGetGeneric(globals.handlers___3562, s.channel___5559); case 5: + // jmp value (already in r0) + s.tmp_1 = r0; + s.handler___5567 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.handler___5567); + if (!r0) { step = 6; continue; } + s.tmp_0 = lambda_2_mk(s); + s.tmp_0.argL = s.handler___5567; + s.tmp_0.arg0 = s.msg___5564; + setupLambda(s.tmp_0, s.tmp_0.argL); + s.callLocIdx = 59; s.pc = 9; return s.tmp_0; + case 9: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P26033_mk(s); - s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P27727; - s.callLocIdx = 1048; s.pc = 6; return s.tmp_0; case 6: - r0 = s.retval; - case 3: + case 7: + { step = 1; continue; } + case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_init__P27725.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +control_simmessages_consumeMessages__P3563.info = {"start":564,"length":414,"line":15,"column":4,"endLine":27,"endColumn":5,"fileName":"pxt_modules/base/controlmessage.ts","functionName":"consumeMessages","argumentNames":[]} -function particles_init__P27725_mk(s) { +function control_simmessages_consumeMessages__P3563_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P27725, depth: s.depth + 1, + parent: s, fn: control_simmessages_consumeMessages__P3563, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - tmp_2: undefined, - scene___29754: undefined, + channel___5559: undefined, + msg___5564: undefined, + handler___5567: undefined, } } -function particles_pruneParticles__P27727(s) { +function game_eventContext__P2536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2579,51 +2223,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___29769 = undefined; - s.tmp_0 = particles_particleSources__P27731_mk(s); - s.callLocIdx = 1052; s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.sources___29769 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___29769); - if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P23596_mk(s); - s.tmp_1 = helpers_arraySlice__P23602_mk(s); - s.tmp_1.arg0 = s.sources___29769; - s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___29769); - s.tmp_1.arg2 = r0; - s.callLocIdx = 1053; s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P29778; - s.callLocIdx = 1055; s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; + s.tmp_0 = game_init__P3887_mk(s); + s.tmp_0.arg0 = undefined; + s.callLocIdx = 813; s.pc = 1; return s.tmp_0; case 1: - case 2: - r0 = undefined; + r0 = s.retval; + r0 = globals._scene___3879.fields["eventContext"]; return leave(s, r0) default: oops() } } } -particles_pruneParticles__P27727.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +game_eventContext__P2536.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function particles_pruneParticles__P27727_mk(s) { +function game_eventContext__P2536_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P27727, depth: s.depth + 1, + parent: s, fn: game_eventContext__P2536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - sources___29769: undefined, } } -function inline__P29778(s) { +function game_init__P3887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2637,171 +2260,88 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P26175_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1054; s.pc = 1; return s.tmp_0; + r0 = pxsim_numops_toBoolDecr(globals._scene___3879); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(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.arg0; + case 2: + // jmp value (already in r0) + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + if (!r0) { step = 3; continue; } + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C2420_VT); + s.tmp_3 = r0; + s.tmp_4 = scene_Scene_constructor__P2441_mk(s); + s.tmp_4.arg0 = s.tmp_3; + s.tmp_5 = control_pushEventContext__P401_mk(s); + s.callLocIdx = 814; s.pc = 14; return s.tmp_5; + case 14: r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P29778.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__P29778_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P29778, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function particles_ParticleSource__prune__P26175(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.scene___29566 = undefined; - s.sources___29574 = undefined; - s.current___29588 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); - case 1: - r0 = s.arg0.fields["head"]; - 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.arg0.fields["head"]; - r0 = r0.fields["lifespan"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 <= 0); + s.tmp_4.arg1 = r0; + s.tmp_4.arg2 = globals._scene___3879; + s.callLocIdx = 815; s.pc = 13; return s.tmp_4; + case 13: + r0 = s.retval; + globals._scene___3879 = (s.tmp_3); case 3: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 4; continue; } - r0 = s.arg0.fields["head"]; - r0 = r0.fields["next"]; - s.tmp_3 = r0; - r0 = (s.arg0).fields["head"] = (s.tmp_3); - { step = 1; continue; } case 4: - r0 = s.arg0.fields["pFlags"]; + s.tmp_0 = scene_Scene_init__P2442_mk(s); + s.tmp_0.arg0 = globals._scene___3879; + s.callLocIdx = 816; s.pc = 15; return s.tmp_0; + case 15: + r0 = s.retval; + r0 = pxsim_numops_toBoolDecr(globals.winEffect___2531); s.tmp_1 = r0; - r0 = (s.tmp_1 & 2); + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 5; continue; } - r0 = s.tmp_0; - { step = 6; continue; } + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 5; continue; } + globals.winEffect___2531 = (globals.confetti___2802); case 5: - r0 = s.arg0.fields["head"]; - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); case 6: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P26021_mk(s); - s.callLocIdx = 1027; s.pc = 21; return s.tmp_5; - case 21: - r0 = s.retval; - s.scene___29566 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___29566); - if (!r0) { step = 7; continue; } - r0 = s.scene___29566.fields["allSprites"]; + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___2532); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 7; continue; } + globals.loseEffect___2532 = (globals.melt___2823); case 7: case 8: - s.tmp_0 = particles_particleSources__P27731_mk(s); - s.callLocIdx = 1028; s.pc = 22; return s.tmp_0; - case 22: - r0 = s.retval; - s.sources___29574 = (r0); - s.tmp_0 = r0 = s.sources___29574; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 9; continue; } - r0 = s.tmp_0; - { step = 10; continue; } + r0 = pxsim_numops_toBoolDecr(globals.winSound___3878); + 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___3878 = (globals.powerUp___1621); case 9: - r0 = pxsim_Array__length(s.sources___29574); case 10: - // jmp value (already in r0) + r0 = pxsim_numops_toBoolDecr(globals.loseSound___3876); s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = pxsim_Array_.removeElement(s.sources___29574, s.arg0); + globals.loseSound___3876 = (globals.wawawawaa___1618); case 11: case 12: - r0 = s.arg0.fields["anchor"]; - s.tmp_0 = r0; - r0 = (s.tmp_0 == undefined); - case 13: - case 14: - r0 = s.arg0.fields["head"]; - s.current___29588 = (r0); - case 15: - s.tmp_0 = r0 = s.current___29588; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 16; continue; } - r0 = s.tmp_0; - { step = 17; continue; } - case 16: - r0 = s.current___29588.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___29588.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___29588.fields["next"]; - r0 = r0.fields["next"]; - s.tmp_4 = r0; - r0 = (s.current___29588).fields["next"] = (s.tmp_4); - { step = 19; continue; } - case 18: - r0 = s.current___29588.fields["next"]; - s.current___29588 = (r0); - case 19: - { step = 15; continue; } - case 20: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P26175.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} +game_init__P3887.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function particles_ParticleSource__prune__P26175_mk(s) { +function game_init__P3887_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P26175, depth: s.depth + 1, + parent: s, fn: game_init__P3887, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2809,9 +2349,6 @@ function particles_ParticleSource__prune__P26175_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___29566: undefined, - sources___29574: undefined, - current___29588: undefined, arg0: undefined, } } @@ -2819,7 +2356,7 @@ function particles_ParticleSource__prune__P26175_mk(s) { -function helpers_arraySlice__P23602(s) { +function inline__P5726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2829,114 +2366,96 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___29785 = undefined; - s.len___29787 = undefined; - s.i___29821 = undefined; + s.rounds___5729 = undefined; + s.j___5737 = undefined; + s.x___5742 = undefined; + s.y___5748 = undefined; + s.c___5754 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = pxsim_Array__mk(); - s.res___29785 = (r0); - r0 = pxsim_Array__length(s.arg0); - s.len___29787 = (r0); - r0 = (s.arg1 === undefined); + r0 = pxsim_ImageMethods.width(s.arg0); + s.tmp_1 = r0; + r0 = pxsim_ImageMethods.height(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 = 1; continue; } - s.arg1 = (0); - { step = 4; continue; } + r0 = (s.tmp_0 >> 5); + s.rounds___5729 = (r0); + s.j___5737 = (0); case 1: - r0 = (s.arg1 < 0); + r0 = (s.j___5737 < s.rounds___5729); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P23616_mk(s); - r0 = (s.len___29787 + s.arg1); - s.tmp_1.arg0 = r0; + s.tmp_1 = Math_FastRandom_randomRange__P2591_mk(s); + s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; - s.callLocIdx = 8; s.pc = 16; return s.tmp_1; - case 16: - r0 = s.retval; - s.arg1 = (r0); - case 2: + r0 = pxsim_ImageMethods.width(s.arg0); + s.tmp_2 = r0; + r0 = (s.tmp_2 - 1); + s.tmp_1.arg2 = r0; + s.callLocIdx = 45; s.pc = 3; return s.tmp_1; case 3: - case 4: - r0 = (s.arg1 > s.len___29787); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 5; continue; } - r0 = s.res___29785; - { step = 15; continue; } - case 5: - case 6: - r0 = (s.arg2 === undefined); + r0 = s.retval; + s.x___5742 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2591_mk(s); + s.tmp_0.arg0 = s.arg1; + s.tmp_0.arg1 = 0; + r0 = pxsim_ImageMethods.height(s.arg0); s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 7; continue; } - s.arg2 = (s.len___29787); - { 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___29787 + s.arg2); - s.arg2 = (r0); - case 8: - case 9: - case 10: - r0 = (s.arg2 > s.len___29787); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 11; continue; } - s.arg2 = (s.len___29787); - case 11: - case 12: - s.i___29821 = (s.arg1); - case 13: - r0 = (s.i___29821 < s.arg2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___29785; - r0 = pxsim_Array__getAt(s.arg0, s.i___29821); + r0 = (s.tmp_1 - 3); + s.tmp_0.arg2 = r0; + s.callLocIdx = 46; s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + s.y___5748 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___5742, s.y___5748); + s.c___5754 = (r0); + s.tmp_0 = r0 = s.arg0; + s.tmp_1 = r0 = s.x___5742; + r0 = (s.y___5748 + 1); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___29821 + 1); - s.i___29821 = (r0); - { step = 13; continue; } - case 14: - r0 = s.res___29785; - case 15: + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___5754); + s.tmp_0 = r0 = s.arg0; + s.tmp_1 = r0 = s.x___5742; + r0 = (s.y___5748 + 2); + s.tmp_2 = r0; + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___5754); + r0 = (s.j___5737 + 1); + s.j___5737 = (r0); + { step = 1; continue; } + case 2: + r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arraySlice__P23602.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +inline__P5726.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 helpers_arraySlice__P23602_mk(s) { +function inline__P5726_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P23602, depth: s.depth + 1, + parent: s, fn: inline__P5726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___29785: undefined, - len___29787: undefined, - i___29821: undefined, + rounds___5729: undefined, + j___5737: undefined, + x___5742: undefined, + y___5748: undefined, + c___5754: undefined, arg0: undefined, arg1: undefined, - arg2: undefined, } } -function Math_max__P23616(s) { +function Math_FastRandom_randomRange__P2591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2949,38 +2468,59 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = (s.arg0 >= s.arg1); + r0 = s.arg0; + if (!checkSubtype(r0, Math_FastRandom__C2587_VT)) failedCast(r0); + r0 = (s.arg2 > s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.arg0; - { step = 3; continue; } + s.tmp_2 = Math_FastRandom_next__P2590_mk(s); + s.tmp_2.arg0 = s.arg0; + s.callLocIdx = 840; s.pc = 3; return s.tmp_2; + case 3: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.arg2 - s.arg1); + s.tmp_4 = r0; + r0 = (s.tmp_4 + 1); + s.tmp_3 = r0; + r0 = (s.tmp_1 % s.tmp_3); + { step = 2; continue; } case 1: + r0 = 0; case 2: - r0 = s.arg1; - case 3: + // jmp value (already in r0) + s.tmp_5 = r0; + r0 = (s.arg1 + s.tmp_5); return leave(s, r0) default: oops() } } } -Math_max__P23616.info = {"start":16099,"length":105,"line":542,"column":4,"endLine":545,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_FastRandom_randomRange__P2591.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_max__P23616_mk(s) { +function Math_FastRandom_randomRange__P2591_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P23616, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P2591, 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, + tmp_5: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function helpers_arrayForEach__P23596(s) { +function Math_FastRandom_next__P2590(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2990,58 +2530,1383 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___29845 = undefined; - s.i___29848 = 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___29845 = (r0); - s.i___29848 = (0); - case 1: - r0 = (s.i___29848 < s.len___29845); - 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___29848); - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___29848; - setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 5; s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - r0 = (s.i___29848 + 1); - s.i___29848 = (r0); - { step = 1; continue; } - case 2: - r0 = undefined; + r0 = s.arg0; + if (!checkSubtype(r0, Math_FastRandom__C2587_VT)) failedCast(r0); + s.tmp_0 = r0 = s.arg0; + r0 = s.arg0.fields["lfsr"]; + s.tmp_3 = r0; + r0 = (s.tmp_3 >> 1); + s.tmp_2 = r0; + r0 = s.arg0.fields["lfsr"]; + s.tmp_7 = r0; + r0 = (s.tmp_7 & 1); + s.tmp_6 = r0; + r0 = (0 - s.tmp_6); + s.tmp_5 = r0; + r0 = (s.tmp_5 & 46080); + s.tmp_4 = r0; + r0 = (s.tmp_2 ^ s.tmp_4); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["lfsr"] = (s.tmp_1); + r0 = s.tmp_1; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P23596.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"]} +Math_FastRandom_next__P2590.info = {"start":1713,"length":107,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} -function helpers_arrayForEach__P23596_mk(s) { +function Math_FastRandom_next__P2590_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P23596, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P2590, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___29845: undefined, - i___29848: undefined, - arg0: undefined, - arg1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + arg0: undefined, +} } + + + + + +function effects_ImageEffect_constructor__P2818(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, effects_ImageEffect__C2817_VT)) failedCast(r0); + r0 = (s.arg0).fields["effect"] = (s.arg2); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2587_VT); + s.tmp_0 = r0; + s.tmp_1 = Math_FastRandom_constructor__P2589_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = undefined; + s.callLocIdx = 1133; s.pc = 1; return s.tmp_1; + case 1: + r0 = s.retval; + r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); + r0 = (s.arg0).fields["preferredDelay"] = (s.arg1); + r0 = (s.arg0).fields["times"] = (undefined); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +effects_ImageEffect_constructor__P2818.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__P2818_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: effects_ImageEffect_constructor__P2818, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function inline__P5834(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.factory___5837 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C2746_VT); + s.tmp_0 = r0; + s.tmp_2 = if_width_1_mk(s); + s.tmp_2.arg0 = s.arg0; + if (!s.tmp_2.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "width"); + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["width"]; + if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["width"]; } + else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } + else { s.callLocIdx = 33; s.pc = 3; return s.tmp_2; } + } + case 3: + r0 = s.retval; + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 1; continue; } + s.tmp_3 = if_width_1_mk(s); + s.tmp_3.arg0 = s.arg0; + if (!s.tmp_3.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "width"); + } else { + s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["width"]; + if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["width"]; } + else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } + else { s.callLocIdx = 34; s.pc = 4; return s.tmp_3; } + } + case 4: + r0 = s.retval; + { step = 2; continue; } + case 1: + r0 = 16; + case 2: + // jmp value (already in r0) + s.tmp_4 = r0; + s.tmp_5 = particles_ConfettiFactory_constructor__P2747_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___5837 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P2723_mk(s); + s.tmp_0.arg0 = s.factory___5837; + 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__C2679_VT); + s.tmp_0 = r0; + s.tmp_1 = particles_ParticleSource_constructor__P2684_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___5837; + s.callLocIdx = 37; s.pc = 7; return s.tmp_1; + case 7: + r0 = s.retval; + r0 = s.tmp_0; + return leave(s, r0) + default: oops() +} } } +inline__P5834.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__P5834_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P5834, 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, + tmp_5: undefined, + factory___5837: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function particles_ParticleSource_constructor__P2684(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.sources___5858 = undefined; + s.removedSource___5867 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.arg3 = (s.lambdaArgs[3]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P1863_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = 0; + s.callLocIdx = 1009; s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + s.tmp_0 = particles_init__P4237_mk(s); + s.callLocIdx = 1010; s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + s.tmp_0 = particles_particleSources__P4243_mk(s); + s.callLocIdx = 1011; s.pc = 7; return s.tmp_0; + case 7: + r0 = s.retval; + s.sources___5858 = (r0); + r0 = pxsim_Array__length(s.sources___5858); + s.tmp_1 = r0; + r0 = (s.tmp_1 >= globals.MAX_SOURCES___4214); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_2 = particles_sortSources__P4240_mk(s); + s.tmp_2.arg0 = s.sources___5858; + s.callLocIdx = 1012; s.pc = 8; return s.tmp_2; + case 8: + r0 = s.retval; + r0 = pxsim_Array_.removeAt(s.sources___5858, 0); + s.removedSource___5867 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P2694_mk(s); + s.tmp_0.arg0 = s.removedSource___5867; + s.callLocIdx = 1014; s.pc = 9; return s.tmp_0; + case 9: + r0 = s.retval; + s.tmp_0 = particles_ParticleSource_destroy__P2693_mk(s); + s.tmp_0.arg0 = s.removedSource___5867; + s.callLocIdx = 1015; 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__P2696_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg2; + s.callLocIdx = 1016; s.pc = 11; return s.tmp_0; + case 11: + r0 = s.retval; + s.tmp_0 = particles_ParticleSource_setAcceleration__P2688_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = 0; + s.tmp_0.arg2 = 0; + s.callLocIdx = 1017; s.pc = 12; return s.tmp_0; + case 12: + r0 = s.retval; + s.tmp_0 = particles_ParticleSource_setAnchor__P2695_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg1; + s.callLocIdx = 1018; s.pc = 13; return s.tmp_0; + case 13: + r0 = s.retval; + r0 = (s.arg0).fields["lifespan"] = (undefined); + r0 = (s.arg0).fields["_dt"] = (0); + r0 = (s.arg0).fields["priority"] = (0); + s.tmp_0 = r0 = s.arg3; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 3; continue; } + r0 = s.tmp_0; + { step = 4; continue; } + case 3: + r0 = globals.defaultFactory___2699; + case 4: + // jmp value (already in r0) + s.tmp_1 = r0; + s.tmp_2 = particles_ParticleSource_setFactory__P2698_mk(s); + s.tmp_2.arg0 = s.arg0; + s.tmp_2.arg1 = s.tmp_1; + s.callLocIdx = 1019; s.pc = 14; return s.tmp_2; + case 14: + r0 = s.retval; + r0 = pxsim_Array__push(s.sources___5858, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P2692_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = true; + s.callLocIdx = 1020; s.pc = 15; return s.tmp_0; + case 15: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_ParticleSource_constructor__P2684.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__P2684_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_ParticleSource_constructor__P2684, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + sources___5858: undefined, + removedSource___5867: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, +} } + + + + + +function particles_particleSources__P4243(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.sources___6295 = undefined; + s.tmp_0 = game_currentScene__P2533_mk(s); + s.callLocIdx = 1071; s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = r0.fields["particleSources"]; + s.sources___6295 = (r0); + r0 = s.sources___6295; + return leave(s, r0) + default: oops() +} } } +particles_particleSources__P4243.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__P4243_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_particleSources__P4243, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + sources___6295: undefined, +} } + + + + + +function particles_sortSources__P4240(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + s.tmp_0 = helpers_arraySort__P104_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = inline__P6165; + s.callLocIdx = 1058; s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_sortSources__P4240.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__P4240_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_sortSources__P4240, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function inline__P6165(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = s.arg0.fields["priority"]; + s.tmp_1 = r0; + r0 = s.arg1.fields["priority"]; + s.tmp_2 = r0; + r0 = (s.tmp_1 - s.tmp_2); + 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.arg0.fields["id"]; + s.tmp_3 = r0; + r0 = s.arg1.fields["id"]; + s.tmp_4 = r0; + r0 = (s.tmp_3 - s.tmp_4); + case 2: + // jmp value (already in r0) + s.tmp_5 = r0; + r0 = s.tmp_5; + return leave(s, r0) + default: oops() +} } } +inline__P6165.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__P6165_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P6165, 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, + tmp_5: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function helpers_arraySort__P104(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim_numops_toBoolDecr(s.arg1); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(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 = pxsim_Array__length(s.arg0); + s.tmp_2 = r0; + r0 = (s.tmp_2 > 1); + case 2: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 3; continue; } + s.arg1 = (inline__P6188); + case 3: + case 4: + s.tmp_0 = helpers_sortHelper__P3481_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg1; + s.callLocIdx = 2; s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + return leave(s, r0) + default: oops() +} } } +helpers_arraySort__P104.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__P104_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_arraySort__P104, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function inline__P6188(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.aIsUndef___6191 = undefined; + s.bIsUndef___6195 = undefined; + s.aIsNull___6206 = undefined; + s.bIsNull___6210 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = (s.arg0 === undefined); + s.aIsUndef___6191 = (r0); + r0 = (s.arg1 === undefined); + s.bIsUndef___6195 = (r0); + s.tmp_0 = r0 = s.aIsUndef___6191; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = s.bIsUndef___6195; + case 2: + // jmp value (already in r0) + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 3; continue; } + r0 = 0; + { step = 17; continue; } + { step = 8; continue; } + case 3: + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___6191); + if (!r0) { step = 4; continue; } + r0 = 1; + { step = 17; continue; } + { step = 7; continue; } + case 4: + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___6195); + if (!r0) { step = 5; continue; } + r0 = -1; + { step = 17; continue; } + case 5: + case 6: + case 7: + case 8: + r0 = (s.arg0 === null); + s.aIsNull___6206 = (r0); + r0 = (s.arg1 === null); + s.bIsNull___6210 = (r0); + s.tmp_0 = r0 = s.aIsNull___6206; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 9; continue; } + r0 = s.tmp_0; + { step = 10; continue; } + case 9: + r0 = s.bIsNull___6210; + case 10: + // jmp value (already in r0) + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 11; continue; } + r0 = 0; + { step = 17; continue; } + { step = 16; continue; } + case 11: + r0 = pxsim_numops_toBoolDecr(s.aIsNull___6206); + if (!r0) { step = 12; continue; } + r0 = 1; + { step = 17; continue; } + { step = 15; continue; } + case 12: + r0 = pxsim_numops_toBoolDecr(s.bIsNull___6210); + if (!r0) { step = 13; continue; } + r0 = -1; + { step = 17; continue; } + case 13: + case 14: + case 15: + case 16: + if ((s.arg0) && (s.arg0).vtable) { + setupResume(s, 18); + pxsim_String__stringConv(s.arg0); + checkResumeConsumed(); + return; + } else { s.retval = (s.arg0) + ""; } + case 18: + r0 = s.retval; + s.tmp_3 = r0; + r0 = pxsim_String_.mkEmpty(); + s.tmp_4 = r0; + r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); + s.tmp_2 = r0; + if ((s.arg1) && (s.arg1).vtable) { + setupResume(s, 19); + pxsim_String__stringConv(s.arg1); + checkResumeConsumed(); + return; + } else { s.retval = (s.arg1) + ""; } + case 19: + r0 = s.retval; + s.tmp_6 = r0; + r0 = pxsim_String_.mkEmpty(); + s.tmp_7 = r0; + r0 = pxsim_String__concat(s.tmp_6, s.tmp_7); + s.tmp_5 = r0; + r0 = pxsim_String_.compare(s.tmp_2, s.tmp_5); + case 17: + return leave(s, r0) + default: oops() +} } } +inline__P6188.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__P6188_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P6188, 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, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + aIsUndef___6191: undefined, + bIsUndef___6195: undefined, + aIsNull___6206: undefined, + bIsNull___6210: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function helpers_sortHelper__P3481(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.len___6245 = undefined; + s.i___6248 = undefined; + s.j___6254 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim_Array__length(s.arg0); + s.tmp_1 = r0; + r0 = (s.tmp_1 <= 0); + 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_numops_toBoolDecr(s.arg1); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + case 2: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 3; continue; } + r0 = s.arg0; + { step = 11; continue; } + case 3: + case 4: + r0 = pxsim_Array__length(s.arg0); + s.len___6245 = (r0); + s.i___6248 = (0); + case 5: + s.tmp_1 = r0 = s.i___6248; + r0 = (s.len___6245 - 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___6248 + 1); + s.j___6254 = (r0); + case 6: + r0 = (s.j___6254 < s.len___6245); + 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___6248); + s.tmp_3.arg0 = r0; + r0 = pxsim_Array__getAt(s.arg0, s.j___6254); + s.tmp_3.arg1 = r0; + setupLambda(s.tmp_3, s.tmp_3.argL); + s.callLocIdx = 0; s.pc = 12; return s.tmp_3; + case 12: + r0 = s.retval; + s.tmp_2 = r0; + r0 = (s.tmp_2 > 0); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 7; continue; } + s.tmp_4 = helpers_swap__P3480_mk(s); + s.tmp_4.arg0 = s.arg0; + s.tmp_4.arg1 = s.i___6248; + s.tmp_4.arg2 = s.j___6254; + s.callLocIdx = 1; s.pc = 13; return s.tmp_4; + case 13: + r0 = s.retval; + case 7: + case 8: + r0 = (s.j___6254 + 1); + s.j___6254 = (r0); + { step = 6; continue; } + case 9: + r0 = (s.i___6248 + 1); + s.i___6248 = (r0); + { step = 5; continue; } + case 10: + r0 = s.arg0; + case 11: + return leave(s, r0) + default: oops() +} } } +helpers_sortHelper__P3481.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__P3481_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_sortHelper__P3481, 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___6245: undefined, + i___6248: undefined, + j___6254: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function helpers_swap__P3480(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.temp___6283 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = pxsim_Array__getAt(s.arg0, s.arg1); + s.temp___6283 = (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___6283); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +helpers_swap__P3480.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__P3480_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_swap__P3480, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + temp___6283: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function particles_init__P4237(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.scene___6300 = undefined; + s.tmp_0 = game_currentScene__P2533_mk(s); + s.callLocIdx = 1048; s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + s.scene___6300 = (r0); + r0 = s.scene___6300.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___6300; + r0 = pxsim_Array__mk(); + s.tmp_2 = r0; + r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); + r0 = pxsim.control.millis(); + globals.lastUpdate___4232 = (r0); + s.tmp_0 = game_onUpdate__P2544_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P4238; + s.callLocIdx = 1049; s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + s.tmp_0 = game_onUpdateInterval__P2545_mk(s); + s.tmp_0.arg0 = 250; + s.tmp_0.arg1 = particles_pruneParticles__P4239; + s.callLocIdx = 1050; s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + case 3: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_init__P4237.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__P4237_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_init__P4237, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + scene___6300: undefined, +} } + + + + + +function particles_pruneParticles__P4239(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.sources___6315 = undefined; + s.tmp_0 = particles_particleSources__P4243_mk(s); + s.callLocIdx = 1054; s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + s.sources___6315 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___6315); + if (!r0) { step = 1; continue; } + s.tmp_0 = helpers_arrayForEach__P108_mk(s); + s.tmp_1 = helpers_arraySlice__P114_mk(s); + s.tmp_1.arg0 = s.sources___6315; + s.tmp_1.arg1 = 0; + r0 = pxsim_Array__length(s.sources___6315); + s.tmp_1.arg2 = r0; + s.callLocIdx = 1055; s.pc = 5; return s.tmp_1; + case 5: + r0 = s.retval; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = inline__P6324; + s.callLocIdx = 1057; s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + case 1: + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_pruneParticles__P4239.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__P4239_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_pruneParticles__P4239, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + sources___6315: undefined, +} } + + + + + +function inline__P6324(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + s.tmp_0 = particles_ParticleSource__prune__P2687_mk(s); + s.tmp_0.arg0 = s.arg0; + s.callLocIdx = 1056; s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P6324.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__P6324_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P6324, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function particles_ParticleSource__prune__P2687(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.scene___6112 = undefined; + s.sources___6120 = undefined; + s.current___6134 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); + case 1: + r0 = s.arg0.fields["head"]; + 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.arg0.fields["head"]; + r0 = r0.fields["lifespan"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 <= 0); + case 3: + // jmp value (already in r0) + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + if (!r0) { step = 4; continue; } + r0 = s.arg0.fields["head"]; + r0 = r0.fields["next"]; + s.tmp_3 = r0; + r0 = (s.arg0).fields["head"] = (s.tmp_3); + { step = 1; continue; } + case 4: + r0 = s.arg0.fields["pFlags"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 & 2); + 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: + r0 = s.arg0.fields["head"]; + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + case 6: + // jmp value (already in r0) + s.tmp_4 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + if (!r0) { step = 13; continue; } + s.tmp_5 = game_currentScene__P2533_mk(s); + s.callLocIdx = 1029; s.pc = 21; return s.tmp_5; + case 21: + r0 = s.retval; + s.scene___6112 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___6112); + if (!r0) { step = 7; continue; } + r0 = s.scene___6112.fields["allSprites"]; + s.tmp_0 = r0; + r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); + case 7: + case 8: + s.tmp_0 = particles_particleSources__P4243_mk(s); + s.callLocIdx = 1030; s.pc = 22; return s.tmp_0; + case 22: + r0 = s.retval; + s.sources___6120 = (r0); + s.tmp_0 = r0 = s.sources___6120; + 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___6120); + 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___6120, s.arg0); + case 11: + case 12: + r0 = s.arg0.fields["anchor"]; + s.tmp_0 = r0; + r0 = (s.tmp_0 == undefined); + case 13: + case 14: + r0 = s.arg0.fields["head"]; + s.current___6134 = (r0); + case 15: + s.tmp_0 = r0 = s.current___6134; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 16; continue; } + r0 = s.tmp_0; + { step = 17; continue; } + case 16: + r0 = s.current___6134.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___6134.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___6134.fields["next"]; + r0 = r0.fields["next"]; + s.tmp_4 = r0; + r0 = (s.current___6134).fields["next"] = (s.tmp_4); + { step = 19; continue; } + case 18: + r0 = s.current___6134.fields["next"]; + s.current___6134 = (r0); + case 19: + { step = 15; continue; } + case 20: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_ParticleSource__prune__P2687.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__P2687_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_ParticleSource__prune__P2687, 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, + tmp_5: undefined, + scene___6112: undefined, + sources___6120: undefined, + current___6134: undefined, + arg0: undefined, +} } + + + + + +function helpers_arraySlice__P114(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.res___6331 = undefined; + s.len___6333 = undefined; + s.i___6367 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = pxsim_Array__mk(); + s.res___6331 = (r0); + r0 = pxsim_Array__length(s.arg0); + s.len___6333 = (r0); + r0 = (s.arg1 === undefined); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.arg1 = (0); + { step = 4; continue; } + case 1: + r0 = (s.arg1 < 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 2; continue; } + s.tmp_1 = Math_max__P128_mk(s); + r0 = (s.len___6333 + s.arg1); + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = 0; + s.callLocIdx = 8; s.pc = 16; return s.tmp_1; + case 16: + r0 = s.retval; + s.arg1 = (r0); + case 2: + case 3: + case 4: + r0 = (s.arg1 > s.len___6333); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 5; continue; } + r0 = s.res___6331; + { step = 15; continue; } + case 5: + case 6: + r0 = (s.arg2 === undefined); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 7; continue; } + s.arg2 = (s.len___6333); + { 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___6333 + s.arg2); + s.arg2 = (r0); + case 8: + case 9: + case 10: + r0 = (s.arg2 > s.len___6333); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 11; continue; } + s.arg2 = (s.len___6333); + case 11: + case 12: + s.i___6367 = (s.arg1); + case 13: + r0 = (s.i___6367 < s.arg2); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 14; continue; } + s.tmp_1 = r0 = s.res___6331; + r0 = pxsim_Array__getAt(s.arg0, s.i___6367); + s.tmp_2 = r0; + r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); + r0 = (s.i___6367 + 1); + s.i___6367 = (r0); + { step = 13; continue; } + case 14: + r0 = s.res___6331; + case 15: + return leave(s, r0) + default: oops() +} } } +helpers_arraySlice__P114.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} + +function helpers_arraySlice__P114_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_arraySlice__P114, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + res___6331: undefined, + len___6333: undefined, + i___6367: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function Math_max__P128(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = (s.arg0 >= s.arg1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.arg0; + { step = 3; continue; } + case 1: + case 2: + r0 = s.arg1; + case 3: + return leave(s, r0) + default: oops() +} } } +Math_max__P128.info = {"start":16099,"length":105,"line":542,"column":4,"endLine":545,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} + +function Math_max__P128_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Math_max__P128, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function helpers_arrayForEach__P108(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.len___6391 = undefined; + s.i___6394 = 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___6391 = (r0); + s.i___6394 = (0); + case 1: + r0 = (s.i___6394 < s.len___6391); + 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___6394); + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = s.i___6394; + setupLambda(s.tmp_1, s.tmp_1.argL); + s.callLocIdx = 5; s.pc = 3; return s.tmp_1; + case 3: + r0 = s.retval; + r0 = (s.i___6394 + 1); + s.i___6394 = (r0); + { step = 1; continue; } + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +helpers_arrayForEach__P108.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__P108_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_arrayForEach__P108, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + len___6391: undefined, + i___6394: undefined, + arg0: undefined, + arg1: undefined, } } -function particles_updateParticles__P27726(s) { +function particles_updateParticles__P4238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3051,16 +3916,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___30247 = undefined; - s.time___30254 = undefined; - s.dt___30257 = undefined; - s.i___30263 = undefined; - s.tmp_0 = particles_particleSources__P27731_mk(s); - s.callLocIdx = 1049; s.pc = 6; return s.tmp_0; + s.sources___6793 = undefined; + s.time___6800 = undefined; + s.dt___6803 = undefined; + s.i___6809 = undefined; + s.tmp_0 = particles_particleSources__P4243_mk(s); + s.callLocIdx = 1051; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___30247 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___30247); + s.sources___6793 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___6793); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3069,34 +3934,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P27728_mk(s); - s.tmp_2.arg0 = s.sources___30247; - s.callLocIdx = 1050; s.pc = 7; return s.tmp_2; + s.tmp_2 = particles_sortSources__P4240_mk(s); + s.tmp_2.arg0 = s.sources___6793; + s.callLocIdx = 1052; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___30254 = (r0); - r0 = (s.time___30254 - globals.lastUpdate___27720); - s.dt___30257 = (r0); - globals.lastUpdate___27720 = (s.time___30254); - s.i___30263 = (0); + s.time___6800 = (r0); + r0 = (s.time___6800 - globals.lastUpdate___4232); + s.dt___6803 = (r0); + globals.lastUpdate___4232 = (s.time___6800); + s.i___6809 = (0); case 3: - s.tmp_1 = r0 = s.i___30263; - r0 = pxsim_Array__length(s.sources___30247); + s.tmp_1 = r0 = s.i___6809; + r0 = pxsim_Array__length(s.sources___6793); 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__P26174_mk(s); - r0 = pxsim_Array__getAt(s.sources___30247, s.i___30263); + s.tmp_3 = particles_ParticleSource__update__P2686_mk(s); + r0 = pxsim_Array__getAt(s.sources___6793, s.i___6809); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___30257; - s.callLocIdx = 1051; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.dt___6803; + s.callLocIdx = 1053; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___30263 + 1); - s.i___30263 = (r0); + r0 = (s.i___6809 + 1); + s.i___6809 = (r0); { step = 3; continue; } case 4: case 5: @@ -3104,28 +3969,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P27726.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P4238.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__P27726_mk(s) { +function particles_updateParticles__P4238_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P27726, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P4238, 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___30247: undefined, - time___30254: undefined, - dt___30257: undefined, - i___30263: undefined, + sources___6793: undefined, + time___6800: undefined, + dt___6803: undefined, + i___6809: undefined, } } -function particles_ParticleSource__update__P26174(s) { +function particles_ParticleSource__update__P2686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3135,16 +4000,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___30326 = undefined; - s.current___30345 = undefined; - s.fixedDt___30353 = undefined; + s.p___6872 = undefined; + s.current___6891 = undefined; + s.fixedDt___6899 = 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__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -3170,9 +4035,9 @@ 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__P26181_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P2693_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1022; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1024; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 1: @@ -3195,7 +4060,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["flags"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["flags"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1023; s.pc = 29; return s.tmp_2; } + else { s.callLocIdx = 1025; s.pc = 29; return s.tmp_2; } } case 29: r0 = s.retval; @@ -3218,7 +4083,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["flags"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["flags"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1024; s.pc = 30; return s.tmp_5; } + else { s.callLocIdx = 1026; s.pc = 30; return s.tmp_5; } } case 30: r0 = s.retval; @@ -3243,9 +4108,9 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P26179_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P2691_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1025; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1027; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 13: @@ -3261,18 +4126,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__C26203_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C2715_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__C26203_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C2715_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___30326 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___30326); + s.p___6872 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___6872); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3283,8 +4148,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___30326).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___30326); + r0 = (s.p___6872).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___6872); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -3299,7 +4164,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___30345 = (r0); + s.current___6891 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -3311,36 +4176,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___30353 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___30353); + s.fixedDt___6899 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___6899); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___30345.fields["lifespan"]; + r0 = s.current___6891.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___30345; + s.tmp_2 = r0 = s.current___6891; 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__C26167_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C2679_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___30345; - s.tmp_0.arg2 = s.fixedDt___30353; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C26167_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___6891; + s.tmp_0.arg2 = s.fixedDt___6899; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C2679_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___30345.fields["next"]; + r0 = s.current___6891.fields["next"]; s.tmp_0 = r0; - s.current___30345 = (r0); + s.current___6891 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -3349,15 +4214,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___30345; + s.tmp_0 = r0 = s.current___6891; 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___30345.fields["next"]; + r0 = s.current___6891.fields["next"]; s.tmp_0 = r0; - s.current___30345 = (r0); + s.current___6891 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -3368,12 +4233,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P26174.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__P2686.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__P26174_mk(s) { +function particles_ParticleSource__update__P2686_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P26174, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P2686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3383,9 +4248,9 @@ function particles_ParticleSource__update__P26174_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___30326: undefined, - current___30345: undefined, - fixedDt___30353: undefined, + p___6872: undefined, + current___6891: undefined, + fixedDt___6899: undefined, arg0: undefined, arg1: undefined, } } @@ -3394,7 +4259,7 @@ function particles_ParticleSource__update__P26174_mk(s) { -function particles_ParticleSource_updateParticle__P27722(s) { +function particles_ParticleSource_updateParticle__P4234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3411,7 +4276,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -3466,12 +4331,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P27722.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__P4234.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__P27722_mk(s) { +function particles_ParticleSource_updateParticle__P4234_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P27722, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P4234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3488,7 +4353,7 @@ function particles_ParticleSource_updateParticle__P27722_mk(s) { -function Fx_rightShift__P23655(s) { +function Fx_rightShift__P167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3507,12 +4372,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P23655.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__P167.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__P23655_mk(s) { +function Fx_rightShift__P167_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P23655, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3522,7 +4387,7 @@ function Fx_rightShift__P23655_mk(s) { -function Fx_mul__P23646(s) { +function Fx_mul__P158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3543,12 +4408,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P23646.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__P158.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__P23646_mk(s) { +function Fx_mul__P158_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P23646, depth: s.depth + 1, + parent: s, fn: Fx_mul__P158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3559,7 +4424,7 @@ function Fx_mul__P23646_mk(s) { -function Fx_add__P23643(s) { +function Fx_add__P155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3578,12 +4443,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P23643.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__P155.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__P23643_mk(s) { +function Fx_add__P155_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P23643, depth: s.depth + 1, + parent: s, fn: Fx_add__P155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3593,7 +4458,7 @@ function Fx_add__P23643_mk(s) { -function particles_ParticleFactory_createParticle__P26205(s) { +function particles_ParticleFactory_createParticle__P2717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3603,17 +4468,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___30450 = undefined; + s.p___6996 = 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__C26203_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C26148_VT); - s.p___30450 = (r0); - s.tmp_0 = r0 = s.p___30450; + if (!checkSubtype(r0, particles_ParticleFactory__C2715_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C2660_VT); + s.p___6996 = (r0); + s.tmp_0 = r0 = s.p___6996; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -3622,7 +4487,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["x"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["x"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1076; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1078; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -3632,7 +4497,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___30450; + s.tmp_0 = r0 = s.p___6996; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -3641,7 +4506,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["y"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["y"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1078; s.pc = 2; return s.tmp_3; } + else { s.callLocIdx = 1080; s.pc = 2; return s.tmp_3; } } case 2: r0 = s.retval; @@ -3651,26 +4516,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___30450).fields["vx"] = (0); - r0 = (s.p___30450).fields["vy"] = (0); - r0 = (s.p___30450).fields["lifespan"] = (500); - r0 = s.p___30450; + r0 = (s.p___6996).fields["vx"] = (0); + r0 = (s.p___6996).fields["vy"] = (0); + r0 = (s.p___6996).fields["lifespan"] = (500); + r0 = s.p___6996; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P26205.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__P2717.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__P26205_mk(s) { +function particles_ParticleFactory_createParticle__P2717_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P26205, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P2717, 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___30450: undefined, + p___6996: undefined, arg0: undefined, arg1: undefined, } } @@ -3679,7 +4544,7 @@ function particles_ParticleFactory_createParticle__P26205_mk(s) { -function game_onUpdateInterval__P26033(s) { +function game_onUpdateInterval__P2545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3689,15 +4554,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___29869 = undefined; + s.timer___6415 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P27375_mk(s); + s.tmp_0 = game_init__P3887_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 830; s.pc = 6; return s.tmp_0; + s.callLocIdx = 832; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -3719,22 +4584,22 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___29869 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___29869, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P29873); + s.timer___6415 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___6415, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P6419); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___29869); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___6415); 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__P23883_mk(s); - s.tmp_2 = game_eventContext__P26024_mk(s); - s.callLocIdx = 831; s.pc = 8; return s.tmp_2; + s.tmp_1 = control_EventContext_registerFrameHandler__P395_mk(s); + s.tmp_2 = game_eventContext__P2536_mk(s); + s.callLocIdx = 833; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 19; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 835; s.pc = 7; return s.tmp_1; + s.callLocIdx = 837; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; case 5: @@ -3742,17 +4607,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P26033.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__P2545.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__P26033_mk(s) { +function game_onUpdateInterval__P2545_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P26033, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P2545, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___29869: undefined, + timer___6415: undefined, arg0: undefined, arg1: undefined, } } @@ -3761,7 +4626,7 @@ function game_onUpdateInterval__P26033_mk(s) { -function inline__P29873(s) { +function inline__P6419(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3771,331 +4636,55 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___29874 = undefined; - s.tmp_1 = game_currentScene__P26021_mk(s); - s.callLocIdx = 832; s.pc = 3; return s.tmp_1; + s.time___6420 = undefined; + s.tmp_1 = game_currentScene__P2533_mk(s); + s.callLocIdx = 834; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___29874 = (r0); + s.time___6420 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___29874); - 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___29874 + s.caps[1]); - s.tmp_3 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.caps[2]; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 834; s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -inline__P29873.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} - -function inline__P29873_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: inline__P29873, 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___29874: undefined, -} } - - - - - -function scene_Scene_millis__P25932(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25908_VT)) failedCast(r0); - r0 = s.arg0.fields["_millis"]; - return leave(s, r0) - default: oops() -} } } -scene_Scene_millis__P25932.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__P25932_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_Scene_millis__P25932, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function control_EventContext_registerFrameHandler__P23883(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.fn___29901 = undefined; - s.i___29910 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23875_VT)) failedCast(r0); - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - 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_3 = r0 = s.arg0; - r0 = pxsim_Array__mk(); - s.tmp_4 = r0; - r0 = (s.tmp_3).fields["frameCallbacks"] = (s.tmp_4); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P27042_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 51; s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - case 1: - case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C23872_VT); - s.fn___29901 = (r0); - r0 = (s.fn___29901).fields["order"] = (s.arg1); - r0 = (s.fn___29901).fields["handler"] = (s.arg2); - s.i___29910 = (0); - case 3: - s.tmp_1 = r0 = s.i___29910; - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_3 = r0; - r0 = pxsim_Array__length(s.tmp_3); - 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; } - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.tmp_6, s.i___29910); - r0 = r0.fields["order"]; - s.tmp_5 = r0; - r0 = (s.tmp_5 > s.arg1); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 4; continue; } - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_7 = r0; - r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___29910, s.fn___29901); - r0 = s.fn___29901; - { step = 7; continue; } - case 4: - case 5: - r0 = (s.i___29910 + 1); - s.i___29910 = (r0); - { step = 3; continue; } - case 6: - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___29901); - r0 = s.fn___29901; - case 7: - return leave(s, r0) - default: oops() -} } } -control_EventContext_registerFrameHandler__P23883.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__P23883_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_EventContext_registerFrameHandler__P23883, 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, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - fn___29901: undefined, - i___29910: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function control_EventContext_registerFrameCallbacks__P27042(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.worker___29944 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23875_VT)) failedCast(r0); - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - 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; } - { step = 3; continue; } - case 1: - case 2: - r0 = s.arg0.fields["frameWorker"]; - s.worker___29944 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P29950); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___29944); - r0 = pxsim.control.runInParallel(s.tmp_0); - case 3: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -control_EventContext_registerFrameCallbacks__P27042.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__P27042_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P27042, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - worker___29944: undefined, - arg0: undefined, -} } - - - - - -function inline__P29950(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.delay___29980 = undefined; - r0 = s.caps[0].fields["runningCallbacks"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 <= s.time___6420); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P29956); - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P23847_mk(s); - s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = undefined; - s.callLocIdx = 45; s.pc = 5; return s.tmp_2; - case 5: + s.tmp_2 = r0 = s.caps[0]; + r0 = (s.time___6420 + s.caps[1]); + s.tmp_3 = r0; + r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); + s.tmp_0 = lambda_1_mk(s); + s.tmp_0.argL = s.caps[2]; + setupLambda(s.tmp_0, s.tmp_0.argL); + s.callLocIdx = 836; s.pc = 4; return s.tmp_0; + case 4: r0 = s.retval; case 1: case 2: - r0 = (s.caps[0]).fields["runningCallbacks"] = (true); - r0 = (s.caps[0]).fields["framesInSample"] = (0); - r0 = (s.caps[0]).fields["timeInSample"] = (0); - r0 = (s.caps[0]).fields["deltaTimeMillis"] = (0); - s.tmp_0 = r0 = s.caps[0]; - r0 = pxsim.control.millis(); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["prevTimeMillis"] = (s.tmp_1); - case 3: - r0 = s.caps[0].fields["frameWorker"]; - s.tmp_1 = r0; - r0 = (s.caps[1] == s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P27041_mk(s); - s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 46; s.pc = 6; return s.tmp_2; - case 6: - r0 = s.retval; - s.delay___29980 = (r0); - s.tmp_0 = pause__P23893_mk(s); - s.tmp_0.arg0 = s.delay___29980; - s.callLocIdx = 47; s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - { step = 3; continue; } - case 4: - r0 = (s.caps[0]).fields["runningCallbacks"] = (false); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P29950.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P6419.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P29950_mk(s) { +function inline__P6419_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29950, depth: s.depth + 1, + parent: s, fn: inline__P6419, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___29980: undefined, + tmp_3: undefined, + time___6420: undefined, } } -function inline__P29956(s) { +function scene_Scene_millis__P2444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4105,30 +4694,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = s.caps[0].fields["runningCallbacks"]; - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_Boolean__bang(s.tmp_0); + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, scene_Scene__C2420_VT)) failedCast(r0); + r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -inline__P29956.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +scene_Scene_millis__P2444.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function inline__P29956_mk(s) { +function scene_Scene_millis__P2444_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29956, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P2444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, + arg0: undefined, } } -function control_EventContext_runCallbacks__P27041(s) { +function control_EventContext_registerFrameHandler__P395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4138,264 +4728,105 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___29989 = undefined; - s.f___30002 = undefined; - s.unnamed128___U2 = undefined; - s.unnamed129___U3 = undefined; - s.runtime___30007 = undefined; - s.fps___30027 = undefined; - s.delay___30089 = undefined; + s.fn___6447 = undefined; + s.i___6456 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23875_VT)) failedCast(r0); - r0 = pxsim.control.millis(); - s.loopStart___29989 = (r0); - s.tmp_0 = r0 = s.arg0; - r0 = s.arg0.fields["prevTimeMillis"]; - s.tmp_2 = r0; - r0 = (s.loopStart___29989 - s.tmp_2); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___29989); - s.f___30002 = (undefined); + if (!checkSubtype(r0, control_EventContext__C387_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed128___U2 = (r0); - s.unnamed129___U3 = (0); - case 1: - s.tmp_0 = r0 = s.unnamed129___U3; - r0 = pxsim_Array__length(s.unnamed128___U2); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed128___U2, s.unnamed129___U3); - s.f___30002 = (r0); - s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___30002; - if (!s.tmp_2.arg0.vtable.iface) { - setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); - s.callLocIdx = 42; s.pc = 13; return s.tmp_2; - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["handler"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["handler"], 1); s.callLocIdx = 42; s.pc = 13; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 42; s.pc = 13; return s.tmp_2;; } - else { s.callLocIdx = 42; s.pc = 13; return s.tmp_2; } - } - case 13: - r0 = s.retval; - r0 = (s.unnamed129___U3 + 1); - s.unnamed129___U3 = (r0); - { step = 1; continue; } - case 2: - s.unnamed128___U2 = (undefined); - r0 = pxsim.control.millis(); - s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___29989); - s.runtime___30007 = (r0); - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["timeInSample"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___30007); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["framesInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + 1); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["framesInSample"] = (s.tmp_1); - r0 = s.arg0.fields["timeInSample"]; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > 1000); + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = s.tmp_0; - { step = 4; continue; } - case 3: - r0 = s.arg0.fields["framesInSample"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 > 30); - case 4: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 11; continue; } - r0 = s.arg0.fields["framesInSample"]; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_3 = r0 = s.arg0; + r0 = pxsim_Array__mk(); s.tmp_4 = r0; - r0 = s.arg0.fields["timeInSample"]; - s.tmp_6 = r0; - r0 = (s.tmp_6 / 1000); - s.tmp_5 = r0; - r0 = (s.tmp_4 / s.tmp_5); - s.fps___30027 = (r0); - r0 = pxsim.Math_.round(s.fps___30027); - s.tmp_1 = r0; - if ((s.tmp_1) && (s.tmp_1).vtable) { - setupResume(s, 14); - pxsim_String__stringConv(s.tmp_1); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_1) + ""; } - case 14: + r0 = (s.tmp_3).fields["frameCallbacks"] = (s.tmp_4); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P3554_mk(s); + s.tmp_0.arg0 = s.arg0; + s.callLocIdx = 51; s.pc = 8; return s.tmp_0; + case 8: r0 = s.retval; - s.tmp_0 = r0; - r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___23877 = (r0); - r0 = (s.fps___30027 < 99); + case 1: + case 2: + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C384_VT); + s.fn___6447 = (r0); + r0 = (s.fn___6447).fields["order"] = (s.arg1); + r0 = (s.fn___6447).fields["handler"] = (s.arg2); + s.i___6456 = (0); + case 3: + s.tmp_1 = r0 = s.i___6456; + r0 = s.arg0.fields["frameCallbacks"]; + s.tmp_3 = r0; + r0 = pxsim_Array__length(s.tmp_3); + 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; } - if ((globals.control_EventContext_lastStats___23877) && (globals.control_EventContext_lastStats___23877).vtable) { - setupResume(s, 15); - pxsim_String__stringConv(globals.control_EventContext_lastStats___23877); - checkResumeConsumed(); - return; - } else { s.retval = (globals.control_EventContext_lastStats___23877) + ""; } - case 15: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.fps___30027 * 10); - s.tmp_7 = r0; - r0 = pxsim.Math_.round(s.tmp_7); + if (!r0) { step = 6; continue; } + r0 = s.arg0.fields["frameCallbacks"]; s.tmp_6 = r0; - r0 = (s.tmp_6 % 10); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___6456); + r0 = r0.fields["order"]; s.tmp_5 = r0; - if ((s.tmp_5) && (s.tmp_5).vtable) { - setupResume(s, 16); - pxsim_String__stringConv(s.tmp_5); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_5) + ""; } - case 16: - r0 = s.retval; + r0 = (s.tmp_5 > s.arg1); s.tmp_4 = r0; - r0 = pxsim_String__concat(".", s.tmp_4); - s.tmp_3 = r0; - if ((s.tmp_3) && (s.tmp_3).vtable) { - setupResume(s, 17); - pxsim_String__stringConv(s.tmp_3); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_3) + ""; } - case 17: - r0 = s.retval; - s.tmp_2 = r0; - r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___23877 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + if (!r0) { step = 4; continue; } + r0 = s.arg0.fields["frameCallbacks"]; + s.tmp_7 = r0; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___6456, s.fn___6447); + r0 = s.fn___6447; + { step = 7; continue; } + case 4: case 5: + r0 = (s.i___6456 + 1); + s.i___6456 = (r0); + { step = 3; continue; } case 6: - s.tmp_2 = control_ramSize__P23826_mk(s); - s.callLocIdx = 43; s.pc = 18; return s.tmp_2; - case 18: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_1 > 2000000); + r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 7; continue; } - r0 = s.tmp_0; - { step = 8; continue; } + r0 = pxsim_Array__push(s.tmp_0, s.fn___6447); + r0 = s.fn___6447; case 7: - r0 = pxsim.control.profilingEnabled(); - case 8: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 9; continue; } - r0 = pxsim_String_.mkEmpty(); - s.tmp_8 = r0; - r0 = (s.fps___30027 * 100); - s.tmp_11 = r0; - r0 = (s.tmp_11 | 0); - s.tmp_10 = r0; - if ((s.tmp_10) && (s.tmp_10).vtable) { - setupResume(s, 19); - pxsim_String__stringConv(s.tmp_10); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_10) + ""; } - case 19: - r0 = s.retval; - s.tmp_9 = r0; - r0 = pxsim_String__concat(s.tmp_8, s.tmp_9); - s.tmp_7 = r0; - r0 = pxsim_String__concat(s.tmp_7, "/100 fps - "); - s.tmp_6 = r0; - r0 = s.arg0.fields["framesInSample"]; - s.tmp_13 = r0; - if ((s.tmp_13) && (s.tmp_13).vtable) { - setupResume(s, 20); - pxsim_String__stringConv(s.tmp_13); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_13) + ""; } - case 20: - r0 = s.retval; - s.tmp_12 = r0; - r0 = pxsim_String__concat(s.tmp_6, s.tmp_12); - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_5, " frames"); - s.tmp_4 = r0; - r0 = pxsim.control.dmesg(s.tmp_4); - r0 = pxsim.control.gc(); - r0 = pxsim_pxtcore.dumpPerfCounters(); - case 9: - case 10: - r0 = (s.arg0).fields["timeInSample"] = (0); - r0 = (s.arg0).fields["framesInSample"] = (0); - case 11: - case 12: - s.tmp_0 = Math_max__P23616_mk(s); - s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___30007); - s.tmp_0.arg1 = r0; - s.callLocIdx = 44; s.pc = 21; return s.tmp_0; - case 21: - r0 = s.retval; - s.delay___30089 = (r0); - r0 = s.delay___30089; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P27041.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_registerFrameHandler__P395.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_runCallbacks__P27041_mk(s) { +function control_EventContext_registerFrameHandler__P395_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P27041, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P395, 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, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - tmp_8: undefined, - tmp_9: undefined, - tmp_10: undefined, - tmp_11: undefined, - tmp_12: undefined, - tmp_13: undefined, - loopStart___29989: undefined, - f___30002: undefined, - unnamed128___U2: undefined, - unnamed129___U3: undefined, - runtime___30007: undefined, - fps___30027: undefined, - delay___30089: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + fn___6447: undefined, + i___6456: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function pauseUntil__P23847(s) { +function control_EventContext_registerFrameCallbacks__P3554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4405,77 +4836,55 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: + s.worker___6490 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(s.arg0); + r0 = s.arg0; + if (!checkSubtype(r0, control_EventContext__C387_VT)) failedCast(r0); + r0 = s.arg0.fields["frameCallbacks"]; + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + { step = 3; continue; } case 1: - s.tmp_2 = lambda_1_mk(s); - s.tmp_2.argL = s.arg0; - setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 29; s.pc = 8; return s.tmp_2; - case 8: - r0 = s.retval; case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 3; continue; } - { step = 7; continue; } + r0 = s.arg0.fields["frameWorker"]; + s.worker___6490 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P6496); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___6490); + r0 = pxsim.control.runInParallel(s.tmp_0); case 3: - case 4: - r0 = pxsim_numops_toBoolDecr(s.arg1); - s.tmp_5 = r0; - r0 = pxsim_Boolean__bang(s.tmp_5); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 5; continue; } - s.arg1 = (0); - case 5: - case 6: - s.tmp_0 = control___queuePollEvent__P23846_mk(s); - s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.arg0; - s.tmp_0.arg2 = undefined; - s.callLocIdx = 30; s.pc = 9; return s.tmp_0; - case 9: - r0 = s.retval; - case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -pauseUntil__P23847.info = {"start":2205,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} +control_EventContext_registerFrameCallbacks__P3554.info = {"start":3481,"length":895,"line":105,"column":8,"endLine":129,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -function pauseUntil__P23847_mk(s) { +function control_EventContext_registerFrameCallbacks__P3554_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P23847, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P3554, 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, - tmp_5: undefined, + worker___6490: undefined, arg0: undefined, - arg1: undefined, } } -function control___queuePollEvent__P23846(s) { +function inline__P6496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4485,97 +4894,73 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___30111 = 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__C27015_VT); + s.delay___6526 = undefined; + r0 = s.caps[0].fields["runningCallbacks"]; s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P27016_mk(s); - s.tmp_1.arg0 = s.tmp_0; - r0 = pxsim.control.allocateNotifyEvent(); - s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = 1; - r0 = pxsim.control.millis(); - s.tmp_1.arg3 = r0; - s.tmp_1.arg4 = s.arg0; - s.tmp_1.arg5 = s.arg1; - r0 = pxsim_numops_toBoolDecr(s.arg2); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); - s.tmp_1.arg6 = r0; - s.callLocIdx = 27; s.pc = 5; return s.tmp_1; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = pxsim_pxtcore_mkAction(1, inline__P6502); + s.tmp_1 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); + s.tmp_2 = pauseUntil__P359_mk(s); + s.tmp_2.arg0 = s.tmp_1; + s.tmp_2.arg1 = undefined; + s.callLocIdx = 45; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.ev___30111 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___27018); + case 1: + case 2: + r0 = (s.caps[0]).fields["runningCallbacks"] = (true); + r0 = (s.caps[0]).fields["framesInSample"] = (0); + r0 = (s.caps[0]).fields["timeInSample"] = (0); + r0 = (s.caps[0]).fields["deltaTimeMillis"] = (0); + s.tmp_0 = r0 = s.caps[0]; + r0 = pxsim.control.millis(); s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); + r0 = (s.tmp_0).fields["prevTimeMillis"] = (s.tmp_1); + case 3: + r0 = s.caps[0].fields["frameWorker"]; + s.tmp_1 = r0; + r0 = (s.caps[1] == s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_Array__mk(); - s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___30111); - globals._pollEventQueue___27018 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P27019); - { step = 2; continue; } - case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___27018, s.ev___30111); - case 2: - r0 = pxsim_numops_toBoolDecr(s.arg2); - if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P23871_mk(s); - r0 = s.ev___30111.fields["eid"]; - s.tmp_0.arg0 = r0; - r0 = s.ev___30111.fields["vid"]; - s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.arg2; - s.tmp_0.arg3 = 16; - s.callLocIdx = 28; s.pc = 6; return s.tmp_0; + if (!r0) { step = 4; continue; } + s.tmp_2 = control_EventContext_runCallbacks__P3553_mk(s); + s.tmp_2.arg0 = s.caps[0]; + s.callLocIdx = 46; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - { step = 4; continue; } - case 3: - r0 = s.ev___30111.fields["eid"]; - s.tmp_0 = r0; - r0 = s.ev___30111.fields["vid"]; - s.tmp_1 = r0; - setupResume(s, 7); - pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); - checkResumeConsumed(); - return; + s.delay___6526 = (r0); + s.tmp_0 = pause__P405_mk(s); + s.tmp_0.arg0 = s.delay___6526; + s.callLocIdx = 47; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; + { step = 3; continue; } case 4: + r0 = (s.caps[0]).fields["runningCallbacks"] = (false); r0 = undefined; return leave(s, r0) default: oops() } } } -control___queuePollEvent__P23846.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"]} +inline__P6496.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control___queuePollEvent__P23846_mk(s) { +function inline__P6496_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P23846, depth: s.depth + 1, + parent: s, fn: inline__P6496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___30111: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, + delay___6526: undefined, } } -function control_pollEvents__P27019(s) { +function inline__P6502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4585,117 +4970,267 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___30153 = undefined; - s.i___30156 = undefined; - s.ev___30162 = undefined; - case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___27018); + r0 = s.caps[0].fields["runningCallbacks"]; s.tmp_1 = r0; - r0 = (s.tmp_1 > 0); + r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 12; continue; } + r0 = pxsim_Boolean__bang(s.tmp_0); + return leave(s, r0) + default: oops() +} } } +inline__P6502.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} + +function inline__P6502_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P6502, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, +} } + + + + + +function control_EventContext_runCallbacks__P3553(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.loopStart___6535 = undefined; + s.f___6548 = undefined; + s.unnamed48___U2 = undefined; + s.unnamed49___U3 = undefined; + s.runtime___6553 = undefined; + s.fps___6573 = undefined; + s.delay___6635 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, control_EventContext__C387_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.now___30153 = (r0); - s.i___30156 = (0); - case 2: - s.tmp_1 = r0 = s.i___30156; - r0 = pxsim_Array__length(globals._pollEventQueue___27018); + s.loopStart___6535 = (r0); + s.tmp_0 = r0 = s.arg0; + r0 = s.arg0.fields["prevTimeMillis"]; 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___27018, s.i___30156); - s.ev___30162 = (r0); - s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___30162; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); - s.callLocIdx = 24; s.pc = 13; return s.tmp_1; + r0 = (s.loopStart___6535 - s.tmp_2); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___6535); + s.f___6548 = (undefined); + r0 = s.arg0.fields["frameCallbacks"]; + s.unnamed48___U2 = (r0); + s.unnamed49___U3 = (0); + case 1: + s.tmp_0 = r0 = s.unnamed49___U3; + r0 = pxsim_Array__length(s.unnamed48___U2); + s.tmp_1 = r0; + r0 = (s.tmp_0 < s.tmp_1); + if (!r0) { step = 2; continue; } + r0 = pxsim_Array__getAt(s.unnamed48___U2, s.unnamed49___U3); + s.f___6548 = (r0); + s.tmp_2 = if_handler_1_mk(s); + s.tmp_2.arg0 = s.f___6548; + if (!s.tmp_2.arg0.vtable.iface) { + setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); + s.callLocIdx = 42; s.pc = 13; return s.tmp_2; } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["condition"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["condition"], 1); s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 24; s.pc = 13; return s.tmp_1;; } - else { s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["handler"]; + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["handler"], 1); s.callLocIdx = 42; s.pc = 13; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 42; s.pc = 13; return s.tmp_2;; } + else { s.callLocIdx = 42; s.pc = 13; return s.tmp_2; } } case 13: r0 = s.retval; - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = s.tmp_0; - { step = 6; continue; } - case 3: - r0 = s.ev___30162.fields["timeOut"]; + r0 = (s.unnamed49___U3 + 1); + s.unnamed49___U3 = (r0); + { step = 1; continue; } + case 2: + s.unnamed48___U2 = (undefined); + r0 = pxsim.control.millis(); + s.tmp_0 = r0; + r0 = (s.tmp_0 - s.loopStart___6535); + s.runtime___6553 = (r0); + s.tmp_0 = r0 = s.arg0; + r0 = s.tmp_0.fields["timeInSample"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 + s.runtime___6553); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); + s.tmp_0 = r0 = s.arg0; + r0 = s.tmp_0.fields["framesInSample"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 + 1); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["framesInSample"] = (s.tmp_1); + r0 = s.arg0.fields["timeInSample"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 > 1000); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 3; continue; } + r0 = s.tmp_0; + { step = 4; continue; } + case 3: + r0 = s.arg0.fields["framesInSample"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 > 30); + case 4: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 11; continue; } + r0 = s.arg0.fields["framesInSample"]; + s.tmp_4 = r0; + r0 = s.arg0.fields["timeInSample"]; + s.tmp_6 = r0; + r0 = (s.tmp_6 / 1000); + s.tmp_5 = r0; + r0 = (s.tmp_4 / s.tmp_5); + s.fps___6573 = (r0); + r0 = pxsim.Math_.round(s.fps___6573); + s.tmp_1 = r0; + if ((s.tmp_1) && (s.tmp_1).vtable) { + setupResume(s, 14); + pxsim_String__stringConv(s.tmp_1); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_1) + ""; } + case 14: + r0 = s.retval; + s.tmp_0 = r0; + r0 = pxsim_String__concat("fps:", s.tmp_0); + globals.control_EventContext_lastStats___389 = (r0); + r0 = (s.fps___6573 < 99); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 5; continue; } + if ((globals.control_EventContext_lastStats___389) && (globals.control_EventContext_lastStats___389).vtable) { + setupResume(s, 15); + pxsim_String__stringConv(globals.control_EventContext_lastStats___389); + checkResumeConsumed(); + return; + } else { s.retval = (globals.control_EventContext_lastStats___389) + ""; } + case 15: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.fps___6573 * 10); + s.tmp_7 = r0; + r0 = pxsim.Math_.round(s.tmp_7); + s.tmp_6 = r0; + r0 = (s.tmp_6 % 10); + s.tmp_5 = r0; + if ((s.tmp_5) && (s.tmp_5).vtable) { + setupResume(s, 16); + pxsim_String__stringConv(s.tmp_5); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_5) + ""; } + case 16: + r0 = s.retval; + s.tmp_4 = r0; + r0 = pxsim_String__concat(".", s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > 0); + if ((s.tmp_3) && (s.tmp_3).vtable) { + setupResume(s, 17); + pxsim_String__stringConv(s.tmp_3); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_3) + ""; } + case 17: + r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_numops_toBool(s.tmp_2); - if (r0) { step = 4; continue; } - r0 = s.tmp_2; - { step = 5; continue; } - case 4: - r0 = s.ev___30162.fields["start"]; - s.tmp_5 = r0; - r0 = (s.now___30153 - s.tmp_5); - s.tmp_4 = r0; - r0 = s.ev___30162.fields["timeOut"]; - s.tmp_6 = r0; - r0 = (s.tmp_4 > s.tmp_6); + r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); + globals.control_EventContext_lastStats___389 = (r0); case 5: - // jmp value (already in r0) - s.tmp_7 = r0; - r0 = s.tmp_7; case 6: + s.tmp_2 = control_ramSize__P338_mk(s); + s.callLocIdx = 43; s.pc = 18; return s.tmp_2; + case 18: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_1 > 2000000); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 7; continue; } + r0 = s.tmp_0; + { step = 8; continue; } + case 7: + r0 = pxsim.control.profilingEnabled(); + case 8: // jmp value (already in r0) - s.tmp_8 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_8); + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 9; continue; } - r0 = s.ev___30162.fields["eid"]; - s.tmp_9 = r0; - r0 = s.ev___30162.fields["vid"]; + r0 = pxsim_String_.mkEmpty(); + s.tmp_8 = r0; + r0 = (s.fps___6573 * 100); + s.tmp_11 = r0; + r0 = (s.tmp_11 | 0); s.tmp_10 = r0; - r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___30162.fields["once"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P23587_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___27018; - s.tmp_1.arg1 = s.i___30156; - s.tmp_1.arg2 = 1; - s.callLocIdx = 25; s.pc = 14; return s.tmp_1; - case 14: + if ((s.tmp_10) && (s.tmp_10).vtable) { + setupResume(s, 19); + pxsim_String__stringConv(s.tmp_10); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_10) + ""; } + case 19: r0 = s.retval; - r0 = (s.i___30156 - 1); - s.i___30156 = (r0); - case 7: - case 8: + s.tmp_9 = r0; + r0 = pxsim_String__concat(s.tmp_8, s.tmp_9); + s.tmp_7 = r0; + r0 = pxsim_String__concat(s.tmp_7, "/100 fps - "); + s.tmp_6 = r0; + r0 = s.arg0.fields["framesInSample"]; + s.tmp_13 = r0; + if ((s.tmp_13) && (s.tmp_13).vtable) { + setupResume(s, 20); + pxsim_String__stringConv(s.tmp_13); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_13) + ""; } + case 20: + r0 = s.retval; + s.tmp_12 = r0; + r0 = pxsim_String__concat(s.tmp_6, s.tmp_12); + s.tmp_5 = r0; + r0 = pxsim_String__concat(s.tmp_5, " frames"); + s.tmp_4 = r0; + r0 = pxsim.control.dmesg(s.tmp_4); + r0 = pxsim.control.gc(); + r0 = pxsim_pxtcore.dumpPerfCounters(); case 9: case 10: - r0 = (s.i___30156 + 1); - s.i___30156 = (r0); - { step = 2; continue; } + r0 = (s.arg0).fields["timeInSample"] = (0); + r0 = (s.arg0).fields["framesInSample"] = (0); case 11: - s.tmp_0 = pause__P23893_mk(s); - s.tmp_0.arg0 = 50; - s.callLocIdx = 26; s.pc = 15; return s.tmp_0; - case 15: - r0 = s.retval; - { step = 1; continue; } case 12: - globals._pollEventQueue___27018 = (undefined); - r0 = undefined; + s.tmp_0 = Math_max__P128_mk(s); + s.tmp_0.arg0 = 1; + r0 = (20 - s.runtime___6553); + s.tmp_0.arg1 = r0; + s.callLocIdx = 44; s.pc = 21; return s.tmp_0; + case 21: + r0 = s.retval; + s.delay___6635 = (r0); + r0 = s.delay___6635; return leave(s, r0) default: oops() } } } -control_pollEvents__P27019.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_EventContext_runCallbacks__P3553.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_pollEvents__P27019_mk(s) { +function control_EventContext_runCallbacks__P3553_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P27019, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P3553, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4708,126 +5243,24 @@ function control_pollEvents__P27019_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___30153: undefined, - i___30156: undefined, - ev___30162: undefined, -} } - - - - - -function helpers_arraySplice__P23587(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.i___30210 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - r0 = (s.arg1 < 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - { step = 5; continue; } - case 1: - case 2: - s.i___30210 = (0); - case 3: - r0 = (s.i___30210 < 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___30210 + 1); - s.i___30210 = (r0); - { step = 3; continue; } - case 4: - case 5: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -helpers_arraySplice__P23587.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__P23587_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: helpers_arraySplice__P23587, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - i___30210: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function control_PollEvent_constructor__P27016(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.arg4 = (s.lambdaArgs[4]); - s.arg5 = (s.lambdaArgs[5]); - s.arg6 = (s.lambdaArgs[6]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C27015_VT)) failedCast(r0); - r0 = (s.arg0).fields["eid"] = (s.arg1); - r0 = (s.arg0).fields["vid"] = (s.arg2); - r0 = (s.arg0).fields["start"] = (s.arg3); - r0 = (s.arg0).fields["timeOut"] = (s.arg4); - r0 = (s.arg0).fields["condition"] = (s.arg5); - r0 = (s.arg0).fields["once"] = (s.arg6); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -control_PollEvent_constructor__P27016.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__P27016_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_PollEvent_constructor__P27016, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_11: undefined, + tmp_12: undefined, + tmp_13: undefined, + loopStart___6535: undefined, + f___6548: undefined, + unnamed48___U2: undefined, + unnamed49___U3: undefined, + runtime___6553: undefined, + fps___6573: undefined, + delay___6635: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, - arg5: undefined, - arg6: undefined, } } -function control_onEvent__P23871(s) { +function pauseUntil__P359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4837,63 +5270,77 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___29060 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P23888_mk(s); - s.callLocIdx = 39; s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.ctx___29060 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___29060); + r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); + r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); + r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_0 = control_EventContext_registerHandler__P23885_mk(s); - s.tmp_0.arg0 = s.ctx___29060; - s.tmp_0.arg1 = s.arg0; - s.tmp_0.arg2 = s.arg1; - s.tmp_0.arg3 = s.arg2; - s.tmp_0.arg4 = s.arg3; - s.callLocIdx = 40; s.pc = 4; return s.tmp_0; - case 4: + s.tmp_2 = lambda_1_mk(s); + s.tmp_2.argL = s.arg0; + setupLambda(s.tmp_2, s.tmp_2.argL); + s.callLocIdx = 29; s.pc = 8; return s.tmp_2; + case 8: r0 = s.retval; case 2: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 3; continue; } + { step = 7; continue; } + case 3: + case 4: + r0 = pxsim_numops_toBoolDecr(s.arg1); + s.tmp_5 = r0; + r0 = pxsim_Boolean__bang(s.tmp_5); + s.tmp_4 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + if (!r0) { step = 5; continue; } + s.arg1 = (0); + case 5: + case 6: + s.tmp_0 = control___queuePollEvent__P358_mk(s); + s.tmp_0.arg0 = s.arg1; + s.tmp_0.arg1 = s.arg0; + s.tmp_0.arg2 = undefined; + s.callLocIdx = 30; s.pc = 9; return s.tmp_0; + case 9: + r0 = s.retval; + case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_onEvent__P23871.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"]} +pauseUntil__P359.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 control_onEvent__P23871_mk(s) { +function pauseUntil__P359_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P23871, depth: s.depth + 1, + parent: s, fn: pauseUntil__P359, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___29060: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, arg0: undefined, arg1: undefined, - arg2: undefined, - arg3: undefined, } } -function control_eventContext__P23888(s) { +function control___queuePollEvent__P358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4903,42 +5350,97 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___27044); - if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___27044; - r0 = pxsim_Array__length(globals.eventContexts___27044); + s.ev___6657 = 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__C3527_VT); + s.tmp_0 = r0; + s.tmp_1 = control_PollEvent_constructor__P3528_mk(s); + s.tmp_1.arg0 = s.tmp_0; + r0 = pxsim.control.allocateNotifyEvent(); + s.tmp_1.arg1 = r0; + s.tmp_1.arg2 = 1; + r0 = pxsim.control.millis(); + s.tmp_1.arg3 = r0; + s.tmp_1.arg4 = s.arg0; + s.tmp_1.arg5 = s.arg1; + r0 = pxsim_numops_toBoolDecr(s.arg2); s.tmp_2 = r0; - r0 = (s.tmp_2 - 1); + r0 = pxsim_Boolean__bang(s.tmp_2); + s.tmp_1.arg6 = r0; + s.callLocIdx = 27; s.pc = 5; return s.tmp_1; + case 5: + r0 = s.retval; + s.ev___6657 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___3530); s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); + 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(); + s.tmp_2 = r0; + r0 = pxsim_Array__push(s.tmp_2, s.ev___6657); + globals._pollEventQueue___3530 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P3531); { step = 2; continue; } case 1: - r0 = undefined; + r0 = pxsim_Array__push(globals._pollEventQueue___3530, s.ev___6657); case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = s.tmp_3; + r0 = pxsim_numops_toBoolDecr(s.arg2); + if (!r0) { step = 3; continue; } + s.tmp_0 = control_onEvent__P383_mk(s); + r0 = s.ev___6657.fields["eid"]; + s.tmp_0.arg0 = r0; + r0 = s.ev___6657.fields["vid"]; + s.tmp_0.arg1 = r0; + s.tmp_0.arg2 = s.arg2; + s.tmp_0.arg3 = 16; + s.callLocIdx = 28; s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + { step = 4; continue; } + case 3: + r0 = s.ev___6657.fields["eid"]; + s.tmp_0 = r0; + r0 = s.ev___6657.fields["vid"]; + s.tmp_1 = r0; + setupResume(s, 7); + pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); + checkResumeConsumed(); + return; + case 7: + r0 = s.retval; + case 4: + r0 = undefined; return leave(s, r0) default: oops() } } } -control_eventContext__P23888.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control___queuePollEvent__P358.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_eventContext__P23888_mk(s) { +function control___queuePollEvent__P358_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P23888, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P358, 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, + ev___6657: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function control_EventContext_registerHandler__P23885(s) { +function control_pollEvents__P3531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4948,90 +5450,117 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___29083 = undefined; - s.unnamed134___U1 = undefined; - s.unnamed135___U2 = undefined; - s.hn___29106 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.arg4 = (s.lambdaArgs[4]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23875_VT)) failedCast(r0); - s.h___29083 = (undefined); - r0 = s.arg0.fields["handlers"]; - s.unnamed134___U1 = (r0); - s.unnamed135___U2 = (0); + s.now___6699 = undefined; + s.i___6702 = undefined; + s.ev___6708 = undefined; case 1: - s.tmp_0 = r0 = s.unnamed135___U2; - r0 = pxsim_Array__length(s.unnamed134___U1); + r0 = pxsim_Array__length(globals._pollEventQueue___3530); s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed134___U1, s.unnamed135___U2); - s.h___29083 = (r0); - r0 = s.h___29083.fields["src"]; + 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___6699 = (r0); + s.i___6702 = (0); + case 2: + s.tmp_1 = r0 = s.i___6702; + r0 = pxsim_Array__length(globals._pollEventQueue___3530); + 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___3530, s.i___6702); + s.ev___6708 = (r0); + s.tmp_1 = if_condition_1_mk(s); + s.tmp_1.arg0 = s.ev___6708; + if (!s.tmp_1.arg0.vtable.iface) { + setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); + s.callLocIdx = 24; s.pc = 13; return s.tmp_1; + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["condition"]; + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["condition"], 1); s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 24; s.pc = 13; return s.tmp_1;; } + else { s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } + } + case 13: + r0 = s.retval; + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 3; continue; } + r0 = s.tmp_0; + { step = 6; continue; } + case 3: + r0 = s.ev___6708.fields["timeOut"]; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.arg1); + r0 = (s.tmp_3 > 0); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); - if (r0) { step = 2; continue; } + if (r0) { step = 4; continue; } r0 = s.tmp_2; - { step = 3; continue; } - case 2: - r0 = s.h___29083.fields["value"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 == s.arg2); - case 3: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 4; continue; } - r0 = (s.h___29083).fields["flags"] = (s.arg4); - r0 = (s.h___29083).fields["handler"] = (s.arg3); - { step = 7; continue; } + { step = 5; continue; } case 4: + r0 = s.ev___6708.fields["start"]; + s.tmp_5 = r0; + r0 = (s.now___6699 - s.tmp_5); + s.tmp_4 = r0; + r0 = s.ev___6708.fields["timeOut"]; + s.tmp_6 = r0; + r0 = (s.tmp_4 > s.tmp_6); case 5: - r0 = (s.unnamed135___U2 + 1); - s.unnamed135___U2 = (r0); - { step = 1; continue; } + // jmp value (already in r0) + s.tmp_7 = r0; + r0 = s.tmp_7; case 6: - s.unnamed134___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C27036_VT); + // jmp value (already in r0) + s.tmp_8 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_8); + if (!r0) { step = 9; continue; } + r0 = s.ev___6708.fields["eid"]; + s.tmp_9 = r0; + r0 = s.ev___6708.fields["vid"]; + s.tmp_10 = r0; + r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); + r0 = s.ev___6708.fields["once"]; s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P27039_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.arg1; - s.tmp_1.arg2 = s.arg2; - s.tmp_1.arg3 = s.arg3; - s.tmp_1.arg4 = s.arg4; - s.callLocIdx = 52; s.pc = 8; return s.tmp_1; - case 8: + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 7; continue; } + s.tmp_1 = helpers_arraySplice__P99_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___3530; + s.tmp_1.arg1 = s.i___6702; + s.tmp_1.arg2 = 1; + s.callLocIdx = 25; s.pc = 14; return s.tmp_1; + case 14: r0 = s.retval; - s.hn___29106 = (s.tmp_0); - r0 = s.arg0.fields["handlers"]; - s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___29106); - s.tmp_0 = control_EventHandler_register__P27037_mk(s); - s.tmp_0.arg0 = s.hn___29106; - s.callLocIdx = 53; s.pc = 9; return s.tmp_0; + r0 = (s.i___6702 - 1); + s.i___6702 = (r0); + case 7: + case 8: case 9: + case 10: + r0 = (s.i___6702 + 1); + s.i___6702 = (r0); + { step = 2; continue; } + case 11: + s.tmp_0 = pause__P405_mk(s); + s.tmp_0.arg0 = 50; + s.callLocIdx = 26; s.pc = 15; return s.tmp_0; + case 15: r0 = s.retval; - case 7: + { step = 1; continue; } + case 12: + globals._pollEventQueue___3530 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P23885.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_pollEvents__P3531.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} -function control_EventContext_registerHandler__P23885_mk(s) { +function control_pollEvents__P3531_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P23885, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P3531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5039,22 +5568,21 @@ function control_EventContext_registerHandler__P23885_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___29083: undefined, - unnamed134___U1: undefined, - unnamed135___U2: undefined, - hn___29106: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, + tmp_6: undefined, + tmp_7: undefined, + tmp_8: undefined, + tmp_9: undefined, + tmp_10: undefined, + now___6699: undefined, + i___6702: undefined, + ev___6708: undefined, } } -function control_EventHandler_constructor__P27039(s) { +function helpers_arraySplice__P99(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5064,43 +5592,55 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: + s.i___6756 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.arg4 = (s.lambdaArgs[4]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C27036_VT)) failedCast(r0); - r0 = (s.arg0).fields["src"] = (s.arg1); - r0 = (s.arg0).fields["value"] = (s.arg2); - r0 = (s.arg0).fields["handler"] = (s.arg3); - r0 = (s.arg0).fields["flags"] = (s.arg4); + r0 = (s.arg1 < 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + { step = 5; continue; } + case 1: + case 2: + s.i___6756 = (0); + case 3: + r0 = (s.i___6756 < 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___6756 + 1); + s.i___6756 = (r0); + { step = 3; continue; } + case 4: + case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P27039.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"]} +helpers_arraySplice__P99.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 control_EventHandler_constructor__P27039_mk(s) { +function helpers_arraySplice__P99_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P27039, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P99, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + i___6756: undefined, arg0: undefined, arg1: undefined, arg2: undefined, - arg3: undefined, - arg4: undefined, } } -function control_EventHandler_register__P27037(s) { +function control_PollEvent_constructor__P3528(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5112,91 +5652,47 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.arg3 = (s.lambdaArgs[3]); + s.arg4 = (s.lambdaArgs[4]); + s.arg5 = (s.lambdaArgs[5]); + s.arg6 = (s.lambdaArgs[6]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C27036_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P29127); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = s.arg0.fields["src"]; - s.tmp_1 = r0; - r0 = s.arg0.fields["value"]; - s.tmp_2 = r0; - r0 = s.arg0.fields["flags"]; - s.tmp_3 = r0; - r0 = pxsim.control.internalOnEvent(s.tmp_1, s.tmp_2, s.tmp_0, s.tmp_3); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -control_EventHandler_register__P27037.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__P27037_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_EventHandler_register__P27037, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - arg0: undefined, -} } - - - - - -function inline__P29127(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - r0 = s.caps[0].fields["handler"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_1 = if_handler_1_mk(s); - s.tmp_1.arg0 = s.caps[0]; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "handler"), 1); - s.callLocIdx = 41; s.pc = 3; return s.tmp_1; - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["handler"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["handler"], 1); s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 41; s.pc = 3; return s.tmp_1;; } - else { s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } - } - case 3: - r0 = s.retval; - case 1: - case 2: + r0 = s.arg0; + if (!checkSubtype(r0, control_PollEvent__C3527_VT)) failedCast(r0); + r0 = (s.arg0).fields["eid"] = (s.arg1); + r0 = (s.arg0).fields["vid"] = (s.arg2); + r0 = (s.arg0).fields["start"] = (s.arg3); + r0 = (s.arg0).fields["timeOut"] = (s.arg4); + r0 = (s.arg0).fields["condition"] = (s.arg5); + r0 = (s.arg0).fields["once"] = (s.arg6); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P29127.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_PollEvent_constructor__P3528.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 inline__P29127_mk(s) { +function control_PollEvent_constructor__P3528_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29127, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P3528, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, + arg4: undefined, + arg5: undefined, + arg6: undefined, } } -function game_onUpdate__P26032(s) { +function game_onUpdate__P2544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5210,9 +5706,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P27375_mk(s); + s.tmp_0 = game_init__P3887_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 827; s.pc = 4; return s.tmp_0; + s.callLocIdx = 829; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -5224,15 +5720,15 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P23883_mk(s); - s.tmp_3 = game_eventContext__P26024_mk(s); - s.callLocIdx = 828; s.pc = 6; return s.tmp_3; + s.tmp_2 = control_EventContext_registerFrameHandler__P395_mk(s); + s.tmp_3 = game_eventContext__P2536_mk(s); + s.callLocIdx = 830; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 20; s.tmp_2.arg2 = s.arg0; - s.callLocIdx = 829; s.pc = 5; return s.tmp_2; + s.callLocIdx = 831; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -5240,12 +5736,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P26032.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__P2544.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__P26032_mk(s) { +function game_onUpdate__P2544_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P26032, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P2544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5258,7 +5754,7 @@ function game_onUpdate__P26032_mk(s) { -function particles_SprayFactory_constructor__P26208(s) { +function particles_SprayFactory_constructor__P2720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5276,35 +5772,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C26207_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C2719_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P27746_mk(s); - s.callLocIdx = 1083; s.pc = 1; return s.tmp_0; + s.tmp_0 = particles_initTrig__P4258_mk(s); + s.callLocIdx = 1085; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P26211_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P2723_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1084; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1086; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P26212_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P2724_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 1085; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1087; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P26208.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__P2720.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__P26208_mk(s) { +function particles_SprayFactory_constructor__P2720_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P26208, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P2720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5317,7 +5813,7 @@ function particles_SprayFactory_constructor__P26208_mk(s) { -function particles_initTrig__P27746(s) { +function particles_initTrig__P4258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5327,36 +5823,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___27732); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___4244); 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__P26201_mk(s); + s.tmp_2 = particles_cacheSin__P2713_mk(s); s.tmp_2.arg0 = 100; - s.callLocIdx = 1071; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1073; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___27732 = (r0); - s.tmp_0 = particles_cacheCos__P26202_mk(s); + globals.cachedSin___4244 = (r0); + s.tmp_0 = particles_cacheCos__P2714_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 1072; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1074; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___27733 = (r0); + globals.cachedCos___4245 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P27746.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P4258.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__P27746_mk(s) { +function particles_initTrig__P4258_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P27746, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P4258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5367,7 +5863,7 @@ function particles_initTrig__P27746_mk(s) { -function particles_cacheCos__P26202(s) { +function particles_cacheCos__P2714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5377,25 +5873,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___29444 = undefined; - s.anglePerSlice___29446 = undefined; - s.i___29452 = undefined; + s.cos___5990 = undefined; + s.anglePerSlice___5992 = undefined; + s.i___5998 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___29444 = (r0); + s.cos___5990 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___29446 = (r0); - s.i___29452 = (0); + s.anglePerSlice___5992 = (r0); + s.i___5998 = (0); case 1: - r0 = (s.i___29452 < s.arg0); + r0 = (s.i___5998 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___29444; - r0 = (s.i___29452 * s.anglePerSlice___29446); + s.tmp_1 = r0 = s.cos___5990; + r0 = (s.i___5998 * s.anglePerSlice___5992); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -5404,20 +5900,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___29452 + 1); - s.i___29452 = (r0); + r0 = (s.i___5998 + 1); + s.i___5998 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___29444; + r0 = s.cos___5990; return leave(s, r0) default: oops() } } } -particles_cacheCos__P26202.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__P2714.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__P26202_mk(s) { +function particles_cacheCos__P2714_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P26202, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P2714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5425,9 +5921,9 @@ function particles_cacheCos__P26202_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___29444: undefined, - anglePerSlice___29446: undefined, - i___29452: undefined, + cos___5990: undefined, + anglePerSlice___5992: undefined, + i___5998: undefined, arg0: undefined, } } @@ -5435,7 +5931,7 @@ function particles_cacheCos__P26202_mk(s) { -function particles_cacheSin__P26201(s) { +function particles_cacheSin__P2713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5445,25 +5941,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___29470 = undefined; - s.anglePerSlice___29472 = undefined; - s.i___29478 = undefined; + s.sin___6016 = undefined; + s.anglePerSlice___6018 = undefined; + s.i___6024 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___29470 = (r0); + s.sin___6016 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___29472 = (r0); - s.i___29478 = (0); + s.anglePerSlice___6018 = (r0); + s.i___6024 = (0); case 1: - r0 = (s.i___29478 < s.arg0); + r0 = (s.i___6024 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___29470; - r0 = (s.i___29478 * s.anglePerSlice___29472); + s.tmp_1 = r0 = s.sin___6016; + r0 = (s.i___6024 * s.anglePerSlice___6018); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -5472,20 +5968,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___29478 + 1); - s.i___29478 = (r0); + r0 = (s.i___6024 + 1); + s.i___6024 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___29470; + r0 = s.sin___6016; return leave(s, r0) default: oops() } } } -particles_cacheSin__P26201.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__P2713.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__P26201_mk(s) { +function particles_cacheSin__P2713_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P26201, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P2713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5493,9 +5989,9 @@ function particles_cacheSin__P26201_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___29470: undefined, - anglePerSlice___29472: undefined, - i___29478: undefined, + sin___6016: undefined, + anglePerSlice___6018: undefined, + i___6024: undefined, arg0: undefined, } } @@ -5503,7 +5999,7 @@ function particles_cacheSin__P26201_mk(s) { -function particles_SprayFactory_setDirection__P26212(s) { +function particles_SprayFactory_setDirection__P2724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5520,31 +6016,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C26207_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C2719_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P27751_mk(s); + s.tmp_4 = particles_toRadians__P4263_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4.arg0 = r0; - s.callLocIdx = 1093; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1095; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___27745); + r0 = (s.tmp_3 / globals.angleSlice___4257); 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__P27751_mk(s); + s.tmp_4 = particles_toRadians__P4263_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 1094; s.pc = 2; return s.tmp_4; + s.callLocIdx = 1096; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___27745); + r0 = (s.tmp_3 / globals.angleSlice___4257); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -5553,12 +6049,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P26212.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__P2724.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__P26212_mk(s) { +function particles_SprayFactory_setDirection__P2724_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P26212, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P2724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5576,7 +6072,7 @@ function particles_SprayFactory_setDirection__P26212_mk(s) { -function particles_toRadians__P27751(s) { +function particles_toRadians__P4263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5594,9 +6090,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P23614_mk(s); + s.tmp_3 = Math_abs__P126_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1075; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1077; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -5613,12 +6109,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P27751.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__P4263.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__P27751_mk(s) { +function particles_toRadians__P4263_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P27751, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P4263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5631,7 +6127,7 @@ function particles_toRadians__P27751_mk(s) { -function particles_ParticleFactory_constructor__P26204(s) { +function particles_ParticleFactory_constructor__P2716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5646,17 +6142,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C26203_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C2715_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P26204.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__P2716.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__P26204_mk(s) { +function particles_ParticleFactory_constructor__P2716_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P26204, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P2716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5665,7 +6161,7 @@ function particles_ParticleFactory_constructor__P26204_mk(s) { -function particles_ParticleSource_setFactory__P26186(s) { +function particles_ParticleSource_setFactory__P2698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5681,7 +6177,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -5691,12 +6187,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P26186.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__P2698.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__P26186_mk(s) { +function particles_ParticleSource_setFactory__P2698_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P26186, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P2698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5706,7 +6202,7 @@ function particles_ParticleSource_setFactory__P26186_mk(s) { -function particles_ParticleSource_setRate__P26184(s) { +function particles_ParticleSource_setRate__P2696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5722,7 +6218,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -5734,12 +6230,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P26184.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__P2696.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__P26184_mk(s) { +function particles_ParticleSource_setRate__P2696_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P26184, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P2696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5752,7 +6248,7 @@ function particles_ParticleSource_setRate__P26184_mk(s) { -function particles_ParticleSource_setAnchor__P26183(s) { +function particles_ParticleSource_setAnchor__P2695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5768,18 +6264,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P26183.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__P2695.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__P26183_mk(s) { +function particles_ParticleSource_setAnchor__P2695_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P26183, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P2695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5789,7 +6285,7 @@ function particles_ParticleSource_setAnchor__P26183_mk(s) { -function particles_ParticleSource_clear__P26182(s) { +function particles_ParticleSource_clear__P2694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5804,18 +6300,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P26182.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__P2694.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__P26182_mk(s) { +function particles_ParticleSource_clear__P2694_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P26182, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P2694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5824,7 +6320,7 @@ function particles_ParticleSource_clear__P26182_mk(s) { -function particles_ParticleSource_destroy__P26181(s) { +function particles_ParticleSource_destroy__P2693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5839,11 +6335,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P26180_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P2692_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1032; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1034; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -5852,21 +6348,21 @@ 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__P26175_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P2687_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1033; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1035; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P26181.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__P2693.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__P26181_mk(s) { +function particles_ParticleSource_destroy__P2693_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P26181, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P2693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5878,7 +6374,7 @@ function particles_ParticleSource_destroy__P26181_mk(s) { -function particles_ParticleSource_enabled__P26180(s) { +function particles_ParticleSource_enabled__P2692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5894,11 +6390,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P26179_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P2691_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1031; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1033; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -5927,12 +6423,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P26180.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__P2692.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__P26180_mk(s) { +function particles_ParticleSource_enabled__P2692_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P26180, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P2692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5949,7 +6445,7 @@ function particles_ParticleSource_enabled__P26180_mk(s) { -function particles_ParticleSource_enabled__P26179(s) { +function particles_ParticleSource_enabled__P2691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5964,7 +6460,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -5979,13 +6475,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P26179.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__P26179.isGetter = true; +particles_ParticleSource_enabled__P2691.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__P2691.isGetter = true; -function particles_ParticleSource_enabled__P26179_mk(s) { +function particles_ParticleSource_enabled__P2691_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P26179, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P2691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5999,7 +6495,7 @@ function particles_ParticleSource_enabled__P26179_mk(s) { -function particles_ParticleSource_setAcceleration__P26176(s) { +function particles_ParticleSource_setAcceleration__P2688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6016,7 +6512,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -6033,12 +6529,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P26176.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__P2688.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__P26176_mk(s) { +function particles_ParticleSource_setAcceleration__P2688_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P26176, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P2688, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6052,7 +6548,7 @@ function particles_ParticleSource_setAcceleration__P26176_mk(s) { -function sprites_BaseSprite_constructor__P25351(s) { +function sprites_BaseSprite_constructor__P1863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6068,15 +6564,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25349_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P25354_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C1861_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P1866_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 128; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P25933_mk(s); - s.tmp_1 = game_currentScene__P26021_mk(s); + s.tmp_0 = scene_Scene_addSprite__P2445_mk(s); + s.tmp_1 = game_currentScene__P2533_mk(s); s.callLocIdx = 129; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -6089,12 +6585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P25351.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__P1863.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__P25351_mk(s) { +function sprites_BaseSprite_constructor__P1863_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P25351, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P1863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6106,7 +6602,7 @@ function sprites_BaseSprite_constructor__P25351_mk(s) { -function scene_Scene_addSprite__P25933(s) { +function scene_Scene_addSprite__P2445(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6122,7 +6618,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2420_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -6149,12 +6645,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P25933.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__P2445.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__P25933_mk(s) { +function scene_Scene_addSprite__P2445_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P25933, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P2445, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6168,7 +6664,7 @@ function scene_Scene_addSprite__P25933_mk(s) { -function sprites_BaseSprite_z__P25354(s) { +function sprites_BaseSprite_z__P1866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6184,7 +6680,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25349_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1861_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -6192,7 +6688,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__P26021_mk(s); + s.tmp_1 = game_currentScene__P2533_mk(s); s.callLocIdx = 131; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -6208,12 +6704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P25354.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__P1866.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__P25354_mk(s) { +function sprites_BaseSprite_z__P1866_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P25354, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P1866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6227,7 +6723,7 @@ function sprites_BaseSprite_z__P25354_mk(s) { -function sprites_BaseSprite_z__P25353(s) { +function sprites_BaseSprite_z__P1865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6242,18 +6738,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25349_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1861_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P25353.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__P25353.isGetter = true; +sprites_BaseSprite_z__P1865.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__P1865.isGetter = true; -function sprites_BaseSprite_z__P25353_mk(s) { +function sprites_BaseSprite_z__P1865_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P25353, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P1865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6262,7 +6758,7 @@ function sprites_BaseSprite_z__P25353_mk(s) { -function helpers_arrayShift__P23589(s) { +function helpers_arrayShift__P101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6280,12 +6776,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P23589.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__P101.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__P23589_mk(s) { +function helpers_arrayShift__P101_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P23589, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6294,7 +6790,7 @@ function helpers_arrayShift__P23589_mk(s) { -function particles_SprayFactory_setSpeed__P26211(s) { +function particles_SprayFactory_setSpeed__P2723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6310,7 +6806,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C26207_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C2719_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -6321,12 +6817,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P26211.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__P2723.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__P26211_mk(s) { +function particles_SprayFactory_setSpeed__P2723_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P26211, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P2723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6339,7 +6835,7 @@ function particles_SprayFactory_setSpeed__P26211_mk(s) { -function particles_ConfettiFactory_constructor__P26235(s) { +function particles_ConfettiFactory_constructor__P2747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6349,8 +6845,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___30529 = undefined; - s.i___30545 = undefined; + s.confetti___7075 = undefined; + s.i___7091 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6358,52 +6854,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C26234_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C2746_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex30532); + r0 = pxsim.image.ofBuffer(_hex7078); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex30534); + r0 = pxsim.image.ofBuffer(_hex7080); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex30536); + r0 = pxsim.image.ofBuffer(_hex7082); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex30538); + r0 = pxsim.image.ofBuffer(_hex7084); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex30540); + r0 = pxsim.image.ofBuffer(_hex7086); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___30529 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P26230_mk(s); + s.confetti___7075 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P2742_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___30529, 0); + r0 = pxsim_Array__getAt(s.confetti___7075, 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1117; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1119; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___30545 = (1); + s.i___7091 = (1); case 1: - s.tmp_1 = r0 = s.i___30545; - r0 = pxsim_Array__length(s.confetti___30529); + s.tmp_1 = r0 = s.i___7091; + r0 = pxsim_Array__length(s.confetti___7075); 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__P26231_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P2743_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___30529, s.i___30545); + r0 = pxsim_Array__getAt(s.confetti___7075, s.i___7091); s.tmp_3.arg1 = r0; - s.callLocIdx = 1118; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1120; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___30545 + 1); - s.i___30545 = (r0); + r0 = (s.i___7091 + 1); + s.i___7091 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -6412,12 +6908,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P26235.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__P2747.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__P26235_mk(s) { +function particles_ConfettiFactory_constructor__P2747_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P26235, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P2747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6425,23 +6921,23 @@ function particles_ConfettiFactory_constructor__P26235_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___30529: undefined, - i___30545: undefined, + confetti___7075: undefined, + i___7091: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex30532 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex30534 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex30536 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex30538 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex30540 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex7078 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex7080 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex7082 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex7084 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex7086 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P26231(s) { +function particles_ShapeFactory_addShape__P2743(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6457,7 +6953,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C26229_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C2741_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -6469,12 +6965,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P26231.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__P2743.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__P26231_mk(s) { +function particles_ShapeFactory_addShape__P2743_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P26231, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P2743, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6485,7 +6981,7 @@ function particles_ShapeFactory_addShape__P26231_mk(s) { -function particles_ShapeFactory_constructor__P26230(s) { +function particles_ShapeFactory_constructor__P2742(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6503,14 +6999,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C26229_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P26218_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C2741_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P2730_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; s.tmp_0.arg4 = undefined; - s.callLocIdx = 1107; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1109; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -6541,12 +7037,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P26230.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__P2742.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__P26230_mk(s) { +function particles_ShapeFactory_constructor__P2742_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P26230, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P2742, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6563,7 +7059,7 @@ function particles_ShapeFactory_constructor__P26230_mk(s) { -function particles_AreaFactory_constructor__P26218(s) { +function particles_AreaFactory_constructor__P2730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6582,13 +7078,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C26213_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P26208_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C2725_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P2720_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 90; - s.callLocIdx = 1095; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1097; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["xRange"] = (s.arg1); @@ -6613,12 +7109,12 @@ 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__C26075_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2587_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P26077_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P2589_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1096; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1098; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -6626,12 +7122,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P26218.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__P2730.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__P26218_mk(s) { +function particles_AreaFactory_constructor__P2730_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P26218, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P2730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6646,7 +7142,7 @@ function particles_AreaFactory_constructor__P26218_mk(s) { -function effects_ScreenEffect_constructor__P26283(s) { +function effects_ScreenEffect_constructor__P2795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6665,13 +7161,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C26282_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P26279_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C2794_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P2791_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = s.arg4; - s.callLocIdx = 1124; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1126; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["sceneDefaultRate"] = (s.arg2); @@ -6679,12 +7175,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P26283.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__P2795.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__P26283_mk(s) { +function effects_ScreenEffect_constructor__P2795_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P26283, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P2795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6698,7 +7194,7 @@ function effects_ScreenEffect_constructor__P26283_mk(s) { -function effects_ParticleEffect_constructor__P26279(s) { +function effects_ParticleEffect_constructor__P2791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6716,7 +7212,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C26278_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C2790_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -6724,12 +7220,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P26279.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__P2791.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__P26279_mk(s) { +function effects_ParticleEffect_constructor__P2791_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P26279, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P2791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6741,7 +7237,7 @@ function effects_ParticleEffect_constructor__P26279_mk(s) { -function scene_Scene_init__P25930(s) { +function scene_Scene_init__P2442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6756,7 +7252,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2420_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6764,7 +7260,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P25196_mk(s); + s.tmp_1 = power_poke__P1708_mk(s); s.callLocIdx = 781; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -6773,10 +7269,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__P30664); + r0 = pxsim_pxtcore_mkAction(1, inline__P7210); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23883_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P395_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -6784,18 +7280,18 @@ switch (step) { s.callLocIdx = 784; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P23883_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P395_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P25413; + s.tmp_0.arg2 = controller__moveSprites__P1925; s.callLocIdx = 785; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P30687); + r0 = pxsim_pxtcore_mkAction(1, inline__P7233); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23883_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P395_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -6803,10 +7299,10 @@ switch (step) { s.callLocIdx = 787; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P30700); + r0 = pxsim_pxtcore_mkAction(1, inline__P7246); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23883_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P395_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -6814,10 +7310,10 @@ switch (step) { s.callLocIdx = 791; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P30721); + r0 = pxsim_pxtcore_mkAction(1, inline__P7267); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23883_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P395_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -6825,10 +7321,10 @@ switch (step) { s.callLocIdx = 793; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P30729); + r0 = pxsim_pxtcore_mkAction(1, inline__P7275); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P23883_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P395_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -6836,19 +7332,19 @@ switch (step) { s.callLocIdx = 797; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P23883_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P395_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P25254; + s.tmp_0.arg2 = control___screen_update__P1766; s.callLocIdx = 798; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P30758); + r0 = pxsim_pxtcore_mkAction(1, inline__P7304); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P23596_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___25928; + s.tmp_1 = helpers_arrayForEach__P108_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___2440; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 800; s.pc = 12; return s.tmp_1; case 12: @@ -6858,12 +7354,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P25930.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__P2442.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__P25930_mk(s) { +function scene_Scene_init__P2442_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P25930, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P2442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6874,7 +7370,7 @@ function scene_Scene_init__P25930_mk(s) { -function inline__P30664(s) { +function inline__P7210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6893,7 +7389,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__P25441_mk(s); + s.tmp_0 = controller___update__P1953_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -6907,12 +7403,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30664.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P7210.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P30664_mk(s) { +function inline__P7210_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30664, depth: s.depth + 1, + parent: s, fn: inline__P7210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6924,7 +7420,7 @@ function inline__P30664_mk(s) { -function inline__P30687(s) { +function inline__P7233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6934,7 +7430,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C25654_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C2166_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -6943,7 +7439,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25654_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2166_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: @@ -6952,12 +7448,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30687.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P7233.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P30687_mk(s) { +function inline__P7233_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30687, depth: s.depth + 1, + parent: s, fn: inline__P7233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6968,7 +7464,7 @@ function inline__P30687_mk(s) { -function inline__P30700(s) { +function inline__P7246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6978,39 +7474,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___30701 = undefined; - s.s___30709 = undefined; - s.unnamed154___U2 = undefined; - s.unnamed155___U3 = undefined; + s.dt___7247 = undefined; + s.s___7255 = undefined; + s.unnamed74___U2 = undefined; + s.unnamed75___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___30701 = (r0); - s.tmp_0 = scene_Camera_update__P25865_mk(s); + s.dt___7247 = (r0); + s.tmp_0 = scene_Camera_update__P2377_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 789; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___30709 = (undefined); + s.s___7255 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed154___U2 = (r0); - s.unnamed155___U3 = (0); + s.unnamed74___U2 = (r0); + s.unnamed75___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed155___U3; - r0 = pxsim_Array__length(s.unnamed154___U2); + s.tmp_0 = r0 = s.unnamed75___U3; + r0 = pxsim_Array__length(s.unnamed74___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed154___U2, s.unnamed155___U3); - s.s___30709 = (r0); + r0 = pxsim_Array__getAt(s.unnamed74___U2, s.unnamed75___U3); + s.s___7255 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___30709; + s.tmp_2.arg0 = s.s___7255; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___30701; + s.tmp_2.arg2 = s.dt___7247; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 790; s.pc = 4; return s.tmp_2; @@ -7022,36 +7518,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed155___U3 + 1); - s.unnamed155___U3 = (r0); + r0 = (s.unnamed75___U3 + 1); + s.unnamed75___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed154___U2 = (undefined); + s.unnamed74___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P30700.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P7246.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P30700_mk(s) { +function inline__P7246_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30700, depth: s.depth + 1, + parent: s, fn: inline__P7246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___30701: undefined, - s___30709: undefined, - unnamed154___U2: undefined, - unnamed155___U3: undefined, + dt___7247: undefined, + s___7255: undefined, + unnamed74___U2: undefined, + unnamed75___U3: undefined, } } -function inline__P30721(s) { +function inline__P7267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7061,7 +7557,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P25935_mk(s); + s.tmp_0 = scene_Scene_render__P2447_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 792; s.pc = 1; return s.tmp_0; case 1: @@ -7070,12 +7566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30721.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P7267.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P30721_mk(s) { +function inline__P7267_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30721, depth: s.depth + 1, + parent: s, fn: inline__P7267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -7084,7 +7580,7 @@ function inline__P30721_mk(s) { -function inline__P30729(s) { +function inline__P7275(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7094,26 +7590,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___26018; + s.tmp_0 = r0 = globals.stats___2530; 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___23878; + r0 = globals.control_EventContext_onStats___390; 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___23878; - if ((globals.control_EventContext_lastStats___23877) && (globals.control_EventContext_lastStats___23877).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___390; + if ((globals.control_EventContext_lastStats___389) && (globals.control_EventContext_lastStats___389).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___23877); + pxsim_String__stringConv(globals.control_EventContext_lastStats___389); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___23877) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___389) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -7149,23 +7645,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___26017); + r0 = pxsim_numops_toBoolDecr(globals.debug___2529); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C25654_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C2166_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25654_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2166_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__P26143_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P2655_mk(s); s.callLocIdx = 795; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P25197_mk(s); + s.tmp_0 = power_checkDeepSleep__P1709_mk(s); s.callLocIdx = 796; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -7173,12 +7669,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30729.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P7275.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P30729_mk(s) { +function inline__P7275_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30729, depth: s.depth + 1, + parent: s, fn: inline__P7275, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7195,7 +7691,7 @@ function inline__P30729_mk(s) { -function inline__P30758(s) { +function inline__P7304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7220,12 +7716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30758.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P7304.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__P30758_mk(s) { +function inline__P7304_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30758, depth: s.depth + 1, + parent: s, fn: inline__P7304, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7235,7 +7731,7 @@ function inline__P30758_mk(s) { -function game_consoleOverlay_draw__P26143(s) { +function game_consoleOverlay_draw__P2655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7245,16 +7741,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___30807 = undefined; - s.top___30812 = undefined; - s.i___30818 = undefined; - s.t___30831 = undefined; - s.tOff___30838 = undefined; - s.tab___30840 = undefined; - s.unnamed158___U6 = undefined; - s.unnamed159___U7 = undefined; - s.padding___30842 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27665); + s.height___7353 = undefined; + s.top___7358 = undefined; + s.i___7364 = undefined; + s.t___7377 = undefined; + s.tOff___7384 = undefined; + s.tab___7386 = undefined; + s.unnamed78___U6 = undefined; + s.unnamed79___U7 = undefined; + s.padding___7388 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4177); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7263,7 +7759,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___27619); + r0 = pxsim_numops_toBoolDecr(globals.instance___4131); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -7279,23 +7775,23 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___27673; + s.tmp_7.arg0 = globals.consoleFont___4185; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1000; s.pc = 14; return s.tmp_7; } + else { s.callLocIdx = 1002; s.pc = 14; return s.tmp_7; } } case 14: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___30807 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___26018); + s.height___7353 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___2530); if (!r0) { step = 5; continue; } - r0 = s.height___30807; + r0 = s.height___7353; { step = 6; continue; } case 5: r0 = 0; @@ -7303,17 +7799,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___30812 = (r0); - s.i___30818 = (0); + s.top___7358 = (r0); + s.i___7364 = (0); case 7: - s.tmp_1 = r0 = s.i___30818; - r0 = pxsim_Array__length(globals.consoleStrings___27665); + s.tmp_1 = r0 = s.i___7364; + r0 = pxsim_Array__length(globals.consoleStrings___4177); 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___27665, s.i___30818); + r0 = pxsim_Array__getAt(globals.consoleStrings___4177, s.i___7364); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -7321,50 +7817,50 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P23608_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___27665, s.i___30818); + s.tmp_6 = helpers_stringSplit__P120_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___4177, s.i___7364); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1001; s.pc = 15; return s.tmp_6; + s.callLocIdx = 1003; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___30831 = (r0); - s.tOff___30838 = (0); - s.tab___30840 = (undefined); - s.unnamed158___U6 = (s.t___30831); - s.unnamed159___U7 = (0); + s.t___7377 = (r0); + s.tOff___7384 = (0); + s.tab___7386 = (undefined); + s.unnamed78___U6 = (s.t___7377); + s.unnamed79___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed159___U7; - r0 = pxsim_Array__length(s.unnamed158___U6); + s.tmp_0 = r0 = s.unnamed79___U7; + r0 = pxsim_Array__length(s.unnamed78___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed158___U6, s.unnamed159___U7); - s.tab___30840 = (r0); - s.tmp_2 = r0 = globals.tabSize___27667; - s.tmp_5 = r0 = s.tOff___30838; - r0 = pxsim_String_.length(s.tab___30840); + r0 = pxsim_Array__getAt(s.unnamed78___U6, s.unnamed79___U7); + s.tab___7386 = (r0); + s.tmp_2 = r0 = globals.tabSize___4179; + s.tmp_5 = r0 = s.tOff___7384; + r0 = pxsim_String_.length(s.tab___7386); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___27667); + r0 = (s.tmp_4 % globals.tabSize___4179); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___30842 = (r0); - s.tmp_0 = helpers_imagePrint__P25251_mk(s); - s.tmp_0.arg0 = globals.screen___25293; - s.tmp_0.arg1 = s.tab___30840; - s.tmp_2 = r0 = s.tOff___30838; + s.padding___7388 = (r0); + s.tmp_0 = helpers_imagePrint__P1763_mk(s); + s.tmp_0.arg0 = globals.screen___1805; + s.tmp_0.arg1 = s.tab___7386; + s.tmp_2 = r0 = s.tOff___7384; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___27673; + s.tmp_4.arg0 = globals.consoleFont___4185; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1002; s.pc = 17; return s.tmp_4; } + else { s.callLocIdx = 1004; s.pc = 17; return s.tmp_4; } } case 17: r0 = s.retval; @@ -7373,50 +7869,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___30812; - r0 = (s.i___30818 * s.height___30807); + s.tmp_5 = r0 = s.top___7358; + r0 = (s.i___7364 * s.height___7353); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___27664; - s.tmp_0.arg5 = globals.consoleFont___27673; + s.tmp_0.arg4 = globals.consoleColor___4176; + s.tmp_0.arg5 = globals.consoleFont___4185; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1003; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1005; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___30838; - r0 = pxsim_String_.length(s.tab___30840); + s.tmp_0 = r0 = s.tOff___7384; + r0 = pxsim_String_.length(s.tab___7386); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___30842); + r0 = (s.tmp_2 + s.padding___7388); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___30838 = (r0); - r0 = (s.unnamed159___U7 + 1); - s.unnamed159___U7 = (r0); + s.tOff___7384 = (r0); + r0 = (s.unnamed79___U7 + 1); + s.unnamed79___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed158___U6 = (undefined); + s.unnamed78___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P25251_mk(s); - s.tmp_0.arg0 = globals.screen___25293; - r0 = pxsim_Array__getAt(globals.consoleStrings___27665, s.i___30818); + s.tmp_0 = helpers_imagePrint__P1763_mk(s); + s.tmp_0.arg0 = globals.screen___1805; + r0 = pxsim_Array__getAt(globals.consoleStrings___4177, s.i___7364); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___30812; - r0 = (s.i___30818 * s.height___30807); + s.tmp_1 = r0 = s.top___7358; + r0 = (s.i___7364 * s.height___7353); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___27664; - s.tmp_0.arg5 = globals.consoleFont___27673; + s.tmp_0.arg4 = globals.consoleColor___4176; + s.tmp_0.arg5 = globals.consoleFont___4185; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1004; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1006; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___30818 + 1); - s.i___30818 = (r0); + r0 = (s.i___7364 + 1); + s.i___7364 = (r0); { step = 7; continue; } case 12: case 13: @@ -7424,12 +7920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P26143.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__P2655.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__P26143_mk(s) { +function game_consoleOverlay_draw__P2655_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P26143, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P2655, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7439,22 +7935,22 @@ function game_consoleOverlay_draw__P26143_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___30807: undefined, - top___30812: undefined, - i___30818: undefined, - t___30831: undefined, - tOff___30838: undefined, - tab___30840: undefined, - unnamed158___U6: undefined, - unnamed159___U7: undefined, - padding___30842: undefined, + height___7353: undefined, + top___7358: undefined, + i___7364: undefined, + t___7377: undefined, + tOff___7384: undefined, + tab___7386: undefined, + unnamed78___U6: undefined, + unnamed79___U7: undefined, + padding___7388: undefined, } } -function scene_systemMenu_isVisible__P26124(s) { +function scene_systemMenu_isVisible__P2636(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7464,7 +7960,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___27619); + r0 = pxsim_numops_toBoolDecr(globals.instance___4131); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -7474,12 +7970,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P26124.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__P2636.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__P26124_mk(s) { +function scene_systemMenu_isVisible__P2636_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P26124, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P2636, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7490,7 +7986,7 @@ function scene_systemMenu_isVisible__P26124_mk(s) { -function helpers_imagePrint__P25251(s) { +function helpers_imagePrint__P1763(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7500,31 +7996,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___30914 = undefined; - s.cp___30916 = undefined; - s.mult___30917 = undefined; - s.dataW___30922 = undefined; - s.dataH___30928 = undefined; - s.byteHeight___30934 = undefined; - s.charSize___30940 = undefined; - s.dataSize___30944 = undefined; - s.fontdata___30948 = undefined; - s.lastchar___30951 = undefined; - s.imgBuf___30958 = undefined; - s.xOffset___30982 = undefined; - s.yOffset___30983 = undefined; - s.ch___30998 = undefined; - s.l___31017 = undefined; - s.r___31018 = undefined; - s.off___31020 = undefined; - s.guess___31021 = undefined; - s.m___31040 = undefined; - s.v___31049 = undefined; - s.i___31105 = undefined; - s.j___31110 = undefined; - s.mask___31111 = undefined; - s.c___31112 = undefined; - s.n___31129 = undefined; + s.x0___7460 = undefined; + s.cp___7462 = undefined; + s.mult___7463 = undefined; + s.dataW___7468 = undefined; + s.dataH___7474 = undefined; + s.byteHeight___7480 = undefined; + s.charSize___7486 = undefined; + s.dataSize___7490 = undefined; + s.fontdata___7494 = undefined; + s.lastchar___7497 = undefined; + s.imgBuf___7504 = undefined; + s.xOffset___7528 = undefined; + s.yOffset___7529 = undefined; + s.ch___7544 = undefined; + s.l___7563 = undefined; + s.r___7564 = undefined; + s.off___7566 = undefined; + s.guess___7567 = undefined; + s.m___7586 = undefined; + s.v___7595 = undefined; + s.i___7651 = undefined; + s.j___7656 = undefined; + s.mask___7657 = undefined; + s.c___7658 = undefined; + s.n___7675 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7545,7 +8041,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P25238_mk(s); + s.tmp_2 = image_getFontForText__P1750_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 98; s.pc = 39; return s.tmp_2; case 39: @@ -7562,8 +8058,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___30914 = (s.arg2); - s.cp___30916 = (0); + s.x0___7460 = (s.arg2); + s.cp___7462 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -7597,7 +8093,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___30917 = (s.tmp_3); + s.mult___7463 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -7611,8 +8107,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___30917); - s.dataW___30922 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___7463); + s.dataW___7468 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -7626,16 +8122,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___30917); - s.dataH___30928 = (r0); - r0 = (s.dataH___30928 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___7463); + s.dataH___7474 = (r0); + r0 = (s.dataH___7474 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___30934 = (r0); - r0 = (s.byteHeight___30934 * s.dataW___30922); - s.charSize___30940 = (r0); - r0 = (2 + s.charSize___30940); - s.dataSize___30944 = (r0); + s.byteHeight___7480 = (r0); + r0 = (s.byteHeight___7480 * s.dataW___7468); + s.charSize___7486 = (r0); + r0 = (2 + s.charSize___7486); + s.dataSize___7490 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -7648,44 +8144,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___30948 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___30948); + s.fontdata___7494 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___7494); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___30944); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___7490); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___30951 = (r0); - r0 = (s.mult___30917 == 1); + s.lastchar___7497 = (r0); + r0 = (s.mult___7463 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___30940); + r0 = (8 + s.charSize___7486); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___30958 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___30958, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___30958, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___30958, 2, s.dataW___30922); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___30958, 4, s.dataH___30928); + s.imgBuf___7504 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___7504, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___7504, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___7504, 2, s.dataW___7468); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___7504, 4, s.dataH___7474); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___30916; + s.tmp_1 = r0 = s.cp___7462; 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___30982 = (0); - s.yOffset___30983 = (0); + s.xOffset___7528 = (0); + s.yOffset___7529 = (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___30916; + s.tmp_1 = r0 = s.cp___7462; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -7695,7 +8191,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___30916); + r0 = pxsim_Array__getAt(s.arg6, s.cp___7462); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -7707,9 +8203,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___30982 = (r0); + s.xOffset___7528 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___30916); + r0 = pxsim_Array__getAt(s.arg6, s.cp___7462); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -7721,15 +8217,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___30983 = (r0); + s.yOffset___7529 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___30916; + s.tmp_0 = r0 = s.cp___7462; r0 = (s.tmp_0 + 1); - s.cp___30916 = (r0); + s.cp___7462 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___30998 = (r0); - r0 = (s.ch___30998 == 10); + s.ch___7544 = (r0); + r0 = (s.ch___7544 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -7751,89 +8247,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___30914); + s.arg2 = (s.x0___7460); case 14: case 15: - r0 = (s.ch___30998 < 32); + r0 = (s.ch___7544 < 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___31017 = (0); - s.r___31018 = (s.lastchar___30951); - s.off___31020 = (0); - r0 = (s.ch___30998 - 32); + s.l___7563 = (0); + s.r___7564 = (s.lastchar___7497); + s.off___7566 = (0); + r0 = (s.ch___7544 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___30944); - s.guess___31021 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___30948, 4, s.guess___31021); + r0 = (s.tmp_0 * s.dataSize___7490); + s.guess___7567 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___7494, 4, s.guess___7567); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___30998); + r0 = (s.tmp_1 == s.ch___7544); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___31020 = (s.guess___31021); + s.off___7566 = (s.guess___7567); { step = 25; continue; } case 18: case 19: - r0 = (s.l___31017 <= s.r___31018); + r0 = (s.l___7563 <= s.r___7564); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___31017; - r0 = (s.r___31018 - s.l___31017); + s.tmp_1 = r0 = s.l___7563; + r0 = (s.r___7564 - s.l___7563); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___31040 = (r0); - s.tmp_0 = r0 = s.fontdata___30948; - r0 = (s.m___31040 * s.dataSize___30944); + s.m___7586 = (r0); + s.tmp_0 = r0 = s.fontdata___7494; + r0 = (s.m___7586 * s.dataSize___7490); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___31049 = (r0); - r0 = (s.v___31049 == s.ch___30998); + s.v___7595 = (r0); + r0 = (s.v___7595 == s.ch___7544); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___31040 * s.dataSize___30944); - s.off___31020 = (r0); + r0 = (s.m___7586 * s.dataSize___7490); + s.off___7566 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___31049 < s.ch___30998); + r0 = (s.v___7595 < s.ch___7544); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___31040 + 1); - s.l___31017 = (r0); + r0 = (s.m___7586 + 1); + s.l___7563 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___31040 - 1); - s.r___31018 = (r0); + r0 = (s.m___7586 - 1); + s.r___7564 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___30917 == 1); + r0 = (s.mult___7463 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___30958; - s.tmp_3 = r0 = s.fontdata___30948; - r0 = (s.off___31020 + 2); + s.tmp_1 = r0 = s.imgBuf___7504; + s.tmp_3 = r0 = s.fontdata___7494; + r0 = (s.off___7566 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___30940); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___7486); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P25218_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P1730_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___30958; - r0 = (s.arg2 + s.xOffset___30982); + s.tmp_0.arg1 = s.imgBuf___7504; + r0 = (s.arg2 + s.xOffset___7528); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___30983); + r0 = (s.arg3 + s.yOffset___7529); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 107; s.pc = 48; return s.tmp_0; @@ -7857,88 +8353,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___31020 + 2); - s.off___31020 = (r0); - s.i___31105 = (0); + r0 = (s.off___7566 + 2); + s.off___7566 = (r0); + s.i___7651 = (0); case 27: - r0 = (s.i___31105 < s.dataW___30922); + r0 = (s.i___7651 < s.dataW___7468); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___31110 = (0); - s.mask___31111 = (1); - s.tmp_0 = r0 = s.off___31020; + s.j___7656 = (0); + s.mask___7657 = (1); + s.tmp_0 = r0 = s.off___7566; r0 = (s.tmp_0 + 1); - s.off___31020 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___30948, s.tmp_0); - s.c___31112 = (r0); + s.off___7566 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___7494, s.tmp_0); + s.c___7658 = (r0); case 28: - r0 = (s.j___31110 < s.dataH___30928); + r0 = (s.j___7656 < s.dataH___7474); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___31111 == 256); + r0 = (s.mask___7657 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___31020; + s.tmp_2 = r0 = s.off___7566; r0 = (s.tmp_2 + 1); - s.off___31020 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___30948, s.tmp_2); - s.c___31112 = (r0); - s.mask___31111 = (1); + s.off___7566 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___7494, s.tmp_2); + s.c___7658 = (r0); + s.mask___7657 = (1); case 29: case 30: - s.n___31129 = (0); + s.n___7675 = (0); case 31: - r0 = (s.c___31112 & s.mask___31111); + r0 = (s.c___7658 & s.mask___7657); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___31129 + 1); - s.n___31129 = (r0); - r0 = (s.mask___31111 << 1); - s.mask___31111 = (r0); + r0 = (s.n___7675 + 1); + s.n___7675 = (r0); + r0 = (s.mask___7657 << 1); + s.mask___7657 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___31129); + r0 = pxsim_numops_toBoolDecr(s.n___7675); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P25219_mk(s); + s.tmp_0 = helpers_imageFillRect__P1731_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___30982 * s.mult___30917); + r0 = (s.xOffset___7528 * s.mult___7463); 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___31110 + s.yOffset___30983); + r0 = (s.j___7656 + s.yOffset___7529); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___30917); + r0 = (s.tmp_5 * s.mult___7463); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___30917; - r0 = (s.mult___30917 * s.n___31129); + s.tmp_0.arg3 = s.mult___7463; + r0 = (s.mult___7463 * s.n___7675); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 109; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___31110 + s.n___31129); - s.j___31110 = (r0); + r0 = (s.j___7656 + s.n___7675); + s.j___7656 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___31111 << 1); - s.mask___31111 = (r0); - r0 = (s.j___31110 + 1); - s.j___31110 = (r0); + r0 = (s.mask___7657 << 1); + s.mask___7657 = (r0); + r0 = (s.j___7656 + 1); + s.j___7656 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___30917); + r0 = (s.arg2 + s.mult___7463); s.arg2 = (r0); - r0 = (s.i___31105 + 1); - s.i___31105 = (r0); + r0 = (s.i___7651 + 1); + s.i___7651 = (r0); { step = 27; continue; } case 36: case 37: @@ -7948,12 +8444,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P25251.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__P1763.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__P25251_mk(s) { +function helpers_imagePrint__P1763_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P25251, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P1763, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7961,31 +8457,31 @@ function helpers_imagePrint__P25251_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___30914: undefined, - cp___30916: undefined, - mult___30917: undefined, - dataW___30922: undefined, - dataH___30928: undefined, - byteHeight___30934: undefined, - charSize___30940: undefined, - dataSize___30944: undefined, - fontdata___30948: undefined, - lastchar___30951: undefined, - imgBuf___30958: undefined, - xOffset___30982: undefined, - yOffset___30983: undefined, - ch___30998: undefined, - l___31017: undefined, - r___31018: undefined, - off___31020: undefined, - guess___31021: undefined, - m___31040: undefined, - v___31049: undefined, - i___31105: undefined, - j___31110: undefined, - mask___31111: undefined, - c___31112: undefined, - n___31129: undefined, + x0___7460: undefined, + cp___7462: undefined, + mult___7463: undefined, + dataW___7468: undefined, + dataH___7474: undefined, + byteHeight___7480: undefined, + charSize___7486: undefined, + dataSize___7490: undefined, + fontdata___7494: undefined, + lastchar___7497: undefined, + imgBuf___7504: undefined, + xOffset___7528: undefined, + yOffset___7529: undefined, + ch___7544: undefined, + l___7563: undefined, + r___7564: undefined, + off___7566: undefined, + guess___7567: undefined, + m___7586: undefined, + v___7595: undefined, + i___7651: undefined, + j___7656: undefined, + mask___7657: undefined, + c___7658: undefined, + n___7675: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7999,7 +8495,7 @@ function helpers_imagePrint__P25251_mk(s) { -function image_getFontForText__P25238(s) { +function image_getFontForText__P1750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8009,52 +8505,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___31239 = undefined; + s.i___7785 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___31239 = (0); + s.i___7785 = (0); case 1: - s.tmp_1 = r0 = s.i___31239; + s.tmp_1 = r0 = s.i___7785; 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___31239); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___7785); 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___25237; + r0 = globals.font12___1749; { step = 5; continue; } case 2: case 3: - r0 = (s.i___31239 + 1); - s.i___31239 = (r0); + r0 = (s.i___7785 + 1); + s.i___7785 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___25236; + r0 = globals.font8___1748; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P25238.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__P1750.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__P25238_mk(s) { +function image_getFontForText__P1750_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P25238, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P1750, 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___31239: undefined, + i___7785: undefined, arg0: undefined, } } @@ -8062,7 +8558,7 @@ function image_getFontForText__P25238_mk(s) { -function helpers_imageFillRect__P25219(s) { +function helpers_imageFillRect__P1731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8082,14 +8578,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P27112_mk(s); + s.tmp_2 = helpers_pack__P3624_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 80; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P27112_mk(s); + s.tmp_4 = helpers_pack__P3624_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 81; s.pc = 2; return s.tmp_4; @@ -8101,12 +8597,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P25219.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__P1731.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__P25219_mk(s) { +function helpers_imageFillRect__P1731_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P25219, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P1731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8125,7 +8621,7 @@ function helpers_imageFillRect__P25219_mk(s) { -function helpers_pack__P27112(s) { +function helpers_pack__P3624(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8140,7 +8636,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P23613_mk(s); + s.tmp_2 = Math_clamp__P125_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -8151,7 +8647,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P23613_mk(s); + s.tmp_5 = Math_clamp__P125_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -8166,12 +8662,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P27112.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__P3624.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__P27112_mk(s) { +function helpers_pack__P3624_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P27112, depth: s.depth + 1, + parent: s, fn: helpers_pack__P3624, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8187,7 +8683,7 @@ function helpers_pack__P27112_mk(s) { -function Math_clamp__P23613(s) { +function Math_clamp__P125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8203,9 +8699,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P23617_mk(s); + s.tmp_0 = Math_min__P129_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P23616_mk(s); + s.tmp_1 = Math_max__P128_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 14; s.pc = 2; return s.tmp_1; @@ -8218,12 +8714,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P23613.info = {"start":15178,"length":130,"line":514,"column":4,"endLine":516,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P125.info = {"start":15178,"length":130,"line":514,"column":4,"endLine":516,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P23613_mk(s) { +function Math_clamp__P125_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P23613, depth: s.depth + 1, + parent: s, fn: Math_clamp__P125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8236,7 +8732,7 @@ function Math_clamp__P23613_mk(s) { -function Math_min__P23617(s) { +function Math_min__P129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8264,12 +8760,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P23617.info = {"start":16314,"length":105,"line":551,"column":4,"endLine":554,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P129.info = {"start":16314,"length":105,"line":551,"column":4,"endLine":554,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P23617_mk(s) { +function Math_min__P129_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P23617, depth: s.depth + 1, + parent: s, fn: Math_min__P129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8280,7 +8776,7 @@ function Math_min__P23617_mk(s) { -function helpers_imageDrawIcon__P25218(s) { +function helpers_imageDrawIcon__P1730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8300,7 +8796,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P27112_mk(s); + s.tmp_3 = helpers_pack__P3624_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 79; s.pc = 1; return s.tmp_3; @@ -8312,12 +8808,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P25218.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__P1730.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__P25218_mk(s) { +function helpers_imageDrawIcon__P1730_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P25218, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P1730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8334,7 +8830,7 @@ function helpers_imageDrawIcon__P25218_mk(s) { -function helpers_stringSplit__P23608(s) { +function helpers_stringSplit__P120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8344,15 +8840,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___31262 = undefined; - s.lim___31264 = undefined; - s.s___31280 = undefined; - s.p___31283 = undefined; - s.R___31284 = undefined; - s.z___31298 = undefined; - s.T___31311 = undefined; - s.q___31312 = undefined; - s.e___31318 = undefined; + s.A___7808 = undefined; + s.lim___7810 = undefined; + s.s___7826 = undefined; + s.p___7829 = undefined; + s.R___7830 = undefined; + s.z___7844 = undefined; + s.T___7857 = undefined; + s.q___7858 = undefined; + s.e___7864 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8360,36 +8856,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___31262 = (r0); - s.lim___31264 = (0); + s.A___7808 = (r0); + s.lim___7810 = (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___31264 = (r0); + s.lim___7810 = (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___31264 = (0); + s.lim___7810 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___31264 = (r0); + s.lim___7810 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___31280 = (r0); - s.p___31283 = (0); - s.R___31284 = (s.arg1); - r0 = (s.lim___31264 == 0); + s.s___7826 = (r0); + s.p___7829 = (0); + s.R___7830 = (s.arg1); + r0 = (s.lim___7810 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___31262; + r0 = s.A___7808; { step = 21; continue; } case 5: case 6: @@ -8397,123 +8893,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___31262, 0, s.arg0); - r0 = s.A___31262; + r0 = pxsim_Array_.setAt(s.A___7808, 0, s.arg0); + r0 = s.A___7808; { step = 21; continue; } case 7: case 8: - r0 = (s.s___31280 == 0); + r0 = (s.s___7826 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P26971_mk(s); + s.tmp_1 = helpers_splitMatch__P3483_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___31284; + s.tmp_1.arg2 = s.R___7830; s.callLocIdx = 10; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___31298 = (r0); - r0 = (s.z___31298 > -1); + s.z___7844 = (r0); + r0 = (s.z___7844 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___31262; + r0 = s.A___7808; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___31262, 0, s.arg0); - r0 = s.A___31262; + r0 = pxsim_Array_.setAt(s.A___7808, 0, s.arg0); + r0 = s.A___7808; { step = 21; continue; } case 11: case 12: - s.q___31312 = (s.p___31283); + s.q___7858 = (s.p___7829); case 13: - r0 = (s.q___31312 != s.s___31280); + r0 = (s.q___7858 != s.s___7826); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P26971_mk(s); + s.tmp_1 = helpers_splitMatch__P3483_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___31312; - s.tmp_1.arg2 = s.R___31284; + s.tmp_1.arg1 = s.q___7858; + s.tmp_1.arg2 = s.R___7830; s.callLocIdx = 11; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___31318 = (r0); - r0 = (s.e___31318 < 0); + s.e___7864 = (r0); + r0 = (s.e___7864 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___31312 + 1); - s.q___31312 = (r0); + r0 = (s.q___7858 + 1); + s.q___7858 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___31318 == s.p___31283); + r0 = (s.e___7864 == s.p___7829); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___31312 + 1); - s.q___31312 = (r0); + r0 = (s.q___7858 + 1); + s.q___7858 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P23606_mk(s); + s.tmp_0 = helpers_stringSlice__P118_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___31283; - s.tmp_0.arg2 = s.q___31312; + s.tmp_0.arg1 = s.p___7829; + s.tmp_0.arg2 = s.q___7858; s.callLocIdx = 12; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___31311 = (r0); - r0 = pxsim_Array__push(s.A___31262, s.T___31311); - r0 = pxsim_Array__length(s.A___31262); + s.T___7857 = (r0); + r0 = pxsim_Array__push(s.A___7808, s.T___7857); + r0 = pxsim_Array__length(s.A___7808); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___31264); + r0 = (s.tmp_1 == s.lim___7810); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___31262; + r0 = s.A___7808; { step = 21; continue; } case 16: case 17: - s.p___31283 = (s.e___31318); - s.q___31312 = (s.p___31283); + s.p___7829 = (s.e___7864); + s.q___7858 = (s.p___7829); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P23606_mk(s); + s.tmp_0 = helpers_stringSlice__P118_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___31283; - s.tmp_0.arg2 = s.q___31312; + s.tmp_0.arg1 = s.p___7829; + s.tmp_0.arg2 = s.q___7858; s.callLocIdx = 13; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___31311 = (r0); - r0 = pxsim_Array__push(s.A___31262, s.T___31311); - r0 = s.A___31262; + s.T___7857 = (r0); + r0 = pxsim_Array__push(s.A___7808, s.T___7857); + r0 = s.A___7808; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P23608.info = {"start":12454,"length":1319,"line":420,"column":4,"endLine":464,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P120.info = {"start":12454,"length":1319,"line":420,"column":4,"endLine":464,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P23608_mk(s) { +function helpers_stringSplit__P120_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P23608, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___31262: undefined, - lim___31264: undefined, - s___31280: undefined, - p___31283: undefined, - R___31284: undefined, - z___31298: undefined, - T___31311: undefined, - q___31312: undefined, - e___31318: undefined, + A___7808: undefined, + lim___7810: undefined, + s___7826: undefined, + p___7829: undefined, + R___7830: undefined, + z___7844: undefined, + T___7857: undefined, + q___7858: undefined, + e___7864: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8523,7 +9019,7 @@ function helpers_stringSplit__P23608_mk(s) { -function helpers_splitMatch__P26971(s) { +function helpers_splitMatch__P3483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8533,9 +9029,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___31398 = undefined; - s.s___31401 = undefined; - s.i___31411 = undefined; + s.r___7944 = undefined; + s.s___7947 = undefined; + s.i___7957 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8543,12 +9039,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___31398 = (r0); + s.r___7944 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___31401 = (r0); - r0 = (s.arg1 + s.r___31398); + s.s___7947 = (r0); + r0 = (s.arg1 + s.r___7944); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___31401); + r0 = (s.tmp_1 > s.s___7947); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -8556,18 +9052,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___31411 = (0); + s.i___7957 = (0); case 3: - r0 = (s.i___31411 < s.r___31398); + r0 = (s.i___7957 < s.r___7944); 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___31411); + r0 = (s.arg1 + s.i___7957); 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___31411); + r0 = pxsim_String_.charAt(s.arg2, s.i___7957); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -8577,21 +9073,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___31411 + 1); - s.i___31411 = (r0); + r0 = (s.i___7957 + 1); + s.i___7957 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___31398); + r0 = (s.arg1 + s.r___7944); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P26971.info = {"start":13779,"length":289,"line":466,"column":4,"endLine":475,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} +helpers_splitMatch__P3483.info = {"start":13779,"length":289,"line":466,"column":4,"endLine":475,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} -function helpers_splitMatch__P26971_mk(s) { +function helpers_splitMatch__P3483_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P26971, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P3483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8599,9 +9095,9 @@ function helpers_splitMatch__P26971_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___31398: undefined, - s___31401: undefined, - i___31411: undefined, + r___7944: undefined, + s___7947: undefined, + i___7957: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8611,7 +9107,7 @@ function helpers_splitMatch__P26971_mk(s) { -function helpers_stringSlice__P23606(s) { +function helpers_stringSlice__P118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8621,7 +9117,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___31363 = undefined; + s.len___7909 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8629,13 +9125,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___31363 = (r0); + s.len___7909 = (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__P23616_mk(s); - r0 = (s.len___31363 + s.arg1); + s.tmp_1 = Math_max__P128_mk(s); + r0 = (s.len___7909 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 9; s.pc = 9; return s.tmp_1; @@ -8648,7 +9144,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___31363); + s.arg2 = (s.len___7909); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -8663,7 +9159,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___31363 + s.arg2); + r0 = (s.len___7909 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -8675,17 +9171,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P23606.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P118.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P23606_mk(s) { +function helpers_stringSlice__P118_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P23606, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___31363: undefined, + len___7909: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8695,7 +9191,7 @@ function helpers_stringSlice__P23606_mk(s) { -function scene_Scene_render__P25935(s) { +function scene_Scene_render__P2447(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8705,15 +9201,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___31495 = undefined; - s.unnamed156___U1 = undefined; - s.unnamed157___U2 = undefined; + s.s___8041 = undefined; + s.unnamed76___U1 = undefined; + s.unnamed77___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2420_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -8744,7 +9240,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__P25935_mk(s); + s.tmp_3 = scene_Scene_render__P2447_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.callLocIdx = 802; s.pc = 12; return s.tmp_3; @@ -8752,7 +9248,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P25770_mk(s); + s.tmp_0 = scene_Background_draw__P2282_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 803; s.pc = 13; return s.tmp_0; @@ -8765,10 +9261,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P23592_mk(s); + s.tmp_2 = helpers_arraySort__P104_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P31472; + s.tmp_2.arg1 = inline__P8018; s.callLocIdx = 808; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -8780,20 +9276,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___31495 = (undefined); + s.s___8041 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed156___U1 = (r0); - s.unnamed157___U2 = (0); + s.unnamed76___U1 = (r0); + s.unnamed77___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed157___U2; - r0 = pxsim_Array__length(s.unnamed156___U1); + s.tmp_0 = r0 = s.unnamed77___U2; + r0 = pxsim_Array__length(s.unnamed76___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed156___U1, s.unnamed157___U2); - s.s___31495 = (r0); + r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); + s.s___8041 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___31495; + s.tmp_2.arg0 = s.s___8041; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -8807,11 +9303,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed157___U2 + 1); - s.unnamed157___U2 = (r0); + r0 = (s.unnamed77___U2 + 1); + s.unnamed77___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed156___U1 = (undefined); + s.unnamed76___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -8823,21 +9319,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P25935.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__P2447.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__P25935_mk(s) { +function scene_Scene_render__P2447_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P25935, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P2447, 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___31495: undefined, - unnamed156___U1: undefined, - unnamed157___U2: undefined, + s___8041: undefined, + unnamed76___U1: undefined, + unnamed77___U2: undefined, arg0: undefined, } } @@ -8845,7 +9341,7 @@ function scene_Scene_render__P25935_mk(s) { -function inline__P31472(s) { +function inline__P8018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8927,12 +9423,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P31472.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__P8018.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__P31472_mk(s) { +function inline__P8018_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P31472, depth: s.depth + 1, + parent: s, fn: inline__P8018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8952,7 +9448,7 @@ function inline__P31472_mk(s) { -function scene_Background_draw__P25770(s) { +function scene_Background_draw__P2282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8967,27 +9463,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C25761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C2273_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___25293, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___1805, 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___25293, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1805, 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__P31527); + r0 = pxsim_pxtcore_mkAction(1, inline__P8073); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P23596_mk(s); + s.tmp_2 = helpers_arrayForEach__P108_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -9000,12 +9496,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P25770.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__P2282.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__P25770_mk(s) { +function scene_Background_draw__P2282_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P25770, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P2282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9017,7 +9513,7 @@ function scene_Background_draw__P25770_mk(s) { -function inline__P31527(s) { +function inline__P8073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9027,8 +9523,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___31529 = undefined; - s.oy___31540 = undefined; + s.ox___8075 = undefined; + s.oy___8086 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -9043,7 +9539,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___31529 = (r0); + s.ox___8075 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -9054,11 +9550,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___31540 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P25779_mk(s); + s.oy___8086 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P2291_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___31529; - s.tmp_0.arg2 = s.oy___31540; + s.tmp_0.arg1 = s.ox___8075; + s.tmp_0.arg2 = s.oy___8086; s.callLocIdx = 678; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -9066,19 +9562,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P31527.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P8073.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__P31527_mk(s) { +function inline__P8073_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P31527, depth: s.depth + 1, + parent: s, fn: inline__P8073, 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___31529: undefined, - oy___31540: undefined, + ox___8075: undefined, + oy___8086: undefined, arg0: undefined, } } @@ -9086,7 +9582,7 @@ function inline__P31527_mk(s) { -function scene_BackgroundLayer_draw__P25779(s) { +function scene_BackgroundLayer_draw__P2291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9096,19 +9592,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___31558 = undefined; - s.h___31561 = undefined; - s.pw___31564 = undefined; - s.ph___31568 = undefined; - s.rx___31577 = undefined; - s.ry___31580 = undefined; - s.y___31649 = undefined; - s.py___31650 = undefined; - s.dh___31659 = undefined; - s.x___31667 = undefined; - s.rxl___31668 = undefined; - s.px___31674 = undefined; - s.dw___31678 = undefined; + s.w___8104 = undefined; + s.h___8107 = undefined; + s.pw___8110 = undefined; + s.ph___8114 = undefined; + s.rx___8123 = undefined; + s.ry___8126 = undefined; + s.y___8195 = undefined; + s.py___8196 = undefined; + s.dh___8205 = undefined; + s.x___8213 = undefined; + s.rxl___8214 = undefined; + s.px___8220 = undefined; + s.dw___8224 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9116,20 +9612,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C25771_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___25293); - s.w___31558 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___25293); - s.h___31561 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C2283_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___1805); + s.w___8104 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___1805); + s.h___8107 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___31564 = (r0); + s.pw___8110 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___31568 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___31564); + s.ph___8114 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___8110); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9138,7 +9634,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___31568); + r0 = pxsim_numops_toBoolDecr(s.ph___8114); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -9150,9 +9646,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___31577 = (r0); + s.rx___8123 = (r0); r0 = (0 - s.arg2); - s.ry___31580 = (r0); + s.ry___8126 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -9162,20 +9658,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___31577; - r0 = (s.w___31558 + s.pw___31564); + s.tmp_1 = r0 = s.rx___8123; + r0 = (s.w___8104 + s.pw___8110); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___31577 = (r0); + s.rx___8123 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___31577; - r0 = (s.w___31558 + s.pw___31564); + s.tmp_0 = r0 = s.rx___8123; + r0 = (s.w___8104 + s.pw___8110); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___31577 = (r0); + s.rx___8123 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -9186,120 +9682,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___31580; - r0 = (s.h___31561 + s.ph___31568); + s.tmp_1 = r0 = s.ry___8126; + r0 = (s.h___8107 + s.ph___8114); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___31580 = (r0); + s.ry___8126 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___31580; - r0 = (s.h___31561 + s.ph___31568); + s.tmp_0 = r0 = s.ry___8126; + r0 = (s.h___8107 + s.ph___8114); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___31580 = (r0); + s.ry___8126 = (r0); case 10: - r0 = (s.rx___31577 % s.w___31558); - s.rx___31577 = (r0); - r0 = (s.rx___31577 < 0); + r0 = (s.rx___8123 % s.w___8104); + s.rx___8123 = (r0); + r0 = (s.rx___8123 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___31577 + s.w___31558); - s.rx___31577 = (r0); + r0 = (s.rx___8123 + s.w___8104); + s.rx___8123 = (r0); case 11: case 12: - r0 = (s.ry___31580 % s.h___31561); - s.ry___31580 = (r0); - r0 = (s.ry___31580 < 0); + r0 = (s.ry___8126 % s.h___8107); + s.ry___8126 = (r0); + r0 = (s.ry___8126 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___31580 + s.h___31561); - s.ry___31580 = (r0); + r0 = (s.ry___8126 + s.h___8107); + s.ry___8126 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___31577); - s.rx___31577 = (r0); - r0 = pxsim.Math_.floor(s.ry___31580); - s.ry___31580 = (r0); - s.y___31649 = (0); - s.py___31650 = (0); + r0 = pxsim.Math_.floor(s.rx___8123); + s.rx___8123 = (r0); + r0 = pxsim.Math_.floor(s.ry___8126); + s.ry___8126 = (r0); + s.y___8195 = (0); + s.py___8196 = (0); case 15: - r0 = (s.y___31649 < s.h___31561); + r0 = (s.y___8195 < s.h___8107); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___31649 % s.ph___31568); - s.py___31650 = (r0); - s.tmp_0 = Math_min__P23617_mk(s); - r0 = (s.ph___31568 - s.py___31650); + r0 = (s.y___8195 % s.ph___8114); + s.py___8196 = (r0); + s.tmp_0 = Math_min__P129_mk(s); + r0 = (s.ph___8114 - s.py___8196); s.tmp_0.arg0 = r0; - r0 = (s.h___31561 - s.ry___31580); + r0 = (s.h___8107 - s.ry___8126); s.tmp_0.arg1 = r0; s.callLocIdx = 681; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___31659 = (r0); - s.x___31667 = (0); - s.rxl___31668 = (s.rx___31577); + s.dh___8205 = (r0); + s.x___8213 = (0); + s.rxl___8214 = (s.rx___8123); case 16: - r0 = (s.x___31667 < s.w___31558); + r0 = (s.x___8213 < s.w___8104); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___31667 % s.pw___31564); - s.px___31674 = (r0); - s.tmp_0 = Math_min__P23617_mk(s); - r0 = (s.pw___31564 - s.px___31674); + r0 = (s.x___8213 % s.pw___8110); + s.px___8220 = (r0); + s.tmp_0 = Math_min__P129_mk(s); + r0 = (s.pw___8110 - s.px___8220); s.tmp_0.arg0 = r0; - r0 = (s.w___31558 - s.rxl___31668); + r0 = (s.w___8104 - s.rxl___8214); s.tmp_0.arg1 = r0; s.callLocIdx = 682; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___31678 = (r0); + s.dw___8224 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___25293, s.tmp_0, s.rxl___31668, s.ry___31580); - r0 = (s.rxl___31668 + s.dw___31678); + r0 = pxsim_ImageMethods.drawImage(globals.screen___1805, s.tmp_0, s.rxl___8214, s.ry___8126); + r0 = (s.rxl___8214 + s.dw___8224); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___31558); - s.rxl___31668 = (r0); + r0 = (s.tmp_0 % s.w___8104); + s.rxl___8214 = (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___31678; + r0 = s.dw___8224; { step = 18; continue; } case 17: - r0 = s.w___31558; + r0 = s.w___8104; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___31667 + s.tmp_1); - s.x___31667 = (r0); + r0 = (s.x___8213 + s.tmp_1); + s.x___8213 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___31580 + s.dh___31659); + r0 = (s.ry___8126 + s.dh___8205); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___31561); - s.ry___31580 = (r0); + r0 = (s.tmp_0 % s.h___8107); + s.ry___8126 = (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___31659; + r0 = s.dh___8205; { step = 21; continue; } case 20: - r0 = s.h___31561; + r0 = s.h___8107; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___31649 + s.tmp_1); - s.y___31649 = (r0); + r0 = (s.y___8195 + s.tmp_1); + s.y___8195 = (r0); { step = 15; continue; } case 22: case 23: @@ -9307,30 +9803,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P25779.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__P2291.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__P25779_mk(s) { +function scene_BackgroundLayer_draw__P2291_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P25779, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P2291, 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___31558: undefined, - h___31561: undefined, - pw___31564: undefined, - ph___31568: undefined, - rx___31577: undefined, - ry___31580: undefined, - y___31649: undefined, - py___31650: undefined, - dh___31659: undefined, - x___31667: undefined, - rxl___31668: undefined, - px___31674: undefined, - dw___31678: undefined, + w___8104: undefined, + h___8107: undefined, + pw___8110: undefined, + ph___8114: undefined, + rx___8123: undefined, + ry___8126: undefined, + y___8195: undefined, + py___8196: undefined, + dh___8205: undefined, + x___8213: undefined, + rxl___8214: undefined, + px___8220: undefined, + dw___8224: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9340,7 +9836,7 @@ function scene_BackgroundLayer_draw__P25779_mk(s) { -function scene_Camera_update__P25865(s) { +function scene_Camera_update__P2377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9350,32 +9846,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___31759 = undefined; - s.percentComplete___31773 = undefined; - s.damp___31780 = undefined; - s.f___31789 = undefined; - s.x___31795 = undefined; - s.y___31802 = undefined; + s.elapsed___8305 = undefined; + s.percentComplete___8319 = undefined; + s.damp___8326 = undefined; + s.f___8335 = undefined; + s.x___8341 = undefined; + s.y___8348 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2361_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__P25855_mk(s); + s.tmp_1 = scene_Camera_offsetX__P2367_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P25520_mk(s); + s.tmp_3 = Sprite_x__P2032_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 763; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; @@ -9384,16 +9880,16 @@ switch (step) { s.callLocIdx = 764; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P25857_mk(s); + s.tmp_0 = scene_Camera_offsetY__P2369_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P25522_mk(s); + s.tmp_2 = Sprite_y__P2034_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 765; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -9404,7 +9900,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P25855_mk(s); + s.tmp_0 = scene_Camera_offsetX__P2367_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; @@ -9414,7 +9910,7 @@ switch (step) { s.callLocIdx = 768; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P25857_mk(s); + s.tmp_0 = scene_Camera_offsetY__P2369_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; @@ -9443,10 +9939,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___31759 = (r0); + s.elapsed___8305 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___31759 >= s.tmp_1); + r0 = (s.elapsed___8305 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -9455,49 +9951,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___31759 / s.tmp_0); - s.percentComplete___31773 = (r0); - s.damp___31780 = (1); - r0 = (s.percentComplete___31773 >= 0.75); + r0 = (s.elapsed___8305 / s.tmp_0); + s.percentComplete___8319 = (r0); + s.damp___8326 = (1); + r0 = (s.percentComplete___8319 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P23616_mk(s); + s.tmp_1 = Math_max__P128_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___31773); + r0 = (1 - s.percentComplete___8319); s.tmp_1.arg1 = r0; s.callLocIdx = 773; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___31780 = (r0); + s.damp___8326 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___31780); - s.f___31789 = (r0); + r0 = (s.tmp_0 * s.damp___8326); + s.f___8335 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___31789); + r0 = (s.tmp_1 * s.f___8335); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___31795 = (r0); + s.x___8341 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___31789); + r0 = (s.tmp_1 * s.f___8335); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___31802 = (r0); + s.y___8348 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___31795); + r0 = (s.tmp_2 + s.x___8341); 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___31802); + r0 = (s.tmp_2 + s.y___8348); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -9507,12 +10003,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P25865.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__P2377.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__P25865_mk(s) { +function scene_Camera_update__P2377_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P25865, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P2377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9520,12 +10016,12 @@ function scene_Camera_update__P25865_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___31759: undefined, - percentComplete___31773: undefined, - damp___31780: undefined, - f___31789: undefined, - x___31795: undefined, - y___31802: undefined, + elapsed___8305: undefined, + percentComplete___8319: undefined, + damp___8326: undefined, + f___8335: undefined, + x___8341: undefined, + y___8348: undefined, arg0: undefined, } } @@ -9533,7 +10029,7 @@ function scene_Camera_update__P25865_mk(s) { -function scene_Camera_offsetY__P25857(s) { +function scene_Camera_offsetY__P2369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9543,27 +10039,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___31837 = undefined; + s.scene___8383 = 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__C25849_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P26021_mk(s); + if (!checkSubtype(r0, scene_Camera__C2361_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 760; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___31837 = (r0); - r0 = s.scene___31837.fields["tileMap"]; + s.scene___8383 = (r0); + r0 = s.scene___8383.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___31837.fields["tileMap"]; + r0 = s.scene___8383.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -9580,8 +10076,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__P25818_mk(s); - r0 = s.scene___31837.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P2330_mk(s); + r0 = s.scene___8383.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 762; s.pc = 6; return s.tmp_9; @@ -9597,12 +10093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P25857.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__P2369.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__P25857_mk(s) { +function scene_Camera_offsetY__P2369_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P25857, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P2369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9614,7 +10110,7 @@ function scene_Camera_offsetY__P25857_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___31837: undefined, + scene___8383: undefined, arg0: undefined, arg1: undefined, } } @@ -9623,7 +10119,7 @@ function scene_Camera_offsetY__P25857_mk(s) { -function tiles_TileMap_enabled__P25823(s) { +function tiles_TileMap_enabled__P2335(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9638,7 +10134,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -9651,13 +10147,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P25823.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__P25823.isGetter = true; +tiles_TileMap_enabled__P2335.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__P2335.isGetter = true; -function tiles_TileMap_enabled__P25823_mk(s) { +function tiles_TileMap_enabled__P2335_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P25823, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P2335, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9670,7 +10166,7 @@ function tiles_TileMap_enabled__P25823_mk(s) { -function tiles_TileMap_offsetY__P25818(s) { +function tiles_TileMap_offsetY__P2330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9686,17 +10182,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P23613_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P125_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P23616_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P25820_mk(s); + s.tmp_1 = Math_max__P128_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P2332_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 699; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -9712,12 +10208,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P25818.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__P2330.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__P25818_mk(s) { +function tiles_TileMap_offsetY__P2330_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P25818, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P2330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9732,7 +10228,7 @@ function tiles_TileMap_offsetY__P25818_mk(s) { -function tiles_TileMap_areaHeight__P25820(s) { +function tiles_TileMap_areaHeight__P2332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9747,7 +10243,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -9769,12 +10265,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P25820.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__P2332.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__P25820_mk(s) { +function tiles_TileMap_areaHeight__P2332_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P25820, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P2332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9788,7 +10284,7 @@ function tiles_TileMap_areaHeight__P25820_mk(s) { -function tiles_TileMap_scale__P25815(s) { +function tiles_TileMap_scale__P2327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9803,18 +10299,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P25815.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__P25815.isGetter = true; +tiles_TileMap_scale__P2327.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__P2327.isGetter = true; -function tiles_TileMap_scale__P25815_mk(s) { +function tiles_TileMap_scale__P2327_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P25815, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P2327, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9823,7 +10319,7 @@ function tiles_TileMap_scale__P25815_mk(s) { -function tiles_TileMapData_height__P25803(s) { +function tiles_TileMapData_height__P2315(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9838,18 +10334,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25800_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2312_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P25803.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__P25803.isGetter = true; +tiles_TileMapData_height__P2315.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__P2315.isGetter = true; -function tiles_TileMapData_height__P25803_mk(s) { +function tiles_TileMapData_height__P2315_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P25803, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P2315, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9858,7 +10354,7 @@ function tiles_TileMapData_height__P25803_mk(s) { -function scene_Camera_offsetY__P25856(s) { +function scene_Camera_offsetY__P2368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9873,18 +10369,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2361_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P25856.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__P25856.isGetter = true; +scene_Camera_offsetY__P2368.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__P2368.isGetter = true; -function scene_Camera_offsetY__P25856_mk(s) { +function scene_Camera_offsetY__P2368_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P25856, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P2368, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9893,7 +10389,7 @@ function scene_Camera_offsetY__P25856_mk(s) { -function scene_Camera_offsetX__P25855(s) { +function scene_Camera_offsetX__P2367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9903,27 +10399,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___31904 = undefined; + s.scene___8450 = 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__C25849_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P26021_mk(s); + if (!checkSubtype(r0, scene_Camera__C2361_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 757; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___31904 = (r0); - r0 = s.scene___31904.fields["tileMap"]; + s.scene___8450 = (r0); + r0 = s.scene___8450.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___31904.fields["tileMap"]; + r0 = s.scene___8450.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -9940,8 +10436,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__P25817_mk(s); - r0 = s.scene___31904.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P2329_mk(s); + r0 = s.scene___8450.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 759; s.pc = 6; return s.tmp_9; @@ -9957,12 +10453,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P25855.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__P2367.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__P25855_mk(s) { +function scene_Camera_offsetX__P2367_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P25855, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P2367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9974,7 +10470,7 @@ function scene_Camera_offsetX__P25855_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___31904: undefined, + scene___8450: undefined, arg0: undefined, arg1: undefined, } } @@ -9983,7 +10479,7 @@ function scene_Camera_offsetX__P25855_mk(s) { -function tiles_TileMap_offsetX__P25817(s) { +function tiles_TileMap_offsetX__P2329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9999,17 +10495,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P23613_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P125_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P23616_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P25819_mk(s); + s.tmp_1 = Math_max__P128_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P2331_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 696; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -10025,12 +10521,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P25817.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__P2329.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__P25817_mk(s) { +function tiles_TileMap_offsetX__P2329_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P25817, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P2329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10045,7 +10541,7 @@ function tiles_TileMap_offsetX__P25817_mk(s) { -function tiles_TileMap_areaWidth__P25819(s) { +function tiles_TileMap_areaWidth__P2331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10060,7 +10556,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10082,12 +10578,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P25819.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__P2331.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__P25819_mk(s) { +function tiles_TileMap_areaWidth__P2331_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P25819, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P2331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10101,7 +10597,7 @@ function tiles_TileMap_areaWidth__P25819_mk(s) { -function tiles_TileMapData_width__P25802(s) { +function tiles_TileMapData_width__P2314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10116,18 +10612,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25800_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2312_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P25802.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__P25802.isGetter = true; +tiles_TileMapData_width__P2314.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__P2314.isGetter = true; -function tiles_TileMapData_width__P25802_mk(s) { +function tiles_TileMapData_width__P2314_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P25802, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P2314, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10136,7 +10632,7 @@ function tiles_TileMapData_width__P25802_mk(s) { -function scene_Camera_offsetX__P25854(s) { +function scene_Camera_offsetX__P2366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10151,18 +10647,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2361_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P25854.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__P25854.isGetter = true; +scene_Camera_offsetX__P2366.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__P2366.isGetter = true; -function scene_Camera_offsetX__P25854_mk(s) { +function scene_Camera_offsetX__P2366_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P25854, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P2366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10171,7 +10667,7 @@ function scene_Camera_offsetX__P25854_mk(s) { -function Sprite_y__P25522(s) { +function Sprite_y__P2034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10186,7 +10682,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -10201,13 +10697,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P25522.info = {"start":2028,"length":85,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P25522.isGetter = true; +Sprite_y__P2034.info = {"start":2028,"length":85,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P2034.isGetter = true; -function Sprite_y__P25522_mk(s) { +function Sprite_y__P2034_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P25522, depth: s.depth + 1, + parent: s, fn: Sprite_y__P2034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10221,7 +10717,7 @@ function Sprite_y__P25522_mk(s) { -function Fx_toFloat__P23657(s) { +function Fx_toFloat__P169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10239,12 +10735,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P23657.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__P169.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__P23657_mk(s) { +function Fx_toFloat__P169_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P23657, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10253,7 +10749,7 @@ function Fx_toFloat__P23657_mk(s) { -function Sprite_x__P25520(s) { +function Sprite_x__P2032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10268,7 +10764,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -10283,13 +10779,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P25520.info = {"start":1680,"length":84,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P25520.isGetter = true; +Sprite_x__P2032.info = {"start":1680,"length":84,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P2032.isGetter = true; -function Sprite_x__P25520_mk(s) { +function Sprite_x__P2032_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P25520, depth: s.depth + 1, + parent: s, fn: Sprite_x__P2032, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10303,7 +10799,7 @@ function Sprite_x__P25520_mk(s) { -function PhysicsEngine_move__P25660(s) { +function PhysicsEngine_move__P2172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10319,17 +10815,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25654_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2166_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P25660.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__P2172.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__P25660_mk(s) { +function PhysicsEngine_move__P2172_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P25660, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P2172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10339,7 +10835,7 @@ function PhysicsEngine_move__P25660_mk(s) { -function PhysicsEngine_draw__P25659(s) { +function PhysicsEngine_draw__P2171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10354,17 +10850,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25654_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2166_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P25659.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__P2171.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__P25659_mk(s) { +function PhysicsEngine_draw__P2171_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P25659, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P2171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10373,7 +10869,7 @@ function PhysicsEngine_draw__P25659_mk(s) { -function controller___update__P25441(s) { +function controller___update__P1953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10383,7 +10879,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___32308 = undefined; + s.dtms___8854 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -10391,12 +10887,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___32308 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P32315); + s.dtms___8854 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P8861); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___32308); - s.tmp_1 = helpers_arrayForEach__P23596_mk(s); - s.tmp_2 = controller_players__P25409_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___8854); + s.tmp_1 = helpers_arrayForEach__P108_mk(s); + s.tmp_2 = controller_players__P1921_mk(s); s.callLocIdx = 191; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -10409,17 +10905,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P25441.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__P1953.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__P25441_mk(s) { +function controller___update__P1953_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P25441, depth: s.depth + 1, + parent: s, fn: controller___update__P1953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___32308: undefined, + dtms___8854: undefined, arg0: undefined, } } @@ -10427,7 +10923,7 @@ function controller___update__P25441_mk(s) { -function inline__P32315(s) { +function inline__P8861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10441,7 +10937,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P25439_mk(s); + s.tmp_0 = controller_Controller___update__P1951_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 192; s.pc = 1; return s.tmp_0; @@ -10451,12 +10947,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32315.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P8861.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__P32315_mk(s) { +function inline__P8861_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32315, depth: s.depth + 1, + parent: s, fn: inline__P8861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10466,7 +10962,7 @@ function inline__P32315_mk(s) { -function controller_Controller___update__P25439(s) { +function controller_Controller___update__P1951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10482,7 +10978,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -10493,10 +10989,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__P32328); + r0 = pxsim_pxtcore_mkAction(1, inline__P8874); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P23596_mk(s); + s.tmp_1 = helpers_arrayForEach__P108_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -10507,12 +11003,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P25439.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__P1951.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__P25439_mk(s) { +function controller_Controller___update__P1951_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P25439, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P1951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10526,7 +11022,7 @@ function controller_Controller___update__P25439_mk(s) { -function inline__P32328(s) { +function inline__P8874(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10540,7 +11036,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P25406_mk(s); + s.tmp_0 = controller_Button___update__P1918_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -10551,12 +11047,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32328.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P8874.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__P32328_mk(s) { +function inline__P8874_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32328, depth: s.depth + 1, + parent: s, fn: inline__P8874, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10566,7 +11062,7 @@ function inline__P32328_mk(s) { -function controller_Button___update__P25406(s) { +function controller_Button___update__P1918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10576,16 +11072,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___32344 = undefined; - s.interval___32353 = undefined; - s.count___32366 = undefined; + s.delay___8890 = undefined; + s.interval___8899 = undefined; + s.count___8912 = 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__C25394_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1906_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -10609,31 +11105,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___27191; + r0 = globals.defaultRepeatDelay___3703; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___32344 = (s.tmp_2); + s.delay___8890 = (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___27193; + r0 = globals.defaultRepeatInterval___3705; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___32353 = (s.tmp_2); + s.interval___8899 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___32344); + r0 = (s.tmp_1 < s.delay___8890); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -10642,26 +11138,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___32344); + r0 = (s.tmp_5 - s.delay___8890); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___32353); + r0 = (s.tmp_4 - s.interval___8899); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___32353); + r0 = (s.tmp_3 / s.interval___8899); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___32366 = (r0); + s.count___8912 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___32366 != s.tmp_1); + r0 = (s.count___8912 != 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__P27198_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P3710_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 147; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___32366); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___8912); case 9: case 10: case 11: @@ -10669,12 +11165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P25406.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__P1918.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__P25406_mk(s) { +function controller_Button___update__P1918_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P25406, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P1918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10682,9 +11178,9 @@ function controller_Button___update__P25406_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___32344: undefined, - interval___32353: undefined, - count___32366: undefined, + delay___8890: undefined, + interval___8899: undefined, + count___8912: undefined, arg0: undefined, arg1: undefined, } } @@ -10693,7 +11189,7 @@ function controller_Button___update__P25406_mk(s) { -function controller_Button_raiseButtonRepeat__P27198(s) { +function controller_Button_raiseButtonRepeat__P3710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10708,8 +11204,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25394_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___27189); + if (!checkSubtype(r0, controller_Button__C1906_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___3701); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -10724,12 +11220,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P27198.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__P3710.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__P27198_mk(s) { +function controller_Button_raiseButtonRepeat__P3710_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P27198, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P3710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10739,7 +11235,7 @@ function controller_Button_raiseButtonRepeat__P27198_mk(s) { -function controller_players__P25409(s) { +function controller_players__P1921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10749,25 +11245,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P25408_mk(s); + s.tmp_0 = controller__player1__P1920_mk(s); s.callLocIdx = 150; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P23597_mk(s); - s.tmp_0.arg0 = globals._players___27202; - s.tmp_0.arg1 = inline__P32185; + s.tmp_0 = helpers_arrayFilter__P109_mk(s); + s.tmp_0.arg0 = globals._players___3714; + s.tmp_0.arg1 = inline__P8731; s.callLocIdx = 151; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P25409.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P1921.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__P25409_mk(s) { +function controller_players__P1921_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P25409, depth: s.depth + 1, + parent: s, fn: controller_players__P1921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -10776,7 +11272,7 @@ function controller_players__P25409_mk(s) { -function inline__P32185(s) { +function inline__P8731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10800,12 +11296,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32185.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P8731.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__P32185_mk(s) { +function inline__P8731_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32185, depth: s.depth + 1, + parent: s, fn: inline__P8731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10817,7 +11313,7 @@ function inline__P32185_mk(s) { -function controller__player1__P25408(s) { +function controller__player1__P1920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10827,7 +11323,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___27202); + r0 = pxsim_numops_toBoolDecr(globals._players___3714); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10836,7 +11332,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___27202, 0); + r0 = pxsim_Array__getAt(globals._players___3714, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -10846,18 +11342,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__C25414_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C1926_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___25370); - r0 = pxsim_Array__push(s.tmp_6, globals.up___25371); - r0 = pxsim_Array__push(s.tmp_6, globals.right___25372); - r0 = pxsim_Array__push(s.tmp_6, globals.down___25373); - r0 = pxsim_Array__push(s.tmp_6, globals.A___25368); - r0 = pxsim_Array__push(s.tmp_6, globals.B___25369); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___25374); - s.tmp_7 = controller_Controller_constructor__P25418_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___1882); + r0 = pxsim_Array__push(s.tmp_6, globals.up___1883); + r0 = pxsim_Array__push(s.tmp_6, globals.right___1884); + r0 = pxsim_Array__push(s.tmp_6, globals.down___1885); + r0 = pxsim_Array__push(s.tmp_6, globals.A___1880); + r0 = pxsim_Array__push(s.tmp_6, globals.B___1881); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___1886); + s.tmp_7 = controller_Controller_constructor__P1930_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -10866,16 +11362,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___27202, 0); + r0 = pxsim_Array__getAt(globals._players___3714, 0); return leave(s, r0) default: oops() } } } -controller__player1__P25408.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P1920.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__P25408_mk(s) { +function controller__player1__P1920_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P25408, depth: s.depth + 1, + parent: s, fn: controller__player1__P1920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10891,7 +11387,7 @@ function controller__player1__P25408_mk(s) { -function controller_Controller_constructor__P25418(s) { +function controller_Controller_constructor__P1930(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10901,9 +11397,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___32250 = undefined; - s.i___32258 = undefined; - s.i___32276 = undefined; + s.leftId___8796 = undefined; + s.i___8804 = undefined; + s.i___8822 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10911,7 +11407,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -10935,18 +11431,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___32250 = (r0); - s.i___32258 = (0); + s.leftId___8796 = (r0); + s.i___8804 = (0); case 2: - r0 = (s.i___32258 < 7); + r0 = (s.i___8804 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25394_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1906_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P25400_mk(s); + s.tmp_2 = controller_Button_constructor__P1912_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___32250 + s.i___32258); + r0 = (s.leftId___8796 + s.i___8804); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 155; s.pc = 7; return s.tmp_2; @@ -10955,14 +11451,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___32258 + 1); - s.i___32258 = (r0); + r0 = (s.i___8804 + 1); + s.i___8804 = (r0); { step = 2; continue; } case 3: case 4: - s.i___32276 = (0); + s.i___8822 = (0); case 5: - s.tmp_1 = r0 = s.i___32276; + s.tmp_1 = r0 = s.i___8822; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -10973,14 +11469,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___32276); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___8822); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___32276 + 1); - s.i___32276 = (r0); + r0 = (s.i___8822 + 1); + s.i___8822 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P27203_mk(s); + s.tmp_0 = controller_addController__P3715_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 156; s.pc = 8; return s.tmp_0; case 8: @@ -10989,12 +11485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P25418.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__P1930.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__P25418_mk(s) { +function controller_Controller_constructor__P1930_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P25418, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P1930, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11002,9 +11498,9 @@ function controller_Controller_constructor__P25418_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___32250: undefined, - i___32258: undefined, - i___32276: undefined, + leftId___8796: undefined, + i___8804: undefined, + i___8822: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11014,7 +11510,7 @@ function controller_Controller_constructor__P25418_mk(s) { -function controller_addController__P27203(s) { +function controller_addController__P3715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11028,17 +11524,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___27202); + r0 = pxsim_numops_toBoolDecr(globals._players___3714); 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___27202 = (r0); + globals._players___3714 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___27202; + s.tmp_0 = r0 = globals._players___3714; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -11048,12 +11544,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P27203.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__P3715.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__P27203_mk(s) { +function controller_addController__P3715_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P27203, depth: s.depth + 1, + parent: s, fn: controller_addController__P3715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11065,7 +11561,7 @@ function controller_addController__P27203_mk(s) { -function helpers_arrayFilter__P23597(s) { +function helpers_arrayFilter__P109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11075,31 +11571,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___32104 = undefined; - s.len___32106 = undefined; - s.i___32109 = undefined; - s.v___32114 = undefined; + s.res___8650 = undefined; + s.len___8652 = undefined; + s.i___8655 = undefined; + s.v___8660 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___32104 = (r0); + s.res___8650 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___32106 = (r0); - s.i___32109 = (0); + s.len___8652 = (r0); + s.i___8655 = (0); case 1: - r0 = (s.i___32109 < s.len___32106); + r0 = (s.i___8655 < s.len___8652); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___32109); - s.v___32114 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___8655); + s.v___8660 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___32114; - s.tmp_1.arg1 = s.i___32109; + s.tmp_1.arg0 = s.v___8660; + s.tmp_1.arg1 = s.i___8655; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: @@ -11107,30 +11603,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___32104, s.v___32114); + r0 = pxsim_Array__push(s.res___8650, s.v___8660); case 2: case 3: - r0 = (s.i___32109 + 1); - s.i___32109 = (r0); + r0 = (s.i___8655 + 1); + s.i___8655 = (r0); { step = 1; continue; } case 4: - r0 = s.res___32104; + r0 = s.res___8650; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P23597.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__P109.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__P23597_mk(s) { +function helpers_arrayFilter__P109_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P23597, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___32104: undefined, - len___32106: undefined, - i___32109: undefined, - v___32114: undefined, + res___8650: undefined, + len___8652: undefined, + i___8655: undefined, + v___8660: undefined, arg0: undefined, arg1: undefined, } } @@ -11139,7 +11635,7 @@ function helpers_arrayFilter__P23597_mk(s) { -function controller__moveSprites__P25413(s) { +function controller__moveSprites__P1925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11149,13 +11645,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P23596_mk(s); - s.tmp_1 = controller_players__P25409_mk(s); + s.tmp_0 = helpers_arrayForEach__P108_mk(s); + s.tmp_1 = controller_players__P1921_mk(s); s.callLocIdx = 152; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P31954; + s.tmp_0.arg1 = inline__P8500; s.callLocIdx = 154; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -11163,12 +11659,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P25413.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P1925.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__P25413_mk(s) { +function controller__moveSprites__P1925_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P25413, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P1925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11178,7 +11674,7 @@ function controller__moveSprites__P25413_mk(s) { -function inline__P31954(s) { +function inline__P8500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11192,7 +11688,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P25438_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P1950_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 153; s.pc = 1; return s.tmp_0; case 1: @@ -11201,12 +11697,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P31954.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P8500.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__P31954_mk(s) { +function inline__P8500_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P31954, depth: s.depth + 1, + parent: s, fn: inline__P8500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11216,7 +11712,7 @@ function inline__P31954_mk(s) { -function controller_Controller___preUpdate__P25438(s) { +function controller_Controller___preUpdate__P1950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11226,20 +11722,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___31961 = undefined; - s.svx___31962 = undefined; - s.svy___31963 = undefined; - s.svxInCricle___31998 = undefined; - s.svyInCircle___32000 = undefined; - s.sq___32002 = undefined; - s.scale___32017 = undefined; + s.deadSprites___8507 = undefined; + s.svx___8508 = undefined; + s.svy___8509 = undefined; + s.svxInCricle___8544 = undefined; + s.svyInCircle___8546 = undefined; + s.sq___8548 = undefined; + s.scale___8563 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P25419_mk(s); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P1931_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 164; s.pc = 18; return s.tmp_3; case 18: @@ -11255,21 +11751,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___31961 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___31961, false); + s.deadSprites___8507 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___8507, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___31962 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___31962, 0); + s.svx___8508 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___8508, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___31963 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___31963, 0); + s.svy___8509 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___8509, 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___31962; - s.tmp_5 = controller_Button_pressureLevel__P25404_mk(s); - s.tmp_6 = controller_Controller_right__P25424_mk(s); + s.tmp_1 = r0 = s.svx___8508; + s.tmp_5 = controller_Button_pressureLevel__P1916_mk(s); + s.tmp_6 = controller_Controller_right__P1936_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 165; s.pc = 20; return s.tmp_6; case 20: @@ -11279,8 +11775,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P25404_mk(s); - s.tmp_9 = controller_Controller_left__P25423_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P1916_mk(s); + s.tmp_9 = controller_Controller_left__P1935_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 167; s.pc = 22; return s.tmp_9; case 22: @@ -11295,9 +11791,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___31963; - s.tmp_4 = controller_Button_pressureLevel__P25404_mk(s); - s.tmp_5 = controller_Controller_down__P25426_mk(s); + s.tmp_0 = r0 = s.svy___8509; + s.tmp_4 = controller_Button_pressureLevel__P1916_mk(s); + s.tmp_5 = controller_Controller_down__P1938_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 169; s.pc = 24; return s.tmp_5; case 24: @@ -11307,8 +11803,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P25404_mk(s); - s.tmp_8 = controller_Controller_up__P25425_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P1916_mk(s); + s.tmp_8 = controller_Controller_up__P1937_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 171; s.pc = 26; return s.tmp_8; case 26: @@ -11325,14 +11821,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C25394_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P25424_mk(s); + s.tmp_1 = controller_Button__C1906_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P1936_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 173; 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__C25394_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C1906_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: @@ -11347,14 +11843,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C25394_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P25423_mk(s); + s.tmp_5 = controller_Button__C1906_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P1935_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 174; 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__C25394_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C1906_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: @@ -11369,18 +11865,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___31962; + s.tmp_8 = r0 = s.svx___8508; 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__C25394_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P25426_mk(s); + s.tmp_1 = controller_Button__C1906_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P1938_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 175; 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__C25394_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C1906_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: @@ -11395,14 +11891,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C25394_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P25425_mk(s); + s.tmp_5 = controller_Button__C1906_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P1937_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 176; 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__C25394_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C1906_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: @@ -11417,57 +11913,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___31963; + s.tmp_8 = r0 = s.svy___8509; 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___31998 = (r0); - s.tmp_0 = r0 = s.svxInCricle___31998; - r0 = pxsim_pxtrt_ldlocRef(s.svx___31962); + s.svxInCricle___8544 = (r0); + s.tmp_0 = r0 = s.svxInCricle___8544; + r0 = pxsim_pxtrt_ldlocRef(s.svx___8508); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___32000 = (r0); - s.tmp_0 = r0 = s.svyInCircle___32000; - r0 = pxsim_pxtrt_ldlocRef(s.svy___31963); + s.svyInCircle___8546 = (r0); + s.tmp_0 = r0 = s.svyInCircle___8546; + r0 = pxsim_pxtrt_ldlocRef(s.svy___8509); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___31962); + r0 = pxsim_pxtrt_ldlocRef(s.svx___8508); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___31962); + r0 = pxsim_pxtrt_ldlocRef(s.svx___8508); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___31963); + r0 = pxsim_pxtrt_ldlocRef(s.svy___8509); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___31963); + r0 = pxsim_pxtrt_ldlocRef(s.svy___8509); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___32002 = (r0); - r0 = (s.sq___32002 > 65536); + s.sq___8548 = (r0); + r0 = (s.sq___8548 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___32002); + r0 = (65536 / s.sq___8548); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___32017 = (r0); - s.tmp_0 = r0 = s.svxInCricle___31998; - s.tmp_3 = r0 = s.scale___32017; - r0 = pxsim_pxtrt_ldlocRef(s.svx___31962); + s.scale___8563 = (r0); + s.tmp_0 = r0 = s.svxInCricle___8544; + s.tmp_3 = r0 = s.scale___8563; + r0 = pxsim_pxtrt_ldlocRef(s.svx___8508); 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___32000; - s.tmp_3 = r0 = s.scale___32017; - r0 = pxsim_pxtrt_ldlocRef(s.svy___31963); + s.tmp_0 = r0 = s.svyInCircle___8546; + s.tmp_3 = r0 = s.scale___8563; + r0 = pxsim_pxtrt_ldlocRef(s.svy___8509); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -11476,15 +11972,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, inline__P32035); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___31961); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___31962); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___31963); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___31998); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___32000); - s.tmp_1 = helpers_arrayForEach__P23596_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P25419_mk(s); + r0 = pxsim_pxtcore_mkAction(5, inline__P8581); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___8507); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___8508); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___8509); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___8544); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___8546); + s.tmp_1 = helpers_arrayForEach__P108_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P1931_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 177; s.pc = 36; return s.tmp_2; case 36: @@ -11494,20 +11990,20 @@ switch (step) { s.callLocIdx = 185; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___31961); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___8507); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P25420_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P1932_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P23597_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P25419_mk(s); + s.tmp_2 = helpers_arrayFilter__P109_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P1931_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 186; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P32092; + s.tmp_2.arg1 = inline__P8638; s.callLocIdx = 187; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -11522,12 +12018,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P25438.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__P1950.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__P25438_mk(s) { +function controller_Controller___preUpdate__P1950_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P25438, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P1950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11539,13 +12035,13 @@ function controller_Controller___preUpdate__P25438_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___31961: undefined, - svx___31962: undefined, - svy___31963: undefined, - svxInCricle___31998: undefined, - svyInCircle___32000: undefined, - sq___32002: undefined, - scale___32017: undefined, + deadSprites___8507: undefined, + svx___8508: undefined, + svy___8509: undefined, + svxInCricle___8544: undefined, + svyInCircle___8546: undefined, + sq___8548: undefined, + scale___8563: undefined, arg0: undefined, } } @@ -11553,7 +12049,7 @@ function controller_Controller___preUpdate__P25438_mk(s) { -function inline__P32035(s) { +function inline__P8581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11563,9 +12059,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___32038 = undefined; - s.vx___32039 = undefined; - s.vy___32040 = undefined; + s.s___8584 = undefined; + s.vx___8585 = undefined; + s.vy___8586 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -11583,7 +12079,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___32038 = (r0); + s.s___8584 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -11596,7 +12092,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___32039 = (r0); + s.vx___8585 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -11609,8 +12105,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___32040 = (r0); - r0 = s.s___32038.fields["flags"]; + s.vy___8586 = (r0); + r0 = s.s___8584.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -11624,14 +12120,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___32039); + r0 = pxsim_numops_toBoolDecr(s.vx___8585); if (!r0) { step = 3; continue; } - r0 = (s.s___32038).fields["_vx"] = (0); + r0 = (s.s___8584).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___32040); + r0 = pxsim_numops_toBoolDecr(s.vy___8586); if (!r0) { step = 5; continue; } - r0 = (s.s___32038).fields["_vy"] = (0); + r0 = (s.s___8584).fields["_vy"] = (0); case 5: case 6: case 7: @@ -11649,48 +12145,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___32039; + s.tmp_2 = r0 = s.vx___8585; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___32040; + r0 = s.vy___8586; 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___32038; + s.tmp_4 = r0 = s.s___8584; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___32039); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___8585); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___32038; + s.tmp_0 = r0 = s.s___8584; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___32040); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___8586); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___32039); + r0 = pxsim_numops_toBoolDecr(s.vx___8585); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___32038; + s.tmp_0 = r0 = s.s___8584; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___32039); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___8585); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___32040); + r0 = pxsim_numops_toBoolDecr(s.vy___8586); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___32038; + s.tmp_0 = r0 = s.s___8584; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___32040); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___8586); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -11707,12 +12203,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32035.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P8581.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__P32035_mk(s) { +function inline__P8581_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32035, depth: s.depth + 1, + parent: s, fn: inline__P8581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11721,9 +12217,9 @@ function inline__P32035_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___32038: undefined, - vx___32039: undefined, - vy___32040: undefined, + s___8584: undefined, + vx___8585: undefined, + vy___8586: undefined, arg0: undefined, } } @@ -11731,7 +12227,7 @@ function inline__P32035_mk(s) { -function inline__P32092(s) { +function inline__P8638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11756,12 +12252,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32092.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P8638.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__P32092_mk(s) { +function inline__P8638_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32092, depth: s.depth + 1, + parent: s, fn: inline__P8638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11773,7 +12269,7 @@ function inline__P32092_mk(s) { -function controller_Controller_down__P25426(s) { +function controller_Controller_down__P1938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11788,7 +12284,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -11797,13 +12293,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P25426.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__P25426.isGetter = true; +controller_Controller_down__P1938.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__P1938.isGetter = true; -function controller_Controller_down__P25426_mk(s) { +function controller_Controller_down__P1938_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P25426, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P1938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11814,7 +12310,7 @@ function controller_Controller_down__P25426_mk(s) { -function controller_Controller_button__P27204(s) { +function controller_Controller_button__P3716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11830,7 +12326,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -11839,12 +12335,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P27204.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__P3716.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__P27204_mk(s) { +function controller_Controller_button__P3716_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P27204, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P3716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11856,7 +12352,7 @@ function controller_Controller_button__P27204_mk(s) { -function controller_Controller_up__P25425(s) { +function controller_Controller_up__P1937(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11871,7 +12367,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -11880,13 +12376,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P25425.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__P25425.isGetter = true; +controller_Controller_up__P1937.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__P1937.isGetter = true; -function controller_Controller_up__P25425_mk(s) { +function controller_Controller_up__P1937_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P25425, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P1937, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11897,7 +12393,7 @@ function controller_Controller_up__P25425_mk(s) { -function controller_Controller_right__P25424(s) { +function controller_Controller_right__P1936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11912,7 +12408,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -11921,13 +12417,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P25424.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__P25424.isGetter = true; +controller_Controller_right__P1936.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__P1936.isGetter = true; -function controller_Controller_right__P25424_mk(s) { +function controller_Controller_right__P1936_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P25424, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P1936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11938,7 +12434,7 @@ function controller_Controller_right__P25424_mk(s) { -function controller_Controller_left__P25423(s) { +function controller_Controller_left__P1935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11953,7 +12449,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -11962,13 +12458,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P25423.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__P25423.isGetter = true; +controller_Controller_left__P1935.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__P1935.isGetter = true; -function controller_Controller_left__P25423_mk(s) { +function controller_Controller_left__P1935_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P25423, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P1935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11979,7 +12475,7 @@ function controller_Controller_left__P25423_mk(s) { -function controller_Controller__controlledSprites__P25420(s) { +function controller_Controller__controlledSprites__P1932(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11995,8 +12491,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P26021_mk(s); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P2533_mk(s); s.callLocIdx = 158; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -12009,12 +12505,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P25420.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__P1932.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__P25420_mk(s) { +function controller_Controller__controlledSprites__P1932_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P25420, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P1932, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12027,7 +12523,7 @@ function controller_Controller__controlledSprites__P25420_mk(s) { -function controller_Controller__controlledSprites__P25419(s) { +function controller_Controller__controlledSprites__P1931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12042,8 +12538,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P26021_mk(s); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P2533_mk(s); s.callLocIdx = 157; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -12055,13 +12551,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P25419.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__P25419.isGetter = true; +controller_Controller__controlledSprites__P1931.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__P1931.isGetter = true; -function controller_Controller__controlledSprites__P25419_mk(s) { +function controller_Controller__controlledSprites__P1931_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P25419, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P1931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12073,7 +12569,7 @@ function controller_Controller__controlledSprites__P25419_mk(s) { -function controller_Button_pressureLevel__P25404(s) { +function controller_Button_pressureLevel__P1916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12088,16 +12584,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25394_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1906_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__C25394_v0_1_mk(s); + s.tmp_3 = controller_Button__C1906_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C25394_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C1906_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: @@ -12126,12 +12622,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P25404.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__P1916.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__P25404_mk(s) { +function controller_Button_pressureLevel__P1916_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P25404, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P1916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12146,7 +12642,7 @@ function controller_Button_pressureLevel__P25404_mk(s) { -function controller_Button_isPressed__P25403(s) { +function controller_Button_isPressed__P1915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12161,17 +12657,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25394_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1906_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P25403.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__P1915.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__P25403_mk(s) { +function controller_Button_isPressed__P1915_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P25403, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P1915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12180,7 +12676,7 @@ function controller_Button_isPressed__P25403_mk(s) { -function Fx_imul__P23647(s) { +function Fx_imul__P159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12199,12 +12695,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P23647.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__P159.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__P23647_mk(s) { +function Fx_imul__P159_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P23647, depth: s.depth + 1, + parent: s, fn: Fx_imul__P159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12214,7 +12710,7 @@ function Fx_imul__P23647_mk(s) { -function power_checkDeepSleep__P25197(s) { +function power_checkDeepSleep__P1709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12224,13 +12720,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___30762 = undefined; - s.to___30765 = undefined; - s.tmp_0 = power_init__P27103_mk(s); + s.p___7308 = undefined; + s.to___7311 = undefined; + s.tmp_0 = power_init__P3615_mk(s); s.callLocIdx = 76; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___27101; + s.tmp_0 = r0 = globals._poked___3613; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -12240,8 +12736,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___30762 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___27102; + s.p___7308 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___3614; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -12251,8 +12747,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___30765 = (s.tmp_1); - r0 = (s.to___30765 > 0); + s.to___7311 = (s.tmp_1); + r0 = (s.to___7311 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -12261,9 +12757,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___30762); + r0 = (s.tmp_2 - s.p___7308); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___30765); + r0 = (s.tmp_1 > s.to___7311); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -12289,12 +12785,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P25197.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P1709.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__P25197_mk(s) { +function power_checkDeepSleep__P1709_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P25197, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P1709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12303,15 +12799,15 @@ function power_checkDeepSleep__P25197_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___30762: undefined, - to___30765: undefined, + p___7308: undefined, + to___7311: undefined, } } -function power_init__P27103(s) { +function power_init__P3615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12321,7 +12817,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___27102 !== undefined); + r0 = (globals._timeout___3614 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -12331,21 +12827,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___27102 = (r0); - r0 = (globals._timeout___27102 > 0); + globals._timeout___3614 = (r0); + r0 = (globals._timeout___3614 > 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___27102 < 300000); + r0 = (globals._timeout___3614 < 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___27102 = (300000); + globals._timeout___3614 = (300000); case 5: case 6: case 7: @@ -12353,12 +12849,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P27103.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P3615.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__P27103_mk(s) { +function power_init__P3615_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P27103, depth: s.depth + 1, + parent: s, fn: power_init__P3615, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12368,7 +12864,7 @@ function power_init__P27103_mk(s) { -function power_poke__P25196(s) { +function power_poke__P1708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12378,22 +12874,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P27103_mk(s); + s.tmp_0 = power_init__P3615_mk(s); s.callLocIdx = 75; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___27101 = (r0); + globals._poked___3613 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P25196.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P1708.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__P25196_mk(s) { +function power_poke__P1708_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P25196, depth: s.depth + 1, + parent: s, fn: power_poke__P1708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -12402,7 +12898,7 @@ function power_poke__P25196_mk(s) { -function control_EventContext_deltaTime__P23880(s) { +function control_EventContext_deltaTime__P392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12417,20 +12913,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23875_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C387_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__P23880.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__P23880.isGetter = true; +control_EventContext_deltaTime__P392.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__P392.isGetter = true; -function control_EventContext_deltaTime__P23880_mk(s) { +function control_EventContext_deltaTime__P392_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P23880, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12440,7 +12936,7 @@ function control_EventContext_deltaTime__P23880_mk(s) { -function scene_Scene_constructor__P25929(s) { +function scene_Scene_constructor__P2441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12457,13 +12953,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2420_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__C25669_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C2181_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P25670_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P2182_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -12472,17 +12968,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C25849_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C2361_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P25853_mk(s); + s.tmp_1 = scene_Camera_constructor__P2365_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 779; 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__C25761_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C2273_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P25765_mk(s); + s.tmp_1 = scene_Background_constructor__P2277_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -12539,12 +13035,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P25929.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__P2441.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__P25929_mk(s) { +function scene_Scene_constructor__P2441_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P25929, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P2441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12557,7 +13053,7 @@ function scene_Scene_constructor__P25929_mk(s) { -function scene_Camera_constructor__P25853(s) { +function scene_Camera_constructor__P2365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12572,7 +13068,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2361_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -12581,12 +13077,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P25853.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__P2365.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__P25853_mk(s) { +function scene_Camera_constructor__P2365_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P25853, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P2365, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12595,7 +13091,7 @@ function scene_Camera_constructor__P25853_mk(s) { -function scene_Background_constructor__P25765(s) { +function scene_Background_constructor__P2277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12611,7 +13107,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C25761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C2273_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -12622,12 +13118,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P25765.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__P2277.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__P25765_mk(s) { +function scene_Background_constructor__P2277_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P25765, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P2277, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12639,7 +13135,7 @@ function scene_Background_constructor__P25765_mk(s) { -function ArcadePhysicsEngine_constructor__P25670(s) { +function ArcadePhysicsEngine_constructor__P2182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12657,33 +13153,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_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__C25589_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C2101_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P25590_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P2102_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 437; 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__P25672_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P2184_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 438; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P25676_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P2188_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 439; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P25674_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P2186_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 440; s.pc = 4; return s.tmp_0; @@ -12693,12 +13189,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P25670.info = {"start":1451,"length":277,"line":56,"column":4,"endLine":63,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} +ArcadePhysicsEngine_constructor__P2182.info = {"start":1451,"length":277,"line":56,"column":4,"endLine":63,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} -function ArcadePhysicsEngine_constructor__P25670_mk(s) { +function ArcadePhysicsEngine_constructor__P2182_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P25670, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P2182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12712,7 +13208,7 @@ function ArcadePhysicsEngine_constructor__P25670_mk(s) { -function ArcadePhysicsEngine_maxStep__P25676(s) { +function ArcadePhysicsEngine_maxStep__P2188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12728,7 +13224,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12739,12 +13235,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P25676.info = {"start":2179,"length":67,"line":86,"column":4,"endLine":88,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxStep__P2188.info = {"start":2179,"length":67,"line":86,"column":4,"endLine":88,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxStep__P25676_mk(s) { +function ArcadePhysicsEngine_maxStep__P2188_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P25676, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P2188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12757,7 +13253,7 @@ function ArcadePhysicsEngine_maxStep__P25676_mk(s) { -function ArcadePhysicsEngine_maxStep__P25675(s) { +function ArcadePhysicsEngine_maxStep__P2187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12772,7 +13268,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12781,13 +13277,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P25675.info = {"start":2099,"length":74,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} -ArcadePhysicsEngine_maxStep__P25675.isGetter = true; +ArcadePhysicsEngine_maxStep__P2187.info = {"start":2099,"length":74,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} +ArcadePhysicsEngine_maxStep__P2187.isGetter = true; -function ArcadePhysicsEngine_maxStep__P25675_mk(s) { +function ArcadePhysicsEngine_maxStep__P2187_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P25675, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P2187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12798,7 +13294,7 @@ function ArcadePhysicsEngine_maxStep__P25675_mk(s) { -function Fx_toInt__P23656(s) { +function Fx_toInt__P168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12818,12 +13314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P23656.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__P168.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__P23656_mk(s) { +function Fx_toInt__P168_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P23656, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12833,7 +13329,7 @@ function Fx_toInt__P23656_mk(s) { -function ArcadePhysicsEngine_minStep__P25674(s) { +function ArcadePhysicsEngine_minStep__P2186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12849,7 +13345,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12860,12 +13356,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P25674.info = {"start":2026,"length":67,"line":78,"column":4,"endLine":80,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_minStep__P2186.info = {"start":2026,"length":67,"line":78,"column":4,"endLine":80,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_minStep__P25674_mk(s) { +function ArcadePhysicsEngine_minStep__P2186_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P25674, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P2186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12878,7 +13374,7 @@ function ArcadePhysicsEngine_minStep__P25674_mk(s) { -function ArcadePhysicsEngine_minStep__P25673(s) { +function ArcadePhysicsEngine_minStep__P2185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12893,7 +13389,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12902,13 +13398,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P25673.info = {"start":1946,"length":74,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} -ArcadePhysicsEngine_minStep__P25673.isGetter = true; +ArcadePhysicsEngine_minStep__P2185.info = {"start":1946,"length":74,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} +ArcadePhysicsEngine_minStep__P2185.isGetter = true; -function ArcadePhysicsEngine_minStep__P25673_mk(s) { +function ArcadePhysicsEngine_minStep__P2185_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P25673, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P2185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12919,7 +13415,7 @@ function ArcadePhysicsEngine_minStep__P25673_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P25672(s) { +function ArcadePhysicsEngine_maxSpeed__P2184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12935,7 +13431,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12952,12 +13448,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P25672.info = {"start":1813,"length":127,"line":69,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxSpeed__P2184.info = {"start":1813,"length":127,"line":69,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxSpeed__P25672_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P2184_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P25672, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12970,7 +13466,7 @@ function ArcadePhysicsEngine_maxSpeed__P25672_mk(s) { -function Fx_neg__P23641(s) { +function Fx_neg__P153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12988,12 +13484,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P23641.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__P153.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__P23641_mk(s) { +function Fx_neg__P153_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P23641, depth: s.depth + 1, + parent: s, fn: Fx_neg__P153, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13002,7 +13498,7 @@ function Fx_neg__P23641_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P25671(s) { +function ArcadePhysicsEngine_maxSpeed__P2183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13017,7 +13513,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -13026,13 +13522,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P25671.info = {"start":1734,"length":73,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} -ArcadePhysicsEngine_maxSpeed__P25671.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P2183.info = {"start":1734,"length":73,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} +ArcadePhysicsEngine_maxSpeed__P2183.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P25671_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P2183_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P25671, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13043,7 +13539,7 @@ function ArcadePhysicsEngine_maxSpeed__P25671_mk(s) { -function PhysicsEngine_constructor__P25655(s) { +function PhysicsEngine_constructor__P2167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13058,17 +13554,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25654_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2166_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P25655.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__P2167.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__P25655_mk(s) { +function PhysicsEngine_constructor__P2167_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P25655, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P2167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13077,7 +13573,7 @@ function PhysicsEngine_constructor__P25655_mk(s) { -function sprites_SpriteMap_constructor__P25590(s) { +function sprites_SpriteMap_constructor__P2102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13092,7 +13588,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25589_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -13101,12 +13597,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P25590.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__P2102.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__P25590_mk(s) { +function sprites_SpriteMap_constructor__P2102_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P25590, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P2102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13117,7 +13613,7 @@ function sprites_SpriteMap_constructor__P25590_mk(s) { -function music_Melody_constructor__P25092(s) { +function music_Melody_constructor__P1604(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13133,18 +13629,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C25089_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C1601_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P25092.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__P1604.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__P25092_mk(s) { +function music_Melody_constructor__P1604_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P25092, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P1604, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13154,7 +13650,7 @@ function music_Melody_constructor__P25092_mk(s) { -function control_pushEventContext__P23889(s) { +function control_pushEventContext__P401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13164,63 +13660,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___32407 = undefined; - s.n___32413 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___27044); + s.ctx___8953 = undefined; + s.n___8959 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3556); 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___27044 = (r0); + globals.eventContexts___3556 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P23888_mk(s); + s.tmp_0 = control_eventContext__P400_mk(s); s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___32407 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___32407); + s.ctx___8953 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___8953); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P23882_mk(s); - s.tmp_0.arg0 = s.ctx___32407; + s.tmp_0 = control_EventContext_unregister__P394_mk(s); + s.tmp_0.arg0 = s.ctx___8953; s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C23875_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C387_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P23879_mk(s); + s.tmp_1 = control_EventContext_constructor__P391_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 56; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___32413 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___27044, s.n___32413); - r0 = s.n___32413; + s.n___8959 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___3556, s.n___8959); + r0 = s.n___8959; return leave(s, r0) default: oops() } } } -control_pushEventContext__P23889.info = {"start":7123,"length":340,"line":216,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P401.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__P23889_mk(s) { +function control_pushEventContext__P401_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P23889, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___32407: undefined, - n___32413: undefined, + ctx___8953: undefined, + n___8959: undefined, } } -function control_EventContext_unregister__P23882(s) { +function control_EventContext_unregister__P394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13230,37 +13726,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___32442 = undefined; - s.unnamed132___U1 = undefined; - s.unnamed133___U2 = undefined; + s.h___8988 = undefined; + s.unnamed52___U1 = undefined; + s.unnamed53___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23875_VT)) failedCast(r0); - s.h___32442 = (undefined); + if (!checkSubtype(r0, control_EventContext__C387_VT)) failedCast(r0); + s.h___8988 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed132___U1 = (r0); - s.unnamed133___U2 = (0); + s.unnamed52___U1 = (r0); + s.unnamed53___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed133___U2; - r0 = pxsim_Array__length(s.unnamed132___U1); + s.tmp_0 = r0 = s.unnamed53___U2; + r0 = pxsim_Array__length(s.unnamed52___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed132___U1, s.unnamed133___U2); - s.h___32442 = (r0); - s.tmp_2 = control_EventHandler_unregister__P27038_mk(s); - s.tmp_2.arg0 = s.h___32442; + r0 = pxsim_Array__getAt(s.unnamed52___U1, s.unnamed53___U2); + s.h___8988 = (r0); + s.tmp_2 = control_EventHandler_unregister__P3550_mk(s); + s.tmp_2.arg0 = s.h___8988; s.callLocIdx = 50; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed133___U2 + 1); - s.unnamed133___U2 = (r0); + r0 = (s.unnamed53___U2 + 1); + s.unnamed53___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed132___U1 = (undefined); + s.unnamed52___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -13271,19 +13767,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P23882.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__P394.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__P23882_mk(s) { +function control_EventContext_unregister__P394_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P23882, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___32442: undefined, - unnamed132___U1: undefined, - unnamed133___U2: undefined, + h___8988: undefined, + unnamed52___U1: undefined, + unnamed53___U2: undefined, arg0: undefined, } } @@ -13291,7 +13787,7 @@ function control_EventContext_unregister__P23882_mk(s) { -function control_EventHandler_unregister__P27038(s) { +function control_EventHandler_unregister__P3550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13306,24 +13802,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C27036_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C3548_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__P27040, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P3552, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P27038.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__P3550.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__P27038_mk(s) { +function control_EventHandler_unregister__P3550_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P27038, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P3550, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13335,7 +13831,7 @@ function control_EventHandler_unregister__P27038_mk(s) { -function control_doNothing__P27040(s) { +function control_doNothing__P3552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13349,12 +13845,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P27040.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P3552.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__P27040_mk(s) { +function control_doNothing__P3552_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P27040, depth: s.depth + 1, + parent: s, fn: control_doNothing__P3552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13362,7 +13858,7 @@ function control_doNothing__P27040_mk(s) { -function control_EventContext_constructor__P23879(s) { +function control_EventContext_constructor__P391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13377,7 +13873,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23875_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C387_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -13387,26 +13883,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___23877); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___389); 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___23877 = (r0); + globals.control_EventContext_lastStats___389 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P23879.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__P391.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__P23879_mk(s) { +function control_EventContext_constructor__P391_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P23879, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13417,7 +13913,7 @@ function control_EventContext_constructor__P23879_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P25444(s) { +function controller_pauseUntilAnyButtonIsPressed__P1956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13437,12 +13933,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P25444.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P1956.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__P25444_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P1956_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P25444, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P1956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13450,7 +13946,7 @@ function controller_pauseUntilAnyButtonIsPressed__P25444_mk(s) { -function game_setWaitAnyButton__P26022(s) { +function game_setWaitAnyButton__P2534(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13464,17 +13960,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___27371 = (s.arg0); + globals.__waitAnyButton___3883 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P26022.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__P2534.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__P26022_mk(s) { +function game_setWaitAnyButton__P2534_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P26022, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P2534, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13483,7 +13979,7 @@ function game_setWaitAnyButton__P26022_mk(s) { -function Math_abs__P23614(s) { +function Math_abs__P126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13512,12 +14008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P23614.info = {"start":15630,"length":77,"line":524,"column":4,"endLine":526,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P126.info = {"start":15630,"length":77,"line":524,"column":4,"endLine":526,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P23614_mk(s) { +function Math_abs__P126_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P23614, depth: s.depth + 1, + parent: s, fn: Math_abs__P126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13528,7 +14024,7 @@ function Math_abs__P23614_mk(s) { -function Math_sign__P23615(s) { +function Math_sign__P127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13563,12 +14059,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P23615.info = {"start":15865,"length":125,"line":532,"column":4,"endLine":536,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P127.info = {"start":15865,"length":125,"line":532,"column":4,"endLine":536,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P23615_mk(s) { +function Math_sign__P127_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P23615, depth: s.depth + 1, + parent: s, fn: Math_sign__P127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13579,7 +14075,7 @@ function Math_sign__P23615_mk(s) { -function texteffects_TextEffect_constructor__P26322(s) { +function texteffects_TextEffect_constructor__P2834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13595,18 +14091,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, texteffects_TextEffect__C26320_VT)) failedCast(r0); + if (!checkSubtype(r0, texteffects_TextEffect__C2832_VT)) failedCast(r0); r0 = (s.arg0).fields["getState"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -texteffects_TextEffect_constructor__P26322.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__P2834.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__P26322_mk(s) { +function texteffects_TextEffect_constructor__P2834_mk(s) { checkStack(s.depth); return { - parent: s, fn: texteffects_TextEffect_constructor__P26322, depth: s.depth + 1, + parent: s, fn: texteffects_TextEffect_constructor__P2834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13616,7 +14112,7 @@ function texteffects_TextEffect_constructor__P26322_mk(s) { -function Math_FastRandom_constructor__P26077(s) { +function Math_FastRandom_constructor__P2589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13632,7 +14128,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C26075_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2587_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -13647,12 +14143,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P26077.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__P2589.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__P26077_mk(s) { +function Math_FastRandom_constructor__P2589_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P26077, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P2589, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13663,7 +14159,7 @@ function Math_FastRandom_constructor__P26077_mk(s) { -function control_ramSize__P23826(s) { +function control_ramSize__P338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13688,12 +14184,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P23826.info = {"start":5058,"length":100,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P338.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__P23826_mk(s) { +function control_ramSize__P338_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P23826, depth: s.depth + 1, + parent: s, fn: control_ramSize__P338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13703,7 +14199,7 @@ function control_ramSize__P23826_mk(s) { -function control__ramSize__P27007(s) { +function control__ramSize__P3519(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13717,12 +14213,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P27007.info = {"start":4938,"length":60,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P3519.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__P27007_mk(s) { +function control__ramSize__P3519_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P27007, depth: s.depth + 1, + parent: s, fn: control__ramSize__P3519, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13730,7 +14226,7 @@ function control__ramSize__P27007_mk(s) { -function game_consoleOverlay_listener__P27700(s) { +function game_consoleOverlay_listener__P4212(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13745,7 +14241,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27665); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4177); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13765,39 +14261,39 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P23596_mk(s); - s.tmp_5 = helpers_arrayFilter__P23597_mk(s); - s.tmp_6 = helpers_stringSplit__P23608_mk(s); + s.tmp_4 = helpers_arrayForEach__P108_mk(s); + s.tmp_5 = helpers_arrayFilter__P109_mk(s); + s.tmp_6 = helpers_stringSplit__P120_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 994; s.pc = 10; return s.tmp_6; + s.callLocIdx = 996; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P32669; - s.callLocIdx = 995; s.pc = 9; return s.tmp_5; + s.tmp_5.arg1 = inline__P9215; + s.callLocIdx = 997; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P32674; - s.callLocIdx = 997; s.pc = 8; return s.tmp_4; + s.tmp_4.arg1 = inline__P9220; + s.callLocIdx = 999; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___27665); + r0 = pxsim_Array__length(globals.consoleStrings___4177); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___27678); + r0 = (s.tmp_1 > globals.consoleLines___4190); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P23587_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___27665; + s.tmp_2 = helpers_arraySplice__P99_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___4177; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___27665); + r0 = pxsim_Array__length(globals.consoleStrings___4177); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___27678); + r0 = (s.tmp_3 - globals.consoleLines___4190); s.tmp_2.arg2 = r0; - s.callLocIdx = 998; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1000; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; case 5: @@ -13807,12 +14303,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P27700.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__P4212.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__P27700_mk(s) { +function game_consoleOverlay_listener__P4212_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P27700, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P4212, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13829,7 +14325,7 @@ function game_consoleOverlay_listener__P27700_mk(s) { -function inline__P32669(s) { +function inline__P9215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13853,12 +14349,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32669.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P9215.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__P32669_mk(s) { +function inline__P9215_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32669, depth: s.depth + 1, + parent: s, fn: inline__P9215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13870,7 +14366,7 @@ function inline__P32669_mk(s) { -function inline__P32674(s) { +function inline__P9220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13880,45 +14376,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___32676 = undefined; + s.j___9222 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___32676 = (0); + s.j___9222 = (0); case 1: - s.tmp_1 = r0 = s.j___32676; + s.tmp_1 = r0 = s.j___9222; 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___27665; - s.tmp_5 = helpers_stringSlice__P23606_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___4177; + s.tmp_5 = helpers_stringSlice__P118_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___32676; - r0 = (s.j___32676 + globals.consoleColumns___27688); + s.tmp_5.arg1 = s.j___9222; + r0 = (s.j___9222 + globals.consoleColumns___4200); s.tmp_5.arg2 = r0; - s.callLocIdx = 996; s.pc = 3; return s.tmp_5; + s.callLocIdx = 998; 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___32676 + globals.consoleColumns___27688); - s.j___32676 = (r0); + r0 = (s.j___9222 + globals.consoleColumns___4200); + s.j___9222 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P32674.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P9220.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__P32674_mk(s) { +function inline__P9220_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32674, depth: s.depth + 1, + parent: s, fn: inline__P9220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13926,7 +14422,7 @@ function inline__P32674_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___32676: undefined, + j___9222: undefined, arg0: undefined, } } @@ -13934,7 +14430,7 @@ function inline__P32674_mk(s) { -function console_addListener__P23863(s) { +function console_addListener__P375(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13957,7 +14453,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___27022, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___3534, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -13968,18 +14464,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___27022, s.arg0); + r0 = pxsim_Array__push(globals.listeners___3534, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P23863.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__P375.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__P23863_mk(s) { +function console_addListener__P375_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P23863, depth: s.depth + 1, + parent: s, fn: console_addListener__P375, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13992,7 +14488,7 @@ function console_addListener__P23863_mk(s) { -function inline__P27021(s) { +function inline__P3533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14012,12 +14508,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27021.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__P3533.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__P27021_mk(s) { +function inline__P3533_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27021, depth: s.depth + 1, + parent: s, fn: inline__P3533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -14027,7 +14523,7 @@ function inline__P27021_mk(s) { -function scene_systemMenu_register__P26122(s) { +function scene_systemMenu_register__P2634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14037,16 +14533,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___27619); + r0 = pxsim_numops_toBoolDecr(globals.instance___4131); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P25401_mk(s); - s.tmp_0.arg0 = globals.menu___25374; + s.tmp_0 = controller_Button_onEvent__P1913_mk(s); + s.tmp_0.arg0 = globals.menu___1886; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P26123; - s.callLocIdx = 981; s.pc = 4; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P2635; + s.callLocIdx = 983; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -14054,12 +14550,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P26122.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__P2634.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__P26122_mk(s) { +function scene_systemMenu_register__P2634_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P26122, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P2634, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14068,7 +14564,7 @@ function scene_systemMenu_register__P26122_mk(s) { -function scene_systemMenu_showSystemMenu__P26123(s) { +function scene_systemMenu_showSystemMenu__P2635(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14078,28 +14574,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___27619); + r0 = pxsim_numops_toBoolDecr(globals.instance___4131); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P26025_mk(s); - s.callLocIdx = 982; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_pushScene__P2537_mk(s); + s.callLocIdx = 984; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C26111_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C2623_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P26112_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P2624_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P26119; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P2631; s.tmp_1.arg2 = undefined; - s.callLocIdx = 983; s.pc = 5; return s.tmp_1; + s.callLocIdx = 985; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___27619 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P26113_mk(s); - s.tmp_0.arg0 = globals.instance___27619; - s.callLocIdx = 984; s.pc = 6; return s.tmp_0; + globals.instance___4131 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P2625_mk(s); + s.tmp_0.arg0 = globals.instance___4131; + s.callLocIdx = 986; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -14107,12 +14603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P26123.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__P2635.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__P26123_mk(s) { +function scene_systemMenu_showSystemMenu__P2635_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P26123, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P2635, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14122,7 +14618,7 @@ function scene_systemMenu_showSystemMenu__P26123_mk(s) { -function scene_systemMenu_buildOptionList__P26119(s) { +function scene_systemMenu_buildOptionList__P2631(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14132,136 +14628,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___34307 = undefined; + s.options___10853 = undefined; r0 = pxsim_Array__mk(); - s.options___34307 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26103_VT); + s.options___10853 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2615_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26104_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2616_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___26133; - s.tmp_1.arg2 = inline__P34315; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P27625; - s.callLocIdx = 964; s.pc = 5; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___2645; + s.tmp_1.arg2 = inline__P10861; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P4137; + s.callLocIdx = 966; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___34307, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26103_VT); + r0 = pxsim_Array__push(s.options___10853, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2615_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26104_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2616_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___26130; - s.tmp_1.arg2 = inline__P34329; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P27624; - s.callLocIdx = 966; s.pc = 6; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___2642; + s.tmp_1.arg2 = inline__P10875; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P4136; + s.callLocIdx = 968; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___34307, s.tmp_0); + r0 = pxsim_Array__push(s.options___10853, 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__C26103_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2615_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P26104_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P2616_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___26131; - s.tmp_2.arg2 = inline__P34344; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P27627; - s.callLocIdx = 969; s.pc = 7; return s.tmp_2; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___2643; + s.tmp_2.arg2 = inline__P10890; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P4139; + s.callLocIdx = 971; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___34307, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26103_VT); + r0 = pxsim_Array__push(s.options___10853, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2615_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26104_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2616_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___26136; - s.tmp_1.arg2 = inline__P34359; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P27626; - s.callLocIdx = 971; s.pc = 8; return s.tmp_1; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___2648; + s.tmp_1.arg2 = inline__P10905; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P4138; + s.callLocIdx = 973; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___34307, s.tmp_0); + r0 = pxsim_Array__push(s.options___10853, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26103_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2615_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26104_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2616_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___26137; - s.tmp_1.arg2 = inline__P34374; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P27629; - s.callLocIdx = 972; s.pc = 9; return s.tmp_1; + s.tmp_1.arg1 = globals.STATS_ICON___2649; + s.tmp_1.arg2 = inline__P10920; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P4141; + s.callLocIdx = 974; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___34307, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26103_VT); + r0 = pxsim_Array__push(s.options___10853, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2615_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26104_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2616_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___26135; - s.tmp_1.arg2 = inline__P34383; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P27630; - s.callLocIdx = 974; s.pc = 10; return s.tmp_1; + s.tmp_1.arg1 = globals.CONSOLE_ICON___2647; + s.tmp_1.arg2 = inline__P10929; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P4142; + s.callLocIdx = 976; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___34307, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26103_VT); + r0 = pxsim_Array__push(s.options___10853, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2615_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26104_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2616_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___26134; - s.tmp_1.arg2 = inline__P34392; - s.tmp_1.arg3 = scene_systemMenu_sleep__P27631; - s.callLocIdx = 975; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = globals.SLEEP_ICON___2646; + s.tmp_1.arg2 = inline__P10938; + s.tmp_1.arg3 = scene_systemMenu_sleep__P4143; + s.callLocIdx = 977; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___34307, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___27620); + r0 = pxsim_Array__push(s.options___10853, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___4132); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P23600_mk(s); - s.tmp_0.arg0 = s.options___34307; - s.tmp_0.arg1 = globals.customMenuOptions___27620; - s.callLocIdx = 976; s.pc = 12; return s.tmp_0; + s.tmp_0 = helpers_arrayConcat__P112_mk(s); + s.tmp_0.arg0 = s.options___10853; + s.tmp_0.arg1 = globals.customMenuOptions___4132; + s.callLocIdx = 978; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___34307 = (r0); + s.options___10853 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26103_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2615_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26104_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2616_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___26132; - s.tmp_1.arg2 = inline__P34405; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P26118; - s.callLocIdx = 977; s.pc = 13; return s.tmp_1; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___2644; + s.tmp_1.arg2 = inline__P10951; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P2630; + s.callLocIdx = 979; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___34307, s.tmp_0); - r0 = s.options___34307; + r0 = pxsim_Array__push(s.options___10853, s.tmp_0); + r0 = s.options___10853; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P26119.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__P2631.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__P26119_mk(s) { +function scene_systemMenu_buildOptionList__P2631_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P26119, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P2631, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___34307: undefined, + options___10853: undefined, } } -function inline__P34315(s) { +function inline__P10861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14271,8 +14767,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P25084_mk(s); - s.callLocIdx = 963; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P1596_mk(s); + s.callLocIdx = 965; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -14291,12 +14787,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34315.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P10861.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P34315_mk(s) { +function inline__P10861_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34315, depth: s.depth + 1, + parent: s, fn: inline__P10861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14308,7 +14804,7 @@ function inline__P34315_mk(s) { -function inline__P34329(s) { +function inline__P10875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14318,8 +14814,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P25084_mk(s); - s.callLocIdx = 965; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P1596_mk(s); + s.callLocIdx = 967; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -14338,12 +14834,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34329.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P10875.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P34329_mk(s) { +function inline__P10875_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34329, depth: s.depth + 1, + parent: s, fn: inline__P10875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14355,7 +14851,7 @@ function inline__P34329_mk(s) { -function inline__P34344(s) { +function inline__P10890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14365,7 +14861,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___25215; + r0 = globals.brightness___1727; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -14382,12 +14878,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34344.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P10890.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P34344_mk(s) { +function inline__P10890_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34344, depth: s.depth + 1, + parent: s, fn: inline__P10890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14398,7 +14894,7 @@ function inline__P34344_mk(s) { -function inline__P34359(s) { +function inline__P10905(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14408,7 +14904,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___25215; + r0 = globals.brightness___1727; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -14425,12 +14921,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34359.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P10905.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P34359_mk(s) { +function inline__P10905_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34359, depth: s.depth + 1, + parent: s, fn: inline__P10905, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14441,7 +14937,7 @@ function inline__P34359_mk(s) { -function inline__P34374(s) { +function inline__P10920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14451,7 +14947,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___26018); + r0 = pxsim_numops_toBoolDecr(globals.stats___2530); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -14464,12 +14960,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34374.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P10920.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P34374_mk(s) { +function inline__P10920_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34374, depth: s.depth + 1, + parent: s, fn: inline__P10920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14478,7 +14974,7 @@ function inline__P34374_mk(s) { -function inline__P34383(s) { +function inline__P10929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14488,7 +14984,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27665); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4177); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -14509,12 +15005,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34383.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P10929.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P34383_mk(s) { +function inline__P10929_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34383, depth: s.depth + 1, + parent: s, fn: inline__P10929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14527,7 +15023,7 @@ function inline__P34383_mk(s) { -function inline__P34392(s) { +function inline__P10938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14541,12 +15037,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34392.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P10938.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P34392_mk(s) { +function inline__P10938_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34392, depth: s.depth + 1, + parent: s, fn: inline__P10938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14554,7 +15050,7 @@ function inline__P34392_mk(s) { -function inline__P34405(s) { +function inline__P10951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14568,12 +15064,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34405.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P10951.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P34405_mk(s) { +function inline__P10951_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34405, depth: s.depth + 1, + parent: s, fn: inline__P10951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14581,7 +15077,7 @@ function inline__P34405_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P27632(s) { +function scene_systemMenu_setScreenBrightnessSupported__P4144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14595,12 +15091,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P27632.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__P4144.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__P27632_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P4144_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P27632, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P4144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14608,7 +15104,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P27632_mk(s) { -function scene_systemMenu_sleep__P27631(s) { +function scene_systemMenu_sleep__P4143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14623,12 +15119,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P27631.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__P4143.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__P27631_mk(s) { +function scene_systemMenu_sleep__P4143_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P27631, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P4143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14636,7 +15132,7 @@ function scene_systemMenu_sleep__P27631_mk(s) { -function scene_systemMenu_toggleConsole__P27630(s) { +function scene_systemMenu_toggleConsole__P4142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14646,7 +15142,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27665); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4177); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -14656,23 +15152,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P26142_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P2654_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; - s.callLocIdx = 957; s.pc = 3; return s.tmp_4; + s.callLocIdx = 959; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P26142_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P2654_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; - s.callLocIdx = 958; s.pc = 4; return s.tmp_0; + s.callLocIdx = 960; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P23860_mk(s); + s.tmp_0 = console_log__P372_mk(s); s.tmp_0.arg0 = "console"; - s.callLocIdx = 959; s.pc = 5; return s.tmp_0; + s.callLocIdx = 961; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -14680,12 +15176,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P27630.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__P4142.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__P27630_mk(s) { +function scene_systemMenu_toggleConsole__P4142_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P27630, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P4142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14698,7 +15194,7 @@ function scene_systemMenu_toggleConsole__P27630_mk(s) { -function game_consoleOverlay_setVisible__P26142(s) { +function game_consoleOverlay_setVisible__P2654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14714,7 +15210,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27665); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4177); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -14735,26 +15231,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___27665 = (s.tmp_6); + globals.consoleStrings___4177 = (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___27664 = (s.arg1); + globals.consoleColor___4176 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P26142.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__P2654.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__P26142_mk(s) { +function game_consoleOverlay_setVisible__P2654_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P26142, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P2654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14771,7 +15267,7 @@ function game_consoleOverlay_setVisible__P26142_mk(s) { -function console_log__P23860(s) { +function console_log__P372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14785,7 +15281,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P23856_mk(s); + s.tmp_0 = console_add__P368_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 33; s.pc = 1; return s.tmp_0; @@ -14795,12 +15291,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P23860.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__P372.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__P23860_mk(s) { +function console_log__P372_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P23860, depth: s.depth + 1, + parent: s, fn: console_log__P372, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14810,7 +15306,7 @@ function console_log__P23860_mk(s) { -function console_add__P23856(s) { +function console_add__P368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14820,58 +15316,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___34444 = undefined; - s.i___34453 = undefined; + s.text___10990 = undefined; + s.i___10999 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___23855); + r0 = (s.arg0 < globals.minPriority___367); 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__P23862_mk(s); + s.tmp_1 = console_inspect__P374_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 31; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___34444 = (r0); - if ((s.text___34444) && (s.text___34444).vtable) { + s.text___10990 = (r0); + if ((s.text___10990) && (s.text___10990).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___34444); + pxsim_String__stringConv(s.text___10990); checkResumeConsumed(); return; - } else { s.retval = (s.text___34444) + ""; } + } else { s.retval = (s.text___10990) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___34444 = (r0); - s.i___34453 = (0); + s.text___10990 = (r0); + s.i___10999 = (0); case 3: - s.tmp_1 = r0 = s.i___34453; - r0 = pxsim_Array__length(globals.listeners___27022); + s.tmp_1 = r0 = s.i___10999; + r0 = pxsim_Array__length(globals.listeners___3534); 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___27022, s.i___34453); + r0 = pxsim_Array__getAt(globals.listeners___3534, s.i___10999); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___34444; + s.tmp_3.arg1 = s.text___10990; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 32; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___34453 + 1); - s.i___34453 = (r0); + r0 = (s.i___10999 + 1); + s.i___10999 = (r0); { step = 3; continue; } case 4: case 5: @@ -14879,19 +15375,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P23856.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__P368.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__P23856_mk(s) { +function console_add__P368_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P23856, depth: s.depth + 1, + parent: s, fn: console_add__P368, 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___34444: undefined, - i___34453: undefined, + text___10990: undefined, + i___10999: undefined, arg0: undefined, arg1: undefined, } } @@ -14900,7 +15396,7 @@ function console_add__P23856_mk(s) { -function console_inspect__P23862(s) { +function console_inspect__P374(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14910,10 +15406,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___34484 = undefined; - s.asString___34502 = undefined; - s.keys___34514 = undefined; - s.snipped___34518 = undefined; + s.asArr___11030 = undefined; + s.asString___11048 = undefined; + s.keys___11060 = undefined; + s.snipped___11064 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14954,15 +15450,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___34484 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___34484); + s.asArr___11030 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___11030); 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__P23590_mk(s); - s.tmp_2.arg0 = s.asArr___34484; + s.tmp_2 = helpers_arrayJoin__P102_mk(s); + s.tmp_2.arg0 = s.asArr___11030; s.tmp_2.arg1 = ","; s.callLocIdx = 34; s.pc = 19; return s.tmp_2; case 19: @@ -14972,9 +15468,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P23590_mk(s); - s.tmp_8 = helpers_arraySlice__P23602_mk(s); - s.tmp_8.arg0 = s.asArr___34484; + s.tmp_7 = helpers_arrayJoin__P102_mk(s); + s.tmp_8 = helpers_arraySlice__P114_mk(s); + s.tmp_8.arg0 = s.asArr___11030; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 35; s.pc = 21; return s.tmp_8; @@ -15014,46 +15510,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___34502 = (r0); - r0 = (s.asString___34502 != "[object Object]"); + s.asString___11048 = (r0); + r0 = (s.asString___11048 != "[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___34502 != "[Object]"); + r0 = (s.asString___11048 != "[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___34502; + r0 = s.asString___11048; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___34514 = (r0); - r0 = pxsim_Array__length(s.keys___34514); + s.keys___11060 = (r0); + r0 = pxsim_Array__length(s.keys___11060); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___34518 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___34518); + s.snipped___11064 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___11064); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P23602_mk(s); - s.tmp_0.arg0 = s.keys___34514; + s.tmp_0 = helpers_arraySlice__P114_mk(s); + s.tmp_0.arg0 = s.keys___11060; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___34514 = (r0); + s.keys___11060 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P34535); + r0 = pxsim_pxtcore_mkAction(1, inline__P11081); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___34518); + r0 = pxsim_numops_toBoolDecr(s.snipped___11064); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -15062,8 +15558,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P23599_mk(s); - s.tmp_7.arg0 = s.keys___34514; + s.tmp_7 = helpers_arrayReduce__P111_mk(s); + s.tmp_7.arg0 = s.keys___11060; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -15112,12 +15608,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P23862.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__P374.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__P23862_mk(s) { +function console_inspect__P374_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P23862, depth: s.depth + 1, + parent: s, fn: console_inspect__P374, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15130,10 +15626,10 @@ function console_inspect__P23862_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___34484: undefined, - asString___34502: undefined, - keys___34514: undefined, - snipped___34518: undefined, + asArr___11030: undefined, + asString___11048: undefined, + keys___11060: undefined, + snipped___11064: undefined, arg0: undefined, arg1: undefined, } } @@ -15142,7 +15638,7 @@ function console_inspect__P23862_mk(s) { -function inline__P34535(s) { +function inline__P11081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15205,12 +15701,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34535.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__P11081.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__P34535_mk(s) { +function inline__P11081_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34535, depth: s.depth + 1, + parent: s, fn: inline__P11081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15228,7 +15724,7 @@ function inline__P34535_mk(s) { -function helpers_arrayReduce__P23599(s) { +function helpers_arrayReduce__P111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15238,8 +15734,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___34562 = undefined; - s.i___34565 = undefined; + s.len___11108 = undefined; + s.i___11111 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15247,43 +15743,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___34562 = (r0); - s.i___34565 = (0); + s.len___11108 = (r0); + s.i___11111 = (0); case 1: - r0 = (s.i___34565 < s.len___34562); + r0 = (s.i___11111 < s.len___11108); 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___34565); + r0 = pxsim_Array__getAt(s.arg0, s.i___11111); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___34565; + s.tmp_1.arg2 = s.i___11111; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___34565 + 1); - s.i___34565 = (r0); + r0 = (s.i___11111 + 1); + s.i___11111 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P23599.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__P111.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__P23599_mk(s) { +function helpers_arrayReduce__P111_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P23599, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___34562: undefined, - i___34565: undefined, + len___11108: undefined, + i___11111: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15293,7 +15789,7 @@ function helpers_arrayReduce__P23599_mk(s) { -function helpers_arrayJoin__P23590(s) { +function helpers_arrayJoin__P102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15303,9 +15799,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___34590 = undefined; - s.len___34591 = undefined; - s.i___34594 = undefined; + s.r___11136 = undefined; + s.len___11137 = undefined; + s.i___11140 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15328,16 +15824,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___34590 = (r0); + s.r___11136 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___34591 = (r0); - s.i___34594 = (0); + s.len___11137 = (r0); + s.i___11140 = (0); case 5: - r0 = (s.i___34594 < s.len___34591); + r0 = (s.i___11140 < s.len___11137); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___34594 > 0); + r0 = (s.i___11140 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -15350,12 +15846,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___34590) && (s.r___34590).vtable) { + if ((s.r___11136) && (s.r___11136).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___34590); + pxsim_String__stringConv(s.r___11136); checkResumeConsumed(); return; - } else { s.retval = (s.r___34590) + ""; } + } else { s.retval = (s.r___11136) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -15369,10 +15865,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___34590 = (r0); + s.r___11136 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___34594); + r0 = pxsim_Array__getAt(s.arg0, s.i___11140); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -15381,7 +15877,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___34594); + r0 = pxsim_Array__getAt(s.arg0, s.i___11140); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -15392,16 +15888,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___34594); + r0 = pxsim_Array__getAt(s.arg0, s.i___11140); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___34590) && (s.r___34590).vtable) { + if ((s.r___11136) && (s.r___11136).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___34590); + pxsim_String__stringConv(s.r___11136); checkResumeConsumed(); return; - } else { s.retval = (s.r___34590) + ""; } + } else { s.retval = (s.r___11136) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -15415,21 +15911,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___34590 = (r0); - r0 = (s.i___34594 + 1); - s.i___34594 = (r0); + s.r___11136 = (r0); + r0 = (s.i___11140 + 1); + s.i___11140 = (r0); { step = 5; continue; } case 14: - r0 = s.r___34590; + r0 = s.r___11136; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P23590.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__P102.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__P23590_mk(s) { +function helpers_arrayJoin__P102_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P23590, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15438,9 +15934,9 @@ function helpers_arrayJoin__P23590_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___34590: undefined, - len___34591: undefined, - i___34594: undefined, + r___11136: undefined, + len___11137: undefined, + i___11140: undefined, arg0: undefined, arg1: undefined, } } @@ -15449,7 +15945,7 @@ function helpers_arrayJoin__P23590_mk(s) { -function scene_systemMenu_toggleStats__P27629(s) { +function scene_systemMenu_toggleStats__P4141(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15459,11 +15955,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___26018); + r0 = pxsim_numops_toBoolDecr(globals.stats___2530); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___26018 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___26018); + globals.stats___2530 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___2530); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -15472,18 +15968,18 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___23878; + r0 = globals.control_EventContext_onStats___390; 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___23878; + s.tmp_3.argL = globals.control_EventContext_onStats___390; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 955; s.pc = 5; return s.tmp_3; + s.callLocIdx = 957; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; case 3: @@ -15492,12 +15988,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P27629.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__P4141.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__P27629_mk(s) { +function scene_systemMenu_toggleStats__P4141_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P27629, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P4141, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15509,7 +16005,7 @@ function scene_systemMenu_toggleStats__P27629_mk(s) { -function scene_systemMenu_brightnessDown__P27627(s) { +function scene_systemMenu_brightnessDown__P4139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15519,24 +16015,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P27628_mk(s); - r0 = globals.brightness___25215; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P4140_mk(s); + r0 = globals.brightness___1727; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 951; s.pc = 1; return s.tmp_0; + s.callLocIdx = 953; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P27627.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__P4139.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__P27627_mk(s) { +function scene_systemMenu_brightnessDown__P4139_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P27627, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P4139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15546,7 +16042,7 @@ function scene_systemMenu_brightnessDown__P27627_mk(s) { -function scene_systemMenu_setScreenBrightness__P27628(s) { +function scene_systemMenu_setScreenBrightness__P4140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15560,29 +16056,29 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P25226_mk(s); - s.tmp_0.arg0 = globals.screen___25293; + s.tmp_0 = helpers_setScreenBrightness__P1738_mk(s); + s.tmp_0.arg0 = globals.screen___1805; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 952; s.pc = 1; return s.tmp_0; + s.callLocIdx = 954; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P25320_mk(s); + s.tmp_0 = settings_writeNumber__P1832_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___25215; + r0 = globals.brightness___1727; s.tmp_0.arg1 = r0; - s.callLocIdx = 954; s.pc = 2; return s.tmp_0; + s.callLocIdx = 956; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P27628.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__P4140.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__P27628_mk(s) { +function scene_systemMenu_setScreenBrightness__P4140_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P27628, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P4140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15592,7 +16088,7 @@ function scene_systemMenu_setScreenBrightness__P27628_mk(s) { -function settings_writeNumber__P25320(s) { +function settings_writeNumber__P1832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15610,9 +16106,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__P25318_mk(s); + s.tmp_1 = settings_writeBuffer__P1830_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P23668_mk(s); + s.tmp_2 = msgpack_packNumberArray__P180_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 123; s.pc = 2; return s.tmp_2; case 2: @@ -15625,12 +16121,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P25320.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__P1832.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__P25320_mk(s) { +function settings_writeNumber__P1832_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P25320, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P1832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15643,7 +16139,7 @@ function settings_writeNumber__P25320_mk(s) { -function settings_writeBuffer__P25318(s) { +function settings_writeBuffer__P1830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15670,12 +16166,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P25318.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__P1830.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__P25318_mk(s) { +function settings_writeBuffer__P1830_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P25318, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P1830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15686,7 +16182,7 @@ function settings_writeBuffer__P25318_mk(s) { -function msgpack_packNumberArray__P23668(s) { +function msgpack_packNumberArray__P180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15696,100 +16192,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___34680 = undefined; - s.n___34682 = undefined; - s.unnamed124___U2 = undefined; - s.unnamed125___U3 = undefined; - s.buf___34692 = undefined; - s.n___34698 = undefined; - s.unnamed126___U6 = undefined; - s.unnamed127___U7 = undefined; + s.off___11226 = undefined; + s.n___11228 = undefined; + s.unnamed44___U2 = undefined; + s.unnamed45___U3 = undefined; + s.buf___11238 = undefined; + s.n___11244 = undefined; + s.unnamed46___U6 = undefined; + s.unnamed47___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___34680 = (0); - s.n___34682 = (undefined); - s.unnamed124___U2 = (s.arg0); - s.unnamed125___U3 = (0); + s.off___11226 = (0); + s.n___11228 = (undefined); + s.unnamed44___U2 = (s.arg0); + s.unnamed45___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed125___U3; - r0 = pxsim_Array__length(s.unnamed124___U2); + s.tmp_0 = r0 = s.unnamed45___U3; + r0 = pxsim_Array__length(s.unnamed44___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed124___U2, s.unnamed125___U3); - s.n___34682 = (r0); - s.tmp_2 = r0 = s.off___34680; - s.tmp_4 = msgpack_packNumberCore__P26985_mk(s); + r0 = pxsim_Array__getAt(s.unnamed44___U2, s.unnamed45___U3); + s.n___11228 = (r0); + s.tmp_2 = r0 = s.off___11226; + s.tmp_4 = msgpack_packNumberCore__P3497_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___34680; - s.tmp_4.arg2 = s.n___34682; + s.tmp_4.arg1 = s.off___11226; + s.tmp_4.arg2 = s.n___11228; s.callLocIdx = 21; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___34680 = (r0); - r0 = (s.unnamed125___U3 + 1); - s.unnamed125___U3 = (r0); + s.off___11226 = (r0); + r0 = (s.unnamed45___U3 + 1); + s.unnamed45___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed124___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___34680); - s.buf___34692 = (r0); - s.off___34680 = (0); - s.n___34698 = (undefined); - s.unnamed126___U6 = (s.arg0); - s.unnamed127___U7 = (0); + s.unnamed44___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___11226); + s.buf___11238 = (r0); + s.off___11226 = (0); + s.n___11244 = (undefined); + s.unnamed46___U6 = (s.arg0); + s.unnamed47___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed127___U7; - r0 = pxsim_Array__length(s.unnamed126___U6); + s.tmp_0 = r0 = s.unnamed47___U7; + r0 = pxsim_Array__length(s.unnamed46___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed126___U6, s.unnamed127___U7); - s.n___34698 = (r0); - s.tmp_2 = r0 = s.off___34680; - s.tmp_4 = msgpack_packNumberCore__P26985_mk(s); - s.tmp_4.arg0 = s.buf___34692; - s.tmp_4.arg1 = s.off___34680; - s.tmp_4.arg2 = s.n___34698; + r0 = pxsim_Array__getAt(s.unnamed46___U6, s.unnamed47___U7); + s.n___11244 = (r0); + s.tmp_2 = r0 = s.off___11226; + s.tmp_4 = msgpack_packNumberCore__P3497_mk(s); + s.tmp_4.arg0 = s.buf___11238; + s.tmp_4.arg1 = s.off___11226; + s.tmp_4.arg2 = s.n___11244; s.callLocIdx = 22; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___34680 = (r0); - r0 = (s.unnamed127___U7 + 1); - s.unnamed127___U7 = (r0); + s.off___11226 = (r0); + r0 = (s.unnamed47___U7 + 1); + s.unnamed47___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed126___U6 = (undefined); - r0 = s.buf___34692; + s.unnamed46___U6 = (undefined); + r0 = s.buf___11238; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P23668.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__P180.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__P23668_mk(s) { +function msgpack_packNumberArray__P180_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P23668, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P180, 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___34680: undefined, - n___34682: undefined, - unnamed124___U2: undefined, - unnamed125___U3: undefined, - buf___34692: undefined, - n___34698: undefined, - unnamed126___U6: undefined, - unnamed127___U7: undefined, + off___11226: undefined, + n___11228: undefined, + unnamed44___U2: undefined, + unnamed45___U3: undefined, + buf___11238: undefined, + n___11244: undefined, + unnamed46___U6: undefined, + unnamed47___U7: undefined, arg0: undefined, } } @@ -15797,7 +16293,7 @@ function msgpack_packNumberArray__P23668_mk(s) { -function msgpack_packNumberCore__P26985(s) { +function msgpack_packNumberCore__P3497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15807,15 +16303,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___34712 = undefined; - s.fmt___34755 = undefined; + s.tag___11258 = undefined; + s.fmt___11301 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___34712 = (203); + s.tag___11258 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -15865,17 +16361,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___34712 = (204); + s.tag___11258 = (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___34712 = (205); + s.tag___11258 = (205); { step = 10; continue; } case 9: - s.tag___34712 = (206); + s.tag___11258 = (206); case 10: case 11: { step = 17; continue; } @@ -15884,41 +16380,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___34712 = (208); + s.tag___11258 = (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___34712 = (209); + s.tag___11258 = (209); { step = 15; continue; } case 14: - s.tag___34712 = (210); + s.tag___11258 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P26984_mk(s); - s.tmp_0.arg0 = s.tag___34712; + s.tmp_0 = msgpack_tagFormat__P3496_mk(s); + s.tmp_0.arg0 = s.tag___11258; s.callLocIdx = 17; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___34755 = (r0); + s.fmt___11301 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___34712); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___11258); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___34755; + s.tmp_1 = r0 = s.fmt___11301; 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__P23659_mk(s); - s.tmp_1.arg0 = s.fmt___34755; + s.tmp_1 = pins_sizeOf__P171_mk(s); + s.tmp_1.arg0 = s.fmt___11301; s.callLocIdx = 18; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -15928,12 +16424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P26985.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__P3497.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__P26985_mk(s) { +function msgpack_packNumberCore__P3497_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P26985, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P3497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15943,8 +16439,8 @@ function msgpack_packNumberCore__P26985_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___34712: undefined, - fmt___34755: undefined, + tag___11258: undefined, + fmt___11301: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15954,7 +16450,7 @@ function msgpack_packNumberCore__P26985_mk(s) { -function msgpack_tagFormat__P26984(s) { +function msgpack_tagFormat__P3496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16014,12 +16510,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P26984.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__P3496.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__P26984_mk(s) { +function msgpack_tagFormat__P3496_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P26984, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P3496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16029,7 +16525,7 @@ function msgpack_tagFormat__P26984_mk(s) { -function pins_sizeOf__P23659(s) { +function pins_sizeOf__P171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16043,7 +16539,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P23695_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P207_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 16; s.pc = 1; return s.tmp_0; case 1: @@ -16051,12 +16547,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P23659.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__P171.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__P23659_mk(s) { +function pins_sizeOf__P171_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P23659, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16066,7 +16562,7 @@ function pins_sizeOf__P23659_mk(s) { -function Buffer_sizeOfNumberFormat__P23695(s) { +function Buffer_sizeOfNumberFormat__P207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16145,12 +16641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P23695.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__P207.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__P23695_mk(s) { +function Buffer_sizeOfNumberFormat__P207_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P23695, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16160,7 +16656,7 @@ function Buffer_sizeOfNumberFormat__P23695_mk(s) { -function helpers_setScreenBrightness__P25226(s) { +function helpers_setScreenBrightness__P1738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16175,7 +16671,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P23613_mk(s); + s.tmp_0 = Math_clamp__P125_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -16184,18 +16680,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___25215 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___25215); + globals.brightness___1727 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___1727); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P25226.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__P1738.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__P25226_mk(s) { +function helpers_setScreenBrightness__P1738_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P25226, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P1738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16206,7 +16702,7 @@ function helpers_setScreenBrightness__P25226_mk(s) { -function scene_systemMenu_brightnessUp__P27626(s) { +function scene_systemMenu_brightnessUp__P4138(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16216,24 +16712,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P27628_mk(s); - r0 = globals.brightness___25215; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P4140_mk(s); + r0 = globals.brightness___1727; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 949; s.pc = 1; return s.tmp_0; + s.callLocIdx = 951; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P27626.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__P4138.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__P27626_mk(s) { +function scene_systemMenu_brightnessUp__P4138_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P27626, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P4138, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16243,7 +16739,7 @@ function scene_systemMenu_brightnessUp__P27626_mk(s) { -function scene_systemMenu_volumeDown__P27625(s) { +function scene_systemMenu_volumeDown__P4137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16253,54 +16749,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___35028 = undefined; - s.remainder___35031 = undefined; - s.newVolume___35034 = undefined; - s.tmp_0 = music_volume__P25084_mk(s); - s.callLocIdx = 946; s.pc = 3; return s.tmp_0; + s.v___11574 = undefined; + s.remainder___11577 = undefined; + s.newVolume___11580 = undefined; + s.tmp_0 = music_volume__P1596_mk(s); + s.callLocIdx = 948; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___35028 = (r0); - r0 = (s.v___35028 % 32); - s.remainder___35031 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___35031); + s.v___11574 = (r0); + r0 = (s.v___11574 % 32); + s.remainder___11577 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___11577); if (!r0) { step = 1; continue; } - r0 = s.remainder___35031; + r0 = s.remainder___11577; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___35028 - s.tmp_0); - s.newVolume___35034 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P27623_mk(s); - s.tmp_0.arg0 = s.newVolume___35034; - s.callLocIdx = 947; s.pc = 4; return s.tmp_0; + r0 = (s.v___11574 - s.tmp_0); + s.newVolume___11580 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P4135_mk(s); + s.tmp_0.arg0 = s.newVolume___11580; + s.callLocIdx = 949; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P27625.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__P4137.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__P27625_mk(s) { +function scene_systemMenu_volumeDown__P4137_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P27625, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P4137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___35028: undefined, - remainder___35031: undefined, - newVolume___35034: undefined, + v___11574: undefined, + remainder___11577: undefined, + newVolume___11580: undefined, } } -function scene_systemMenu_setVolume__P27623(s) { +function scene_systemMenu_setVolume__P4135(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16314,33 +16810,33 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P25083_mk(s); + s.tmp_0 = music_setVolume__P1595_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 941; s.pc = 1; return s.tmp_0; + s.callLocIdx = 943; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P25085_mk(s); + s.tmp_0 = music_playTone__P1597_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; - s.callLocIdx = 942; s.pc = 2; return s.tmp_0; + s.callLocIdx = 944; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P25320_mk(s); + s.tmp_0 = settings_writeNumber__P1832_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 943; s.pc = 3; return s.tmp_0; + s.callLocIdx = 945; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P27623.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__P4135.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__P27623_mk(s) { +function scene_systemMenu_setVolume__P4135_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P27623, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P4135, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16350,7 +16846,7 @@ function scene_systemMenu_setVolume__P27623_mk(s) { -function music_playTone__P25085(s) { +function music_playTone__P1597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16360,7 +16856,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___34869 = undefined; + s.id___11415 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16385,7 +16881,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P27080_mk(s); + s.tmp_2 = music_playNoteCore__P3592_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -16393,7 +16889,7 @@ switch (step) { s.callLocIdx = 67; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P23893_mk(s); + s.tmp_0 = pause__P405_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 68; s.pc = 6; return s.tmp_0; @@ -16401,13 +16897,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___27082 + 1); + r0 = (globals.playToneID___3594 + 1); s.tmp_0 = r0; - globals.playToneID___27082 = (r0); - s.id___34869 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P34875); + globals.playToneID___3594 = (r0); + s.id___11415 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P11421); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___34869); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___11415); 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); @@ -16416,17 +16912,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P25085.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__P1597.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__P25085_mk(s) { +function music_playTone__P1597_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P25085, depth: s.depth + 1, + parent: s, fn: music_playTone__P1597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___34869: undefined, + id___11415: undefined, arg0: undefined, arg1: undefined, } } @@ -16435,7 +16931,7 @@ function music_playTone__P25085_mk(s) { -function inline__P34875(s) { +function inline__P11421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16445,14 +16941,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___34876 = undefined; - s.now___34886 = undefined; - s.d___34889 = undefined; - s.t___34893 = undefined; + s.pos___11422 = undefined; + s.now___11432 = undefined; + s.d___11435 = undefined; + s.t___11439 = undefined; r0 = pxsim.control.millis(); - s.pos___34876 = (r0); + s.pos___11422 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___27082); + r0 = (s.caps[0] == globals.playToneID___3594); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -16468,30 +16964,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___34886 = (r0); - r0 = (s.pos___34876 - s.now___34886); - s.d___34889 = (r0); - s.tmp_0 = Math_min__P23617_mk(s); + s.now___11432 = (r0); + r0 = (s.pos___11422 - s.now___11432); + s.d___11435 = (r0); + s.tmp_0 = Math_min__P129_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 69; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___34893 = (r0); + s.t___11439 = (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___34893); + r0 = (s.tmp_2 - s.t___11439); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___34876 + s.t___34893); - s.pos___34876 = (r0); - s.tmp_0 = music_playNoteCore__P27080_mk(s); - r0 = (s.d___34889 - 1); + r0 = (s.pos___11422 + s.t___11439); + s.pos___11422 = (r0); + s.tmp_0 = music_playNoteCore__P3592_mk(s); + r0 = (s.d___11435 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___34893; + s.tmp_0.arg2 = s.t___11439; s.callLocIdx = 70; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -16501,16 +16997,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P23893_mk(s); - r0 = (s.d___34889 + s.t___34893); + s.tmp_2 = pause__P405_mk(s); + r0 = (s.d___11435 + s.t___11439); s.tmp_2.arg0 = r0; s.callLocIdx = 71; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P23893_mk(s); - r0 = (s.d___34889 + s.t___34893); + s.tmp_0 = pause__P405_mk(s); + r0 = (s.d___11435 + s.t___11439); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -16524,27 +17020,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34875.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P11421.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P34875_mk(s) { +function inline__P11421_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34875, depth: s.depth + 1, + parent: s, fn: inline__P11421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___34876: undefined, - now___34886: undefined, - d___34889: undefined, - t___34893: undefined, + pos___11422: undefined, + now___11432: undefined, + d___11435: undefined, + t___11439: undefined, } } -function music_playNoteCore__P27080(s) { +function music_playNoteCore__P3592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16554,7 +17050,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___34923 = undefined; + s.buf___11469 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16562,16 +17058,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___34923 = (r0); - s.tmp_0 = music_addNote__P27087_mk(s); - s.tmp_0.arg0 = s.buf___34923; + s.buf___11469 = (r0); + s.tmp_0 = music_addNote__P3599_mk(s); + s.tmp_0.arg0 = s.buf___11469; 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__P25084_mk(s); + s.tmp_1 = music_volume__P1596_mk(s); s.callLocIdx = 65; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -16580,21 +17076,21 @@ switch (step) { s.callLocIdx = 66; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___34923); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___11469); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P27080.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__P3592.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__P27080_mk(s) { +function music_playNoteCore__P3592_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P27080, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P3592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___34923: undefined, + buf___11469: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16604,7 +17100,7 @@ function music_playNoteCore__P27080_mk(s) { -function music_addNote__P27087(s) { +function music_addNote__P3599(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16672,12 +17168,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P27087.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__P3599.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__P27087_mk(s) { +function music_addNote__P3599_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P27087, depth: s.depth + 1, + parent: s, fn: music_addNote__P3599, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16698,7 +17194,7 @@ function music_addNote__P27087_mk(s) { -function music_setVolume__P25083(s) { +function music_setVolume__P1595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16712,7 +17208,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P23613_mk(s); + s.tmp_0 = Math_clamp__P125_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -16720,8 +17216,8 @@ switch (step) { s.callLocIdx = 62; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___27075 = (r0); - r0 = (globals.globalVolume___27075 > 0); + globals.globalVolume___3587 = (r0); + r0 = (globals.globalVolume___3587 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -16737,12 +17233,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P25083.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__P1595.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__P25083_mk(s) { +function music_setVolume__P1595_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P25083, depth: s.depth + 1, + parent: s, fn: music_setVolume__P1595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16753,7 +17249,7 @@ function music_setVolume__P25083_mk(s) { -function music_enableAmp__P27078(s) { +function music_enableAmp__P3590(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16771,12 +17267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P27078.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__P3590.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__P27078_mk(s) { +function music_enableAmp__P3590_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P27078, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P3590, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16785,7 +17281,7 @@ function music_enableAmp__P27078_mk(s) { -function scene_systemMenu_volumeUp__P27624(s) { +function scene_systemMenu_volumeUp__P4136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16795,47 +17291,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___34837 = undefined; - s.remainder___34840 = undefined; - s.newVolume___34843 = undefined; - s.tmp_0 = music_volume__P25084_mk(s); - s.callLocIdx = 944; s.pc = 1; return s.tmp_0; + s.v___11383 = undefined; + s.remainder___11386 = undefined; + s.newVolume___11389 = undefined; + s.tmp_0 = music_volume__P1596_mk(s); + s.callLocIdx = 946; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___34837 = (r0); - r0 = (s.v___34837 % 32); - s.remainder___34840 = (r0); - r0 = (s.v___34837 + 32); + s.v___11383 = (r0); + r0 = (s.v___11383 % 32); + s.remainder___11386 = (r0); + r0 = (s.v___11383 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___34840); - s.newVolume___34843 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P27623_mk(s); - s.tmp_0.arg0 = s.newVolume___34843; - s.callLocIdx = 945; s.pc = 2; return s.tmp_0; + r0 = (s.tmp_0 - s.remainder___11386); + s.newVolume___11389 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P4135_mk(s); + s.tmp_0.arg0 = s.newVolume___11389; + s.callLocIdx = 947; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P27624.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__P4136.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__P27624_mk(s) { +function scene_systemMenu_volumeUp__P4136_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P27624, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P4136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___34837: undefined, - remainder___34840: undefined, - newVolume___34843: undefined, + v___11383: undefined, + remainder___11386: undefined, + newVolume___11389: undefined, } } -function game_consoleOverlay_isVisible__P26140(s) { +function game_consoleOverlay_isVisible__P2652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16845,7 +17341,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27665); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4177); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -16855,12 +17351,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P26140.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__P2652.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__P26140_mk(s) { +function game_consoleOverlay_isVisible__P2652_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P26140, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P2652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16871,7 +17367,7 @@ function game_consoleOverlay_isVisible__P26140_mk(s) { -function scene_systemMenu_closeMenu__P26118(s) { +function scene_systemMenu_closeMenu__P2630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16881,21 +17377,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___27619); + r0 = pxsim_numops_toBoolDecr(globals.instance___4131); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P26117_mk(s); - s.tmp_0.arg0 = globals.instance___27619; - s.callLocIdx = 960; s.pc = 3; return s.tmp_0; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P2629_mk(s); + s.tmp_0.arg0 = globals.instance___4131; + s.callLocIdx = 962; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___27619 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P25445_mk(s); + globals.instance___4131 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P1957_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 961; s.pc = 4; return s.tmp_0; + s.callLocIdx = 963; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P26026_mk(s); - s.callLocIdx = 962; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_popScene__P2538_mk(s); + s.callLocIdx = 964; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -16904,12 +17400,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P26118.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__P2630.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__P26118_mk(s) { +function scene_systemMenu_closeMenu__P2630_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P26118, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P2630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16918,7 +17414,7 @@ function scene_systemMenu_closeMenu__P26118_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P26117(s) { +function scene_systemMenu_PauseMenu_dispose__P2629(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16933,16 +17429,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26111_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2623_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__P23596_mk(s); + s.tmp_1 = helpers_arrayForEach__P108_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P33349; - s.callLocIdx = 937; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = inline__P9895; + s.callLocIdx = 939; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["options"] = (undefined); @@ -16952,12 +17448,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P26117.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__P2629.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__P26117_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P2629_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P26117, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P2629, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16968,7 +17464,7 @@ function scene_systemMenu_PauseMenu_dispose__P26117_mk(s) { -function inline__P33349(s) { +function inline__P9895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16982,21 +17478,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P26110_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P2622_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 936; s.pc = 1; return s.tmp_0; + s.callLocIdx = 938; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P33349.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P9895.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__P33349_mk(s) { +function inline__P9895_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33349, depth: s.depth + 1, + parent: s, fn: inline__P9895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17006,7 +17502,7 @@ function inline__P33349_mk(s) { -function scene_systemMenu_MenuOption_dispose__P26110(s) { +function scene_systemMenu_MenuOption_dispose__P2622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17021,25 +17517,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26103_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2615_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__P25582_mk(s); + s.tmp_1 = Sprite_destroy__P2094_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.tmp_1.arg2 = undefined; - s.callLocIdx = 856; s.pc = 3; return s.tmp_1; + s.callLocIdx = 858; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P25582_mk(s); + s.tmp_0 = Sprite_destroy__P2094_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 857; s.pc = 4; return s.tmp_0; + s.callLocIdx = 859; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["card"] = (undefined); @@ -17050,12 +17546,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P26110.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__P2622.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__P26110_mk(s) { +function scene_systemMenu_MenuOption_dispose__P2622_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P26110, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P2622, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17066,7 +17562,7 @@ function scene_systemMenu_MenuOption_dispose__P26110_mk(s) { -function Sprite_destroy__P25582(s) { +function Sprite_destroy__P2094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17083,7 +17579,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -17101,7 +17597,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__P26281_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P2793_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -17111,7 +17607,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P25583_mk(s); + s.tmp_0 = Sprite__destroyCore__P2095_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 370; s.pc = 7; return s.tmp_0; case 7: @@ -17122,12 +17618,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P25582.info = {"start":28605,"length":293,"line":862,"column":4,"endLine":871,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P2094.info = {"start":28605,"length":293,"line":862,"column":4,"endLine":871,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P25582_mk(s) { +function Sprite_destroy__P2094_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P25582, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P2094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17143,7 +17639,7 @@ function Sprite_destroy__P25582_mk(s) { -function effects_ParticleEffect_destroy__P26281(s) { +function effects_ParticleEffect_destroy__P2793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17161,15 +17657,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C26278_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P25574_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C2790_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P2086_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 3072; s.tmp_0.arg2 = true; - s.callLocIdx = 1121; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1123; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P26280_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P2792_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -17186,7 +17682,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg4 = r0; - s.callLocIdx = 1122; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1124; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -17201,22 +17697,22 @@ 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__P26307_mk(s); - s.tmp_0.arg0 = globals.dissolve___26310; + s.tmp_0 = effects_ImageEffect_applyTo__P2819_mk(s); + s.tmp_0.arg0 = globals.dissolve___2822; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1123; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1125; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P26281.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__P2793.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__P26281_mk(s) { +function effects_ParticleEffect_destroy__P2793_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P26281, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P2793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17234,7 +17730,7 @@ function effects_ParticleEffect_destroy__P26281_mk(s) { -function inline__P33501(s) { +function inline__P10047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17244,11 +17740,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___33504 = undefined; - s.x___33515 = undefined; - s.y___33521 = undefined; - s.w___33527 = undefined; - s.h___33531 = undefined; + s.i___10050 = undefined; + s.x___10061 = undefined; + s.y___10067 = undefined; + s.w___10073 = undefined; + s.h___10077 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17261,13 +17757,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___33504 = (r0); + s.i___10050 = (r0); case 1: - r0 = (s.i___33504 > 0); + r0 = (s.i___10050 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P26079_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P2591_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -17275,8 +17771,8 @@ switch (step) { s.callLocIdx = 39; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___33515 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P26079_mk(s); + s.x___10061 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2591_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -17284,56 +17780,56 @@ switch (step) { s.callLocIdx = 40; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___33521 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P26079_mk(s); + s.y___10067 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2591_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___33527 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P26079_mk(s); + s.w___10073 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2591_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___33531 = (r0); - s.tmp_0 = helpers_imageDrawRect__P25222_mk(s); + s.h___10077 = (r0); + s.tmp_0 = helpers_imageDrawRect__P1734_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___33515; - s.tmp_0.arg2 = s.y___33521; - s.tmp_0.arg3 = s.w___33527; - s.tmp_0.arg4 = s.h___33531; + s.tmp_0.arg1 = s.x___10061; + s.tmp_0.arg2 = s.y___10067; + s.tmp_0.arg3 = s.w___10073; + s.tmp_0.arg4 = s.h___10077; s.tmp_0.arg5 = 0; s.callLocIdx = 43; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___33504 - 1); - s.i___33504 = (r0); + r0 = (s.i___10050 - 1); + s.i___10050 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P33501.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__P10047.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__P33501_mk(s) { +function inline__P10047_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33501, depth: s.depth + 1, + parent: s, fn: inline__P10047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___33504: undefined, - x___33515: undefined, - y___33521: undefined, - w___33527: undefined, - h___33531: undefined, + i___10050: undefined, + x___10061: undefined, + y___10067: undefined, + w___10073: undefined, + h___10077: undefined, arg0: undefined, arg1: undefined, } } @@ -17342,7 +17838,7 @@ function inline__P33501_mk(s) { -function helpers_imageDrawRect__P25222(s) { +function helpers_imageDrawRect__P1734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17381,7 +17877,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P25221_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1733_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -17392,7 +17888,7 @@ switch (step) { s.callLocIdx = 84; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P25221_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1733_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -17403,7 +17899,7 @@ switch (step) { s.callLocIdx = 85; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P25221_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1733_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -17416,7 +17912,7 @@ switch (step) { s.callLocIdx = 86; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P25221_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1733_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -17434,12 +17930,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P25222.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__P1734.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__P25222_mk(s) { +function helpers_imageDrawRect__P1734_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P25222, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P1734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17455,7 +17951,7 @@ function helpers_imageDrawRect__P25222_mk(s) { -function helpers_imageDrawLine__P25221(s) { +function helpers_imageDrawLine__P1733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17475,14 +17971,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P27112_mk(s); + s.tmp_2 = helpers_pack__P3624_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 82; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P27112_mk(s); + s.tmp_4 = helpers_pack__P3624_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 83; s.pc = 2; return s.tmp_4; @@ -17494,12 +17990,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P25221.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__P1733.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__P25221_mk(s) { +function helpers_imageDrawLine__P1733_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P25221, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P1733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17518,7 +18014,7 @@ function helpers_imageDrawLine__P25221_mk(s) { -function effects_ImageEffect_applyTo__P26307(s) { +function effects_ImageEffect_applyTo__P2819(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17528,14 +18024,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___33627 = undefined; + s.clonedImage___10173 = 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__C26305_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C2817_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -17561,17 +18057,17 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___33627 = (r0); - s.tmp_0 = effects_ImageEffect_change__P26308_mk(s); + s.clonedImage___10173 = (r0); + s.tmp_0 = effects_ImageEffect_change__P2820_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___33627; - s.callLocIdx = 1134; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___10173; + s.callLocIdx = 1136; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P25551_mk(s); + s.tmp_0 = Sprite_setImage__P2063_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___33627; - s.callLocIdx = 1135; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___10173; + s.callLocIdx = 1137; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 5: @@ -17579,12 +18075,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P26307.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__P2819.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__P26307_mk(s) { +function effects_ImageEffect_applyTo__P2819_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P26307, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P2819, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17592,7 +18088,7 @@ function effects_ImageEffect_applyTo__P26307_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___33627: undefined, + clonedImage___10173: undefined, arg0: undefined, arg1: undefined, } } @@ -17601,7 +18097,7 @@ function effects_ImageEffect_applyTo__P26307_mk(s) { -function effects_ImageEffect_change__P26308(s) { +function effects_ImageEffect_change__P2820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17617,7 +18113,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C26305_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C2817_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -17625,12 +18121,12 @@ switch (step) { s.tmp_0.arg2 = r0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "effect"), 3); - s.callLocIdx = 1136; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1138; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["effect"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1136; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1136; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 1136; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1138; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1138; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1138; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -17638,12 +18134,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P26308.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__P2820.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__P26308_mk(s) { +function effects_ImageEffect_change__P2820_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P26308, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P2820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17654,7 +18150,7 @@ function effects_ImageEffect_change__P26308_mk(s) { -function Sprite_setImage__P25551(s) { +function Sprite_setImage__P2063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17670,7 +18166,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -17681,7 +18177,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite_setHitbox__P25552_mk(s); + s.tmp_0 = Sprite_setHitbox__P2064_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 248; s.pc = 4; return s.tmp_0; case 4: @@ -17691,12 +18187,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P25551.info = {"start":7004,"length":133,"line":256,"column":4,"endLine":260,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P2063.info = {"start":7004,"length":133,"line":256,"column":4,"endLine":260,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P25551_mk(s) { +function Sprite_setImage__P2063_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P25551, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P2063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17708,7 +18204,7 @@ function Sprite_setImage__P25551_mk(s) { -function Sprite_setHitbox__P25552(s) { +function Sprite_setHitbox__P2064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17718,29 +18214,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___33646 = undefined; - s.oMinX___33654 = undefined; - s.oMinY___33658 = undefined; - s.oMaxX___33662 = undefined; - s.oMaxY___33669 = undefined; - s.nMinX___33676 = undefined; - s.nMinY___33679 = undefined; - s.nMaxX___33682 = undefined; - s.nMaxY___33688 = undefined; - s.xDiff___33694 = undefined; - s.yDiff___33705 = undefined; + s.newHitBox___10192 = undefined; + s.oMinX___10200 = undefined; + s.oMinY___10204 = undefined; + s.oMaxX___10208 = undefined; + s.oMaxY___10215 = undefined; + s.nMinX___10222 = undefined; + s.nMinY___10225 = undefined; + s.nMaxX___10228 = undefined; + s.nMaxY___10234 = undefined; + s.xDiff___10240 = undefined; + s.yDiff___10251 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_0 = game_calculateHitBox__P25461_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_0 = game_calculateHitBox__P1973_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 249; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.newHitBox___33646 = (r0); + s.newHitBox___10192 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -17749,95 +18245,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___33646); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___10192); { step = 7; continue; } case 1: case 2: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___33654 = (r0); + s.oMinX___10200 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___33658 = (r0); + s.oMinY___10204 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___33654 + s.tmp_0); - s.oMaxX___33662 = (r0); + r0 = (s.oMinX___10200 + s.tmp_0); + s.oMaxX___10208 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___33658 + s.tmp_0); - s.oMaxY___33669 = (r0); - r0 = s.newHitBox___33646.fields["ox"]; - s.nMinX___33676 = (r0); - r0 = s.newHitBox___33646.fields["oy"]; - s.nMinY___33679 = (r0); - r0 = s.newHitBox___33646.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___33676 + s.tmp_0); - s.nMaxX___33682 = (r0); - r0 = s.newHitBox___33646.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___33679 + s.tmp_0); - s.nMaxY___33688 = (r0); - s.tmp_1 = Fx_abs__P23651_mk(s); - r0 = (s.oMinX___33654 - s.nMinX___33676); + r0 = (s.oMinY___10204 + s.tmp_0); + s.oMaxY___10215 = (r0); + r0 = s.newHitBox___10192.fields["ox"]; + s.nMinX___10222 = (r0); + r0 = s.newHitBox___10192.fields["oy"]; + s.nMinY___10225 = (r0); + r0 = s.newHitBox___10192.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___10222 + s.tmp_0); + s.nMaxX___10228 = (r0); + r0 = s.newHitBox___10192.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___10225 + s.tmp_0); + s.nMaxY___10234 = (r0); + s.tmp_1 = Fx_abs__P163_mk(s); + r0 = (s.oMinX___10200 - s.nMinX___10222); s.tmp_1.arg0 = r0; s.callLocIdx = 255; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P23651_mk(s); - r0 = (s.oMaxX___33662 - s.nMaxX___33682); + s.tmp_3 = Fx_abs__P163_mk(s); + r0 = (s.oMaxX___10208 - s.nMaxX___10228); s.tmp_3.arg0 = r0; s.callLocIdx = 257; 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___33694 = (r0); - s.tmp_1 = Fx_abs__P23651_mk(s); - r0 = (s.oMinY___33658 - s.nMinY___33679); + s.xDiff___10240 = (r0); + s.tmp_1 = Fx_abs__P163_mk(s); + r0 = (s.oMinY___10204 - s.nMinY___10225); s.tmp_1.arg0 = r0; s.callLocIdx = 260; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P23651_mk(s); - r0 = (s.oMaxY___33669 - s.nMaxY___33688); + s.tmp_3 = Fx_abs__P163_mk(s); + r0 = (s.oMaxY___10215 - s.nMaxY___10234); s.tmp_3.arg0 = r0; s.callLocIdx = 262; 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___33705 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___33646); - r0 = (s.xDiff___33694 <= 512); + s.yDiff___10251 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___10192); + r0 = (s.xDiff___10240 <= 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___33654); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___10200); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___33662 - s.oMinX___33654); + r0 = (s.oMaxX___10208 - s.oMinX___10200); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 3: case 4: - r0 = (s.yDiff___33705 <= 512); + r0 = (s.yDiff___10251 <= 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___33658); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___10204); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___33669 - s.oMinY___33658); + r0 = (s.oMaxY___10215 - s.oMinY___10204); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 5: @@ -17847,28 +18343,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P25552.info = {"start":7143,"length":1296,"line":262,"column":4,"endLine":301,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P2064.info = {"start":7143,"length":1296,"line":262,"column":4,"endLine":301,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P25552_mk(s) { +function Sprite_setHitbox__P2064_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P25552, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P2064, 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___33646: undefined, - oMinX___33654: undefined, - oMinY___33658: undefined, - oMaxX___33662: undefined, - oMaxY___33669: undefined, - nMinX___33676: undefined, - nMinY___33679: undefined, - nMaxX___33682: undefined, - nMaxY___33688: undefined, - xDiff___33694: undefined, - yDiff___33705: undefined, + newHitBox___10192: undefined, + oMinX___10200: undefined, + oMinY___10204: undefined, + oMaxX___10208: undefined, + oMaxY___10215: undefined, + nMinX___10222: undefined, + nMinY___10225: undefined, + nMaxX___10228: undefined, + nMaxY___10234: undefined, + xDiff___10240: undefined, + yDiff___10251: undefined, arg0: undefined, } } @@ -17876,7 +18372,7 @@ function Sprite_setHitbox__P25552_mk(s) { -function game_calculateHitBox__P25461(s) { +function game_calculateHitBox__P1973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17886,104 +18382,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___33754 = undefined; - s.minX___33757 = undefined; - s.minY___33760 = undefined; - s.maxX___33763 = undefined; - s.maxY___33764 = undefined; - s.c___33765 = undefined; - s.r___33771 = undefined; - s.width___33802 = undefined; - s.height___33808 = undefined; + s.i___10300 = undefined; + s.minX___10303 = undefined; + s.minY___10306 = undefined; + s.maxX___10309 = undefined; + s.maxY___10310 = undefined; + s.c___10311 = undefined; + s.r___10317 = undefined; + s.width___10348 = undefined; + s.height___10354 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - s.i___33754 = (r0); - r0 = pxsim_ImageMethods.width(s.i___33754); - s.minX___33757 = (r0); - r0 = pxsim_ImageMethods.height(s.i___33754); - s.minY___33760 = (r0); - s.maxX___33763 = (0); - s.maxY___33764 = (0); - s.c___33765 = (0); - case 1: - s.tmp_1 = r0 = s.c___33765; - r0 = pxsim_ImageMethods.width(s.i___33754); + s.i___10300 = (r0); + r0 = pxsim_ImageMethods.width(s.i___10300); + s.minX___10303 = (r0); + r0 = pxsim_ImageMethods.height(s.i___10300); + s.minY___10306 = (r0); + s.maxX___10309 = (0); + s.maxY___10310 = (0); + s.c___10311 = (0); + case 1: + s.tmp_1 = r0 = s.c___10311; + r0 = pxsim_ImageMethods.width(s.i___10300); 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___33771 = (0); + s.r___10317 = (0); case 2: - s.tmp_1 = r0 = s.r___33771; - r0 = pxsim_ImageMethods.height(s.i___33754); + s.tmp_1 = r0 = s.r___10317; + r0 = pxsim_ImageMethods.height(s.i___10300); 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___33754, s.c___33765, s.r___33771); + r0 = pxsim_ImageMethods.getPixel(s.i___10300, s.c___10311, s.r___10317); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Math_min__P23617_mk(s); - s.tmp_4.arg0 = s.minX___33757; - s.tmp_4.arg1 = s.c___33765; + s.tmp_4 = Math_min__P129_mk(s); + s.tmp_4.arg0 = s.minX___10303; + s.tmp_4.arg1 = s.c___10311; s.callLocIdx = 208; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.minX___33757 = (r0); - s.tmp_0 = Math_min__P23617_mk(s); - s.tmp_0.arg0 = s.minY___33760; - s.tmp_0.arg1 = s.r___33771; + s.minX___10303 = (r0); + s.tmp_0 = Math_min__P129_mk(s); + s.tmp_0.arg0 = s.minY___10306; + s.tmp_0.arg1 = s.r___10317; s.callLocIdx = 209; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.minY___33760 = (r0); - s.tmp_0 = Math_max__P23616_mk(s); - s.tmp_0.arg0 = s.maxX___33763; - s.tmp_0.arg1 = s.c___33765; + s.minY___10306 = (r0); + s.tmp_0 = Math_max__P128_mk(s); + s.tmp_0.arg0 = s.maxX___10309; + s.tmp_0.arg1 = s.c___10311; s.callLocIdx = 210; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.maxX___33763 = (r0); - s.tmp_0 = Math_max__P23616_mk(s); - s.tmp_0.arg0 = s.maxY___33764; - s.tmp_0.arg1 = s.r___33771; + s.maxX___10309 = (r0); + s.tmp_0 = Math_max__P128_mk(s); + s.tmp_0.arg0 = s.maxY___10310; + s.tmp_0.arg1 = s.r___10317; s.callLocIdx = 211; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___33764 = (r0); + s.maxY___10310 = (r0); case 3: case 4: - r0 = (s.r___33771 + 1); - s.r___33771 = (r0); + r0 = (s.r___10317 + 1); + s.r___10317 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___33765 + 1); - s.c___33765 = (r0); + r0 = (s.c___10311 + 1); + s.c___10311 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___33763 - s.minX___33757); + r0 = (s.maxX___10309 - s.minX___10303); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___33802 = (r0); - r0 = (s.maxY___33764 - s.minY___33760); + s.width___10348 = (r0); + r0 = (s.maxY___10310 - s.minY___10306); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___33808 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C25450_VT); + s.height___10354 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C1962_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P25456_mk(s); + s.tmp_1 = game_Hitbox_constructor__P1968_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___33802; - s.tmp_1.arg3 = s.height___33808; - s.tmp_1.arg4 = s.minX___33757; - s.tmp_1.arg5 = s.minY___33760; + s.tmp_1.arg2 = s.width___10348; + s.tmp_1.arg3 = s.height___10354; + s.tmp_1.arg4 = s.minX___10303; + s.tmp_1.arg5 = s.minY___10306; s.callLocIdx = 212; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -17991,27 +18487,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P25461.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__P1973.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__P25461_mk(s) { +function game_calculateHitBox__P1973_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P25461, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P1973, 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___33754: undefined, - minX___33757: undefined, - minY___33760: undefined, - maxX___33763: undefined, - maxY___33764: undefined, - c___33765: undefined, - r___33771: undefined, - width___33802: undefined, - height___33808: undefined, + i___10300: undefined, + minX___10303: undefined, + minY___10306: undefined, + maxX___10309: undefined, + maxY___10310: undefined, + c___10311: undefined, + r___10317: undefined, + width___10348: undefined, + height___10354: undefined, arg0: undefined, } } @@ -18019,7 +18515,7 @@ function game_calculateHitBox__P25461_mk(s) { -function game_Hitbox_constructor__P25456(s) { +function game_Hitbox_constructor__P1968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18039,7 +18535,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25450_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1962_VT)) failedCast(r0); r0 = (s.arg0).fields["parent"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = (s.arg2 * 256); @@ -18069,12 +18565,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P25456.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__P1968.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__P25456_mk(s) { +function game_Hitbox_constructor__P1968_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P25456, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P1968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18091,7 +18587,7 @@ function game_Hitbox_constructor__P25456_mk(s) { -function Fx_abs__P23651(s) { +function Fx_abs__P163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18121,12 +18617,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P23651.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__P163.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__P23651_mk(s) { +function Fx_abs__P163_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P23651, depth: s.depth + 1, + parent: s, fn: Fx_abs__P163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18136,7 +18632,7 @@ function Fx_abs__P23651_mk(s) { -function Fx_sub__P23645(s) { +function Fx_sub__P157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18155,12 +18651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P23645.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__P157.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__P23645_mk(s) { +function Fx_sub__P157_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P23645, depth: s.depth + 1, + parent: s, fn: Fx_sub__P157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18170,7 +18666,7 @@ function Fx_sub__P23645_mk(s) { -function Sprite_image__P25550(s) { +function Sprite_image__P2062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18185,18 +18681,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P25550.info = {"start":6728,"length":54,"line":246,"column":4,"endLine":248,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P25550.isGetter = true; +Sprite_image__P2062.info = {"start":6728,"length":54,"line":246,"column":4,"endLine":248,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P2062.isGetter = true; -function Sprite_image__P25550_mk(s) { +function Sprite_image__P2062_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P25550, depth: s.depth + 1, + parent: s, fn: Sprite_image__P2062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18205,7 +18701,7 @@ function Sprite_image__P25550_mk(s) { -function effects_ParticleEffect_start__P26280(s) { +function effects_ParticleEffect_start__P2792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18215,7 +18711,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___33863 = undefined; + s.src___10409 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18225,7 +18721,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C26278_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C2790_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18252,18 +18748,18 @@ switch (step) { s.tmp_4.arg2 = s.tmp_3; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "sourceFactory"), 3); - s.callLocIdx = 1119; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1121; s.pc = 10; return s.tmp_4; } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["sourceFactory"]; - if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1119; s.pc = 10; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1119; s.pc = 10; return s.tmp_4;; } - else { s.callLocIdx = 1119; s.pc = 10; return s.tmp_4; } + if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1121; s.pc = 10; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1121; s.pc = 10; return s.tmp_4;; } + else { s.callLocIdx = 1121; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; - s.src___33863 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P26178_mk(s); - s.tmp_0.arg0 = s.src___33863; + s.src___10409 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P2690_mk(s); + s.tmp_0.arg0 = s.src___10409; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -18272,7 +18768,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1120; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1122; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -18288,7 +18784,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___33863).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___10409).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -18296,19 +18792,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P26280.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__P2792.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__P26280_mk(s) { +function effects_ParticleEffect_start__P2792_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P26280, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P2792, 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___33863: undefined, + src___10409: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18320,7 +18816,7 @@ function effects_ParticleEffect_start__P26280_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P26178(s) { +function particles_ParticleSource_setRelativeToCamera__P2690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18336,7 +18832,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18362,12 +18858,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P26178.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__P2690.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__P26178_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P2690_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P26178, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P2690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18382,7 +18878,7 @@ function particles_ParticleSource_setRelativeToCamera__P26178_mk(s) { -function Sprite_setFlag__P25574(s) { +function Sprite_setFlag__P2086(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18399,7 +18895,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18434,7 +18930,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = Sprite_setFlag__P25574_mk(s); + s.tmp_2 = Sprite_setFlag__P2086_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 512; @@ -18448,12 +18944,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P25574.info = {"start":24075,"length":292,"line":735,"column":4,"endLine":742,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P2086.info = {"start":24075,"length":292,"line":735,"column":4,"endLine":742,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P25574_mk(s) { +function Sprite_setFlag__P2086_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P25574, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P2086, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18469,7 +18965,7 @@ function Sprite_setFlag__P25574_mk(s) { -function Sprite__destroyCore__P25583(s) { +function Sprite__destroyCore__P2095(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18479,29 +18975,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___33399 = undefined; + s.scene___9945 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P26021_mk(s); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 371; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___33399 = (r0); + s.scene___9945 = (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__P25582_mk(s); + s.tmp_1 = Sprite_destroy__P2094_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -18511,7 +19007,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.scene___33399.fields["allSprites"]; + r0 = s.scene___9945.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -18523,7 +19019,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.scene___33399.fields["spritesByKind"]; + r0 = s.scene___9945.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -18533,8 +19029,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__P25613_mk(s); - r0 = s.scene___33399.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P2125_mk(s); + r0 = s.scene___9945.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -18546,11 +19042,11 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.tmp_0 = PhysicsEngine__C25654_v1_2_mk(s); - r0 = s.scene___33399.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C2166_v1_2_mk(s); + r0 = s.scene___9945.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25654_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2166_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: @@ -18574,15 +19070,15 @@ switch (step) { r0 = s.retval; case 7: case 8: - r0 = pxsim_pxtcore_mkAction(1, inline__P33436); + r0 = pxsim_pxtcore_mkAction(1, inline__P9982); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P33443); + r0 = pxsim_pxtcore_mkAction(1, inline__P9989); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P23596_mk(s); - s.tmp_3 = helpers_arrayFilter__P23597_mk(s); - r0 = s.scene___33399.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P108_mk(s); + s.tmp_3 = helpers_arrayFilter__P109_mk(s); + r0 = s.scene___9945.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 379; s.pc = 15; return s.tmp_3; @@ -18597,12 +19093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P25583.info = {"start":28904,"length":693,"line":873,"column":4,"endLine":889,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P2095.info = {"start":28904,"length":693,"line":873,"column":4,"endLine":889,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P25583_mk(s) { +function Sprite__destroyCore__P2095_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P25583, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P2095, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18612,7 +19108,7 @@ function Sprite__destroyCore__P25583_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___33399: undefined, + scene___9945: undefined, arg0: undefined, } } @@ -18620,7 +19116,7 @@ function Sprite__destroyCore__P25583_mk(s) { -function inline__P33436(s) { +function inline__P9982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18642,12 +19138,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33436.info = {"start":29520,"length":26,"line":887,"column":20,"endLine":887,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P9982.info = {"start":29520,"length":26,"line":887,"column":20,"endLine":887,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P33436_mk(s) { +function inline__P9982_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33436, depth: s.depth + 1, + parent: s, fn: inline__P9982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18658,7 +19154,7 @@ function inline__P33436_mk(s) { -function inline__P33443(s) { +function inline__P9989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18690,12 +19186,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33443.info = {"start":29569,"length":20,"line":888,"column":21,"endLine":888,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P9989.info = {"start":29569,"length":20,"line":888,"column":21,"endLine":888,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P33443_mk(s) { +function inline__P9989_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33443, depth: s.depth + 1, + parent: s, fn: inline__P9989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18705,7 +19201,7 @@ function inline__P33443_mk(s) { -function PhysicsEngine_removeSprite__P25657(s) { +function PhysicsEngine_removeSprite__P2169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18721,17 +19217,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25654_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2166_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P25657.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__P2169.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__P25657_mk(s) { +function PhysicsEngine_removeSprite__P2169_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P25657, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P2169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18741,7 +19237,7 @@ function PhysicsEngine_removeSprite__P25657_mk(s) { -function sprites_SpriteSet_remove__P25613(s) { +function sprites_SpriteSet_remove__P2125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18751,26 +19247,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___33452 = undefined; + s.i___9998 = 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__C25606_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2118_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___33452 = (r0); - r0 = (s.i___33452 > -1); + s.i___9998 = (r0); + r0 = (s.i___9998 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P23587_mk(s); + s.tmp_1 = helpers_arraySplice__P99_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___33452; + s.tmp_1.arg1 = s.i___9998; s.tmp_1.arg2 = 1; s.callLocIdx = 427; s.pc = 4; return s.tmp_1; case 4: @@ -18784,16 +19280,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P25613.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__P2125.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__P25613_mk(s) { +function sprites_SpriteSet_remove__P2125_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P25613, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P2125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___33452: undefined, + i___9998: undefined, arg0: undefined, arg1: undefined, } } @@ -18802,7 +19298,7 @@ function sprites_SpriteSet_remove__P25613_mk(s) { -function Sprite_kind__P25565(s) { +function Sprite_kind__P2077(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18817,17 +19313,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P25565.info = {"start":10783,"length":41,"line":391,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P2077.info = {"start":10783,"length":41,"line":391,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P25565_mk(s) { +function Sprite_kind__P2077_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P25565, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P2077, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18836,7 +19332,7 @@ function Sprite_kind__P25565_mk(s) { -function game_popScene__P26026(s) { +function game_popScene__P2538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18846,59 +19342,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___33278 = undefined; - s.tmp_0 = game_currentScene__P26021_mk(s); - s.callLocIdx = 821; s.pc = 11; return s.tmp_0; + s.oldScene___9824 = undefined; + s.tmp_0 = game_currentScene__P2533_mk(s); + s.callLocIdx = 823; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___33278 = (r0); - s.tmp_0 = r0 = globals._sceneStack___27368; + s.oldScene___9824 = (r0); + s.tmp_0 = r0 = globals._sceneStack___3880; 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___27368); + r0 = pxsim_Array__length(globals._sceneStack___3880); 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___27368); - globals._scene___27367 = (r0); - s.tmp_0 = control_popEventContext__P23890_mk(s); - s.callLocIdx = 822; s.pc = 12; return s.tmp_0; + r0 = pxsim_Array_.pop(globals._sceneStack___3880); + globals._scene___3879 = (r0); + s.tmp_0 = control_popEventContext__P402_mk(s); + s.callLocIdx = 824; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___27367); + r0 = pxsim_numops_toBoolDecr(globals._scene___3879); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P23890_mk(s); - s.callLocIdx = 823; s.pc = 13; return s.tmp_0; + s.tmp_0 = control_popEventContext__P402_mk(s); + s.callLocIdx = 825; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___27367 = (undefined); + globals._scene___3879 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___27367); + r0 = pxsim_numops_toBoolDecr(globals._scene___3879); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P26199_mk(s); - s.callLocIdx = 824; s.pc = 14; return s.tmp_0; + s.tmp_0 = particles_enableAll__P2711_mk(s); + s.callLocIdx = 826; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___27370); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___3882); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P33299); + r0 = pxsim_pxtcore_mkAction(1, inline__P9845); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___33278); - s.tmp_1 = helpers_arrayForEach__P23596_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___27370; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___9824); + s.tmp_1 = helpers_arrayForEach__P108_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___3882; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 826; s.pc = 15; return s.tmp_1; + s.callLocIdx = 828; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; case 9: @@ -18907,23 +19403,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P26026.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P2538.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__P26026_mk(s) { +function game_popScene__P2538_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P26026, depth: s.depth + 1, + parent: s, fn: game_popScene__P2538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___33278: undefined, + oldScene___9824: undefined, } } -function inline__P33299(s) { +function inline__P9845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18941,19 +19437,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 825; s.pc = 1; return s.tmp_0; + s.callLocIdx = 827; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P33299.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P9845.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__P33299_mk(s) { +function inline__P9845_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33299, depth: s.depth + 1, + parent: s, fn: inline__P9845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18963,7 +19459,7 @@ function inline__P33299_mk(s) { -function particles_enableAll__P26199(s) { +function particles_enableAll__P2711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18973,22 +19469,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___33303 = undefined; - s.tmp_0 = particles_particleSources__P27731_mk(s); - s.callLocIdx = 1065; s.pc = 3; return s.tmp_0; + s.sources___9849 = undefined; + s.tmp_0 = particles_particleSources__P4243_mk(s); + s.callLocIdx = 1067; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___33303 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___33303); + s.sources___9849 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___9849); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P23596_mk(s); - s.tmp_0.arg0 = s.sources___33303; - s.tmp_0.arg1 = inline__P33309; - s.callLocIdx = 1067; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P108_mk(s); + s.tmp_0.arg0 = s.sources___9849; + s.tmp_0.arg1 = inline__P9855; + s.callLocIdx = 1069; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P27727_mk(s); - s.callLocIdx = 1068; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P4239_mk(s); + s.callLocIdx = 1070; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -18997,22 +19493,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P26199.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P2711.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__P26199_mk(s) { +function particles_enableAll__P2711_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P26199, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P2711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___33303: undefined, + sources___9849: undefined, } } -function inline__P33309(s) { +function inline__P9855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19026,22 +19522,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P26180_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P2692_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1066; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1068; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = true; return leave(s, r0) default: oops() } } } -inline__P33309.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P9855.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__P33309_mk(s) { +function inline__P9855_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33309, depth: s.depth + 1, + parent: s, fn: inline__P9855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19051,7 +19547,7 @@ function inline__P33309_mk(s) { -function control_popEventContext__P23890(s) { +function control_popEventContext__P402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19061,9 +19557,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___33316 = undefined; - s.context___33324 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___27044); + s.ctx___9862 = undefined; + s.context___9870 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3556); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19072,9 +19568,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___27044); - s.ctx___33316 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___33316); + r0 = pxsim_Array_.pop(globals.eventContexts___3556); + s.ctx___9862 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___9862); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19083,53 +19579,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P23882_mk(s); - s.tmp_2.arg0 = s.ctx___33316; + s.tmp_2 = control_EventContext_unregister__P394_mk(s); + s.tmp_2.arg0 = s.ctx___9862; s.callLocIdx = 57; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___27044; - r0 = pxsim_Array__length(globals.eventContexts___27044); + s.tmp_0 = r0 = globals.eventContexts___3556; + r0 = pxsim_Array__length(globals.eventContexts___3556); 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___33324 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___33324); + s.context___9870 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___9870); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P23881_mk(s); - s.tmp_0.arg0 = s.context___33324; + s.tmp_0 = control_EventContext_register__P393_mk(s); + s.tmp_0.arg0 = s.context___9870; s.callLocIdx = 58; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___27044 = (undefined); + globals.eventContexts___3556 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P23890.info = {"start":7568,"length":413,"line":232,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P402.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__P23890_mk(s) { +function control_popEventContext__P402_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P23890, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___33316: undefined, - context___33324: undefined, + ctx___9862: undefined, + context___9870: undefined, } } -function control_EventContext_register__P23881(s) { +function control_EventContext_register__P393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19139,38 +19635,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___33337 = undefined; - s.unnamed130___U1 = undefined; - s.unnamed131___U2 = undefined; + s.h___9883 = undefined; + s.unnamed50___U1 = undefined; + s.unnamed51___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C23875_VT)) failedCast(r0); - s.h___33337 = (undefined); + if (!checkSubtype(r0, control_EventContext__C387_VT)) failedCast(r0); + s.h___9883 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed130___U1 = (r0); - s.unnamed131___U2 = (0); + s.unnamed50___U1 = (r0); + s.unnamed51___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed131___U2; - r0 = pxsim_Array__length(s.unnamed130___U1); + s.tmp_0 = r0 = s.unnamed51___U2; + r0 = pxsim_Array__length(s.unnamed50___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed130___U1, s.unnamed131___U2); - s.h___33337 = (r0); - s.tmp_2 = control_EventHandler_register__P27037_mk(s); - s.tmp_2.arg0 = s.h___33337; + r0 = pxsim_Array__getAt(s.unnamed50___U1, s.unnamed51___U2); + s.h___9883 = (r0); + s.tmp_2 = control_EventHandler_register__P3549_mk(s); + s.tmp_2.arg0 = s.h___9883; s.callLocIdx = 48; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed131___U2 + 1); - s.unnamed131___U2 = (r0); + r0 = (s.unnamed51___U2 + 1); + s.unnamed51___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed130___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P27042_mk(s); + s.unnamed50___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P3554_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 49; s.pc = 4; return s.tmp_0; case 4: @@ -19179,19 +19675,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P23881.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__P393.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__P23881_mk(s) { +function control_EventContext_register__P393_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P23881, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___33337: undefined, - unnamed130___U1: undefined, - unnamed131___U2: undefined, + h___9883: undefined, + unnamed50___U1: undefined, + unnamed51___U2: undefined, arg0: undefined, } } @@ -19199,7 +19695,7 @@ function control_EventContext_register__P23881_mk(s) { -function controller__setUserEventsEnabled__P25445(s) { +function controller__setUserEventsEnabled__P1957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19213,17 +19709,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___27189 = (s.arg0); + globals._userEventsEnabled___3701 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P25445.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__P1957.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__P25445_mk(s) { +function controller__setUserEventsEnabled__P1957_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P25445, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P1957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19232,7 +19728,7 @@ function controller__setUserEventsEnabled__P25445_mk(s) { -function scene_systemMenu_MenuOption_constructor__P26104(s) { +function scene_systemMenu_MenuOption_constructor__P2616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19250,7 +19746,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26103_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2615_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -19258,12 +19754,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P26104.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__P2616.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__P26104_mk(s) { +function scene_systemMenu_MenuOption_constructor__P2616_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P26104, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P2616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19275,7 +19771,7 @@ function scene_systemMenu_MenuOption_constructor__P26104_mk(s) { -function helpers_screenBrightness__P25227(s) { +function helpers_screenBrightness__P1739(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19289,16 +19785,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___25215; + r0 = globals.brightness___1727; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P25227.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__P1739.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__P25227_mk(s) { +function helpers_screenBrightness__P1739_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P25227, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P1739, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19307,7 +19803,7 @@ function helpers_screenBrightness__P25227_mk(s) { -function music_volume__P25084(s) { +function music_volume__P1596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19317,20 +19813,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P27079_mk(s); + s.tmp_0 = music_initVolume__P3591_mk(s); s.callLocIdx = 64; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___27075; + r0 = globals.globalVolume___3587; return leave(s, r0) default: oops() } } } -music_volume__P25084.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P1596.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__P25084_mk(s) { +function music_volume__P1596_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P25084, depth: s.depth + 1, + parent: s, fn: music_volume__P1596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19339,7 +19835,7 @@ function music_volume__P25084_mk(s) { -function music_initVolume__P27079(s) { +function music_initVolume__P3591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19349,12 +19845,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___27075 === null); + r0 = (globals.globalVolume___3587 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___27075 = (0); - s.tmp_0 = music_setVolume__P25083_mk(s); + globals.globalVolume___3587 = (0); + s.tmp_0 = music_setVolume__P1595_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 61; s.pc = 3; return s.tmp_0; @@ -19366,12 +19862,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P27079.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P3591.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__P27079_mk(s) { +function music_initVolume__P3591_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P27079, depth: s.depth + 1, + parent: s, fn: music_initVolume__P3591, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19380,7 +19876,7 @@ function music_initVolume__P27079_mk(s) { -function helpers_arrayConcat__P23600(s) { +function helpers_arrayConcat__P112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19390,74 +19886,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___34410 = undefined; - s.value___34413 = undefined; - s.unnamed120___U2 = undefined; - s.unnamed121___U3 = undefined; - s.value___34420 = undefined; - s.unnamed122___U5 = undefined; - s.unnamed123___U6 = undefined; + s.out___10956 = undefined; + s.value___10959 = undefined; + s.unnamed40___U2 = undefined; + s.unnamed41___U3 = undefined; + s.value___10966 = undefined; + s.unnamed42___U5 = undefined; + s.unnamed43___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___34410 = (r0); - s.value___34413 = (undefined); - s.unnamed120___U2 = (s.arg0); - s.unnamed121___U3 = (0); + s.out___10956 = (r0); + s.value___10959 = (undefined); + s.unnamed40___U2 = (s.arg0); + s.unnamed41___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed121___U3; - r0 = pxsim_Array__length(s.unnamed120___U2); + s.tmp_0 = r0 = s.unnamed41___U3; + r0 = pxsim_Array__length(s.unnamed40___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed120___U2, s.unnamed121___U3); - s.value___34413 = (r0); - r0 = pxsim_Array__push(s.out___34410, s.value___34413); - r0 = (s.unnamed121___U3 + 1); - s.unnamed121___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed40___U2, s.unnamed41___U3); + s.value___10959 = (r0); + r0 = pxsim_Array__push(s.out___10956, s.value___10959); + r0 = (s.unnamed41___U3 + 1); + s.unnamed41___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed120___U2 = (undefined); - s.value___34420 = (undefined); - s.unnamed122___U5 = (s.arg1); - s.unnamed123___U6 = (0); + s.unnamed40___U2 = (undefined); + s.value___10966 = (undefined); + s.unnamed42___U5 = (s.arg1); + s.unnamed43___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed123___U6; - r0 = pxsim_Array__length(s.unnamed122___U5); + s.tmp_0 = r0 = s.unnamed43___U6; + r0 = pxsim_Array__length(s.unnamed42___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed122___U5, s.unnamed123___U6); - s.value___34420 = (r0); - r0 = pxsim_Array__push(s.out___34410, s.value___34420); - r0 = (s.unnamed123___U6 + 1); - s.unnamed123___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed42___U5, s.unnamed43___U6); + s.value___10966 = (r0); + r0 = pxsim_Array__push(s.out___10956, s.value___10966); + r0 = (s.unnamed43___U6 + 1); + s.unnamed43___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed122___U5 = (undefined); - r0 = s.out___34410; + s.unnamed42___U5 = (undefined); + r0 = s.out___10956; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P23600.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__P112.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__P23600_mk(s) { +function helpers_arrayConcat__P112_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P23600, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___34410: undefined, - value___34413: undefined, - unnamed120___U2: undefined, - unnamed121___U3: undefined, - value___34420: undefined, - unnamed122___U5: undefined, - unnamed123___U6: undefined, + out___10956: undefined, + value___10959: undefined, + unnamed40___U2: undefined, + unnamed41___U3: undefined, + value___10966: undefined, + unnamed42___U5: undefined, + unnamed43___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -19466,7 +19962,7 @@ function helpers_arrayConcat__P23600_mk(s) { -function scene_systemMenu_PauseMenu_show__P26113(s) { +function scene_systemMenu_PauseMenu_show__P2625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19476,34 +19972,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___32754 = undefined; - s.i___32755 = undefined; + s.current___9300 = undefined; + s.i___9301 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26111_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2623_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "generator"), 1); - s.callLocIdx = 869; s.pc = 3; return s.tmp_2; + s.callLocIdx = 871; s.pc = 3; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["generator"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 869; s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 869; s.pc = 3; return s.tmp_2;; } - else { s.callLocIdx = 869; s.pc = 3; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 871; s.pc = 3; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 871; s.pc = 3; return s.tmp_2;; } + else { s.callLocIdx = 871; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___32755 = (0); + s.i___9301 = (0); case 1: - s.tmp_1 = r0 = s.i___32755; + s.tmp_1 = r0 = s.i___9301; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19514,22 +20010,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___32755); - s.current___32754 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P26105_mk(s); - s.tmp_0.arg0 = s.current___32754; - s.callLocIdx = 870; s.pc = 4; return s.tmp_0; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___9301); + s.current___9300 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P2617_mk(s); + s.tmp_0.arg0 = s.current___9300; + s.callLocIdx = 872; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P26108_mk(s); - s.tmp_0.arg0 = s.current___32754; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P2620_mk(s); + s.tmp_0.arg0 = s.current___9300; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 871; s.pc = 5; return s.tmp_0; + s.callLocIdx = 873; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P26106_mk(s); - s.tmp_0.arg0 = s.current___32754; + s.tmp_0 = scene_systemMenu_MenuOption_position__P2618_mk(s); + s.tmp_0.arg0 = s.current___9300; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -19539,12 +20035,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["padding"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["padding"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 872; s.pc = 7; return s.tmp_2; } + else { s.callLocIdx = 874; s.pc = 7; return s.tmp_2; } } case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___32755; + s.tmp_5 = r0 = s.i___9301; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -19554,7 +20050,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardsPerRow"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 873; s.pc = 8; return s.tmp_7; } + else { s.callLocIdx = 875; s.pc = 8; return s.tmp_7; } } case 8: r0 = s.retval; @@ -19570,7 +20066,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["cardWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["cardWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 874; s.pc = 9; return s.tmp_10; } + else { s.callLocIdx = 876; s.pc = 9; return s.tmp_10; } } case 9: r0 = s.retval; @@ -19584,7 +20080,7 @@ switch (step) { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["cardSpacing"]; if (s.tmp_12.fn == null) { s.retval = s.tmp_12.arg0.fields["cardSpacing"]; } else if (!s.tmp_12.fn.isGetter) { s.retval = bind(s.tmp_12); } - else { s.callLocIdx = 875; s.pc = 10; return s.tmp_12; } + else { s.callLocIdx = 877; s.pc = 10; return s.tmp_12; } } case 10: r0 = s.retval; @@ -19604,12 +20100,12 @@ switch (step) { s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["cardsTop"]; if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["cardsTop"]; } else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.callLocIdx = 876; s.pc = 11; return s.tmp_14; } + else { s.callLocIdx = 878; s.pc = 11; return s.tmp_14; } } case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___32755; + s.tmp_17 = r0 = s.i___9301; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -19619,7 +20115,7 @@ switch (step) { s.tmp_19.fn = s.tmp_19.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_19.fn == null) { s.retval = s.tmp_19.arg0.fields["cardsPerRow"]; } else if (!s.tmp_19.fn.isGetter) { s.retval = bind(s.tmp_19); } - else { s.callLocIdx = 877; s.pc = 12; return s.tmp_19; } + else { s.callLocIdx = 879; s.pc = 12; return s.tmp_19; } } case 12: r0 = s.retval; @@ -19635,7 +20131,7 @@ switch (step) { s.tmp_22.fn = s.tmp_22.arg0.vtable.iface["cardWidth"]; if (s.tmp_22.fn == null) { s.retval = s.tmp_22.arg0.fields["cardWidth"]; } else if (!s.tmp_22.fn.isGetter) { s.retval = bind(s.tmp_22); } - else { s.callLocIdx = 878; s.pc = 13; return s.tmp_22; } + else { s.callLocIdx = 880; s.pc = 13; return s.tmp_22; } } case 13: r0 = s.retval; @@ -19649,7 +20145,7 @@ switch (step) { s.tmp_24.fn = s.tmp_24.arg0.vtable.iface["cardSpacing"]; if (s.tmp_24.fn == null) { s.retval = s.tmp_24.arg0.fields["cardSpacing"]; } else if (!s.tmp_24.fn.isGetter) { s.retval = bind(s.tmp_24); } - else { s.callLocIdx = 879; s.pc = 14; return s.tmp_24; } + else { s.callLocIdx = 881; s.pc = 14; return s.tmp_24; } } case 14: r0 = s.retval; @@ -19660,116 +20156,116 @@ switch (step) { s.tmp_15 = r0; r0 = (s.tmp_13 + s.tmp_15); s.tmp_0.arg2 = r0; - s.callLocIdx = 880; s.pc = 6; return s.tmp_0; + s.callLocIdx = 882; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___32755 + 1); - s.i___32755 = (r0); + r0 = (s.i___9301 + 1); + s.i___9301 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P25445_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P1957_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 881; s.pc = 15; return s.tmp_0; + s.callLocIdx = 883; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32818); + r0 = pxsim_pxtcore_mkAction(1, inline__P9364); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25401_mk(s); - s.tmp_1.arg0 = globals.A___25368; + s.tmp_1 = controller_Button_onEvent__P1913_mk(s); + s.tmp_1.arg0 = globals.A___1880; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 883; s.pc = 16; return s.tmp_1; + s.callLocIdx = 885; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32838); + r0 = pxsim_pxtcore_mkAction(1, inline__P9384); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25401_mk(s); - s.tmp_1.arg0 = globals.A___25368; + s.tmp_1 = controller_Button_onEvent__P1913_mk(s); + s.tmp_1.arg0 = globals.A___1880; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 885; s.pc = 17; return s.tmp_1; + s.callLocIdx = 887; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P25401_mk(s); - s.tmp_0.arg0 = globals.B___25369; + s.tmp_0 = controller_Button_onEvent__P1913_mk(s); + s.tmp_0.arg0 = globals.B___1881; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P32867; - s.callLocIdx = 887; s.pc = 18; return s.tmp_0; + s.tmp_0.arg2 = inline__P9413; + s.callLocIdx = 889; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P25401_mk(s); - s.tmp_0.arg0 = globals.menu___25374; + s.tmp_0 = controller_Button_onEvent__P1913_mk(s); + s.tmp_0.arg0 = globals.menu___1886; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P32872; - s.callLocIdx = 889; s.pc = 19; return s.tmp_0; + s.tmp_0.arg2 = inline__P9418; + s.callLocIdx = 891; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32877); + r0 = pxsim_pxtcore_mkAction(1, inline__P9423); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25401_mk(s); - s.tmp_1.arg0 = globals.up___25371; + s.tmp_1 = controller_Button_onEvent__P1913_mk(s); + s.tmp_1.arg0 = globals.up___1883; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 893; s.pc = 20; return s.tmp_1; + s.callLocIdx = 895; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32889); + r0 = pxsim_pxtcore_mkAction(1, inline__P9435); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25401_mk(s); - s.tmp_1.arg0 = globals.left___25370; + s.tmp_1 = controller_Button_onEvent__P1913_mk(s); + s.tmp_1.arg0 = globals.left___1882; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 896; s.pc = 21; return s.tmp_1; + s.callLocIdx = 898; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32898); + r0 = pxsim_pxtcore_mkAction(1, inline__P9444); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25401_mk(s); - s.tmp_1.arg0 = globals.down___25373; + s.tmp_1 = controller_Button_onEvent__P1913_mk(s); + s.tmp_1.arg0 = globals.down___1885; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 900; s.pc = 22; return s.tmp_1; + s.callLocIdx = 902; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32914); + r0 = pxsim_pxtcore_mkAction(1, inline__P9460); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P25401_mk(s); - s.tmp_1.arg0 = globals.right___25372; + s.tmp_1 = controller_Button_onEvent__P1913_mk(s); + s.tmp_1.arg0 = globals.right___1884; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 903; s.pc = 23; return s.tmp_1; + s.callLocIdx = 905; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32926); + r0 = pxsim_pxtcore_mkAction(1, inline__P9472); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P26036_mk(s); + s.tmp_1 = game_onShade__P2548_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 906; s.pc = 24; return s.tmp_1; + s.callLocIdx = 908; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26115_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2627_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 907; s.pc = 25; return s.tmp_0; + s.callLocIdx = 909; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P26113.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__P2625.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__P26113_mk(s) { +function scene_systemMenu_PauseMenu_show__P2625_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P26113, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P2625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19796,8 +20292,8 @@ function scene_systemMenu_PauseMenu_show__P26113_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___32754: undefined, - i___32755: undefined, + current___9300: undefined, + i___9301: undefined, arg0: undefined, } } @@ -19805,7 +20301,7 @@ function scene_systemMenu_PauseMenu_show__P26113_mk(s) { -function inline__P32818(s) { +function inline__P9364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19843,7 +20339,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P26109_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P2621_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -19851,7 +20347,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 1; - s.callLocIdx = 882; s.pc = 6; return s.tmp_8; + s.callLocIdx = 884; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; case 5: @@ -19859,12 +20355,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32818.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P9364.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32818_mk(s) { +function inline__P9364_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32818, depth: s.depth + 1, + parent: s, fn: inline__P9364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19883,7 +20379,7 @@ function inline__P32818_mk(s) { -function inline__P32838(s) { +function inline__P9384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19921,7 +20417,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P26109_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P2621_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -19929,7 +20425,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 0; - s.callLocIdx = 884; s.pc = 6; return s.tmp_8; + s.callLocIdx = 886; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; r0 = s.caps[0].fields["options"]; @@ -19945,12 +20441,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32838.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P9384.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32838_mk(s) { +function inline__P9384_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32838, depth: s.depth + 1, + parent: s, fn: inline__P9384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19969,7 +20465,7 @@ function inline__P32838_mk(s) { -function inline__P32867(s) { +function inline__P9413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19979,20 +20475,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P26118_mk(s); - s.callLocIdx = 886; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P2630_mk(s); + s.callLocIdx = 888; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P32867.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P9413.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32867_mk(s) { +function inline__P9413_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32867, depth: s.depth + 1, + parent: s, fn: inline__P9413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20001,7 +20497,7 @@ function inline__P32867_mk(s) { -function inline__P32872(s) { +function inline__P9418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20011,20 +20507,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P26118_mk(s); - s.callLocIdx = 888; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P2630_mk(s); + s.callLocIdx = 890; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P32872.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P9418.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32872_mk(s) { +function inline__P9418_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32872, depth: s.depth + 1, + parent: s, fn: inline__P9418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20033,7 +20529,7 @@ function inline__P32872_mk(s) { -function inline__P32877(s) { +function inline__P9423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20043,9 +20539,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26115_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2627_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P23616_mk(s); + s.tmp_1 = Math_max__P128_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -20058,30 +20554,30 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["cardsPerRow"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 890; s.pc = 3; return s.tmp_4; } + else { s.callLocIdx = 892; s.pc = 3; return s.tmp_4; } } case 3: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); s.tmp_1.arg1 = r0; - s.callLocIdx = 891; s.pc = 2; return s.tmp_1; + s.callLocIdx = 893; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 892; s.pc = 1; return s.tmp_0; + s.callLocIdx = 894; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P32877.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P9423.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32877_mk(s) { +function inline__P9423_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32877, depth: s.depth + 1, + parent: s, fn: inline__P9423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20094,7 +20590,7 @@ function inline__P32877_mk(s) { -function inline__P32889(s) { +function inline__P9435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20104,31 +20600,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26115_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2627_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P23616_mk(s); + s.tmp_1 = Math_max__P128_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 894; s.pc = 2; return s.tmp_1; + s.callLocIdx = 896; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 895; s.pc = 1; return s.tmp_0; + s.callLocIdx = 897; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P32889.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P9435.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32889_mk(s) { +function inline__P9435_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32889, depth: s.depth + 1, + parent: s, fn: inline__P9435, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20139,7 +20635,7 @@ function inline__P32889_mk(s) { -function inline__P32898(s) { +function inline__P9444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20149,9 +20645,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26115_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2627_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P23617_mk(s); + s.tmp_1 = Math_min__P129_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20169,30 +20665,30 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["cardsPerRow"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 897; s.pc = 3; return s.tmp_6; } + else { s.callLocIdx = 899; s.pc = 3; return s.tmp_6; } } case 3: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_1.arg1 = r0; - s.callLocIdx = 898; s.pc = 2; return s.tmp_1; + s.callLocIdx = 900; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 899; s.pc = 1; return s.tmp_0; + s.callLocIdx = 901; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P32898.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P9444.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32898_mk(s) { +function inline__P9444_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32898, depth: s.depth + 1, + parent: s, fn: inline__P9444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20207,7 +20703,7 @@ function inline__P32898_mk(s) { -function inline__P32914(s) { +function inline__P9460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20217,9 +20713,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26115_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2627_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P23617_mk(s); + s.tmp_1 = Math_min__P129_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20230,23 +20726,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 901; s.pc = 2; return s.tmp_1; + s.callLocIdx = 903; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 902; s.pc = 1; return s.tmp_0; + s.callLocIdx = 904; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P32914.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P9460.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32914_mk(s) { +function inline__P9460_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32914, depth: s.depth + 1, + parent: s, fn: inline__P9460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20259,7 +20755,7 @@ function inline__P32914_mk(s) { -function inline__P32926(s) { +function inline__P9472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20269,26 +20765,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P26114_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P2626_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 904; s.pc = 1; return s.tmp_0; + s.callLocIdx = 906; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P26116_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P2628_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 905; s.pc = 2; return s.tmp_0; + s.callLocIdx = 907; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P32926.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P9472.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32926_mk(s) { +function inline__P9472_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32926, depth: s.depth + 1, + parent: s, fn: inline__P9472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20297,7 +20793,7 @@ function inline__P32926_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P26116(s) { +function scene_systemMenu_PauseMenu_drawText__P2628(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20312,7 +20808,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26111_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2623_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20324,11 +20820,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P25219_mk(s); - s.tmp_3.arg0 = globals.screen___25293; + s.tmp_3 = helpers_imageFillRect__P1731_mk(s); + s.tmp_3.arg0 = globals.screen___1805; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20339,7 +20835,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardsTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardsTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 918; s.pc = 5; return s.tmp_5; } + else { s.callLocIdx = 920; s.pc = 5; return s.tmp_5; } } case 5: r0 = s.retval; @@ -20347,11 +20843,11 @@ switch (step) { r0 = (s.tmp_4 - 2); s.tmp_3.arg4 = r0; s.tmp_3.arg5 = 15; - s.callLocIdx = 919; s.pc = 4; return s.tmp_3; + s.callLocIdx = 921; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P25250_mk(s); - s.tmp_0.arg0 = globals.screen___25293; + s.tmp_0 = helpers_imagePrintCenter__P1762_mk(s); + s.tmp_0.arg0 = globals.screen___1805; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -20361,7 +20857,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["headerText"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["headerText"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 920; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 922; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; @@ -20377,16 +20873,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["headerFont"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["headerFont"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 921; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 923; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 922; s.pc = 6; return s.tmp_0; + s.callLocIdx = 924; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P25219_mk(s); - s.tmp_0.arg0 = globals.screen___25293; + s.tmp_0 = helpers_imageFillRect__P1731_mk(s); + s.tmp_0.arg0 = globals.screen___1805; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20397,16 +20893,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 923; s.pc = 10; return s.tmp_2; } + else { s.callLocIdx = 925; s.pc = 10; return s.tmp_2; } } case 10: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20417,7 +20913,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoTop"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoTop"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 924; s.pc = 11; return s.tmp_6; } + else { s.callLocIdx = 926; s.pc = 11; return s.tmp_6; } } case 11: r0 = s.retval; @@ -20427,11 +20923,11 @@ switch (step) { r0 = (s.tmp_3 + 6); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; - s.callLocIdx = 925; s.pc = 9; return s.tmp_0; + s.callLocIdx = 927; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P25219_mk(s); - s.tmp_0.arg0 = globals.screen___25293; + s.tmp_0 = helpers_imageFillRect__P1731_mk(s); + s.tmp_0.arg0 = globals.screen___1805; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -20441,7 +20937,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["padding"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["padding"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 926; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 928; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -20455,12 +20951,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 927; s.pc = 14; return s.tmp_2; } + else { s.callLocIdx = 929; s.pc = 14; return s.tmp_2; } } case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20471,7 +20967,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["padding"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["padding"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 928; s.pc = 15; return s.tmp_6; } + else { s.callLocIdx = 930; s.pc = 15; return s.tmp_6; } } case 15: r0 = s.retval; @@ -20490,7 +20986,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["infoFont"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["infoFont"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 929; s.pc = 17; return s.tmp_9; } + else { s.callLocIdx = 931; s.pc = 17; return s.tmp_9; } } case 17: r0 = s.retval; @@ -20501,7 +20997,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charHeight"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charHeight"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 930; s.pc = 16; return s.tmp_8; } + else { s.callLocIdx = 932; s.pc = 16; return s.tmp_8; } } case 16: r0 = s.retval; @@ -20509,11 +21005,11 @@ switch (step) { r0 = (s.tmp_7 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 931; s.pc = 12; return s.tmp_0; + s.callLocIdx = 933; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P25250_mk(s); - s.tmp_0.arg0 = globals.screen___25293; + s.tmp_0 = helpers_imagePrintCenter__P1762_mk(s); + s.tmp_0.arg0 = globals.screen___1805; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -20523,12 +21019,12 @@ switch (step) { s.tmp_1.arg0 = r0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "getText"), 1); - s.callLocIdx = 932; s.pc = 19; return s.tmp_1; + s.callLocIdx = 934; s.pc = 19; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["getText"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 932; s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 932; s.pc = 19; return s.tmp_1;; } - else { s.callLocIdx = 932; s.pc = 19; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 934; s.pc = 19; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 934; s.pc = 19; return s.tmp_1;; } + else { s.callLocIdx = 934; s.pc = 19; return s.tmp_1; } } case 19: r0 = s.retval; @@ -20542,7 +21038,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["infoTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["infoTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 933; s.pc = 20; return s.tmp_5; } + else { s.callLocIdx = 935; s.pc = 20; return s.tmp_5; } } case 20: r0 = s.retval; @@ -20559,12 +21055,12 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoFont"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoFont"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 934; s.pc = 21; return s.tmp_6; } + else { s.callLocIdx = 936; s.pc = 21; return s.tmp_6; } } case 21: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 935; s.pc = 18; return s.tmp_0; + s.callLocIdx = 937; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: @@ -20572,12 +21068,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P26116.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__P2628.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__P26116_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P2628_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P26116, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P2628, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20596,7 +21092,7 @@ function scene_systemMenu_PauseMenu_drawText__P26116_mk(s) { -function helpers_imagePrintCenter__P25250(s) { +function helpers_imagePrintCenter__P1762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20606,8 +21102,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___33013 = undefined; - s.x___33019 = undefined; + s.w___9559 = undefined; + s.x___9565 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20622,7 +21118,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P25238_mk(s); + s.tmp_2 = image_getFontForText__P1750_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 95; s.pc = 3; return s.tmp_2; case 3: @@ -20646,17 +21142,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___33013 = (r0); + s.w___9559 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___33013); + r0 = (s.tmp_1 - s.w___9559); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___33019 = (r0); - s.tmp_0 = helpers_imagePrint__P25251_mk(s); + s.x___9565 = (r0); + s.tmp_0 = helpers_imagePrint__P1763_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___33019; + s.tmp_0.arg2 = s.x___9565; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -20668,18 +21164,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P25250.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__P1762.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__P25250_mk(s) { +function helpers_imagePrintCenter__P1762_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P25250, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P1762, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___33013: undefined, - x___33019: undefined, + w___9559: undefined, + x___9565: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20691,7 +21187,7 @@ function helpers_imagePrintCenter__P25250_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P26115(s) { +function scene_systemMenu_PauseMenu_setSelection__P2627(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20707,7 +21203,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26111_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2623_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20727,7 +21223,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__P26109_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P2621_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -20735,7 +21231,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = 2; - s.callLocIdx = 915; s.pc = 10; return s.tmp_6; + s.callLocIdx = 917; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; case 3: @@ -20749,9 +21245,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C25394_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___25368; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C25394_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C1906_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___1880; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C1906_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: @@ -20766,7 +21262,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P26109_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P2621_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -20774,14 +21270,14 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 916; s.pc = 12; return s.tmp_6; + s.callLocIdx = 918; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P27622_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P4134_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 917; s.pc = 13; return s.tmp_0; + s.callLocIdx = 919; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 9: @@ -20789,12 +21285,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P26115.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__P2627.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__P26115_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P2627_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P26115, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P2627, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20813,7 +21309,7 @@ function scene_systemMenu_PauseMenu_setSelection__P26115_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P27622(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P4134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20823,13 +21319,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___33230 = undefined; + s.row___9776 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26111_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2623_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -20841,23 +21337,23 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["cardsPerRow"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 938; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 940; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___33230 = (r0); + s.row___9776 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___33230 === s.tmp_1); + r0 = (s.row___9776 === 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___33230 - 1); + r0 = (s.row___9776 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -20872,7 +21368,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___33230 > s.tmp_6); + r0 = (s.row___9776 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -20903,7 +21399,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardSpacing"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardSpacing"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 939; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 941; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; @@ -20917,7 +21413,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardWidth"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardWidth"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 940; s.pc = 10; return s.tmp_7; } + else { s.callLocIdx = 942; s.pc = 10; return s.tmp_7; } } case 10: r0 = s.retval; @@ -20932,12 +21428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P27622.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__P4134.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__P27622_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P4134_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P27622, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P4134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20949,7 +21445,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P27622_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___33230: undefined, + row___9776: undefined, arg0: undefined, } } @@ -20957,7 +21453,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P27622_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P26114(s) { +function scene_systemMenu_PauseMenu_onUpdate__P2626(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20967,22 +21463,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___33035 = undefined; - s.i___33039 = undefined; - s.dt___33068 = undefined; + s.t___9581 = undefined; + s.i___9585 = undefined; + s.dt___9614 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26111_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2623_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___33035 = (r0); - s.i___33039 = (0); + s.t___9581 = (r0); + s.i___9585 = (0); case 1: - s.tmp_1 = r0 = s.i___33039; + s.tmp_1 = r0 = s.i___9585; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20991,13 +21487,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__P26107_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P2619_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___33039); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___9585); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___33035; - s.tmp_11 = r0 = s.i___33039; + s.tmp_8 = r0 = s.t___9581; + s.tmp_11 = r0 = s.i___9585; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -21007,7 +21503,7 @@ switch (step) { s.tmp_13.fn = s.tmp_13.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_13.fn == null) { s.retval = s.tmp_13.arg0.fields["cardsPerRow"]; } else if (!s.tmp_13.fn.isGetter) { s.retval = bind(s.tmp_13); } - else { s.callLocIdx = 908; s.pc = 11; return s.tmp_13; } + else { s.callLocIdx = 910; s.pc = 11; return s.tmp_13; } } case 11: r0 = s.retval; @@ -21022,15 +21518,15 @@ switch (step) { s.tmp_6 = r0; r0 = (2 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 909; s.pc = 10; return s.tmp_4; + s.callLocIdx = 911; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___33039 + 1); - s.i___33039 = (r0); + r0 = (s.i___9585 + 1); + s.i___9585 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P26021_mk(s); - s.callLocIdx = 910; s.pc = 12; return s.tmp_1; + s.tmp_1 = game_currentScene__P2533_mk(s); + s.callLocIdx = 912; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -21038,7 +21534,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___33068 = (r0); + s.dt___9614 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -21050,7 +21546,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___33068 * 100); + r0 = (s.dt___9614 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -21068,7 +21564,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___33068 * 100); + r0 = (s.dt___9614 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -21078,14 +21574,14 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P23614_mk(s); + s.tmp_2 = Math_abs__P126_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2.arg0 = r0; - s.callLocIdx = 912; s.pc = 13; return s.tmp_2; + s.callLocIdx = 914; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -21098,16 +21594,16 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P25857_mk(s); - s.tmp_1 = game_currentScene__P26021_mk(s); - s.callLocIdx = 913; s.pc = 15; return s.tmp_1; + s.tmp_0 = scene_Camera_offsetY__P2369_mk(s); + s.tmp_1 = game_currentScene__P2533_mk(s); + s.callLocIdx = 915; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; r0 = r0.fields["camera"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["scrollOffset"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 914; s.pc = 14; return s.tmp_0; + s.callLocIdx = 916; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 9: @@ -21115,12 +21611,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P26114.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__P2626.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__P26114_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P2626_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P26114, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P2626, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21136,9 +21632,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P26114_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___33035: undefined, - i___33039: undefined, - dt___33068: undefined, + t___9581: undefined, + i___9585: undefined, + dt___9614: undefined, arg0: undefined, } } @@ -21146,7 +21642,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P26114_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P26107(s) { +function scene_systemMenu_MenuOption_setOffset__P2619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21162,40 +21658,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26103_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P25562_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2615_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2074_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; s.tmp_1 = r0; r0 = (s.tmp_1 + s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 851; s.pc = 1; return s.tmp_0; + s.callLocIdx = 853; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P25523_mk(s); + s.tmp_0 = Sprite_y__P2035_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P25522_mk(s); + s.tmp_1 = Sprite_y__P2034_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 852; s.pc = 3; return s.tmp_1; + s.callLocIdx = 854; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 853; s.pc = 2; return s.tmp_0; + s.callLocIdx = 855; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P26107.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__P2619.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__P26107_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P2619_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P26107, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P2619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21207,7 +21703,7 @@ function scene_systemMenu_MenuOption_setOffset__P26107_mk(s) { -function Sprite_top__P25562(s) { +function Sprite_top__P2074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21217,22 +21713,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___33144 = undefined; + s.physics___9690 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P26021_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 275; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___33144 = (r0); - s.tmp_0 = PhysicsEngine__C25654_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___33144; + s.physics___9690 = (r0); + s.tmp_0 = PhysicsEngine__C2166_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___9690; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -21243,7 +21739,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__C25654_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2166_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: @@ -21252,18 +21748,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P25562.info = {"start":9912,"length":256,"line":359,"column":4,"endLine":369,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P2074.info = {"start":9912,"length":256,"line":359,"column":4,"endLine":369,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P25562_mk(s) { +function Sprite_top__P2074_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P25562, depth: s.depth + 1, + parent: s, fn: Sprite_top__P2074, 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___33144: undefined, + physics___9690: undefined, arg0: undefined, arg1: undefined, } } @@ -21272,7 +21768,7 @@ function Sprite_top__P25562_mk(s) { -function PhysicsEngine_moveSprite__P25658(s) { +function PhysicsEngine_moveSprite__P2170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21290,17 +21786,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25654_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2166_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P25658.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__P2170.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__P25658_mk(s) { +function PhysicsEngine_moveSprite__P2170_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P25658, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P2170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21312,7 +21808,7 @@ function PhysicsEngine_moveSprite__P25658_mk(s) { -function Sprite_top__P25561(s) { +function Sprite_top__P2073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21327,20 +21823,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25561.info = {"start":9769,"length":53,"line":354,"column":4,"endLine":356,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P25561.isGetter = true; +Sprite_top__P2073.info = {"start":9769,"length":53,"line":354,"column":4,"endLine":356,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P2073.isGetter = true; -function Sprite_top__P25561_mk(s) { +function Sprite_top__P2073_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P25561, depth: s.depth + 1, + parent: s, fn: Sprite_top__P2073, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21350,7 +21846,7 @@ function Sprite_top__P25561_mk(s) { -function Sprite_y__P25523(s) { +function Sprite_y__P2035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21366,8 +21862,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P25562_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2074_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -21385,12 +21881,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P25523.info = {"start":2201,"length":72,"line":90,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P2035.info = {"start":2201,"length":72,"line":90,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P25523_mk(s) { +function Sprite_y__P2035_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P25523, depth: s.depth + 1, + parent: s, fn: Sprite_y__P2035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21405,7 +21901,7 @@ function Sprite_y__P25523_mk(s) { -function scene_systemMenu_MenuOption_setState__P26109(s) { +function scene_systemMenu_MenuOption_setState__P2621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21421,7 +21917,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26103_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2615_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -21432,9 +21928,9 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P27621_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4133_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 855; s.pc = 4; return s.tmp_0; + s.callLocIdx = 857; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -21442,12 +21938,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P26109.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__P2621.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__P26109_mk(s) { +function scene_systemMenu_MenuOption_setState__P2621_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P26109, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P2621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21459,7 +21955,7 @@ function scene_systemMenu_MenuOption_setState__P26109_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P27621(s) { +function scene_systemMenu_MenuOption_updateCard__P4133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21474,7 +21970,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26103_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2615_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -21497,7 +21993,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P25551_mk(s); + s.tmp_4 = Sprite_setImage__P2063_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -21509,17 +22005,17 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 858; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 860; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 859; s.pc = 8; return s.tmp_4; + s.callLocIdx = 861; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P25551_mk(s); + s.tmp_0 = Sprite_setImage__P2063_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -21531,17 +22027,17 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 860; s.pc = 11; return s.tmp_1; } + else { s.callLocIdx = 862; s.pc = 11; return s.tmp_1; } } case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 861; s.pc = 10; return s.tmp_0; + s.callLocIdx = 863; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P25551_mk(s); + s.tmp_0 = Sprite_setImage__P2063_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -21553,39 +22049,39 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 862; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 864; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 863; s.pc = 12; return s.tmp_0; + s.callLocIdx = 865; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P25521_mk(s); + s.tmp_0 = Sprite_x__P2033_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P25520_mk(s); + s.tmp_1 = Sprite_x__P2032_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 864; s.pc = 15; return s.tmp_1; + s.callLocIdx = 866; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 865; s.pc = 14; return s.tmp_0; + s.callLocIdx = 867; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P25523_mk(s); + s.tmp_0 = Sprite_y__P2035_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P25522_mk(s); + s.tmp_1 = Sprite_y__P2034_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 866; s.pc = 17; return s.tmp_1; + s.callLocIdx = 868; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 867; s.pc = 16; return s.tmp_0; + s.callLocIdx = 869; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 7: @@ -21593,12 +22089,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P27621.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__P4133.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__P27621_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P4133_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P27621, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P4133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21613,7 +22109,7 @@ function scene_systemMenu_MenuOption_updateCard__P27621_mk(s) { -function Sprite_x__P25521(s) { +function Sprite_x__P2033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21629,8 +22125,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P25558_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2070_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -21648,12 +22144,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P25521.info = {"start":1852,"length":72,"line":79,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P2033.info = {"start":1852,"length":72,"line":79,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P25521_mk(s) { +function Sprite_x__P2033_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P25521, depth: s.depth + 1, + parent: s, fn: Sprite_x__P2033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21668,7 +22164,7 @@ function Sprite_x__P25521_mk(s) { -function Sprite_left__P25558(s) { +function Sprite_left__P2070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21678,22 +22174,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___33994 = undefined; + s.physics___10540 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P26021_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 267; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___33994 = (r0); - s.tmp_0 = PhysicsEngine__C25654_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___33994; + s.physics___10540 = (r0); + s.tmp_0 = PhysicsEngine__C2166_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___10540; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21704,7 +22200,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__C25654_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2166_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: @@ -21713,18 +22209,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P25558.info = {"start":9108,"length":257,"line":329,"column":4,"endLine":339,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P2070.info = {"start":9108,"length":257,"line":329,"column":4,"endLine":339,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P25558_mk(s) { +function Sprite_left__P2070_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P25558, depth: s.depth + 1, + parent: s, fn: Sprite_left__P2070, 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___33994: undefined, + physics___10540: undefined, arg0: undefined, arg1: undefined, } } @@ -21733,7 +22229,7 @@ function Sprite_left__P25558_mk(s) { -function Sprite_left__P25557(s) { +function Sprite_left__P2069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21748,20 +22244,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25557.info = {"start":8964,"length":53,"line":324,"column":4,"endLine":326,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P25557.isGetter = true; +Sprite_left__P2069.info = {"start":8964,"length":53,"line":324,"column":4,"endLine":326,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P2069.isGetter = true; -function Sprite_left__P25557_mk(s) { +function Sprite_left__P2069_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P25557, depth: s.depth + 1, + parent: s, fn: Sprite_left__P2069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21771,7 +22267,7 @@ function Sprite_left__P25557_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P26108(s) { +function scene_systemMenu_MenuOption_setTheme__P2620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21787,23 +22283,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26103_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2615_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P27621_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4133_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 854; s.pc = 1; return s.tmp_0; + s.callLocIdx = 856; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P26108.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__P2620.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__P26108_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P2620_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P26108, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P2620, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21814,7 +22310,7 @@ function scene_systemMenu_MenuOption_setTheme__P26108_mk(s) { -function scene_systemMenu_MenuOption_position__P26106(s) { +function scene_systemMenu_MenuOption_position__P2618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21831,58 +22327,58 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26103_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2615_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P25558_mk(s); + s.tmp_0 = Sprite_left__P2070_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 845; s.pc = 1; return s.tmp_0; + s.callLocIdx = 847; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P25562_mk(s); + s.tmp_0 = Sprite_top__P2074_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 846; s.pc = 2; return s.tmp_0; + s.callLocIdx = 848; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P25521_mk(s); + s.tmp_0 = Sprite_x__P2033_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P25520_mk(s); + s.tmp_1 = Sprite_x__P2032_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 847; s.pc = 4; return s.tmp_1; + s.callLocIdx = 849; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 848; s.pc = 3; return s.tmp_0; + s.callLocIdx = 850; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P25523_mk(s); + s.tmp_0 = Sprite_y__P2035_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P25522_mk(s); + s.tmp_1 = Sprite_y__P2034_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 849; s.pc = 6; return s.tmp_1; + s.callLocIdx = 851; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 850; s.pc = 5; return s.tmp_0; + s.callLocIdx = 852; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P26106.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__P2618.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__P26106_mk(s) { +function scene_systemMenu_MenuOption_position__P2618_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P26106, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P2618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21895,7 +22391,7 @@ function scene_systemMenu_MenuOption_position__P26106_mk(s) { -function scene_systemMenu_MenuOption_show__P26105(s) { +function scene_systemMenu_MenuOption_show__P2617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21910,7 +22406,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26103_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2615_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -21924,21 +22420,21 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["basicCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["basicCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 840; s.pc = 3; return s.tmp_1; } + else { s.callLocIdx = 842; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___26127; + r0 = globals.CARD_NORMAL___2639; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P25465_mk(s); + s.tmp_5 = sprites_create__P1977_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; - s.callLocIdx = 841; s.pc = 4; return s.tmp_5; + s.callLocIdx = 843; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -21953,16 +22449,16 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 842; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 844; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P25465_mk(s); + s.tmp_2 = sprites_create__P1977_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; - s.callLocIdx = 843; s.pc = 6; return s.tmp_2; + s.callLocIdx = 845; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -21977,7 +22473,7 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 844; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 846; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -21986,12 +22482,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P26105.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__P2617.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__P26105_mk(s) { +function scene_systemMenu_MenuOption_show__P2617_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P26105, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P2617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22006,7 +22502,7 @@ function scene_systemMenu_MenuOption_show__P26105_mk(s) { -function sprites_create__P25465(s) { +function sprites_create__P1977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22016,51 +22512,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___34074 = undefined; - s.sprite___34077 = undefined; + s.scene___10620 = undefined; + s.sprite___10623 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P26021_mk(s); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 213; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___34074 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C25511_VT); + s.scene___10620 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C2023_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P25548_mk(s); + s.tmp_1 = Sprite_constructor__P2060_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 214; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___34077 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P25566_mk(s); - s.tmp_0.arg0 = s.sprite___34077; + s.sprite___10623 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P2078_mk(s); + s.tmp_0.arg0 = s.sprite___10623; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 215; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C25654_v0_2_mk(s); - r0 = s.scene___34074.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C2166_v0_2_mk(s); + r0 = s.scene___10620.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___34077; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25654_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___10623; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2166_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__P34092); + r0 = pxsim_pxtcore_mkAction(1, inline__P10638); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P34098); + r0 = pxsim_pxtcore_mkAction(1, inline__P10644); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___34077); - s.tmp_2 = helpers_arrayForEach__P23596_mk(s); - s.tmp_3 = helpers_arrayFilter__P23597_mk(s); - r0 = s.scene___34074.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___10623); + s.tmp_2 = helpers_arrayForEach__P108_mk(s); + s.tmp_3 = helpers_arrayFilter__P109_mk(s); + r0 = s.scene___10620.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 216; s.pc = 6; return s.tmp_3; @@ -22071,23 +22567,23 @@ switch (step) { s.callLocIdx = 218; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___34077; + r0 = s.sprite___10623; return leave(s, r0) default: oops() } } } -sprites_create__P25465.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__P1977.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__P25465_mk(s) { +function sprites_create__P1977_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P25465, depth: s.depth + 1, + parent: s, fn: sprites_create__P1977, 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___34074: undefined, - sprite___34077: undefined, + scene___10620: undefined, + sprite___10623: undefined, arg0: undefined, arg1: undefined, } } @@ -22096,7 +22592,7 @@ function sprites_create__P25465_mk(s) { -function inline__P34092(s) { +function inline__P10638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22116,12 +22612,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34092.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P10638.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__P34092_mk(s) { +function inline__P10638_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34092, depth: s.depth + 1, + parent: s, fn: inline__P10638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22131,7 +22627,7 @@ function inline__P34092_mk(s) { -function inline__P34098(s) { +function inline__P10644(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22163,12 +22659,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34098.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P10644.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__P34098_mk(s) { +function inline__P10644_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34098, depth: s.depth + 1, + parent: s, fn: inline__P10644, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22178,7 +22674,7 @@ function inline__P34098_mk(s) { -function PhysicsEngine_addSprite__P25656(s) { +function PhysicsEngine_addSprite__P2168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22194,17 +22690,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C25654_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2166_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P25656.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__P2168.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__P25656_mk(s) { +function PhysicsEngine_addSprite__P2168_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P25656, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P2168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22214,7 +22710,7 @@ function PhysicsEngine_addSprite__P25656_mk(s) { -function Sprite_setKind__P25566(s) { +function Sprite_setKind__P2078(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22224,15 +22720,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___34116 = undefined; - s.overlapMap___34145 = undefined; + s.spritesByKind___10662 = undefined; + s.overlapMap___10691 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -22251,12 +22747,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P26021_mk(s); + s.tmp_3 = game_currentScene__P2533_mk(s); s.callLocIdx = 282; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___34116 = (r0); + s.spritesByKind___10662 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -22268,16 +22764,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___34116, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10662, 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__P25613_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P2125_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___34116, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10662, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 283; s.pc = 17; return s.tmp_4; @@ -22289,7 +22785,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___34116, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10662, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -22297,18 +22793,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__C25606_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C2118_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P25608_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P2120_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 284; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___34116, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___10662, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P25611_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___34116, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P2123_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10662, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 285; s.pc = 19; return s.tmp_0; @@ -22316,13 +22812,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P26021_mk(s); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 286; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___34145 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___34145, s.arg1); + s.overlapMap___10691 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10691, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22330,7 +22826,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___34145; + s.tmp_3 = r0 = s.overlapMap___10691; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -22338,7 +22834,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___34145, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10691, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -22347,12 +22843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P25566.info = {"start":11051,"length":663,"line":402,"column":4,"endLine":422,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P2078.info = {"start":11051,"length":663,"line":402,"column":4,"endLine":422,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P25566_mk(s) { +function Sprite_setKind__P2078_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P25566, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P2078, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22360,8 +22856,8 @@ function Sprite_setKind__P25566_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___34116: undefined, - overlapMap___34145: undefined, + spritesByKind___10662: undefined, + overlapMap___10691: undefined, arg0: undefined, arg1: undefined, } } @@ -22370,7 +22866,7 @@ function Sprite_setKind__P25566_mk(s) { -function sprites_SpriteSet_add__P25611(s) { +function sprites_SpriteSet_add__P2123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22386,7 +22882,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25606_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2118_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -22417,12 +22913,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P25611.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__P2123.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__P25611_mk(s) { +function sprites_SpriteSet_add__P2123_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P25611, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P2123, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22438,7 +22934,7 @@ function sprites_SpriteSet_add__P25611_mk(s) { -function sprites_SpriteSet_contains__P25614(s) { +function sprites_SpriteSet_contains__P2126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22454,7 +22950,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25606_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2118_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -22463,12 +22959,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P25614.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__P2126.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__P25614_mk(s) { +function sprites_SpriteSet_contains__P2126_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P25614, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P2126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22480,7 +22976,7 @@ function sprites_SpriteSet_contains__P25614_mk(s) { -function sprites_SpriteSet_constructor__P25608(s) { +function sprites_SpriteSet_constructor__P2120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22495,7 +22991,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25606_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2118_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -22504,12 +23000,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P25608.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__P2120.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__P25608_mk(s) { +function sprites_SpriteSet_constructor__P2120_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P25608, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P2120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22520,7 +23016,7 @@ function sprites_SpriteSet_constructor__P25608_mk(s) { -function Sprite_constructor__P25548(s) { +function Sprite_constructor__P2060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22536,15 +23032,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P25351_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P1863_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 237; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -22558,7 +23054,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___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -22577,50 +23073,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__P25525_mk(s); + s.tmp_0 = Sprite_vx__P2037_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 240; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P25527_mk(s); + s.tmp_0 = Sprite_vy__P2039_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 241; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P25529_mk(s); + s.tmp_0 = Sprite_ax__P2041_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 242; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P25531_mk(s); + s.tmp_0 = Sprite_ay__P2043_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 243; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P25533_mk(s); + s.tmp_0 = Sprite_fx__P2045_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 244; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P25535_mk(s); + s.tmp_0 = Sprite_fy__P2047_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 245; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P25551_mk(s); + s.tmp_0 = Sprite_setImage__P2063_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 246; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P25566_mk(s); + s.tmp_0 = Sprite_setKind__P2078_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 247; s.pc = 9; return s.tmp_0; @@ -22640,12 +23136,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P25548.info = {"start":5357,"length":618,"line":206,"column":4,"endLine":226,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P2060.info = {"start":5357,"length":618,"line":206,"column":4,"endLine":226,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P25548_mk(s) { +function Sprite_constructor__P2060_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P25548, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P2060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22662,7 +23158,7 @@ function Sprite_constructor__P25548_mk(s) { -function Sprite_fy__P25535(s) { +function Sprite_fy__P2047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22678,9 +23174,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P23616_mk(s); + s.tmp_3 = Math_max__P128_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 235; s.pc = 1; return s.tmp_3; @@ -22696,12 +23192,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P25535.info = {"start":4236,"length":64,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P2047.info = {"start":4236,"length":64,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P25535_mk(s) { +function Sprite_fy__P2047_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P25535, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P2047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22716,7 +23212,7 @@ function Sprite_fy__P25535_mk(s) { -function Sprite_fy__P25534(s) { +function Sprite_fy__P2046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22731,20 +23227,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25534.info = {"start":4074,"length":60,"line":150,"column":4,"endLine":152,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P25534.isGetter = true; +Sprite_fy__P2046.info = {"start":4074,"length":60,"line":150,"column":4,"endLine":152,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P2046.isGetter = true; -function Sprite_fy__P25534_mk(s) { +function Sprite_fy__P2046_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P25534, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P2046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22754,7 +23250,7 @@ function Sprite_fy__P25534_mk(s) { -function Sprite_fx__P25533(s) { +function Sprite_fx__P2045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22770,9 +23266,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P23616_mk(s); + s.tmp_3 = Math_max__P128_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 232; s.pc = 1; return s.tmp_3; @@ -22788,12 +23284,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P25533.info = {"start":3893,"length":64,"line":145,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P2045.info = {"start":3893,"length":64,"line":145,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P25533_mk(s) { +function Sprite_fx__P2045_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P25533, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P2045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22808,7 +23304,7 @@ function Sprite_fx__P25533_mk(s) { -function Sprite_fx__P25532(s) { +function Sprite_fx__P2044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22823,20 +23319,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25532.info = {"start":3731,"length":60,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P25532.isGetter = true; +Sprite_fx__P2044.info = {"start":3731,"length":60,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P2044.isGetter = true; -function Sprite_fx__P25532_mk(s) { +function Sprite_fx__P2044_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P25532, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P2044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22846,7 +23342,7 @@ function Sprite_fx__P25532_mk(s) { -function Sprite_ay__P25531(s) { +function Sprite_ay__P2043(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22862,7 +23358,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -22873,12 +23369,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P25531.info = {"start":3562,"length":51,"line":134,"column":4,"endLine":136,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P2043.info = {"start":3562,"length":51,"line":134,"column":4,"endLine":136,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P25531_mk(s) { +function Sprite_ay__P2043_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P25531, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P2043, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22891,7 +23387,7 @@ function Sprite_ay__P25531_mk(s) { -function Sprite_ay__P25530(s) { +function Sprite_ay__P2042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22906,20 +23402,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25530.info = {"start":3396,"length":60,"line":129,"column":4,"endLine":131,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P25530.isGetter = true; +Sprite_ay__P2042.info = {"start":3396,"length":60,"line":129,"column":4,"endLine":131,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P2042.isGetter = true; -function Sprite_ay__P25530_mk(s) { +function Sprite_ay__P2042_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P25530, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P2042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22929,7 +23425,7 @@ function Sprite_ay__P25530_mk(s) { -function Sprite_ax__P25529(s) { +function Sprite_ax__P2041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22945,7 +23441,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -22956,12 +23452,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P25529.info = {"start":3223,"length":51,"line":123,"column":4,"endLine":125,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P2041.info = {"start":3223,"length":51,"line":123,"column":4,"endLine":125,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P25529_mk(s) { +function Sprite_ax__P2041_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P25529, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P2041, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22974,7 +23470,7 @@ function Sprite_ax__P25529_mk(s) { -function Sprite_ax__P25528(s) { +function Sprite_ax__P2040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22989,20 +23485,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25528.info = {"start":3057,"length":60,"line":118,"column":4,"endLine":120,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P25528.isGetter = true; +Sprite_ax__P2040.info = {"start":3057,"length":60,"line":118,"column":4,"endLine":120,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P2040.isGetter = true; -function Sprite_ax__P25528_mk(s) { +function Sprite_ax__P2040_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P25528, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P2040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23012,7 +23508,7 @@ function Sprite_ax__P25528_mk(s) { -function Sprite_vy__P25527(s) { +function Sprite_vy__P2039(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23028,7 +23524,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -23039,12 +23535,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P25527.info = {"start":2884,"length":51,"line":112,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P2039.info = {"start":2884,"length":51,"line":112,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P25527_mk(s) { +function Sprite_vy__P2039_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P25527, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P2039, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23057,7 +23553,7 @@ function Sprite_vy__P25527_mk(s) { -function Sprite_vy__P25526(s) { +function Sprite_vy__P2038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23072,20 +23568,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25526.info = {"start":2722,"length":60,"line":107,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P25526.isGetter = true; +Sprite_vy__P2038.info = {"start":2722,"length":60,"line":107,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P2038.isGetter = true; -function Sprite_vy__P25526_mk(s) { +function Sprite_vy__P2038_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P25526, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P2038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23095,7 +23591,7 @@ function Sprite_vy__P25526_mk(s) { -function Sprite_vx__P25525(s) { +function Sprite_vx__P2037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23111,7 +23607,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -23122,12 +23618,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P25525.info = {"start":2553,"length":51,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P2037.info = {"start":2553,"length":51,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P25525_mk(s) { +function Sprite_vx__P2037_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P25525, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P2037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23140,7 +23636,7 @@ function Sprite_vx__P25525_mk(s) { -function Sprite_vx__P25524(s) { +function Sprite_vx__P2036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23155,20 +23651,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25524.info = {"start":2391,"length":60,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P25524.isGetter = true; +Sprite_vx__P2036.info = {"start":2391,"length":60,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P2036.isGetter = true; -function Sprite_vx__P25524_mk(s) { +function Sprite_vx__P2036_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P25524, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P2036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23178,7 +23674,7 @@ function Sprite_vx__P25524_mk(s) { -function game_onShade__P26036(s) { +function game_onShade__P2548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23192,9 +23688,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P27375_mk(s); + s.tmp_0 = game_init__P3887_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 836; s.pc = 4; return s.tmp_0; + s.callLocIdx = 838; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -23206,11 +23702,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P25872_mk(s); + s.tmp_2 = scene_createRenderable__P2384_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 837; s.pc = 5; return s.tmp_2; + s.callLocIdx = 839; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -23218,12 +23714,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P26036.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__P2548.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__P26036_mk(s) { +function game_onShade__P2548_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P26036, depth: s.depth + 1, + parent: s, fn: game_onShade__P2548, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23235,7 +23731,7 @@ function game_onShade__P26036_mk(s) { -function scene_createRenderable__P25872(s) { +function scene_createRenderable__P2384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23245,14 +23741,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___33182 = undefined; + s.renderable___9728 = 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__C25867_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C2379_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -23260,11 +23756,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P33188; + r0 = inline__P9734; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P25868_mk(s); + s.tmp_3 = scene_Renderable_constructor__P2380_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -23272,23 +23768,23 @@ switch (step) { s.callLocIdx = 777; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___33182 = (s.tmp_0); - r0 = s.renderable___33182; + s.renderable___9728 = (s.tmp_0); + r0 = s.renderable___9728; return leave(s, r0) default: oops() } } } -scene_createRenderable__P25872.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__P2384.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__P25872_mk(s) { +function scene_createRenderable__P2384_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P25872, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P2384, 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___33182: undefined, + renderable___9728: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23298,7 +23794,7 @@ function scene_createRenderable__P25872_mk(s) { -function inline__P33188(s) { +function inline__P9734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23312,12 +23808,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33188.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P9734.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P33188_mk(s) { +function inline__P9734_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33188, depth: s.depth + 1, + parent: s, fn: inline__P9734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -23325,7 +23821,7 @@ function inline__P33188_mk(s) { -function scene_Renderable_constructor__P25868(s) { +function scene_Renderable_constructor__P2380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23343,10 +23839,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C25867_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2379_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P25351_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P1863_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 774; s.pc = 1; return s.tmp_0; @@ -23356,12 +23852,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P25868.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__P2380.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__P25868_mk(s) { +function scene_Renderable_constructor__P2380_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P25868, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P2380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23374,7 +23870,7 @@ function scene_Renderable_constructor__P25868_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P26112(s) { +function scene_systemMenu_PauseMenu_constructor__P2624(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23391,7 +23887,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26111_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2623_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -23399,13 +23895,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P26120_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___26127); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P2632_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___2639); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = undefined; - s.callLocIdx = 868; s.pc = 3; return s.tmp_1; + s.callLocIdx = 870; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -23419,12 +23915,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P26112.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__P2624.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__P26112_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P2624_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P26112, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P2624, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23438,7 +23934,7 @@ function scene_systemMenu_PauseMenu_constructor__P26112_mk(s) { -function scene_systemMenu_buildMenuTheme__P26120(s) { +function scene_systemMenu_buildMenuTheme__P2632(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23448,7 +23944,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___35073 = undefined; + s.cardsPerRow___11619 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23456,19 +23952,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); 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___35073 = (r0); + s.cardsPerRow___11619 = (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___25236; + r0 = globals.font8___1748; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -23479,9 +23975,9 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P25239_mk(s); + s.tmp_1 = image_doubledFont__P1751_mk(s); s.tmp_1.arg0 = s.arg2; - s.callLocIdx = 978; s.pc = 5; return s.tmp_1; + s.callLocIdx = 980; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 4: @@ -23492,12 +23988,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___35073); - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___11619); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_3 = r0; - r0 = (s.cardsPerRow___35073 * s.arg0); + r0 = (s.cardsPerRow___11619 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___35073 - 1); + r0 = (s.cardsPerRow___11619 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -23518,7 +24014,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charHeight"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charHeight"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 979; s.pc = 6; return s.tmp_11; } + else { s.callLocIdx = 981; s.pc = 6; return s.tmp_11; } } case 6: r0 = s.retval; @@ -23528,7 +24024,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___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -23538,7 +24034,7 @@ switch (step) { s.tmp_16.fn = s.tmp_16.arg0.vtable.iface["charHeight"]; if (s.tmp_16.fn == null) { s.retval = s.tmp_16.arg0.fields["charHeight"]; } else if (!s.tmp_16.fn.isGetter) { s.retval = bind(s.tmp_16); } - else { s.callLocIdx = 980; s.pc = 7; return s.tmp_16; } + else { s.callLocIdx = 982; s.pc = 7; return s.tmp_16; } } case 7: r0 = s.retval; @@ -23549,19 +24045,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___26128); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___26129); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___26127); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___2640); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___2641); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___2639); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P26120.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__P2632.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__P26120_mk(s) { +function scene_systemMenu_buildMenuTheme__P2632_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P26120, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P2632, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23580,7 +24076,7 @@ function scene_systemMenu_buildMenuTheme__P26120_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___35073: undefined, + cardsPerRow___11619: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23591,7 +24087,7 @@ function scene_systemMenu_buildMenuTheme__P26120_mk(s) { -function image_doubledFont__P25239(s) { +function image_doubledFont__P1751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23605,7 +24101,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P25240_mk(s); + s.tmp_0 = image_scaledFont__P1752_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 89; s.pc = 1; return s.tmp_0; @@ -23614,12 +24110,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P25239.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__P1751.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__P25239_mk(s) { +function image_doubledFont__P1751_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P25239, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P1751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23629,7 +24125,7 @@ function image_doubledFont__P25239_mk(s) { -function image_scaledFont__P25240(s) { +function image_scaledFont__P1752(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23744,12 +24240,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P25240.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__P1752.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__P25240_mk(s) { +function image_scaledFont__P1752_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P25240, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P1752, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23775,7 +24271,7 @@ function image_scaledFont__P25240_mk(s) { -function game_pushScene__P26025(s) { +function game_pushScene__P2537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23785,45 +24281,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___35152 = undefined; - s.tmp_0 = game_currentScene__P26021_mk(s); - s.callLocIdx = 815; s.pc = 5; return s.tmp_0; + s.oldScene___11698 = undefined; + s.tmp_0 = game_currentScene__P2533_mk(s); + s.callLocIdx = 817; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___35152 = (r0); - s.tmp_0 = particles_clearAll__P26197_mk(s); - s.callLocIdx = 816; s.pc = 6; return s.tmp_0; + s.oldScene___11698 = (r0); + s.tmp_0 = particles_clearAll__P2709_mk(s); + s.callLocIdx = 818; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P26198_mk(s); - s.callLocIdx = 817; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_disableAll__P2710_mk(s); + s.callLocIdx = 819; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___27368); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___3880); 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___27368 = (r0); + globals._sceneStack___3880 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___27368, globals._scene___27367); - s.tmp_0 = game_init__P27375_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___3880, globals._scene___3879); + s.tmp_0 = game_init__P3887_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 818; s.pc = 8; return s.tmp_0; + s.callLocIdx = 820; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___27369); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___3881); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P35169); + r0 = pxsim_pxtcore_mkAction(1, inline__P11715); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___35152); - s.tmp_1 = helpers_arrayForEach__P23596_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___27369; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___11698); + s.tmp_1 = helpers_arrayForEach__P108_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___3881; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 820; s.pc = 9; return s.tmp_1; + s.callLocIdx = 822; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -23832,23 +24328,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P26025.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P2537.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__P26025_mk(s) { +function game_pushScene__P2537_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P26025, depth: s.depth + 1, + parent: s, fn: game_pushScene__P2537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___35152: undefined, + oldScene___11698: undefined, } } -function inline__P35169(s) { +function inline__P11715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23866,19 +24362,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 819; s.pc = 1; return s.tmp_0; + s.callLocIdx = 821; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P35169.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P11715.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__P35169_mk(s) { +function inline__P11715_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35169, depth: s.depth + 1, + parent: s, fn: inline__P11715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23888,7 +24384,7 @@ function inline__P35169_mk(s) { -function particles_disableAll__P26198(s) { +function particles_disableAll__P2710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23898,22 +24394,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___35173 = undefined; - s.tmp_0 = particles_particleSources__P27731_mk(s); - s.callLocIdx = 1061; s.pc = 3; return s.tmp_0; + s.sources___11719 = undefined; + s.tmp_0 = particles_particleSources__P4243_mk(s); + s.callLocIdx = 1063; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___35173 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___35173); + s.sources___11719 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___11719); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P23596_mk(s); - s.tmp_0.arg0 = s.sources___35173; - s.tmp_0.arg1 = inline__P35179; - s.callLocIdx = 1063; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P108_mk(s); + s.tmp_0.arg0 = s.sources___11719; + s.tmp_0.arg1 = inline__P11725; + s.callLocIdx = 1065; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P27727_mk(s); - s.callLocIdx = 1064; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P4239_mk(s); + s.callLocIdx = 1066; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -23922,22 +24418,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P26198.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P2710.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__P26198_mk(s) { +function particles_disableAll__P2710_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P26198, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P2710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___35173: undefined, + sources___11719: undefined, } } -function inline__P35179(s) { +function inline__P11725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23951,22 +24447,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P26180_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P2692_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1062; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1064; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = false; return leave(s, r0) default: oops() } } } -inline__P35179.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P11725.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__P35179_mk(s) { +function inline__P11725_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35179, depth: s.depth + 1, + parent: s, fn: inline__P11725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23976,7 +24472,7 @@ function inline__P35179_mk(s) { -function particles_clearAll__P26197(s) { +function particles_clearAll__P2709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23986,22 +24482,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___35184 = undefined; - s.tmp_0 = particles_particleSources__P27731_mk(s); - s.callLocIdx = 1057; s.pc = 3; return s.tmp_0; + s.sources___11730 = undefined; + s.tmp_0 = particles_particleSources__P4243_mk(s); + s.callLocIdx = 1059; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___35184 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___35184); + s.sources___11730 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___11730); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P23596_mk(s); - s.tmp_0.arg0 = s.sources___35184; - s.tmp_0.arg1 = inline__P35190; - s.callLocIdx = 1059; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P108_mk(s); + s.tmp_0.arg0 = s.sources___11730; + s.tmp_0.arg1 = inline__P11736; + s.callLocIdx = 1061; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P27727_mk(s); - s.callLocIdx = 1060; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P4239_mk(s); + s.callLocIdx = 1062; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -24010,22 +24506,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P26197.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P2709.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__P26197_mk(s) { +function particles_clearAll__P2709_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P26197, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P2709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___35184: undefined, + sources___11730: undefined, } } -function inline__P35190(s) { +function inline__P11736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24039,21 +24535,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P26182_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P2694_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1058; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1060; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P35190.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P11736.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__P35190_mk(s) { +function inline__P11736_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35190, depth: s.depth + 1, + parent: s, fn: inline__P11736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24063,7 +24559,7 @@ function inline__P35190_mk(s) { -function controller_Button_onEvent__P25401(s) { +function controller_Button_onEvent__P1913(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24080,8 +24576,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25394_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P23871_mk(s); + if (!checkSubtype(r0, controller_Button__C1906_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P383_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -24094,12 +24590,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P25401.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__P1913.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__P25401_mk(s) { +function controller_Button_onEvent__P1913_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P25401, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P1913, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24111,7 +24607,7 @@ function controller_Button_onEvent__P25401_mk(s) { -function scene_systemMenu_initScreen__P27634(s) { +function scene_systemMenu_initScreen__P4146(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24121,21 +24617,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___35204 = undefined; - s.tmp_0 = settings_readNumber__P25324_mk(s); + s.brightness___11750 = undefined; + s.tmp_0 = settings_readNumber__P1836_mk(s); s.tmp_0.arg0 = "#brightness"; - s.callLocIdx = 987; s.pc = 3; return s.tmp_0; + s.callLocIdx = 989; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___35204 = (r0); - r0 = (s.brightness___35204 !== undefined); + s.brightness___11750 = (r0); + r0 = (s.brightness___11750 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P25226_mk(s); - s.tmp_1.arg0 = globals.screen___25293; - s.tmp_1.arg1 = s.brightness___35204; - s.callLocIdx = 988; s.pc = 4; return s.tmp_1; + s.tmp_1 = helpers_setScreenBrightness__P1738_mk(s); + s.tmp_1.arg0 = globals.screen___1805; + s.tmp_1.arg1 = s.brightness___11750; + s.callLocIdx = 990; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -24144,23 +24640,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P27634.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__P4146.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__P27634_mk(s) { +function scene_systemMenu_initScreen__P4146_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P27634, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P4146, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___35204: undefined, + brightness___11750: undefined, } } -function settings_readNumber__P25324(s) { +function settings_readNumber__P1836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24170,15 +24666,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___35215 = undefined; - s.nums___35222 = undefined; + s.buf___11761 = undefined; + s.nums___11768 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___35215 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___35215); + s.buf___11761 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___11761); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24188,20 +24684,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P23667_mk(s); - s.tmp_2.arg0 = s.buf___35215; + s.tmp_2 = msgpack_unpackNumberArray__P179_mk(s); + s.tmp_2.arg0 = s.buf___11761; s.tmp_2.arg1 = 0; s.callLocIdx = 127; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___35222 = (r0); - s.tmp_0 = r0 = s.nums___35222; + s.nums___11768 = (r0); + s.tmp_0 = r0 = s.nums___11768; 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___35222); + r0 = pxsim_Array__length(s.nums___11768); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -24209,7 +24705,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___35222, 0); + r0 = pxsim_Array__getAt(s.nums___11768, 0); { step = 7; continue; } case 4: case 5: @@ -24221,18 +24717,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P25324.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__P1836.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__P25324_mk(s) { +function settings_readNumber__P1836_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P25324, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P1836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___35215: undefined, - nums___35222: undefined, + buf___11761: undefined, + nums___11768: undefined, arg0: undefined, } } @@ -24240,7 +24736,7 @@ function settings_readNumber__P25324_mk(s) { -function settings_readBuffer__P25322(s) { +function settings_readBuffer__P1834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24258,12 +24754,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P25322.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__P1834.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__P25322_mk(s) { +function settings_readBuffer__P1834_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P25322, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P1834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -24272,7 +24768,7 @@ function settings_readBuffer__P25322_mk(s) { -function msgpack_unpackNumberArray__P23667(s) { +function msgpack_unpackNumberArray__P179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24282,16 +24778,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___35235 = undefined; - s.fmt___35242 = undefined; - s.v___35251 = undefined; + s.res___11781 = undefined; + s.fmt___11788 = undefined; + s.v___11797 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___35235 = (r0); + s.res___11781 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -24303,14 +24799,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P26984_mk(s); + s.tmp_4 = msgpack_tagFormat__P3496_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 19; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___35242 = (r0); - r0 = (s.fmt___35242 === null); + s.fmt___11788 = (r0); + r0 = (s.fmt___11788 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -24318,21 +24814,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___35251 = (r0); - r0 = (-31 <= s.v___35251); + s.v___11797 = (r0); + r0 = (-31 <= s.v___11797); 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___35251 <= 127); + r0 = (s.v___11797 <= 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___35235, s.v___35251); + r0 = pxsim_Array__push(s.res___11781, s.v___11797); { step = 5; continue; } case 4: r0 = null; @@ -24340,13 +24836,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___35235; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___35242, s.arg1); + s.tmp_0 = r0 = s.res___11781; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___11788, 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__P23659_mk(s); - s.tmp_2.arg0 = s.fmt___35242; + s.tmp_2 = pins_sizeOf__P171_mk(s); + s.tmp_2.arg0 = s.fmt___11788; s.callLocIdx = 20; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -24367,26 +24863,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___35235; + r0 = s.res___11781; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P23667.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__P179.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__P23667_mk(s) { +function msgpack_unpackNumberArray__P179_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P23667, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P179, 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___35235: undefined, - fmt___35242: undefined, - v___35251: undefined, + res___11781: undefined, + fmt___11788: undefined, + v___11797: undefined, arg0: undefined, arg1: undefined, } } @@ -24395,7 +24891,7 @@ function msgpack_unpackNumberArray__P23667_mk(s) { -function scene_systemMenu_initVolume__P27633(s) { +function scene_systemMenu_initVolume__P4145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24405,20 +24901,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___35296 = undefined; - s.tmp_0 = settings_readNumber__P25324_mk(s); + s.vol___11842 = undefined; + s.tmp_0 = settings_readNumber__P1836_mk(s); s.tmp_0.arg0 = "#volume"; - s.callLocIdx = 985; s.pc = 3; return s.tmp_0; + s.callLocIdx = 987; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___35296 = (r0); - r0 = (s.vol___35296 !== undefined); + s.vol___11842 = (r0); + r0 = (s.vol___11842 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P25083_mk(s); - s.tmp_1.arg0 = s.vol___35296; - s.callLocIdx = 986; s.pc = 4; return s.tmp_1; + s.tmp_1 = music_setVolume__P1595_mk(s); + s.tmp_1.arg0 = s.vol___11842; + s.callLocIdx = 988; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -24427,23 +24923,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P27633.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__P4145.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__P27633_mk(s) { +function scene_systemMenu_initVolume__P4145_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P27633, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P4145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___35296: undefined, + vol___11842: undefined, } } -function game_currentScene__P26021(s) { +function game_currentScene__P2533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24453,21 +24949,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P27375_mk(s); + s.tmp_0 = game_init__P3887_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 810; s.pc = 1; return s.tmp_0; + s.callLocIdx = 812; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___27367; + r0 = globals._scene___3879; return leave(s, r0) default: oops() } } } -game_currentScene__P26021.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P2533.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__P26021_mk(s) { +function game_currentScene__P2533_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P26021, depth: s.depth + 1, + parent: s, fn: game_currentScene__P2533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24476,7 +24972,7 @@ function game_currentScene__P26021_mk(s) { -function game_addScenePopHandler__P26040(s) { +function game_addScenePopHandler__P2552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24490,35 +24986,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___27370); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___3882); 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___27370 = (r0); + globals._scenePopHandlers___3882 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___27370, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___3882, 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___27370, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___3882, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P26040.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__P2552.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__P26040_mk(s) { +function game_addScenePopHandler__P2552_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P26040, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P2552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24529,7 +25025,7 @@ function game_addScenePopHandler__P26040_mk(s) { -function game_addScenePushHandler__P26038(s) { +function game_addScenePushHandler__P2550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24543,35 +25039,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___27369); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___3881); 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___27369 = (r0); + globals._scenePushHandlers___3881 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___27369, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___3881, 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___27369, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___3881, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P26038.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__P2550.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__P26038_mk(s) { +function game_addScenePushHandler__P2550_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P26038, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P2550, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24582,7 +25078,7 @@ function game_addScenePushHandler__P26038_mk(s) { -function Fx8__P23635(s) { +function Fx8__P147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24602,12 +25098,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P23635.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P147.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__P23635_mk(s) { +function Fx8__P147_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P23635, depth: s.depth + 1, + parent: s, fn: Fx8__P147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24617,7 +25113,7 @@ function Fx8__P23635_mk(s) { -function SpriteKind_create__P25622(s) { +function SpriteKind_create__P2134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24627,26 +25123,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___27213 === undefined); + r0 = (globals.nextKind___3725 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___27213 = (1000); + globals.nextKind___3725 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___27213; + s.tmp_0 = r0 = globals.nextKind___3725; r0 = (s.tmp_0 + 1); - globals.nextKind___27213 = (r0); + globals.nextKind___3725 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P25622.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P2134.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__P25622_mk(s) { +function SpriteKind_create__P2134_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P25622, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P2134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24655,7 +25151,7 @@ function SpriteKind_create__P25622_mk(s) { -function controller_Button_constructor__P25400(s) { +function controller_Button_constructor__P1912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24672,7 +25168,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25394_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1906_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -24682,13 +25178,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__P35372); + r0 = pxsim_pxtcore_mkAction(1, inline__P11918); 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__P35379); + r0 = pxsim_pxtcore_mkAction(1, inline__P11925); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -24707,12 +25203,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P25400.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__P1912.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__P25400_mk(s) { +function controller_Button_constructor__P1912_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P25400, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P1912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24726,7 +25222,7 @@ function controller_Button_constructor__P25400_mk(s) { -function inline__P35372(s) { +function inline__P11918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24736,7 +25232,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P25405_mk(s); + s.tmp_0 = controller_Button_setPressed__P1917_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 139; s.pc = 1; return s.tmp_0; @@ -24746,12 +25242,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P35372.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P11918.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P35372_mk(s) { +function inline__P11918_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35372, depth: s.depth + 1, + parent: s, fn: inline__P11918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24760,7 +25256,7 @@ function inline__P35372_mk(s) { -function inline__P35379(s) { +function inline__P11925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24770,7 +25266,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P25405_mk(s); + s.tmp_0 = controller_Button_setPressed__P1917_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 140; s.pc = 1; return s.tmp_0; @@ -24780,12 +25276,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P35379.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P11925.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P35379_mk(s) { +function inline__P11925_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35379, depth: s.depth + 1, + parent: s, fn: inline__P11925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24794,7 +25290,7 @@ function inline__P35379_mk(s) { -function controller_setupButton__P27195(s) { +function controller_setupButton__P3707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24813,12 +25309,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P27195.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__P3707.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__P27195_mk(s) { +function controller_setupButton__P3707_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P27195, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P3707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24828,7 +25324,7 @@ function controller_setupButton__P27195_mk(s) { -function controller_Button_setPressed__P25405(s) { +function controller_Button_setPressed__P1917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24844,14 +25340,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25394_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1906_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__P25196_mk(s); + s.tmp_2 = power_poke__P1708_mk(s); s.callLocIdx = 143; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -24859,7 +25355,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__P25434_mk(s); + s.tmp_1 = controller_Controller_connected__P1946_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -24874,7 +25370,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__P27197_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P3709_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 145; s.pc = 9; return s.tmp_0; case 9: @@ -24882,7 +25378,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P27196_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P3708_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 146; s.pc = 10; return s.tmp_0; case 10: @@ -24894,12 +25390,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P25405.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__P1917.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__P25405_mk(s) { +function controller_Button_setPressed__P1917_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P25405, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P1917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24912,7 +25408,7 @@ function controller_Button_setPressed__P25405_mk(s) { -function controller_Button_raiseButtonDown__P27197(s) { +function controller_Button_raiseButtonDown__P3709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24927,8 +25423,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25394_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___27189); + if (!checkSubtype(r0, controller_Button__C1906_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___3701); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -24943,12 +25439,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P27197.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__P3709.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__P27197_mk(s) { +function controller_Button_raiseButtonDown__P3709_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P27197, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P3709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24958,7 +25454,7 @@ function controller_Button_raiseButtonDown__P27197_mk(s) { -function controller_Button_raiseButtonUp__P27196(s) { +function controller_Button_raiseButtonUp__P3708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24973,8 +25469,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25394_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___27189); + if (!checkSubtype(r0, controller_Button__C1906_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___3701); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -24989,12 +25485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P27196.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__P3708.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__P27196_mk(s) { +function controller_Button_raiseButtonUp__P3708_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P27196, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P3708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25004,7 +25500,7 @@ function controller_Button_raiseButtonUp__P27196_mk(s) { -function controller_Controller_connected__P25434(s) { +function controller_Controller_connected__P1946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25020,7 +25516,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -25048,12 +25544,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P25434.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__P1946.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__P25434_mk(s) { +function controller_Controller_connected__P1946_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P25434, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P1946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25066,7 +25562,7 @@ function controller_Controller_connected__P25434_mk(s) { -function controller_Controller_id__P25421(s) { +function controller_Controller_id__P1933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25081,18 +25577,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P25421.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__P25421.isGetter = true; +controller_Controller_id__P1933.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__P1933.isGetter = true; -function controller_Controller_id__P25421_mk(s) { +function controller_Controller_id__P1933_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P25421, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P1933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25101,7 +25597,7 @@ function controller_Controller_id__P25421_mk(s) { -function controller_Controller_connected__P25433(s) { +function controller_Controller_connected__P1945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25116,18 +25612,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C25414_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1926_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P25433.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__P25433.isGetter = true; +controller_Controller_connected__P1945.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__P1945.isGetter = true; -function controller_Controller_connected__P25433_mk(s) { +function controller_Controller_connected__P1945_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P25433, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P1945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25136,7 +25632,7 @@ function controller_Controller_connected__P25433_mk(s) { -function settings_initScopes__P27162(s) { +function settings_initScopes__P3674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25146,17 +25642,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___35457 = undefined; - s.tmp_1 = settings_runNumber__P25316_mk(s); + s.rn___12003 = undefined; + s.tmp_1 = settings_runNumber__P1828_mk(s); s.callLocIdx = 118; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___35457 = (r0); - s.tmp_0 = settings_writeNumber__P25320_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___27150; - s.tmp_0.arg1 = s.rn___35457; + s.rn___12003 = (r0); + s.tmp_0 = settings_writeNumber__P1832_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___3662; + s.tmp_0.arg1 = s.rn___12003; s.callLocIdx = 119; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -25165,8 +25661,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___35457); - s.tmp_0 = settings_setScope__P27161_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___12003); + s.tmp_0 = settings_setScope__P3673_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 120; s.pc = 3; return s.tmp_0; @@ -25176,23 +25672,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P27162.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P3674.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__P27162_mk(s) { +function settings_initScopes__P3674_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P27162, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P3674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___35457: undefined, + rn___12003: undefined, } } -function settings_setScope__P27161(s) { +function settings_setScope__P3673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25202,7 +25698,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___35486 = undefined; + s.currScope___12032 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -25227,19 +25723,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P25323_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___27151; + s.tmp_0 = settings_readString__P1835_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___3663; s.callLocIdx = 116; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___35486 = (r0); - r0 = (s.currScope___35486 != s.arg0); + s.currScope___12032 = (r0); + r0 = (s.currScope___12032 != 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__P25319_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___27151; + s.tmp_0 = settings_writeString__P1831_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___3663; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 117; s.pc = 8; return s.tmp_0; case 8: @@ -25250,18 +25746,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P27161.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__P3673.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__P27161_mk(s) { +function settings_setScope__P3673_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P27161, depth: s.depth + 1, + parent: s, fn: settings_setScope__P3673, 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___35486: undefined, + currScope___12032: undefined, arg0: undefined, } } @@ -25269,7 +25765,7 @@ function settings_setScope__P27161_mk(s) { -function settings_readString__P25323(s) { +function settings_readString__P1835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25279,14 +25775,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___35507 = undefined; + s.buf___12053 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___35507 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___35507); + s.buf___12053 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___12053); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -25296,7 +25792,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___35507); + r0 = pxsim.BufferMethods.toString(s.buf___12053); { step = 3; continue; } case 2: r0 = undefined; @@ -25304,16 +25800,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P25323.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__P1835.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__P25323_mk(s) { +function settings_readString__P1835_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P25323, depth: s.depth + 1, + parent: s, fn: settings_readString__P1835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___35507: undefined, + buf___12053: undefined, arg0: undefined, } } @@ -25321,7 +25817,7 @@ function settings_readString__P25323_mk(s) { -function settings_writeString__P25319(s) { +function settings_writeString__P1831(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25336,7 +25832,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P25318_mk(s); + s.tmp_0 = settings_writeBuffer__P1830_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -25347,12 +25843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P25319.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__P1831.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__P25319_mk(s) { +function settings_writeString__P1831_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P25319, depth: s.depth + 1, + parent: s, fn: settings_writeString__P1831, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25363,7 +25859,7 @@ function settings_writeString__P25319_mk(s) { -function settings_runNumber__P25316(s) { +function settings_runNumber__P1828(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25373,8 +25869,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P25324_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___27150; + s.tmp_1 = settings_readNumber__P1836_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___3662; s.callLocIdx = 115; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -25392,12 +25888,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P25316.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P1828.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__P25316_mk(s) { +function settings_runNumber__P1828_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P25316, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P1828, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25408,7 +25904,7 @@ function settings_runNumber__P25316_mk(s) { -function control___screen_setupUpdate__P25255(s) { +function control___screen_setupUpdate__P1767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25422,8 +25918,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___27119 = (true); - globals.__update___27117 = (s.arg0); + globals.__updated___3631 = (true); + globals.__update___3629 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -25434,12 +25930,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P25255.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__P1767.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__P25255_mk(s) { +function control___screen_setupUpdate__P1767_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P25255, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P1767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25449,7 +25945,7 @@ function control___screen_setupUpdate__P25255_mk(s) { -function control___screen_update__P25254(s) { +function control___screen_update__P1766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25459,27 +25955,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___27117); + r0 = pxsim_numops_toBoolDecr(globals.__update___3629); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___27117; + s.tmp_0.argL = globals.__update___3629; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 110; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___27119 = (true); + globals.__updated___3631 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P25254.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__P1766.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__P25254_mk(s) { +function control___screen_update__P1766_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P25254, depth: s.depth + 1, + parent: s, fn: control___screen_update__P1766, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -25488,7 +25984,7 @@ function control___screen_update__P25254_mk(s) { -function pause__P23893(s) { +function pause__P405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25512,12 +26008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P23893.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P405.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__P23893_mk(s) { +function pause__P405_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P23893, depth: s.depth + 1, + parent: s, fn: pause__P405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25526,7 +26022,7 @@ function pause__P23893_mk(s) { -function sprites_SpriteSet_toString__P25617(s) { +function sprites_SpriteSet_toString__P2129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25541,7 +26037,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25606_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2118_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -25563,12 +26059,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P25617.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__P2129.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__P25617_mk(s) { +function sprites_SpriteSet_toString__P2129_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P25617, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P2129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25582,7 +26078,7 @@ function sprites_SpriteSet_toString__P25617_mk(s) { -function sprites_SpriteSet_length__P25609(s) { +function sprites_SpriteSet_length__P2121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25597,20 +26093,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C25606_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2118_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__P25609.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__P25609.isGetter = true; +sprites_SpriteSet_length__P2121.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__P2121.isGetter = true; -function sprites_SpriteSet_length__P25609_mk(s) { +function sprites_SpriteSet_length__P2121_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P25609, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P2121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25620,7 +26116,7 @@ function sprites_SpriteSet_length__P25609_mk(s) { -function music_Melody_toString__P25098(s) { +function music_Melody_toString__P1610(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25635,17 +26131,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C25089_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C1601_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P25098.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__P1610.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__P25098_mk(s) { +function music_Melody_toString__P1610_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P25098, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P1610, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25654,7 +26150,7 @@ function music_Melody_toString__P25098_mk(s) { -function sprites_SpriteMap_toString__P25597(s) { +function sprites_SpriteMap_toString__P2109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25669,7 +26165,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25589_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -25689,10 +26185,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P23597_mk(s); + s.tmp_10 = helpers_arrayFilter__P109_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P35558; + s.tmp_10.arg1 = inline__P12104; s.callLocIdx = 425; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -25714,12 +26210,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P25597.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__P2109.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__P25597_mk(s) { +function sprites_SpriteMap_toString__P2109_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P25597, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P2109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25739,7 +26235,7 @@ function sprites_SpriteMap_toString__P25597_mk(s) { -function inline__P35558(s) { +function inline__P12104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25763,12 +26259,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P35558.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P12104.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__P35558_mk(s) { +function inline__P12104_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35558, depth: s.depth + 1, + parent: s, fn: inline__P12104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25780,7 +26276,7 @@ function inline__P35558_mk(s) { -function ArcadePhysicsEngine_moveSprite__P25683(s) { +function ArcadePhysicsEngine_moveSprite__P2195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25790,9 +26286,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___35596 = undefined; - s.maxDist___35606 = undefined; - s.ms___35626 = undefined; + s.tm___12142 = undefined; + s.maxDist___12152 = undefined; + s.ms___12172 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25801,7 +26297,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -25830,19 +26326,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_4 = game_currentScene__P26021_mk(s); + s.tmp_4 = game_currentScene__P2533_mk(s); s.callLocIdx = 636; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___35596 = (r0); - s.tmp_0 = r0 = s.tm___35596; + s.tm___12142 = (r0); + s.tmp_0 = r0 = s.tm___12142; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___35596.fields["_map"]; + r0 = s.tm___12142.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -25868,8 +26364,8 @@ switch (step) { r0 = (s.tmp_8 + 128); s.tmp_9 = r0; r0 = (s.tmp_9 >> 8); - s.maxDist___35606 = (r0); - s.tmp_2 = Math_abs__P23614_mk(s); + s.maxDist___12152 = (r0); + s.tmp_2 = Math_abs__P126_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -25878,14 +26374,14 @@ switch (step) { case 17: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___35606); + r0 = (s.tmp_1 <= s.maxDist___12152); 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__P23614_mk(s); + s.tmp_5 = Math_abs__P126_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -25894,15 +26390,15 @@ switch (step) { case 18: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___35606); + r0 = (s.tmp_4 <= s.maxDist___12152); 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__C25667_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2179_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P25668_mk(s); + s.tmp_9 = MovingSprite_constructor__P2180_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -25916,18 +26412,18 @@ switch (step) { s.callLocIdx = 643; s.pc = 19; return s.tmp_9; case 19: r0 = s.retval; - s.ms___35626 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P27243_mk(s); + s.ms___12172 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P3755_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___35626; - s.tmp_0.arg2 = s.tm___35596; + s.tmp_0.arg1 = s.ms___12172; + s.tmp_0.arg2 = s.tm___12142; s.callLocIdx = 644; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 12; continue; } case 7: - s.tmp_1 = tiles_TileMap_isOnWall__P25834_mk(s); - s.tmp_1.arg0 = s.tm___35596; + s.tmp_1 = tiles_TileMap_isOnWall__P2346_mk(s); + s.tmp_1.arg0 = s.tm___12142; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 645; s.pc = 21; return s.tmp_1; case 21: @@ -25938,10 +26434,10 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P27245_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P3757_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___35596; + s.tmp_4.arg2 = s.tm___12142; s.callLocIdx = 646; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; @@ -25977,12 +26473,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P25683.info = {"start":21906,"length":1276,"line":643,"column":4,"endLine":676,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P2195.info = {"start":21906,"length":1276,"line":643,"column":4,"endLine":676,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P25683_mk(s) { +function ArcadePhysicsEngine_moveSprite__P2195_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P25683, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P2195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25994,9 +26490,9 @@ function ArcadePhysicsEngine_moveSprite__P25683_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___35596: undefined, - maxDist___35606: undefined, - ms___35626: undefined, + tm___12142: undefined, + maxDist___12152: undefined, + ms___12172: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26007,7 +26503,7 @@ function ArcadePhysicsEngine_moveSprite__P25683_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P27245(s) { +function ArcadePhysicsEngine_canResolveClipping__P3757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26017,19 +26513,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___35671 = undefined; - s.sz___35674 = undefined; - s.maxMove___35679 = undefined; - s.origY___35681 = undefined; - s.origX___35684 = undefined; - s.l___35687 = undefined; - s.r___35692 = undefined; - s.t___35697 = undefined; - s.b___35702 = undefined; - s.offset___35707 = undefined; - s.offset___35732 = undefined; - s.offset___35763 = undefined; - s.offset___35788 = undefined; + s.hbox___12217 = undefined; + s.sz___12220 = undefined; + s.maxMove___12225 = undefined; + s.origY___12227 = undefined; + s.origX___12230 = undefined; + s.l___12233 = undefined; + s.r___12238 = undefined; + s.t___12243 = undefined; + s.b___12248 = undefined; + s.offset___12253 = undefined; + s.offset___12278 = undefined; + s.offset___12309 = undefined; + s.offset___12334 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26037,7 +26533,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -26048,7 +26544,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_setHitbox__P25552_mk(s); + s.tmp_4 = Sprite_setHitbox__P2064_mk(s); s.tmp_4.arg0 = s.arg1; s.callLocIdx = 648; s.pc = 20; return s.tmp_4; case 20: @@ -26056,23 +26552,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___35671 = (r0); + s.hbox___12217 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___35674 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P25675_mk(s); + s.sz___12220 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P2187_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 650; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___35679 = (r0); + s.maxMove___12225 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___35681 = (r0); + s.origY___12227 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___35684 = (r0); - s.tmp_1 = game_Hitbox_left__P25457_mk(s); - s.tmp_1.arg0 = s.hbox___35671; + s.origX___12230 = (r0); + s.tmp_1 = game_Hitbox_left__P1969_mk(s); + s.tmp_1.arg0 = s.hbox___12217; s.callLocIdx = 651; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -26080,9 +26576,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___35687 = (r0); - s.tmp_1 = game_Hitbox_right__P25459_mk(s); - s.tmp_1.arg0 = s.hbox___35671; + s.l___12233 = (r0); + s.tmp_1 = game_Hitbox_right__P1971_mk(s); + s.tmp_1.arg0 = s.hbox___12217; s.callLocIdx = 653; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -26090,9 +26586,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___35692 = (r0); - s.tmp_1 = game_Hitbox_top__P25458_mk(s); - s.tmp_1.arg0 = s.hbox___35671; + s.r___12238 = (r0); + s.tmp_1 = game_Hitbox_top__P1970_mk(s); + s.tmp_1.arg0 = s.hbox___12217; s.callLocIdx = 655; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -26100,9 +26596,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___35697 = (r0); - s.tmp_1 = game_Hitbox_bottom__P25460_mk(s); - s.tmp_1.arg0 = s.hbox___35671; + s.t___12243 = (r0); + s.tmp_1 = game_Hitbox_bottom__P1972_mk(s); + s.tmp_1.arg0 = s.hbox___12217; s.callLocIdx = 657; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -26110,26 +26606,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___35702 = (r0); - r0 = (s.b___35702 + 1); + s.b___12248 = (r0); + r0 = (s.b___12248 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___35674); - s.offset___35707 = (r0); - r0 = (s.offset___35707 <= s.maxMove___35679); + r0 = (s.tmp_0 % s.sz___12220); + s.offset___12253 = (r0); + r0 = (s.offset___12253 <= s.maxMove___12225); 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___35707 * 256); + r0 = (s.offset___12253 * 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__P25834_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2346_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 661; s.pc = 26; return s.tmp_3; @@ -26146,35 +26642,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___35681); + r0 = (s.arg1).fields["_y"] = (s.origY___12227); case 4: case 5: case 6: - r0 = (s.t___35697 / s.sz___35674); + r0 = (s.t___12243 / s.sz___12220); 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___35674); + r0 = (s.tmp_1 * s.sz___12220); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___35697); - s.offset___35732 = (r0); - r0 = (s.offset___35732 <= s.maxMove___35679); + r0 = (s.tmp_0 - s.t___12243); + s.offset___12278 = (r0); + r0 = (s.offset___12278 <= s.maxMove___12225); 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___35732 * 256); + r0 = (s.offset___12278 * 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__P25834_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2346_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 664; s.pc = 27; return s.tmp_3; @@ -26191,29 +26687,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___35681); + r0 = (s.arg1).fields["_y"] = (s.origY___12227); case 8: case 9: case 10: - r0 = (s.r___35692 + 1); + r0 = (s.r___12238 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___35674); - s.offset___35763 = (r0); - r0 = (s.offset___35763 <= s.maxMove___35679); + r0 = (s.tmp_0 % s.sz___12220); + s.offset___12309 = (r0); + r0 = (s.offset___12309 <= s.maxMove___12225); 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___35763 * 256); + r0 = (s.offset___12309 * 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__P25834_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2346_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 667; s.pc = 28; return s.tmp_3; @@ -26230,35 +26726,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___35684); + r0 = (s.arg1).fields["_x"] = (s.origX___12230); case 12: case 13: case 14: - r0 = (s.l___35687 / s.sz___35674); + r0 = (s.l___12233 / s.sz___12220); 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___35674); + r0 = (s.tmp_1 * s.sz___12220); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___35687); - s.offset___35788 = (r0); - r0 = (s.offset___35788 <= s.maxMove___35679); + r0 = (s.tmp_0 - s.l___12233); + s.offset___12334 = (r0); + r0 = (s.offset___12334 <= s.maxMove___12225); 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___35788 * 256); + r0 = (s.offset___12334 * 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__P25834_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2346_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 670; s.pc = 29; return s.tmp_3; @@ -26275,7 +26771,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___35684); + r0 = (s.arg1).fields["_x"] = (s.origX___12230); case 16: case 17: case 18: @@ -26284,12 +26780,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P27245.info = {"start":23278,"length":2135,"line":679,"column":4,"endLine":750,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P3757.info = {"start":23278,"length":2135,"line":679,"column":4,"endLine":750,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P27245_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P3757_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P27245, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P3757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26297,19 +26793,19 @@ function ArcadePhysicsEngine_canResolveClipping__P27245_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___35671: undefined, - sz___35674: undefined, - maxMove___35679: undefined, - origY___35681: undefined, - origX___35684: undefined, - l___35687: undefined, - r___35692: undefined, - t___35697: undefined, - b___35702: undefined, - offset___35707: undefined, - offset___35732: undefined, - offset___35763: undefined, - offset___35788: undefined, + hbox___12217: undefined, + sz___12220: undefined, + maxMove___12225: undefined, + origY___12227: undefined, + origX___12230: undefined, + l___12233: undefined, + r___12238: undefined, + t___12243: undefined, + b___12248: undefined, + offset___12253: undefined, + offset___12278: undefined, + offset___12309: undefined, + offset___12334: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26319,7 +26815,7 @@ function ArcadePhysicsEngine_canResolveClipping__P27245_mk(s) { -function Sprite_isStatic__P25553(s) { +function Sprite_isStatic__P2065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26334,19 +26830,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25553.info = {"start":8445,"length":57,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P2065.info = {"start":8445,"length":57,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P25553_mk(s) { +function Sprite_isStatic__P2065_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P25553, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P2065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26356,7 +26852,7 @@ function Sprite_isStatic__P25553_mk(s) { -function game_Hitbox_bottom__P25460(s) { +function game_Hitbox_bottom__P1972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26371,10 +26867,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25450_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1962_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P25458_mk(s); + s.tmp_3 = game_Hitbox_top__P1970_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 204; s.pc = 1; return s.tmp_3; case 1: @@ -26386,13 +26882,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P25460.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__P25460.isGetter = true; +game_Hitbox_bottom__P1972.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__P1972.isGetter = true; -function game_Hitbox_bottom__P25460_mk(s) { +function game_Hitbox_bottom__P1972_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P25460, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P1972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26405,7 +26901,7 @@ function game_Hitbox_bottom__P25460_mk(s) { -function game_Hitbox_right__P25459(s) { +function game_Hitbox_right__P1971(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26420,10 +26916,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25450_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1962_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P25457_mk(s); + s.tmp_3 = game_Hitbox_left__P1969_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 201; s.pc = 1; return s.tmp_3; case 1: @@ -26435,13 +26931,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P25459.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__P25459.isGetter = true; +game_Hitbox_right__P1971.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__P1971.isGetter = true; -function game_Hitbox_right__P25459_mk(s) { +function game_Hitbox_right__P1971_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P25459, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P1971, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26454,7 +26950,7 @@ function game_Hitbox_right__P25459_mk(s) { -function game_Hitbox_top__P25458(s) { +function game_Hitbox_top__P1970(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26469,7 +26965,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25450_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1962_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -26479,13 +26975,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P25458.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__P25458.isGetter = true; +game_Hitbox_top__P1970.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__P1970.isGetter = true; -function game_Hitbox_top__P25458_mk(s) { +function game_Hitbox_top__P1970_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P25458, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P1970, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26496,7 +26992,7 @@ function game_Hitbox_top__P25458_mk(s) { -function game_Hitbox_left__P25457(s) { +function game_Hitbox_left__P1969(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26511,7 +27007,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C25450_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1962_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -26521,13 +27017,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P25457.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__P25457.isGetter = true; +game_Hitbox_left__P1969.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__P1969.isGetter = true; -function game_Hitbox_left__P25457_mk(s) { +function game_Hitbox_left__P1969_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P25457, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P1969, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26538,7 +27034,7 @@ function game_Hitbox_left__P25457_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P27243(s) { +function ArcadePhysicsEngine_tilemapCollisions__P3755(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26548,38 +27044,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___35956 = undefined; - s.hbox___35979 = undefined; - s.tileScale___35982 = undefined; - s.tileSize___35985 = undefined; - s.xDiff___35989 = undefined; - s.yDiff___35996 = undefined; - s.overlappedTiles___36003 = undefined; - s.right___36008 = undefined; - s.x0___36012 = undefined; - s.collidedTiles___36027 = undefined; - s.y___36029 = undefined; - s.y0___36043 = undefined; - s.obstacle___36059 = undefined; - s.collisionDirection___36093 = undefined; - s.tile___36119 = undefined; - s.unnamed148___U15 = undefined; - s.unnamed149___U16 = undefined; - s.down___36197 = undefined; - s.y0___36201 = undefined; - s.collidedTiles___36216 = undefined; - s.overlappedTiles___36218 = undefined; - s.x___36220 = undefined; - s.x0___36230 = undefined; - s.obstacle___36244 = undefined; - s.collisionDirection___36278 = undefined; - s.tile___36304 = undefined; - s.unnamed150___U26 = undefined; - s.unnamed151___U27 = undefined; - s.x___36379 = undefined; - s.x0___36389 = undefined; - s.y___36399 = undefined; - s.y0___36409 = undefined; + s.s___12502 = undefined; + s.hbox___12525 = undefined; + s.tileScale___12528 = undefined; + s.tileSize___12531 = undefined; + s.xDiff___12535 = undefined; + s.yDiff___12542 = undefined; + s.overlappedTiles___12549 = undefined; + s.right___12554 = undefined; + s.x0___12558 = undefined; + s.collidedTiles___12573 = undefined; + s.y___12575 = undefined; + s.y0___12589 = undefined; + s.obstacle___12605 = undefined; + s.collisionDirection___12639 = undefined; + s.tile___12665 = undefined; + s.unnamed68___U15 = undefined; + s.unnamed69___U16 = undefined; + s.down___12743 = undefined; + s.y0___12747 = undefined; + s.collidedTiles___12762 = undefined; + s.overlappedTiles___12764 = undefined; + s.x___12766 = undefined; + s.x0___12776 = undefined; + s.obstacle___12790 = undefined; + s.collisionDirection___12824 = undefined; + s.tile___12850 = undefined; + s.unnamed70___U26 = undefined; + s.unnamed71___U27 = undefined; + s.x___12925 = undefined; + s.x0___12935 = undefined; + s.y___12945 = undefined; + s.y0___12955 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26587,18 +27083,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___35956 = (r0); - r0 = s.s___35956.fields["flags"]; + s.s___12502 = (r0); + r0 = s.s___12502.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__P25834_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2346_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.s___35956; + s.tmp_3.arg1 = s.s___12502; s.callLocIdx = 529; s.pc = 84; return s.tmp_3; case 84: r0 = s.retval; @@ -26608,7 +27104,7 @@ switch (step) { { step = 83; continue; } { step = 2; continue; } case 1: - s.tmp_4 = r0 = s.s___35956; + s.tmp_4 = r0 = s.s___12502; r0 = s.tmp_4.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & -257); @@ -26617,7 +27113,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___35956.fields["_image"]; + r0 = s.s___12502.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -26627,43 +27123,43 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_setHitbox__P25552_mk(s); - s.tmp_4.arg0 = s.s___35956; + s.tmp_4 = Sprite_setHitbox__P2064_mk(s); + s.tmp_4.arg0 = s.s___12502; s.callLocIdx = 531; s.pc = 85; return s.tmp_4; case 85: r0 = s.retval; case 5: case 6: - r0 = s.s___35956.fields["_hitbox"]; - s.hbox___35979 = (r0); + r0 = s.s___12502.fields["_hitbox"]; + s.hbox___12525 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___35982 = (r0); - r0 = (1 << s.tileScale___35982); - s.tileSize___35985 = (r0); - r0 = s.s___35956.fields["_x"]; + s.tileScale___12528 = (r0); + r0 = (1 << s.tileScale___12528); + s.tileSize___12531 = (r0); + r0 = s.s___12502.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___35956.fields["_lastX"]; + r0 = s.s___12502.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___35989 = (r0); - r0 = s.s___35956.fields["_y"]; + s.xDiff___12535 = (r0); + r0 = s.s___12502.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___35956.fields["_lastY"]; + r0 = s.s___12502.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___35996 = (r0); + s.yDiff___12542 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___36003 = (r0); - r0 = (s.xDiff___35989 !== 0); + s.overlappedTiles___12549 = (r0); + r0 = (s.xDiff___12535 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___35989 > 0); - s.right___36008 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___36008); + r0 = (s.xDiff___12535 > 0); + s.right___12554 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___12554); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P25459_mk(s); - s.tmp_1.arg0 = s.hbox___35979; + s.tmp_1 = game_Hitbox_right__P1971_mk(s); + s.tmp_1.arg0 = s.hbox___12525; s.callLocIdx = 535; s.pc = 86; return s.tmp_1; case 86: r0 = s.retval; @@ -26671,8 +27167,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P25457_mk(s); - s.tmp_3.arg0 = s.hbox___35979; + s.tmp_3 = game_Hitbox_left__P1969_mk(s); + s.tmp_3.arg0 = s.hbox___12525; s.callLocIdx = 537; s.pc = 87; return s.tmp_3; case 87: r0 = s.retval; @@ -26683,30 +27179,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___35982 + 8); + r0 = (s.tileScale___12528 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___36012 = (r0); + s.x0___12558 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___36027 = (r0); - s.tmp_1 = game_Hitbox_top__P25458_mk(s); - s.tmp_1.arg0 = s.hbox___35979; + s.collidedTiles___12573 = (r0); + s.tmp_1 = game_Hitbox_top__P1970_mk(s); + s.tmp_1.arg0 = s.hbox___12525; s.callLocIdx = 541; s.pc = 88; return s.tmp_1; case 88: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___35996); - s.y___36029 = (r0); + r0 = (s.tmp_0 - s.yDiff___12542); + s.y___12575 = (r0); case 9: - s.tmp_1 = r0 = s.y___36029; - s.tmp_3 = r0 = s.tileSize___35985; - s.tmp_6 = game_Hitbox_bottom__P25460_mk(s); - s.tmp_6.arg0 = s.hbox___35979; + s.tmp_1 = r0 = s.y___12575; + s.tmp_3 = r0 = s.tileSize___12531; + s.tmp_6 = game_Hitbox_bottom__P1972_mk(s); + s.tmp_6.arg0 = s.hbox___12525; s.callLocIdx = 543; s.pc = 89; return s.tmp_6; case 89: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___35996); + r0 = (s.tmp_5 - s.yDiff___12542); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -26716,15 +27212,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P23652_mk(s); - s.tmp_10.arg0 = s.y___36029; - s.tmp_12 = game_Hitbox_bottom__P25460_mk(s); - s.tmp_12.arg0 = s.hbox___35979; + s.tmp_10 = Fx_min__P164_mk(s); + s.tmp_10.arg0 = s.y___12575; + s.tmp_12 = game_Hitbox_bottom__P1972_mk(s); + s.tmp_12.arg0 = s.hbox___12525; s.callLocIdx = 546; s.pc = 91; return s.tmp_12; case 91: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___35996); + r0 = (s.tmp_11 - s.yDiff___12542); s.tmp_10.arg1 = r0; s.callLocIdx = 548; s.pc = 90; return s.tmp_10; case 90: @@ -26732,33 +27228,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___35982 + 8); + r0 = (s.tileScale___12528 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___36043 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P25832_mk(s); + s.y0___12589 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P2344_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___36012; - s.tmp_1.arg2 = s.y0___36043; + s.tmp_1.arg1 = s.x0___12558; + s.tmp_1.arg2 = s.y0___12589; s.callLocIdx = 551; 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__P25833_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P2345_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___36012; - s.tmp_2.arg2 = s.y0___36043; + s.tmp_2.arg1 = s.x0___12558; + s.tmp_2.arg2 = s.y0___12589; s.callLocIdx = 552; s.pc = 93; return s.tmp_2; case 93: r0 = s.retval; - s.obstacle___36059 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P36067); + s.obstacle___12605 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P12613); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___36059); - s.tmp_4 = helpers_arraySome__P23594_mk(s); - s.tmp_4.arg0 = s.collidedTiles___36027; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___12605); + s.tmp_4 = helpers_arraySome__P106_mk(s); + s.tmp_4.arg0 = s.collidedTiles___12573; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 553; s.pc = 94; return s.tmp_4; case 94: @@ -26770,33 +27266,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___36027, s.obstacle___36059); + r0 = pxsim_Array__push(s.collidedTiles___12573, s.obstacle___12605); case 10: case 11: { step = 13; continue; } case 12: - s.tmp_0 = r0 = s.overlappedTiles___36003; - s.tmp_2 = tiles_TileMap_getTile__P25825_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___12549; + s.tmp_2 = tiles_TileMap_getTile__P2337_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___36012; - s.tmp_2.arg2 = s.y0___36043; + s.tmp_2.arg1 = s.x0___12558; + s.tmp_2.arg2 = s.y0___12589; s.callLocIdx = 554; 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___35985 << 8); + r0 = (s.tileSize___12531 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___36029); - s.y___36029 = (r0); + r0 = (s.tmp_0 + s.y___12575); + s.y___12575 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___36027); + r0 = pxsim_Array__length(s.collidedTiles___12573); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___36008); + r0 = pxsim_numops_toBoolDecr(s.right___12554); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -26805,23 +27301,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___36093 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___36008); + s.collisionDirection___12639 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___12554); if (!r0) { step = 17; continue; } - r0 = (s.x0___36012 << s.tileScale___35982); + r0 = (s.x0___12558 << s.tileScale___12528); 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___35979.fields["width"]; + r0 = s.hbox___12525.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___36012 + 1); + r0 = (s.x0___12558 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___35982); + r0 = (s.tmp_5 << s.tileScale___12528); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -26829,44 +27325,44 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___35956; - r0 = s.hbox___35979.fields["ox"]; + s.tmp_8 = r0 = s.s___12502; + r0 = s.hbox___12525.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___36119 = (undefined); - s.unnamed148___U15 = (s.collidedTiles___36027); - s.unnamed149___U16 = (0); + s.tile___12665 = (undefined); + s.unnamed68___U15 = (s.collidedTiles___12573); + s.unnamed69___U16 = (0); case 19: - s.tmp_0 = r0 = s.unnamed149___U16; - r0 = pxsim_Array__length(s.unnamed148___U15); + s.tmp_0 = r0 = s.unnamed69___U16; + r0 = pxsim_Array__length(s.unnamed68___U15); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed148___U15, s.unnamed149___U16); - s.tile___36119 = (r0); - s.tmp_2 = Sprite_registerObstacle__P25580_mk(s); - s.tmp_2.arg0 = s.s___35956; - s.tmp_2.arg1 = s.collisionDirection___36093; - s.tmp_2.arg2 = s.tile___36119; + r0 = pxsim_Array__getAt(s.unnamed68___U15, s.unnamed69___U16); + s.tile___12665 = (r0); + s.tmp_2 = Sprite_registerObstacle__P2092_mk(s); + s.tmp_2.arg0 = s.s___12502; + s.tmp_2.arg1 = s.collisionDirection___12639; + s.tmp_2.arg2 = s.tile___12665; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 560; s.pc = 96; return s.tmp_2; case 96: r0 = s.retval; - r0 = (s.unnamed149___U16 + 1); - s.unnamed149___U16 = (r0); + r0 = (s.unnamed69___U16 + 1); + s.unnamed69___U16 = (r0); { step = 19; continue; } case 20: - s.unnamed148___U15 = (undefined); - r0 = s.s___35956.fields["flags"]; + s.unnamed68___U15 = (undefined); + r0 = s.s___12502.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__P25582_mk(s); - s.tmp_2.arg0 = s.s___35956; + s.tmp_2 = Sprite_destroy__P2094_mk(s); + s.tmp_2.arg0 = s.s___12502; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 561; s.pc = 97; return s.tmp_2; @@ -26874,7 +27370,7 @@ switch (step) { r0 = s.retval; { step = 36; continue; } case 21: - r0 = s.s___35956.fields["_vx"]; + r0 = s.s___12502.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -26882,13 +27378,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = s.s___35956.fields["flags"]; + r0 = s.s___12502.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___36008); + r0 = pxsim_numops_toBoolDecr(s.right___12554); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -26897,8 +27393,8 @@ switch (step) { r0 = s.tmp_5; { step = 23; continue; } case 22: - s.tmp_8 = Sprite_vx__P25524_mk(s); - s.tmp_8.arg0 = s.s___35956; + s.tmp_8 = Sprite_vx__P2036_mk(s); + s.tmp_8.arg0 = s.s___12502; s.callLocIdx = 562; s.pc = 98; return s.tmp_8; case 98: r0 = s.retval; @@ -26912,14 +27408,14 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 24: - s.tmp_10 = r0 = s.right___36008; + s.tmp_10 = r0 = s.right___12554; 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__P25524_mk(s); - s.tmp_12.arg0 = s.s___35956; + s.tmp_12 = Sprite_vx__P2036_mk(s); + s.tmp_12.arg0 = s.s___12502; s.callLocIdx = 563; s.pc = 99; return s.tmp_12; case 99: r0 = s.retval; @@ -26934,8 +27430,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___35956; - r0 = s.s___35956.fields["_vx"]; + s.tmp_15 = r0 = s.s___12502; + r0 = s.s___12502.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -26957,12 +27453,12 @@ switch (step) { { step = 31; continue; } case 30: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___35956).fields["_vx"] = (0); + r0 = (s.s___12502).fields["_vx"] = (0); case 31: { step = 35; continue; } case 32: - s.tmp_2 = Math_sign__P23615_mk(s); - r0 = s.s___35956.fields["_vx"]; + s.tmp_2 = Math_sign__P127_mk(s); + r0 = s.s___12502.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -26972,7 +27468,7 @@ switch (step) { case 100: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P23615_mk(s); + s.tmp_6 = Math_sign__P127_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -26996,16 +27492,16 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___35996 !== 0); + r0 = (s.yDiff___12542 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 73; continue; } - r0 = (s.yDiff___35996 > 0); - s.down___36197 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___36197); + r0 = (s.yDiff___12542 > 0); + s.down___12743 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___12743); if (!r0) { step = 41; continue; } - s.tmp_1 = game_Hitbox_bottom__P25460_mk(s); - s.tmp_1.arg0 = s.hbox___35979; + s.tmp_1 = game_Hitbox_bottom__P1972_mk(s); + s.tmp_1.arg0 = s.hbox___12525; s.callLocIdx = 571; s.pc = 102; return s.tmp_1; case 102: r0 = s.retval; @@ -27013,8 +27509,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 42; continue; } case 41: - s.tmp_3 = game_Hitbox_top__P25458_mk(s); - s.tmp_3.arg0 = s.hbox___35979; + s.tmp_3 = game_Hitbox_top__P1970_mk(s); + s.tmp_3.arg0 = s.hbox___12525; s.callLocIdx = 573; s.pc = 103; return s.tmp_3; case 103: r0 = s.retval; @@ -27025,25 +27521,25 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___35982 + 8); + r0 = (s.tileScale___12528 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___36201 = (r0); + s.y0___12747 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___36216 = (r0); + s.collidedTiles___12762 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___36218 = (r0); - s.tmp_0 = game_Hitbox_left__P25457_mk(s); - s.tmp_0.arg0 = s.hbox___35979; + s.overlappedTiles___12764 = (r0); + s.tmp_0 = game_Hitbox_left__P1969_mk(s); + s.tmp_0.arg0 = s.hbox___12525; s.callLocIdx = 577; s.pc = 104; return s.tmp_0; case 104: r0 = s.retval; - s.x___36220 = (r0); + s.x___12766 = (r0); case 43: - s.tmp_1 = r0 = s.x___36220; - s.tmp_3 = r0 = s.tileSize___35985; - s.tmp_5 = game_Hitbox_right__P25459_mk(s); - s.tmp_5.arg0 = s.hbox___35979; + s.tmp_1 = r0 = s.x___12766; + s.tmp_3 = r0 = s.tileSize___12531; + s.tmp_5 = game_Hitbox_right__P1971_mk(s); + s.tmp_5.arg0 = s.hbox___12525; s.callLocIdx = 578; s.pc = 105; return s.tmp_5; case 105: r0 = s.retval; @@ -27056,10 +27552,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_9 = Fx_min__P23652_mk(s); - s.tmp_9.arg0 = s.x___36220; - s.tmp_10 = game_Hitbox_right__P25459_mk(s); - s.tmp_10.arg0 = s.hbox___35979; + s.tmp_9 = Fx_min__P164_mk(s); + s.tmp_9.arg0 = s.x___12766; + s.tmp_10 = game_Hitbox_right__P1971_mk(s); + s.tmp_10.arg0 = s.hbox___12525; s.callLocIdx = 580; s.pc = 107; return s.tmp_10; case 107: r0 = s.retval; @@ -27070,33 +27566,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___35982 + 8); + r0 = (s.tileScale___12528 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___36230 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P25832_mk(s); + s.x0___12776 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P2344_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___36230; - s.tmp_1.arg2 = s.y0___36201; + s.tmp_1.arg1 = s.x0___12776; + s.tmp_1.arg2 = s.y0___12747; s.callLocIdx = 584; 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__P25833_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P2345_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___36230; - s.tmp_2.arg2 = s.y0___36201; + s.tmp_2.arg1 = s.x0___12776; + s.tmp_2.arg2 = s.y0___12747; s.callLocIdx = 585; s.pc = 109; return s.tmp_2; case 109: r0 = s.retval; - s.obstacle___36244 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P36252); + s.obstacle___12790 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P12798); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___36244); - s.tmp_4 = helpers_arraySome__P23594_mk(s); - s.tmp_4.arg0 = s.collidedTiles___36216; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___12790); + s.tmp_4 = helpers_arraySome__P106_mk(s); + s.tmp_4.arg0 = s.collidedTiles___12762; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 586; s.pc = 110; return s.tmp_4; case 110: @@ -27108,33 +27604,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___36216, s.obstacle___36244); + r0 = pxsim_Array__push(s.collidedTiles___12762, s.obstacle___12790); case 44: case 45: { step = 47; continue; } case 46: - s.tmp_0 = r0 = s.overlappedTiles___36218; - s.tmp_2 = tiles_TileMap_getTile__P25825_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___12764; + s.tmp_2 = tiles_TileMap_getTile__P2337_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___36230; - s.tmp_2.arg2 = s.y0___36201; + s.tmp_2.arg1 = s.x0___12776; + s.tmp_2.arg2 = s.y0___12747; s.callLocIdx = 587; 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___35985 << 8); + r0 = (s.tileSize___12531 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___36220); - s.x___36220 = (r0); + r0 = (s.tmp_0 + s.x___12766); + s.x___12766 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___36216); + r0 = pxsim_Array__length(s.collidedTiles___12762); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___36197); + r0 = pxsim_numops_toBoolDecr(s.down___12743); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -27143,23 +27639,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___36278 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___36197); + s.collisionDirection___12824 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___12743); if (!r0) { step = 51; continue; } - r0 = (s.y0___36201 << s.tileScale___35982); + r0 = (s.y0___12747 << s.tileScale___12528); 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___35979.fields["height"]; + r0 = s.hbox___12525.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___36201 + 1); + r0 = (s.y0___12747 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___35982); + r0 = (s.tmp_5 << s.tileScale___12528); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -27167,44 +27663,44 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___35956; - r0 = s.hbox___35979.fields["oy"]; + s.tmp_8 = r0 = s.s___12502; + r0 = s.hbox___12525.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___36304 = (undefined); - s.unnamed150___U26 = (s.collidedTiles___36216); - s.unnamed151___U27 = (0); + s.tile___12850 = (undefined); + s.unnamed70___U26 = (s.collidedTiles___12762); + s.unnamed71___U27 = (0); case 53: - s.tmp_0 = r0 = s.unnamed151___U27; - r0 = pxsim_Array__length(s.unnamed150___U26); + s.tmp_0 = r0 = s.unnamed71___U27; + r0 = pxsim_Array__length(s.unnamed70___U26); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 54; continue; } - r0 = pxsim_Array__getAt(s.unnamed150___U26, s.unnamed151___U27); - s.tile___36304 = (r0); - s.tmp_2 = Sprite_registerObstacle__P25580_mk(s); - s.tmp_2.arg0 = s.s___35956; - s.tmp_2.arg1 = s.collisionDirection___36278; - s.tmp_2.arg2 = s.tile___36304; + r0 = pxsim_Array__getAt(s.unnamed70___U26, s.unnamed71___U27); + s.tile___12850 = (r0); + s.tmp_2 = Sprite_registerObstacle__P2092_mk(s); + s.tmp_2.arg0 = s.s___12502; + s.tmp_2.arg1 = s.collisionDirection___12824; + s.tmp_2.arg2 = s.tile___12850; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 593; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; - r0 = (s.unnamed151___U27 + 1); - s.unnamed151___U27 = (r0); + r0 = (s.unnamed71___U27 + 1); + s.unnamed71___U27 = (r0); { step = 53; continue; } case 54: - s.unnamed150___U26 = (undefined); - r0 = s.s___35956.fields["flags"]; + s.unnamed70___U26 = (undefined); + r0 = s.s___12502.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__P25582_mk(s); - s.tmp_2.arg0 = s.s___35956; + s.tmp_2 = Sprite_destroy__P2094_mk(s); + s.tmp_2.arg0 = s.s___12502; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 594; s.pc = 113; return s.tmp_2; @@ -27212,7 +27708,7 @@ switch (step) { r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___35956.fields["_vy"]; + r0 = s.s___12502.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -27220,13 +27716,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___35956.fields["flags"]; + r0 = s.s___12502.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___36197); + r0 = pxsim_numops_toBoolDecr(s.down___12743); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -27235,8 +27731,8 @@ switch (step) { r0 = s.tmp_5; { step = 57; continue; } case 56: - s.tmp_8 = Sprite_vy__P25526_mk(s); - s.tmp_8.arg0 = s.s___35956; + s.tmp_8 = Sprite_vy__P2038_mk(s); + s.tmp_8.arg0 = s.s___12502; s.callLocIdx = 595; s.pc = 114; return s.tmp_8; case 114: r0 = s.retval; @@ -27250,14 +27746,14 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___36197; + s.tmp_10 = r0 = s.down___12743; 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__P25526_mk(s); - s.tmp_12.arg0 = s.s___35956; + s.tmp_12 = Sprite_vy__P2038_mk(s); + s.tmp_12.arg0 = s.s___12502; s.callLocIdx = 596; s.pc = 115; return s.tmp_12; case 115: r0 = s.retval; @@ -27272,8 +27768,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___35956; - r0 = s.s___35956.fields["_vy"]; + s.tmp_15 = r0 = s.s___12502; + r0 = s.s___12502.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -27295,12 +27791,12 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___35956).fields["_vy"] = (0); + r0 = (s.s___12502).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: - s.tmp_2 = Math_sign__P23615_mk(s); - r0 = s.s___35956.fields["_vy"]; + s.tmp_2 = Math_sign__P127_mk(s); + r0 = s.s___12502.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -27310,7 +27806,7 @@ switch (step) { case 116: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P23615_mk(s); + s.tmp_6 = Math_sign__P127_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -27334,17 +27830,17 @@ switch (step) { case 72: case 73: case 74: - s.tmp_0 = game_Hitbox_left__P25457_mk(s); - s.tmp_0.arg0 = s.hbox___35979; + s.tmp_0 = game_Hitbox_left__P1969_mk(s); + s.tmp_0.arg0 = s.hbox___12525; s.callLocIdx = 604; s.pc = 118; return s.tmp_0; case 118: r0 = s.retval; - s.x___36379 = (r0); + s.x___12925 = (r0); case 75: - s.tmp_1 = r0 = s.x___36379; - s.tmp_3 = r0 = s.tileSize___35985; - s.tmp_5 = game_Hitbox_right__P25459_mk(s); - s.tmp_5.arg0 = s.hbox___35979; + s.tmp_1 = r0 = s.x___12925; + s.tmp_3 = r0 = s.tileSize___12531; + s.tmp_5 = game_Hitbox_right__P1971_mk(s); + s.tmp_5.arg0 = s.hbox___12525; s.callLocIdx = 605; s.pc = 119; return s.tmp_5; case 119: r0 = s.retval; @@ -27357,10 +27853,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 80; continue; } - s.tmp_9 = Fx_min__P23652_mk(s); - s.tmp_9.arg0 = s.x___36379; - s.tmp_10 = game_Hitbox_right__P25459_mk(s); - s.tmp_10.arg0 = s.hbox___35979; + s.tmp_9 = Fx_min__P164_mk(s); + s.tmp_9.arg0 = s.x___12925; + s.tmp_10 = game_Hitbox_right__P1971_mk(s); + s.tmp_10.arg0 = s.hbox___12525; s.callLocIdx = 607; s.pc = 121; return s.tmp_10; case 121: r0 = s.retval; @@ -27371,21 +27867,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___35982 + 8); + r0 = (s.tileScale___12528 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___36389 = (r0); - s.tmp_0 = game_Hitbox_top__P25458_mk(s); - s.tmp_0.arg0 = s.hbox___35979; + s.x0___12935 = (r0); + s.tmp_0 = game_Hitbox_top__P1970_mk(s); + s.tmp_0.arg0 = s.hbox___12525; s.callLocIdx = 611; s.pc = 122; return s.tmp_0; case 122: r0 = s.retval; - s.y___36399 = (r0); + s.y___12945 = (r0); case 76: - s.tmp_1 = r0 = s.y___36399; - s.tmp_3 = r0 = s.tileSize___35985; - s.tmp_5 = game_Hitbox_bottom__P25460_mk(s); - s.tmp_5.arg0 = s.hbox___35979; + s.tmp_1 = r0 = s.y___12945; + s.tmp_3 = r0 = s.tileSize___12531; + s.tmp_5 = game_Hitbox_bottom__P1972_mk(s); + s.tmp_5.arg0 = s.hbox___12525; s.callLocIdx = 612; s.pc = 123; return s.tmp_5; case 123: r0 = s.retval; @@ -27398,10 +27894,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - s.tmp_9 = Fx_min__P23652_mk(s); - s.tmp_9.arg0 = s.y___36399; - s.tmp_10 = game_Hitbox_bottom__P25460_mk(s); - s.tmp_10.arg0 = s.hbox___35979; + s.tmp_9 = Fx_min__P164_mk(s); + s.tmp_9.arg0 = s.y___12945; + s.tmp_10 = game_Hitbox_bottom__P1972_mk(s); + s.tmp_10.arg0 = s.hbox___12525; s.callLocIdx = 614; s.pc = 125; return s.tmp_10; case 125: r0 = s.retval; @@ -27412,14 +27908,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___35982 + 8); + r0 = (s.tileScale___12528 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___36409 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P25832_mk(s); + s.y0___12955 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P2344_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___36389; - s.tmp_3.arg2 = s.y0___36409; + s.tmp_3.arg1 = s.x0___12935; + s.tmp_3.arg2 = s.y0___12955; s.callLocIdx = 618; s.pc = 126; return s.tmp_3; case 126: r0 = s.retval; @@ -27430,11 +27926,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___36003; - s.tmp_6 = tiles_TileMap_getTile__P25825_mk(s); + s.tmp_4 = r0 = s.overlappedTiles___12549; + s.tmp_6 = tiles_TileMap_getTile__P2337_mk(s); s.tmp_6.arg0 = s.arg2; - s.tmp_6.arg1 = s.x0___36389; - s.tmp_6.arg2 = s.y0___36409; + s.tmp_6.arg1 = s.x0___12935; + s.tmp_6.arg2 = s.y0___12955; s.callLocIdx = 619; s.pc = 127; return s.tmp_6; case 127: r0 = s.retval; @@ -27442,26 +27938,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_4, s.tmp_5); case 77: case 78: - r0 = (s.tileSize___35985 << 8); + r0 = (s.tileSize___12531 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___36399); - s.y___36399 = (r0); + r0 = (s.tmp_0 + s.y___12945); + s.y___12945 = (r0); { step = 76; continue; } case 79: - r0 = (s.tileSize___35985 << 8); + r0 = (s.tileSize___12531 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___36379); - s.x___36379 = (r0); + r0 = (s.tmp_0 + s.x___12925); + s.x___12925 = (r0); { step = 75; continue; } case 80: - r0 = pxsim_Array__length(s.overlappedTiles___36003); + r0 = pxsim_Array__length(s.overlappedTiles___12549); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P27244_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P3756_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___35956; - s.tmp_1.arg2 = s.overlappedTiles___36003; + s.tmp_1.arg1 = s.s___12502; + s.tmp_1.arg2 = s.overlappedTiles___12549; s.callLocIdx = 622; s.pc = 128; return s.tmp_1; case 128: r0 = s.retval; @@ -27472,12 +27968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P27243.info = {"start":11980,"length":8619,"line":371,"column":4,"endLine":607,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P3755.info = {"start":11980,"length":8619,"line":371,"column":4,"endLine":607,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P27243_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P3755_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P27243, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P3755, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27497,38 +27993,38 @@ function ArcadePhysicsEngine_tilemapCollisions__P27243_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___35956: undefined, - hbox___35979: undefined, - tileScale___35982: undefined, - tileSize___35985: undefined, - xDiff___35989: undefined, - yDiff___35996: undefined, - overlappedTiles___36003: undefined, - right___36008: undefined, - x0___36012: undefined, - collidedTiles___36027: undefined, - y___36029: undefined, - y0___36043: undefined, - obstacle___36059: undefined, - collisionDirection___36093: undefined, - tile___36119: undefined, - unnamed148___U15: undefined, - unnamed149___U16: undefined, - down___36197: undefined, - y0___36201: undefined, - collidedTiles___36216: undefined, - overlappedTiles___36218: undefined, - x___36220: undefined, - x0___36230: undefined, - obstacle___36244: undefined, - collisionDirection___36278: undefined, - tile___36304: undefined, - unnamed150___U26: undefined, - unnamed151___U27: undefined, - x___36379: undefined, - x0___36389: undefined, - y___36399: undefined, - y0___36409: undefined, + s___12502: undefined, + hbox___12525: undefined, + tileScale___12528: undefined, + tileSize___12531: undefined, + xDiff___12535: undefined, + yDiff___12542: undefined, + overlappedTiles___12549: undefined, + right___12554: undefined, + x0___12558: undefined, + collidedTiles___12573: undefined, + y___12575: undefined, + y0___12589: undefined, + obstacle___12605: undefined, + collisionDirection___12639: undefined, + tile___12665: undefined, + unnamed68___U15: undefined, + unnamed69___U16: undefined, + down___12743: undefined, + y0___12747: undefined, + collidedTiles___12762: undefined, + overlappedTiles___12764: undefined, + x___12766: undefined, + x0___12776: undefined, + obstacle___12790: undefined, + collisionDirection___12824: undefined, + tile___12850: undefined, + unnamed70___U26: undefined, + unnamed71___U27: undefined, + x___12925: undefined, + x0___12935: undefined, + y___12945: undefined, + y0___12955: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27538,7 +28034,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P27243_mk(s) { -function inline__P36067(s) { +function inline__P12613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27560,12 +28056,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36067.info = {"start":14101,"length":39,"line":435,"column":44,"endLine":435,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P12613.info = {"start":14101,"length":39,"line":435,"column":44,"endLine":435,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P36067_mk(s) { +function inline__P12613_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36067, depth: s.depth + 1, + parent: s, fn: inline__P12613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27576,7 +28072,7 @@ function inline__P36067_mk(s) { -function inline__P36252(s) { +function inline__P12798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27598,12 +28094,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36252.info = {"start":17336,"length":39,"line":517,"column":44,"endLine":517,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P12798.info = {"start":17336,"length":39,"line":517,"column":44,"endLine":517,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P36252_mk(s) { +function inline__P12798_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36252, depth: s.depth + 1, + parent: s, fn: inline__P12798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27614,7 +28110,7 @@ function inline__P36252_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P27244(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P3756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27624,11 +28120,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___36448 = undefined; - s.tile___36451 = undefined; - s.unnamed152___U2 = undefined; - s.unnamed153___U3 = undefined; - s.tileOverlapHandlers___36472 = undefined; + s.alreadyHandled___12994 = undefined; + s.tile___12997 = undefined; + s.unnamed72___U2 = undefined; + s.unnamed73___U3 = undefined; + s.tileOverlapHandlers___13018 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27636,25 +28132,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___36448 = (r0); - s.tile___36451 = (undefined); - s.unnamed152___U2 = (s.arg2); - s.unnamed153___U3 = (0); + s.alreadyHandled___12994 = (r0); + s.tile___12997 = (undefined); + s.unnamed72___U2 = (s.arg2); + s.unnamed73___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed153___U3; - r0 = pxsim_Array__length(s.unnamed152___U2); + s.tmp_0 = r0 = s.unnamed73___U3; + r0 = pxsim_Array__length(s.unnamed72___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed152___U2, s.unnamed153___U3); - s.tile___36451 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P36455); + r0 = pxsim_Array__getAt(s.unnamed72___U2, s.unnamed73___U3); + s.tile___12997 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P13001); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___36451); - s.tmp_4 = helpers_arraySome__P23594_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___36448; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___12997); + s.tmp_4 = helpers_arraySome__P106_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___12994; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 627; s.pc = 8; return s.tmp_4; case 8: @@ -27665,26 +28161,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___36448, s.tile___36451); - s.tmp_0 = game_currentScene__P26021_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___12994, s.tile___12997); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 628; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___36472 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___36472); + s.tileOverlapHandlers___13018 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___13018); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P36480); + r0 = pxsim_pxtcore_mkAction(2, inline__P13026); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___36451); - r0 = pxsim_pxtcore_mkAction(2, inline__P36496); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___12997); + r0 = pxsim_pxtcore_mkAction(2, inline__P13042); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___36451); - s.tmp_2 = helpers_arrayForEach__P23596_mk(s); - s.tmp_3 = helpers_arrayFilter__P23597_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___36472; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___12997); + s.tmp_2 = helpers_arrayForEach__P108_mk(s); + s.tmp_3 = helpers_arrayFilter__P109_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___13018; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 631; s.pc = 11; return s.tmp_3; case 11: @@ -27697,32 +28193,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed153___U3 + 1); - s.unnamed153___U3 = (r0); + r0 = (s.unnamed73___U3 + 1); + s.unnamed73___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed152___U2 = (undefined); + s.unnamed72___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P27244.info = {"start":20876,"length":699,"line":615,"column":4,"endLine":631,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P3756.info = {"start":20876,"length":699,"line":615,"column":4,"endLine":631,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P27244_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P3756_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P27244, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P3756, 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___36448: undefined, - tile___36451: undefined, - unnamed152___U2: undefined, - unnamed153___U3: undefined, - tileOverlapHandlers___36472: undefined, + alreadyHandled___12994: undefined, + tile___12997: undefined, + unnamed72___U2: undefined, + unnamed73___U3: undefined, + tileOverlapHandlers___13018: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27732,7 +28228,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P27244_mk(s) { -function inline__P36455(s) { +function inline__P13001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27769,12 +28265,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36455.info = {"start":21089,"length":45,"line":619,"column":36,"endLine":619,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +inline__P13001.info = {"start":21089,"length":45,"line":619,"column":36,"endLine":619,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function inline__P36455_mk(s) { +function inline__P13001_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36455, depth: s.depth + 1, + parent: s, fn: inline__P13001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27789,7 +28285,7 @@ function inline__P36455_mk(s) { -function inline__P36480(s) { +function inline__P13026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27816,7 +28312,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P25841_mk(s); + s.tmp_5 = tiles_getTileImage__P2353_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 630; s.pc = 3; return s.tmp_5; case 3: @@ -27830,12 +28326,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36480.info = {"start":21403,"length":81,"line":627,"column":28,"endLine":627,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P13026.info = {"start":21403,"length":81,"line":627,"column":28,"endLine":627,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P36480_mk(s) { +function inline__P13026_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36480, depth: s.depth + 1, + parent: s, fn: inline__P13026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27851,7 +28347,7 @@ function inline__P36480_mk(s) { -function inline__P36496(s) { +function inline__P13042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27884,12 +28380,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36496.info = {"start":21515,"length":28,"line":628,"column":29,"endLine":628,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P13042.info = {"start":21515,"length":28,"line":628,"column":29,"endLine":628,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P36496_mk(s) { +function inline__P13042_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36496, depth: s.depth + 1, + parent: s, fn: inline__P13042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27899,7 +28395,7 @@ function inline__P36496_mk(s) { -function tiles_getTileImage__P25841(s) { +function tiles_getTileImage__P2353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27909,16 +28405,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___36504 = undefined; + s.scene___13050 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P26021_mk(s); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 754; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___36504 = (r0); + s.scene___13050 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -27928,7 +28424,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___36504.fields["tileMap"]; + r0 = s.scene___13050.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -27938,14 +28434,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex36514); + r0 = pxsim.image.ofBuffer(_hex13060); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P25835_mk(s); - r0 = s.scene___36504.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P2347_mk(s); + r0 = s.scene___13050.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P25791_mk(s); + s.tmp_6 = tiles_Location_tileSet__P2303_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 755; s.pc = 8; return s.tmp_6; case 8: @@ -27958,12 +28454,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P25841.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__P2353.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__P25841_mk(s) { +function tiles_getTileImage__P2353_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P25841, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P2353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27972,16 +28468,16 @@ function tiles_getTileImage__P25841_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___36504: undefined, + scene___13050: undefined, arg0: undefined, } } -const _hex36514 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex13060 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P25835(s) { +function tiles_TileMap_getTileImage__P2347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27997,8 +28493,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P25809_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P2321_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -28008,12 +28504,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P25835.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__P2347.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__P25835_mk(s) { +function tiles_TileMap_getTileImage__P2347_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P25835, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P2347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28024,7 +28520,7 @@ function tiles_TileMap_getTileImage__P25835_mk(s) { -function tiles_TileMapData_getTileImage__P25809(s) { +function tiles_TileMapData_getTileImage__P2321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28034,25 +28530,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___36567 = undefined; - s.cachedImage___36571 = undefined; - s.originalImage___36578 = undefined; + s.size___13113 = undefined; + s.cachedImage___13117 = undefined; + s.originalImage___13124 = 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__C25800_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2312_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___36567 = (r0); + s.size___13113 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___36571 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___36571); + s.cachedImage___13117 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___13117); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28061,58 +28557,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___36578 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___36578); + s.originalImage___13124 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___13124); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___36578); + r0 = pxsim_ImageMethods.width(s.originalImage___13124); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___36567); + r0 = (s.tmp_1 <= s.size___13113); 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___36578); + r0 = pxsim_ImageMethods.height(s.originalImage___13124); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___36567); + r0 = (s.tmp_2 <= s.size___13113); 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___36571 = (s.originalImage___36578); + s.cachedImage___13117 = (s.originalImage___13124); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___36567, s.size___36567); - s.cachedImage___36571 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___36571, s.originalImage___36578, 0, 0); + r0 = pxsim.image.create(s.size___13113, s.size___13113); + s.cachedImage___13117 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___13117, s.originalImage___13124, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___36571); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___13117); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___36571; + r0 = s.cachedImage___13117; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P25809.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__P2321.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__P25809_mk(s) { +function tiles_TileMapData_getTileImage__P2321_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P25809, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P2321, 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___36567: undefined, - cachedImage___36571: undefined, - originalImage___36578: undefined, + size___13113: undefined, + cachedImage___13117: undefined, + originalImage___13124: undefined, arg0: undefined, arg1: undefined, } } @@ -28121,7 +28617,7 @@ function tiles_TileMapData_getTileImage__P25809_mk(s) { -function tiles_TileMapData_scale__P25804(s) { +function tiles_TileMapData_scale__P2316(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28136,18 +28632,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25800_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2312_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P25804.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__P25804.isGetter = true; +tiles_TileMapData_scale__P2316.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__P2316.isGetter = true; -function tiles_TileMapData_scale__P25804_mk(s) { +function tiles_TileMapData_scale__P2316_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P25804, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P2316, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28156,7 +28652,7 @@ function tiles_TileMapData_scale__P25804_mk(s) { -function tiles_Location_tileSet__P25791(s) { +function tiles_Location_tileSet__P2303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28171,8 +28667,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25785_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P25826_mk(s); + if (!checkSubtype(r0, tiles_Location__C2297_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P2338_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; @@ -28185,13 +28681,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P25791.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__P25791.isGetter = true; +tiles_Location_tileSet__P2303.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__P2303.isGetter = true; -function tiles_Location_tileSet__P25791_mk(s) { +function tiles_Location_tileSet__P2303_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P25791, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P2303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28201,7 +28697,7 @@ function tiles_Location_tileSet__P25791_mk(s) { -function tiles_TileMap_getTileIndex__P25826(s) { +function tiles_TileMap_getTileIndex__P2338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28218,8 +28714,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P25806_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P2318_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -28230,12 +28726,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P25826.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__P2338.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__P25826_mk(s) { +function tiles_TileMap_getTileIndex__P2338_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P25826, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P2338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28247,7 +28743,7 @@ function tiles_TileMap_getTileIndex__P25826_mk(s) { -function tiles_TileMapData_getTile__P25806(s) { +function tiles_TileMapData_getTile__P2318(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28264,8 +28760,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25800_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P25812_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C2312_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P2324_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -28298,12 +28794,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P25806.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__P2318.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__P25806_mk(s) { +function tiles_TileMapData_getTile__P2318_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P25806, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P2318, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28323,7 +28819,7 @@ function tiles_TileMapData_getTile__P25806_mk(s) { -function tiles_TileMapData_isOutsideMap__P25812(s) { +function tiles_TileMapData_isOutsideMap__P2324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28340,7 +28836,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25800_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2312_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -28380,12 +28876,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P25812.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__P2324.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__P25812_mk(s) { +function tiles_TileMapData_isOutsideMap__P2324_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P25812, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P2324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28404,7 +28900,7 @@ function tiles_TileMapData_isOutsideMap__P25812_mk(s) { -function tiles_Location_row__P25787(s) { +function tiles_Location_row__P2299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28419,18 +28915,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25785_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2297_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P25787.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__P25787.isGetter = true; +tiles_Location_row__P2299.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__P2299.isGetter = true; -function tiles_Location_row__P25787_mk(s) { +function tiles_Location_row__P2299_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P25787, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P2299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28439,7 +28935,7 @@ function tiles_Location_row__P25787_mk(s) { -function tiles_Location_col__P25786(s) { +function tiles_Location_col__P2298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28454,18 +28950,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25785_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2297_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_col__P25786.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__P25786.isGetter = true; +tiles_Location_col__P2298.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__P2298.isGetter = true; -function tiles_Location_col__P25786_mk(s) { +function tiles_Location_col__P2298_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P25786, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P2298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28474,7 +28970,7 @@ function tiles_Location_col__P25786_mk(s) { -function tiles_TileMap_getObstacle__P25833(s) { +function tiles_TileMap_getObstacle__P2345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28484,8 +28980,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___36737 = undefined; - s.tile___36749 = undefined; + s.index___13283 = undefined; + s.tile___13295 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28493,8 +28989,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P25812_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P2324_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -28508,7 +29004,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P25806_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P2318_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -28519,20 +29015,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___36737 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P25809_mk(s); + s.index___13283 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P2321_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___36737; + s.tmp_0.arg1 = s.index___13283; s.callLocIdx = 734; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___36749 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C25641_VT); + s.tile___13295 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2153_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P25647_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P2159_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___36749; + s.tmp_1.arg1 = s.tile___13295; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -28545,7 +29041,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___36737; + s.tmp_1.arg5 = s.index___13283; s.callLocIdx = 738; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -28553,12 +29049,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P25833.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__P2345.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__P25833_mk(s) { +function tiles_TileMap_getObstacle__P2345_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P25833, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P2345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28566,8 +29062,8 @@ function tiles_TileMap_getObstacle__P25833_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___36737: undefined, - tile___36749: undefined, + index___13283: undefined, + tile___13295: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28577,7 +29073,7 @@ function tiles_TileMap_getObstacle__P25833_mk(s) { -function tiles_TileMap_layer__P25821(s) { +function tiles_TileMap_layer__P2333(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28592,18 +29088,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P25821.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__P25821.isGetter = true; +tiles_TileMap_layer__P2333.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__P2333.isGetter = true; -function tiles_TileMap_layer__P25821_mk(s) { +function tiles_TileMap_layer__P2333_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P25821, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P2333, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28612,7 +29108,7 @@ function tiles_TileMap_layer__P25821_mk(s) { -function sprites_StaticObstacle_constructor__P25647(s) { +function sprites_StaticObstacle_constructor__P2159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28632,7 +29128,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25641_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2153_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -28642,12 +29138,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P25647.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__P2159.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__P25647_mk(s) { +function sprites_StaticObstacle_constructor__P2159_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P25647, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P2159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28661,7 +29157,7 @@ function sprites_StaticObstacle_constructor__P25647_mk(s) { -function tiles_TileMap_isObstacle__P25832(s) { +function tiles_TileMap_isObstacle__P2344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28678,7 +29174,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -28699,7 +29195,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P25812_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P2324_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -28725,12 +29221,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P25832.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__P2344.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__P25832_mk(s) { +function tiles_TileMap_isObstacle__P2344_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P25832, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P2344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28753,7 +29249,7 @@ function tiles_TileMap_isObstacle__P25832_mk(s) { -function tiles_TileMapData_isWall__P25811(s) { +function tiles_TileMapData_isWall__P2323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28770,7 +29266,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25800_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2312_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -28779,12 +29275,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P25811.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__P2323.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__P25811_mk(s) { +function tiles_TileMapData_isWall__P2323_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P25811, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P2323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28797,7 +29293,7 @@ function tiles_TileMapData_isWall__P25811_mk(s) { -function tiles_TileMap_getTile__P25825(s) { +function tiles_TileMap_getTile__P2337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28814,10 +29310,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C25785_VT); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2297_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P25788_mk(s); + s.tmp_1 = tiles_Location_constructor__P2300_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -28829,12 +29325,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P25825.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__P2337.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__P25825_mk(s) { +function tiles_TileMap_getTile__P2337_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P25825, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P2337, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28847,7 +29343,7 @@ function tiles_TileMap_getTile__P25825_mk(s) { -function tiles_Location_constructor__P25788(s) { +function tiles_Location_constructor__P2300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28865,7 +29361,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25785_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2297_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -28873,12 +29369,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P25788.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__P2300.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__P25788_mk(s) { +function tiles_Location_constructor__P2300_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P25788, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P2300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28890,7 +29386,7 @@ function tiles_Location_constructor__P25788_mk(s) { -function Sprite_registerObstacle__P25580(s) { +function Sprite_registerObstacle__P2092(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28900,10 +29396,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___36630 = undefined; - s.wallCollisionHandlers___36637 = undefined; - s.wallHandlersToRun___36662 = undefined; - s.asTileLocation___36675 = undefined; + s.collisionHandlers___13176 = undefined; + s.wallCollisionHandlers___13183 = undefined; + s.wallHandlersToRun___13208 = undefined; + s.asTileLocation___13221 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28912,11 +29408,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P26021_mk(s); + s.tmp_1 = game_currentScene__P2533_mk(s); s.callLocIdx = 352; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -28936,24 +29432,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___36630 = (r0); - s.tmp_0 = game_currentScene__P26021_mk(s); + s.collisionHandlers___13176 = (r0); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 354; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___36637 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___36630); + s.wallCollisionHandlers___13183 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___13176); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P36645); + r0 = pxsim_pxtcore_mkAction(1, inline__P13191); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P36651); + r0 = pxsim_pxtcore_mkAction(1, inline__P13197); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P23596_mk(s); - s.tmp_3 = helpers_arrayFilter__P23597_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___36630; + s.tmp_2 = helpers_arrayForEach__P108_mk(s); + s.tmp_3 = helpers_arrayFilter__P109_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___13176; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 356; s.pc = 13; return s.tmp_3; case 13: @@ -28965,7 +29461,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___36637); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___13183); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -28973,7 +29469,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P26021_mk(s); + s.tmp_1 = game_currentScene__P2533_mk(s); s.callLocIdx = 359; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -28982,21 +29478,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, inline__P36664); + r0 = pxsim_pxtcore_mkAction(1, inline__P13210); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P23597_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___36637; + s.tmp_1 = helpers_arrayFilter__P109_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___13183; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 361; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___36662 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___36662); + s.wallHandlersToRun___13208 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___13208); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P25825_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P2337_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -29035,13 +29531,13 @@ switch (step) { s.callLocIdx = 366; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___36675 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P36691); + s.asTileLocation___13221 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P13237); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___36675); - s.tmp_1 = helpers_arrayForEach__P23596_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___36662; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___13221); + s.tmp_1 = helpers_arrayForEach__P108_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___13208; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 368; s.pc = 19; return s.tmp_1; case 19: @@ -29054,12 +29550,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P25580.info = {"start":27125,"length":965,"line":821,"column":4,"endLine":841,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P2092.info = {"start":27125,"length":965,"line":821,"column":4,"endLine":841,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P25580_mk(s) { +function Sprite_registerObstacle__P2092_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P25580, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P2092, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29069,10 +29565,10 @@ function Sprite_registerObstacle__P25580_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___36630: undefined, - wallCollisionHandlers___36637: undefined, - wallHandlersToRun___36662: undefined, - asTileLocation___36675: undefined, + collisionHandlers___13176: undefined, + wallCollisionHandlers___13183: undefined, + wallHandlersToRun___13208: undefined, + asTileLocation___13221: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29083,7 +29579,7 @@ function Sprite_registerObstacle__P25580_mk(s) { -function inline__P36645(s) { +function inline__P13191(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29105,12 +29601,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36645.info = {"start":27523,"length":26,"line":828,"column":24,"endLine":828,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P13191.info = {"start":27523,"length":26,"line":828,"column":24,"endLine":828,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P36645_mk(s) { +function inline__P13191_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36645, depth: s.depth + 1, + parent: s, fn: inline__P13191, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29121,7 +29617,7 @@ function inline__P36645_mk(s) { -function inline__P36651(s) { +function inline__P13197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29153,12 +29649,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36651.info = {"start":27576,"length":20,"line":829,"column":25,"endLine":829,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P13197.info = {"start":27576,"length":20,"line":829,"column":25,"endLine":829,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P36651_mk(s) { +function inline__P13197_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36651, depth: s.depth + 1, + parent: s, fn: inline__P13197, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29168,7 +29664,7 @@ function inline__P36651_mk(s) { -function inline__P36664(s) { +function inline__P13210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29190,12 +29686,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36664.info = {"start":27782,"length":32,"line":834,"column":24,"endLine":834,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P13210.info = {"start":27782,"length":32,"line":834,"column":24,"endLine":834,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P36664_mk(s) { +function inline__P13210_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36664, depth: s.depth + 1, + parent: s, fn: inline__P13210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29206,7 +29702,7 @@ function inline__P36664_mk(s) { -function inline__P36691(s) { +function inline__P13237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29239,12 +29735,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36691.info = {"start":28022,"length":36,"line":838,"column":29,"endLine":838,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P13237.info = {"start":28022,"length":36,"line":838,"column":29,"endLine":838,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P36691_mk(s) { +function inline__P13237_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36691, depth: s.depth + 1, + parent: s, fn: inline__P13237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29254,7 +29750,7 @@ function inline__P36691_mk(s) { -function Fx_min__P23652(s) { +function Fx_min__P164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29285,12 +29781,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P23652.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__P164.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__P23652_mk(s) { +function Fx_min__P164_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P23652, depth: s.depth + 1, + parent: s, fn: Fx_min__P164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29301,7 +29797,7 @@ function Fx_min__P23652_mk(s) { -function Fx_iadd__P23644(s) { +function Fx_iadd__P156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29322,12 +29818,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P23644.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__P156.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__P23644_mk(s) { +function Fx_iadd__P156_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P23644, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29338,7 +29834,7 @@ function Fx_iadd__P23644_mk(s) { -function Fx_toIntShifted__P23642(s) { +function Fx_toIntShifted__P154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29360,12 +29856,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P23642.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__P154.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__P23642_mk(s) { +function Fx_toIntShifted__P154_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P23642, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29377,7 +29873,7 @@ function Fx_toIntShifted__P23642_mk(s) { -function helpers_arraySome__P23594(s) { +function helpers_arraySome__P106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29387,26 +29883,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___36719 = undefined; - s.i___36722 = undefined; + s.len___13265 = undefined; + s.i___13268 = 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___36719 = (r0); - s.i___36722 = (0); + s.len___13265 = (r0); + s.i___13268 = (0); case 1: - r0 = (s.i___36722 < s.len___36719); + r0 = (s.i___13268 < s.len___13265); 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___36722); + r0 = pxsim_Array__getAt(s.arg0, s.i___13268); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___36722; + s.tmp_2.arg1 = s.i___13268; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: @@ -29418,8 +29914,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___36722 + 1); - s.i___36722 = (r0); + r0 = (s.i___13268 + 1); + s.i___13268 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -29427,18 +29923,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P23594.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__P106.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__P23594_mk(s) { +function helpers_arraySome__P106_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P23594, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P106, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___36719: undefined, - i___36722: undefined, + len___13265: undefined, + i___13268: undefined, arg0: undefined, arg1: undefined, } } @@ -29447,7 +29943,7 @@ function helpers_arraySome__P23594_mk(s) { -function tiles_TileMap_isOnWall__P25834(s) { +function tiles_TileMap_isOnWall__P2346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29457,24 +29953,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___35854 = undefined; - s.left___35857 = undefined; - s.right___35863 = undefined; - s.top___35869 = undefined; - s.bottom___35875 = undefined; - s.col___35881 = undefined; - s.row___35887 = undefined; + s.hbox___12400 = undefined; + s.left___12403 = undefined; + s.right___12409 = undefined; + s.top___12415 = undefined; + s.bottom___12421 = undefined; + s.col___12427 = undefined; + s.row___12433 = 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__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___35854 = (r0); - s.tmp_1 = game_Hitbox_left__P25457_mk(s); - s.tmp_1.arg0 = s.hbox___35854; + s.hbox___12400 = (r0); + s.tmp_1 = game_Hitbox_left__P1969_mk(s); + s.tmp_1.arg0 = s.hbox___12400; s.callLocIdx = 739; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -29484,9 +29980,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___35857 = (r0); - s.tmp_1 = game_Hitbox_right__P25459_mk(s); - s.tmp_1.arg0 = s.hbox___35854; + s.left___12403 = (r0); + s.tmp_1 = game_Hitbox_right__P1971_mk(s); + s.tmp_1.arg0 = s.hbox___12400; s.callLocIdx = 742; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -29496,9 +29992,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___35863 = (r0); - s.tmp_1 = game_Hitbox_top__P25458_mk(s); - s.tmp_1.arg0 = s.hbox___35854; + s.right___12409 = (r0); + s.tmp_1 = game_Hitbox_top__P1970_mk(s); + s.tmp_1.arg0 = s.hbox___12400; s.callLocIdx = 745; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -29508,9 +30004,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___35869 = (r0); - s.tmp_1 = game_Hitbox_bottom__P25460_mk(s); - s.tmp_1.arg0 = s.hbox___35854; + s.top___12415 = (r0); + s.tmp_1 = game_Hitbox_bottom__P1972_mk(s); + s.tmp_1.arg0 = s.hbox___12400; s.callLocIdx = 748; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -29520,23 +30016,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___35875 = (r0); - s.col___35881 = (s.left___35857); + s.bottom___12421 = (r0); + s.col___12427 = (s.left___12403); case 1: - r0 = (s.col___35881 <= s.right___35863); + r0 = (s.col___12427 <= s.right___12409); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___35887 = (s.top___35869); + s.row___12433 = (s.top___12415); case 2: - r0 = (s.row___35887 <= s.bottom___35875); + r0 = (s.row___12433 <= s.bottom___12421); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P25832_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P2344_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___35881; - s.tmp_2.arg2 = s.row___35887; + s.tmp_2.arg1 = s.col___12427; + s.tmp_2.arg2 = s.row___12433; s.callLocIdx = 751; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -29547,12 +30043,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___35887 + 1); - s.row___35887 = (r0); + r0 = (s.row___12433 + 1); + s.row___12433 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___35881 + 1); - s.col___35881 = (r0); + r0 = (s.col___12427 + 1); + s.col___12427 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -29560,24 +30056,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P25834.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__P2346.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__P25834_mk(s) { +function tiles_TileMap_isOnWall__P2346_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P25834, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P2346, 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___35854: undefined, - left___35857: undefined, - right___35863: undefined, - top___35869: undefined, - bottom___35875: undefined, - col___35881: undefined, - row___35887: undefined, + hbox___12400: undefined, + left___12403: undefined, + right___12409: undefined, + top___12415: undefined, + bottom___12421: undefined, + col___12427: undefined, + row___12433: undefined, arg0: undefined, arg1: undefined, } } @@ -29586,7 +30082,7 @@ function tiles_TileMap_isOnWall__P25834_mk(s) { -function MovingSprite_constructor__P25668(s) { +function MovingSprite_constructor__P2180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29608,7 +30104,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C25667_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C2179_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -29620,12 +30116,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P25668.info = {"start":799,"length":313,"line":31,"column":4,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} +MovingSprite_constructor__P2180.info = {"start":799,"length":313,"line":31,"column":4,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} -function MovingSprite_constructor__P25668_mk(s) { +function MovingSprite_constructor__P2180_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P25668, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P2180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -29641,7 +30137,7 @@ function MovingSprite_constructor__P25668_mk(s) { -function ArcadePhysicsEngine_move__P25681(s) { +function ArcadePhysicsEngine_move__P2193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29651,33 +30147,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtf___36809 = undefined; - s.dt2___36816 = undefined; - s.scene___36820 = undefined; - s.tileMap___36823 = undefined; - s.movingSprites___36826 = undefined; - s.MAX_STEP_COUNT___36857 = undefined; - s.overlapHandlers___36869 = undefined; - s.selected___36876 = undefined; - s.buffers___36877 = undefined; - s.count___36881 = undefined; - s.currMovers___36891 = undefined; - s.remainingMovers___36898 = undefined; - s.ms___36903 = undefined; - s.unnamed142___U13 = undefined; - s.unnamed143___U14 = undefined; - s.s___36905 = undefined; - s.stepX___36998 = undefined; - s.stepY___37012 = undefined; + s.dtf___13355 = undefined; + s.dt2___13362 = undefined; + s.scene___13366 = undefined; + s.tileMap___13369 = undefined; + s.movingSprites___13372 = undefined; + s.MAX_STEP_COUNT___13403 = undefined; + s.overlapHandlers___13415 = undefined; + s.selected___13422 = undefined; + s.buffers___13423 = undefined; + s.count___13427 = undefined; + s.currMovers___13437 = undefined; + s.remainingMovers___13444 = undefined; + s.ms___13449 = undefined; + s.unnamed62___U13 = undefined; + s.unnamed63___U14 = undefined; + s.s___13451 = undefined; + s.stepX___13544 = undefined; + s.stepY___13558 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); - s.tmp_0 = Fx_min__P23652_mk(s); - s.tmp_0.arg0 = globals.MAX_TIME_STEP___25663; + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); + s.tmp_0 = Fx_min__P164_mk(s); + s.tmp_0.arg0 = globals.MAX_TIME_STEP___2175; r0 = (s.arg1 * 1000); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); @@ -29687,43 +30183,43 @@ switch (step) { s.callLocIdx = 452; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtf___36809 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___36809, 2); - s.dt2___36816 = (r0); - s.tmp_0 = game_currentScene__P26021_mk(s); + s.dtf___13355 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___13355, 2); + s.dt2___13362 = (r0); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 454; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___36820 = (r0); - r0 = s.scene___36820.fields["tileMap"]; - s.tileMap___36823 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P36828); + s.scene___13366 = (r0); + r0 = s.scene___13366.fields["tileMap"]; + s.tileMap___13369 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P13374); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtf___36809); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___36816); - s.tmp_1 = helpers_arrayMap__P23593_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtf___13355); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___13362); + s.tmp_1 = helpers_arrayMap__P105_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 456; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___36826 = (r0); - s.tmp_0 = helpers_arrayForEach__P23596_mk(s); + s.movingSprites___13372 = (r0); + s.tmp_0 = helpers_arrayForEach__P108_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P36840; + s.tmp_0.arg1 = inline__P13386; s.callLocIdx = 460; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P25595_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P2107_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 461; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P25594_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P2106_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -29739,7 +30235,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___36809); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtf___13355); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); s.tmp_1 = r0; @@ -29748,34 +30244,34 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.MAX_STEP_COUNT___36857 = (r0); - s.tmp_0 = helpers_arraySlice__P23602_mk(s); - r0 = s.scene___36820.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___13403 = (r0); + s.tmp_0 = helpers_arraySlice__P114_mk(s); + r0 = s.scene___13366.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 467; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.overlapHandlers___36869 = (r0); - s.selected___36876 = (0); + s.overlapHandlers___13415 = (r0); + s.selected___13422 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___36826); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___13372); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___36877 = (s.tmp_0); - s.count___36881 = (0); + s.buffers___13423 = (s.tmp_0); + s.count___13427 = (0); case 1: - r0 = (s.count___36881 < s.MAX_STEP_COUNT___36857); + r0 = (s.count___13427 < s.MAX_STEP_COUNT___13403); 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___36877, s.selected___36876); + r0 = pxsim_Array__getAt(s.buffers___13423, s.selected___13422); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -29785,43 +30281,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___36877, s.selected___36876); - s.currMovers___36891 = (r0); - r0 = (s.selected___36876 ^ 1); - s.selected___36876 = (r0); - r0 = pxsim_Array__getAt(s.buffers___36877, s.selected___36876); - s.remainingMovers___36898 = (r0); - s.ms___36903 = (undefined); - s.unnamed142___U13 = (s.currMovers___36891); - s.unnamed143___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___13423, s.selected___13422); + s.currMovers___13437 = (r0); + r0 = (s.selected___13422 ^ 1); + s.selected___13422 = (r0); + r0 = pxsim_Array__getAt(s.buffers___13423, s.selected___13422); + s.remainingMovers___13444 = (r0); + s.ms___13449 = (undefined); + s.unnamed62___U13 = (s.currMovers___13437); + s.unnamed63___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed143___U14; - r0 = pxsim_Array__length(s.unnamed142___U13); + s.tmp_0 = r0 = s.unnamed63___U14; + r0 = pxsim_Array__length(s.unnamed62___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_Array__getAt(s.unnamed142___U13, s.unnamed143___U14); - s.ms___36903 = (r0); - r0 = s.ms___36903.fields["sprite"]; - s.s___36905 = (r0); - r0 = s.ms___36903.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed62___U13, s.unnamed63___U14); + s.ms___13449 = (r0); + r0 = s.ms___13449.fields["sprite"]; + s.s___13451 = (r0); + r0 = s.ms___13449.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___36905.fields["_vx"]; + r0 = s.s___13451.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___36905.fields["_vx"]; + r0 = s.s___13451.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___36903).fields["dx"] = (0); + r0 = (s.ms___13449).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___36905.fields["_vx"]; + r0 = s.s___13451.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -29830,7 +30326,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___36903.fields["cachedVx"]; + r0 = s.ms___13449.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -29841,7 +30337,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___36905.fields["_vx"]; + r0 = s.s___13451.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -29850,7 +30346,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___36903.fields["cachedVx"]; + r0 = s.ms___13449.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -29862,14 +30358,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___36903; - r0 = s.ms___36903.fields["dx"]; + s.tmp_9 = r0 = s.ms___13449; + r0 = s.ms___13449.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___36903; - r0 = s.ms___36903.fields["xStep"]; + s.tmp_0 = r0 = s.ms___13449; + r0 = s.ms___13449.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -29877,29 +30373,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___36905.fields["_vx"]; + r0 = s.s___13451.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___36903).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___13449).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___36903.fields["cachedVy"]; + r0 = s.ms___13449.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___36905.fields["_vy"]; + r0 = s.s___13451.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___36905.fields["_vy"]; + r0 = s.s___13451.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___36903).fields["dy"] = (0); + r0 = (s.ms___13449).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___36905.fields["_vy"]; + r0 = s.s___13451.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -29908,7 +30404,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___36903.fields["cachedVy"]; + r0 = s.ms___13449.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -29919,7 +30415,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___36905.fields["_vy"]; + r0 = s.s___13451.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -29928,7 +30424,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___36903.fields["cachedVy"]; + r0 = s.ms___13449.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -29940,14 +30436,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___36903; - r0 = s.ms___36903.fields["dy"]; + s.tmp_9 = r0 = s.ms___13449; + r0 = s.ms___13449.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___36903; - r0 = s.ms___36903.fields["yStep"]; + s.tmp_0 = r0 = s.ms___13449; + r0 = s.ms___13449.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -29955,20 +30451,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___36905.fields["_vy"]; + r0 = s.s___13451.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___36903).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___13449).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P23651_mk(s); - r0 = s.ms___36903.fields["xStep"]; + s.tmp_2 = Fx_abs__P163_mk(s); + r0 = s.ms___13449.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 472; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P23651_mk(s); - r0 = s.ms___36903.fields["dx"]; + s.tmp_4 = Fx_abs__P163_mk(s); + r0 = s.ms___13449.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 473; s.pc = 55; return s.tmp_4; case 55: @@ -29978,23 +30474,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___36903.fields["dx"]; + r0 = s.ms___13449.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___36903.fields["xStep"]; + r0 = s.ms___13449.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___36998 = (s.tmp_5); - s.tmp_2 = Fx_abs__P23651_mk(s); - r0 = s.ms___36903.fields["yStep"]; + s.stepX___13544 = (s.tmp_5); + s.tmp_2 = Fx_abs__P163_mk(s); + r0 = s.ms___13449.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 474; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P23651_mk(s); - r0 = s.ms___36903.fields["dy"]; + s.tmp_4 = Fx_abs__P163_mk(s); + r0 = s.ms___13449.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 475; s.pc = 57; return s.tmp_4; case 57: @@ -30004,45 +30500,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___36903.fields["dy"]; + r0 = s.ms___13449.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___36903.fields["yStep"]; + r0 = s.ms___13449.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___37012 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___36903; - r0 = s.ms___36903.fields["dx"]; + s.stepY___13558 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___13449; + r0 = s.ms___13449.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___36998); + r0 = (s.tmp_2 - s.stepX___13544); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___36903; - r0 = s.ms___36903.fields["dy"]; + s.tmp_0 = r0 = s.ms___13449; + r0 = s.ms___13449.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___37012); + r0 = (s.tmp_2 - s.stepY___13558); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___36905.fields["_x"]; + r0 = s.s___13451.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___36905).fields["_lastX"] = (s.tmp_0); - r0 = s.s___36905.fields["_y"]; + r0 = (s.s___13451).fields["_lastX"] = (s.tmp_0); + r0 = s.s___13451.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___36905).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___36905; - r0 = s.s___36905.fields["_x"]; + r0 = (s.s___13451).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___13451; + r0 = s.s___13451.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___36998); + r0 = (s.tmp_2 + s.stepX___13544); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___36905; - r0 = s.s___36905.fields["_y"]; + s.tmp_0 = r0 = s.s___13451; + r0 = s.s___13451.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___37012); + r0 = (s.tmp_2 + s.stepY___13558); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___36905.fields["flags"]; + r0 = s.s___13451.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -30052,20 +30548,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__P25596_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P2108_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___36905; + s.tmp_4.arg1 = s.s___13451; s.callLocIdx = 480; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; - s.tmp_0 = r0 = s.tileMap___36823; + s.tmp_0 = r0 = s.tileMap___13369; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 33; continue; } r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = s.tileMap___36823.fields["_map"]; + r0 = s.tileMap___13369.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -30079,10 +30575,10 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 35; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P27243_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P3755_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___36903; - s.tmp_6.arg2 = s.tileMap___36823; + s.tmp_6.arg1 = s.ms___13449; + s.tmp_6.arg2 = s.tileMap___13369; s.callLocIdx = 482; s.pc = 59; return s.tmp_6; case 59: r0 = s.retval; @@ -30090,70 +30586,70 @@ switch (step) { case 36: case 37: case 38: - s.tmp_2 = Fx_abs__P23651_mk(s); - r0 = s.ms___36903.fields["dx"]; + s.tmp_2 = Fx_abs__P163_mk(s); + r0 = s.ms___13449.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 483; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___25666); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___2178); 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__P23651_mk(s); - r0 = s.ms___36903.fields["dy"]; + s.tmp_4 = Fx_abs__P163_mk(s); + r0 = s.ms___13449.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 484; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___25666); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___2178); 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___36898, s.ms___36903); + r0 = pxsim_Array__push(s.remainingMovers___13444, s.ms___13449); case 41: case 42: - r0 = (s.unnamed143___U14 + 1); - s.unnamed143___U14 = (r0); + r0 = (s.unnamed63___U14 + 1); + s.unnamed63___U14 = (r0); { step = 4; continue; } case 43: - s.unnamed142___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P27242_mk(s); + s.unnamed62___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P3754_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___36891; - s.tmp_0.arg2 = s.overlapHandlers___36869; + s.tmp_0.arg1 = s.currMovers___13437; + s.tmp_0.arg2 = s.overlapHandlers___13415; s.callLocIdx = 485; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___36891); + r0 = pxsim_Array__length(s.currMovers___13437); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___36891); + r0 = pxsim_Array_.pop(s.currMovers___13437); { step = 44; continue; } case 45: - r0 = (s.count___36881 + 1); - s.count___36881 = (r0); + r0 = (s.count___13427 + 1); + s.count___13427 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P25681.info = {"start":2672,"length":3971,"line":110,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P2193.info = {"start":2672,"length":3971,"line":110,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P25681_mk(s) { +function ArcadePhysicsEngine_move__P2193_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P25681, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P2193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30167,24 +30663,24 @@ function ArcadePhysicsEngine_move__P25681_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtf___36809: undefined, - dt2___36816: undefined, - scene___36820: undefined, - tileMap___36823: undefined, - movingSprites___36826: undefined, - MAX_STEP_COUNT___36857: undefined, - overlapHandlers___36869: undefined, - selected___36876: undefined, - buffers___36877: undefined, - count___36881: undefined, - currMovers___36891: undefined, - remainingMovers___36898: undefined, - ms___36903: undefined, - unnamed142___U13: undefined, - unnamed143___U14: undefined, - s___36905: undefined, - stepX___36998: undefined, - stepY___37012: undefined, + dtf___13355: undefined, + dt2___13362: undefined, + scene___13366: undefined, + tileMap___13369: undefined, + movingSprites___13372: undefined, + MAX_STEP_COUNT___13403: undefined, + overlapHandlers___13415: undefined, + selected___13422: undefined, + buffers___13423: undefined, + count___13427: undefined, + currMovers___13437: undefined, + remainingMovers___13444: undefined, + ms___13449: undefined, + unnamed62___U13: undefined, + unnamed63___U14: undefined, + s___13451: undefined, + stepX___13544: undefined, + stepY___13558: undefined, arg0: undefined, arg1: undefined, } } @@ -30193,7 +30689,7 @@ function ArcadePhysicsEngine_move__P25681_mk(s) { -function inline__P36828(s) { +function inline__P13374(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30207,7 +30703,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P27241_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P3753_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -30218,12 +30714,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36828.info = {"start":3064,"length":51,"line":122,"column":17,"endLine":122,"endColumn":68,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P13374.info = {"start":3064,"length":51,"line":122,"column":17,"endLine":122,"endColumn":68,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} -function inline__P36828_mk(s) { +function inline__P13374_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36828, depth: s.depth + 1, + parent: s, fn: inline__P13374, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30233,7 +30729,7 @@ function inline__P36828_mk(s) { -function inline__P36840(s) { +function inline__P13386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30247,7 +30743,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P25524_mk(s); + s.tmp_1 = Sprite_vx__P2036_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 457; s.pc = 5; return s.tmp_1; case 5: @@ -30258,7 +30754,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P25526_mk(s); + s.tmp_2 = Sprite_vy__P2038_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 458; s.pc = 6; return s.tmp_2; case 6: @@ -30268,7 +30764,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P25579_mk(s); + s.tmp_4 = Sprite_clearObstacles__P2091_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 459; s.pc = 7; return s.tmp_4; case 7: @@ -30279,12 +30775,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P36840.info = {"start":3198,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P13386.info = {"start":3198,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} -function inline__P36840_mk(s) { +function inline__P13386_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P36840, depth: s.depth + 1, + parent: s, fn: inline__P13386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30298,7 +30794,7 @@ function inline__P36840_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P27242(s) { +function ArcadePhysicsEngine_spriteCollisions__P3754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30308,18 +30804,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___37113 = undefined; - s.unnamed144___U1 = undefined; - s.unnamed145___U2 = undefined; - s.sprite___37115 = undefined; - s.overSprites___37122 = undefined; - s.overlapper___37130 = undefined; - s.unnamed146___U6 = undefined; - s.unnamed147___U7 = undefined; - s.thisKind___37136 = undefined; - s.otherKind___37140 = undefined; - s.higher___37153 = undefined; - s.lower___37162 = undefined; + s.ms___13659 = undefined; + s.unnamed64___U1 = undefined; + s.unnamed65___U2 = undefined; + s.sprite___13661 = undefined; + s.overSprites___13668 = undefined; + s.overlapper___13676 = undefined; + s.unnamed66___U6 = undefined; + s.unnamed67___U7 = undefined; + s.thisKind___13682 = undefined; + s.otherKind___13686 = undefined; + s.higher___13699 = undefined; + s.lower___13708 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30327,7 +30823,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -30339,20 +30835,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___37113 = (undefined); - s.unnamed144___U1 = (s.arg1); - s.unnamed145___U2 = (0); + s.ms___13659 = (undefined); + s.unnamed64___U1 = (s.arg1); + s.unnamed65___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed145___U2; - r0 = pxsim_Array__length(s.unnamed144___U1); + s.tmp_0 = r0 = s.unnamed65___U2; + r0 = pxsim_Array__length(s.unnamed64___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed144___U1, s.unnamed145___U2); - s.ms___37113 = (r0); - r0 = s.ms___37113.fields["sprite"]; - s.sprite___37115 = (r0); - r0 = s.sprite___37115.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed64___U1, s.unnamed65___U2); + s.ms___13659 = (r0); + r0 = s.ms___13659.fields["sprite"]; + s.sprite___13661 = (r0); + r0 = s.sprite___13661.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2562); s.tmp_0 = r0; @@ -30361,27 +30857,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P25592_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P2104_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___37113.fields["sprite"]; + r0 = s.ms___13659.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 523; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___37122 = (r0); - s.overlapper___37130 = (undefined); - s.unnamed146___U6 = (s.overSprites___37122); - s.unnamed147___U7 = (0); + s.overSprites___13668 = (r0); + s.overlapper___13676 = (undefined); + s.unnamed66___U6 = (s.overSprites___13668); + s.unnamed67___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed147___U7; - r0 = pxsim_Array__length(s.unnamed146___U6); + s.tmp_0 = r0 = s.unnamed67___U7; + r0 = pxsim_Array__length(s.unnamed66___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed146___U6, s.unnamed147___U7); - s.overlapper___37130 = (r0); - r0 = s.overlapper___37130.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed66___U6, s.unnamed67___U7); + s.overlapper___13676 = (r0); + r0 = s.overlapper___13676.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2562); s.tmp_2 = r0; @@ -30390,13 +30886,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___37115.fields["_kind"]; - s.thisKind___37136 = (r0); - r0 = s.overlapper___37130.fields["_kind"]; - s.otherKind___37140 = (r0); - r0 = s.sprite___37115.fields["_kindsOverlappedWith"]; + r0 = s.sprite___13661.fields["_kind"]; + s.thisKind___13682 = (r0); + r0 = s.overlapper___13676.fields["_kind"]; + s.otherKind___13686 = (r0); + r0 = s.sprite___13661.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___37140, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___13686, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -30405,37 +30901,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___37115.fields["id"]; + r0 = s.sprite___13661.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___37130.fields["id"]; + r0 = s.overlapper___13676.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___37115; + r0 = s.sprite___13661; { step = 12; continue; } case 11: - r0 = s.overlapper___37130; + r0 = s.overlapper___13676; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___37153 = (s.tmp_6); - r0 = (s.higher___37153 === s.sprite___37115); + s.higher___13699 = (s.tmp_6); + r0 = (s.higher___13699 === s.sprite___13661); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___37130; + r0 = s.overlapper___13676; { step = 14; continue; } case 13: - r0 = s.sprite___37115; + r0 = s.sprite___13661; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___37162 = (s.tmp_1); - r0 = s.higher___37153.fields["_overlappers"]; + s.lower___13708 = (s.tmp_1); + r0 = s.higher___13699.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___37162.fields["id"]; + r0 = s.lower___13708.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -30443,19 +30939,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__P37182); + r0 = pxsim_pxtcore_mkAction(2, inline__P13728); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___37136); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___37140); - r0 = pxsim_pxtcore_mkAction(5, inline__P37206); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___13682); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___13686); + r0 = pxsim_pxtcore_mkAction(5, inline__P13752); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___37153); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___37162); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___37115); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___37130); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___37136); - s.tmp_6 = helpers_arrayForEach__P23596_mk(s); - s.tmp_7 = helpers_arrayFilter__P23597_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___13699); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___13708); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___13661); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___13676); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___13682); + s.tmp_6 = helpers_arrayForEach__P108_mk(s); + s.tmp_7 = helpers_arrayFilter__P109_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 526; s.pc = 24; return s.tmp_7; @@ -30469,28 +30965,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed147___U7 + 1); - s.unnamed147___U7 = (r0); + r0 = (s.unnamed67___U7 + 1); + s.unnamed67___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed146___U6 = (undefined); + s.unnamed66___U6 = (undefined); case 19: - r0 = (s.unnamed145___U2 + 1); - s.unnamed145___U2 = (r0); + r0 = (s.unnamed65___U2 + 1); + s.unnamed65___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed144___U1 = (undefined); + s.unnamed64___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P27242.info = {"start":9720,"length":2254,"line":325,"column":4,"endLine":369,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P3754.info = {"start":9720,"length":2254,"line":325,"column":4,"endLine":369,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P27242_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P3754_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P27242, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P3754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30500,18 +30996,18 @@ function ArcadePhysicsEngine_spriteCollisions__P27242_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___37113: undefined, - unnamed144___U1: undefined, - unnamed145___U2: undefined, - sprite___37115: undefined, - overSprites___37122: undefined, - overlapper___37130: undefined, - unnamed146___U6: undefined, - unnamed147___U7: undefined, - thisKind___37136: undefined, - otherKind___37140: undefined, - higher___37153: undefined, - lower___37162: undefined, + ms___13659: undefined, + unnamed64___U1: undefined, + unnamed65___U2: undefined, + sprite___13661: undefined, + overSprites___13668: undefined, + overlapper___13676: undefined, + unnamed66___U6: undefined, + unnamed67___U7: undefined, + thisKind___13682: undefined, + otherKind___13686: undefined, + higher___13699: undefined, + lower___13708: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30521,7 +31017,7 @@ function ArcadePhysicsEngine_spriteCollisions__P27242_mk(s) { -function inline__P37182(s) { +function inline__P13728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30578,12 +31074,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P37182.info = {"start":11079,"length":137,"line":351,"column":32,"endLine":352,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P13728.info = {"start":11079,"length":137,"line":351,"column":32,"endLine":352,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P37182_mk(s) { +function inline__P13728_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P37182, depth: s.depth + 1, + parent: s, fn: inline__P13728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30601,7 +31097,7 @@ function inline__P37182_mk(s) { -function inline__P37206(s) { +function inline__P13752(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30620,7 +31116,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__P37216); + r0 = pxsim_pxtcore_mkAction(6, inline__P13762); 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]); @@ -30633,12 +31129,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P37206.info = {"start":11276,"length":648,"line":354,"column":33,"endLine":365,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P13752.info = {"start":11276,"length":648,"line":354,"column":33,"endLine":365,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P37206_mk(s) { +function inline__P13752_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P37206, depth: s.depth + 1, + parent: s, fn: inline__P13752, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30649,7 +31145,7 @@ function inline__P37206_mk(s) { -function inline__P37216(s) { +function inline__P13762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30725,12 +31221,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P37216.info = {"start":11397,"length":499,"line":356,"column":50,"endLine":364,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P13762.info = {"start":11397,"length":499,"line":356,"column":50,"endLine":364,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P37216_mk(s) { +function inline__P13762_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P37216, depth: s.depth + 1, + parent: s, fn: inline__P13762, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30751,7 +31247,7 @@ function inline__P37216_mk(s) { -function sprites_SpriteMap_overlaps__P25592(s) { +function sprites_SpriteMap_overlaps__P2104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30761,47 +31257,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___37250 = undefined; - s.o___37254 = undefined; + s.n___13796 = undefined; + s.o___13800 = 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__C25589_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P25591_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P2103_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 398; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___37250 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P37256); + s.n___13796 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P13802); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P23597_mk(s); - s.tmp_1.arg0 = s.n___37250; + s.tmp_1 = helpers_arrayFilter__P109_mk(s); + s.tmp_1.arg0 = s.n___13796; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 400; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___37254 = (r0); - r0 = s.o___37254; + s.o___13800 = (r0); + r0 = s.o___13800; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P25592.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__P2104.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__P25592_mk(s) { +function sprites_SpriteMap_overlaps__P2104_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P25592, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P2104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___37250: undefined, - o___37254: undefined, + n___13796: undefined, + o___13800: undefined, arg0: undefined, arg1: undefined, } } @@ -30810,7 +31306,7 @@ function sprites_SpriteMap_overlaps__P25592_mk(s) { -function inline__P37256(s) { +function inline__P13802(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30824,7 +31320,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P25575_mk(s); + s.tmp_0 = Sprite_overlapsWith__P2087_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 399; s.pc = 1; return s.tmp_0; @@ -30833,12 +31329,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P37256.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P13802.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__P37256_mk(s) { +function inline__P13802_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P37256, depth: s.depth + 1, + parent: s, fn: inline__P13802, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30848,7 +31344,7 @@ function inline__P37256_mk(s) { -function sprites_SpriteMap_neighbors__P25591(s) { +function sprites_SpriteMap_neighbors__P2103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30858,112 +31354,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___37298 = undefined; - s.layer___37300 = undefined; + s.n___13844 = undefined; + s.layer___13846 = 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__C25589_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___37298 = (r0); + s.n___13844 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___37300 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27212_mk(s); + s.layer___13846 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P3724_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P25557_mk(s); + s.tmp_1 = Sprite_left__P2069_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 386; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P25561_mk(s); + s.tmp_2 = Sprite_top__P2073_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 387; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___37300; - s.tmp_0.arg4 = s.n___37298; + s.tmp_0.arg3 = s.layer___13846; + s.tmp_0.arg4 = s.n___13844; s.callLocIdx = 388; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27212_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P3724_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P25557_mk(s); + s.tmp_1 = Sprite_left__P2069_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 389; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P25563_mk(s); + s.tmp_2 = Sprite_bottom__P2075_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 390; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___37300; - s.tmp_0.arg4 = s.n___37298; + s.tmp_0.arg3 = s.layer___13846; + s.tmp_0.arg4 = s.n___13844; s.callLocIdx = 391; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27212_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P3724_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P25559_mk(s); + s.tmp_1 = Sprite_right__P2071_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 392; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P25561_mk(s); + s.tmp_2 = Sprite_top__P2073_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 393; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___37300; - s.tmp_0.arg4 = s.n___37298; + s.tmp_0.arg3 = s.layer___13846; + s.tmp_0.arg4 = s.n___13844; s.callLocIdx = 394; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27212_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P3724_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P25559_mk(s); + s.tmp_1 = Sprite_right__P2071_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 395; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P25563_mk(s); + s.tmp_2 = Sprite_bottom__P2075_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 396; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___37300; - s.tmp_0.arg4 = s.n___37298; + s.tmp_0.arg3 = s.layer___13846; + s.tmp_0.arg4 = s.n___13844; s.callLocIdx = 397; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___37298, s.arg1); - r0 = s.n___37298; + r0 = pxsim_Array_.removeElement(s.n___13844, s.arg1); + r0 = s.n___13844; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P25591.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__P2103.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__P25591_mk(s) { +function sprites_SpriteMap_neighbors__P2103_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P25591, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P2103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___37298: undefined, - layer___37300: undefined, + n___13844: undefined, + layer___13846: undefined, arg0: undefined, arg1: undefined, } } @@ -30972,7 +31468,7 @@ function sprites_SpriteMap_neighbors__P25591_mk(s) { -function sprites_SpriteMap_mergeAtKey__P27212(s) { +function sprites_SpriteMap_mergeAtKey__P3724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30982,11 +31478,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___37353 = undefined; - s.bucket___37358 = undefined; - s.sprite___37365 = undefined; - s.unnamed140___U3 = undefined; - s.unnamed141___U4 = undefined; + s.k___13899 = undefined; + s.bucket___13904 = undefined; + s.sprite___13911 = undefined; + s.unnamed60___U3 = undefined; + s.unnamed61___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30996,33 +31492,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25589_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P27210_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P3722_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 424; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___37353 = (r0); + s.k___13899 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___37353); - s.bucket___37358 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___37358); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___13899); + s.bucket___13904 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___13904); if (!r0) { step = 7; continue; } - s.sprite___37365 = (undefined); - s.unnamed140___U3 = (s.bucket___37358); - s.unnamed141___U4 = (0); + s.sprite___13911 = (undefined); + s.unnamed60___U3 = (s.bucket___13904); + s.unnamed61___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed141___U4; - r0 = pxsim_Array__length(s.unnamed140___U3); + s.tmp_0 = r0 = s.unnamed61___U4; + r0 = pxsim_Array__length(s.unnamed60___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed140___U3, s.unnamed141___U4); - s.sprite___37365 = (r0); - r0 = s.sprite___37365.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed60___U3, s.unnamed61___U4); + s.sprite___13911 = (r0); + r0 = s.sprite___13911.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -31031,7 +31527,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___37365, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___13911, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -31039,26 +31535,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___37365); + r0 = pxsim_Array__push(s.arg4, s.sprite___13911); case 4: case 5: - r0 = (s.unnamed141___U4 + 1); - s.unnamed141___U4 = (r0); + r0 = (s.unnamed61___U4 + 1); + s.unnamed61___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed140___U3 = (undefined); + s.unnamed60___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P27212.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__P3724.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__P27212_mk(s) { +function sprites_SpriteMap_mergeAtKey__P3724_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P27212, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P3724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31066,11 +31562,11 @@ function sprites_SpriteMap_mergeAtKey__P27212_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___37353: undefined, - bucket___37358: undefined, - sprite___37365: undefined, - unnamed140___U3: undefined, - unnamed141___U4: undefined, + k___13899: undefined, + bucket___13904: undefined, + sprite___13911: undefined, + unnamed60___U3: undefined, + unnamed61___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31082,7 +31578,7 @@ function sprites_SpriteMap_mergeAtKey__P27212_mk(s) { -function sprites_SpriteMap_key__P27210(s) { +function sprites_SpriteMap_key__P3722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31092,8 +31588,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___37386 = undefined; - s.yi___37398 = undefined; + s.xi___13932 = undefined; + s.yi___13944 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31101,8 +31597,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25589_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P23613_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P125_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -31113,8 +31609,8 @@ switch (step) { s.callLocIdx = 412; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___37386 = (r0); - s.tmp_0 = Math_clamp__P23613_mk(s); + s.xi___13932 = (r0); + s.tmp_0 = Math_clamp__P125_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -31125,28 +31621,28 @@ switch (step) { s.callLocIdx = 413; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___37398 = (r0); - s.tmp_0 = r0 = s.xi___37386; + s.yi___13944 = (r0); + s.tmp_0 = r0 = s.xi___13932; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___37398 * s.tmp_2); + r0 = (s.yi___13944 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P27210.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__P3722.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__P27210_mk(s) { +function sprites_SpriteMap_key__P3722_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P27210, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P3722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___37386: undefined, - yi___37398: undefined, + xi___13932: undefined, + yi___13944: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31156,7 +31652,7 @@ function sprites_SpriteMap_key__P27210_mk(s) { -function Sprite_bottom__P25563(s) { +function Sprite_bottom__P2075(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31171,8 +31667,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P25561_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P2073_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 278; s.pc = 1; return s.tmp_1; case 1: @@ -31186,13 +31682,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P25563.info = {"start":10262,"length":59,"line":373,"column":4,"endLine":375,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P25563.isGetter = true; +Sprite_bottom__P2075.info = {"start":10262,"length":59,"line":373,"column":4,"endLine":375,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P2075.isGetter = true; -function Sprite_bottom__P25563_mk(s) { +function Sprite_bottom__P2075_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P25563, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P2075, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31205,7 +31701,7 @@ function Sprite_bottom__P25563_mk(s) { -function Sprite_height__P25556(s) { +function Sprite_height__P2068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31220,20 +31716,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25556.info = {"start":8818,"length":54,"line":318,"column":4,"endLine":320,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P25556.isGetter = true; +Sprite_height__P2068.info = {"start":8818,"length":54,"line":318,"column":4,"endLine":320,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P2068.isGetter = true; -function Sprite_height__P25556_mk(s) { +function Sprite_height__P2068_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P25556, depth: s.depth + 1, + parent: s, fn: Sprite_height__P2068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31243,7 +31739,7 @@ function Sprite_height__P25556_mk(s) { -function Sprite_right__P25559(s) { +function Sprite_right__P2071(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31258,8 +31754,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P25557_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P2069_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 270; s.pc = 1; return s.tmp_1; case 1: @@ -31273,13 +31769,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P25559.info = {"start":9458,"length":57,"line":343,"column":4,"endLine":345,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P25559.isGetter = true; +Sprite_right__P2071.info = {"start":9458,"length":57,"line":343,"column":4,"endLine":345,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P2071.isGetter = true; -function Sprite_right__P25559_mk(s) { +function Sprite_right__P2071_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P25559, depth: s.depth + 1, + parent: s, fn: Sprite_right__P2071, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31292,7 +31788,7 @@ function Sprite_right__P25559_mk(s) { -function Sprite_overlapsWith__P25575(s) { +function Sprite_overlapsWith__P2087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31308,7 +31804,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -31341,13 +31837,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P25557_mk(s); + s.tmp_9 = Sprite_left__P2069_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 348; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = Sprite_left__P25557_mk(s); + s.tmp_11 = Sprite_left__P2069_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 349; s.pc = 9; return s.tmp_11; case 9: @@ -31355,13 +31851,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P25561_mk(s); + s.tmp_14 = Sprite_top__P2073_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 350; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; - s.tmp_16 = Sprite_top__P25561_mk(s); + s.tmp_16 = Sprite_top__P2073_mk(s); s.tmp_16.arg0 = s.arg1; s.callLocIdx = 351; s.pc = 11; return s.tmp_16; case 11: @@ -31374,12 +31870,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P25575.info = {"start":24655,"length":448,"line":752,"column":4,"endLine":760,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P2087.info = {"start":24655,"length":448,"line":752,"column":4,"endLine":760,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P25575_mk(s) { +function Sprite_overlapsWith__P2087_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P25575, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P2087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31406,7 +31902,7 @@ function Sprite_overlapsWith__P25575_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P27241(s) { +function ArcadePhysicsEngine_createMovingSprite__P3753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31416,16 +31912,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___37600 = undefined; - s.ovy___37605 = undefined; - s.fx___37632 = undefined; - s.c___37639 = undefined; - s.fy___37682 = undefined; - s.c___37689 = undefined; - s.dx___37728 = undefined; - s.dy___37737 = undefined; - s.xStep___37746 = undefined; - s.yStep___37748 = undefined; + s.ovx___14146 = undefined; + s.ovy___14151 = undefined; + s.fx___14178 = undefined; + s.c___14185 = undefined; + s.fy___14228 = undefined; + s.c___14235 = undefined; + s.dx___14274 = undefined; + s.dy___14283 = undefined; + s.xStep___14292 = undefined; + s.yStep___14294 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31434,23 +31930,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P27246_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P3758_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 486; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___37600 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P27246_mk(s); + s.ovx___14146 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P3758_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 487; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___37605 = (r0); + s.ovy___14151 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -31488,21 +31984,21 @@ switch (step) { r0 = (s.tmp_3 >> 8); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fx___37632 = (r0); + s.fx___14178 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___37632); - s.c___37639 = (r0); - r0 = (s.c___37639 < 0); + r0 = (s.tmp_0 - s.fx___14178); + s.c___14185 = (r0); + r0 = (s.c___14185 < 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__P23652_mk(s); + s.tmp_3 = Fx_min__P164_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___37632); + r0 = (s.tmp_4 + s.fx___14178); s.tmp_3.arg1 = r0; s.callLocIdx = 495; s.pc = 27; return s.tmp_3; case 27: @@ -31511,16 +32007,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___37639 > 0); + r0 = (s.c___14185 > 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__P23653_mk(s); + s.tmp_3 = Fx_max__P165_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___37632); + r0 = (s.tmp_4 - s.fx___14178); s.tmp_3.arg1 = r0; s.callLocIdx = 497; s.pc = 28; return s.tmp_3; case 28: @@ -31566,21 +32062,21 @@ switch (step) { r0 = (s.tmp_3 >> 8); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fy___37682 = (r0); + s.fy___14228 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___37682); - s.c___37689 = (r0); - r0 = (s.c___37689 < 0); + r0 = (s.tmp_0 - s.fy___14228); + s.c___14235 = (r0); + r0 = (s.c___14235 < 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__P23652_mk(s); + s.tmp_3 = Fx_min__P164_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___37682); + r0 = (s.tmp_4 + s.fy___14228); s.tmp_3.arg1 = r0; s.callLocIdx = 505; s.pc = 29; return s.tmp_3; case 29: @@ -31589,16 +32085,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___37689 > 0); + r0 = (s.c___14235 > 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__P23652_mk(s); + s.tmp_3 = Fx_min__P164_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___37682); + r0 = (s.tmp_4 - s.fy___14228); s.tmp_3.arg1 = r0; s.callLocIdx = 507; s.pc = 30; return s.tmp_3; case 30: @@ -31614,7 +32110,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P27246_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P3758_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -31624,7 +32120,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__P27246_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P3758_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -31635,29 +32131,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___37600); + r0 = (s.tmp_2 + s.ovx___14146); 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___37728 = (r0); + s.dx___14274 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovy___37605); + r0 = (s.tmp_2 + s.ovy___14151); 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___37737 = (r0); - s.xStep___37746 = (s.dx___37728); - s.yStep___37748 = (s.dy___37737); + s.dy___14283 = (r0); + s.xStep___14292 = (s.dx___14274); + s.yStep___14294 = (s.dy___14283); case 17: - s.tmp_2 = Fx_abs__P23651_mk(s); - s.tmp_2.arg0 = s.xStep___37746; + s.tmp_2 = Fx_abs__P163_mk(s); + s.tmp_2.arg0 = s.xStep___14292; s.callLocIdx = 516; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -31671,8 +32167,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P23651_mk(s); - s.tmp_5.arg0 = s.yStep___37748; + s.tmp_5 = Fx_abs__P163_mk(s); + s.tmp_5.arg0 = s.yStep___14294; s.callLocIdx = 517; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -31685,8 +32181,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P23651_mk(s); - s.tmp_10.arg0 = s.xStep___37746; + s.tmp_10 = Fx_abs__P163_mk(s); + s.tmp_10.arg0 = s.xStep___14292; s.callLocIdx = 518; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -31697,12 +32193,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___37746, 2); - s.xStep___37746 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___14292, 2); + s.xStep___14292 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P23651_mk(s); - s.tmp_2.arg0 = s.yStep___37748; + s.tmp_2 = Fx_abs__P163_mk(s); + s.tmp_2.arg0 = s.yStep___14294; s.callLocIdx = 520; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -31713,25 +32209,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___37748, 2); - s.yStep___37748 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___14294, 2); + s.yStep___14294 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C25667_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2179_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P25668_mk(s); + s.tmp_1 = MovingSprite_constructor__P2180_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___37728; - s.tmp_1.arg5 = s.dy___37737; - s.tmp_1.arg6 = s.xStep___37746; - s.tmp_1.arg7 = s.yStep___37748; + s.tmp_1.arg4 = s.dx___14274; + s.tmp_1.arg5 = s.dy___14283; + s.tmp_1.arg6 = s.xStep___14292; + s.tmp_1.arg7 = s.yStep___14294; s.callLocIdx = 522; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -31739,12 +32235,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P27241.info = {"start":6649,"length":3065,"line":214,"column":4,"endLine":323,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P3753.info = {"start":6649,"length":3065,"line":214,"column":4,"endLine":323,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P27241_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P3753_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P27241, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P3753, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31758,16 +32254,16 @@ function ArcadePhysicsEngine_createMovingSprite__P27241_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___37600: undefined, - ovy___37605: undefined, - fx___37632: undefined, - c___37639: undefined, - fy___37682: undefined, - c___37689: undefined, - dx___37728: undefined, - dy___37737: undefined, - xStep___37746: undefined, - yStep___37748: undefined, + ovx___14146: undefined, + ovy___14151: undefined, + fx___14178: undefined, + c___14185: undefined, + fy___14228: undefined, + c___14235: undefined, + dx___14274: undefined, + dy___14283: undefined, + xStep___14292: undefined, + yStep___14294: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31778,7 +32274,7 @@ function ArcadePhysicsEngine_createMovingSprite__P27241_mk(s) { -function ArcadePhysicsEngine_constrain__P27246(s) { +function ArcadePhysicsEngine_constrain__P3758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31794,9 +32290,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P23653_mk(s); - s.tmp_1 = Fx_min__P23652_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P165_mk(s); + s.tmp_1 = Fx_min__P164_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -31812,12 +32308,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P27246.info = {"start":25419,"length":191,"line":752,"column":4,"endLine":760,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P3758.info = {"start":25419,"length":191,"line":752,"column":4,"endLine":760,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P27246_mk(s) { +function ArcadePhysicsEngine_constrain__P3758_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P27246, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P3758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31829,7 +32325,7 @@ function ArcadePhysicsEngine_constrain__P27246_mk(s) { -function Fx_max__P23653(s) { +function Fx_max__P165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31860,12 +32356,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P23653.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__P165.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__P23653_mk(s) { +function Fx_max__P165_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P23653, depth: s.depth + 1, + parent: s, fn: Fx_max__P165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31876,7 +32372,7 @@ function Fx_max__P23653_mk(s) { -function Fx_compare__P23650(s) { +function Fx_compare__P162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31895,12 +32391,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P23650.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__P162.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__P23650_mk(s) { +function Fx_compare__P162_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P23650, depth: s.depth + 1, + parent: s, fn: Fx_compare__P162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31910,7 +32406,7 @@ function Fx_compare__P23650_mk(s) { -function sprites_SpriteMap_insertAABB__P25596(s) { +function sprites_SpriteMap_insertAABB__P2108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31920,31 +32416,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___37418 = undefined; - s.top___37421 = undefined; - s.xn___37424 = undefined; - s.yn___37435 = undefined; - s.x___37446 = undefined; - s.y___37451 = undefined; + s.left___13964 = undefined; + s.top___13967 = undefined; + s.xn___13970 = undefined; + s.yn___13981 = undefined; + s.x___13992 = undefined; + s.y___13997 = 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__C25589_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P25557_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2069_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 415; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___37418 = (r0); - s.tmp_0 = Sprite_top__P25561_mk(s); + s.left___13964 = (r0); + s.tmp_0 = Sprite_top__P2073_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 416; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___37421 = (r0); + s.top___13967 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -31958,7 +32454,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___37424 = (r0); + s.xn___13970 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -31972,30 +32468,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___37435 = (r0); - s.x___37446 = (0); + s.yn___13981 = (r0); + s.x___13992 = (0); case 1: - r0 = (s.x___37446 <= s.xn___37424); + r0 = (s.x___13992 <= s.xn___13970); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___37451 = (0); + s.y___13997 = (0); case 2: - r0 = (s.y___37451 <= s.yn___37435); + r0 = (s.y___13997 <= s.yn___13981); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P27211_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P3723_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___37418; - s.tmp_4 = Math_min__P23617_mk(s); + s.tmp_2 = r0 = s.left___13964; + s.tmp_4 = Math_min__P129_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___37446 * s.tmp_6); + r0 = (s.x___13992 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 420; s.pc = 8; return s.tmp_4; case 8: @@ -32003,15 +32499,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___37421; - s.tmp_9 = Math_min__P23617_mk(s); + s.tmp_7 = r0 = s.top___13967; + s.tmp_9 = Math_min__P129_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___37451 * s.tmp_11); + r0 = (s.y___13997 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 422; s.pc = 9; return s.tmp_9; case 9: @@ -32023,24 +32519,24 @@ switch (step) { s.callLocIdx = 423; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___37451 + 1); - s.y___37451 = (r0); + r0 = (s.y___13997 + 1); + s.y___13997 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___37446 + 1); - s.x___37446 = (r0); + r0 = (s.x___13992 + 1); + s.x___13992 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P25596.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__P2108.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__P25596_mk(s) { +function sprites_SpriteMap_insertAABB__P2108_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P25596, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P2108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32054,12 +32550,12 @@ function sprites_SpriteMap_insertAABB__P25596_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___37418: undefined, - top___37421: undefined, - xn___37424: undefined, - yn___37435: undefined, - x___37446: undefined, - y___37451: undefined, + left___13964: undefined, + top___13967: undefined, + xn___13970: undefined, + yn___13981: undefined, + x___13992: undefined, + y___13997: undefined, arg0: undefined, arg1: undefined, } } @@ -32068,7 +32564,7 @@ function sprites_SpriteMap_insertAABB__P25596_mk(s) { -function sprites_SpriteMap_insertAtKey__P27211(s) { +function sprites_SpriteMap_insertAtKey__P3723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32078,8 +32574,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___37486 = undefined; - s.bucket___37491 = undefined; + s.k___14032 = undefined; + s.bucket___14037 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32088,20 +32584,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25589_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P27210_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P3722_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 414; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___37486 = (r0); + s.k___14032 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___37486); - s.bucket___37491 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___37491); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___14032); + s.bucket___14037 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___14037); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -32109,40 +32605,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___37486; + s.tmp_3 = r0 = s.k___14032; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___37491 = (s.tmp_4); + s.bucket___14037 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___37491, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___14037, 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___37491, s.arg3); + r0 = pxsim_Array__push(s.bucket___14037, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P27211.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__P3723.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__P27211_mk(s) { +function sprites_SpriteMap_insertAtKey__P3723_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P27211, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P3723, 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___37486: undefined, - bucket___37491: undefined, + k___14032: undefined, + bucket___14037: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32153,7 +32649,7 @@ function sprites_SpriteMap_insertAtKey__P27211_mk(s) { -function sprites_SpriteMap_clear__P25595(s) { +function sprites_SpriteMap_clear__P2107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32168,7 +32664,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25589_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -32177,12 +32673,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P25595.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__P2107.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__P25595_mk(s) { +function sprites_SpriteMap_clear__P2107_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P25595, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P2107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32193,7 +32689,7 @@ function sprites_SpriteMap_clear__P25595_mk(s) { -function sprites_SpriteMap_resizeBuckets__P25594(s) { +function sprites_SpriteMap_resizeBuckets__P2106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32203,107 +32699,107 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___37523 = undefined; - s.maxHeight___37524 = undefined; - s.sprite___37526 = undefined; - s.unnamed138___U3 = undefined; - s.unnamed139___U4 = undefined; - s.tMap___37542 = undefined; - s.areaWidth___37546 = undefined; - s.areaHeight___37553 = undefined; + s.maxWidth___14069 = undefined; + s.maxHeight___14070 = undefined; + s.sprite___14072 = undefined; + s.unnamed58___U3 = undefined; + s.unnamed59___U4 = undefined; + s.tMap___14088 = undefined; + s.areaWidth___14092 = undefined; + s.areaHeight___14099 = 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__C25589_VT)) failedCast(r0); - s.maxWidth___37523 = (0); - s.maxHeight___37524 = (0); - s.sprite___37526 = (undefined); - s.unnamed138___U3 = (s.arg1); - s.unnamed139___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); + s.maxWidth___14069 = (0); + s.maxHeight___14070 = (0); + s.sprite___14072 = (undefined); + s.unnamed58___U3 = (s.arg1); + s.unnamed59___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed139___U4; - r0 = pxsim_Array__length(s.unnamed138___U3); + s.tmp_0 = r0 = s.unnamed59___U4; + r0 = pxsim_Array__length(s.unnamed58___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed138___U3, s.unnamed139___U4); - s.sprite___37526 = (r0); - r0 = s.sprite___37526.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed58___U3, s.unnamed59___U4); + s.sprite___14072 = (r0); + r0 = s.sprite___14072.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___37523); + r0 = (s.tmp_3 > s.maxWidth___14069); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___37526.fields["_image"]; + r0 = s.sprite___14072.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___37523 = (r0); + s.maxWidth___14069 = (r0); case 2: case 3: - r0 = s.sprite___37526.fields["_image"]; + r0 = s.sprite___14072.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___37524); + r0 = (s.tmp_1 > s.maxHeight___14070); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___37526.fields["_image"]; + r0 = s.sprite___14072.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___37524 = (r0); + s.maxHeight___14070 = (r0); case 4: case 5: - r0 = (s.unnamed139___U4 + 1); - s.unnamed139___U4 = (r0); + r0 = (s.unnamed59___U4 + 1); + s.unnamed59___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed138___U3 = (undefined); - s.tmp_0 = game_currentScene__P26021_mk(s); + s.unnamed58___U3 = (undefined); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 407; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___37542 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___37542); + s.tMap___14088 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___14088); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P25819_mk(s); - s.tmp_0.arg0 = s.tMap___37542; + s.tmp_0 = tiles_TileMap_areaWidth__P2331_mk(s); + s.tmp_0.arg0 = s.tMap___14088; s.callLocIdx = 408; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___37546 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___37542); + s.areaWidth___14092 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___14088); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P25820_mk(s); - s.tmp_0.arg0 = s.tMap___37542; + s.tmp_0 = tiles_TileMap_areaHeight__P2332_mk(s); + s.tmp_0.arg0 = s.tMap___14088; s.callLocIdx = 409; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___37553 = (s.tmp_1); + s.areaHeight___14099 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P23613_mk(s); + s.tmp_2 = Math_clamp__P125_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___37546 >> 2); + r0 = (s.areaWidth___14092 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___37523 * 2); + r0 = (s.maxWidth___14069 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 410; s.pc = 14; return s.tmp_2; case 14: @@ -32311,11 +32807,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__P23613_mk(s); + s.tmp_2 = Math_clamp__P125_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___37553 >> 2); + r0 = (s.areaHeight___14099 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___37524 * 2); + r0 = (s.maxHeight___14070 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 411; s.pc = 15; return s.tmp_2; case 15: @@ -32325,25 +32821,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___37553, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___14099, 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___37546, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___14092, 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__P25594.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__P2106.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__P25594_mk(s) { +function sprites_SpriteMap_resizeBuckets__P2106_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P25594, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P2106, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32351,14 +32847,14 @@ function sprites_SpriteMap_resizeBuckets__P25594_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___37523: undefined, - maxHeight___37524: undefined, - sprite___37526: undefined, - unnamed138___U3: undefined, - unnamed139___U4: undefined, - tMap___37542: undefined, - areaWidth___37546: undefined, - areaHeight___37553: undefined, + maxWidth___14069: undefined, + maxHeight___14070: undefined, + sprite___14072: undefined, + unnamed58___U3: undefined, + unnamed59___U4: undefined, + tMap___14088: undefined, + areaWidth___14092: undefined, + areaHeight___14099: undefined, arg0: undefined, arg1: undefined, } } @@ -32367,7 +32863,7 @@ function sprites_SpriteMap_resizeBuckets__P25594_mk(s) { -function Sprite_clearObstacles__P25579(s) { +function Sprite_clearObstacles__P2091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32382,7 +32878,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -32391,12 +32887,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P25579.info = {"start":27065,"length":54,"line":817,"column":4,"endLine":819,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P2091.info = {"start":27065,"length":54,"line":817,"column":4,"endLine":819,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P25579_mk(s) { +function Sprite_clearObstacles__P2091_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P25579, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P2091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32407,7 +32903,7 @@ function Sprite_clearObstacles__P25579_mk(s) { -function Fx_idiv__P23649(s) { +function Fx_idiv__P161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32426,12 +32922,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P23649.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__P161.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__P23649_mk(s) { +function Fx_idiv__P161_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P23649, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32441,7 +32937,7 @@ function Fx_idiv__P23649_mk(s) { -function Fx_div__P23648(s) { +function Fx_div__P160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32462,12 +32958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P23648.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__P160.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__P23648_mk(s) { +function Fx_div__P160_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P23648, depth: s.depth + 1, + parent: s, fn: Fx_div__P160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32478,7 +32974,7 @@ function Fx_div__P23648_mk(s) { -function helpers_arrayMap__P23593(s) { +function helpers_arrayMap__P105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32488,58 +32984,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___37817 = undefined; - s.len___37819 = undefined; - s.i___37822 = undefined; + s.res___14363 = undefined; + s.len___14365 = undefined; + s.i___14368 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___37817 = (r0); + s.res___14363 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___37819 = (r0); - s.i___37822 = (0); + s.len___14365 = (r0); + s.i___14368 = (0); case 1: - r0 = (s.i___37822 < s.len___37819); + r0 = (s.i___14368 < s.len___14365); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___37817; + s.tmp_1 = r0 = s.res___14363; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___37822); + r0 = pxsim_Array__getAt(s.arg0, s.i___14368); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___37822; + s.tmp_3.arg1 = s.i___14368; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 3; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___37822 + 1); - s.i___37822 = (r0); + r0 = (s.i___14368 + 1); + s.i___14368 = (r0); { step = 1; continue; } case 2: - r0 = s.res___37817; + r0 = s.res___14363; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P23593.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__P105.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__P23593_mk(s) { +function helpers_arrayMap__P105_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P23593, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P105, 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___37817: undefined, - len___37819: undefined, - i___37822: undefined, + res___14363: undefined, + len___14365: undefined, + i___14368: undefined, arg0: undefined, arg1: undefined, } } @@ -32548,7 +33044,7 @@ function helpers_arrayMap__P23593_mk(s) { -function ArcadePhysicsEngine_draw__P25680(s) { +function ArcadePhysicsEngine_draw__P2192(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32563,8 +33059,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P25593_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P2105_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 450; s.pc = 1; return s.tmp_0; @@ -32574,12 +33070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P25680.info = {"start":2627,"length":39,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} +ArcadePhysicsEngine_draw__P2192.info = {"start":2627,"length":39,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} -function ArcadePhysicsEngine_draw__P25680_mk(s) { +function ArcadePhysicsEngine_draw__P2192_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P25680, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P2192, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32589,7 +33085,7 @@ function ArcadePhysicsEngine_draw__P25680_mk(s) { -function sprites_SpriteMap_draw__P25593(s) { +function sprites_SpriteMap_draw__P2105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32599,70 +33095,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___37849 = undefined; - s.y___37855 = undefined; - s.left___37861 = undefined; - s.top___37866 = undefined; - s.k___37871 = undefined; - s.b___37876 = undefined; + s.x___14395 = undefined; + s.y___14401 = undefined; + s.left___14407 = undefined; + s.top___14412 = undefined; + s.k___14417 = undefined; + s.b___14422 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C25589_VT)) failedCast(r0); - s.x___37849 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C2101_VT)) failedCast(r0); + s.x___14395 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___37849 < s.tmp_1); + r0 = (s.x___14395 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___37855 = (0); + s.y___14401 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___37855 < s.tmp_1); + r0 = (s.y___14401 < 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___37849 * s.tmp_2); - s.left___37861 = (r0); + r0 = (s.x___14395 * s.tmp_2); + s.left___14407 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___37855 * s.tmp_0); - s.top___37866 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P27210_mk(s); + r0 = (s.y___14401 * s.tmp_0); + s.top___14412 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P3722_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___37861; - s.tmp_0.arg2 = s.top___37866; + s.tmp_0.arg1 = s.left___14407; + s.tmp_0.arg2 = s.top___14412; s.callLocIdx = 401; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___37871 = (r0); + s.k___14417 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___37871); - s.b___37876 = (r0); - s.tmp_0 = r0 = s.b___37876; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___14417); + s.b___14422 = (r0); + s.tmp_0 = r0 = s.b___14422; 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___37876); + r0 = pxsim_Array__length(s.b___14422); 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__P25222_mk(s); - s.tmp_2.arg0 = globals.screen___25293; - s.tmp_2.arg1 = s.left___37861; - s.tmp_2.arg2 = s.top___37866; + s.tmp_2 = helpers_imageDrawRect__P1734_mk(s); + s.tmp_2.arg0 = globals.screen___1805; + s.tmp_2.arg1 = s.left___14407; + s.tmp_2.arg2 = s.top___14412; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -32673,34 +33169,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___37855 + 1); - s.y___37855 = (r0); + r0 = (s.y___14401 + 1); + s.y___14401 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___37849 + 1); - s.x___37849 = (r0); + r0 = (s.x___14395 + 1); + s.x___14395 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P25593.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__P2105.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__P25593_mk(s) { +function sprites_SpriteMap_draw__P2105_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P25593, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P2105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___37849: undefined, - y___37855: undefined, - left___37861: undefined, - top___37866: undefined, - k___37871: undefined, - b___37876: undefined, + x___14395: undefined, + y___14401: undefined, + left___14407: undefined, + top___14412: undefined, + k___14417: undefined, + b___14422: undefined, arg0: undefined, } } @@ -32708,7 +33204,7 @@ function sprites_SpriteMap_draw__P25593_mk(s) { -function ArcadePhysicsEngine_removeSprite__P25679(s) { +function ArcadePhysicsEngine_removeSprite__P2191(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32724,7 +33220,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -32732,12 +33228,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P25679.info = {"start":2541,"length":80,"line":102,"column":4,"endLine":104,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_removeSprite__P2191.info = {"start":2541,"length":80,"line":102,"column":4,"endLine":104,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_removeSprite__P25679_mk(s) { +function ArcadePhysicsEngine_removeSprite__P2191_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P25679, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P2191, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32748,7 +33244,7 @@ function ArcadePhysicsEngine_removeSprite__P25679_mk(s) { -function ArcadePhysicsEngine_addSprite__P25678(s) { +function ArcadePhysicsEngine_addSprite__P2190(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32758,31 +33254,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___37913 = undefined; + s.tm___14459 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C25669_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2181_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__P26021_mk(s); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 448; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___37913 = (r0); - s.tmp_0 = r0 = s.tm___37913; + s.tm___14459 = (r0); + s.tmp_0 = r0 = s.tm___14459; 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__P25834_mk(s); - s.tmp_1.arg0 = s.tm___37913; + s.tmp_1 = tiles_TileMap_isOnWall__P2346_mk(s); + s.tmp_1.arg0 = s.tm___14459; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 449; s.pc = 6; return s.tmp_1; case 6: @@ -32804,12 +33300,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P25678.info = {"start":2315,"length":220,"line":94,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_addSprite__P2190.info = {"start":2315,"length":220,"line":94,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_addSprite__P25678_mk(s) { +function ArcadePhysicsEngine_addSprite__P2190_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P25678, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P2190, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32817,7 +33313,7 @@ function ArcadePhysicsEngine_addSprite__P25678_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___37913: undefined, + tm___14459: undefined, arg0: undefined, arg1: undefined, } } @@ -32826,7 +33322,7 @@ function ArcadePhysicsEngine_addSprite__P25678_mk(s) { -function tiles_TileMapData_constructor__P25801(s) { +function tiles_TileMapData_constructor__P2313(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32845,11 +33341,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25800_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2312_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__P25805_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P2317_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 686; s.pc = 1; return s.tmp_0; @@ -32867,12 +33363,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P25801.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__P2313.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__P25801_mk(s) { +function tiles_TileMapData_constructor__P2313_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P25801, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P2313, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32887,7 +33383,7 @@ function tiles_TileMapData_constructor__P25801_mk(s) { -function tiles_TileMapData_scale__P25805(s) { +function tiles_TileMapData_scale__P2317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32903,7 +33399,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C25800_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2312_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -32913,12 +33409,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P25805.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__P2317.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__P25805_mk(s) { +function tiles_TileMapData_scale__P2317_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P25805, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P2317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32930,7 +33426,7 @@ function tiles_TileMapData_scale__P25805_mk(s) { -function tiles_TileMap_constructor__P25814(s) { +function tiles_TileMap_constructor__P2326(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32946,18 +33442,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P25816_mk(s); + s.tmp_0 = tiles_TileMap_scale__P2328_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 692; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P37972); + r0 = pxsim_pxtcore_mkAction(1, inline__P14518); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = scene_createRenderable__P25872_mk(s); + s.tmp_1 = scene_createRenderable__P2384_mk(s); s.tmp_1.arg0 = -1; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; @@ -32968,12 +33464,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P25814.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__P2326.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__P25814_mk(s) { +function tiles_TileMap_constructor__P2326_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P25814, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P2326, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32985,7 +33481,7 @@ function tiles_TileMap_constructor__P25814_mk(s) { -function inline__P37972(s) { +function inline__P14518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33000,7 +33496,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P27314_mk(s); + s.tmp_0 = tiles_TileMap_draw__P3826_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -33011,12 +33507,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P37972.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__P14518.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__P37972_mk(s) { +function inline__P14518_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P37972, depth: s.depth + 1, + parent: s, fn: inline__P14518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33027,7 +33523,7 @@ function inline__P37972_mk(s) { -function tiles_TileMap_draw__P27314(s) { +function tiles_TileMap_draw__P3826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33037,21 +33533,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___37983 = undefined; - s.offsetX___37989 = undefined; - s.offsetY___37994 = undefined; - s.x0___37999 = undefined; - s.xn___38006 = undefined; - s.y0___38023 = undefined; - s.yn___38030 = undefined; - s.x___38047 = undefined; - s.y___38053 = undefined; - s.index___38059 = undefined; - s.tile___38066 = undefined; - s.x___38102 = undefined; - s.xLine___38108 = undefined; - s.y___38134 = undefined; - s.yLine___38140 = undefined; + s.bitmask___14529 = undefined; + s.offsetX___14535 = undefined; + s.offsetY___14540 = undefined; + s.x0___14545 = undefined; + s.xn___14552 = undefined; + s.y0___14569 = undefined; + s.yn___14576 = undefined; + s.x___14593 = undefined; + s.y___14599 = undefined; + s.index___14605 = undefined; + s.tile___14612 = undefined; + s.x___14648 = undefined; + s.xLine___14654 = undefined; + s.y___14680 = undefined; + s.yLine___14686 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33059,7 +33555,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -33084,16 +33580,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___37983 = (r0); + s.bitmask___14529 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___37983); - s.offsetX___37989 = (r0); + r0 = (s.tmp_0 & s.bitmask___14529); + s.offsetX___14535 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___37983); - s.offsetY___37994 = (r0); - s.tmp_0 = Math_max__P23616_mk(s); + r0 = (s.tmp_0 & s.bitmask___14529); + s.offsetY___14540 = (r0); + s.tmp_0 = Math_max__P128_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -33104,8 +33600,8 @@ switch (step) { s.callLocIdx = 712; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___37999 = (r0); - s.tmp_0 = Math_min__P23617_mk(s); + s.x0___14545 = (r0); + s.tmp_0 = Math_min__P129_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -33125,8 +33621,8 @@ switch (step) { s.callLocIdx = 715; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___38006 = (r0); - s.tmp_0 = Math_max__P23616_mk(s); + s.xn___14552 = (r0); + s.tmp_0 = Math_max__P128_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -33137,8 +33633,8 @@ switch (step) { s.callLocIdx = 717; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___38023 = (r0); - s.tmp_0 = Math_min__P23617_mk(s); + s.y0___14569 = (r0); + s.tmp_0 = Math_min__P129_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -33158,92 +33654,92 @@ switch (step) { s.callLocIdx = 720; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___38030 = (r0); - s.x___38047 = (s.x0___37999); + s.yn___14576 = (r0); + s.x___14593 = (s.x0___14545); case 3: - r0 = (s.x___38047 <= s.xn___38006); + r0 = (s.x___14593 <= s.xn___14552); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___38053 = (s.y0___38023); + s.y___14599 = (s.y0___14569); case 4: - r0 = (s.y___38053 <= s.yn___38030); + r0 = (s.y___14599 <= s.yn___14576); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P25806_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P2318_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___38047; - s.tmp_1.arg2 = s.y___38053; + s.tmp_1.arg1 = s.x___14593; + s.tmp_1.arg2 = s.y___14599; s.callLocIdx = 721; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___38059 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P25809_mk(s); + s.index___14605 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P2321_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___38059; + s.tmp_0.arg1 = s.index___14605; s.callLocIdx = 722; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___38066 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___38066); + s.tile___14612 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___14612); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___38066; - r0 = (s.x___38047 - s.x0___37999); + s.tmp_1 = r0 = s.tile___14612; + r0 = (s.x___14593 - s.x0___14545); 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___37989); + r0 = (s.tmp_3 - s.offsetX___14535); s.tmp_2 = r0; - r0 = (s.y___38053 - s.y0___38023); + r0 = (s.y___14599 - s.y0___14569); 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___37994); + r0 = (s.tmp_7 - s.offsetY___14540); 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___38053 + 1); - s.y___38053 = (r0); + r0 = (s.y___14599 + 1); + s.y___14599 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___38047 + 1); - s.x___38047 = (r0); + r0 = (s.x___14593 + 1); + s.x___14593 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___26017); + r0 = pxsim_numops_toBoolDecr(globals.debug___2529); if (!r0) { step = 21; continue; } - s.x___38102 = (s.x0___37999); + s.x___14648 = (s.x0___14545); case 9: - r0 = (s.x___38102 <= s.xn___38006); + r0 = (s.x___14648 <= s.xn___14552); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___38102 - s.x0___37999); + r0 = (s.x___14648 - s.x0___14545); 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___37989); - s.xLine___38108 = (r0); - r0 = (s.xLine___38108 >= 0); + r0 = (s.tmp_1 - s.offsetX___14535); + s.xLine___14654 = (r0); + r0 = (s.xLine___14654 >= 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___38108; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + s.tmp_1 = r0 = s.xLine___14654; + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -33251,11 +33747,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P25221_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1733_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___38108; + s.tmp_4.arg1 = s.xLine___14654; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___38108; + s.tmp_4.arg3 = s.xLine___14654; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -33264,33 +33760,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___38102 + 1); - s.x___38102 = (r0); + r0 = (s.x___14648 + 1); + s.x___14648 = (r0); { step = 9; continue; } case 14: - s.y___38134 = (s.y0___38023); + s.y___14680 = (s.y0___14569); case 15: - r0 = (s.y___38134 <= s.yn___38030); + r0 = (s.y___14680 <= s.yn___14576); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___38134 - s.y0___38023); + r0 = (s.y___14680 - s.y0___14569); 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___37994); - s.yLine___38140 = (r0); - r0 = (s.yLine___38140 >= 0); + r0 = (s.tmp_1 - s.offsetY___14540); + s.yLine___14686 = (r0); + r0 = (s.yLine___14686 >= 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___38140; - r0 = pxsim_ImageMethods.height(globals.screen___25293); + s.tmp_1 = r0 = s.yLine___14686; + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -33298,21 +33794,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P25221_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1733_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___38140; + s.tmp_4.arg2 = s.yLine___14686; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___38140; + s.tmp_4.arg4 = s.yLine___14686; s.tmp_4.arg5 = 1; s.callLocIdx = 728; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___38134 + 1); - s.y___38134 = (r0); + r0 = (s.y___14680 + 1); + s.y___14680 = (r0); { step = 15; continue; } case 20: case 21: @@ -33322,12 +33818,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P27314.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__P3826.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__P27314_mk(s) { +function tiles_TileMap_draw__P3826_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P27314, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P3826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33339,21 +33835,21 @@ function tiles_TileMap_draw__P27314_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___37983: undefined, - offsetX___37989: undefined, - offsetY___37994: undefined, - x0___37999: undefined, - xn___38006: undefined, - y0___38023: undefined, - yn___38030: undefined, - x___38047: undefined, - y___38053: undefined, - index___38059: undefined, - tile___38066: undefined, - x___38102: undefined, - xLine___38108: undefined, - y___38134: undefined, - yLine___38140: undefined, + bitmask___14529: undefined, + offsetX___14535: undefined, + offsetY___14540: undefined, + x0___14545: undefined, + xn___14552: undefined, + y0___14569: undefined, + yn___14576: undefined, + x___14593: undefined, + y___14599: undefined, + index___14605: undefined, + tile___14612: undefined, + x___14648: undefined, + xLine___14654: undefined, + y___14680: undefined, + yLine___14686: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33363,7 +33859,7 @@ function tiles_TileMap_draw__P27314_mk(s) { -function tiles_TileMap_scale__P25816(s) { +function tiles_TileMap_scale__P2328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33379,13 +33875,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_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__P25805_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P2317_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -33398,12 +33894,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P25816.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__P2328.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__P25816_mk(s) { +function tiles_TileMap_scale__P2328_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P25816, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P2328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33415,7 +33911,7 @@ function tiles_TileMap_scale__P25816_mk(s) { -function tiles_TileMap_data__P27312(s) { +function tiles_TileMap_data__P3824(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33430,18 +33926,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C25813_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2325_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P27312.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__P27312.isGetter = true; +tiles_TileMap_data__P3824.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__P3824.isGetter = true; -function tiles_TileMap_data__P27312_mk(s) { +function tiles_TileMap_data__P3824_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P27312, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P3824, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33450,7 +33946,7 @@ function tiles_TileMap_data__P27312_mk(s) { -function Sprite_toString__P25585(s) { +function Sprite_toString__P2097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33465,7 +33961,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -33483,7 +33979,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P25520_mk(s); + s.tmp_14 = Sprite_x__P2032_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 382; s.pc = 2; return s.tmp_14; case 2: @@ -33502,7 +33998,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P25522_mk(s); + s.tmp_17 = Sprite_y__P2034_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 383; s.pc = 4; return s.tmp_17; case 4: @@ -33521,7 +34017,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P25524_mk(s); + s.tmp_20 = Sprite_vx__P2036_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 384; s.pc = 6; return s.tmp_20; case 6: @@ -33540,7 +34036,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P25526_mk(s); + s.tmp_23 = Sprite_vy__P2038_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 385; s.pc = 8; return s.tmp_23; case 8: @@ -33561,12 +34057,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P25585.info = {"start":33562,"length":93,"line":988,"column":4,"endLine":990,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P2097.info = {"start":33562,"length":93,"line":988,"column":4,"endLine":990,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P25585_mk(s) { +function Sprite_toString__P2097_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P25585, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P2097, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33599,7 +34095,7 @@ function Sprite_toString__P25585_mk(s) { -function Sprite___update__P25573(s) { +function Sprite___update__P2085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33609,8 +34105,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___38239 = undefined; - s.tm___38244 = undefined; + s.bounce___14785 = undefined; + s.tm___14790 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33618,7 +34114,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -33640,7 +34136,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__P25583_mk(s); + s.tmp_0 = Sprite__destroyCore__P2095_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 318; s.pc = 33; return s.tmp_0; case 33: @@ -33658,7 +34154,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P25571_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P2083_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 319; s.pc = 34; return s.tmp_2; @@ -33669,7 +34165,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P25582_mk(s); + s.tmp_4 = Sprite_destroy__P2094_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -33681,13 +34177,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___38239 = (r0); - s.tmp_0 = game_currentScene__P26021_mk(s); + s.bounce___14785 = (r0); + s.tmp_0 = game_currentScene__P2533_mk(s); s.callLocIdx = 321; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___38244 = (r0); + s.tm___14790 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -33697,13 +34193,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___38239; + s.tmp_2 = r0 = s.bounce___14785; 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___38244); + r0 = pxsim_numops_toBoolDecr(s.tm___14790); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -33715,7 +34211,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P25557_mk(s); + s.tmp_8 = Sprite_left__P2069_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 322; s.pc = 37; return s.tmp_8; case 37: @@ -33727,18 +34223,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P25558_mk(s); + s.tmp_10 = Sprite_left__P2070_mk(s); s.tmp_10.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_10.arg1 = r0; s.callLocIdx = 325; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___38239); + r0 = pxsim_numops_toBoolDecr(s.bounce___14785); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P25525_mk(s); + s.tmp_0 = Sprite_vx__P2037_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P25524_mk(s); + s.tmp_2 = Sprite_vx__P2036_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 326; s.pc = 40; return s.tmp_2; case 40: @@ -33753,7 +34249,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P25559_mk(s); + s.tmp_2 = Sprite_right__P2071_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 328; s.pc = 41; return s.tmp_2; case 41: @@ -33761,7 +34257,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -33769,22 +34265,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P25560_mk(s); + s.tmp_6 = Sprite_right__P2072_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 331; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___38239); + r0 = pxsim_numops_toBoolDecr(s.bounce___14785); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P25525_mk(s); + s.tmp_0 = Sprite_vx__P2037_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P25524_mk(s); + s.tmp_2 = Sprite_vx__P2036_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 332; s.pc = 44; return s.tmp_2; case 44: @@ -33800,7 +34296,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P25561_mk(s); + s.tmp_2 = Sprite_top__P2073_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 334; s.pc = 45; return s.tmp_2; case 45: @@ -33812,18 +34308,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P25562_mk(s); + s.tmp_4 = Sprite_top__P2074_mk(s); s.tmp_4.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4.arg1 = r0; s.callLocIdx = 337; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___38239); + r0 = pxsim_numops_toBoolDecr(s.bounce___14785); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P25527_mk(s); + s.tmp_0 = Sprite_vy__P2039_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P25526_mk(s); + s.tmp_2 = Sprite_vy__P2038_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 338; s.pc = 48; return s.tmp_2; case 48: @@ -33838,7 +34334,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P25563_mk(s); + s.tmp_2 = Sprite_bottom__P2075_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 340; s.pc = 49; return s.tmp_2; case 49: @@ -33846,7 +34342,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -33854,22 +34350,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P25564_mk(s); + s.tmp_6 = Sprite_bottom__P2076_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 343; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___38239); + r0 = pxsim_numops_toBoolDecr(s.bounce___14785); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P25527_mk(s); + s.tmp_0 = Sprite_vy__P2039_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P25526_mk(s); + s.tmp_2 = Sprite_vy__P2038_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 344; s.pc = 52; return s.tmp_2; case 52: @@ -33912,12 +34408,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P25573.info = {"start":22432,"length":1390,"line":686,"column":4,"endLine":725,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P2085.info = {"start":22432,"length":1390,"line":686,"column":4,"endLine":725,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P25573_mk(s) { +function Sprite___update__P2085_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P25573, depth: s.depth + 1, + parent: s, fn: Sprite___update__P2085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33930,8 +34426,8 @@ function Sprite___update__P25573_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___38239: undefined, - tm___38244: undefined, + bounce___14785: undefined, + tm___14790: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33941,7 +34437,7 @@ function Sprite___update__P25573_mk(s) { -function Sprite_isOutOfScreen__P25571(s) { +function Sprite_isOutOfScreen__P2083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33951,15 +34447,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___38333 = undefined; - s.oy___38341 = undefined; + s.ox___14879 = undefined; + s.oy___14887 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -33973,7 +34469,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___38333 = (s.tmp_2); + s.ox___14879 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -33987,14 +34483,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___38341 = (s.tmp_2); - s.tmp_3 = Sprite_right__P25559_mk(s); + s.oy___14887 = (s.tmp_2); + s.tmp_3 = Sprite_right__P2071_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 287; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___38333); + r0 = (s.tmp_2 - s.ox___14879); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -34003,13 +34499,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P25563_mk(s); + s.tmp_6 = Sprite_bottom__P2075_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 288; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___38341); + r0 = (s.tmp_5 - s.oy___14887); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -34020,15 +34516,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P25557_mk(s); + s.tmp_10 = Sprite_left__P2069_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 289; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___38333); + r0 = (s.tmp_9 - s.ox___14879); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -34039,15 +34535,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P25561_mk(s); + s.tmp_15 = Sprite_top__P2073_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 290; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___38341); + r0 = (s.tmp_14 - s.oy___14887); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -34057,12 +34553,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P25571.info = {"start":20679,"length":358,"line":640,"column":4,"endLine":644,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P2083.info = {"start":20679,"length":358,"line":640,"column":4,"endLine":644,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P25571_mk(s) { +function Sprite_isOutOfScreen__P2083_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P25571, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P2083, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34082,8 +34578,8 @@ function Sprite_isOutOfScreen__P25571_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___38333: undefined, - oy___38341: undefined, + ox___14879: undefined, + oy___14887: undefined, arg0: undefined, arg1: undefined, } } @@ -34092,7 +34588,7 @@ function Sprite_isOutOfScreen__P25571_mk(s) { -function Sprite_bottom__P25564(s) { +function Sprite_bottom__P2076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34108,8 +34604,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P25562_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2074_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -34125,12 +34621,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P25564.info = {"start":10414,"length":73,"line":378,"column":4,"endLine":380,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P2076.info = {"start":10414,"length":73,"line":378,"column":4,"endLine":380,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P25564_mk(s) { +function Sprite_bottom__P2076_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P25564, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P2076, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34144,7 +34640,7 @@ function Sprite_bottom__P25564_mk(s) { -function Sprite_right__P25560(s) { +function Sprite_right__P2072(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34160,8 +34656,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P25558_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2070_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -34177,12 +34673,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P25560.info = {"start":9607,"length":71,"line":348,"column":4,"endLine":350,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P2072.info = {"start":9607,"length":71,"line":348,"column":4,"endLine":350,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P25560_mk(s) { +function Sprite_right__P2072_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P25560, depth: s.depth + 1, + parent: s, fn: Sprite_right__P2072, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34196,7 +34692,7 @@ function Sprite_right__P25560_mk(s) { -function Sprite_width__P25555(s) { +function Sprite_width__P2067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34211,20 +34707,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_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__P25555.info = {"start":8673,"length":52,"line":313,"column":4,"endLine":315,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P25555.isGetter = true; +Sprite_width__P2067.info = {"start":8673,"length":52,"line":313,"column":4,"endLine":315,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P2067.isGetter = true; -function Sprite_width__P25555_mk(s) { +function Sprite_width__P2067_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P25555, depth: s.depth + 1, + parent: s, fn: Sprite_width__P2067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34234,7 +34730,7 @@ function Sprite_width__P25555_mk(s) { -function Sprite_data__P25537(s) { +function Sprite_data__P2049(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34250,18 +34746,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P25537.info = {"start":4471,"length":56,"line":169,"column":4,"endLine":171,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P2049.info = {"start":4471,"length":56,"line":169,"column":4,"endLine":171,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P25537_mk(s) { +function Sprite_data__P2049_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P25537, depth: s.depth + 1, + parent: s, fn: Sprite_data__P2049, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34271,7 +34767,7 @@ function Sprite_data__P25537_mk(s) { -function Sprite_data__P25536(s) { +function Sprite_data__P2048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34286,7 +34782,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -34305,13 +34801,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P25536.info = {"start":4373,"length":92,"line":164,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P25536.isGetter = true; +Sprite_data__P2048.info = {"start":4373,"length":92,"line":164,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P2048.isGetter = true; -function Sprite_data__P25536_mk(s) { +function Sprite_data__P2048_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P25536, depth: s.depth + 1, + parent: s, fn: Sprite_data__P2048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34325,7 +34821,7 @@ function Sprite_data__P25536_mk(s) { -function scene_BackgroundLayer_constructor__P25778(s) { +function scene_BackgroundLayer_constructor__P2290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34343,9 +34839,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C25771_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C2283_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P23616_mk(s); + s.tmp_2 = Math_max__P128_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 680; s.pc = 7; return s.tmp_2; @@ -34391,12 +34887,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P25778.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__P2290.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__P25778_mk(s) { +function scene_BackgroundLayer_constructor__P2290_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P25778, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P2290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34411,7 +34907,7 @@ function scene_BackgroundLayer_constructor__P25778_mk(s) { -function scene_Camera_y__P25859(s) { +function scene_Camera_y__P2371(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34426,10 +34922,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2361_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___25293); + r0 = pxsim_ImageMethods.height(globals.screen___1805); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -34437,13 +34933,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P25859.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__P25859.isGetter = true; +scene_Camera_y__P2371.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__P2371.isGetter = true; -function scene_Camera_y__P25859_mk(s) { +function scene_Camera_y__P2371_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P25859, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P2371, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34455,7 +34951,7 @@ function scene_Camera_y__P25859_mk(s) { -function scene_Camera_x__P25858(s) { +function scene_Camera_x__P2370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34470,10 +34966,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2361_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___25293); + r0 = pxsim_ImageMethods.width(globals.screen___1805); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -34481,13 +34977,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P25858.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__P25858.isGetter = true; +scene_Camera_x__P2370.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__P2370.isGetter = true; -function scene_Camera_x__P25858_mk(s) { +function scene_Camera_x__P2370_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P25858, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P2370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34499,7 +34995,7 @@ function scene_Camera_x__P25858_mk(s) { -function particles_ParticleSource___draw__P26173(s) { +function particles_ParticleSource___draw__P2685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34509,18 +35005,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___38456 = undefined; - s.left___38459 = undefined; - s.top___38469 = undefined; + s.current___15002 = undefined; + s.left___15005 = undefined; + s.top___15015 = 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__C26167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___38456 = (r0); + s.current___15002 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -34538,7 +35034,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___38459 = (s.tmp_4); + s.left___15005 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -34556,49 +35052,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___38469 = (s.tmp_4); + s.top___15015 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___38456); + r0 = pxsim_numops_toBoolDecr(s.current___15002); if (!r0) { step = 8; continue; } - r0 = s.current___38456.fields["lifespan"]; + r0 = s.current___15002.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__P27723_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P4235_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___38456; - s.tmp_2.arg2 = s.left___38459; - s.tmp_2.arg3 = s.top___38469; - s.callLocIdx = 1021; s.pc = 9; return s.tmp_2; + s.tmp_2.arg1 = s.current___15002; + s.tmp_2.arg2 = s.left___15005; + s.tmp_2.arg3 = s.top___15015; + s.callLocIdx = 1023; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___38456.fields["next"]; - s.current___38456 = (r0); + r0 = s.current___15002.fields["next"]; + s.current___15002 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P26173.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__P2685.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__P26173_mk(s) { +function particles_ParticleSource___draw__P2685_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P26173, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P2685, 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___38456: undefined, - left___38459: undefined, - top___38469: undefined, + current___15002: undefined, + left___15005: undefined, + top___15015: undefined, arg0: undefined, arg1: undefined, } } @@ -34607,7 +35103,7 @@ function particles_ParticleSource___draw__P26173_mk(s) { -function particles_ParticleSource_drawParticle__P27723(s) { +function particles_ParticleSource_drawParticle__P4235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34625,8 +35121,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C26167_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C26203_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C2679_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C2715_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -34638,7 +35134,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__C26203_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C2715_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: @@ -34647,12 +35143,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P27723.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__P4235.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__P27723_mk(s) { +function particles_ParticleSource_drawParticle__P4235_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P27723, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P4235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34667,7 +35163,7 @@ function particles_ParticleSource_drawParticle__P27723_mk(s) { -function particles_ParticleFactory_drawParticle__P26206(s) { +function particles_ParticleFactory_drawParticle__P2718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34685,8 +35181,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C26203_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___25293; + if (!checkSubtype(r0, particles_ParticleFactory__C2715_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___1805; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -34700,12 +35196,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P26206.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__P2718.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__P26206_mk(s) { +function particles_ParticleFactory_drawParticle__P2718_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P26206, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P2718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34722,7 +35218,7 @@ function particles_ParticleFactory_drawParticle__P26206_mk(s) { -function sprites_BaseSprite___update__P25357(s) { +function sprites_BaseSprite___update__P1869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34739,17 +35235,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25349_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1861_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P25357.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__P1869.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__P25357_mk(s) { +function sprites_BaseSprite___update__P1869_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P25357, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P1869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34760,7 +35256,7 @@ function sprites_BaseSprite___update__P25357_mk(s) { -function sprites_BaseSprite___draw__P25355(s) { +function sprites_BaseSprite___draw__P1867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34776,10 +35272,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25349_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C25349_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C1861_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C1861_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C25349_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C1861_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: @@ -34787,10 +35283,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C25349_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C1861_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C25349_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C1861_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: @@ -34801,12 +35297,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P25355.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__P1867.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__P25355_mk(s) { +function sprites_BaseSprite___draw__P1867_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P25355, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P1867, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34819,7 +35315,7 @@ function sprites_BaseSprite___draw__P25355_mk(s) { -function sprites_BaseSprite___drawCore__P25356(s) { +function sprites_BaseSprite___drawCore__P1868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34835,17 +35331,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25349_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1861_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P25356.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__P1868.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__P25356_mk(s) { +function sprites_BaseSprite___drawCore__P1868_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P25356, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P1868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34855,7 +35351,7 @@ function sprites_BaseSprite___drawCore__P25356_mk(s) { -function sprites_BaseSprite___visible__P25352(s) { +function sprites_BaseSprite___visible__P1864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34870,17 +35366,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C25349_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1861_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P25352.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__P1864.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__P25352_mk(s) { +function sprites_BaseSprite___visible__P1864_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P25352, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P1864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -34889,7 +35385,7 @@ function sprites_BaseSprite___visible__P25352_mk(s) { -function particles_ShapeFactory_createParticle__P26233(s) { +function particles_ShapeFactory_createParticle__P2745(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34899,47 +35395,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___38531 = undefined; + s.p___15077 = 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__C26229_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P26219_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C2741_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P2731_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1115; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1117; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___38531 = (r0); - s.tmp_0 = r0 = s.p___38531; - s.tmp_2 = Math_FastRandom_randomRange__P26079_mk(s); + s.p___15077 = (r0); + s.tmp_0 = r0 = s.p___15077; + s.tmp_2 = Math_FastRandom_randomRange__P2591_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; s.tmp_2.arg2 = 14; - s.callLocIdx = 1116; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1118; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___38531; + r0 = s.p___15077; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P26233.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__P2745.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__P26233_mk(s) { +function particles_ShapeFactory_createParticle__P2745_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P26233, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P2745, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___38531: undefined, + p___15077: undefined, arg0: undefined, arg1: undefined, } } @@ -34948,7 +35444,7 @@ function particles_ShapeFactory_createParticle__P26233_mk(s) { -function particles_AreaFactory_createParticle__P26219(s) { +function particles_AreaFactory_createParticle__P2731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34958,42 +35454,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___38543 = undefined; + s.p___15089 = 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__C26213_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P26209_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C2725_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P2721_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1097; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1099; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___38543 = (r0); - s.tmp_0 = r0 = s.p___38543; - s.tmp_2 = Math_FastRandom_randomRange__P26079_mk(s); + s.p___15089 = (r0); + s.tmp_0 = r0 = s.p___15089; + s.tmp_2 = Math_FastRandom_randomRange__P2591_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; s.tmp_2.arg1 = r0; r0 = s.arg0.fields["maxLifespan"]; s.tmp_2.arg2 = r0; - s.callLocIdx = 1098; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1100; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___38543; - s.tmp_4 = Math_FastRandom_randomRange__P26079_mk(s); + s.tmp_0 = r0 = s.p___15089; + s.tmp_4 = Math_FastRandom_randomRange__P2591_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; r0 = s.arg0.fields["xRange"]; s.tmp_4.arg2 = r0; - s.callLocIdx = 1099; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1101; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -35003,7 +35499,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___38543.fields["_x"]; + r0 = s.p___15089.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -35018,7 +35514,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["height"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["height"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1102; s.pc = 6; return s.tmp_1; } + else { s.callLocIdx = 1104; s.pc = 6; return s.tmp_1; } } case 6: r0 = s.retval; @@ -35033,7 +35529,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["height"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["height"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1103; s.pc = 7; return s.tmp_3; } + else { s.callLocIdx = 1105; s.pc = 7; return s.tmp_3; } } case 7: r0 = s.retval; @@ -35045,36 +35541,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___38543; - s.tmp_9 = Math_FastRandom_randomRange__P26079_mk(s); + s.tmp_5 = r0 = s.p___15089; + s.tmp_9 = Math_FastRandom_randomRange__P2591_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; r0 = s.arg0.fields["yRange"]; s.tmp_9.arg2 = r0; - s.callLocIdx = 1101; s.pc = 8; return s.tmp_9; + s.callLocIdx = 1103; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___38543.fields["_y"]; + r0 = s.p___15089.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___38543; + r0 = s.p___15089; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P26219.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__P2731.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__P26219_mk(s) { +function particles_AreaFactory_createParticle__P2731_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P26219, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P2731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35088,7 +35584,7 @@ function particles_AreaFactory_createParticle__P26219_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___38543: undefined, + p___15089: undefined, arg0: undefined, arg1: undefined, } } @@ -35097,7 +35593,7 @@ function particles_AreaFactory_createParticle__P26219_mk(s) { -function particles_SprayFactory_createParticle__P26209(s) { +function particles_SprayFactory_createParticle__P2721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35107,39 +35603,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___38591 = undefined; - s.angle___38595 = undefined; + s.p___15137 = undefined; + s.angle___15141 = 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__C26207_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P26205_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C2719_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P2717_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1086; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1088; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___38591 = (r0); + s.p___15137 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P26079_mk(s); - s.tmp_3.arg0 = globals.galois___27737; + s.tmp_3 = Math_FastRandom_randomRange__P2591_mk(s); + s.tmp_3.arg0 = globals.galois___4249; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1087; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1089; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___38595 = (r0); - s.tmp_0 = r0 = s.p___38591; - r0 = pxsim_Array__getAt(globals.cachedSin___27732, s.angle___38595); + s.angle___15141 = (r0); + s.tmp_0 = r0 = s.p___15137; + r0 = pxsim_Array__getAt(globals.cachedSin___4244, s.angle___15141); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -35148,8 +35644,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___38591; - r0 = pxsim_Array__getAt(globals.cachedCos___27733, s.angle___38595); + s.tmp_0 = r0 = s.p___15137; + r0 = pxsim_Array__getAt(globals.cachedCos___4245, s.angle___15141); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -35158,24 +35654,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___38591; + r0 = s.p___15137; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P26209.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__P2721.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__P26209_mk(s) { +function particles_SprayFactory_createParticle__P2721_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P26209, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P2721, 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___38591: undefined, - angle___38595: undefined, + p___15137: undefined, + angle___15141: undefined, arg0: undefined, arg1: undefined, } } @@ -35184,7 +35680,7 @@ function particles_SprayFactory_createParticle__P26209_mk(s) { -function scene_Scene_data__P25931(s) { +function scene_Scene_data__P2443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35199,18 +35695,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C25908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2420_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P25931.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__P25931.isGetter = true; +scene_Scene_data__P2443.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__P2443.isGetter = true; -function scene_Scene_data__P25931_mk(s) { +function scene_Scene_data__P2443_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P25931, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P2443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35219,7 +35715,7 @@ function scene_Scene_data__P25931_mk(s) { -function controller_AnyButton_isPressed__P27201(s) { +function controller_AnyButton_isPressed__P3713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35229,36 +35725,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___38629 = undefined; - s.b___38633 = undefined; - s.unnamed136___U2 = undefined; - s.unnamed137___U3 = undefined; + s.ctrl___15175 = undefined; + s.b___15179 = undefined; + s.unnamed56___U2 = undefined; + s.unnamed57___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C27199_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P25408_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C3711_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P1920_mk(s); s.callLocIdx = 148; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___38629 = (r0); - s.b___38633 = (undefined); - r0 = s.ctrl___38629.fields["buttons"]; - s.unnamed136___U2 = (r0); - s.unnamed137___U3 = (0); + s.ctrl___15175 = (r0); + s.b___15179 = (undefined); + r0 = s.ctrl___15175.fields["buttons"]; + s.unnamed56___U2 = (r0); + s.unnamed57___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed137___U3; - r0 = pxsim_Array__length(s.unnamed136___U2); + s.tmp_0 = r0 = s.unnamed57___U3; + r0 = pxsim_Array__length(s.unnamed56___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed136___U2, s.unnamed137___U3); - s.b___38633 = (r0); - s.tmp_3 = controller_Button__C25394_v0_1_mk(s); - s.tmp_3.arg0 = s.b___38633; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C25394_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed56___U2, s.unnamed57___U3); + s.b___15179 = (r0); + s.tmp_3 = controller_Button__C1906_v0_1_mk(s); + s.tmp_3.arg0 = s.b___15179; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C1906_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: @@ -35270,31 +35766,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed137___U3 + 1); - s.unnamed137___U3 = (r0); + r0 = (s.unnamed57___U3 + 1); + s.unnamed57___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed136___U2 = (undefined); + s.unnamed56___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P27201.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__P3713.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__P27201_mk(s) { +function controller_AnyButton_isPressed__P3713_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P27201, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P3713, 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___38629: undefined, - b___38633: undefined, - unnamed136___U2: undefined, - unnamed137___U3: undefined, + ctrl___15175: undefined, + b___15179: undefined, + unnamed56___U2: undefined, + unnamed57___U3: undefined, arg0: undefined, } } @@ -35302,7 +35798,7 @@ function controller_AnyButton_isPressed__P27201_mk(s) { -function controller_Button_toString__P25399(s) { +function controller_Button_toString__P1911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35317,7 +35813,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C25394_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1906_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -35357,12 +35853,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P25399.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__P1911.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__P25399_mk(s) { +function controller_Button_toString__P1911_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P25399, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P1911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35378,7 +35874,7 @@ function controller_Button_toString__P25399_mk(s) { -function sprites_StaticObstacle_width__P25651(s) { +function sprites_StaticObstacle_width__P2163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35393,20 +35889,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25641_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2153_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__P25651.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__P25651.isGetter = true; +sprites_StaticObstacle_width__P2163.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__P2163.isGetter = true; -function sprites_StaticObstacle_width__P25651_mk(s) { +function sprites_StaticObstacle_width__P2163_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P25651, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P2163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35416,7 +35912,7 @@ function sprites_StaticObstacle_width__P25651_mk(s) { -function sprites_StaticObstacle_height__P25650(s) { +function sprites_StaticObstacle_height__P2162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35431,20 +35927,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25641_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2153_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__P25650.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__P25650.isGetter = true; +sprites_StaticObstacle_height__P2162.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__P2162.isGetter = true; -function sprites_StaticObstacle_height__P25650_mk(s) { +function sprites_StaticObstacle_height__P2162_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P25650, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P2162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35454,7 +35950,7 @@ function sprites_StaticObstacle_height__P25650_mk(s) { -function sprites_StaticObstacle_y__P25649(s) { +function sprites_StaticObstacle_y__P2161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35469,7 +35965,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25641_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2153_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -35482,13 +35978,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P25649.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__P25649.isGetter = true; +sprites_StaticObstacle_y__P2161.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__P2161.isGetter = true; -function sprites_StaticObstacle_y__P25649_mk(s) { +function sprites_StaticObstacle_y__P2161_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P25649, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P2161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35501,7 +35997,7 @@ function sprites_StaticObstacle_y__P25649_mk(s) { -function sprites_StaticObstacle_x__P25648(s) { +function sprites_StaticObstacle_x__P2160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35516,7 +36012,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C25641_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2153_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -35529,13 +36025,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P25648.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__P25648.isGetter = true; +sprites_StaticObstacle_x__P2160.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__P2160.isGetter = true; -function sprites_StaticObstacle_x__P25648_mk(s) { +function sprites_StaticObstacle_x__P2160_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P25648, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P2160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35548,7 +36044,7 @@ function sprites_StaticObstacle_x__P25648_mk(s) { -function tiles_Location_y__P25790(s) { +function tiles_Location_y__P2302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35558,22 +36054,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___38673 = undefined; + s.scale___15219 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25785_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2297_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___38673 = (r0); + s.scale___15219 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___38673); + r0 = (s.tmp_1 << s.scale___15219); s.tmp_0 = r0; - r0 = (s.scale___38673 - 1); + r0 = (s.scale___15219 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -35581,19 +36077,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P25790.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__P25790.isGetter = true; +tiles_Location_y__P2302.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__P2302.isGetter = true; -function tiles_Location_y__P25790_mk(s) { +function tiles_Location_y__P2302_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P25790, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P2302, 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___38673: undefined, + scale___15219: undefined, arg0: undefined, } } @@ -35601,7 +36097,7 @@ function tiles_Location_y__P25790_mk(s) { -function tiles_Location_x__P25789(s) { +function tiles_Location_x__P2301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35611,22 +36107,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___38690 = undefined; + s.scale___15236 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C25785_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2297_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___38690 = (r0); + s.scale___15236 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___38690); + r0 = (s.tmp_1 << s.scale___15236); s.tmp_0 = r0; - r0 = (s.scale___38690 - 1); + r0 = (s.scale___15236 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -35634,19 +36130,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P25789.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__P25789.isGetter = true; +tiles_Location_x__P2301.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__P2301.isGetter = true; -function tiles_Location_x__P25789_mk(s) { +function tiles_Location_x__P2301_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P25789, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P2301, 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___38690: undefined, + scale___15236: undefined, arg0: undefined, } } @@ -35654,7 +36150,7 @@ function tiles_Location_x__P25789_mk(s) { -function scene_Renderable___drawCore__P25870(s) { +function scene_Renderable___drawCore__P2382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35670,10 +36166,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C25867_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2379_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___25293; + s.tmp_0.arg1 = globals.screen___1805; 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); @@ -35690,12 +36186,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P25870.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__P2382.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__P25870_mk(s) { +function scene_Renderable___drawCore__P2382_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P25870, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P2382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35706,7 +36202,7 @@ function scene_Renderable___drawCore__P25870_mk(s) { -function scene_Renderable___visible__P25869(s) { +function scene_Renderable___visible__P2381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35721,7 +36217,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C25867_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2379_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -35738,12 +36234,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P25869.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__P2381.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__P25869_mk(s) { +function scene_Renderable___visible__P2381_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P25869, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P2381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35753,7 +36249,7 @@ function scene_Renderable___visible__P25869_mk(s) { -function Sprite___drawCore__P25572(s) { +function Sprite___drawCore__P2084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35763,21 +36259,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___38717 = undefined; - s.oy___38725 = undefined; - s.l___38733 = undefined; - s.t___38737 = undefined; - s.font___38753 = undefined; - s.tx___38757 = undefined; - s.ty___38759 = undefined; + s.ox___15263 = undefined; + s.oy___15271 = undefined; + s.l___15279 = undefined; + s.t___15283 = undefined; + s.font___15299 = undefined; + s.tx___15303 = undefined; + s.ty___15305 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); - s.tmp_1 = Sprite_isOutOfScreen__P25571_mk(s); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); + s.tmp_1 = Sprite_isOutOfScreen__P2083_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 291; s.pc = 20; return s.tmp_1; @@ -35802,7 +36298,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___38717 = (s.tmp_4); + s.ox___15263 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -35816,35 +36312,35 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___38725 = (s.tmp_2); - s.tmp_1 = Sprite_left__P25557_mk(s); + s.oy___15271 = (s.tmp_2); + s.tmp_1 = Sprite_left__P2069_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 292; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.ox___38717); - s.l___38733 = (r0); - s.tmp_1 = Sprite_top__P25561_mk(s); + r0 = (s.tmp_0 - s.ox___15263); + s.l___15279 = (r0); + s.tmp_1 = Sprite_top__P2073_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 293; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.oy___38725); - s.t___38737 = (r0); + r0 = (s.tmp_0 - s.oy___15271); + s.t___15283 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___25293, s.tmp_0, s.l___38733, s.t___38737); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1805, s.tmp_0, s.l___15279, s.t___15283); 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___38753 = (globals.font5___25241); - s.tx___38757 = (s.l___38733); - s.tmp_1 = r0 = s.t___38737; + s.font___15299 = (globals.font5___1753); + s.tx___15303 = (s.l___15279); + s.tmp_1 = r0 = s.t___15283; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -35852,12 +36348,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___38759 = (r0); - s.tmp_0 = helpers_imagePrint__P25251_mk(s); - s.tmp_0.arg0 = globals.screen___25293; + s.ty___15305 = (r0); + s.tmp_0 = helpers_imagePrint__P1763_mk(s); + s.tmp_0.arg0 = globals.screen___1805; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P25520_mk(s); + s.tmp_7 = Sprite_x__P2032_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 295; s.pc = 24; return s.tmp_7; case 24: @@ -35878,7 +36374,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P25522_mk(s); + s.tmp_11 = Sprite_y__P2034_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 296; s.pc = 26; return s.tmp_11; case 26: @@ -35897,17 +36393,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___38757; - s.tmp_0.arg3 = s.ty___38759; + s.tmp_0.arg2 = s.tx___15303; + s.tmp_0.arg3 = s.ty___15305; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___38753; + s.tmp_0.arg5 = s.font___15299; s.tmp_0.arg6 = undefined; s.callLocIdx = 297; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = r0 = s.tx___38757; + s.tmp_0 = r0 = s.tx___15303; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___38753; + s.tmp_2.arg0 = s.font___15299; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -35920,8 +36416,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___38757 = (r0); - s.tmp_1 = Sprite_vx__P25524_mk(s); + s.tx___15303 = (r0); + s.tmp_1 = Sprite_vx__P2036_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 299; s.pc = 29; return s.tmp_1; case 29: @@ -35932,7 +36428,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_2 = Sprite_vy__P25526_mk(s); + s.tmp_2 = Sprite_vy__P2038_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 300; s.pc = 30; return s.tmp_2; case 30: @@ -35942,9 +36438,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___38759; + s.tmp_4 = r0 = s.ty___15305; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___38753; + s.tmp_7.arg0 = s.font___15299; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -35959,10 +36455,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___38759 = (r0); - s.tmp_0 = helpers_imagePrint__P25251_mk(s); - s.tmp_0.arg0 = globals.screen___25293; - s.tmp_6 = Sprite_vx__P25524_mk(s); + s.ty___15305 = (r0); + s.tmp_0 = helpers_imagePrint__P1763_mk(s); + s.tmp_0.arg0 = globals.screen___1805; + s.tmp_6 = Sprite_vx__P2036_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 302; s.pc = 33; return s.tmp_6; case 33: @@ -35983,7 +36479,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P25526_mk(s); + s.tmp_10 = Sprite_vy__P2038_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 303; s.pc = 35; return s.tmp_10; case 35: @@ -36002,17 +36498,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___38757; - s.tmp_0.arg3 = s.ty___38759; + s.tmp_0.arg2 = s.tx___15303; + s.tmp_0.arg3 = s.ty___15305; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___38753; + s.tmp_0.arg5 = s.font___15299; s.tmp_0.arg6 = undefined; s.callLocIdx = 304; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 9: case 10: - s.tmp_1 = Sprite_ax__P25528_mk(s); + s.tmp_1 = Sprite_ax__P2040_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 305; s.pc = 37; return s.tmp_1; case 37: @@ -36023,7 +36519,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_2 = Sprite_ay__P25530_mk(s); + s.tmp_2 = Sprite_ay__P2042_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 306; s.pc = 38; return s.tmp_2; case 38: @@ -36033,9 +36529,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___38759; + s.tmp_4 = r0 = s.ty___15305; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___38753; + s.tmp_7.arg0 = s.font___15299; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -36050,10 +36546,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___38759 = (r0); - s.tmp_0 = helpers_imagePrint__P25251_mk(s); - s.tmp_0.arg0 = globals.screen___25293; - s.tmp_6 = Sprite_ax__P25528_mk(s); + s.ty___15305 = (r0); + s.tmp_0 = helpers_imagePrint__P1763_mk(s); + s.tmp_0.arg0 = globals.screen___1805; + s.tmp_6 = Sprite_ax__P2040_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 308; s.pc = 41; return s.tmp_6; case 41: @@ -36074,7 +36570,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P25530_mk(s); + s.tmp_10 = Sprite_ay__P2042_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 309; s.pc = 43; return s.tmp_10; case 43: @@ -36093,10 +36589,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___38757; - s.tmp_0.arg3 = s.ty___38759; + s.tmp_0.arg2 = s.tx___15303; + s.tmp_0.arg3 = s.ty___15305; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___38753; + s.tmp_0.arg5 = s.font___15299; s.tmp_0.arg6 = undefined; s.callLocIdx = 310; s.pc = 40; return s.tmp_0; case 40: @@ -36105,11 +36601,11 @@ switch (step) { case 14: case 15: case 16: - r0 = pxsim_numops_toBoolDecr(globals.debug___26017); + r0 = pxsim_numops_toBoolDecr(globals.debug___2529); if (!r0) { step = 17; continue; } - s.tmp_0 = helpers_imageDrawRect__P25222_mk(s); - s.tmp_0.arg0 = globals.screen___25293; - s.tmp_3 = game_Hitbox_left__P25457_mk(s); + s.tmp_0 = helpers_imageDrawRect__P1734_mk(s); + s.tmp_0.arg0 = globals.screen___1805; + s.tmp_3 = game_Hitbox_left__P1969_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 311; s.pc = 46; return s.tmp_3; @@ -36120,9 +36616,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___38717); + r0 = (s.tmp_1 - s.ox___15263); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P25458_mk(s); + s.tmp_7 = game_Hitbox_top__P1970_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 313; s.pc = 47; return s.tmp_7; @@ -36133,7 +36629,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___38725); + r0 = (s.tmp_5 - s.oy___15271); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -36160,12 +36656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P25572.info = {"start":21043,"length":1383,"line":646,"column":4,"endLine":684,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P2084.info = {"start":21043,"length":1383,"line":646,"column":4,"endLine":684,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P25572_mk(s) { +function Sprite___drawCore__P2084_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P25572, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P2084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36180,13 +36676,13 @@ function Sprite___drawCore__P25572_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___38717: undefined, - oy___38725: undefined, - l___38733: undefined, - t___38737: undefined, - font___38753: undefined, - tx___38757: undefined, - ty___38759: undefined, + ox___15263: undefined, + oy___15271: undefined, + l___15279: undefined, + t___15283: undefined, + font___15299: undefined, + tx___15303: undefined, + ty___15305: undefined, arg0: undefined, arg1: undefined, } } @@ -36195,7 +36691,7 @@ function Sprite___drawCore__P25572_mk(s) { -function Sprite___visible__P25554(s) { +function Sprite___visible__P2066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36210,7 +36706,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C25511_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2023_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -36221,12 +36717,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P25554.info = {"start":8508,"length":72,"line":307,"column":4,"endLine":309,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P2066.info = {"start":8508,"length":72,"line":307,"column":4,"endLine":309,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P25554_mk(s) { +function Sprite___visible__P2066_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P25554, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P2066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36238,7 +36734,7 @@ function Sprite___visible__P25554_mk(s) { -function scene_Camera_top__P25862(s) { +function scene_Camera_top__P2374(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36253,18 +36749,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2361_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P25862.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__P25862.isGetter = true; +scene_Camera_top__P2374.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__P2374.isGetter = true; -function scene_Camera_top__P25862_mk(s) { +function scene_Camera_top__P2374_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P25862, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P2374, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36273,7 +36769,7 @@ function scene_Camera_top__P25862_mk(s) { -function scene_Camera_left__P25860(s) { +function scene_Camera_left__P2372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36288,18 +36784,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2361_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P25860.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__P25860.isGetter = true; +scene_Camera_left__P2372.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__P2372.isGetter = true; -function scene_Camera_left__P25860_mk(s) { +function scene_Camera_left__P2372_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P25860, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P2372, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36308,7 +36804,7 @@ function scene_Camera_left__P25860_mk(s) { -function particles_ShapeFactory_drawParticle__P26232(s) { +function particles_ShapeFactory_drawParticle__P2744(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36318,7 +36814,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___38884 = undefined; + s.pImage___15430 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36327,23 +36823,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C26229_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P26080_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C2741_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P2592_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1110; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1112; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___38884 = (r0); + s.pImage___15430 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___38884, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___25293; - s.tmp_1 = r0 = s.pImage___38884; + r0 = pxsim_ImageMethods.replace(s.pImage___15430, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___1805; + s.tmp_1 = r0 = s.pImage___15430; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -36365,12 +36861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P26232.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__P2744.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__P26232_mk(s) { +function particles_ShapeFactory_drawParticle__P2744_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P26232, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P2744, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36382,7 +36878,7 @@ function particles_ShapeFactory_drawParticle__P26232_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___38884: undefined, + pImage___15430: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36393,7 +36889,7 @@ function particles_ShapeFactory_drawParticle__P26232_mk(s) { -function Math_FastRandom_pickRandom__P26080(s) { +function Math_FastRandom_pickRandom__P2592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36409,7 +36905,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C26075_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2587_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -36432,14 +36928,14 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P26079_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P2591_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); s.tmp_6.arg2 = r0; - s.callLocIdx = 839; s.pc = 6; return s.tmp_6; + s.callLocIdx = 841; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; s.tmp_5 = r0; @@ -36448,12 +36944,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P26080.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__P2592.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__P26080_mk(s) { +function Math_FastRandom_pickRandom__P2592_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P26080, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P2592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36471,7 +36967,7 @@ function Math_FastRandom_pickRandom__P26080_mk(s) { -function particles_AreaFactory_drawParticle__P26220(s) { +function particles_AreaFactory_drawParticle__P2732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36481,7 +36977,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___38930 = undefined; + s.col___15476 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36490,7 +36986,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C26213_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C2725_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -36517,8 +37013,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___38930 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___25293; + s.col___15476 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___1805; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -36527,17 +37023,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___38930); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___15476); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P26220.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__P2732.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__P26220_mk(s) { +function particles_AreaFactory_drawParticle__P2732_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P26220, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P2732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36545,7 +37041,7 @@ function particles_AreaFactory_drawParticle__P26220_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___38930: undefined, + col___15476: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36556,7 +37052,7 @@ function particles_AreaFactory_drawParticle__P26220_mk(s) { -function particles_SprayFactory_drawParticle__P26210(s) { +function particles_SprayFactory_drawParticle__P2722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36574,8 +37070,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C26207_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___25293; + if (!checkSubtype(r0, particles_SprayFactory__C2719_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___1805; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -36589,12 +37085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P26210.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__P2722.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__P26210_mk(s) { +function particles_SprayFactory_drawParticle__P2722_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P26210, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P2722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36610,7 +37106,7 @@ function particles_SprayFactory_drawParticle__P26210_mk(s) { -function lambda_3_mk(s) { +function if_handler_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36621,12 +37117,10 @@ function lambda_3_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, } } -function if_flags_1_mk(s) { +function lambda_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36637,10 +37131,11 @@ function if_flags_1_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, + arg1: undefined, } } -function particles_ParticleFactory__C26203_v0_2_mk(s) { +function lambda_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36652,10 +37147,11 @@ function particles_ParticleFactory__C26203_v0_2_mk(s) { tmp_4: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function particles_ParticleSource__C26167_v4_3_mk(s) { +function if_flags_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36666,12 +37162,10 @@ function particles_ParticleSource__C26167_v4_3_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, } } -function if_x_1_mk(s) { +function particles_ParticleFactory__C2715_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36682,10 +37176,11 @@ function if_x_1_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, + arg1: undefined, } } -function if_y_1_mk(s) { +function particles_ParticleSource__C2679_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36696,10 +37191,12 @@ function if_y_1_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function lambda_1_mk(s) { +function if_x_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36713,7 +37210,7 @@ function lambda_1_mk(s) { } } -function if_handler_1_mk(s) { +function if_y_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36727,7 +37224,7 @@ function if_handler_1_mk(s) { } } -function if_condition_1_mk(s) { +function lambda_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36741,7 +37238,7 @@ function if_condition_1_mk(s) { } } -function if_id_2_mk(s) { +function if_condition_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36752,11 +37249,10 @@ function if_id_2_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, - arg1: undefined, } } -function PhysicsEngine__C25654_v4_2_mk(s) { +function if_id_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36771,7 +37267,7 @@ function PhysicsEngine__C25654_v4_2_mk(s) { } } -function if___update_3_mk(s) { +function PhysicsEngine__C2166_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36783,11 +37279,10 @@ function if___update_3_mk(s) { tmp_4: undefined, arg0: undefined, arg1: undefined, - arg2: undefined, } } -function lambda_2_mk(s) { +function if___update_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36799,10 +37294,11 @@ function lambda_2_mk(s) { tmp_4: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function PhysicsEngine__C25654_v3_1_mk(s) { +function PhysicsEngine__C2166_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36943,7 +37439,7 @@ function if_id_1_mk(s) { } } -function controller_Button__C25394_v0_1_mk(s) { +function controller_Button__C1906_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37048,7 +37544,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C25654_v1_2_mk(s) { +function PhysicsEngine__C2166_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37246,7 +37742,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C25654_v2_4_mk(s) { +function PhysicsEngine__C2166_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37320,7 +37816,7 @@ function if_z_2_mk(s) { } } -function PhysicsEngine__C25654_v0_2_mk(s) { +function PhysicsEngine__C2166_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37409,7 +37905,7 @@ function if_updateSay_3_mk(s) { } } -function particles_ParticleFactory__C26203_v1_4_mk(s) { +function particles_ParticleFactory__C2715_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37426,7 +37922,7 @@ function particles_ParticleFactory__C26203_v1_4_mk(s) { } } -function sprites_BaseSprite__C25349_v0_1_mk(s) { +function sprites_BaseSprite__C1861_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37440,7 +37936,7 @@ function sprites_BaseSprite__C25349_v0_1_mk(s) { } } -function sprites_BaseSprite__C25349_v2_2_mk(s) { +function sprites_BaseSprite__C1861_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37568,14 +38064,14 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Button__C25394_VT = mkVTable({ +const controller_Button__C1906_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P25403, + "isPressed": controller_Button_isPressed__P1915, }, iface: { "_owner": null, @@ -37592,26 +38088,26 @@ const controller_Button__C25394_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P25399, - "raiseButtonUp": controller_Button_raiseButtonUp__P27196, - "raiseButtonDown": controller_Button_raiseButtonDown__P27197, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P27198, - "onEvent": controller_Button_onEvent__P25401, - "isPressed": controller_Button_isPressed__P25403, - "pressureLevel": controller_Button_pressureLevel__P25404, - "setPressed": controller_Button_setPressed__P25405, - "__update": controller_Button___update__P25406, + "toString": controller_Button_toString__P1911, + "raiseButtonUp": controller_Button_raiseButtonUp__P3708, + "raiseButtonDown": controller_Button_raiseButtonDown__P3709, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P3710, + "onEvent": controller_Button_onEvent__P1913, + "isPressed": controller_Button_isPressed__P1915, + "pressureLevel": controller_Button_pressureLevel__P1916, + "setPressed": controller_Button_setPressed__P1917, + "__update": controller_Button___update__P1918, }, - toStringMethod: controller_Button_toString__P25399, + toStringMethod: controller_Button_toString__P1911, }); -const controller_AnyButton__C27199_VT = mkVTable({ +const controller_AnyButton__C3711_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P27201, + "isPressed": controller_AnyButton_isPressed__P3713, }, iface: { "_owner": null, @@ -37628,18 +38124,18 @@ const controller_AnyButton__C27199_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P27201, - "toString": controller_Button_toString__P25399, - "raiseButtonUp": controller_Button_raiseButtonUp__P27196, - "raiseButtonDown": controller_Button_raiseButtonDown__P27197, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P27198, - "onEvent": controller_Button_onEvent__P25401, - "pressureLevel": controller_Button_pressureLevel__P25404, - "setPressed": controller_Button_setPressed__P25405, - "__update": controller_Button___update__P25406, + "isPressed": controller_AnyButton_isPressed__P3713, + "toString": controller_Button_toString__P1911, + "raiseButtonUp": controller_Button_raiseButtonUp__P3708, + "raiseButtonDown": controller_Button_raiseButtonDown__P3709, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P3710, + "onEvent": controller_Button_onEvent__P1913, + "pressureLevel": controller_Button_pressureLevel__P1916, + "setPressed": controller_Button_setPressed__P1917, + "__update": controller_Button___update__P1918, }, }); -const Math_FastRandom__C26075_VT = mkVTable({ +const Math_FastRandom__C2587_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -37652,12 +38148,12 @@ const Math_FastRandom__C26075_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P26078, - "randomRange": Math_FastRandom_randomRange__P26079, - "pickRandom": Math_FastRandom_pickRandom__P26080, + "next": Math_FastRandom_next__P2590, + "randomRange": Math_FastRandom_randomRange__P2591, + "pickRandom": Math_FastRandom_pickRandom__P2592, }, }); -const texteffects_TextEffect__C26320_VT = mkVTable({ +const texteffects_TextEffect__C2832_VT = mkVTable({ name: "TextEffect", numFields: 1, classNo: 19, @@ -37670,14 +38166,93 @@ const texteffects_TextEffect__C26320_VT = mkVTable({ "set/getState": null, }, }); -const scene_Scene__C25908_VT = mkVTable({ - name: "Scene", - numFields: 23, +const scene_Background__C2273_VT = mkVTable({ + name: "Background", + numFields: 4, classNo: 20, lastSubtypeNo: 20, maxBgInstances: null, methods: { }, + iface: { + "color": null, + "set/color": null, + "_image": null, + "set/_image": null, + "camera": null, + "set/camera": null, + "_layers": null, + "set/_layers": null, + "image": scene_Background_image__P2279, + "set/image": scene_Background_image__P2280, + "draw": scene_Background_draw__P2282, + }, +}); +const control_EventContext__C387_VT = mkVTable({ + name: "EventContext", + numFields: 9, + classNo: 21, + lastSubtypeNo: 21, + maxBgInstances: null, + methods: { + }, + iface: { + "handlers": null, + "set/handlers": null, + "frameCallbacks": null, + "set/frameCallbacks": null, + "frameWorker": null, + "set/frameWorker": null, + "framesInSample": null, + "set/framesInSample": null, + "timeInSample": null, + "set/timeInSample": null, + "deltaTimeMillis": null, + "set/deltaTimeMillis": null, + "prevTimeMillis": null, + "set/prevTimeMillis": null, + "idleCallbacks": null, + "set/idleCallbacks": null, + "runningCallbacks": null, + "set/runningCallbacks": null, + "deltaTime": control_EventContext_deltaTime__P392, + "runCallbacks": control_EventContext_runCallbacks__P3553, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P3554, + "register": control_EventContext_register__P393, + "unregister": control_EventContext_unregister__P394, + "registerFrameHandler": control_EventContext_registerFrameHandler__P395, + "registerHandler": control_EventContext_registerHandler__P397, + }, +}); +const control_EventHandler__C3548_VT = mkVTable({ + name: "EventHandler", + numFields: 4, + classNo: 22, + lastSubtypeNo: 22, + maxBgInstances: null, + methods: { + }, + iface: { + "src": null, + "set/src": null, + "value": null, + "set/value": null, + "handler": null, + "set/handler": null, + "flags": null, + "set/flags": null, + "register": control_EventHandler_register__P3549, + "unregister": control_EventHandler_unregister__P3550, + }, +}); +const scene_Scene__C2420_VT = mkVTable({ + name: "Scene", + numFields: 23, + classNo: 23, + lastSubtypeNo: 23, + maxBgInstances: null, + methods: { + }, iface: { "eventContext": null, "set/eventContext": null, @@ -37725,18 +38300,18 @@ const scene_Scene__C25908_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P25930, - "data": scene_Scene_data__P25931, - "millis": scene_Scene_millis__P25932, - "addSprite": scene_Scene_addSprite__P25933, - "render": scene_Scene_render__P25935, + "init": scene_Scene_init__P2442, + "data": scene_Scene_data__P2443, + "millis": scene_Scene_millis__P2444, + "addSprite": scene_Scene_addSprite__P2445, + "render": scene_Scene_render__P2447, }, }); -const effects_ImageEffect__C26305_VT = mkVTable({ +const effects_ImageEffect__C2817_VT = mkVTable({ name: "ImageEffect", numFields: 4, - classNo: 21, - lastSubtypeNo: 21, + classNo: 24, + lastSubtypeNo: 24, maxBgInstances: null, methods: { }, @@ -37749,15 +38324,15 @@ const effects_ImageEffect__C26305_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P26307, - "change": effects_ImageEffect_change__P26308, + "applyTo": effects_ImageEffect_applyTo__P2819, + "change": effects_ImageEffect_change__P2820, }, }); -const effects_ParticleEffect__C26278_VT = mkVTable({ +const effects_ParticleEffect__C2790_VT = mkVTable({ name: "ParticleEffect", numFields: 3, - classNo: 22, - lastSubtypeNo: 23, + classNo: 25, + lastSubtypeNo: 26, maxBgInstances: null, methods: { }, @@ -37768,15 +38343,15 @@ const effects_ParticleEffect__C26278_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P26280, - "destroy": effects_ParticleEffect_destroy__P26281, + "start": effects_ParticleEffect_start__P2792, + "destroy": effects_ParticleEffect_destroy__P2793, }, }); -const effects_ScreenEffect__C26282_VT = mkVTable({ +const effects_ScreenEffect__C2794_VT = mkVTable({ name: "ScreenEffect", numFields: 5, - classNo: 23, - lastSubtypeNo: 23, + classNo: 26, + lastSubtypeNo: 26, maxBgInstances: null, methods: { }, @@ -37791,34 +38366,34 @@ const effects_ScreenEffect__C26282_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P26280, - "destroy": effects_ParticleEffect_destroy__P26281, + "start": effects_ParticleEffect_start__P2792, + "destroy": effects_ParticleEffect_destroy__P2793, }, }); -const particles_ParticleFactory__C26203_VT = mkVTable({ +const particles_ParticleFactory__C2715_VT = mkVTable({ name: "ParticleFactory", numFields: 0, - classNo: 24, - lastSubtypeNo: 28, + classNo: 27, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P26205, - "drawParticle": particles_ParticleFactory_drawParticle__P26206, + "createParticle": particles_ParticleFactory_createParticle__P2717, + "drawParticle": particles_ParticleFactory_drawParticle__P2718, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P26205, - "drawParticle": particles_ParticleFactory_drawParticle__P26206, + "createParticle": particles_ParticleFactory_createParticle__P2717, + "drawParticle": particles_ParticleFactory_drawParticle__P2718, }, }); -const particles_SprayFactory__C26207_VT = mkVTable({ +const particles_SprayFactory__C2719_VT = mkVTable({ name: "SprayFactory", numFields: 3, - classNo: 25, - lastSubtypeNo: 28, + classNo: 28, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P26209, - "drawParticle": particles_SprayFactory_drawParticle__P26210, + "createParticle": particles_SprayFactory_createParticle__P2721, + "drawParticle": particles_SprayFactory_drawParticle__P2722, }, iface: { "speed": null, @@ -37827,21 +38402,21 @@ const particles_SprayFactory__C26207_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P26209, - "drawParticle": particles_SprayFactory_drawParticle__P26210, - "setSpeed": particles_SprayFactory_setSpeed__P26211, - "setDirection": particles_SprayFactory_setDirection__P26212, + "createParticle": particles_SprayFactory_createParticle__P2721, + "drawParticle": particles_SprayFactory_drawParticle__P2722, + "setSpeed": particles_SprayFactory_setSpeed__P2723, + "setDirection": particles_SprayFactory_setDirection__P2724, }, }); -const particles_AreaFactory__C26213_VT = mkVTable({ +const particles_AreaFactory__C2725_VT = mkVTable({ name: "AreaFactory", numFields: 8, - classNo: 26, - lastSubtypeNo: 28, + classNo: 29, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P26219, - "drawParticle": particles_AreaFactory_drawParticle__P26220, + "createParticle": particles_AreaFactory_createParticle__P2731, + "drawParticle": particles_AreaFactory_drawParticle__P2732, }, iface: { "speed": null, @@ -37860,21 +38435,21 @@ const particles_AreaFactory__C26213_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P26219, - "drawParticle": particles_AreaFactory_drawParticle__P26220, - "setSpeed": particles_SprayFactory_setSpeed__P26211, - "setDirection": particles_SprayFactory_setDirection__P26212, + "createParticle": particles_AreaFactory_createParticle__P2731, + "drawParticle": particles_AreaFactory_drawParticle__P2732, + "setSpeed": particles_SprayFactory_setSpeed__P2723, + "setDirection": particles_SprayFactory_setDirection__P2724, }, }); -const particles_ShapeFactory__C26229_VT = mkVTable({ +const particles_ShapeFactory__C2741_VT = mkVTable({ name: "ShapeFactory", numFields: 11, - classNo: 27, - lastSubtypeNo: 28, + classNo: 30, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P26233, - "drawParticle": particles_ShapeFactory_drawParticle__P26232, + "createParticle": particles_ShapeFactory_createParticle__P2745, + "drawParticle": particles_ShapeFactory_drawParticle__P2744, }, iface: { "speed": null, @@ -37899,22 +38474,22 @@ const particles_ShapeFactory__C26229_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P26231, - "drawParticle": particles_ShapeFactory_drawParticle__P26232, - "createParticle": particles_ShapeFactory_createParticle__P26233, - "setSpeed": particles_SprayFactory_setSpeed__P26211, - "setDirection": particles_SprayFactory_setDirection__P26212, + "addShape": particles_ShapeFactory_addShape__P2743, + "drawParticle": particles_ShapeFactory_drawParticle__P2744, + "createParticle": particles_ShapeFactory_createParticle__P2745, + "setSpeed": particles_SprayFactory_setSpeed__P2723, + "setDirection": particles_SprayFactory_setDirection__P2724, }, }); -const particles_ConfettiFactory__C26234_VT = mkVTable({ +const particles_ConfettiFactory__C2746_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, - classNo: 28, - lastSubtypeNo: 28, + classNo: 31, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P26233, - "drawParticle": particles_ShapeFactory_drawParticle__P26232, + "createParticle": particles_ShapeFactory_createParticle__P2745, + "drawParticle": particles_ShapeFactory_drawParticle__P2744, }, iface: { "speed": null, @@ -37939,50 +38514,50 @@ const particles_ConfettiFactory__C26234_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P26231, - "drawParticle": particles_ShapeFactory_drawParticle__P26232, - "createParticle": particles_ShapeFactory_createParticle__P26233, - "setSpeed": particles_SprayFactory_setSpeed__P26211, - "setDirection": particles_SprayFactory_setDirection__P26212, + "addShape": particles_ShapeFactory_addShape__P2743, + "drawParticle": particles_ShapeFactory_drawParticle__P2744, + "createParticle": particles_ShapeFactory_createParticle__P2745, + "setSpeed": particles_SprayFactory_setSpeed__P2723, + "setDirection": particles_SprayFactory_setDirection__P2724, }, }); -const sprites_BaseSprite__C25349_VT = mkVTable({ +const sprites_BaseSprite__C1861_VT = mkVTable({ name: "BaseSprite", numFields: 2, - classNo: 29, - lastSubtypeNo: 32, + classNo: 32, + lastSubtypeNo: 35, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P25352, - "__draw": sprites_BaseSprite___draw__P25355, - "__drawCore": sprites_BaseSprite___drawCore__P25356, - "__update": sprites_BaseSprite___update__P25357, + "__visible": sprites_BaseSprite___visible__P1864, + "__draw": sprites_BaseSprite___draw__P1867, + "__drawCore": sprites_BaseSprite___drawCore__P1868, + "__update": sprites_BaseSprite___update__P1869, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P25352, - "z": sprites_BaseSprite_z__P25353, - "set/z": sprites_BaseSprite_z__P25354, - "__draw": sprites_BaseSprite___draw__P25355, - "__drawCore": sprites_BaseSprite___drawCore__P25356, - "__update": sprites_BaseSprite___update__P25357, + "__visible": sprites_BaseSprite___visible__P1864, + "z": sprites_BaseSprite_z__P1865, + "set/z": sprites_BaseSprite_z__P1866, + "__draw": sprites_BaseSprite___draw__P1867, + "__drawCore": sprites_BaseSprite___drawCore__P1868, + "__update": sprites_BaseSprite___update__P1869, }, }); -const particles_ParticleSource__C26167_VT = mkVTable({ +const particles_ParticleSource__C2679_VT = mkVTable({ name: "ParticleSource", numFields: 13, - classNo: 30, - lastSubtypeNo: 30, + classNo: 33, + lastSubtypeNo: 33, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P25352, - "__draw": particles_ParticleSource___draw__P26173, - "__drawCore": sprites_BaseSprite___drawCore__P25356, - "__update": sprites_BaseSprite___update__P25357, - "updateParticle": particles_ParticleSource_updateParticle__P27722, + "__visible": sprites_BaseSprite___visible__P1864, + "__draw": particles_ParticleSource___draw__P2685, + "__drawCore": sprites_BaseSprite___drawCore__P1868, + "__update": sprites_BaseSprite___update__P1869, + "updateParticle": particles_ParticleSource_updateParticle__P4234, }, iface: { "_z": null, @@ -38011,32 +38586,32 @@ const particles_ParticleSource__C26167_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P26173, - "_update": particles_ParticleSource__update__P26174, - "_prune": particles_ParticleSource__prune__P26175, - "setAcceleration": particles_ParticleSource_setAcceleration__P26176, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P26178, - "enabled": particles_ParticleSource_enabled__P26179, - "set/enabled": particles_ParticleSource_enabled__P26180, - "destroy": particles_ParticleSource_destroy__P26181, - "clear": particles_ParticleSource_clear__P26182, - "setAnchor": particles_ParticleSource_setAnchor__P26183, - "setRate": particles_ParticleSource_setRate__P26184, - "setFactory": particles_ParticleSource_setFactory__P26186, - "updateParticle": particles_ParticleSource_updateParticle__P27722, - "drawParticle": particles_ParticleSource_drawParticle__P27723, - "__visible": sprites_BaseSprite___visible__P25352, - "z": sprites_BaseSprite_z__P25353, - "set/z": sprites_BaseSprite_z__P25354, - "__drawCore": sprites_BaseSprite___drawCore__P25356, - "__update": sprites_BaseSprite___update__P25357, + "__draw": particles_ParticleSource___draw__P2685, + "_update": particles_ParticleSource__update__P2686, + "_prune": particles_ParticleSource__prune__P2687, + "setAcceleration": particles_ParticleSource_setAcceleration__P2688, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P2690, + "enabled": particles_ParticleSource_enabled__P2691, + "set/enabled": particles_ParticleSource_enabled__P2692, + "destroy": particles_ParticleSource_destroy__P2693, + "clear": particles_ParticleSource_clear__P2694, + "setAnchor": particles_ParticleSource_setAnchor__P2695, + "setRate": particles_ParticleSource_setRate__P2696, + "setFactory": particles_ParticleSource_setFactory__P2698, + "updateParticle": particles_ParticleSource_updateParticle__P4234, + "drawParticle": particles_ParticleSource_drawParticle__P4235, + "__visible": sprites_BaseSprite___visible__P1864, + "z": sprites_BaseSprite_z__P1865, + "set/z": sprites_BaseSprite_z__P1866, + "__drawCore": sprites_BaseSprite___drawCore__P1868, + "__update": sprites_BaseSprite___update__P1869, }, }); -const particles_Particle__C26148_VT = mkVTable({ +const particles_Particle__C2660_VT = mkVTable({ name: "Particle", numFields: 8, - classNo: 33, - lastSubtypeNo: 33, + classNo: 36, + lastSubtypeNo: 36, maxBgInstances: 200, methods: { }, @@ -38059,47 +38634,11 @@ const particles_Particle__C26148_VT = mkVTable({ "set/color": null, }, }); -const control_EventContext__C23875_VT = mkVTable({ - name: "EventContext", - numFields: 9, - classNo: 34, - lastSubtypeNo: 34, - maxBgInstances: null, - methods: { - }, - iface: { - "handlers": null, - "set/handlers": null, - "frameCallbacks": null, - "set/frameCallbacks": null, - "frameWorker": null, - "set/frameWorker": null, - "framesInSample": null, - "set/framesInSample": null, - "timeInSample": null, - "set/timeInSample": null, - "deltaTimeMillis": null, - "set/deltaTimeMillis": null, - "prevTimeMillis": null, - "set/prevTimeMillis": null, - "idleCallbacks": null, - "set/idleCallbacks": null, - "runningCallbacks": null, - "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P23880, - "runCallbacks": control_EventContext_runCallbacks__P27041, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P27042, - "register": control_EventContext_register__P23881, - "unregister": control_EventContext_unregister__P23882, - "registerFrameHandler": control_EventContext_registerFrameHandler__P23883, - "registerHandler": control_EventContext_registerHandler__P23885, - }, -}); -const control_FrameCallback__C23872_VT = mkVTable({ +const control_FrameCallback__C384_VT = mkVTable({ name: "FrameCallback", numFields: 2, - classNo: 35, - lastSubtypeNo: 35, + classNo: 37, + lastSubtypeNo: 37, maxBgInstances: null, methods: { }, @@ -38110,11 +38649,11 @@ const control_FrameCallback__C23872_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C27015_VT = mkVTable({ +const control_PollEvent__C3527_VT = mkVTable({ name: "PollEvent", numFields: 6, - classNo: 36, - lastSubtypeNo: 36, + classNo: 38, + lastSubtypeNo: 38, maxBgInstances: null, methods: { }, @@ -38133,53 +38672,32 @@ const control_PollEvent__C27015_VT = mkVTable({ "set/once": null, }, }); -const control_EventHandler__C27036_VT = mkVTable({ - name: "EventHandler", - numFields: 4, - classNo: 37, - lastSubtypeNo: 37, - maxBgInstances: null, - methods: { - }, - iface: { - "src": null, - "set/src": null, - "value": null, - "set/value": null, - "handler": null, - "set/handler": null, - "flags": null, - "set/flags": null, - "register": control_EventHandler_register__P27037, - "unregister": control_EventHandler_unregister__P27038, - }, -}); -const PhysicsEngine__C25654_VT = mkVTable({ +const PhysicsEngine__C2166_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, - classNo: 38, - lastSubtypeNo: 39, + classNo: 39, + lastSubtypeNo: 40, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P25656, - "removeSprite": PhysicsEngine_removeSprite__P25657, - "moveSprite": PhysicsEngine_moveSprite__P25658, - "draw": PhysicsEngine_draw__P25659, - "move": PhysicsEngine_move__P25660, + "addSprite": PhysicsEngine_addSprite__P2168, + "removeSprite": PhysicsEngine_removeSprite__P2169, + "moveSprite": PhysicsEngine_moveSprite__P2170, + "draw": PhysicsEngine_draw__P2171, + "move": PhysicsEngine_move__P2172, }, iface: { - "addSprite": PhysicsEngine_addSprite__P25656, - "removeSprite": PhysicsEngine_removeSprite__P25657, - "moveSprite": PhysicsEngine_moveSprite__P25658, - "draw": PhysicsEngine_draw__P25659, - "move": PhysicsEngine_move__P25660, + "addSprite": PhysicsEngine_addSprite__P2168, + "removeSprite": PhysicsEngine_removeSprite__P2169, + "moveSprite": PhysicsEngine_moveSprite__P2170, + "draw": PhysicsEngine_draw__P2171, + "move": PhysicsEngine_move__P2172, }, }); -const scene_Camera__C25849_VT = mkVTable({ +const scene_Camera__C2361_VT = mkVTable({ name: "Camera", numFields: 8, - classNo: 40, - lastSubtypeNo: 40, + classNo: 41, + lastSubtypeNo: 41, maxBgInstances: null, methods: { }, @@ -38200,38 +38718,18 @@ const scene_Camera__C25849_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P25854, - "set/offsetX": scene_Camera_offsetX__P25855, - "offsetY": scene_Camera_offsetY__P25856, - "set/offsetY": scene_Camera_offsetY__P25857, - "x": scene_Camera_x__P25858, - "y": scene_Camera_y__P25859, - "left": scene_Camera_left__P25860, - "top": scene_Camera_top__P25862, - "update": scene_Camera_update__P25865, - }, -}); -const scene_Background__C25761_VT = mkVTable({ - name: "Background", - numFields: 4, - classNo: 41, - lastSubtypeNo: 41, - maxBgInstances: null, - methods: { - }, - iface: { - "color": null, - "set/color": null, - "_image": null, - "set/_image": null, - "camera": null, - "set/camera": null, - "_layers": null, - "set/_layers": null, - "draw": scene_Background_draw__P25770, + "offsetX": scene_Camera_offsetX__P2366, + "set/offsetX": scene_Camera_offsetX__P2367, + "offsetY": scene_Camera_offsetY__P2368, + "set/offsetY": scene_Camera_offsetY__P2369, + "x": scene_Camera_x__P2370, + "y": scene_Camera_y__P2371, + "left": scene_Camera_left__P2372, + "top": scene_Camera_top__P2374, + "update": scene_Camera_update__P2377, }, }); -const scene_BackgroundLayer__C25771_VT = mkVTable({ +const scene_BackgroundLayer__C2283_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 42, @@ -38252,20 +38750,20 @@ const scene_BackgroundLayer__C25771_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P25779, + "draw": scene_BackgroundLayer_draw__P2291, }, }); -const Sprite__C25511_VT = mkVTable({ +const Sprite__C2023_VT = mkVTable({ name: "Sprite", numFields: 26, - classNo: 31, - lastSubtypeNo: 31, + classNo: 34, + lastSubtypeNo: 34, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P25554, - "__draw": sprites_BaseSprite___draw__P25355, - "__drawCore": Sprite___drawCore__P25572, - "__update": Sprite___update__P25573, + "__visible": Sprite___visible__P2066, + "__draw": sprites_BaseSprite___draw__P1867, + "__drawCore": Sprite___drawCore__P2084, + "__update": Sprite___update__P2085, }, iface: { "_z": null, @@ -38320,58 +38818,58 @@ const Sprite__C25511_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P25520, - "set/x": Sprite_x__P25521, - "y": Sprite_y__P25522, - "set/y": Sprite_y__P25523, - "vx": Sprite_vx__P25524, - "set/vx": Sprite_vx__P25525, - "vy": Sprite_vy__P25526, - "set/vy": Sprite_vy__P25527, - "ax": Sprite_ax__P25528, - "set/ax": Sprite_ax__P25529, - "ay": Sprite_ay__P25530, - "set/ay": Sprite_ay__P25531, - "fx": Sprite_fx__P25532, - "set/fx": Sprite_fx__P25533, - "fy": Sprite_fy__P25534, - "set/fy": Sprite_fy__P25535, - "data": Sprite_data__P25536, - "set/data": Sprite_data__P25537, - "image": Sprite_image__P25550, - "setImage": Sprite_setImage__P25551, - "setHitbox": Sprite_setHitbox__P25552, - "isStatic": Sprite_isStatic__P25553, - "__visible": Sprite___visible__P25554, - "width": Sprite_width__P25555, - "height": Sprite_height__P25556, - "left": Sprite_left__P25557, - "set/left": Sprite_left__P25558, - "right": Sprite_right__P25559, - "set/right": Sprite_right__P25560, - "top": Sprite_top__P25561, - "set/top": Sprite_top__P25562, - "bottom": Sprite_bottom__P25563, - "set/bottom": Sprite_bottom__P25564, - "kind": Sprite_kind__P25565, - "setKind": Sprite_setKind__P25566, - "isOutOfScreen": Sprite_isOutOfScreen__P25571, - "__drawCore": Sprite___drawCore__P25572, - "__update": Sprite___update__P25573, - "setFlag": Sprite_setFlag__P25574, - "overlapsWith": Sprite_overlapsWith__P25575, - "clearObstacles": Sprite_clearObstacles__P25579, - "registerObstacle": Sprite_registerObstacle__P25580, - "destroy": Sprite_destroy__P25582, - "_destroyCore": Sprite__destroyCore__P25583, - "toString": Sprite_toString__P25585, - "z": sprites_BaseSprite_z__P25353, - "set/z": sprites_BaseSprite_z__P25354, - "__draw": sprites_BaseSprite___draw__P25355, + "x": Sprite_x__P2032, + "set/x": Sprite_x__P2033, + "y": Sprite_y__P2034, + "set/y": Sprite_y__P2035, + "vx": Sprite_vx__P2036, + "set/vx": Sprite_vx__P2037, + "vy": Sprite_vy__P2038, + "set/vy": Sprite_vy__P2039, + "ax": Sprite_ax__P2040, + "set/ax": Sprite_ax__P2041, + "ay": Sprite_ay__P2042, + "set/ay": Sprite_ay__P2043, + "fx": Sprite_fx__P2044, + "set/fx": Sprite_fx__P2045, + "fy": Sprite_fy__P2046, + "set/fy": Sprite_fy__P2047, + "data": Sprite_data__P2048, + "set/data": Sprite_data__P2049, + "image": Sprite_image__P2062, + "setImage": Sprite_setImage__P2063, + "setHitbox": Sprite_setHitbox__P2064, + "isStatic": Sprite_isStatic__P2065, + "__visible": Sprite___visible__P2066, + "width": Sprite_width__P2067, + "height": Sprite_height__P2068, + "left": Sprite_left__P2069, + "set/left": Sprite_left__P2070, + "right": Sprite_right__P2071, + "set/right": Sprite_right__P2072, + "top": Sprite_top__P2073, + "set/top": Sprite_top__P2074, + "bottom": Sprite_bottom__P2075, + "set/bottom": Sprite_bottom__P2076, + "kind": Sprite_kind__P2077, + "setKind": Sprite_setKind__P2078, + "isOutOfScreen": Sprite_isOutOfScreen__P2083, + "__drawCore": Sprite___drawCore__P2084, + "__update": Sprite___update__P2085, + "setFlag": Sprite_setFlag__P2086, + "overlapsWith": Sprite_overlapsWith__P2087, + "clearObstacles": Sprite_clearObstacles__P2091, + "registerObstacle": Sprite_registerObstacle__P2092, + "destroy": Sprite_destroy__P2094, + "_destroyCore": Sprite__destroyCore__P2095, + "toString": Sprite_toString__P2097, + "z": sprites_BaseSprite_z__P1865, + "set/z": sprites_BaseSprite_z__P1866, + "__draw": sprites_BaseSprite___draw__P1867, }, - toStringMethod: Sprite_toString__P25585, + toStringMethod: Sprite_toString__P2097, }); -const tiles_TileMap__C25813_VT = mkVTable({ +const tiles_TileMap__C2325_VT = mkVTable({ name: "TileMap", numFields: 3, classNo: 43, @@ -38386,25 +38884,25 @@ const tiles_TileMap__C25813_VT = mkVTable({ "set/_layer": null, "_map": null, "set/_map": null, - "scale": tiles_TileMap_scale__P25815, - "set/scale": tiles_TileMap_scale__P25816, - "data": tiles_TileMap_data__P27312, - "offsetX": tiles_TileMap_offsetX__P25817, - "offsetY": tiles_TileMap_offsetY__P25818, - "areaWidth": tiles_TileMap_areaWidth__P25819, - "areaHeight": tiles_TileMap_areaHeight__P25820, - "layer": tiles_TileMap_layer__P25821, - "enabled": tiles_TileMap_enabled__P25823, - "getTile": tiles_TileMap_getTile__P25825, - "getTileIndex": tiles_TileMap_getTileIndex__P25826, - "draw": tiles_TileMap_draw__P27314, - "isObstacle": tiles_TileMap_isObstacle__P25832, - "getObstacle": tiles_TileMap_getObstacle__P25833, - "isOnWall": tiles_TileMap_isOnWall__P25834, - "getTileImage": tiles_TileMap_getTileImage__P25835, + "scale": tiles_TileMap_scale__P2327, + "set/scale": tiles_TileMap_scale__P2328, + "data": tiles_TileMap_data__P3824, + "offsetX": tiles_TileMap_offsetX__P2329, + "offsetY": tiles_TileMap_offsetY__P2330, + "areaWidth": tiles_TileMap_areaWidth__P2331, + "areaHeight": tiles_TileMap_areaHeight__P2332, + "layer": tiles_TileMap_layer__P2333, + "enabled": tiles_TileMap_enabled__P2335, + "getTile": tiles_TileMap_getTile__P2337, + "getTileIndex": tiles_TileMap_getTileIndex__P2338, + "draw": tiles_TileMap_draw__P3826, + "isObstacle": tiles_TileMap_isObstacle__P2344, + "getObstacle": tiles_TileMap_getObstacle__P2345, + "isOnWall": tiles_TileMap_isOnWall__P2346, + "getTileImage": tiles_TileMap_getTileImage__P2347, }, }); -const tiles_TileMapData__C25800_VT = mkVTable({ +const tiles_TileMapData__C2312_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 44, @@ -38427,17 +38925,17 @@ const tiles_TileMapData__C25800_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P25802, - "height": tiles_TileMapData_height__P25803, - "scale": tiles_TileMapData_scale__P25804, - "set/scale": tiles_TileMapData_scale__P25805, - "getTile": tiles_TileMapData_getTile__P25806, - "getTileImage": tiles_TileMapData_getTileImage__P25809, - "isWall": tiles_TileMapData_isWall__P25811, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P25812, + "width": tiles_TileMapData_width__P2314, + "height": tiles_TileMapData_height__P2315, + "scale": tiles_TileMapData_scale__P2316, + "set/scale": tiles_TileMapData_scale__P2317, + "getTile": tiles_TileMapData_getTile__P2318, + "getTileImage": tiles_TileMapData_getTileImage__P2321, + "isWall": tiles_TileMapData_isWall__P2323, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P2324, }, }); -const controller_Controller__C25414_VT = mkVTable({ +const controller_Controller__C1926_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 45, @@ -38456,32 +38954,32 @@ const controller_Controller__C25414_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P25419, - "set/_controlledSprites": controller_Controller__controlledSprites__P25420, - "id": controller_Controller_id__P25421, - "left": controller_Controller_left__P25423, - "right": controller_Controller_right__P25424, - "up": controller_Controller_up__P25425, - "down": controller_Controller_down__P25426, - "button": controller_Controller_button__P27204, - "connected": controller_Controller_connected__P25433, - "set/connected": controller_Controller_connected__P25434, - "__preUpdate": controller_Controller___preUpdate__P25438, - "__update": controller_Controller___update__P25439, + "_controlledSprites": controller_Controller__controlledSprites__P1931, + "set/_controlledSprites": controller_Controller__controlledSprites__P1932, + "id": controller_Controller_id__P1933, + "left": controller_Controller_left__P1935, + "right": controller_Controller_right__P1936, + "up": controller_Controller_up__P1937, + "down": controller_Controller_down__P1938, + "button": controller_Controller_button__P3716, + "connected": controller_Controller_connected__P1945, + "set/connected": controller_Controller_connected__P1946, + "__preUpdate": controller_Controller___preUpdate__P1950, + "__update": controller_Controller___update__P1951, }, }); -const ArcadePhysicsEngine__C25669_VT = mkVTable({ +const ArcadePhysicsEngine__C2181_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, - classNo: 39, - lastSubtypeNo: 39, + classNo: 40, + lastSubtypeNo: 40, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P25678, - "removeSprite": ArcadePhysicsEngine_removeSprite__P25679, - "moveSprite": ArcadePhysicsEngine_moveSprite__P25683, - "draw": ArcadePhysicsEngine_draw__P25680, - "move": ArcadePhysicsEngine_move__P25681, + "addSprite": ArcadePhysicsEngine_addSprite__P2190, + "removeSprite": ArcadePhysicsEngine_removeSprite__P2191, + "moveSprite": ArcadePhysicsEngine_moveSprite__P2195, + "draw": ArcadePhysicsEngine_draw__P2192, + "move": ArcadePhysicsEngine_move__P2193, }, iface: { "sprites": null, @@ -38496,26 +38994,26 @@ const ArcadePhysicsEngine__C25669_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P25671, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P25672, - "minStep": ArcadePhysicsEngine_minStep__P25673, - "set/minStep": ArcadePhysicsEngine_minStep__P25674, - "maxStep": ArcadePhysicsEngine_maxStep__P25675, - "set/maxStep": ArcadePhysicsEngine_maxStep__P25676, - "addSprite": ArcadePhysicsEngine_addSprite__P25678, - "removeSprite": ArcadePhysicsEngine_removeSprite__P25679, - "draw": ArcadePhysicsEngine_draw__P25680, - "move": ArcadePhysicsEngine_move__P25681, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P27241, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P27242, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P27243, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P27244, - "moveSprite": ArcadePhysicsEngine_moveSprite__P25683, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P27245, - "constrain": ArcadePhysicsEngine_constrain__P27246, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P2183, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P2184, + "minStep": ArcadePhysicsEngine_minStep__P2185, + "set/minStep": ArcadePhysicsEngine_minStep__P2186, + "maxStep": ArcadePhysicsEngine_maxStep__P2187, + "set/maxStep": ArcadePhysicsEngine_maxStep__P2188, + "addSprite": ArcadePhysicsEngine_addSprite__P2190, + "removeSprite": ArcadePhysicsEngine_removeSprite__P2191, + "draw": ArcadePhysicsEngine_draw__P2192, + "move": ArcadePhysicsEngine_move__P2193, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P3753, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P3754, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P3755, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P3756, + "moveSprite": ArcadePhysicsEngine_moveSprite__P2195, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P3757, + "constrain": ArcadePhysicsEngine_constrain__P3758, }, }); -const sprites_SpriteMap__C25589_VT = mkVTable({ +const sprites_SpriteMap__C2101_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 46, @@ -38534,20 +39032,20 @@ const sprites_SpriteMap__C25589_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P25591, - "overlaps": sprites_SpriteMap_overlaps__P25592, - "draw": sprites_SpriteMap_draw__P25593, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P25594, - "clear": sprites_SpriteMap_clear__P25595, - "key": sprites_SpriteMap_key__P27210, - "insertAtKey": sprites_SpriteMap_insertAtKey__P27211, - "insertAABB": sprites_SpriteMap_insertAABB__P25596, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P27212, - "toString": sprites_SpriteMap_toString__P25597, + "neighbors": sprites_SpriteMap_neighbors__P2103, + "overlaps": sprites_SpriteMap_overlaps__P2104, + "draw": sprites_SpriteMap_draw__P2105, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P2106, + "clear": sprites_SpriteMap_clear__P2107, + "key": sprites_SpriteMap_key__P3722, + "insertAtKey": sprites_SpriteMap_insertAtKey__P3723, + "insertAABB": sprites_SpriteMap_insertAABB__P2108, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P3724, + "toString": sprites_SpriteMap_toString__P2109, }, - toStringMethod: sprites_SpriteMap_toString__P25597, + toStringMethod: sprites_SpriteMap_toString__P2109, }); -const music_Melody__C25089_VT = mkVTable({ +const music_Melody__C1601_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 47, @@ -38560,11 +39058,11 @@ const music_Melody__C25089_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P25098, + "toString": music_Melody_toString__P1610, }, - toStringMethod: music_Melody_toString__P25098, + toStringMethod: music_Melody_toString__P1610, }); -const scene_systemMenu_PauseMenu__C26111_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C2623_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 48, @@ -38587,15 +39085,15 @@ const scene_systemMenu_PauseMenu__C26111_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P26113, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P26114, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P26115, - "drawText": scene_systemMenu_PauseMenu_drawText__P26116, - "dispose": scene_systemMenu_PauseMenu_dispose__P26117, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P27622, + "show": scene_systemMenu_PauseMenu_show__P2625, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P2626, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P2627, + "drawText": scene_systemMenu_PauseMenu_drawText__P2628, + "dispose": scene_systemMenu_PauseMenu_dispose__P2629, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P4134, }, }); -const scene_systemMenu_MenuOption__C26103_VT = mkVTable({ +const scene_systemMenu_MenuOption__C2615_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 49, @@ -38620,16 +39118,16 @@ const scene_systemMenu_MenuOption__C26103_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P26105, - "position": scene_systemMenu_MenuOption_position__P26106, - "setOffset": scene_systemMenu_MenuOption_setOffset__P26107, - "setTheme": scene_systemMenu_MenuOption_setTheme__P26108, - "setState": scene_systemMenu_MenuOption_setState__P26109, - "dispose": scene_systemMenu_MenuOption_dispose__P26110, - "updateCard": scene_systemMenu_MenuOption_updateCard__P27621, + "show": scene_systemMenu_MenuOption_show__P2617, + "position": scene_systemMenu_MenuOption_position__P2618, + "setOffset": scene_systemMenu_MenuOption_setOffset__P2619, + "setTheme": scene_systemMenu_MenuOption_setTheme__P2620, + "setState": scene_systemMenu_MenuOption_setState__P2621, + "dispose": scene_systemMenu_MenuOption_dispose__P2622, + "updateCard": scene_systemMenu_MenuOption_updateCard__P4133, }, }); -const game_Hitbox__C25450_VT = mkVTable({ +const game_Hitbox__C1962_VT = mkVTable({ name: "Hitbox", numFields: 5, classNo: 50, @@ -38648,13 +39146,13 @@ const game_Hitbox__C25450_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P25457, - "top": game_Hitbox_top__P25458, - "right": game_Hitbox_right__P25459, - "bottom": game_Hitbox_bottom__P25460, + "left": game_Hitbox_left__P1969, + "top": game_Hitbox_top__P1970, + "right": game_Hitbox_right__P1971, + "bottom": game_Hitbox_bottom__P1972, }, }); -const sprites_SpriteSet__C25606_VT = mkVTable({ +const sprites_SpriteSet__C2118_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 51, @@ -38665,25 +39163,25 @@ const sprites_SpriteSet__C25606_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P25609, - "add": sprites_SpriteSet_add__P25611, - "remove": sprites_SpriteSet_remove__P25613, - "contains": sprites_SpriteSet_contains__P25614, - "toString": sprites_SpriteSet_toString__P25617, + "length": sprites_SpriteSet_length__P2121, + "add": sprites_SpriteSet_add__P2123, + "remove": sprites_SpriteSet_remove__P2125, + "contains": sprites_SpriteSet_contains__P2126, + "toString": sprites_SpriteSet_toString__P2129, }, - toStringMethod: sprites_SpriteSet_toString__P25617, + toStringMethod: sprites_SpriteSet_toString__P2129, }); -const scene_Renderable__C25867_VT = mkVTable({ +const scene_Renderable__C2379_VT = mkVTable({ name: "Renderable", numFields: 4, - classNo: 32, - lastSubtypeNo: 32, + classNo: 35, + lastSubtypeNo: 35, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P25869, - "__draw": sprites_BaseSprite___draw__P25355, - "__drawCore": scene_Renderable___drawCore__P25870, - "__update": sprites_BaseSprite___update__P25357, + "__visible": scene_Renderable___visible__P2381, + "__draw": sprites_BaseSprite___draw__P1867, + "__drawCore": scene_Renderable___drawCore__P2382, + "__update": sprites_BaseSprite___update__P1869, }, iface: { "_z": null, @@ -38694,15 +39192,15 @@ const scene_Renderable__C25867_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P25869, - "__drawCore": scene_Renderable___drawCore__P25870, - "z": sprites_BaseSprite_z__P25353, - "set/z": sprites_BaseSprite_z__P25354, - "__draw": sprites_BaseSprite___draw__P25355, - "__update": sprites_BaseSprite___update__P25357, + "__visible": scene_Renderable___visible__P2381, + "__drawCore": scene_Renderable___drawCore__P2382, + "z": sprites_BaseSprite_z__P1865, + "set/z": sprites_BaseSprite_z__P1866, + "__draw": sprites_BaseSprite___draw__P1867, + "__update": sprites_BaseSprite___update__P1869, }, }); -const MovingSprite__C25667_VT = mkVTable({ +const MovingSprite__C2179_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 52, @@ -38727,7 +39225,7 @@ const MovingSprite__C25667_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C25785_VT = mkVTable({ +const tiles_Location__C2297_VT = mkVTable({ name: "Location", numFields: 3, classNo: 53, @@ -38742,14 +39240,14 @@ const tiles_Location__C25785_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "col": tiles_Location_col__P25786, - "row": tiles_Location_row__P25787, - "x": tiles_Location_x__P25789, - "y": tiles_Location_y__P25790, - "tileSet": tiles_Location_tileSet__P25791, + "col": tiles_Location_col__P2298, + "row": tiles_Location_row__P2299, + "x": tiles_Location_x__P2301, + "y": tiles_Location_y__P2302, + "tileSet": tiles_Location_tileSet__P2303, }, }); -const sprites_StaticObstacle__C25641_VT = mkVTable({ +const sprites_StaticObstacle__C2153_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 54, @@ -38768,14 +39266,14 @@ const sprites_StaticObstacle__C25641_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P25648, - "y": sprites_StaticObstacle_y__P25649, - "height": sprites_StaticObstacle_height__P25650, - "width": sprites_StaticObstacle_width__P25651, + "x": sprites_StaticObstacle_x__P2160, + "y": sprites_StaticObstacle_y__P2161, + "height": sprites_StaticObstacle_height__P2162, + "width": sprites_StaticObstacle_width__P2163, }, }); -const breakpoints = setupDebugger(1, ["currentFrame___26959"]) +const breakpoints = setupDebugger(1, ["currentFrame___3471","initialized___5519","CHANNEL___5512"]) -return _main___P39276 +return _main___P15864 }) diff --git a/assets/version.txt b/assets/version.txt index bd52db8..8a9ecc2 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.0.0 \ No newline at end of file +0.0.1 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 85cfa00..e4df825 100644 --- a/pxt.json +++ b/pxt.json @@ -1,5 +1,6 @@ { "name": "arcade-webcam", + "version": "0.0.1", "description": "", "dependencies": { "device": "*"