From cc5a0c6916d86a2ba5a76d7b8d3e6166c2aa5c12 Mon Sep 17 00:00:00 2001 From: Joey Wunderlich Date: Sat, 19 Sep 2020 13:52:32 -0700 Subject: [PATCH] 0.3.1 --- assets/js/binary.js | 16990 +++++++++++++++++++++--------------------- assets/version.txt | 2 +- pxt.json | 2 +- 3 files changed, 8497 insertions(+), 8497 deletions(-) diff --git a/assets/js/binary.js b/assets/js/binary.js index 917122a..3a8fb5d 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,4 +1,4 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.2.6/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.3.0","target":"arcade","targetVersion":"1.2.6","repo":"jwunderl/arcade-tilemap-a-star"} +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.2.6/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.3.1","target":"arcade","targetVersion":"1.2.6","repo":"jwunderl/arcade-tilemap-a-star"} // total=1398868 new=13.60% cached=81.29% other=5.12% (function (ectx) { 'use strict'; @@ -413,7 +413,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P37117(s) { +function _main___P37374(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -423,232 +423,232 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___22089 = (undefined); - globals._pollEventQueue___22098 = (undefined); - globals.minPriority___18928 = (1); + globals._intervals___22233 = (undefined); + globals._pollEventQueue___22242 = (undefined); + globals.minPriority___19072 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, inline__P22101); - globals.listeners___22102 = (s.tmp_0); - globals.globalVolume___22155 = (null); - globals.playToneID___22162 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C20162_VT); + r0 = pxsim_Array__push(s.tmp_0, inline__P22245); + globals.listeners___22246 = (s.tmp_0); + globals.globalVolume___22299 = (null); + globals.playToneID___22306 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C20306_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P20165_mk(s); + s.tmp_1 = music_Melody_constructor__P20309_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___20179 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C20162_VT); + globals.wawawawaa___20323 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C20306_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P20165_mk(s); + s.tmp_1 = music_Melody_constructor__P20309_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___20182 = (s.tmp_0); - globals.brightness___20288 = (100); + globals.powerUp___20326 = (s.tmp_0); + globals.brightness___20432 = (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", _hex26463); - globals.font8___20309 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex26607); + globals.font8___20453 = (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", _hex26465); - globals.font12___20310 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex26609); + globals.font12___20454 = (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", _hex32027); - globals.font5___20314 = (s.tmp_0); - globals.__updated___22199 = (false); - r0 = pxsim.control.runInParallel(inline__P22202); - r0 = pxsim_pxtcore.setPalette(_hex22213); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex32171); + globals.font5___20458 = (s.tmp_0); + globals.__updated___22343 = (false); + r0 = pxsim.control.runInParallel(inline__P22346); + r0 = pxsim_pxtcore.setPalette(_hex22357); r0 = pxsim.image.create(160, 120); - globals.screen___20366 = (r0); - s.tmp_0 = control___screen_setupUpdate__P20328_mk(s); - s.tmp_0.arg0 = inline__P22220; + globals.screen___20510 = (r0); + s.tmp_0 = control___screen_setupUpdate__P20472_mk(s); + s.tmp_0.arg0 = inline__P22364; s.callLocIdx = 4; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___18951 = (inline__P22225); - globals.RUN_KEY___22230 = ("#run"); - globals.SCOPE_KEY___22231 = ("#scope"); - s.tmp_0 = settings_initScopes__P22242_mk(s); + globals.control_EventContext_onStats___19095 = (inline__P22369); + globals.RUN_KEY___22374 = ("#run"); + globals.SCOPE_KEY___22375 = ("#scope"); + s.tmp_0 = settings_initScopes__P22386_mk(s); s.callLocIdx = 5; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20467_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20473_mk(s); + s.tmp_1 = controller_Button_constructor__P20617_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___20441 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20467_VT); + globals.A___20585 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20473_mk(s); + s.tmp_1 = controller_Button_constructor__P20617_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___20442 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20467_VT); + globals.B___20586 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20473_mk(s); + s.tmp_1 = controller_Button_constructor__P20617_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___20443 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20467_VT); + globals.left___20587 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20473_mk(s); + s.tmp_1 = controller_Button_constructor__P20617_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___20444 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20467_VT); + globals.up___20588 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20473_mk(s); + s.tmp_1 = controller_Button_constructor__P20617_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___20445 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20467_VT); + globals.right___20589 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20473_mk(s); + s.tmp_1 = controller_Button_constructor__P20617_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___20446 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20467_VT); + globals.down___20590 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20473_mk(s); + s.tmp_1 = controller_Button_constructor__P20617_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___20447 = (s.tmp_0); - globals._userEventsEnabled___22269 = (true); - globals.defaultRepeatDelay___22271 = (500); - globals.defaultRepeatInterval___22273 = (30); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C22279_VT); + globals.menu___20591 = (s.tmp_0); + globals._userEventsEnabled___22413 = (true); + globals.defaultRepeatDelay___22415 = (500); + globals.defaultRepeatInterval___22417 = (30); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C22423_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20473_mk(s); + s.tmp_1 = controller_Button_constructor__P20617_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___20521 = (s.tmp_0); - s.tmp_0 = SpriteKind_create__P20691_mk(s); + globals.anyButton___20665 = (s.tmp_0); + s.tmp_0 = SpriteKind_create__P20835_mk(s); s.callLocIdx = 14; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___20692 = (r0); - s.tmp_0 = SpriteKind_create__P20691_mk(s); + globals.Player___20836 = (r0); + s.tmp_0 = SpriteKind_create__P20835_mk(s); s.callLocIdx = 15; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___20694 = (r0); - s.tmp_0 = SpriteKind_create__P20691_mk(s); + globals.Food___20838 = (r0); + s.tmp_0 = SpriteKind_create__P20835_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___20695 = (r0); + globals.Enemy___20839 = (r0); r0 = (100 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MAX_TIME_STEP___20732 = (r0); + globals.MAX_TIME_STEP___20876 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___20734 = (r0); - globals.infoState___22322 = (undefined); - s.tmp_0 = game_addScenePushHandler__P21113_mk(s); - s.tmp_0.arg0 = inline__P22326; + globals.MIN_MOVE_GAP___20878 = (r0); + globals.infoState___22466 = (undefined); + s.tmp_0 = game_addScenePushHandler__P21257_mk(s); + s.tmp_0.arg0 = inline__P22470; s.callLocIdx = 19; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P21115_mk(s); - s.tmp_0.arg0 = inline__P22341; + s.tmp_0 = game_addScenePopHandler__P21259_mk(s); + s.tmp_0.arg0 = inline__P22485; s.callLocIdx = 23; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___21003 = (r0); - globals.debug___21092 = (false); - globals.stats___21093 = (false); - globals.winEffect___21094 = (undefined); - globals.loseEffect___21095 = (undefined); - globals.loseSound___22437 = (undefined); - globals.winSound___22439 = (undefined); - s.tmp_0 = scene_systemMenu_initVolume__P22706_mk(s); + globals.scene_Scene_initializers___21147 = (r0); + globals.debug___21236 = (false); + globals.stats___21237 = (false); + globals.winEffect___21238 = (undefined); + globals.loseEffect___21239 = (undefined); + globals.loseSound___22581 = (undefined); + globals.winSound___22583 = (undefined); + s.tmp_0 = scene_systemMenu_initVolume__P22850_mk(s); s.callLocIdx = 24; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P22707_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P22851_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___21003, scene_systemMenu_register__P21197); - r0 = pxsim.image.ofBuffer(_hex22714); - globals.CARD_NORMAL___21202 = (r0); - r0 = pxsim.image.ofBuffer(_hex22716); - globals.CARD_SELECTED___21203 = (r0); - r0 = pxsim.image.ofBuffer(_hex22718); - globals.CARD_ACTIVE___21204 = (r0); - r0 = pxsim.image.ofBuffer(_hex22720); - globals.VOLUME_UP_ICON___21205 = (r0); - r0 = pxsim.image.ofBuffer(_hex22722); - globals.BRIGHTNESS_DOWN_ICON___21206 = (r0); - r0 = pxsim.image.ofBuffer(_hex22724); - globals.CLOSE_MENU_ICON___21207 = (r0); - r0 = pxsim.image.ofBuffer(_hex22726); - globals.VOLUME_DOWN_ICON___21208 = (r0); - r0 = pxsim.image.ofBuffer(_hex22728); - globals.SLEEP_ICON___21209 = (r0); - r0 = pxsim.image.ofBuffer(_hex22730); - globals.CONSOLE_ICON___21210 = (r0); - r0 = pxsim.image.ofBuffer(_hex22732); - globals.BRIGHTNESS_UP_ICON___21211 = (r0); - r0 = pxsim.image.ofBuffer(_hex22734); - globals.STATS_ICON___21212 = (r0); - globals.consoleColor___22737 = (1); - globals.tabSize___22740 = (8); - globals.consoleFont___22746 = (globals.font5___20314); - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___21147, scene_systemMenu_register__P21341); + r0 = pxsim.image.ofBuffer(_hex22858); + globals.CARD_NORMAL___21346 = (r0); + r0 = pxsim.image.ofBuffer(_hex22860); + globals.CARD_SELECTED___21347 = (r0); + r0 = pxsim.image.ofBuffer(_hex22862); + globals.CARD_ACTIVE___21348 = (r0); + r0 = pxsim.image.ofBuffer(_hex22864); + globals.VOLUME_UP_ICON___21349 = (r0); + r0 = pxsim.image.ofBuffer(_hex22866); + globals.BRIGHTNESS_DOWN_ICON___21350 = (r0); + r0 = pxsim.image.ofBuffer(_hex22868); + globals.CLOSE_MENU_ICON___21351 = (r0); + r0 = pxsim.image.ofBuffer(_hex22870); + globals.VOLUME_DOWN_ICON___21352 = (r0); + r0 = pxsim.image.ofBuffer(_hex22872); + globals.SLEEP_ICON___21353 = (r0); + r0 = pxsim.image.ofBuffer(_hex22874); + globals.CONSOLE_ICON___21354 = (r0); + r0 = pxsim.image.ofBuffer(_hex22876); + globals.BRIGHTNESS_UP_ICON___21355 = (r0); + r0 = pxsim.image.ofBuffer(_hex22878); + globals.STATS_ICON___21356 = (r0); + globals.consoleColor___22881 = (1); + globals.tabSize___22884 = (8); + globals.consoleFont___22890 = (globals.font5___20458); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___22746; + s.tmp_5.arg0 = globals.consoleFont___22890; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -667,13 +667,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___22751 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___20366); + globals.consoleLines___22895 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___20510); 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___22746; + s.tmp_4.arg0 = globals.consoleFont___22890; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -688,22 +688,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___22761 = (r0); - s.tmp_0 = console_addListener__P18936_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P22773; + globals.consoleColumns___22905 = (r0); + s.tmp_0 = console_addListener__P19080_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P22917; 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__P22777; + s.tmp_0.argL = inline__P22921; 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___22775 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C21282_VT); + globals.MAX_SOURCES___22919 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C21426_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P21283_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P21427_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -711,108 +711,108 @@ switch (step) { s.callLocIdx = 31; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - globals.defaultFactory___21262 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21150_VT); + globals.defaultFactory___21406 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21294_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P21152_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P21296_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___22810 = (s.tmp_0); - globals.angleSlice___22818 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C21357_VT); + globals.galois___22954 = (s.tmp_0); + globals.angleSlice___22962 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C21501_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P21358_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P21502_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__P28318; + s.tmp_1.arg4 = inline__P28462; s.callLocIdx = 38; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.confetti___21365 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C21353_VT); + globals.confetti___21509 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C21497_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ParticleEffect_constructor__P21354_mk(s); + s.tmp_1 = effects_ParticleEffect_constructor__P21498_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 60; s.tmp_1.arg2 = 2000; - s.tmp_1.arg3 = inline__P27206; + s.tmp_1.arg3 = inline__P27350; s.callLocIdx = 42; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.ashes___21373 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C21380_VT); + globals.ashes___21517 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C21524_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P21381_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P21525_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P30302; + s.tmp_1.arg2 = inline__P30446; s.callLocIdx = 48; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.dissolve___21385 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C21380_VT); + globals.dissolve___21529 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C21524_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P21381_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P21525_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P28210; + s.tmp_1.arg2 = inline__P28354; s.callLocIdx = 51; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.melt___21386 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C21395_VT); + globals.melt___21530 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C21539_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P21397_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P21541_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P22869; + s.tmp_1.arg1 = inline__P23013; s.callLocIdx = 52; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.shake___21398 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C21395_VT); + globals.shake___21542 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C21539_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P21397_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P21541_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P22882; + s.tmp_1.arg1 = inline__P23026; s.callLocIdx = 62; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - globals.wave___21399 = (s.tmp_0); - r0 = pxsim.image.ofBuffer(_hex23185); - globals.tileGrass1___21568 = (r0); - r0 = pxsim.image.ofBuffer(_hex23189); - globals.tilePath5___21570 = (r0); - s.tmp_0 = game_setWaitAnyButton__P21097_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P20517; + globals.wave___21543 = (s.tmp_0); + r0 = pxsim.image.ofBuffer(_hex23329); + globals.tileGrass1___21712 = (r0); + r0 = pxsim.image.ofBuffer(_hex23333); + globals.tilePath5___21714 = (r0); + s.tmp_0 = game_setWaitAnyButton__P21241_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P20661; s.callLocIdx = 63; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = game_eventContext__P21099_mk(s); + s.tmp_0 = game_eventContext__P21243_mk(s); s.callLocIdx = 64; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - globals.PATH_FOLLOW_KEY___24588 = ("A_STAR_PATH_FOLLOW"); - globals.PATH_COMPLETION_KEY___24590 = ("A_STAR_PATH_COMPLETION_HANDLER"); - r0 = pxsim.image.ofBuffer(_hex25177); - globals.transparency16___22037 = (r0); - s.tmp_0 = helpers_registerTilemapFactory__P20921_mk(s); - s.tmp_0.arg0 = inline__P25185; + globals.PATH_FOLLOW_KEY___24732 = ("A_STAR_PATH_FOLLOW"); + globals.PATH_COMPLETION_KEY___24734 = ("A_STAR_PATH_COMPLETION_HANDLER"); + r0 = pxsim.image.ofBuffer(_hex25321); + globals.transparency16___22181 = (r0); + s.tmp_0 = helpers_registerTilemapFactory__P21065_mk(s); + s.tmp_0.arg0 = inline__P25329; s.callLocIdx = 209; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = game_consoleOverlay_setVisible__P21217_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P21361_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = 2; s.callLocIdx = 210; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = tiles_setTilemap__P20905_mk(s); - s.tmp_1 = helpers_getTilemapByName__P20922_mk(s); + s.tmp_0 = tiles_setTilemap__P21049_mk(s); + s.tmp_1 = helpers_getTilemapByName__P21066_mk(s); s.tmp_1.arg0 = "level"; s.callLocIdx = 211; s.pc = 37; return s.tmp_1; case 37: @@ -821,55 +821,55 @@ switch (step) { s.callLocIdx = 212; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = sprites_create__P20538_mk(s); - r0 = pxsim.image.ofBuffer(_hex25206); + s.tmp_0 = sprites_create__P20682_mk(s); + r0 = pxsim.image.ofBuffer(_hex25350); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.callLocIdx = 213; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - globals.mySprite___22039 = (r0); - s.tmp_0 = controller_moveSprite__P20516_mk(s); - s.tmp_0.arg0 = globals.mySprite___22039; + globals.mySprite___22183 = (r0); + s.tmp_0 = controller_moveSprite__P20660_mk(s); + s.tmp_0.arg0 = globals.mySprite___22183; s.tmp_0.arg1 = 100; s.tmp_0.arg2 = 100; s.callLocIdx = 214; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = scene_cameraFollowSprite__P21028_mk(s); - s.tmp_0.arg0 = globals.mySprite___22039; + s.tmp_0 = scene_cameraFollowSprite__P21172_mk(s); + s.tmp_0.arg0 = globals.mySprite___22183; s.callLocIdx = 215; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P20474_mk(s); - s.tmp_0.arg0 = globals.A___20441; + s.tmp_0 = controller_Button_onEvent__P20618_mk(s); + s.tmp_0.arg0 = globals.A___20585; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P25219; + s.tmp_0.arg2 = inline__P25363; s.callLocIdx = 224; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P20643_mk(s); - s.tmp_0.arg0 = globals.mySprite___22039; + s.tmp_0 = Sprite_setFlag__P20787_mk(s); + s.tmp_0.arg0 = globals.mySprite___22183; s.tmp_0.arg1 = 32; s.tmp_0.arg2 = false; s.callLocIdx = 225; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.tmp_0 = scene_onPathCompletion__P22032_mk(s); - s.tmp_0.arg0 = globals.Enemy___20695; - s.tmp_0.arg1 = inline__P25246; + s.tmp_0 = scene_onPathCompletion__P22176_mk(s); + s.tmp_0.arg0 = globals.Enemy___20839; + s.tmp_0.arg1 = inline__P25390; s.callLocIdx = 227; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P20474_mk(s); - s.tmp_0.arg0 = globals.B___20442; + s.tmp_0 = controller_Button_onEvent__P20618_mk(s); + s.tmp_0.arg0 = globals.B___20586; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P25256; + s.tmp_0.arg2 = inline__P25400; s.callLocIdx = 233; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.tmp_0 = game_onUpdate__P21107_mk(s); - s.tmp_0.arg0 = inline__P25274; + s.tmp_0 = game_onUpdate__P21251_mk(s); + s.tmp_0.arg0 = inline__P25418; s.callLocIdx = 238; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; @@ -877,13 +877,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -_main___P37117.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/pxt-heap/main.ts","functionName":"
","argumentNames":[]} -_main___P37117.continuations = [ ] +_main___P37374.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/pxt-heap/main.ts","functionName":"
","argumentNames":[]} +_main___P37374.continuations = [ ] -function _main___P37117_mk(s) { +function _main___P37374_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P37117, depth: s.depth + 1, + parent: s, fn: _main___P37374, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -893,30 +893,30 @@ function _main___P37117_mk(s) { tmp_5: undefined, } } -const _hex26463 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex26465 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex32027 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex22213 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex22714 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex22716 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex22718 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex22720 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex22722 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex22724 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex22726 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex22728 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex22730 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex22732 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex22734 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex23185 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777677777777777757657777777777777755767777557677557777777777777757757777777777777757757777777777775576777777777777657777777777777777777777777777777777777777777777777777777777777777576577777777777777777777577777777777777777777777777777777777") -const _hex23189 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") -const _hex25177 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex25206 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000f00f00000000f0fffffb000000f03fb3bbebee0000bf33b3bbeff40ff03ee3fffeffbc0f5fe4b3bf41bfddf14f4533fe4fdebdfd5445e3ee44deddb15445e3ee44debdbd4f4533fe4fdeddf15fe4b3bf41bfbdfdf03ee3fffeffbc0f00bf33b3bbeff40f00f03fb3bbebee000000f0fffffb000000000000f00f0000") +const _hex26607 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex26609 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex32171 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex22357 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex22858 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex22860 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex22862 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex22864 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex22866 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex22868 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex22870 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex22872 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex22874 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex22876 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex22878 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex23329 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777677777777777757657777777777777755767777557677557777777777777757757777777777777757757777777777775576777777777777657777777777777777777777777777777777777777777777777777777777777777576577777777777777777777577777777777777777777777777777777777") +const _hex23333 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") +const _hex25321 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex25350 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000f00f00000000f0fffffb000000f03fb3bbebee0000bf33b3bbeff40ff03ee3fffeffbc0f5fe4b3bf41bfddf14f4533fe4fdebdfd5445e3ee44deddb15445e3ee44debdbd4f4533fe4fdeddf15fe4b3bf41bfbdfdf03ee3fffeffbc0f00bf33b3bbeff40f00f03fb3bbebee000000f0fffffb000000000000f00f0000") -function inline__P22202(s) { +function inline__P22346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -929,23 +929,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___22199 = (false); - s.tmp_0 = pause__P18966_mk(s); + globals.__updated___22343 = (false); + s.tmp_0 = pause__P19110_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___22199); + r0 = pxsim_numops_toBoolDecr(globals.__updated___22343); 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__P20327_mk(s); + s.tmp_2 = control___screen_update__P20471_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___22199 = (true); + globals.__updated___22343 = (true); case 2: case 3: { step = 1; continue; } @@ -954,12 +954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22202.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P22346.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function inline__P22202_mk(s) { +function inline__P22346_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22202, depth: s.depth + 1, + parent: s, fn: inline__P22346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -970,7 +970,7 @@ function inline__P22202_mk(s) { -function inline__P22220(s) { +function inline__P22364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -980,17 +980,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___20366); + r0 = pxsim_pxtcore.updateScreen(globals.screen___20510); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P22220.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P22364.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function inline__P22220_mk(s) { +function inline__P22364_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22220, depth: s.depth + 1, + parent: s, fn: inline__P22364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -998,7 +998,7 @@ function inline__P22220_mk(s) { -function inline__P22225(s) { +function inline__P22369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1017,12 +1017,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22225.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +inline__P22369.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__P22225_mk(s) { +function inline__P22369_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22225, depth: s.depth + 1, + parent: s, fn: inline__P22369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1031,7 +1031,7 @@ function inline__P22225_mk(s) { -function inline__P22326(s) { +function inline__P22470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1045,36 +1045,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___22322); + r0 = pxsim_numops_toBoolDecr(globals.infoState___22466); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___22324); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___22468); 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___22324 = (r0); + globals.infoStateStack___22468 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___22322); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___22466); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___22324, s.tmp_0); - globals.infoState___22322 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___22468, s.tmp_0); + globals.infoState___22466 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P22326.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P22470.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__P22326_mk(s) { +function inline__P22470_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22326, depth: s.depth + 1, + parent: s, fn: inline__P22470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1085,7 +1085,7 @@ function inline__P22326_mk(s) { -function inline__P22341(s) { +function inline__P22485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1095,30 +1095,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___22342 = undefined; - s.nextState___22351 = undefined; - s.tmp_0 = game_currentScene__P21096_mk(s); + s.scene___22486 = undefined; + s.nextState___22495 = undefined; + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 20; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___22342 = (r0); - globals.infoState___22322 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___22324; + s.scene___22486 = (r0); + globals.infoState___22466 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___22468; 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___22324); + r0 = pxsim_Array__length(globals.infoStateStack___22468); 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___22324); - s.nextState___22351 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___22468); + s.nextState___22495 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___22351; + s.tmp_2.arg0 = s.nextState___22495; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1130,12 +1130,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___22342); + r0 = (s.tmp_1 == s.scene___22486); 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___22351; + s.tmp_3.arg0 = s.nextState___22495; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1146,10 +1146,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___22322 = (r0); + globals.infoState___22466 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___22324, s.nextState___22351); + r0 = pxsim_Array__push(globals.infoStateStack___22468, s.nextState___22495); case 4: case 5: case 6: @@ -1157,26 +1157,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22341.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P22485.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P22341_mk(s) { +function inline__P22485_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22341, depth: s.depth + 1, + parent: s, fn: inline__P22485, 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___22342: undefined, - nextState___22351: undefined, + scene___22486: undefined, + nextState___22495: undefined, } } -function inline__P22777(s) { +function inline__P22921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1186,13 +1186,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___22778 = undefined; - s.tmp_0 = control_ramSize__P18899_mk(s); + s.sz___22922 = undefined; + s.tmp_0 = control_ramSize__P19043_mk(s); s.callLocIdx = 29; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___22778 = (r0); - r0 = (s.sz___22778 <= 102400); + s.sz___22922 = (r0); + r0 = (s.sz___22922 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -1200,7 +1200,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___22778 <= 204800); + r0 = (s.sz___22922 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -1217,23 +1217,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22777.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P22921.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function inline__P22777_mk(s) { +function inline__P22921_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22777, depth: s.depth + 1, + parent: s, fn: inline__P22921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___22778: undefined, + sz___22922: undefined, } } -function inline__P22869(s) { +function inline__P23013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1263,12 +1263,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22869.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P23013.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -function inline__P22869_mk(s) { +function inline__P23013_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22869, depth: s.depth + 1, + parent: s, fn: inline__P23013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1283,7 +1283,7 @@ function inline__P22869_mk(s) { -function inline__P22882(s) { +function inline__P23026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1312,7 +1312,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__P18688_mk(s); + s.tmp_7 = Math_sign__P18832_mk(s); r0 = pxsim.Math_.sin(s.arg0); s.tmp_7.arg0 = r0; s.callLocIdx = 53; s.pc = 7; return s.tmp_7; @@ -1377,7 +1377,7 @@ switch (step) { } case 9: r0 = s.retval; - s.tmp_2 = Math_abs__P18687_mk(s); + s.tmp_2 = Math_abs__P18831_mk(s); s.tmp_3 = if_yOffset_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -1449,12 +1449,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22882.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__P23026.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__P22882_mk(s) { +function inline__P23026_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22882, depth: s.depth + 1, + parent: s, fn: inline__P23026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1474,7 +1474,7 @@ function inline__P22882_mk(s) { -function inline__P25185(s) { +function inline__P25329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1488,7 +1488,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P18682_mk(s); + s.tmp_1 = helpers_stringTrim__P18826_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 207; s.pc = 4; return s.tmp_1; case 4: @@ -1501,12 +1501,12 @@ switch (step) { case 1: r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, globals.transparency16___22037); - r0 = pxsim_Array__push(s.tmp_2, globals.tilePath5___21570); - r0 = pxsim_Array__push(s.tmp_2, globals.tileGrass1___21568); - s.tmp_3 = tiles_createTilemap__P20904_mk(s); - s.tmp_3.arg0 = _hex25192; - r0 = pxsim.image.ofBuffer(_hex25194); + r0 = pxsim_Array__push(s.tmp_2, globals.transparency16___22181); + r0 = pxsim_Array__push(s.tmp_2, globals.tilePath5___21714); + r0 = pxsim_Array__push(s.tmp_2, globals.tileGrass1___21712); + s.tmp_3 = tiles_createTilemap__P21048_mk(s); + s.tmp_3.arg0 = _hex25336; + r0 = pxsim.image.ofBuffer(_hex25338); s.tmp_3.arg1 = r0; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = 4; @@ -1520,12 +1520,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25185.info = {"start":306,"length":1316,"line":7,"column":35,"endLine":29,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} +inline__P25329.info = {"start":306,"length":1316,"line":7,"column":35,"endLine":29,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} -function inline__P25185_mk(s) { +function inline__P25329_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25185, depth: s.depth + 1, + parent: s, fn: inline__P25329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1534,13 +1534,13 @@ function inline__P25185_mk(s) { arg0: undefined, } } -const _hex25192 = pxsim.BufferMethods.createBufferFromHex("1000100002020202020202020202020202020202020202020202020202020202020202020202020201020202020202020202020201010101010101010101010202020202020202020202020202020101020202020202020202020201020202010102020202020202020202010202020201020202020202020202020102020202010202020202020101010101020202010102020202020202020102020202010102020202020202020201020202010102020202020101010101010101010102020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202") -const _hex25194 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex25336 = pxsim.BufferMethods.createBufferFromHex("1000100002020202020202020202020202020202020202020202020202020202020202020202020201020202020202020202020201010101010101010101010202020202020202020202020202020101020202020202020202020201020202010102020202020202020202010202020201020202020202020202020102020202010202020202020101010101020202010102020202020202020102020202010102020202020202020201020202010102020202020101010101010101010102020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202") +const _hex25338 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function inline__P25219(s) { +function inline__P25363(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1550,46 +1550,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___25220 = undefined; - s.enemy___25226 = undefined; - s.tmp_0 = scene_aStar__P22025_mk(s); - s.tmp_1 = tiles_getTileLocation__P20908_mk(s); + s.res___25364 = undefined; + s.enemy___25370 = undefined; + s.tmp_0 = scene_aStar__P22169_mk(s); + s.tmp_1 = tiles_getTileLocation__P21052_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 11; s.callLocIdx = 216; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_2 = tiles_getTileLocation__P20908_mk(s); + s.tmp_2 = tiles_getTileLocation__P21052_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 3; s.callLocIdx = 217; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = globals.tilePath5___21570; + s.tmp_0.arg2 = globals.tilePath5___21714; s.callLocIdx = 218; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.res___25220 = (r0); - s.tmp_0 = sprites_create__P20538_mk(s); - r0 = pxsim.image.ofBuffer(_hex25230); + s.res___25364 = (r0); + s.tmp_0 = sprites_create__P20682_mk(s); + r0 = pxsim.image.ofBuffer(_hex25374); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.Enemy___20695; + s.tmp_0.arg1 = globals.Enemy___20839; s.callLocIdx = 219; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.enemy___25226 = (r0); - s.tmp_0 = Sprite_setPosition__P20636_mk(s); - s.tmp_0.arg0 = s.enemy___25226; - s.tmp_1 = Sprite_x__P20589_mk(s); - s.tmp_1.arg0 = globals.mySprite___22039; + s.enemy___25370 = (r0); + s.tmp_0 = Sprite_setPosition__P20780_mk(s); + s.tmp_0.arg0 = s.enemy___25370; + s.tmp_1 = Sprite_x__P20733_mk(s); + s.tmp_1.arg0 = globals.mySprite___22183; s.callLocIdx = 220; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_y__P20591_mk(s); - s.tmp_2.arg0 = globals.mySprite___22039; + s.tmp_2 = Sprite_y__P20735_mk(s); + s.tmp_2.arg0 = globals.mySprite___22183; s.callLocIdx = 221; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -1597,9 +1597,9 @@ switch (step) { s.callLocIdx = 222; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_followPath__P22029_mk(s); - s.tmp_0.arg0 = s.enemy___25226; - s.tmp_0.arg1 = s.res___25220; + s.tmp_0 = scene_followPath__P22173_mk(s); + s.tmp_0.arg0 = s.enemy___25370; + s.tmp_0.arg1 = s.res___25364; s.tmp_0.arg2 = 50; s.callLocIdx = 223; s.pc = 8; return s.tmp_0; case 8: @@ -1608,26 +1608,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25219.info = {"start":835,"length":905,"line":26,"column":52,"endLine":48,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} +inline__P25363.info = {"start":835,"length":905,"line":26,"column":52,"endLine":48,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} -function inline__P25219_mk(s) { +function inline__P25363_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25219, depth: s.depth + 1, + parent: s, fn: inline__P25363, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___25220: undefined, - enemy___25226: undefined, + res___25364: undefined, + enemy___25370: undefined, } } -const _hex25230 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000666600000000007677866600000070777777880600007677777787680000767787887768006076778888888806606588886686880660658868666688066066886866668806006611686666680000661165668668000060565566680600000066666666000000000066660000000000000000000000") +const _hex25374 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000666600000000007677866600000070777777880600007677777787680000767787887768006076778888888806606588886686880660658868666688066066886866668806006611686666680000661165668668000060565566680600000066666666000000000066660000000000000000000000") -function inline__P25246(s) { +function inline__P25390(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1642,9 +1642,9 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_destroy__P20651_mk(s); + s.tmp_0 = Sprite_destroy__P20795_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.ashes___21373; + s.tmp_0.arg1 = globals.ashes___21517; s.tmp_0.arg2 = undefined; s.callLocIdx = 226; s.pc = 1; return s.tmp_0; case 1: @@ -1653,12 +1653,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25246.info = {"start":1833,"length":90,"line":50,"column":41,"endLine":52,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P25390.info = {"start":1833,"length":90,"line":50,"column":41,"endLine":52,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P25246_mk(s) { +function inline__P25390_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25246, depth: s.depth + 1, + parent: s, fn: inline__P25390, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1669,7 +1669,7 @@ function inline__P25246_mk(s) { -function inline__P25256(s) { +function inline__P25400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1679,16 +1679,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pfs___25257 = undefined; - s.tmp_0 = sprites_allOfKind__P20539_mk(s); - s.tmp_0.arg0 = globals.Enemy___20695; + s.pfs___25401 = undefined; + s.tmp_0 = sprites_allOfKind__P20683_mk(s); + s.tmp_0.arg0 = globals.Enemy___20839; s.callLocIdx = 228; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.pfs___25257 = (r0); - s.tmp_0 = helpers_arrayForEach__P18671_mk(s); - s.tmp_0.arg0 = s.pfs___25257; - s.tmp_0.arg1 = inline__P25263; + s.pfs___25401 = (r0); + s.tmp_0 = helpers_arrayForEach__P18815_mk(s); + s.tmp_0.arg0 = s.pfs___25401; + s.tmp_0.arg1 = inline__P25407; s.callLocIdx = 232; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -1696,22 +1696,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25256.info = {"start":1979,"length":164,"line":54,"column":52,"endLine":61,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} +inline__P25400.info = {"start":1979,"length":164,"line":54,"column":52,"endLine":61,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} -function inline__P25256_mk(s) { +function inline__P25400_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25256, depth: s.depth + 1, + parent: s, fn: inline__P25400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - pfs___25257: undefined, + pfs___25401: undefined, } } -function inline__P25263(s) { +function inline__P25407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1725,20 +1725,20 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_followPath__P22029_mk(s); + s.tmp_0 = scene_followPath__P22173_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = null; s.tmp_0.arg2 = 50; s.callLocIdx = 229; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_vx__P20594_mk(s); + s.tmp_0 = Sprite_vx__P20738_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 230; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P20596_mk(s); + s.tmp_0 = Sprite_vy__P20740_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 231; s.pc = 3; return s.tmp_0; @@ -1748,12 +1748,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25263.info = {"start":2056,"length":83,"line":56,"column":16,"endLine":60,"endColumn":5,"fileName":"test.ts","functionName":"inline","argumentNames":["s"]} +inline__P25407.info = {"start":2056,"length":83,"line":56,"column":16,"endLine":60,"endColumn":5,"fileName":"test.ts","functionName":"inline","argumentNames":["s"]} -function inline__P25263_mk(s) { +function inline__P25407_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25263, depth: s.depth + 1, + parent: s, fn: inline__P25407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1763,7 +1763,7 @@ function inline__P25263_mk(s) { -function inline__P25274(s) { +function inline__P25418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1775,14 +1775,14 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18671_mk(s); - s.tmp_1 = sprites_allOfKind__P20539_mk(s); - s.tmp_1.arg0 = globals.Enemy___20695; + s.tmp_0 = helpers_arrayForEach__P18815_mk(s); + s.tmp_1 = sprites_allOfKind__P20683_mk(s); + s.tmp_1.arg0 = globals.Enemy___20839; s.callLocIdx = 234; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P25279; + s.tmp_0.arg1 = inline__P25423; s.callLocIdx = 237; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; @@ -1792,12 +1792,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25274.info = {"start":2179,"length":168,"line":64,"column":14,"endLine":69,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} +inline__P25418.info = {"start":2179,"length":168,"line":64,"column":14,"endLine":69,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} -function inline__P25274_mk(s) { +function inline__P25418_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25274, depth: s.depth + 1, + parent: s, fn: inline__P25418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1807,7 +1807,7 @@ function inline__P25274_mk(s) { -function inline__P25279(s) { +function inline__P25423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1821,9 +1821,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_say__P20638_mk(s); + s.tmp_0 = Sprite_say__P20782_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_3 = scene_spritePercentPathCompleted__P22031_mk(s); + s.tmp_3 = scene_spritePercentPathCompleted__P22175_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 235; s.pc = 2; return s.tmp_3; case 2: @@ -1843,12 +1843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25279.info = {"start":2267,"length":70,"line":67,"column":21,"endLine":67,"endColumn":91,"fileName":"test.ts","functionName":"inline","argumentNames":["s"]} +inline__P25423.info = {"start":2267,"length":70,"line":67,"column":21,"endLine":67,"endColumn":91,"fileName":"test.ts","functionName":"inline","argumentNames":["s"]} -function inline__P25279_mk(s) { +function inline__P25423_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25279, depth: s.depth + 1, + parent: s, fn: inline__P25423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1861,7 +1861,7 @@ function inline__P25279_mk(s) { -function scene_spritePercentPathCompleted__P22031(s) { +function scene_spritePercentPathCompleted__P22175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1871,20 +1871,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pfs___24947 = undefined; + s.pfs___25091 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_init__P24606_mk(s); + s.tmp_0 = scene_init__P24750_mk(s); s.callLocIdx = 179; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P24949); + r0 = pxsim_pxtcore_mkAction(1, inline__P25093); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFind__P18673_mk(s); - s.tmp_2 = scene_getPathFollowingSprites__P24627_mk(s); + s.tmp_1 = helpers_arrayFind__P18817_mk(s); + s.tmp_2 = scene_getPathFollowingSprites__P24771_mk(s); s.callLocIdx = 180; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; @@ -1893,8 +1893,8 @@ switch (step) { s.callLocIdx = 181; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.pfs___24947 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pfs___24947); + s.pfs___25091 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pfs___25091); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1904,17 +1904,17 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = s.pfs___24947.fields["path"]; + r0 = s.pfs___25091.fields["path"]; s.tmp_6 = r0; r0 = pxsim_Array__length(s.tmp_6); s.tmp_5 = r0; - r0 = s.pfs___24947.fields["index"]; + r0 = s.pfs___25091.fields["index"]; s.tmp_7 = r0; r0 = (s.tmp_5 - s.tmp_7); s.tmp_4 = r0; r0 = (100 * s.tmp_4); s.tmp_3 = r0; - r0 = s.pfs___24947.fields["path"]; + r0 = s.pfs___25091.fields["path"]; s.tmp_9 = r0; r0 = pxsim_Array__length(s.tmp_9); s.tmp_8 = r0; @@ -1925,12 +1925,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_spritePercentPathCompleted__P22031.info = {"start":7133,"length":372,"line":184,"column":4,"endLine":191,"endColumn":5,"fileName":"path-following.ts","functionName":"spritePercentPathCompleted","argumentNames":["sprite"]} +scene_spritePercentPathCompleted__P22175.info = {"start":7133,"length":372,"line":184,"column":4,"endLine":191,"endColumn":5,"fileName":"path-following.ts","functionName":"spritePercentPathCompleted","argumentNames":["sprite"]} -function scene_spritePercentPathCompleted__P22031_mk(s) { +function scene_spritePercentPathCompleted__P22175_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_spritePercentPathCompleted__P22031, depth: s.depth + 1, + parent: s, fn: scene_spritePercentPathCompleted__P22175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1942,7 +1942,7 @@ function scene_spritePercentPathCompleted__P22031_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pfs___24947: undefined, + pfs___25091: undefined, arg0: undefined, } } @@ -1950,7 +1950,7 @@ function scene_spritePercentPathCompleted__P22031_mk(s) { -function inline__P24949(s) { +function inline__P25093(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1970,12 +1970,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24949.info = {"start":7269,"length":28,"line":186,"column":51,"endLine":186,"endColumn":79,"fileName":"path-following.ts","functionName":"inline","argumentNames":["pfs"]} +inline__P25093.info = {"start":7269,"length":28,"line":186,"column":51,"endLine":186,"endColumn":79,"fileName":"path-following.ts","functionName":"inline","argumentNames":["pfs"]} -function inline__P24949_mk(s) { +function inline__P25093_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24949, depth: s.depth + 1, + parent: s, fn: inline__P25093, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1985,7 +1985,7 @@ function inline__P24949_mk(s) { -function scene_getPathFollowingSprites__P24627(s) { +function scene_getPathFollowingSprites__P24771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1995,23 +1995,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_2 = game_currentScene__P21096_mk(s); + s.tmp_2 = game_currentScene__P21240_mk(s); s.callLocIdx = 190; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = s.tmp_1.fields["_data"]; s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_0, globals.PATH_FOLLOW_KEY___24588); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_0, globals.PATH_FOLLOW_KEY___24732); return leave(s, r0) default: oops() } } } -scene_getPathFollowingSprites__P24627.info = {"start":9849,"length":148,"line":272,"column":4,"endLine":274,"endColumn":5,"fileName":"path-following.ts","functionName":"getPathFollowingSprites","argumentNames":[]} +scene_getPathFollowingSprites__P24771.info = {"start":9849,"length":148,"line":272,"column":4,"endLine":274,"endColumn":5,"fileName":"path-following.ts","functionName":"getPathFollowingSprites","argumentNames":[]} -function scene_getPathFollowingSprites__P24627_mk(s) { +function scene_getPathFollowingSprites__P24771_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_getPathFollowingSprites__P24627, depth: s.depth + 1, + parent: s, fn: scene_getPathFollowingSprites__P24771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2022,7 +2022,7 @@ function scene_getPathFollowingSprites__P24627_mk(s) { -function scene_Scene_data__P21006(s) { +function scene_Scene_data__P21150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2037,18 +2037,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20983_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C21127_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P21006.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__P21006.isGetter = true; +scene_Scene_data__P21150.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__P21150.isGetter = true; -function scene_Scene_data__P21006_mk(s) { +function scene_Scene_data__P21150_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P21006, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P21150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -2057,7 +2057,7 @@ function scene_Scene_data__P21006_mk(s) { -function helpers_arrayFind__P18673(s) { +function helpers_arrayFind__P18817(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2067,28 +2067,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___31350 = undefined; - s.i___31353 = undefined; - s.v___31358 = undefined; + s.len___31494 = undefined; + s.i___31497 = undefined; + s.v___31502 = 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___31350 = (r0); - s.i___31353 = (0); + s.len___31494 = (r0); + s.i___31497 = (0); case 1: - r0 = (s.i___31353 < s.len___31350); + r0 = (s.i___31497 < s.len___31494); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___31353); - s.v___31358 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___31497); + s.v___31502 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___31358; - s.tmp_1.arg1 = s.i___31353; + s.tmp_1.arg0 = s.v___31502; + s.tmp_1.arg1 = s.i___31497; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 6; return s.tmp_1; case 6: @@ -2096,12 +2096,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = s.v___31358; + r0 = s.v___31502; { step = 5; continue; } case 2: case 3: - r0 = (s.i___31353 + 1); - s.i___31353 = (r0); + r0 = (s.i___31497 + 1); + s.i___31497 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -2109,18 +2109,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayFind__P18673.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} +helpers_arrayFind__P18817.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} -function helpers_arrayFind__P18673_mk(s) { +function helpers_arrayFind__P18817_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFind__P18673, depth: s.depth + 1, + parent: s, fn: helpers_arrayFind__P18817, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___31350: undefined, - i___31353: undefined, - v___31358: undefined, + len___31494: undefined, + i___31497: undefined, + v___31502: undefined, arg0: undefined, arg1: undefined, } } @@ -2129,7 +2129,7 @@ function helpers_arrayFind__P18673_mk(s) { -function scene_init__P24606(s) { +function scene_init__P24750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2139,14 +2139,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_5 = game_currentScene__P21096_mk(s); + s.tmp_5 = game_currentScene__P21240_mk(s); s.callLocIdx = 123; s.pc = 3; return s.tmp_5; case 3: r0 = s.retval; s.tmp_4 = r0; r0 = s.tmp_4.fields["_data"]; s.tmp_3 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_3, globals.PATH_FOLLOW_KEY___24588); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_3, globals.PATH_FOLLOW_KEY___24732); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -2154,30 +2154,30 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_8 = game_currentScene__P21096_mk(s); + s.tmp_8 = game_currentScene__P21240_mk(s); s.callLocIdx = 125; s.pc = 4; return s.tmp_8; case 4: r0 = s.retval; s.tmp_7 = r0; r0 = s.tmp_7.fields["_data"]; s.tmp_6 = r0; - s.tmp_9 = r0 = globals.PATH_FOLLOW_KEY___24588; + s.tmp_9 = r0 = globals.PATH_FOLLOW_KEY___24732; r0 = pxsim_Array__mk(); s.tmp_10 = r0; r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_6, s.tmp_9, s.tmp_10); - s.tmp_2 = game_currentScene__P21096_mk(s); + s.tmp_2 = game_currentScene__P21240_mk(s); s.callLocIdx = 127; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; s.tmp_1 = r0; r0 = s.tmp_1.fields["_data"]; s.tmp_0 = r0; - s.tmp_3 = r0 = globals.PATH_COMPLETION_KEY___24590; + s.tmp_3 = r0 = globals.PATH_COMPLETION_KEY___24734; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, s.tmp_3, s.tmp_4); - s.tmp_0 = game_onUpdate__P21107_mk(s); - s.tmp_0.arg0 = inline__P24623; + s.tmp_0 = game_onUpdate__P21251_mk(s); + s.tmp_0.arg0 = inline__P24767; s.callLocIdx = 151; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -2187,12 +2187,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_init__P24606.info = {"start":619,"length":2301,"line":24,"column":4,"endLine":72,"endColumn":5,"fileName":"path-following.ts","functionName":"init","argumentNames":[]} +scene_init__P24750.info = {"start":619,"length":2301,"line":24,"column":4,"endLine":72,"endColumn":5,"fileName":"path-following.ts","functionName":"init","argumentNames":[]} -function scene_init__P24606_mk(s) { +function scene_init__P24750_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_init__P24606, depth: s.depth + 1, + parent: s, fn: scene_init__P24750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2211,7 +2211,7 @@ function scene_init__P24606_mk(s) { -function inline__P24623(s) { +function inline__P24767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2221,45 +2221,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.store___24624 = undefined; - s.handlers___24628 = undefined; - s.i___24632 = undefined; - s.pfs___24639 = undefined; - s.sprite___24644 = undefined; - s.index___24645 = undefined; - s.path___24646 = undefined; - s.speed___24647 = undefined; - s.target___24648 = undefined; - s.x___24653 = undefined; - s.y___24654 = undefined; - s.vx___24655 = undefined; - s.vy___24656 = undefined; - s.pastTargetHorizontally___24657 = undefined; - s.pastTargetVertically___24676 = undefined; - s.newTarget___24701 = undefined; - s.tmp_0 = scene_getPathFollowingSprites__P24627_mk(s); + s.store___24768 = undefined; + s.handlers___24772 = undefined; + s.i___24776 = undefined; + s.pfs___24783 = undefined; + s.sprite___24788 = undefined; + s.index___24789 = undefined; + s.path___24790 = undefined; + s.speed___24791 = undefined; + s.target___24792 = undefined; + s.x___24797 = undefined; + s.y___24798 = undefined; + s.vx___24799 = undefined; + s.vy___24800 = undefined; + s.pastTargetHorizontally___24801 = undefined; + s.pastTargetVertically___24820 = undefined; + s.newTarget___24845 = undefined; + s.tmp_0 = scene_getPathFollowingSprites__P24771_mk(s); s.callLocIdx = 129; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.store___24624 = (r0); - s.tmp_0 = scene_getPathCompletionEvents__P24631_mk(s); + s.store___24768 = (r0); + s.tmp_0 = scene_getPathCompletionEvents__P24775_mk(s); s.callLocIdx = 130; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.handlers___24628 = (r0); - r0 = pxsim_Array__length(s.store___24624); + s.handlers___24772 = (r0); + r0 = pxsim_Array__length(s.store___24768); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.i___24632 = (r0); + s.i___24776 = (r0); case 1: - r0 = (s.i___24632 >= 0); + r0 = (s.i___24776 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - r0 = pxsim_Array__getAt(s.store___24624, s.i___24632); - s.pfs___24639 = (r0); + r0 = pxsim_Array__getAt(s.store___24768, s.i___24776); + s.pfs___24783 = (r0); s.tmp_0 = if_sprite_1_mk(s); - s.tmp_1 = r0 = s.pfs___24639; + s.tmp_1 = r0 = s.pfs___24783; s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "sprite"); @@ -2271,7 +2271,7 @@ switch (step) { } case 29: r0 = s.retval; - s.sprite___24644 = (r0); + s.sprite___24788 = (r0); s.tmp_2 = if_index_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -2284,7 +2284,7 @@ switch (step) { } case 30: r0 = s.retval; - s.index___24645 = (r0); + s.index___24789 = (r0); s.tmp_3 = if_path_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -2297,7 +2297,7 @@ switch (step) { } case 31: r0 = s.retval; - s.path___24646 = (r0); + s.path___24790 = (r0); s.tmp_4 = if_speed_1_mk(s); s.tmp_4.arg0 = s.tmp_1; if (!s.tmp_4.arg0.vtable.iface) { @@ -2310,11 +2310,11 @@ switch (step) { } case 32: r0 = s.retval; - s.speed___24647 = (r0); - r0 = pxsim_Array__getAt(s.path___24646, s.index___24645); - s.target___24648 = (r0); + s.speed___24791 = (r0); + r0 = pxsim_Array__getAt(s.path___24790, s.index___24789); + s.target___24792 = (r0); s.tmp_0 = if_x_1_mk(s); - s.tmp_1 = r0 = s.sprite___24644; + s.tmp_1 = r0 = s.sprite___24788; s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "x"); @@ -2326,7 +2326,7 @@ switch (step) { } case 33: r0 = s.retval; - s.x___24653 = (r0); + s.x___24797 = (r0); s.tmp_2 = if_y_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -2339,7 +2339,7 @@ switch (step) { } case 34: r0 = s.retval; - s.y___24654 = (r0); + s.y___24798 = (r0); s.tmp_3 = if_vx_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -2352,7 +2352,7 @@ switch (step) { } case 35: r0 = s.retval; - s.vx___24655 = (r0); + s.vx___24799 = (r0); s.tmp_4 = if_vy_1_mk(s); s.tmp_4.arg0 = s.tmp_1; if (!s.tmp_4.arg0.vtable.iface) { @@ -2365,8 +2365,8 @@ switch (step) { } case 36: r0 = s.retval; - s.vy___24656 = (r0); - r0 = pxsim_numops_toBoolDecr(s.vx___24655); + s.vy___24800 = (r0); + r0 = pxsim_numops_toBoolDecr(s.vx___24799); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2375,16 +2375,16 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 2: - r0 = (s.vx___24655 < 0); + r0 = (s.vx___24799 < 0); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 3; continue; } r0 = s.tmp_2; { step = 4; continue; } case 3: - s.tmp_3 = r0 = s.x___24653; - s.tmp_5 = tiles_Location_x__P20857_mk(s); - s.tmp_5.arg0 = s.target___24648; + s.tmp_3 = r0 = s.x___24797; + s.tmp_5 = tiles_Location_x__P21001_mk(s); + s.tmp_5.arg0 = s.target___24792; s.callLocIdx = 139; s.pc = 37; return s.tmp_5; case 37: r0 = s.retval; @@ -2402,16 +2402,16 @@ switch (step) { r0 = s.tmp_7; { step = 9; continue; } case 6: - r0 = (s.vx___24655 > 0); + r0 = (s.vx___24799 > 0); s.tmp_8 = r0; r0 = pxsim_numops_toBool(s.tmp_8); if (r0) { step = 7; continue; } r0 = s.tmp_8; { step = 8; continue; } case 7: - s.tmp_9 = r0 = s.x___24653; - s.tmp_11 = tiles_Location_x__P20857_mk(s); - s.tmp_11.arg0 = s.target___24648; + s.tmp_9 = r0 = s.x___24797; + s.tmp_11 = tiles_Location_x__P21001_mk(s); + s.tmp_11.arg0 = s.target___24792; s.callLocIdx = 140; s.pc = 38; return s.tmp_11; case 38: r0 = s.retval; @@ -2424,8 +2424,8 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_13 = r0; - s.pastTargetHorizontally___24657 = (s.tmp_13); - r0 = pxsim_numops_toBoolDecr(s.vy___24656); + s.pastTargetHorizontally___24801 = (s.tmp_13); + r0 = pxsim_numops_toBoolDecr(s.vy___24800); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2434,16 +2434,16 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 10: - r0 = (s.vy___24656 < 0); + r0 = (s.vy___24800 < 0); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - s.tmp_3 = r0 = s.y___24654; - s.tmp_5 = tiles_Location_y__P20858_mk(s); - s.tmp_5.arg0 = s.target___24648; + s.tmp_3 = r0 = s.y___24798; + s.tmp_5 = tiles_Location_y__P21002_mk(s); + s.tmp_5.arg0 = s.target___24792; s.callLocIdx = 141; s.pc = 39; return s.tmp_5; case 39: r0 = s.retval; @@ -2461,16 +2461,16 @@ switch (step) { r0 = s.tmp_7; { step = 17; continue; } case 14: - r0 = (s.vy___24656 > 0); + r0 = (s.vy___24800 > 0); s.tmp_8 = r0; r0 = pxsim_numops_toBool(s.tmp_8); if (r0) { step = 15; continue; } r0 = s.tmp_8; { step = 16; continue; } case 15: - s.tmp_9 = r0 = s.y___24654; - s.tmp_11 = tiles_Location_y__P20858_mk(s); - s.tmp_11.arg0 = s.target___24648; + s.tmp_9 = r0 = s.y___24798; + s.tmp_11 = tiles_Location_y__P21002_mk(s); + s.tmp_11.arg0 = s.target___24792; s.callLocIdx = 142; s.pc = 40; return s.tmp_11; case 40: r0 = s.retval; @@ -2483,55 +2483,55 @@ switch (step) { case 17: // jmp value (already in r0) s.tmp_13 = r0; - s.pastTargetVertically___24676 = (s.tmp_13); - s.tmp_0 = r0 = s.pastTargetHorizontally___24657; + s.pastTargetVertically___24820 = (s.tmp_13); + s.tmp_0 = r0 = s.pastTargetHorizontally___24801; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 18; continue; } r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.pastTargetVertically___24676; + r0 = s.pastTargetVertically___24820; case 19: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 24; continue; } - s.tmp_2 = r0 = s.pfs___24639; + s.tmp_2 = r0 = s.pfs___24783; r0 = s.tmp_2.fields["index"]; s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_3 = r0; r0 = (s.tmp_2).fields["index"] = (s.tmp_3); - r0 = s.pfs___24639.fields["index"]; + r0 = s.pfs___24783.fields["index"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.path___24646, s.tmp_0); - s.newTarget___24701 = (r0); - r0 = pxsim_numops_toBoolDecr(s.newTarget___24701); + r0 = pxsim_Array__getAt(s.path___24790, s.tmp_0); + s.newTarget___24845 = (r0); + r0 = pxsim_numops_toBoolDecr(s.newTarget___24845); 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 = 22; continue; } - s.tmp_2 = Sprite_setVelocity__P20637_mk(s); - s.tmp_2.arg0 = s.sprite___24644; + s.tmp_2 = Sprite_setVelocity__P20781_mk(s); + s.tmp_2.arg0 = s.sprite___24788; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; s.callLocIdx = 143; s.pc = 41; return s.tmp_2; case 41: r0 = s.retval; - s.tmp_0 = tiles_Location_place__P20860_mk(s); - s.tmp_0.arg0 = s.target___24648; - s.tmp_0.arg1 = s.sprite___24644; + s.tmp_0 = tiles_Location_place__P21004_mk(s); + s.tmp_0.arg0 = s.target___24792; + s.tmp_0.arg1 = s.sprite___24788; s.callLocIdx = 144; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.store___24624, s.i___24632); - r0 = s.pfs___24639.fields["onEndHandler"]; + r0 = pxsim_Array_.removeAt(s.store___24768, s.i___24776); + r0 = s.pfs___24783.fields["onEndHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } s.tmp_1 = if_onEndHandler_1_mk(s); - s.tmp_1.arg0 = s.pfs___24639; + s.tmp_1.arg0 = s.pfs___24783; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "onEndHandler"), 1); s.callLocIdx = 145; s.pc = 43; return s.tmp_1; @@ -2545,13 +2545,13 @@ switch (step) { r0 = s.retval; { step = 21; continue; } case 20: - r0 = pxsim_pxtcore_mkAction(3, inline__P24724); + r0 = pxsim_pxtcore_mkAction(3, inline__P24868); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.sprite___24644); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.path___24646); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.pfs___24639); - s.tmp_1 = helpers_arrayForEach__P18671_mk(s); - s.tmp_1.arg0 = s.handlers___24628; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.sprite___24788); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.path___24790); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.pfs___24783); + s.tmp_1 = helpers_arrayForEach__P18815_mk(s); + s.tmp_1.arg0 = s.handlers___24772; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 148; s.pc = 44; return s.tmp_1; case 44: @@ -2559,36 +2559,36 @@ switch (step) { case 21: { step = 23; continue; } case 22: - s.tmp_0 = tiles_Location_place__P20860_mk(s); - s.tmp_0.arg0 = s.target___24648; - s.tmp_0.arg1 = s.sprite___24644; + s.tmp_0 = tiles_Location_place__P21004_mk(s); + s.tmp_0.arg0 = s.target___24792; + s.tmp_0.arg1 = s.sprite___24788; s.callLocIdx = 149; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = scene_setVelocityTowards__P24742_mk(s); - s.tmp_0.arg0 = s.sprite___24644; - s.tmp_0.arg1 = s.newTarget___24701; - s.tmp_0.arg2 = s.speed___24647; + s.tmp_0 = scene_setVelocityTowards__P24886_mk(s); + s.tmp_0.arg0 = s.sprite___24788; + s.tmp_0.arg1 = s.newTarget___24845; + s.tmp_0.arg2 = s.speed___24791; s.callLocIdx = 150; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; case 23: case 24: case 25: - r0 = (s.i___24632 - 1); - s.i___24632 = (r0); + r0 = (s.i___24776 - 1); + s.i___24776 = (r0); { step = 1; continue; } case 26: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P24623.info = {"start":896,"length":2006,"line":29,"column":26,"endLine":70,"endColumn":13,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} +inline__P24767.info = {"start":896,"length":2006,"line":29,"column":26,"endLine":70,"endColumn":13,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} -function inline__P24623_mk(s) { +function inline__P24767_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24623, depth: s.depth + 1, + parent: s, fn: inline__P24767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2604,29 +2604,29 @@ function inline__P24623_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - store___24624: undefined, - handlers___24628: undefined, - i___24632: undefined, - pfs___24639: undefined, - sprite___24644: undefined, - index___24645: undefined, - path___24646: undefined, - speed___24647: undefined, - target___24648: undefined, - x___24653: undefined, - y___24654: undefined, - vx___24655: undefined, - vy___24656: undefined, - pastTargetHorizontally___24657: undefined, - pastTargetVertically___24676: undefined, - newTarget___24701: undefined, + store___24768: undefined, + handlers___24772: undefined, + i___24776: undefined, + pfs___24783: undefined, + sprite___24788: undefined, + index___24789: undefined, + path___24790: undefined, + speed___24791: undefined, + target___24792: undefined, + x___24797: undefined, + y___24798: undefined, + vx___24799: undefined, + vy___24800: undefined, + pastTargetHorizontally___24801: undefined, + pastTargetVertically___24820: undefined, + newTarget___24845: undefined, } } -function inline__P24724(s) { +function inline__P24868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2675,12 +2675,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24724.info = {"start":2359,"length":274,"line":58,"column":49,"endLine":62,"endColumn":33,"fileName":"path-following.ts","functionName":"inline","argumentNames":["completionHandler"]} +inline__P24868.info = {"start":2359,"length":274,"line":58,"column":49,"endLine":62,"endColumn":33,"fileName":"path-following.ts","functionName":"inline","argumentNames":["completionHandler"]} -function inline__P24724_mk(s) { +function inline__P24868_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24724, depth: s.depth + 1, + parent: s, fn: inline__P24868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2696,7 +2696,7 @@ function inline__P24724_mk(s) { -function scene_setVelocityTowards__P24742(s) { +function scene_setVelocityTowards__P24886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2706,46 +2706,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dx___24751 = undefined; - s.dy___24757 = undefined; - s.dist___24763 = undefined; + s.dx___24895 = undefined; + s.dy___24901 = undefined; + s.dist___24907 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_1 = tiles_Location_x__P20857_mk(s); + s.tmp_1 = tiles_Location_x__P21001_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 152; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_x__P20589_mk(s); + s.tmp_3 = Sprite_x__P20733_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 153; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 - s.tmp_2); - s.dx___24751 = (r0); - s.tmp_1 = tiles_Location_y__P20858_mk(s); + s.dx___24895 = (r0); + s.tmp_1 = tiles_Location_y__P21002_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 154; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_y__P20591_mk(s); + s.tmp_3 = Sprite_y__P20735_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 155; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 - s.tmp_2); - s.dy___24757 = (r0); - r0 = (s.dx___24751 * s.dx___24751); + s.dy___24901 = (r0); + r0 = (s.dx___24895 * s.dx___24895); s.tmp_2 = r0; - r0 = (s.dy___24757 * s.dy___24757); + r0 = (s.dy___24901 * s.dy___24901); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; @@ -2760,19 +2760,19 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.dist___24763 = (s.tmp_4); - s.tmp_0 = Sprite_vx__P20594_mk(s); + s.dist___24907 = (s.tmp_4); + s.tmp_0 = Sprite_vx__P20738_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.dx___24751 / s.dist___24763); + r0 = (s.dx___24895 / s.dist___24907); s.tmp_1 = r0; r0 = (s.tmp_1 * s.arg2); s.tmp_0.arg1 = r0; s.callLocIdx = 156; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = Sprite_vy__P20596_mk(s); + s.tmp_0 = Sprite_vy__P20740_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.dy___24757 / s.dist___24763); + r0 = (s.dy___24901 / s.dist___24907); s.tmp_1 = r0; r0 = (s.tmp_1 * s.arg2); s.tmp_0.arg1 = r0; @@ -2783,21 +2783,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_setVelocityTowards__P24742.info = {"start":2926,"length":304,"line":74,"column":4,"endLine":80,"endColumn":5,"fileName":"path-following.ts","functionName":"setVelocityTowards","argumentNames":["sprite","target","speed"]} +scene_setVelocityTowards__P24886.info = {"start":2926,"length":304,"line":74,"column":4,"endLine":80,"endColumn":5,"fileName":"path-following.ts","functionName":"setVelocityTowards","argumentNames":["sprite","target","speed"]} -function scene_setVelocityTowards__P24742_mk(s) { +function scene_setVelocityTowards__P24886_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setVelocityTowards__P24742, depth: s.depth + 1, + parent: s, fn: scene_setVelocityTowards__P24886, 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, - dx___24751: undefined, - dy___24757: undefined, - dist___24763: undefined, + dx___24895: undefined, + dy___24901: undefined, + dist___24907: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2807,7 +2807,7 @@ function scene_setVelocityTowards__P24742_mk(s) { -function Sprite_kind__P20634(s) { +function Sprite_kind__P20778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2822,17 +2822,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P20634.info = {"start":10604,"length":41,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P20778.info = {"start":10604,"length":41,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P20634_mk(s) { +function Sprite_kind__P20778_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P20634, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P20778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -2841,7 +2841,7 @@ function Sprite_kind__P20634_mk(s) { -function tiles_Location_place__P20860(s) { +function tiles_Location_place__P21004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2857,7 +2857,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20853_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -2867,15 +2867,15 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = Sprite_setPosition__P20636_mk(s); + s.tmp_2 = Sprite_setPosition__P20780_mk(s); s.tmp_2.arg0 = s.arg1; - s.tmp_3 = tiles_Location_x__P20857_mk(s); + s.tmp_3 = tiles_Location_x__P21001_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 777; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2.arg1 = r0; - s.tmp_4 = tiles_Location_y__P20858_mk(s); + s.tmp_4 = tiles_Location_y__P21002_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 778; s.pc = 6; return s.tmp_4; case 6: @@ -2889,12 +2889,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_place__P20860.info = {"start":1189,"length":126,"line":51,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"place","argumentNames":["this","mySprite"]} +tiles_Location_place__P21004.info = {"start":1189,"length":126,"line":51,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"place","argumentNames":["this","mySprite"]} -function tiles_Location_place__P20860_mk(s) { +function tiles_Location_place__P21004_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_place__P20860, depth: s.depth + 1, + parent: s, fn: tiles_Location_place__P21004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2909,7 +2909,7 @@ function tiles_Location_place__P20860_mk(s) { -function Sprite_setVelocity__P20637(s) { +function Sprite_setVelocity__P20781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2926,14 +2926,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = Sprite_vx__P20594_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = Sprite_vx__P20738_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 313; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_vy__P20596_mk(s); + s.tmp_0 = Sprite_vy__P20740_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 314; s.pc = 2; return s.tmp_0; @@ -2943,12 +2943,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setVelocity__P20637.info = {"start":12526,"length":93,"line":450,"column":4,"endLine":453,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setVelocity","argumentNames":["this","vx","vy"]} +Sprite_setVelocity__P20781.info = {"start":12526,"length":93,"line":450,"column":4,"endLine":453,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setVelocity","argumentNames":["this","vx","vy"]} -function Sprite_setVelocity__P20637_mk(s) { +function Sprite_setVelocity__P20781_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setVelocity__P20637, depth: s.depth + 1, + parent: s, fn: Sprite_setVelocity__P20781, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2960,7 +2960,7 @@ function Sprite_setVelocity__P20637_mk(s) { -function tiles_Location_y__P20858(s) { +function tiles_Location_y__P21002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2970,22 +2970,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___31870 = undefined; + s.scale___32014 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20853_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___31870 = (r0); + s.scale___32014 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___31870); + r0 = (s.tmp_1 << s.scale___32014); s.tmp_0 = r0; - r0 = (s.scale___31870 - 1); + r0 = (s.scale___32014 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -2993,19 +2993,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P20858.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__P20858.isGetter = true; +tiles_Location_y__P21002.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__P21002.isGetter = true; -function tiles_Location_y__P20858_mk(s) { +function tiles_Location_y__P21002_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P20858, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P21002, 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___31870: undefined, + scale___32014: undefined, arg0: undefined, } } @@ -3013,7 +3013,7 @@ function tiles_Location_y__P20858_mk(s) { -function tiles_TileMap_scale__P20883(s) { +function tiles_TileMap_scale__P21027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3028,18 +3028,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P20883.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__P20883.isGetter = true; +tiles_TileMap_scale__P21027.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__P21027.isGetter = true; -function tiles_TileMap_scale__P20883_mk(s) { +function tiles_TileMap_scale__P21027_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P20883, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P21027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -3048,7 +3048,7 @@ function tiles_TileMap_scale__P20883_mk(s) { -function tiles_Location_x__P20857(s) { +function tiles_Location_x__P21001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3058,22 +3058,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___31887 = undefined; + s.scale___32031 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20853_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___31887 = (r0); + s.scale___32031 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___31887); + r0 = (s.tmp_1 << s.scale___32031); s.tmp_0 = r0; - r0 = (s.scale___31887 - 1); + r0 = (s.scale___32031 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -3081,19 +3081,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P20857.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__P20857.isGetter = true; +tiles_Location_x__P21001.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__P21001.isGetter = true; -function tiles_Location_x__P20857_mk(s) { +function tiles_Location_x__P21001_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P20857, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P21001, 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___31887: undefined, + scale___32031: undefined, arg0: undefined, } } @@ -3101,7 +3101,7 @@ function tiles_Location_x__P20857_mk(s) { -function scene_getPathCompletionEvents__P24631(s) { +function scene_getPathCompletionEvents__P24775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3111,23 +3111,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_2 = game_currentScene__P21096_mk(s); + s.tmp_2 = game_currentScene__P21240_mk(s); s.callLocIdx = 192; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = s.tmp_1.fields["_data"]; s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_0, globals.PATH_COMPLETION_KEY___24590); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_0, globals.PATH_COMPLETION_KEY___24734); return leave(s, r0) default: oops() } } } -scene_getPathCompletionEvents__P24631.info = {"start":10003,"length":152,"line":276,"column":4,"endLine":278,"endColumn":5,"fileName":"path-following.ts","functionName":"getPathCompletionEvents","argumentNames":[]} +scene_getPathCompletionEvents__P24775.info = {"start":10003,"length":152,"line":276,"column":4,"endLine":278,"endColumn":5,"fileName":"path-following.ts","functionName":"getPathCompletionEvents","argumentNames":[]} -function scene_getPathCompletionEvents__P24631_mk(s) { +function scene_getPathCompletionEvents__P24775_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_getPathCompletionEvents__P24631, depth: s.depth + 1, + parent: s, fn: scene_getPathCompletionEvents__P24775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3138,7 +3138,7 @@ function scene_getPathCompletionEvents__P24631_mk(s) { -function Sprite_say__P20638(s) { +function Sprite_say__P20782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3148,24 +3148,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.textToDisplay___25320 = undefined; - s.SAYKEY___25328 = undefined; - s.key___25330 = undefined; - s.pixelsOffset___25352 = undefined; - s.holdTextSeconds___25353 = undefined; - s.bubblePadding___25354 = undefined; - s.maxTextWidth___25355 = undefined; - s.font___25356 = undefined; - s.startX___25359 = undefined; - s.startY___25360 = undefined; - s.bubbleWidth___25361 = undefined; - s.maxOffset___25369 = undefined; - s.bubbleOffset___25377 = undefined; - s.needsRedraw___25382 = undefined; - s.speed___25383 = undefined; - s.currentScene___25384 = undefined; - s.imgh___25431 = undefined; - s.sayImg___25453 = undefined; + s.textToDisplay___25464 = undefined; + s.SAYKEY___25472 = undefined; + s.key___25474 = undefined; + s.pixelsOffset___25496 = undefined; + s.holdTextSeconds___25497 = undefined; + s.bubblePadding___25498 = undefined; + s.maxTextWidth___25499 = undefined; + s.font___25500 = undefined; + s.startX___25503 = undefined; + s.startY___25504 = undefined; + s.bubbleWidth___25505 = undefined; + s.maxOffset___25513 = undefined; + s.bubbleOffset___25521 = undefined; + s.needsRedraw___25526 = undefined; + s.speed___25527 = undefined; + s.currentScene___25528 = undefined; + s.imgh___25575 = undefined; + s.sayImg___25597 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3175,7 +3175,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg2); @@ -3210,7 +3210,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = Sprite_destroy__P20651_mk(s); + s.tmp_1 = Sprite_destroy__P20795_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -3224,9 +3224,9 @@ switch (step) { { step = 31; continue; } case 7: case 8: - s.tmp_0 = helpers_arrayJoin__P18665_mk(s); - s.tmp_1 = helpers_stringSplit__P18681_mk(s); - s.tmp_2 = console_inspect__P18935_mk(s); + s.tmp_0 = helpers_arrayJoin__P18809_mk(s); + s.tmp_1 = helpers_stringSplit__P18825_mk(s); + s.tmp_2 = console_inspect__P19079_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = 20; s.callLocIdx = 316; s.pc = 35; return s.tmp_2; @@ -3243,21 +3243,21 @@ switch (step) { s.callLocIdx = 318; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.textToDisplay___25320 = (r0); - s.SAYKEY___25328 = ("__saykey"); + s.textToDisplay___25464 = (r0); + s.SAYKEY___25472 = ("__saykey"); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___25320); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___25464); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "textColor", s.arg3); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "textBoxColor", s.arg4); - s.tmp_1 = JSON_stringify__P18940_mk(s); + s.tmp_1 = JSON_stringify__P19084_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = null; s.tmp_1.arg2 = 0; s.callLocIdx = 319; s.pc = 36; return s.tmp_1; case 36: r0 = s.retval; - s.key___25330 = (r0); + s.key___25474 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -3276,16 +3276,16 @@ switch (step) { r0 = s.tmp_2; { step = 12; continue; } case 11: - s.tmp_5 = Sprite_data__P20605_mk(s); + s.tmp_5 = Sprite_data__P20749_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_5.arg0 = r0; s.callLocIdx = 320; s.pc = 37; return s.tmp_5; case 37: r0 = s.retval; s.tmp_4 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_4, s.SAYKEY___25328); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_4, s.SAYKEY___25472); s.tmp_3 = r0; - r0 = (s.tmp_3 == s.key___25330); + r0 = (s.tmp_3 == s.key___25474); case 12: // jmp value (already in r0) s.tmp_6 = r0; @@ -3295,28 +3295,28 @@ switch (step) { case 13: case 14: r0 = pxsim_pxtrt.mklocRef(); - s.pixelsOffset___25352 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___25352, 0); + s.pixelsOffset___25496 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___25496, 0); r0 = pxsim_pxtrt.mklocRef(); - s.holdTextSeconds___25353 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.holdTextSeconds___25353, 1.5); - s.bubblePadding___25354 = (4); - s.maxTextWidth___25355 = (100); - s.tmp_0 = image_getFontForText__P20311_mk(s); - s.tmp_0.arg0 = s.textToDisplay___25320; + s.holdTextSeconds___25497 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.holdTextSeconds___25497, 1.5); + s.bubblePadding___25498 = (4); + s.maxTextWidth___25499 = (100); + s.tmp_0 = image_getFontForText__P20455_mk(s); + s.tmp_0.arg0 = s.textToDisplay___25464; s.callLocIdx = 321; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.font___25356 = (r0); - s.startX___25359 = (2); - s.startY___25360 = (2); + s.font___25500 = (r0); + s.startX___25503 = (2); + s.startY___25504 = (2); r0 = pxsim_pxtrt.mklocRef(); - s.bubbleWidth___25361 = (r0); - s.tmp_0 = r0 = s.bubbleWidth___25361; - r0 = pxsim_String_.length(s.textToDisplay___25320); + s.bubbleWidth___25505 = (r0); + s.tmp_0 = r0 = s.bubbleWidth___25505; + r0 = pxsim_String_.length(s.textToDisplay___25464); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___25356; + s.tmp_5.arg0 = s.font___25500; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charWidth"); } else { @@ -3330,16 +3330,16 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.bubblePadding___25354); + r0 = (s.tmp_2 + s.bubblePadding___25498); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.maxOffset___25369 = (r0); - s.tmp_0 = r0 = s.maxOffset___25369; - r0 = pxsim_String_.length(s.textToDisplay___25320); + s.maxOffset___25513 = (r0); + s.tmp_0 = r0 = s.maxOffset___25513; + r0 = pxsim_String_.length(s.textToDisplay___25464); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___25356; + s.tmp_5.arg0 = s.font___25500; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charWidth"); } else { @@ -3353,7 +3353,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.maxTextWidth___25355); + r0 = (s.tmp_2 - s.maxTextWidth___25499); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = s.arg0.fields["_hitbox"]; @@ -3362,18 +3362,18 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.bubbleOffset___25377 = (r0); + s.bubbleOffset___25521 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.needsRedraw___25382 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___25382, true); + s.needsRedraw___25526 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___25526, true); r0 = pxsim_pxtrt.mklocRef(); - s.speed___25383 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.speed___25383, 45); - s.tmp_0 = game_currentScene__P21096_mk(s); + s.speed___25527 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.speed___25527, 45); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 325; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.currentScene___25384 = (r0); + s.currentScene___25528 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -3381,7 +3381,7 @@ switch (step) { r0 = s.tmp_0; { step = 16; continue; } case 15: - r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___25369); + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___25513); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 16: @@ -3389,10 +3389,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 17; continue; } - s.tmp_3 = r0 = s.speed___25383; - r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___25369); + s.tmp_3 = r0 = s.speed___25527; + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___25513); s.tmp_6 = r0; - r0 = (2 * s.maxTextWidth___25355); + r0 = (2 * s.maxTextWidth___25499); s.tmp_7 = r0; r0 = (s.tmp_6 + s.tmp_7); s.tmp_5 = r0; @@ -3403,9 +3403,9 @@ switch (step) { r0 = (s.tmp_5 / s.tmp_8); s.tmp_4 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_3, s.tmp_4); - s.tmp_0 = r0 = s.speed___25383; - s.tmp_2 = Math_max__P18689_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.speed___25383); + s.tmp_0 = r0 = s.speed___25527; + s.tmp_2 = Math_max__P18833_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.speed___25527); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 45; s.callLocIdx = 326; s.pc = 42; return s.tmp_2; @@ -3413,16 +3413,16 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_0 = r0 = s.holdTextSeconds___25353; - s.tmp_2 = r0 = s.maxTextWidth___25355; - r0 = pxsim_pxtrt_ldlocRef(s.speed___25383); + s.tmp_0 = r0 = s.holdTextSeconds___25497; + s.tmp_2 = r0 = s.maxTextWidth___25499; + r0 = pxsim_pxtrt_ldlocRef(s.speed___25527); s.tmp_3 = r0; r0 = (s.tmp_2 / s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_0 = r0 = s.holdTextSeconds___25353; - s.tmp_2 = Math_min__P18690_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___25353); + s.tmp_0 = r0 = s.holdTextSeconds___25497; + s.tmp_2 = Math_min__P18834_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___25497); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1.5; s.callLocIdx = 327; s.pc = 43; return s.tmp_2; @@ -3439,31 +3439,31 @@ switch (step) { s.tmp_1 = r0 = s.arg2; r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_3 = r0; - r0 = s.currentScene___25384.fields["_millis"]; + r0 = s.currentScene___25528.fields["_millis"]; s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); case 19: case 20: - r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___25361); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___25505); s.tmp_1 = r0; - r0 = (s.maxTextWidth___25355 + s.bubblePadding___25354); + r0 = (s.maxTextWidth___25499 + s.bubblePadding___25498); 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 = 21; continue; } - s.tmp_3 = r0 = s.bubbleWidth___25361; - r0 = (s.maxTextWidth___25355 + s.bubblePadding___25354); + s.tmp_3 = r0 = s.bubbleWidth___25505; + r0 = (s.maxTextWidth___25499 + s.bubblePadding___25498); s.tmp_4 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_3, s.tmp_4); { step = 22; continue; } case 21: - r0 = pxsim_pxtrt_stlocRef(s.maxOffset___25369, -1); + r0 = pxsim_pxtrt_stlocRef(s.maxOffset___25513, -1); case 22: s.tmp_1 = if_charHeight_1_mk(s); - s.tmp_1.arg0 = s.font___25356; + s.tmp_1.arg0 = s.font___25500; if (!s.tmp_1.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "charHeight"); } else { @@ -3475,8 +3475,8 @@ switch (step) { case 44: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 + s.bubblePadding___25354); - s.imgh___25431 = (r0); + r0 = (s.tmp_0 + s.bubblePadding___25498); + s.imgh___25575 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -3494,7 +3494,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___25361); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___25505); s.tmp_6 = r0; r0 = (s.tmp_3 != s.tmp_6); case 24: @@ -3511,39 +3511,39 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); s.tmp_8 = r0; - r0 = (s.tmp_8 != s.imgh___25431); + r0 = (s.tmp_8 != s.imgh___25575); case 26: // jmp value (already in r0) s.tmp_11 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 29; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___25361); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___25505); s.tmp_12 = r0; - r0 = pxsim.image.create(s.tmp_12, s.imgh___25431); - s.sayImg___25453 = (r0); + r0 = pxsim.image.create(s.tmp_12, s.imgh___25575); + s.sayImg___25597 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - s.tmp_1 = Sprite_setImage__P20620_mk(s); + s.tmp_1 = Sprite_setImage__P20764_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.sayImg___25453; + s.tmp_1.arg1 = s.sayImg___25597; s.callLocIdx = 332; s.pc = 45; return s.tmp_1; case 45: r0 = s.retval; { step = 28; continue; } case 27: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P20538_mk(s); - s.tmp_2.arg0 = s.sayImg___25453; + s.tmp_2 = sprites_create__P20682_mk(s); + s.tmp_2.arg0 = s.sayImg___25597; s.tmp_2.arg1 = -1; s.callLocIdx = 333; s.pc = 46; return s.tmp_2; case 46: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["sayBubbleSprite"] = (s.tmp_1); - s.tmp_0 = Sprite_setFlag__P20643_mk(s); + s.tmp_0 = Sprite_setFlag__P20787_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 1; @@ -3551,7 +3551,7 @@ switch (step) { s.callLocIdx = 334; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P20643_mk(s); + s.tmp_0 = Sprite_setFlag__P20787_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 512; @@ -3573,39 +3573,39 @@ switch (step) { case 28: case 29: case 30: - s.tmp_1 = Sprite_data__P20605_mk(s); + s.tmp_1 = Sprite_data__P20749_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.callLocIdx = 336; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, s.SAYKEY___25328, s.key___25330); - r0 = pxsim_pxtcore_mkAction(18, inline__P25493); + r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, s.SAYKEY___25472, s.key___25474); + r0 = pxsim_pxtcore_mkAction(18, inline__P25637); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.bubbleOffset___25377); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.font___25356); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.bubblePadding___25354); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.bubbleOffset___25521); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.font___25500); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.bubblePadding___25498); r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.arg2); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.currentScene___25384); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.holdTextSeconds___25353); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.pixelsOffset___25352); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.maxTextWidth___25355); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.speed___25383); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.needsRedraw___25382); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.maxOffset___25369); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.currentScene___25528); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.holdTextSeconds___25497); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.pixelsOffset___25496); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.maxTextWidth___25499); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.speed___25527); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.needsRedraw___25526); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.maxOffset___25513); r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.arg4); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 13, s.textToDisplay___25320); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 14, s.startX___25359); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 15, s.startY___25360); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 13, s.textToDisplay___25464); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 14, s.startX___25503); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 15, s.startY___25504); r0 = pxsim_pxtrt_stclo(s.tmp_0, 16, s.arg3); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___25361); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___25505); r0 = (s.arg0).fields["updateSay"] = (s.tmp_0); s.tmp_0 = if_updateSay_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - r0 = s.currentScene___25384.fields["camera"]; + r0 = s.currentScene___25528.fields["camera"]; s.tmp_0.arg2 = r0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "updateSay"), 3); @@ -3623,12 +3623,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_say__P20638.info = {"start":13032,"length":6916,"line":467,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"say","argumentNames":["this","text","timeOnScreen","textColor","textBoxColor"]} +Sprite_say__P20782.info = {"start":13032,"length":6916,"line":467,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"say","argumentNames":["this","text","timeOnScreen","textColor","textBoxColor"]} -function Sprite_say__P20638_mk(s) { +function Sprite_say__P20782_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_say__P20638, depth: s.depth + 1, + parent: s, fn: Sprite_say__P20782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3643,24 +3643,24 @@ function Sprite_say__P20638_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - textToDisplay___25320: undefined, - SAYKEY___25328: undefined, - key___25330: undefined, - pixelsOffset___25352: undefined, - holdTextSeconds___25353: undefined, - bubblePadding___25354: undefined, - maxTextWidth___25355: undefined, - font___25356: undefined, - startX___25359: undefined, - startY___25360: undefined, - bubbleWidth___25361: undefined, - maxOffset___25369: undefined, - bubbleOffset___25377: undefined, - needsRedraw___25382: undefined, - speed___25383: undefined, - currentScene___25384: undefined, - imgh___25431: undefined, - sayImg___25453: undefined, + textToDisplay___25464: undefined, + SAYKEY___25472: undefined, + key___25474: undefined, + pixelsOffset___25496: undefined, + holdTextSeconds___25497: undefined, + bubblePadding___25498: undefined, + maxTextWidth___25499: undefined, + font___25500: undefined, + startX___25503: undefined, + startY___25504: undefined, + bubbleWidth___25505: undefined, + maxOffset___25513: undefined, + bubbleOffset___25521: undefined, + needsRedraw___25526: undefined, + speed___25527: undefined, + currentScene___25528: undefined, + imgh___25575: undefined, + sayImg___25597: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3672,7 +3672,7 @@ function Sprite_say__P20638_mk(s) { -function inline__P25493(s) { +function inline__P25637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3682,17 +3682,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___25531 = undefined; - s.oy___25534 = undefined; + s.ox___25675 = undefined; + s.oy___25678 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_y__P20592_mk(s); + s.tmp_0 = Sprite_y__P20736_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; - s.tmp_4 = Sprite_top__P20630_mk(s); + s.tmp_4 = Sprite_top__P20774_mk(s); s.tmp_4.arg0 = s.caps[0]; s.callLocIdx = 337; s.pc = 26; return s.tmp_4; case 26: @@ -3724,10 +3724,10 @@ switch (step) { s.callLocIdx = 339; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = Sprite_x__P20590_mk(s); + s.tmp_0 = Sprite_x__P20734_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P20589_mk(s); + s.tmp_1 = Sprite_x__P20733_mk(s); s.tmp_1.arg0 = s.caps[0]; s.callLocIdx = 340; s.pc = 29; return s.tmp_1; case 29: @@ -3785,7 +3785,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 23; continue; } - s.tmp_9 = Sprite_isOutOfScreen__P20640_mk(s); + s.tmp_9 = Sprite_isOutOfScreen__P20784_mk(s); s.tmp_9.arg0 = s.caps[0]; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 345; s.pc = 32; return s.tmp_9; @@ -3799,23 +3799,23 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 9; continue; } r0 = s.arg1.fields["_offsetX"]; - s.ox___25531 = (r0); + s.ox___25675 = (r0); r0 = s.arg1.fields["_offsetY"]; - s.oy___25534 = (r0); - s.tmp_3 = Sprite_left__P20626_mk(s); + s.oy___25678 = (r0); + s.tmp_3 = Sprite_left__P20770_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 348; s.pc = 33; return s.tmp_3; case 33: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___25531); + r0 = (s.tmp_2 - s.ox___25675); 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; } - s.tmp_4 = Sprite_left__P20627_mk(s); + s.tmp_4 = Sprite_left__P20771_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -3824,55 +3824,55 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_3 = Sprite_right__P20628_mk(s); + s.tmp_3 = Sprite_right__P20772_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 350; s.pc = 35; return s.tmp_3; case 35: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___25531); + r0 = (s.tmp_2 - s.ox___25675); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_4 = r0; r0 = (s.tmp_1 > s.tmp_4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_5 = Sprite_right__P20629_mk(s); + s.tmp_5 = Sprite_right__P20773_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_5.arg0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_5.arg1 = r0; s.callLocIdx = 351; s.pc = 36; return s.tmp_5; case 36: r0 = s.retval; case 5: case 6: - s.tmp_3 = Sprite_top__P20630_mk(s); + s.tmp_3 = Sprite_top__P20774_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 352; s.pc = 37; return s.tmp_3; case 37: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.oy___25534); + r0 = (s.tmp_2 - s.oy___25678); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_y__P20592_mk(s); + s.tmp_4 = Sprite_y__P20736_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_4.arg0 = r0; - s.tmp_7 = Sprite_y__P20591_mk(s); + s.tmp_7 = Sprite_y__P20735_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_7.arg0 = r0; s.callLocIdx = 353; s.pc = 39; return s.tmp_7; case 39: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = Sprite_y__P20591_mk(s); + s.tmp_10 = Sprite_y__P20735_mk(s); s.tmp_10.arg0 = s.caps[0]; s.callLocIdx = 354; s.pc = 40; return s.tmp_10; case 40: @@ -3900,7 +3900,7 @@ switch (step) { s.tmp_2 = r0 = s.caps[6]; r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); s.tmp_4 = r0; - s.tmp_7 = game_eventContext__P21099_mk(s); + s.tmp_7 = game_eventContext__P21243_mk(s); s.callLocIdx = 356; s.pc = 41; return s.tmp_7; case 41: r0 = s.retval; @@ -3992,7 +3992,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.tmp_2 = helpers_imagePrint__P20324_mk(s); + s.tmp_2 = helpers_imagePrint__P20468_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_image"]; @@ -4008,7 +4008,7 @@ switch (step) { r0 = s.retval; { step = 20; continue; } case 19: - s.tmp_0 = helpers_imagePrint__P20324_mk(s); + s.tmp_0 = helpers_imagePrint__P20468_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_image"]; @@ -4027,7 +4027,7 @@ switch (step) { case 43: r0 = s.retval; case 20: - s.tmp_0 = helpers_imageFillRect__P20292_mk(s); + s.tmp_0 = helpers_imageFillRect__P20436_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_image"]; @@ -4055,7 +4055,7 @@ switch (step) { s.callLocIdx = 365; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P20292_mk(s); + s.tmp_0 = helpers_imageFillRect__P20436_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_image"]; @@ -4155,7 +4155,7 @@ switch (step) { { step = 24; continue; } case 23: r0 = (s.caps[0]).fields["updateSay"] = (undefined); - s.tmp_0 = Sprite_destroy__P20651_mk(s); + s.tmp_0 = Sprite_destroy__P20795_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -4169,12 +4169,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25493.info = {"start":16090,"length":3804,"line":542,"column":25,"endLine":616,"endColumn":9,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} +inline__P25637.info = {"start":16090,"length":3804,"line":542,"column":25,"endLine":616,"endColumn":9,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} -function inline__P25493_mk(s) { +function inline__P25637_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25493, depth: s.depth + 1, + parent: s, fn: inline__P25637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4187,8 +4187,8 @@ function inline__P25493_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - ox___25531: undefined, - oy___25534: undefined, + ox___25675: undefined, + oy___25678: undefined, arg0: undefined, arg1: undefined, } } @@ -4197,7 +4197,7 @@ function inline__P25493_mk(s) { -function scene_Scene_millis__P21007(s) { +function scene_Scene_millis__P21151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4212,17 +4212,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20983_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C21127_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P21007.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P21151.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__P21007_mk(s) { +function scene_Scene_millis__P21151_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P21007, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P21151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4231,7 +4231,7 @@ function scene_Scene_millis__P21007_mk(s) { -function scene_Camera_offsetY__P20931(s) { +function scene_Camera_offsetY__P21075(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4246,18 +4246,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20924_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P20931.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__P20931.isGetter = true; +scene_Camera_offsetY__P21075.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__P21075.isGetter = true; -function scene_Camera_offsetY__P20931_mk(s) { +function scene_Camera_offsetY__P21075_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P20931, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P21075, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4266,7 +4266,7 @@ function scene_Camera_offsetY__P20931_mk(s) { -function scene_Camera_offsetX__P20929(s) { +function scene_Camera_offsetX__P21073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4281,18 +4281,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20924_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P20929.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__P20929.isGetter = true; +scene_Camera_offsetX__P21073.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__P21073.isGetter = true; -function scene_Camera_offsetX__P20929_mk(s) { +function scene_Camera_offsetX__P21073_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P20929, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P21073, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4301,7 +4301,7 @@ function scene_Camera_offsetX__P20929_mk(s) { -function Sprite_isOutOfScreen__P20640(s) { +function Sprite_isOutOfScreen__P20784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4311,15 +4311,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___26118 = undefined; - s.oy___26126 = undefined; + s.ox___26262 = undefined; + s.oy___26270 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -4333,7 +4333,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___26118 = (s.tmp_2); + s.ox___26262 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -4347,14 +4347,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___26126 = (s.tmp_2); - s.tmp_3 = Sprite_right__P20628_mk(s); + s.oy___26270 = (s.tmp_2); + s.tmp_3 = Sprite_right__P20772_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 377; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___26118); + r0 = (s.tmp_2 - s.ox___26262); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -4363,13 +4363,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P20632_mk(s); + s.tmp_6 = Sprite_bottom__P20776_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 378; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___26126); + r0 = (s.tmp_5 - s.oy___26270); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -4380,15 +4380,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P20626_mk(s); + s.tmp_10 = Sprite_left__P20770_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 379; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___26118); + r0 = (s.tmp_9 - s.ox___26262); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -4399,15 +4399,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P20630_mk(s); + s.tmp_15 = Sprite_top__P20774_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 380; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___26126); + r0 = (s.tmp_14 - s.oy___26270); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -4417,12 +4417,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P20640.info = {"start":20500,"length":358,"line":636,"column":4,"endLine":640,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P20784.info = {"start":20500,"length":358,"line":636,"column":4,"endLine":640,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P20640_mk(s) { +function Sprite_isOutOfScreen__P20784_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P20640, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P20784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4442,8 +4442,8 @@ function Sprite_isOutOfScreen__P20640_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___26118: undefined, - oy___26126: undefined, + ox___26262: undefined, + oy___26270: undefined, arg0: undefined, arg1: undefined, } } @@ -4452,7 +4452,7 @@ function Sprite_isOutOfScreen__P20640_mk(s) { -function Sprite_bottom__P20632(s) { +function Sprite_bottom__P20776(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4467,8 +4467,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P20630_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P20774_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 299; s.pc = 1; return s.tmp_1; case 1: @@ -4482,13 +4482,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P20632.info = {"start":10083,"length":59,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P20632.isGetter = true; +Sprite_bottom__P20776.info = {"start":10083,"length":59,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P20776.isGetter = true; -function Sprite_bottom__P20632_mk(s) { +function Sprite_bottom__P20776_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P20632, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P20776, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4501,7 +4501,7 @@ function Sprite_bottom__P20632_mk(s) { -function Sprite_height__P20625(s) { +function Sprite_height__P20769(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4516,20 +4516,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20625.info = {"start":8639,"length":54,"line":314,"column":4,"endLine":316,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P20625.isGetter = true; +Sprite_height__P20769.info = {"start":8639,"length":54,"line":314,"column":4,"endLine":316,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P20769.isGetter = true; -function Sprite_height__P20625_mk(s) { +function Sprite_height__P20769_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P20625, depth: s.depth + 1, + parent: s, fn: Sprite_height__P20769, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4539,7 +4539,7 @@ function Sprite_height__P20625_mk(s) { -function Sprite_top__P20630(s) { +function Sprite_top__P20774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4554,20 +4554,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20630.info = {"start":9590,"length":53,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P20630.isGetter = true; +Sprite_top__P20774.info = {"start":9590,"length":53,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P20774.isGetter = true; -function Sprite_top__P20630_mk(s) { +function Sprite_top__P20774_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P20630, depth: s.depth + 1, + parent: s, fn: Sprite_top__P20774, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4577,7 +4577,7 @@ function Sprite_top__P20630_mk(s) { -function Fx_toFloat__P18730(s) { +function Fx_toFloat__P18874(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4595,12 +4595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P18730.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__P18874.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__P18730_mk(s) { +function Fx_toFloat__P18874_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P18730, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P18874, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4609,7 +4609,7 @@ function Fx_toFloat__P18730_mk(s) { -function Sprite_right__P20629(s) { +function Sprite_right__P20773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4625,8 +4625,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P20627_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P20771_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -4642,12 +4642,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P20629.info = {"start":9428,"length":71,"line":344,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P20773.info = {"start":9428,"length":71,"line":344,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P20629_mk(s) { +function Sprite_right__P20773_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P20629, depth: s.depth + 1, + parent: s, fn: Sprite_right__P20773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4661,7 +4661,7 @@ function Sprite_right__P20629_mk(s) { -function Sprite_width__P20624(s) { +function Sprite_width__P20768(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4676,20 +4676,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20624.info = {"start":8494,"length":52,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P20624.isGetter = true; +Sprite_width__P20768.info = {"start":8494,"length":52,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P20768.isGetter = true; -function Sprite_width__P20624_mk(s) { +function Sprite_width__P20768_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P20624, depth: s.depth + 1, + parent: s, fn: Sprite_width__P20768, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4699,7 +4699,7 @@ function Sprite_width__P20624_mk(s) { -function Sprite_right__P20628(s) { +function Sprite_right__P20772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4714,8 +4714,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P20626_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P20770_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 291; s.pc = 1; return s.tmp_1; case 1: @@ -4729,13 +4729,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P20628.info = {"start":9279,"length":57,"line":339,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P20628.isGetter = true; +Sprite_right__P20772.info = {"start":9279,"length":57,"line":339,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P20772.isGetter = true; -function Sprite_right__P20628_mk(s) { +function Sprite_right__P20772_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P20628, depth: s.depth + 1, + parent: s, fn: Sprite_right__P20772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4748,7 +4748,7 @@ function Sprite_right__P20628_mk(s) { -function Sprite_left__P20627(s) { +function Sprite_left__P20771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4758,22 +4758,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___26078 = undefined; + s.physics___26222 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21096_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 288; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___26078 = (r0); - s.tmp_0 = PhysicsEngine__C20723_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___26078; + s.physics___26222 = (r0); + s.tmp_0 = PhysicsEngine__C20867_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___26222; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -4784,7 +4784,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__C20723_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_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: @@ -4793,18 +4793,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P20627.info = {"start":8929,"length":257,"line":325,"column":4,"endLine":335,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P20771.info = {"start":8929,"length":257,"line":325,"column":4,"endLine":335,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P20627_mk(s) { +function Sprite_left__P20771_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P20627, depth: s.depth + 1, + parent: s, fn: Sprite_left__P20771, 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___26078: undefined, + physics___26222: undefined, arg0: undefined, arg1: undefined, } } @@ -4813,7 +4813,7 @@ function Sprite_left__P20627_mk(s) { -function PhysicsEngine_moveSprite__P20727(s) { +function PhysicsEngine_moveSprite__P20871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4831,17 +4831,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20723_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C20867_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P20727.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__P20871.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__P20727_mk(s) { +function PhysicsEngine_moveSprite__P20871_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P20727, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P20871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -4853,7 +4853,7 @@ function PhysicsEngine_moveSprite__P20727_mk(s) { -function Fx_sub__P18718(s) { +function Fx_sub__P18862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4872,12 +4872,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P18718.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__P18862.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__P18718_mk(s) { +function Fx_sub__P18862_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P18718, depth: s.depth + 1, + parent: s, fn: Fx_sub__P18862, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -4887,7 +4887,7 @@ function Fx_sub__P18718_mk(s) { -function Sprite_left__P20626(s) { +function Sprite_left__P20770(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4902,20 +4902,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20626.info = {"start":8785,"length":53,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P20626.isGetter = true; +Sprite_left__P20770.info = {"start":8785,"length":53,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P20770.isGetter = true; -function Sprite_left__P20626_mk(s) { +function Sprite_left__P20770_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P20626, depth: s.depth + 1, + parent: s, fn: Sprite_left__P20770, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4925,7 +4925,7 @@ function Sprite_left__P20626_mk(s) { -function Sprite_setImage__P20620(s) { +function Sprite_setImage__P20764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4941,7 +4941,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -4952,7 +4952,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite_setHitbox__P20621_mk(s); + s.tmp_0 = Sprite_setHitbox__P20765_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 269; s.pc = 4; return s.tmp_0; case 4: @@ -4962,12 +4962,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P20620.info = {"start":6825,"length":133,"line":252,"column":4,"endLine":256,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P20764.info = {"start":6825,"length":133,"line":252,"column":4,"endLine":256,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P20620_mk(s) { +function Sprite_setImage__P20764_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P20620, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P20764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4979,7 +4979,7 @@ function Sprite_setImage__P20620_mk(s) { -function Sprite_setHitbox__P20621(s) { +function Sprite_setHitbox__P20765(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4989,29 +4989,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___26210 = undefined; - s.oMinX___26218 = undefined; - s.oMinY___26222 = undefined; - s.oMaxX___26226 = undefined; - s.oMaxY___26233 = undefined; - s.nMinX___26240 = undefined; - s.nMinY___26243 = undefined; - s.nMaxX___26246 = undefined; - s.nMaxY___26252 = undefined; - s.xDiff___26258 = undefined; - s.yDiff___26269 = undefined; + s.newHitBox___26354 = undefined; + s.oMinX___26362 = undefined; + s.oMinY___26366 = undefined; + s.oMaxX___26370 = undefined; + s.oMaxY___26377 = undefined; + s.nMinX___26384 = undefined; + s.nMinY___26387 = undefined; + s.nMaxX___26390 = undefined; + s.nMaxY___26396 = undefined; + s.xDiff___26402 = undefined; + s.yDiff___26413 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = game_calculateHitBox__P20534_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = game_calculateHitBox__P20678_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 270; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.newHitBox___26210 = (r0); + s.newHitBox___26354 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -5020,95 +5020,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___26210); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___26354); { step = 7; continue; } case 1: case 2: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___26218 = (r0); + s.oMinX___26362 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___26222 = (r0); + s.oMinY___26366 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___26218 + s.tmp_0); - s.oMaxX___26226 = (r0); + r0 = (s.oMinX___26362 + s.tmp_0); + s.oMaxX___26370 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___26222 + s.tmp_0); - s.oMaxY___26233 = (r0); - r0 = s.newHitBox___26210.fields["ox"]; - s.nMinX___26240 = (r0); - r0 = s.newHitBox___26210.fields["oy"]; - s.nMinY___26243 = (r0); - r0 = s.newHitBox___26210.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___26240 + s.tmp_0); - s.nMaxX___26246 = (r0); - r0 = s.newHitBox___26210.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___26243 + s.tmp_0); - s.nMaxY___26252 = (r0); - s.tmp_1 = Fx_abs__P18724_mk(s); - r0 = (s.oMinX___26218 - s.nMinX___26240); + r0 = (s.oMinY___26366 + s.tmp_0); + s.oMaxY___26377 = (r0); + r0 = s.newHitBox___26354.fields["ox"]; + s.nMinX___26384 = (r0); + r0 = s.newHitBox___26354.fields["oy"]; + s.nMinY___26387 = (r0); + r0 = s.newHitBox___26354.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___26384 + s.tmp_0); + s.nMaxX___26390 = (r0); + r0 = s.newHitBox___26354.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___26387 + s.tmp_0); + s.nMaxY___26396 = (r0); + s.tmp_1 = Fx_abs__P18868_mk(s); + r0 = (s.oMinX___26362 - s.nMinX___26384); s.tmp_1.arg0 = r0; s.callLocIdx = 276; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P18724_mk(s); - r0 = (s.oMaxX___26226 - s.nMaxX___26246); + s.tmp_3 = Fx_abs__P18868_mk(s); + r0 = (s.oMaxX___26370 - s.nMaxX___26390); s.tmp_3.arg0 = r0; s.callLocIdx = 278; 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___26258 = (r0); - s.tmp_1 = Fx_abs__P18724_mk(s); - r0 = (s.oMinY___26222 - s.nMinY___26243); + s.xDiff___26402 = (r0); + s.tmp_1 = Fx_abs__P18868_mk(s); + r0 = (s.oMinY___26366 - s.nMinY___26387); s.tmp_1.arg0 = r0; s.callLocIdx = 281; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P18724_mk(s); - r0 = (s.oMaxY___26233 - s.nMaxY___26252); + s.tmp_3 = Fx_abs__P18868_mk(s); + r0 = (s.oMaxY___26377 - s.nMaxY___26396); s.tmp_3.arg0 = r0; s.callLocIdx = 283; 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___26269 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___26210); - r0 = (s.xDiff___26258 <= 512); + s.yDiff___26413 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___26354); + r0 = (s.xDiff___26402 <= 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___26218); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___26362); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___26226 - s.oMinX___26218); + r0 = (s.oMaxX___26370 - s.oMinX___26362); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 3: case 4: - r0 = (s.yDiff___26269 <= 512); + r0 = (s.yDiff___26413 <= 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___26222); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___26366); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___26233 - s.oMinY___26222); + r0 = (s.oMaxY___26377 - s.oMinY___26366); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 5: @@ -5118,28 +5118,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P20621.info = {"start":6964,"length":1296,"line":258,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P20765.info = {"start":6964,"length":1296,"line":258,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P20621_mk(s) { +function Sprite_setHitbox__P20765_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P20621, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P20765, 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___26210: undefined, - oMinX___26218: undefined, - oMinY___26222: undefined, - oMaxX___26226: undefined, - oMaxY___26233: undefined, - nMinX___26240: undefined, - nMinY___26243: undefined, - nMaxX___26246: undefined, - nMaxY___26252: undefined, - xDiff___26258: undefined, - yDiff___26269: undefined, + newHitBox___26354: undefined, + oMinX___26362: undefined, + oMinY___26366: undefined, + oMaxX___26370: undefined, + oMaxY___26377: undefined, + nMinX___26384: undefined, + nMinY___26387: undefined, + nMaxX___26390: undefined, + nMaxY___26396: undefined, + xDiff___26402: undefined, + yDiff___26413: undefined, arg0: undefined, } } @@ -5147,7 +5147,7 @@ function Sprite_setHitbox__P20621_mk(s) { -function game_calculateHitBox__P20534(s) { +function game_calculateHitBox__P20678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5157,104 +5157,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___26325 = undefined; - s.minX___26328 = undefined; - s.minY___26331 = undefined; - s.maxX___26334 = undefined; - s.maxY___26335 = undefined; - s.c___26336 = undefined; - s.r___26342 = undefined; - s.width___26373 = undefined; - s.height___26379 = undefined; + s.i___26469 = undefined; + s.minX___26472 = undefined; + s.minY___26475 = undefined; + s.maxX___26478 = undefined; + s.maxY___26479 = undefined; + s.c___26480 = undefined; + s.r___26486 = undefined; + s.width___26517 = undefined; + s.height___26523 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - s.i___26325 = (r0); - r0 = pxsim_ImageMethods.width(s.i___26325); - s.minX___26328 = (r0); - r0 = pxsim_ImageMethods.height(s.i___26325); - s.minY___26331 = (r0); - s.maxX___26334 = (0); - s.maxY___26335 = (0); - s.c___26336 = (0); - case 1: - s.tmp_1 = r0 = s.c___26336; - r0 = pxsim_ImageMethods.width(s.i___26325); + s.i___26469 = (r0); + r0 = pxsim_ImageMethods.width(s.i___26469); + s.minX___26472 = (r0); + r0 = pxsim_ImageMethods.height(s.i___26469); + s.minY___26475 = (r0); + s.maxX___26478 = (0); + s.maxY___26479 = (0); + s.c___26480 = (0); + case 1: + s.tmp_1 = r0 = s.c___26480; + r0 = pxsim_ImageMethods.width(s.i___26469); 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___26342 = (0); + s.r___26486 = (0); case 2: - s.tmp_1 = r0 = s.r___26342; - r0 = pxsim_ImageMethods.height(s.i___26325); + s.tmp_1 = r0 = s.r___26486; + r0 = pxsim_ImageMethods.height(s.i___26469); 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___26325, s.c___26336, s.r___26342); + r0 = pxsim_ImageMethods.getPixel(s.i___26469, s.c___26480, s.r___26486); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Math_min__P18690_mk(s); - s.tmp_4.arg0 = s.minX___26328; - s.tmp_4.arg1 = s.c___26336; + s.tmp_4 = Math_min__P18834_mk(s); + s.tmp_4.arg0 = s.minX___26472; + s.tmp_4.arg1 = s.c___26480; s.callLocIdx = 227; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.minX___26328 = (r0); - s.tmp_0 = Math_min__P18690_mk(s); - s.tmp_0.arg0 = s.minY___26331; - s.tmp_0.arg1 = s.r___26342; + s.minX___26472 = (r0); + s.tmp_0 = Math_min__P18834_mk(s); + s.tmp_0.arg0 = s.minY___26475; + s.tmp_0.arg1 = s.r___26486; s.callLocIdx = 228; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.minY___26331 = (r0); - s.tmp_0 = Math_max__P18689_mk(s); - s.tmp_0.arg0 = s.maxX___26334; - s.tmp_0.arg1 = s.c___26336; + s.minY___26475 = (r0); + s.tmp_0 = Math_max__P18833_mk(s); + s.tmp_0.arg0 = s.maxX___26478; + s.tmp_0.arg1 = s.c___26480; s.callLocIdx = 229; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.maxX___26334 = (r0); - s.tmp_0 = Math_max__P18689_mk(s); - s.tmp_0.arg0 = s.maxY___26335; - s.tmp_0.arg1 = s.r___26342; + s.maxX___26478 = (r0); + s.tmp_0 = Math_max__P18833_mk(s); + s.tmp_0.arg0 = s.maxY___26479; + s.tmp_0.arg1 = s.r___26486; s.callLocIdx = 230; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___26335 = (r0); + s.maxY___26479 = (r0); case 3: case 4: - r0 = (s.r___26342 + 1); - s.r___26342 = (r0); + r0 = (s.r___26486 + 1); + s.r___26486 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___26336 + 1); - s.c___26336 = (r0); + r0 = (s.c___26480 + 1); + s.c___26480 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___26334 - s.minX___26328); + r0 = (s.maxX___26478 - s.minX___26472); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___26373 = (r0); - r0 = (s.maxY___26335 - s.minY___26331); + s.width___26517 = (r0); + r0 = (s.maxY___26479 - s.minY___26475); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___26379 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C20523_VT); + s.height___26523 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C20667_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P20529_mk(s); + s.tmp_1 = game_Hitbox_constructor__P20673_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___26373; - s.tmp_1.arg3 = s.height___26379; - s.tmp_1.arg4 = s.minX___26328; - s.tmp_1.arg5 = s.minY___26331; + s.tmp_1.arg2 = s.width___26517; + s.tmp_1.arg3 = s.height___26523; + s.tmp_1.arg4 = s.minX___26472; + s.tmp_1.arg5 = s.minY___26475; s.callLocIdx = 231; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -5262,27 +5262,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P20534.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__P20678.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__P20534_mk(s) { +function game_calculateHitBox__P20678_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P20534, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P20678, 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___26325: undefined, - minX___26328: undefined, - minY___26331: undefined, - maxX___26334: undefined, - maxY___26335: undefined, - c___26336: undefined, - r___26342: undefined, - width___26373: undefined, - height___26379: undefined, + i___26469: undefined, + minX___26472: undefined, + minY___26475: undefined, + maxX___26478: undefined, + maxY___26479: undefined, + c___26480: undefined, + r___26486: undefined, + width___26517: undefined, + height___26523: undefined, arg0: undefined, } } @@ -5290,7 +5290,7 @@ function game_calculateHitBox__P20534_mk(s) { -function game_Hitbox_constructor__P20529(s) { +function game_Hitbox_constructor__P20673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5310,7 +5310,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20523_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C20667_VT)) failedCast(r0); r0 = (s.arg0).fields["parent"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = (s.arg2 * 256); @@ -5340,12 +5340,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P20529.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__P20673.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__P20529_mk(s) { +function game_Hitbox_constructor__P20673_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P20529, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P20673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5362,7 +5362,7 @@ function game_Hitbox_constructor__P20529_mk(s) { -function Fx_abs__P18724(s) { +function Fx_abs__P18868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5392,12 +5392,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P18724.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__P18868.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__P18724_mk(s) { +function Fx_abs__P18868_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P18724, depth: s.depth + 1, + parent: s, fn: Fx_abs__P18868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5407,7 +5407,7 @@ function Fx_abs__P18724_mk(s) { -function Fx_add__P18716(s) { +function Fx_add__P18860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5426,12 +5426,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P18716.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__P18860.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__P18716_mk(s) { +function Fx_add__P18860_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P18716, depth: s.depth + 1, + parent: s, fn: Fx_add__P18860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5441,7 +5441,7 @@ function Fx_add__P18716_mk(s) { -function Sprite_image__P20619(s) { +function Sprite_image__P20763(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5456,18 +5456,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P20619.info = {"start":6549,"length":54,"line":242,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P20619.isGetter = true; +Sprite_image__P20763.info = {"start":6549,"length":54,"line":242,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P20763.isGetter = true; -function Sprite_image__P20619_mk(s) { +function Sprite_image__P20763_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P20619, depth: s.depth + 1, + parent: s, fn: Sprite_image__P20763, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5476,7 +5476,7 @@ function Sprite_image__P20619_mk(s) { -function Sprite_data__P20605(s) { +function Sprite_data__P20749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5491,7 +5491,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -5510,13 +5510,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P20605.info = {"start":4194,"length":92,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P20605.isGetter = true; +Sprite_data__P20749.info = {"start":4194,"length":92,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P20749.isGetter = true; -function Sprite_data__P20605_mk(s) { +function Sprite_data__P20749_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P20605, depth: s.depth + 1, + parent: s, fn: Sprite_data__P20749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5530,7 +5530,7 @@ function Sprite_data__P20605_mk(s) { -function Sprite_y__P20592(s) { +function Sprite_y__P20736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5546,8 +5546,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P20631_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P20775_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -5565,12 +5565,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P20592.info = {"start":2022,"length":72,"line":86,"column":4,"endLine":88,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P20736.info = {"start":2022,"length":72,"line":86,"column":4,"endLine":88,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P20592_mk(s) { +function Sprite_y__P20736_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P20592, depth: s.depth + 1, + parent: s, fn: Sprite_y__P20736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5585,7 +5585,7 @@ function Sprite_y__P20592_mk(s) { -function Sprite_top__P20631(s) { +function Sprite_top__P20775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5595,22 +5595,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___26189 = undefined; + s.physics___26333 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21096_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 296; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___26189 = (r0); - s.tmp_0 = PhysicsEngine__C20723_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___26189; + s.physics___26333 = (r0); + s.tmp_0 = PhysicsEngine__C20867_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___26333; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -5621,7 +5621,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__C20723_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_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: @@ -5630,18 +5630,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P20631.info = {"start":9733,"length":256,"line":355,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P20775.info = {"start":9733,"length":256,"line":355,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P20631_mk(s) { +function Sprite_top__P20775_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P20631, depth: s.depth + 1, + parent: s, fn: Sprite_top__P20775, 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___26189: undefined, + physics___26333: undefined, arg0: undefined, arg1: undefined, } } @@ -5650,7 +5650,7 @@ function Sprite_top__P20631_mk(s) { -function Sprite_x__P20590(s) { +function Sprite_x__P20734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5666,8 +5666,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P20627_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P20771_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -5685,12 +5685,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P20590.info = {"start":1673,"length":72,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P20734.info = {"start":1673,"length":72,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P20590_mk(s) { +function Sprite_x__P20734_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P20590, depth: s.depth + 1, + parent: s, fn: Sprite_x__P20734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5705,7 +5705,7 @@ function Sprite_x__P20590_mk(s) { -function helpers_imagePrint__P20324(s) { +function helpers_imagePrint__P20468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5715,31 +5715,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___25782 = undefined; - s.cp___25784 = undefined; - s.mult___25785 = undefined; - s.dataW___25790 = undefined; - s.dataH___25796 = undefined; - s.byteHeight___25802 = undefined; - s.charSize___25808 = undefined; - s.dataSize___25812 = undefined; - s.fontdata___25816 = undefined; - s.lastchar___25819 = undefined; - s.imgBuf___25826 = undefined; - s.xOffset___25850 = undefined; - s.yOffset___25851 = undefined; - s.ch___25866 = undefined; - s.l___25885 = undefined; - s.r___25886 = undefined; - s.off___25888 = undefined; - s.guess___25889 = undefined; - s.m___25908 = undefined; - s.v___25917 = undefined; - s.i___25973 = undefined; - s.j___25978 = undefined; - s.mask___25979 = undefined; - s.c___25980 = undefined; - s.n___25997 = undefined; + s.x0___25926 = undefined; + s.cp___25928 = undefined; + s.mult___25929 = undefined; + s.dataW___25934 = undefined; + s.dataH___25940 = undefined; + s.byteHeight___25946 = undefined; + s.charSize___25952 = undefined; + s.dataSize___25956 = undefined; + s.fontdata___25960 = undefined; + s.lastchar___25963 = undefined; + s.imgBuf___25970 = undefined; + s.xOffset___25994 = undefined; + s.yOffset___25995 = undefined; + s.ch___26010 = undefined; + s.l___26029 = undefined; + s.r___26030 = undefined; + s.off___26032 = undefined; + s.guess___26033 = undefined; + s.m___26052 = undefined; + s.v___26061 = undefined; + s.i___26117 = undefined; + s.j___26122 = undefined; + s.mask___26123 = undefined; + s.c___26124 = undefined; + s.n___26141 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5760,7 +5760,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P20311_mk(s); + s.tmp_2 = image_getFontForText__P20455_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 107; s.pc = 39; return s.tmp_2; case 39: @@ -5777,8 +5777,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___25782 = (s.arg2); - s.cp___25784 = (0); + s.x0___25926 = (s.arg2); + s.cp___25928 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -5812,7 +5812,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___25785 = (s.tmp_3); + s.mult___25929 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -5826,8 +5826,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___25785); - s.dataW___25790 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___25929); + s.dataW___25934 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -5841,16 +5841,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___25785); - s.dataH___25796 = (r0); - r0 = (s.dataH___25796 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___25929); + s.dataH___25940 = (r0); + r0 = (s.dataH___25940 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___25802 = (r0); - r0 = (s.byteHeight___25802 * s.dataW___25790); - s.charSize___25808 = (r0); - r0 = (2 + s.charSize___25808); - s.dataSize___25812 = (r0); + s.byteHeight___25946 = (r0); + r0 = (s.byteHeight___25946 * s.dataW___25934); + s.charSize___25952 = (r0); + r0 = (2 + s.charSize___25952); + s.dataSize___25956 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -5863,44 +5863,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___25816 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___25816); + s.fontdata___25960 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___25960); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___25812); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___25956); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___25819 = (r0); - r0 = (s.mult___25785 == 1); + s.lastchar___25963 = (r0); + r0 = (s.mult___25929 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___25808); + r0 = (8 + s.charSize___25952); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___25826 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___25826, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___25826, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___25826, 2, s.dataW___25790); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___25826, 4, s.dataH___25796); + s.imgBuf___25970 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___25970, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___25970, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___25970, 2, s.dataW___25934); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___25970, 4, s.dataH___25940); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___25784; + s.tmp_1 = r0 = s.cp___25928; 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___25850 = (0); - s.yOffset___25851 = (0); + s.xOffset___25994 = (0); + s.yOffset___25995 = (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___25784; + s.tmp_1 = r0 = s.cp___25928; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -5910,7 +5910,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___25784); + r0 = pxsim_Array__getAt(s.arg6, s.cp___25928); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -5922,9 +5922,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___25850 = (r0); + s.xOffset___25994 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___25784); + r0 = pxsim_Array__getAt(s.arg6, s.cp___25928); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -5936,15 +5936,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___25851 = (r0); + s.yOffset___25995 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___25784; + s.tmp_0 = r0 = s.cp___25928; r0 = (s.tmp_0 + 1); - s.cp___25784 = (r0); + s.cp___25928 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___25866 = (r0); - r0 = (s.ch___25866 == 10); + s.ch___26010 = (r0); + r0 = (s.ch___26010 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -5966,89 +5966,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___25782); + s.arg2 = (s.x0___25926); case 14: case 15: - r0 = (s.ch___25866 < 32); + r0 = (s.ch___26010 < 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___25885 = (0); - s.r___25886 = (s.lastchar___25819); - s.off___25888 = (0); - r0 = (s.ch___25866 - 32); + s.l___26029 = (0); + s.r___26030 = (s.lastchar___25963); + s.off___26032 = (0); + r0 = (s.ch___26010 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___25812); - s.guess___25889 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___25816, 4, s.guess___25889); + r0 = (s.tmp_0 * s.dataSize___25956); + s.guess___26033 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___25960, 4, s.guess___26033); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___25866); + r0 = (s.tmp_1 == s.ch___26010); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___25888 = (s.guess___25889); + s.off___26032 = (s.guess___26033); { step = 25; continue; } case 18: case 19: - r0 = (s.l___25885 <= s.r___25886); + r0 = (s.l___26029 <= s.r___26030); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___25885; - r0 = (s.r___25886 - s.l___25885); + s.tmp_1 = r0 = s.l___26029; + r0 = (s.r___26030 - s.l___26029); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___25908 = (r0); - s.tmp_0 = r0 = s.fontdata___25816; - r0 = (s.m___25908 * s.dataSize___25812); + s.m___26052 = (r0); + s.tmp_0 = r0 = s.fontdata___25960; + r0 = (s.m___26052 * s.dataSize___25956); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___25917 = (r0); - r0 = (s.v___25917 == s.ch___25866); + s.v___26061 = (r0); + r0 = (s.v___26061 == s.ch___26010); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___25908 * s.dataSize___25812); - s.off___25888 = (r0); + r0 = (s.m___26052 * s.dataSize___25956); + s.off___26032 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___25917 < s.ch___25866); + r0 = (s.v___26061 < s.ch___26010); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___25908 + 1); - s.l___25885 = (r0); + r0 = (s.m___26052 + 1); + s.l___26029 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___25908 - 1); - s.r___25886 = (r0); + r0 = (s.m___26052 - 1); + s.r___26030 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___25785 == 1); + r0 = (s.mult___25929 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___25826; - s.tmp_3 = r0 = s.fontdata___25816; - r0 = (s.off___25888 + 2); + s.tmp_1 = r0 = s.imgBuf___25970; + s.tmp_3 = r0 = s.fontdata___25960; + r0 = (s.off___26032 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___25808); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___25952); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P20291_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P20435_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___25826; - r0 = (s.arg2 + s.xOffset___25850); + s.tmp_0.arg1 = s.imgBuf___25970; + r0 = (s.arg2 + s.xOffset___25994); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___25851); + r0 = (s.arg3 + s.yOffset___25995); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 116; s.pc = 48; return s.tmp_0; @@ -6072,88 +6072,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___25888 + 2); - s.off___25888 = (r0); - s.i___25973 = (0); + r0 = (s.off___26032 + 2); + s.off___26032 = (r0); + s.i___26117 = (0); case 27: - r0 = (s.i___25973 < s.dataW___25790); + r0 = (s.i___26117 < s.dataW___25934); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___25978 = (0); - s.mask___25979 = (1); - s.tmp_0 = r0 = s.off___25888; + s.j___26122 = (0); + s.mask___26123 = (1); + s.tmp_0 = r0 = s.off___26032; r0 = (s.tmp_0 + 1); - s.off___25888 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___25816, s.tmp_0); - s.c___25980 = (r0); + s.off___26032 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___25960, s.tmp_0); + s.c___26124 = (r0); case 28: - r0 = (s.j___25978 < s.dataH___25796); + r0 = (s.j___26122 < s.dataH___25940); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___25979 == 256); + r0 = (s.mask___26123 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___25888; + s.tmp_2 = r0 = s.off___26032; r0 = (s.tmp_2 + 1); - s.off___25888 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___25816, s.tmp_2); - s.c___25980 = (r0); - s.mask___25979 = (1); + s.off___26032 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___25960, s.tmp_2); + s.c___26124 = (r0); + s.mask___26123 = (1); case 29: case 30: - s.n___25997 = (0); + s.n___26141 = (0); case 31: - r0 = (s.c___25980 & s.mask___25979); + r0 = (s.c___26124 & s.mask___26123); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___25997 + 1); - s.n___25997 = (r0); - r0 = (s.mask___25979 << 1); - s.mask___25979 = (r0); + r0 = (s.n___26141 + 1); + s.n___26141 = (r0); + r0 = (s.mask___26123 << 1); + s.mask___26123 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___25997); + r0 = pxsim_numops_toBoolDecr(s.n___26141); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P20292_mk(s); + s.tmp_0 = helpers_imageFillRect__P20436_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___25850 * s.mult___25785); + r0 = (s.xOffset___25994 * s.mult___25929); 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___25978 + s.yOffset___25851); + r0 = (s.j___26122 + s.yOffset___25995); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___25785); + r0 = (s.tmp_5 * s.mult___25929); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___25785; - r0 = (s.mult___25785 * s.n___25997); + s.tmp_0.arg3 = s.mult___25929; + r0 = (s.mult___25929 * s.n___26141); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 118; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___25978 + s.n___25997); - s.j___25978 = (r0); + r0 = (s.j___26122 + s.n___26141); + s.j___26122 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___25979 << 1); - s.mask___25979 = (r0); - r0 = (s.j___25978 + 1); - s.j___25978 = (r0); + r0 = (s.mask___26123 << 1); + s.mask___26123 = (r0); + r0 = (s.j___26122 + 1); + s.j___26122 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___25785); + r0 = (s.arg2 + s.mult___25929); s.arg2 = (r0); - r0 = (s.i___25973 + 1); - s.i___25973 = (r0); + r0 = (s.i___26117 + 1); + s.i___26117 = (r0); { step = 27; continue; } case 36: case 37: @@ -6163,12 +6163,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P20324.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__P20468.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__P20324_mk(s) { +function helpers_imagePrint__P20468_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P20324, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P20468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6176,31 +6176,31 @@ function helpers_imagePrint__P20324_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___25782: undefined, - cp___25784: undefined, - mult___25785: undefined, - dataW___25790: undefined, - dataH___25796: undefined, - byteHeight___25802: undefined, - charSize___25808: undefined, - dataSize___25812: undefined, - fontdata___25816: undefined, - lastchar___25819: undefined, - imgBuf___25826: undefined, - xOffset___25850: undefined, - yOffset___25851: undefined, - ch___25866: undefined, - l___25885: undefined, - r___25886: undefined, - off___25888: undefined, - guess___25889: undefined, - m___25908: undefined, - v___25917: undefined, - i___25973: undefined, - j___25978: undefined, - mask___25979: undefined, - c___25980: undefined, - n___25997: undefined, + x0___25926: undefined, + cp___25928: undefined, + mult___25929: undefined, + dataW___25934: undefined, + dataH___25940: undefined, + byteHeight___25946: undefined, + charSize___25952: undefined, + dataSize___25956: undefined, + fontdata___25960: undefined, + lastchar___25963: undefined, + imgBuf___25970: undefined, + xOffset___25994: undefined, + yOffset___25995: undefined, + ch___26010: undefined, + l___26029: undefined, + r___26030: undefined, + off___26032: undefined, + guess___26033: undefined, + m___26052: undefined, + v___26061: undefined, + i___26117: undefined, + j___26122: undefined, + mask___26123: undefined, + c___26124: undefined, + n___26141: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6214,7 +6214,7 @@ function helpers_imagePrint__P20324_mk(s) { -function helpers_imageDrawIcon__P20291(s) { +function helpers_imageDrawIcon__P20435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6234,7 +6234,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P22192_mk(s); + s.tmp_3 = helpers_pack__P22336_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 88; s.pc = 1; return s.tmp_3; @@ -6246,12 +6246,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P20291.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__P20435.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__P20291_mk(s) { +function helpers_imageDrawIcon__P20435_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P20291, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P20435, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6268,7 +6268,7 @@ function helpers_imageDrawIcon__P20291_mk(s) { -function helpers_pack__P22192(s) { +function helpers_pack__P22336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6283,7 +6283,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P18686_mk(s); + s.tmp_2 = Math_clamp__P18830_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -6294,7 +6294,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P18686_mk(s); + s.tmp_5 = Math_clamp__P18830_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -6309,12 +6309,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P22192.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__P22336.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__P22192_mk(s) { +function helpers_pack__P22336_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P22192, depth: s.depth + 1, + parent: s, fn: helpers_pack__P22336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6330,7 +6330,7 @@ function helpers_pack__P22192_mk(s) { -function Math_clamp__P18686(s) { +function Math_clamp__P18830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6346,9 +6346,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P18690_mk(s); + s.tmp_0 = Math_min__P18834_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P18689_mk(s); + s.tmp_1 = Math_max__P18833_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 18; s.pc = 2; return s.tmp_1; @@ -6361,12 +6361,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P18686.info = {"start":14654,"length":130,"line":501,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P18830.info = {"start":14654,"length":130,"line":501,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P18686_mk(s) { +function Math_clamp__P18830_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P18686, depth: s.depth + 1, + parent: s, fn: Math_clamp__P18830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6379,7 +6379,7 @@ function Math_clamp__P18686_mk(s) { -function image_getFontForText__P20311(s) { +function image_getFontForText__P20455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6389,52 +6389,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___26446 = undefined; + s.i___26590 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___26446 = (0); + s.i___26590 = (0); case 1: - s.tmp_1 = r0 = s.i___26446; + s.tmp_1 = r0 = s.i___26590; 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___26446); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___26590); 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___20310; + r0 = globals.font12___20454; { step = 5; continue; } case 2: case 3: - r0 = (s.i___26446 + 1); - s.i___26446 = (r0); + r0 = (s.i___26590 + 1); + s.i___26590 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___20309; + r0 = globals.font8___20453; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P20311.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__P20455.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__P20311_mk(s) { +function image_getFontForText__P20455_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P20311, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P20455, 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___26446: undefined, + i___26590: undefined, arg0: undefined, } } @@ -6442,7 +6442,7 @@ function image_getFontForText__P20311_mk(s) { -function helpers_imageFillRect__P20292(s) { +function helpers_imageFillRect__P20436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6462,14 +6462,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P22192_mk(s); + s.tmp_2 = helpers_pack__P22336_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 89; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P22192_mk(s); + s.tmp_4 = helpers_pack__P22336_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 90; s.pc = 2; return s.tmp_4; @@ -6481,12 +6481,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P20292.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__P20436.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__P20292_mk(s) { +function helpers_imageFillRect__P20436_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P20292, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P20436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6505,7 +6505,7 @@ function helpers_imageFillRect__P20292_mk(s) { -function control_EventContext_deltaTime__P18953(s) { +function control_EventContext_deltaTime__P19097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6520,20 +6520,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18948_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C19092_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__P18953.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__P18953.isGetter = true; +control_EventContext_deltaTime__P19097.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__P19097.isGetter = true; -function control_EventContext_deltaTime__P18953_mk(s) { +function control_EventContext_deltaTime__P19097_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P18953, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P19097, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6543,7 +6543,7 @@ function control_EventContext_deltaTime__P18953_mk(s) { -function JSON_stringify__P18940(s) { +function JSON_stringify__P19084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6553,16 +6553,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ss___26478 = undefined; + s.ss___26622 = 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(JSON_Stringifier__C22113_VT); - s.ss___26478 = (r0); - s.tmp_0 = r0 = s.ss___26478; + r0 = pxsim_pxtcore_mkClassInstance(JSON_Stringifier__C22257_VT); + s.ss___26622 = (r0); + s.tmp_0 = r0 = s.ss___26622; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); @@ -6582,15 +6582,15 @@ switch (step) { s.arg2 = (10); case 3: case 4: - s.tmp_0 = r0 = s.ss___26478; + s.tmp_0 = r0 = s.ss___26622; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["indentStep"] = (s.tmp_1); - s.tmp_0 = r0 = s.ss___26478; + s.tmp_0 = r0 = s.ss___26622; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); - r0 = (s.ss___26478).fields["indent"] = (s.arg2); + r0 = (s.ss___26622).fields["indent"] = (s.arg2); case 5: s.tmp_0 = r0 = s.arg2; r0 = (s.tmp_0 - 1); @@ -6599,7 +6599,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 6; continue; } - s.tmp_2 = r0 = s.ss___26478; + s.tmp_2 = r0 = s.ss___26622; r0 = s.tmp_2.fields["indentStep"]; s.tmp_5 = r0; if ((s.tmp_5) && (s.tmp_5).vtable) { @@ -6616,8 +6616,8 @@ switch (step) { r0 = (s.tmp_2).fields["indentStep"] = (s.tmp_3); { step = 5; continue; } case 6: - s.tmp_0 = JSON_Stringifier_go__P22115_mk(s); - s.tmp_0.arg0 = s.ss___26478; + s.tmp_0 = JSON_Stringifier_go__P22259_mk(s); + s.tmp_0.arg0 = s.ss___26622; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 49; s.pc = 8; return s.tmp_0; case 8: @@ -6625,12 +6625,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_stringify__P18940.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} +JSON_stringify__P19084.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} -function JSON_stringify__P18940_mk(s) { +function JSON_stringify__P19084_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_stringify__P18940, depth: s.depth + 1, + parent: s, fn: JSON_stringify__P19084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6638,7 +6638,7 @@ function JSON_stringify__P18940_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ss___26478: undefined, + ss___26622: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6648,7 +6648,7 @@ function JSON_stringify__P18940_mk(s) { -function JSON_Stringifier_go__P22115(s) { +function JSON_Stringifier_go__P22259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6658,28 +6658,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___26519 = undefined; - s.arr___26543 = undefined; - s.r___26549 = undefined; - s.i___26566 = undefined; - s.keys___26630 = undefined; - s.r___26637 = undefined; - s.i___26654 = undefined; - s.k___26660 = undefined; + s.t___26663 = undefined; + s.arr___26687 = undefined; + s.r___26693 = undefined; + s.i___26710 = undefined; + s.keys___26774 = undefined; + s.r___26781 = undefined; + s.i___26798 = undefined; + s.k___26804 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, JSON_Stringifier__C22113_VT)) failedCast(r0); + if (!checkSubtype(r0, JSON_Stringifier__C22257_VT)) failedCast(r0); r0 = pxsim_pxtcore.typeOf(s.arg1); - s.t___26519 = (r0); - r0 = (s.t___26519 == "string"); + s.t___26663 = (r0); + r0 = (s.t___26663 == "string"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = JSON_Stringifier_doString__P22114_mk(s); + s.tmp_1 = JSON_Stringifier_doString__P22258_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 43; s.pc = 38; return s.tmp_1; @@ -6688,14 +6688,14 @@ switch (step) { { step = 37; continue; } { step = 36; continue; } case 1: - r0 = (s.t___26519 == "boolean"); + r0 = (s.t___26663 == "boolean"); 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.t___26519 == "number"); + r0 = (s.t___26663 == "number"); case 3: // jmp value (already in r0) s.tmp_3 = r0; @@ -6729,8 +6729,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 19; continue; } - s.arr___26543 = (s.arg1); - r0 = pxsim_Array__length(s.arr___26543); + s.arr___26687 = (s.arg1); + r0 = pxsim_Array__length(s.arr___26687); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -6740,7 +6740,7 @@ switch (step) { { step = 37; continue; } { step = 18; continue; } case 7: - s.r___26549 = ("["); + s.r___26693 = ("["); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6771,34 +6771,34 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_5); s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); - if ((s.r___26549) && (s.r___26549).vtable) { + if ((s.r___26693) && (s.r___26693).vtable) { setupResume(s, 42); - pxsim_String__stringConv(s.r___26549); + pxsim_String__stringConv(s.r___26693); checkResumeConsumed(); return; - } else { s.retval = (s.r___26549) + ""; } + } else { s.retval = (s.r___26693) + ""; } case 42: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___26549 = (r0); + s.r___26693 = (r0); case 8: case 9: - s.i___26566 = (0); + s.i___26710 = (0); case 10: - s.tmp_1 = r0 = s.i___26566; - r0 = pxsim_Array__length(s.arr___26543); + s.tmp_1 = r0 = s.i___26710; + r0 = pxsim_Array__length(s.arr___26687); 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; } - if ((s.r___26549) && (s.r___26549).vtable) { + if ((s.r___26693) && (s.r___26693).vtable) { setupResume(s, 43); - pxsim_String__stringConv(s.r___26549); + pxsim_String__stringConv(s.r___26693); checkResumeConsumed(); return; - } else { s.retval = (s.r___26549) + ""; } + } else { s.retval = (s.r___26693) + ""; } case 43: r0 = s.retval; s.tmp_3 = r0; @@ -6813,9 +6813,9 @@ switch (step) { case 44: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = JSON_Stringifier_go__P22115_mk(s); + s.tmp_10 = JSON_Stringifier_go__P22259_mk(s); s.tmp_10.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.arr___26543, s.i___26566); + r0 = pxsim_Array__getAt(s.arr___26687, s.i___26710); s.tmp_10.arg1 = r0; s.callLocIdx = 44; s.pc = 45; return s.tmp_10; case 45: @@ -6842,9 +6842,9 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___26549 = (r0); - s.tmp_1 = r0 = s.i___26566; - r0 = pxsim_Array__length(s.arr___26543); + s.r___26693 = (r0); + s.tmp_1 = r0 = s.i___26710; + r0 = pxsim_Array__length(s.arr___26687); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -6852,38 +6852,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - if ((s.r___26549) && (s.r___26549).vtable) { + if ((s.r___26693) && (s.r___26693).vtable) { setupResume(s, 48); - pxsim_String__stringConv(s.r___26549); + pxsim_String__stringConv(s.r___26693); checkResumeConsumed(); return; - } else { s.retval = (s.r___26549) + ""; } + } else { s.retval = (s.r___26693) + ""; } case 48: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___26549 = (r0); + s.r___26693 = (r0); case 11: case 12: r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - if ((s.r___26549) && (s.r___26549).vtable) { + if ((s.r___26693) && (s.r___26693).vtable) { setupResume(s, 49); - pxsim_String__stringConv(s.r___26549); + pxsim_String__stringConv(s.r___26693); checkResumeConsumed(); return; - } else { s.retval = (s.r___26549) + ""; } + } else { s.retval = (s.r___26693) + ""; } case 49: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___26549 = (r0); + s.r___26693 = (r0); case 13: case 14: - r0 = (s.i___26566 + 1); - s.i___26566 = (r0); + r0 = (s.i___26710 + 1); + s.i___26710 = (r0); { step = 10; continue; } case 15: r0 = s.arg0.fields["indent"]; @@ -6891,7 +6891,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } s.tmp_1 = r0 = s.arg0; - s.tmp_3 = helpers_stringSlice__P18679_mk(s); + s.tmp_3 = helpers_stringSlice__P18823_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; @@ -6904,12 +6904,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 16: case 17: - if ((s.r___26549) && (s.r___26549).vtable) { + if ((s.r___26693) && (s.r___26693).vtable) { setupResume(s, 51); - pxsim_String__stringConv(s.r___26549); + pxsim_String__stringConv(s.r___26693); checkResumeConsumed(); return; - } else { s.retval = (s.r___26549) + ""; } + } else { s.retval = (s.r___26693) + ""; } case 51: r0 = s.retval; s.tmp_0 = r0; @@ -6936,15 +6936,15 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___26549 = (r0); - r0 = s.r___26549; + s.r___26693 = (r0); + r0 = s.r___26693; { step = 37; continue; } case 18: { step = 34; continue; } case 19: r0 = pxsim_pxtrt.keysOf(s.arg1); - s.keys___26630 = (r0); - r0 = pxsim_Array__length(s.keys___26630); + s.keys___26774 = (r0); + r0 = pxsim_Array__length(s.keys___26774); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -6954,7 +6954,7 @@ switch (step) { { step = 37; continue; } case 20: case 21: - s.r___26637 = ("{"); + s.r___26781 = ("{"); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6985,36 +6985,36 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_5); s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); - if ((s.r___26637) && (s.r___26637).vtable) { + if ((s.r___26781) && (s.r___26781).vtable) { setupResume(s, 56); - pxsim_String__stringConv(s.r___26637); + pxsim_String__stringConv(s.r___26781); checkResumeConsumed(); return; - } else { s.retval = (s.r___26637) + ""; } + } else { s.retval = (s.r___26781) + ""; } case 56: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___26637 = (r0); + s.r___26781 = (r0); case 22: case 23: - s.i___26654 = (0); + s.i___26798 = (0); case 24: - s.tmp_1 = r0 = s.i___26654; - r0 = pxsim_Array__length(s.keys___26630); + s.tmp_1 = r0 = s.i___26798; + r0 = pxsim_Array__length(s.keys___26774); 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 = 31; continue; } - r0 = pxsim_Array__getAt(s.keys___26630, s.i___26654); - s.k___26660 = (r0); - if ((s.r___26637) && (s.r___26637).vtable) { + r0 = pxsim_Array__getAt(s.keys___26774, s.i___26798); + s.k___26804 = (r0); + if ((s.r___26781) && (s.r___26781).vtable) { setupResume(s, 57); - pxsim_String__stringConv(s.r___26637); + pxsim_String__stringConv(s.r___26781); checkResumeConsumed(); return; - } else { s.retval = (s.r___26637) + ""; } + } else { s.retval = (s.r___26781) + ""; } case 57: r0 = s.retval; s.tmp_0 = r0; @@ -7029,9 +7029,9 @@ switch (step) { case 58: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = JSON_Stringifier_doString__P22114_mk(s); + s.tmp_7 = JSON_Stringifier_doString__P22258_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.k___26660; + s.tmp_7.arg1 = s.k___26804; s.callLocIdx = 46; s.pc = 59; return s.tmp_7; case 59: r0 = s.retval; @@ -7057,48 +7057,48 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___26637 = (r0); + s.r___26781 = (r0); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } - if ((s.r___26637) && (s.r___26637).vtable) { + if ((s.r___26781) && (s.r___26781).vtable) { setupResume(s, 62); - pxsim_String__stringConv(s.r___26637); + pxsim_String__stringConv(s.r___26781); checkResumeConsumed(); return; - } else { s.retval = (s.r___26637) + ""; } + } else { s.retval = (s.r___26781) + ""; } case 62: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, ": "); - s.r___26637 = (r0); + s.r___26781 = (r0); { step = 26; continue; } case 25: - if ((s.r___26637) && (s.r___26637).vtable) { + if ((s.r___26781) && (s.r___26781).vtable) { setupResume(s, 63); - pxsim_String__stringConv(s.r___26637); + pxsim_String__stringConv(s.r___26781); checkResumeConsumed(); return; - } else { s.retval = (s.r___26637) + ""; } + } else { s.retval = (s.r___26781) + ""; } case 63: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, ":"); - s.r___26637 = (r0); + s.r___26781 = (r0); case 26: - if ((s.r___26637) && (s.r___26637).vtable) { + if ((s.r___26781) && (s.r___26781).vtable) { setupResume(s, 64); - pxsim_String__stringConv(s.r___26637); + pxsim_String__stringConv(s.r___26781); checkResumeConsumed(); return; - } else { s.retval = (s.r___26637) + ""; } + } else { s.retval = (s.r___26781) + ""; } case 64: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = JSON_Stringifier_go__P22115_mk(s); + s.tmp_3 = JSON_Stringifier_go__P22259_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___26660); + r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___26804); s.tmp_3.arg1 = r0; s.callLocIdx = 47; s.pc = 65; return s.tmp_3; case 65: @@ -7114,9 +7114,9 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___26637 = (r0); - s.tmp_1 = r0 = s.i___26654; - r0 = pxsim_Array__length(s.keys___26630); + s.r___26781 = (r0); + s.tmp_1 = r0 = s.i___26798; + r0 = pxsim_Array__length(s.keys___26774); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -7124,38 +7124,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - if ((s.r___26637) && (s.r___26637).vtable) { + if ((s.r___26781) && (s.r___26781).vtable) { setupResume(s, 67); - pxsim_String__stringConv(s.r___26637); + pxsim_String__stringConv(s.r___26781); checkResumeConsumed(); return; - } else { s.retval = (s.r___26637) + ""; } + } else { s.retval = (s.r___26781) + ""; } case 67: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___26637 = (r0); + s.r___26781 = (r0); case 27: case 28: r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - if ((s.r___26637) && (s.r___26637).vtable) { + if ((s.r___26781) && (s.r___26781).vtable) { setupResume(s, 68); - pxsim_String__stringConv(s.r___26637); + pxsim_String__stringConv(s.r___26781); checkResumeConsumed(); return; - } else { s.retval = (s.r___26637) + ""; } + } else { s.retval = (s.r___26781) + ""; } case 68: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___26637 = (r0); + s.r___26781 = (r0); case 29: case 30: - r0 = (s.i___26654 + 1); - s.i___26654 = (r0); + r0 = (s.i___26798 + 1); + s.i___26798 = (r0); { step = 24; continue; } case 31: r0 = s.arg0.fields["indent"]; @@ -7163,7 +7163,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } s.tmp_1 = r0 = s.arg0; - s.tmp_3 = helpers_stringSlice__P18679_mk(s); + s.tmp_3 = helpers_stringSlice__P18823_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; @@ -7176,12 +7176,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 32: case 33: - if ((s.r___26637) && (s.r___26637).vtable) { + if ((s.r___26781) && (s.r___26781).vtable) { setupResume(s, 70); - pxsim_String__stringConv(s.r___26637); + pxsim_String__stringConv(s.r___26781); checkResumeConsumed(); return; - } else { s.retval = (s.r___26637) + ""; } + } else { s.retval = (s.r___26781) + ""; } case 70: r0 = s.retval; s.tmp_0 = r0; @@ -7208,8 +7208,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___26637 = (r0); - r0 = s.r___26637; + s.r___26781 = (r0); + r0 = s.r___26781; { step = 37; continue; } case 34: case 35: @@ -7219,12 +7219,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_go__P22115.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} +JSON_Stringifier_go__P22259.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} -function JSON_Stringifier_go__P22115_mk(s) { +function JSON_Stringifier_go__P22259_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_go__P22115, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_go__P22259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7237,14 +7237,14 @@ function JSON_Stringifier_go__P22115_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - t___26519: undefined, - arr___26543: undefined, - r___26549: undefined, - i___26566: undefined, - keys___26630: undefined, - r___26637: undefined, - i___26654: undefined, - k___26660: undefined, + t___26663: undefined, + arr___26687: undefined, + r___26693: undefined, + i___26710: undefined, + keys___26774: undefined, + r___26781: undefined, + i___26798: undefined, + k___26804: undefined, arg0: undefined, arg1: undefined, } } @@ -7253,7 +7253,7 @@ function JSON_Stringifier_go__P22115_mk(s) { -function JSON_Stringifier_doString__P22114(s) { +function JSON_Stringifier_doString__P22258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7263,68 +7263,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___26777 = undefined; - s.i___26778 = undefined; - s.c___26784 = undefined; + s.r___26921 = undefined; + s.i___26922 = undefined; + s.c___26928 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, JSON_Stringifier__C22113_VT)) failedCast(r0); - s.r___26777 = ("\""); - s.i___26778 = (0); + if (!checkSubtype(r0, JSON_Stringifier__C22257_VT)) failedCast(r0); + s.r___26921 = ("\""); + s.i___26922 = (0); case 1: - s.tmp_1 = r0 = s.i___26778; + s.tmp_1 = r0 = s.i___26922; 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 = 14; continue; } - r0 = pxsim_String_.charAt(s.arg1, s.i___26778); - s.c___26784 = (r0); - r0 = (s.c___26784 == "\n"); + r0 = pxsim_String_.charAt(s.arg1, s.i___26922); + s.c___26928 = (r0); + r0 = (s.c___26928 == "\n"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.c___26784 = ("\\n"); + s.c___26928 = ("\\n"); { step = 13; continue; } case 2: - r0 = (s.c___26784 == "\r"); + r0 = (s.c___26928 == "\r"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.c___26784 = ("\\r"); + s.c___26928 = ("\\r"); { step = 12; continue; } case 3: - r0 = (s.c___26784 == "\t"); + r0 = (s.c___26928 == "\t"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.c___26784 = ("\\t"); + s.c___26928 = ("\\t"); { step = 11; continue; } case 4: - r0 = (s.c___26784 == "\b"); + r0 = (s.c___26928 == "\b"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.c___26784 = ("\\b"); + s.c___26928 = ("\\b"); { step = 10; continue; } case 5: - r0 = (s.c___26784 == "\\"); + r0 = (s.c___26928 == "\\"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.c___26784 = ("\\\\"); + s.c___26928 = ("\\\\"); { step = 9; continue; } case 6: - r0 = (s.c___26784 == "\""); + r0 = (s.c___26928 == "\""); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.c___26784 = ("\\\""); + s.c___26928 = ("\\\""); case 7: case 8: case 9: @@ -7332,36 +7332,36 @@ switch (step) { case 11: case 12: case 13: - if ((s.r___26777) && (s.r___26777).vtable) { + if ((s.r___26921) && (s.r___26921).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___26777); + pxsim_String__stringConv(s.r___26921); checkResumeConsumed(); return; - } else { s.retval = (s.r___26777) + ""; } + } else { s.retval = (s.r___26921) + ""; } case 15: r0 = s.retval; s.tmp_0 = r0; - if ((s.c___26784) && (s.c___26784).vtable) { + if ((s.c___26928) && (s.c___26928).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.c___26784); + pxsim_String__stringConv(s.c___26928); checkResumeConsumed(); return; - } else { s.retval = (s.c___26784) + ""; } + } else { s.retval = (s.c___26928) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___26777 = (r0); - r0 = (s.i___26778 + 1); - s.i___26778 = (r0); + s.r___26921 = (r0); + r0 = (s.i___26922 + 1); + s.i___26922 = (r0); { step = 1; continue; } case 14: - if ((s.r___26777) && (s.r___26777).vtable) { + if ((s.r___26921) && (s.r___26921).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___26777); + pxsim_String__stringConv(s.r___26921); checkResumeConsumed(); return; - } else { s.retval = (s.r___26777) + ""; } + } else { s.retval = (s.r___26921) + ""; } case 17: r0 = s.retval; s.tmp_0 = r0; @@ -7369,19 +7369,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_doString__P22114.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} +JSON_Stringifier_doString__P22258.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} -function JSON_Stringifier_doString__P22114_mk(s) { +function JSON_Stringifier_doString__P22258_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_doString__P22114, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_doString__P22258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - r___26777: undefined, - i___26778: undefined, - c___26784: undefined, + r___26921: undefined, + i___26922: undefined, + c___26928: undefined, arg0: undefined, arg1: undefined, } } @@ -7390,7 +7390,7 @@ function JSON_Stringifier_doString__P22114_mk(s) { -function helpers_stringSlice__P18679(s) { +function helpers_stringSlice__P18823(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7400,7 +7400,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___26747 = undefined; + s.len___26891 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7408,13 +7408,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___26747 = (r0); + s.len___26891 = (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__P18689_mk(s); - r0 = (s.len___26747 + s.arg1); + s.tmp_1 = Math_max__P18833_mk(s); + r0 = (s.len___26891 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 10; s.pc = 7; return s.tmp_1; @@ -7427,14 +7427,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___26747); + s.arg2 = (s.len___26891); case 3: case 4: r0 = (s.arg2 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.len___26747 + s.arg2); + r0 = (s.len___26891 + s.arg2); s.arg2 = (r0); case 5: case 6: @@ -7446,17 +7446,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P18679.info = {"start":11047,"length":365,"line":373,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P18823.info = {"start":11047,"length":365,"line":373,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P18679_mk(s) { +function helpers_stringSlice__P18823_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P18679, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P18823, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___26747: undefined, + len___26891: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7466,7 +7466,7 @@ function helpers_stringSlice__P18679_mk(s) { -function console_inspect__P18935(s) { +function console_inspect__P19079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7476,10 +7476,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___26836 = undefined; - s.asString___26854 = undefined; - s.keys___26866 = undefined; - s.snipped___26870 = undefined; + s.asArr___26980 = undefined; + s.asString___26998 = undefined; + s.keys___27010 = undefined; + s.snipped___27014 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7520,15 +7520,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___26836 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___26836); + s.asArr___26980 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___26980); 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__P18665_mk(s); - s.tmp_2.arg0 = s.asArr___26836; + s.tmp_2 = helpers_arrayJoin__P18809_mk(s); + s.tmp_2.arg0 = s.asArr___26980; s.tmp_2.arg1 = ","; s.callLocIdx = 38; s.pc = 19; return s.tmp_2; case 19: @@ -7538,9 +7538,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P18665_mk(s); - s.tmp_8 = helpers_arraySlice__P18676_mk(s); - s.tmp_8.arg0 = s.asArr___26836; + s.tmp_7 = helpers_arrayJoin__P18809_mk(s); + s.tmp_8 = helpers_arraySlice__P18820_mk(s); + s.tmp_8.arg0 = s.asArr___26980; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 39; s.pc = 21; return s.tmp_8; @@ -7580,46 +7580,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___26854 = (r0); - r0 = (s.asString___26854 != "[object Object]"); + s.asString___26998 = (r0); + r0 = (s.asString___26998 != "[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___26854 != "[Object]"); + r0 = (s.asString___26998 != "[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___26854; + r0 = s.asString___26998; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___26866 = (r0); - r0 = pxsim_Array__length(s.keys___26866); + s.keys___27010 = (r0); + r0 = pxsim_Array__length(s.keys___27010); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___26870 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___26870); + s.snipped___27014 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___27014); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P18676_mk(s); - s.tmp_0.arg0 = s.keys___26866; + s.tmp_0 = helpers_arraySlice__P18820_mk(s); + s.tmp_0.arg0 = s.keys___27010; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 41; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___26866 = (r0); + s.keys___27010 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P26887); + r0 = pxsim_pxtcore_mkAction(1, inline__P27031); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___26870); + r0 = pxsim_numops_toBoolDecr(s.snipped___27014); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -7628,8 +7628,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P18674_mk(s); - s.tmp_7.arg0 = s.keys___26866; + s.tmp_7 = helpers_arrayReduce__P18818_mk(s); + s.tmp_7.arg0 = s.keys___27010; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -7678,12 +7678,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P18935.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__P19079.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__P18935_mk(s) { +function console_inspect__P19079_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P18935, depth: s.depth + 1, + parent: s, fn: console_inspect__P19079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7696,10 +7696,10 @@ function console_inspect__P18935_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___26836: undefined, - asString___26854: undefined, - keys___26866: undefined, - snipped___26870: undefined, + asArr___26980: undefined, + asString___26998: undefined, + keys___27010: undefined, + snipped___27014: undefined, arg0: undefined, arg1: undefined, } } @@ -7708,7 +7708,7 @@ function console_inspect__P18935_mk(s) { -function inline__P26887(s) { +function inline__P27031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7771,12 +7771,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P26887.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__P27031.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__P26887_mk(s) { +function inline__P27031_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P26887, depth: s.depth + 1, + parent: s, fn: inline__P27031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7794,7 +7794,7 @@ function inline__P26887_mk(s) { -function helpers_arraySlice__P18676(s) { +function helpers_arraySlice__P18820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7804,9 +7804,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___26935 = undefined; - s.len___26937 = undefined; - s.i___26971 = undefined; + s.res___27079 = undefined; + s.len___27081 = undefined; + s.i___27115 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7814,9 +7814,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___26935 = (r0); + s.res___27079 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___26937 = (r0); + s.len___27081 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -7828,8 +7828,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P18689_mk(s); - r0 = (s.len___26937 + s.arg1); + s.tmp_1 = Math_max__P18833_mk(s); + r0 = (s.len___27081 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 9; s.pc = 16; return s.tmp_1; @@ -7839,11 +7839,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___26937); + r0 = (s.arg1 > s.len___27081); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___26935; + r0 = s.res___27079; { step = 15; continue; } case 5: case 6: @@ -7851,57 +7851,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___26937); + s.arg2 = (s.len___27081); { 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___26937 + s.arg2); + r0 = (s.len___27081 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___26937); + r0 = (s.arg2 > s.len___27081); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___26937); + s.arg2 = (s.len___27081); case 11: case 12: - s.i___26971 = (s.arg1); + s.i___27115 = (s.arg1); case 13: - r0 = (s.i___26971 < s.arg2); + r0 = (s.i___27115 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___26935; - r0 = pxsim_Array__getAt(s.arg0, s.i___26971); + s.tmp_1 = r0 = s.res___27079; + r0 = pxsim_Array__getAt(s.arg0, s.i___27115); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___26971 + 1); - s.i___26971 = (r0); + r0 = (s.i___27115 + 1); + s.i___27115 = (r0); { step = 13; continue; } case 14: - r0 = s.res___26935; + r0 = s.res___27079; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P18676.info = {"start":8909,"length":690,"line":299,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +helpers_arraySlice__P18820.info = {"start":8909,"length":690,"line":299,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} -function helpers_arraySlice__P18676_mk(s) { +function helpers_arraySlice__P18820_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P18676, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P18820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___26935: undefined, - len___26937: undefined, - i___26971: undefined, + res___27079: undefined, + len___27081: undefined, + i___27115: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7911,7 +7911,7 @@ function helpers_arraySlice__P18676_mk(s) { -function helpers_arrayReduce__P18674(s) { +function helpers_arrayReduce__P18818(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7921,8 +7921,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___26914 = undefined; - s.i___26917 = undefined; + s.len___27058 = undefined; + s.i___27061 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7930,43 +7930,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___26914 = (r0); - s.i___26917 = (0); + s.len___27058 = (r0); + s.i___27061 = (0); case 1: - r0 = (s.i___26917 < s.len___26914); + r0 = (s.i___27061 < s.len___27058); 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___26917); + r0 = pxsim_Array__getAt(s.arg0, s.i___27061); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___26917; + s.tmp_1.arg2 = s.i___27061; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 8; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___26917 + 1); - s.i___26917 = (r0); + r0 = (s.i___27061 + 1); + s.i___27061 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P18674.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__P18818.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__P18674_mk(s) { +function helpers_arrayReduce__P18818_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P18674, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P18818, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___26914: undefined, - i___26917: undefined, + len___27058: undefined, + i___27061: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7976,7 +7976,7 @@ function helpers_arrayReduce__P18674_mk(s) { -function Fx_toInt__P18729(s) { +function Fx_toInt__P18873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7996,12 +7996,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P18729.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__P18873.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__P18729_mk(s) { +function Fx_toInt__P18873_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P18729, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P18873, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8011,7 +8011,7 @@ function Fx_toInt__P18729_mk(s) { -function Math_min__P18690(s) { +function Math_min__P18834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8039,12 +8039,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P18690.info = {"start":15790,"length":105,"line":538,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P18834.info = {"start":15790,"length":105,"line":538,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P18690_mk(s) { +function Math_min__P18834_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P18690, depth: s.depth + 1, + parent: s, fn: Math_min__P18834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8055,7 +8055,7 @@ function Math_min__P18690_mk(s) { -function Math_max__P18689(s) { +function Math_max__P18833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8083,12 +8083,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P18689.info = {"start":15575,"length":105,"line":529,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P18833.info = {"start":15575,"length":105,"line":529,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function Math_max__P18689_mk(s) { +function Math_max__P18833_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P18689, depth: s.depth + 1, + parent: s, fn: Math_max__P18833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8099,7 +8099,7 @@ function Math_max__P18689_mk(s) { -function helpers_stringSplit__P18681(s) { +function helpers_stringSplit__P18825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8109,15 +8109,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___26989 = undefined; - s.lim___26991 = undefined; - s.s___27007 = undefined; - s.p___27010 = undefined; - s.R___27011 = undefined; - s.z___27025 = undefined; - s.T___27038 = undefined; - s.q___27039 = undefined; - s.e___27045 = undefined; + s.A___27133 = undefined; + s.lim___27135 = undefined; + s.s___27151 = undefined; + s.p___27154 = undefined; + s.R___27155 = undefined; + s.z___27169 = undefined; + s.T___27182 = undefined; + s.q___27183 = undefined; + s.e___27189 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8125,36 +8125,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___26989 = (r0); - s.lim___26991 = (0); + s.A___27133 = (r0); + s.lim___27135 = (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___26991 = (r0); + s.lim___27135 = (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___26991 = (0); + s.lim___27135 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___26991 = (r0); + s.lim___27135 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___27007 = (r0); - s.p___27010 = (0); - s.R___27011 = (s.arg1); - r0 = (s.lim___26991 == 0); + s.s___27151 = (r0); + s.p___27154 = (0); + s.R___27155 = (s.arg1); + r0 = (s.lim___27135 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___26989; + r0 = s.A___27133; { step = 21; continue; } case 5: case 6: @@ -8162,123 +8162,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___26989, 0, s.arg0); - r0 = s.A___26989; + r0 = pxsim_Array_.setAt(s.A___27133, 0, s.arg0); + r0 = s.A___27133; { step = 21; continue; } case 7: case 8: - r0 = (s.s___27007 == 0); + r0 = (s.s___27151 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P22051_mk(s); + s.tmp_1 = helpers_splitMatch__P22195_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___27011; + s.tmp_1.arg2 = s.R___27155; s.callLocIdx = 11; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___27025 = (r0); - r0 = (s.z___27025 > -1); + s.z___27169 = (r0); + r0 = (s.z___27169 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___26989; + r0 = s.A___27133; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___26989, 0, s.arg0); - r0 = s.A___26989; + r0 = pxsim_Array_.setAt(s.A___27133, 0, s.arg0); + r0 = s.A___27133; { step = 21; continue; } case 11: case 12: - s.q___27039 = (s.p___27010); + s.q___27183 = (s.p___27154); case 13: - r0 = (s.q___27039 != s.s___27007); + r0 = (s.q___27183 != s.s___27151); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P22051_mk(s); + s.tmp_1 = helpers_splitMatch__P22195_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___27039; - s.tmp_1.arg2 = s.R___27011; + s.tmp_1.arg1 = s.q___27183; + s.tmp_1.arg2 = s.R___27155; s.callLocIdx = 12; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___27045 = (r0); - r0 = (s.e___27045 < 0); + s.e___27189 = (r0); + r0 = (s.e___27189 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___27039 + 1); - s.q___27039 = (r0); + r0 = (s.q___27183 + 1); + s.q___27183 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___27045 == s.p___27010); + r0 = (s.e___27189 == s.p___27154); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___27039 + 1); - s.q___27039 = (r0); + r0 = (s.q___27183 + 1); + s.q___27183 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P18679_mk(s); + s.tmp_0 = helpers_stringSlice__P18823_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___27010; - s.tmp_0.arg2 = s.q___27039; + s.tmp_0.arg1 = s.p___27154; + s.tmp_0.arg2 = s.q___27183; s.callLocIdx = 13; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___27038 = (r0); - r0 = pxsim_Array__push(s.A___26989, s.T___27038); - r0 = pxsim_Array__length(s.A___26989); + s.T___27182 = (r0); + r0 = pxsim_Array__push(s.A___27133, s.T___27182); + r0 = pxsim_Array__length(s.A___27133); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___26991); + r0 = (s.tmp_1 == s.lim___27135); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___26989; + r0 = s.A___27133; { step = 21; continue; } case 16: case 17: - s.p___27010 = (s.e___27045); - s.q___27039 = (s.p___27010); + s.p___27154 = (s.e___27189); + s.q___27183 = (s.p___27154); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P18679_mk(s); + s.tmp_0 = helpers_stringSlice__P18823_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___27010; - s.tmp_0.arg2 = s.q___27039; + s.tmp_0.arg1 = s.p___27154; + s.tmp_0.arg2 = s.q___27183; s.callLocIdx = 14; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___27038 = (r0); - r0 = pxsim_Array__push(s.A___26989, s.T___27038); - r0 = s.A___26989; + s.T___27182 = (r0); + r0 = pxsim_Array__push(s.A___27133, s.T___27182); + r0 = s.A___27133; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P18681.info = {"start":11930,"length":1319,"line":407,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P18825.info = {"start":11930,"length":1319,"line":407,"column":4,"endLine":451,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P18681_mk(s) { +function helpers_stringSplit__P18825_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P18681, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P18825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___26989: undefined, - lim___26991: undefined, - s___27007: undefined, - p___27010: undefined, - R___27011: undefined, - z___27025: undefined, - T___27038: undefined, - q___27039: undefined, - e___27045: undefined, + A___27133: undefined, + lim___27135: undefined, + s___27151: undefined, + p___27154: undefined, + R___27155: undefined, + z___27169: undefined, + T___27182: undefined, + q___27183: undefined, + e___27189: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8288,7 +8288,7 @@ function helpers_stringSplit__P18681_mk(s) { -function helpers_splitMatch__P22051(s) { +function helpers_splitMatch__P22195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8298,9 +8298,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___27090 = undefined; - s.s___27093 = undefined; - s.i___27103 = undefined; + s.r___27234 = undefined; + s.s___27237 = undefined; + s.i___27247 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8308,12 +8308,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___27090 = (r0); + s.r___27234 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___27093 = (r0); - r0 = (s.arg1 + s.r___27090); + s.s___27237 = (r0); + r0 = (s.arg1 + s.r___27234); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___27093); + r0 = (s.tmp_1 > s.s___27237); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -8321,18 +8321,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___27103 = (0); + s.i___27247 = (0); case 3: - r0 = (s.i___27103 < s.r___27090); + r0 = (s.i___27247 < s.r___27234); 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___27103); + r0 = (s.arg1 + s.i___27247); 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___27103); + r0 = pxsim_String_.charAt(s.arg2, s.i___27247); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -8342,21 +8342,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___27103 + 1); - s.i___27103 = (r0); + r0 = (s.i___27247 + 1); + s.i___27247 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___27090); + r0 = (s.arg1 + s.r___27234); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P22051.info = {"start":13255,"length":289,"line":453,"column":4,"endLine":462,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} +helpers_splitMatch__P22195.info = {"start":13255,"length":289,"line":453,"column":4,"endLine":462,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} -function helpers_splitMatch__P22051_mk(s) { +function helpers_splitMatch__P22195_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P22051, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P22195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8364,9 +8364,9 @@ function helpers_splitMatch__P22051_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___27090: undefined, - s___27093: undefined, - i___27103: undefined, + r___27234: undefined, + s___27237: undefined, + i___27247: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8376,7 +8376,7 @@ function helpers_splitMatch__P22051_mk(s) { -function helpers_arrayJoin__P18665(s) { +function helpers_arrayJoin__P18809(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8386,9 +8386,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___27134 = undefined; - s.len___27135 = undefined; - s.i___27138 = undefined; + s.r___27278 = undefined; + s.len___27279 = undefined; + s.i___27282 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8411,16 +8411,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___27134 = (r0); + s.r___27278 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___27135 = (r0); - s.i___27138 = (0); + s.len___27279 = (r0); + s.i___27282 = (0); case 5: - r0 = (s.i___27138 < s.len___27135); + r0 = (s.i___27282 < s.len___27279); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___27138 > 0); + r0 = (s.i___27282 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -8433,12 +8433,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___27134) && (s.r___27134).vtable) { + if ((s.r___27278) && (s.r___27278).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___27134); + pxsim_String__stringConv(s.r___27278); checkResumeConsumed(); return; - } else { s.retval = (s.r___27134) + ""; } + } else { s.retval = (s.r___27278) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -8452,10 +8452,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___27134 = (r0); + s.r___27278 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___27138); + r0 = pxsim_Array__getAt(s.arg0, s.i___27282); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -8464,7 +8464,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___27138); + r0 = pxsim_Array__getAt(s.arg0, s.i___27282); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -8475,16 +8475,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___27138); + r0 = pxsim_Array__getAt(s.arg0, s.i___27282); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___27134) && (s.r___27134).vtable) { + if ((s.r___27278) && (s.r___27278).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___27134); + pxsim_String__stringConv(s.r___27278); checkResumeConsumed(); return; - } else { s.retval = (s.r___27134) + ""; } + } else { s.retval = (s.r___27278) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -8498,21 +8498,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___27134 = (r0); - r0 = (s.i___27138 + 1); - s.i___27138 = (r0); + s.r___27278 = (r0); + r0 = (s.i___27282 + 1); + s.i___27282 = (r0); { step = 5; continue; } case 14: - r0 = s.r___27134; + r0 = s.r___27278; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P18665.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__P18809.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__P18665_mk(s) { +function helpers_arrayJoin__P18809_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P18665, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P18809, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8521,9 +8521,9 @@ function helpers_arrayJoin__P18665_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___27134: undefined, - len___27135: undefined, - i___27138: undefined, + r___27278: undefined, + len___27279: undefined, + i___27282: undefined, arg0: undefined, arg1: undefined, } } @@ -8532,7 +8532,7 @@ function helpers_arrayJoin__P18665_mk(s) { -function game_onUpdate__P21107(s) { +function game_onUpdate__P21251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8546,7 +8546,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P22448_mk(s); + s.tmp_0 = game_init__P22592_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 934; s.pc = 4; return s.tmp_0; case 4: @@ -8560,8 +8560,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P18956_mk(s); - s.tmp_3 = game_eventContext__P21099_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P19100_mk(s); + s.tmp_3 = game_eventContext__P21243_mk(s); s.callLocIdx = 935; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; @@ -8576,12 +8576,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P21107.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__P21251.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__P21107_mk(s) { +function game_onUpdate__P21251_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P21107, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P21251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8594,7 +8594,7 @@ function game_onUpdate__P21107_mk(s) { -function game_init__P22448(s) { +function game_init__P22592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8608,7 +8608,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___22440); + r0 = pxsim_numops_toBoolDecr(globals._scene___22584); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -8623,73 +8623,73 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C20983_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C21127_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P21004_mk(s); + s.tmp_4 = scene_Scene_constructor__P21148_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P18962_mk(s); + s.tmp_5 = control_pushEventContext__P19106_mk(s); s.callLocIdx = 919; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___22440; + s.tmp_4.arg2 = globals._scene___22584; s.callLocIdx = 920; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___22440 = (s.tmp_3); + globals._scene___22584 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P21005_mk(s); - s.tmp_0.arg0 = globals._scene___22440; + s.tmp_0 = scene_Scene_init__P21149_mk(s); + s.tmp_0.arg0 = globals._scene___22584; s.callLocIdx = 921; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___21094); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___21238); 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___21094 = (globals.confetti___21365); + globals.winEffect___21238 = (globals.confetti___21509); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___21095); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___21239); 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___21095 = (globals.melt___21386); + globals.loseEffect___21239 = (globals.melt___21530); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___22439); + r0 = pxsim_numops_toBoolDecr(globals.winSound___22583); 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___22439 = (globals.powerUp___20182); + globals.winSound___22583 = (globals.powerUp___20326); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___22437); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___22581); 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___22437 = (globals.wawawawaa___20179); + globals.loseSound___22581 = (globals.wawawawaa___20323); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P22448.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P22592.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function game_init__P22448_mk(s) { +function game_init__P22592_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P22448, depth: s.depth + 1, + parent: s, fn: game_init__P22592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8704,7 +8704,7 @@ function game_init__P22448_mk(s) { -function inline__P28210(s) { +function inline__P28354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8714,11 +8714,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___28213 = undefined; - s.j___28221 = undefined; - s.x___28226 = undefined; - s.y___28232 = undefined; - s.c___28238 = undefined; + s.rounds___28357 = undefined; + s.j___28365 = undefined; + s.x___28370 = undefined; + s.y___28376 = undefined; + s.c___28382 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8731,14 +8731,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___28213 = (r0); - s.j___28221 = (0); + s.rounds___28357 = (r0); + s.j___28365 = (0); case 1: - r0 = (s.j___28221 < s.rounds___28213); + r0 = (s.j___28365 < s.rounds___28357); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P21154_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P21298_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -8748,8 +8748,8 @@ switch (step) { s.callLocIdx = 49; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___28226 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21154_mk(s); + s.x___28370 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P21298_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -8759,42 +8759,42 @@ switch (step) { s.callLocIdx = 50; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___28232 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___28226, s.y___28232); - s.c___28238 = (r0); + s.y___28376 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___28370, s.y___28376); + s.c___28382 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___28226; - r0 = (s.y___28232 + 1); + s.tmp_1 = r0 = s.x___28370; + r0 = (s.y___28376 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___28238); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___28382); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___28226; - r0 = (s.y___28232 + 2); + s.tmp_1 = r0 = s.x___28370; + r0 = (s.y___28376 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___28238); - r0 = (s.j___28221 + 1); - s.j___28221 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___28382); + r0 = (s.j___28365 + 1); + s.j___28365 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P28210.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +inline__P28354.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} -function inline__P28210_mk(s) { +function inline__P28354_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28210, depth: s.depth + 1, + parent: s, fn: inline__P28354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___28213: undefined, - j___28221: undefined, - x___28226: undefined, - y___28232: undefined, - c___28238: undefined, + rounds___28357: undefined, + j___28365: undefined, + x___28370: undefined, + y___28376: undefined, + c___28382: undefined, arg0: undefined, arg1: undefined, } } @@ -8803,7 +8803,7 @@ function inline__P28210_mk(s) { -function Math_FastRandom_randomRange__P21154(s) { +function Math_FastRandom_randomRange__P21298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8820,12 +8820,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21150_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C21294_VT)) failedCast(r0); r0 = (s.arg2 > s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = Math_FastRandom_next__P21153_mk(s); + s.tmp_2 = Math_FastRandom_next__P21297_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 945; s.pc = 3; return s.tmp_2; case 3: @@ -8846,12 +8846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P21154.info = {"start":2079,"length":131,"line":62,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} +Math_FastRandom_randomRange__P21298.info = {"start":2079,"length":131,"line":62,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} -function Math_FastRandom_randomRange__P21154_mk(s) { +function Math_FastRandom_randomRange__P21298_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P21154, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P21298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8868,7 +8868,7 @@ function Math_FastRandom_randomRange__P21154_mk(s) { -function Math_FastRandom_next__P21153(s) { +function Math_FastRandom_next__P21297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8883,7 +8883,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21150_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C21294_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -8904,12 +8904,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P21153.info = {"start":1713,"length":107,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} +Math_FastRandom_next__P21297.info = {"start":1713,"length":107,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} -function Math_FastRandom_next__P21153_mk(s) { +function Math_FastRandom_next__P21297_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P21153, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P21297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8926,7 +8926,7 @@ function Math_FastRandom_next__P21153_mk(s) { -function effects_ImageEffect_constructor__P21381(s) { +function effects_ImageEffect_constructor__P21525(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8943,11 +8943,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C21380_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C21524_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21150_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21294_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P21152_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P21296_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1268; s.pc = 1; return s.tmp_1; @@ -8960,12 +8960,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P21381.info = {"start":410,"length":290,"line":10,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["this","defaultRate","effectFactory"]} +effects_ImageEffect_constructor__P21525.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__P21381_mk(s) { +function effects_ImageEffect_constructor__P21525_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P21381, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P21525, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8978,7 +8978,7 @@ function effects_ImageEffect_constructor__P21381_mk(s) { -function inline__P28318(s) { +function inline__P28462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8988,13 +8988,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___28321 = undefined; + s.factory___28465 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C21309_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C21453_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -9029,27 +9029,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P21310_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P21454_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___28321 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P21286_mk(s); - s.tmp_0.arg0 = s.factory___28321; + s.factory___28465 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P21430_mk(s); + s.tmp_0.arg0 = s.factory___28465; 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__C21242_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C21386_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P21247_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P21391_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___28321; + s.tmp_1.arg3 = s.factory___28465; s.callLocIdx = 37; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -9057,12 +9057,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28318.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +inline__P28462.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__P28318_mk(s) { +function inline__P28462_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28318, depth: s.depth + 1, + parent: s, fn: inline__P28462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9070,7 +9070,7 @@ function inline__P28318_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___28321: undefined, + factory___28465: undefined, arg0: undefined, arg1: undefined, } } @@ -9079,7 +9079,7 @@ function inline__P28318_mk(s) { -function particles_ParticleSource_constructor__P21247(s) { +function particles_ParticleSource_constructor__P21391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9089,8 +9089,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___27243 = undefined; - s.removedSource___27252 = undefined; + s.sources___27387 = undefined; + s.removedSource___27396 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9099,62 +9099,62 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P20424_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P20568_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1115; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P22798_mk(s); + s.tmp_0 = particles_init__P22942_mk(s); s.callLocIdx = 1116; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P22804_mk(s); + s.tmp_0 = particles_particleSources__P22948_mk(s); s.callLocIdx = 1117; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___27243 = (r0); - r0 = pxsim_Array__length(s.sources___27243); + s.sources___27387 = (r0); + r0 = pxsim_Array__length(s.sources___27387); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___22775); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___22919); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P22801_mk(s); - s.tmp_2.arg0 = s.sources___27243; + s.tmp_2 = particles_sortSources__P22945_mk(s); + s.tmp_2.arg0 = s.sources___27387; s.callLocIdx = 1118; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___27243, 0); - s.removedSource___27252 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P21257_mk(s); - s.tmp_0.arg0 = s.removedSource___27252; + r0 = pxsim_Array_.removeAt(s.sources___27387, 0); + s.removedSource___27396 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P21401_mk(s); + s.tmp_0.arg0 = s.removedSource___27396; s.callLocIdx = 1120; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P21256_mk(s); - s.tmp_0.arg0 = s.removedSource___27252; + s.tmp_0 = particles_ParticleSource_destroy__P21400_mk(s); + s.tmp_0.arg0 = s.removedSource___27396; s.callLocIdx = 1121; 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__P21259_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P21403_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1122; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P21251_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P21395_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.callLocIdx = 1123; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P21258_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P21402_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1124; s.pc = 13; return s.tmp_0; @@ -9169,18 +9169,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___21262; + r0 = globals.defaultFactory___21406; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P21261_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P21405_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 1125; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___27243, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P21255_mk(s); + r0 = pxsim_Array__push(s.sources___27387, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P21399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1126; s.pc = 15; return s.tmp_0; @@ -9190,18 +9190,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P21247.info = {"start":2290,"length":899,"line":86,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} +particles_ParticleSource_constructor__P21391.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__P21247_mk(s) { +function particles_ParticleSource_constructor__P21391_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P21247, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P21391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___27243: undefined, - removedSource___27252: undefined, + sources___27387: undefined, + removedSource___27396: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9212,7 +9212,7 @@ function particles_ParticleSource_constructor__P21247_mk(s) { -function particles_particleSources__P22804(s) { +function particles_particleSources__P22948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9222,33 +9222,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___27674 = undefined; - s.tmp_0 = game_currentScene__P21096_mk(s); + s.sources___27818 = undefined; + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 1177; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___27674 = (r0); - r0 = s.sources___27674; + s.sources___27818 = (r0); + r0 = s.sources___27818; return leave(s, r0) default: oops() } } } -particles_particleSources__P22804.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P22948.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__P22804_mk(s) { +function particles_particleSources__P22948_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P22804, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P22948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___27674: undefined, + sources___27818: undefined, } } -function particles_sortSources__P22801(s) { +function particles_sortSources__P22945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9262,9 +9262,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P18667_mk(s); + s.tmp_0 = helpers_arraySort__P18811_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P27544; + s.tmp_0.arg1 = inline__P27688; s.callLocIdx = 1164; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -9272,12 +9272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources__P22801.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} +particles_sortSources__P22945.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__P22801_mk(s) { +function particles_sortSources__P22945_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P22801, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P22945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9287,7 +9287,7 @@ function particles_sortSources__P22801_mk(s) { -function inline__P27544(s) { +function inline__P27688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9325,12 +9325,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27544.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__P27688.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__P27544_mk(s) { +function inline__P27688_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27544, depth: s.depth + 1, + parent: s, fn: inline__P27688, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9346,7 +9346,7 @@ function inline__P27544_mk(s) { -function helpers_arraySort__P18667(s) { +function helpers_arraySort__P18811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9378,10 +9378,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (inline__P27567); + s.arg1 = (inline__P27711); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P22050_mk(s); + s.tmp_0 = helpers_sortHelper__P22194_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; @@ -9390,12 +9390,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P18667.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} +helpers_arraySort__P18811.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__P18667_mk(s) { +function helpers_arraySort__P18811_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P18667, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P18811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9409,7 +9409,7 @@ function helpers_arraySort__P18667_mk(s) { -function inline__P27567(s) { +function inline__P27711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9419,26 +9419,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___27570 = undefined; - s.bIsUndef___27574 = undefined; - s.aIsNull___27585 = undefined; - s.bIsNull___27589 = undefined; + s.aIsUndef___27714 = undefined; + s.bIsUndef___27718 = undefined; + s.aIsNull___27729 = undefined; + s.bIsNull___27733 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___27570 = (r0); + s.aIsUndef___27714 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___27574 = (r0); - s.tmp_0 = r0 = s.aIsUndef___27570; + s.bIsUndef___27718 = (r0); + s.tmp_0 = r0 = s.aIsUndef___27714; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___27574; + r0 = s.bIsUndef___27718; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -9448,13 +9448,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___27570); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___27714); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___27574); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___27718); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -9463,16 +9463,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___27585 = (r0); + s.aIsNull___27729 = (r0); r0 = (s.arg1 === null); - s.bIsNull___27589 = (r0); - s.tmp_0 = r0 = s.aIsNull___27585; + s.bIsNull___27733 = (r0); + s.tmp_0 = r0 = s.aIsNull___27729; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___27589; + r0 = s.bIsNull___27733; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -9482,13 +9482,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___27585); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___27729); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___27589); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___27733); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -9527,12 +9527,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27567.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__P27711.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__P27567_mk(s) { +function inline__P27711_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27567, depth: s.depth + 1, + parent: s, fn: inline__P27711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9542,10 +9542,10 @@ function inline__P27567_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___27570: undefined, - bIsUndef___27574: undefined, - aIsNull___27585: undefined, - bIsNull___27589: undefined, + aIsUndef___27714: undefined, + bIsUndef___27718: undefined, + aIsNull___27729: undefined, + bIsNull___27733: undefined, arg0: undefined, arg1: undefined, } } @@ -9554,7 +9554,7 @@ function inline__P27567_mk(s) { -function helpers_sortHelper__P22050(s) { +function helpers_sortHelper__P22194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9564,9 +9564,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___27624 = undefined; - s.i___27627 = undefined; - s.j___27633 = undefined; + s.len___27768 = undefined; + s.i___27771 = undefined; + s.j___27777 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9594,28 +9594,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___27624 = (r0); - s.i___27627 = (0); + s.len___27768 = (r0); + s.i___27771 = (0); case 5: - s.tmp_1 = r0 = s.i___27627; - r0 = (s.len___27624 - 1); + s.tmp_1 = r0 = s.i___27771; + r0 = (s.len___27768 - 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___27627 + 1); - s.j___27633 = (r0); + r0 = (s.i___27771 + 1); + s.j___27777 = (r0); case 6: - r0 = (s.j___27633 < s.len___27624); + r0 = (s.j___27777 < s.len___27768); 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___27627); + r0 = pxsim_Array__getAt(s.arg0, s.i___27771); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___27633); + r0 = pxsim_Array__getAt(s.arg0, s.j___27777); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 0; s.pc = 12; return s.tmp_3; @@ -9626,21 +9626,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P22049_mk(s); + s.tmp_4 = helpers_swap__P22193_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___27627; - s.tmp_4.arg2 = s.j___27633; + s.tmp_4.arg1 = s.i___27771; + s.tmp_4.arg2 = s.j___27777; s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___27633 + 1); - s.j___27633 = (r0); + r0 = (s.j___27777 + 1); + s.j___27777 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___27627 + 1); - s.i___27627 = (r0); + r0 = (s.i___27771 + 1); + s.i___27771 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -9648,21 +9648,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P22050.info = {"start":5176,"length":481,"line":191,"column":4,"endLine":205,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sortHelper","argumentNames":["arr","callbackfn"]} +helpers_sortHelper__P22194.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__P22050_mk(s) { +function helpers_sortHelper__P22194_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P22050, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P22194, 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___27624: undefined, - i___27627: undefined, - j___27633: undefined, + len___27768: undefined, + i___27771: undefined, + j___27777: undefined, arg0: undefined, arg1: undefined, } } @@ -9671,7 +9671,7 @@ function helpers_sortHelper__P22050_mk(s) { -function helpers_swap__P22049(s) { +function helpers_swap__P22193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9681,7 +9681,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___27662 = undefined; + s.temp___27806 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9689,28 +9689,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___27662 = (r0); + s.temp___27806 = (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___27662); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___27806); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P22049.info = {"start":5030,"length":140,"line":185,"column":4,"endLine":189,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"swap","argumentNames":["arr","i","j"]} +helpers_swap__P22193.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__P22049_mk(s) { +function helpers_swap__P22193_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P22049, depth: s.depth + 1, + parent: s, fn: helpers_swap__P22193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___27662: undefined, + temp___27806: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9720,7 +9720,7 @@ function helpers_swap__P22049_mk(s) { -function particles_init__P22798(s) { +function particles_init__P22942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9730,33 +9730,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___27679 = undefined; - s.tmp_0 = game_currentScene__P21096_mk(s); + s.scene___27823 = undefined; + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 1154; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___27679 = (r0); - r0 = s.scene___27679.fields["particleSources"]; + s.scene___27823 = (r0); + r0 = s.scene___27823.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___27679; + s.tmp_1 = r0 = s.scene___27823; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___22793 = (r0); - s.tmp_0 = game_onUpdate__P21107_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P22799; + globals.lastUpdate___22937 = (r0); + s.tmp_0 = game_onUpdate__P21251_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P22943; s.callLocIdx = 1155; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P21108_mk(s); + s.tmp_0 = game_onUpdateInterval__P21252_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P22800; + s.tmp_0.arg1 = particles_pruneParticles__P22944; s.callLocIdx = 1156; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -9765,24 +9765,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P22798.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P22942.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__P22798_mk(s) { +function particles_init__P22942_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P22798, depth: s.depth + 1, + parent: s, fn: particles_init__P22942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___27679: undefined, + scene___27823: undefined, } } -function particles_pruneParticles__P22800(s) { +function particles_pruneParticles__P22944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9792,25 +9792,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___27694 = undefined; - s.tmp_0 = particles_particleSources__P22804_mk(s); + s.sources___27838 = undefined; + s.tmp_0 = particles_particleSources__P22948_mk(s); s.callLocIdx = 1160; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___27694 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___27694); + s.sources___27838 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___27838); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18671_mk(s); - s.tmp_1 = helpers_arraySlice__P18676_mk(s); - s.tmp_1.arg0 = s.sources___27694; + s.tmp_0 = helpers_arrayForEach__P18815_mk(s); + s.tmp_1 = helpers_arraySlice__P18820_mk(s); + s.tmp_1.arg0 = s.sources___27838; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___27694); + r0 = pxsim_Array__length(s.sources___27838); s.tmp_1.arg2 = r0; s.callLocIdx = 1161; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P27703; + s.tmp_0.arg1 = inline__P27847; s.callLocIdx = 1163; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -9820,23 +9820,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P22800.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P22944.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__P22800_mk(s) { +function particles_pruneParticles__P22944_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P22800, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P22944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___27694: undefined, + sources___27838: undefined, } } -function inline__P27703(s) { +function inline__P27847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9850,7 +9850,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P21250_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P21394_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1162; s.pc = 1; return s.tmp_0; case 1: @@ -9859,12 +9859,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27703.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P27847.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__P27703_mk(s) { +function inline__P27847_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27703, depth: s.depth + 1, + parent: s, fn: inline__P27847, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9874,7 +9874,7 @@ function inline__P27703_mk(s) { -function particles_ParticleSource__prune__P21250(s) { +function particles_ParticleSource__prune__P21394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9884,15 +9884,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___27491 = undefined; - s.sources___27499 = undefined; - s.current___27513 = undefined; + s.scene___27635 = undefined; + s.sources___27643 = undefined; + s.current___27657 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -9935,36 +9935,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P21096_mk(s); + s.tmp_5 = game_currentScene__P21240_mk(s); s.callLocIdx = 1135; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___27491 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___27491); + s.scene___27635 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___27635); if (!r0) { step = 7; continue; } - r0 = s.scene___27491.fields["allSprites"]; + r0 = s.scene___27635.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P22804_mk(s); + s.tmp_0 = particles_particleSources__P22948_mk(s); s.callLocIdx = 1136; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___27499 = (r0); - s.tmp_0 = r0 = s.sources___27499; + s.sources___27643 = (r0); + s.tmp_0 = r0 = s.sources___27643; 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___27499); + r0 = pxsim_Array__length(s.sources___27643); 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___27499, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___27643, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -9973,35 +9973,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___27513 = (r0); + s.current___27657 = (r0); case 15: - s.tmp_0 = r0 = s.current___27513; + s.tmp_0 = r0 = s.current___27657; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___27513.fields["next"]; + r0 = s.current___27657.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___27513.fields["next"]; + r0 = s.current___27657.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___27513.fields["next"]; + r0 = s.current___27657.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___27513).fields["next"] = (s.tmp_4); + r0 = (s.current___27657).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___27513.fields["next"]; - s.current___27513 = (r0); + r0 = s.current___27657.fields["next"]; + s.current___27657 = (r0); case 19: { step = 15; continue; } case 20: @@ -10009,12 +10009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P21250.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} +particles_ParticleSource__prune__P21394.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__P21250_mk(s) { +function particles_ParticleSource__prune__P21394_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P21250, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P21394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10022,9 +10022,9 @@ function particles_ParticleSource__prune__P21250_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___27491: undefined, - sources___27499: undefined, - current___27513: undefined, + scene___27635: undefined, + sources___27643: undefined, + current___27657: undefined, arg0: undefined, } } @@ -10032,7 +10032,7 @@ function particles_ParticleSource__prune__P21250_mk(s) { -function particles_updateParticles__P22799(s) { +function particles_updateParticles__P22943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10042,16 +10042,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___29782 = undefined; - s.time___29789 = undefined; - s.dt___29792 = undefined; - s.i___29798 = undefined; - s.tmp_0 = particles_particleSources__P22804_mk(s); + s.sources___29926 = undefined; + s.time___29933 = undefined; + s.dt___29936 = undefined; + s.i___29942 = undefined; + s.tmp_0 = particles_particleSources__P22948_mk(s); s.callLocIdx = 1157; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___29782 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___29782); + s.sources___29926 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___29926); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10060,34 +10060,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P22801_mk(s); - s.tmp_2.arg0 = s.sources___29782; + s.tmp_2 = particles_sortSources__P22945_mk(s); + s.tmp_2.arg0 = s.sources___29926; s.callLocIdx = 1158; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___29789 = (r0); - r0 = (s.time___29789 - globals.lastUpdate___22793); - s.dt___29792 = (r0); - globals.lastUpdate___22793 = (s.time___29789); - s.i___29798 = (0); + s.time___29933 = (r0); + r0 = (s.time___29933 - globals.lastUpdate___22937); + s.dt___29936 = (r0); + globals.lastUpdate___22937 = (s.time___29933); + s.i___29942 = (0); case 3: - s.tmp_1 = r0 = s.i___29798; - r0 = pxsim_Array__length(s.sources___29782); + s.tmp_1 = r0 = s.i___29942; + r0 = pxsim_Array__length(s.sources___29926); 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__P21249_mk(s); - r0 = pxsim_Array__getAt(s.sources___29782, s.i___29798); + s.tmp_3 = particles_ParticleSource__update__P21393_mk(s); + r0 = pxsim_Array__getAt(s.sources___29926, s.i___29942); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___29792; + s.tmp_3.arg1 = s.dt___29936; s.callLocIdx = 1159; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___29798 + 1); - s.i___29798 = (r0); + r0 = (s.i___29942 + 1); + s.i___29942 = (r0); { step = 3; continue; } case 4: case 5: @@ -10095,28 +10095,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P22799.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P22943.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__P22799_mk(s) { +function particles_updateParticles__P22943_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P22799, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P22943, 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___29782: undefined, - time___29789: undefined, - dt___29792: undefined, - i___29798: undefined, + sources___29926: undefined, + time___29933: undefined, + dt___29936: undefined, + i___29942: undefined, } } -function particles_ParticleSource__update__P21249(s) { +function particles_ParticleSource__update__P21393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10126,16 +10126,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___29861 = undefined; - s.current___29880 = undefined; - s.fixedDt___29888 = undefined; + s.p___30005 = undefined; + s.current___30024 = undefined; + s.fixedDt___30032 = 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__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -10161,7 +10161,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = particles_ParticleSource_destroy__P21256_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P21400_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1130; s.pc = 28; return s.tmp_0; case 28: @@ -10234,7 +10234,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P21254_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P21398_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1133; s.pc = 31; return s.tmp_2; case 31: @@ -10252,18 +10252,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__C21278_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C21422_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__C21278_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C21422_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___29861 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___29861); + s.p___30005 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___30005); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10274,8 +10274,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___29861).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___29861); + r0 = (s.p___30005).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___30005); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -10290,7 +10290,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___29880 = (r0); + s.current___30024 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -10302,36 +10302,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___29888 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___29888); + s.fixedDt___30032 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___30032); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___29880.fields["lifespan"]; + r0 = s.current___30024.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___29880; + s.tmp_2 = r0 = s.current___30024; 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__C21242_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C21386_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___29880; - s.tmp_0.arg2 = s.fixedDt___29888; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C21242_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___30024; + s.tmp_0.arg2 = s.fixedDt___30032; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C21386_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___29880.fields["next"]; + r0 = s.current___30024.fields["next"]; s.tmp_0 = r0; - s.current___29880 = (r0); + s.current___30024 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -10340,15 +10340,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___29880; + s.tmp_0 = r0 = s.current___30024; 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___29880.fields["next"]; + r0 = s.current___30024.fields["next"]; s.tmp_0 = r0; - s.current___29880 = (r0); + s.current___30024 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -10359,12 +10359,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P21249.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__P21393.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__P21249_mk(s) { +function particles_ParticleSource__update__P21393_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P21249, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P21393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10374,9 +10374,9 @@ function particles_ParticleSource__update__P21249_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___29861: undefined, - current___29880: undefined, - fixedDt___29888: undefined, + p___30005: undefined, + current___30024: undefined, + fixedDt___30032: undefined, arg0: undefined, arg1: undefined, } } @@ -10385,7 +10385,7 @@ function particles_ParticleSource__update__P21249_mk(s) { -function particles_ParticleSource_updateParticle__P22795(s) { +function particles_ParticleSource_updateParticle__P22939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10402,7 +10402,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -10457,12 +10457,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P22795.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__P22939.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__P22795_mk(s) { +function particles_ParticleSource_updateParticle__P22939_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P22795, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P22939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10479,7 +10479,7 @@ function particles_ParticleSource_updateParticle__P22795_mk(s) { -function Fx_rightShift__P18728(s) { +function Fx_rightShift__P18872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10498,12 +10498,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P18728.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__P18872.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__P18728_mk(s) { +function Fx_rightShift__P18872_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P18728, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P18872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10513,7 +10513,7 @@ function Fx_rightShift__P18728_mk(s) { -function Fx_mul__P18719(s) { +function Fx_mul__P18863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10534,12 +10534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P18719.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__P18863.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__P18719_mk(s) { +function Fx_mul__P18863_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P18719, depth: s.depth + 1, + parent: s, fn: Fx_mul__P18863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10550,7 +10550,7 @@ function Fx_mul__P18719_mk(s) { -function particles_ParticleFactory_createParticle__P21280(s) { +function particles_ParticleFactory_createParticle__P21424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10560,17 +10560,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___29978 = undefined; + s.p___30122 = 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__C21278_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C21223_VT); - s.p___29978 = (r0); - s.tmp_0 = r0 = s.p___29978; + if (!checkSubtype(r0, particles_ParticleFactory__C21422_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C21367_VT); + s.p___30122 = (r0); + s.tmp_0 = r0 = s.p___30122; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -10589,7 +10589,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___29978; + s.tmp_0 = r0 = s.p___30122; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -10608,26 +10608,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___29978).fields["vx"] = (0); - r0 = (s.p___29978).fields["vy"] = (0); - r0 = (s.p___29978).fields["lifespan"] = (500); - r0 = s.p___29978; + r0 = (s.p___30122).fields["vx"] = (0); + r0 = (s.p___30122).fields["vy"] = (0); + r0 = (s.p___30122).fields["lifespan"] = (500); + r0 = s.p___30122; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P21280.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__P21424.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__P21280_mk(s) { +function particles_ParticleFactory_createParticle__P21424_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P21280, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P21424, 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___29978: undefined, + p___30122: undefined, arg0: undefined, arg1: undefined, } } @@ -10636,7 +10636,7 @@ function particles_ParticleFactory_createParticle__P21280_mk(s) { -function game_onUpdateInterval__P21108(s) { +function game_onUpdateInterval__P21252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10646,13 +10646,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___27716 = undefined; + s.timer___27860 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P22448_mk(s); + s.tmp_0 = game_init__P22592_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 937; s.pc = 6; return s.tmp_0; case 6: @@ -10676,15 +10676,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___27716 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___27716, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P27720); + s.timer___27860 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___27860, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P27864); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___27716); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___27860); 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__P18956_mk(s); - s.tmp_2 = game_eventContext__P21099_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); + s.tmp_2 = game_eventContext__P21243_mk(s); s.callLocIdx = 938; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -10699,17 +10699,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P21108.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__P21252.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__P21108_mk(s) { +function game_onUpdateInterval__P21252_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P21108, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P21252, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___27716: undefined, + timer___27860: undefined, arg0: undefined, arg1: undefined, } } @@ -10718,7 +10718,7 @@ function game_onUpdateInterval__P21108_mk(s) { -function inline__P27720(s) { +function inline__P27864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10728,22 +10728,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___27721 = undefined; - s.tmp_1 = game_currentScene__P21096_mk(s); + s.time___27865 = undefined; + s.tmp_1 = game_currentScene__P21240_mk(s); s.callLocIdx = 939; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___27721 = (r0); + s.time___27865 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___27721); + r0 = (s.tmp_1 <= s.time___27865); 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___27721 + s.caps[1]); + r0 = (s.time___27865 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -10758,25 +10758,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27720.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P27864.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P27720_mk(s) { +function inline__P27864_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27720, depth: s.depth + 1, + parent: s, fn: inline__P27864, 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___27721: undefined, + time___27865: undefined, } } -function particles_SprayFactory_constructor__P21283(s) { +function particles_SprayFactory_constructor__P21427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10794,19 +10794,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C21282_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C21426_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P22819_mk(s); + s.tmp_0 = particles_initTrig__P22963_mk(s); s.callLocIdx = 1191; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P21286_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P21430_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1192; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P21287_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P21431_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -10817,12 +10817,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P21283.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__P21427.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__P21283_mk(s) { +function particles_SprayFactory_constructor__P21427_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P21283, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P21427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10835,7 +10835,7 @@ function particles_SprayFactory_constructor__P21283_mk(s) { -function particles_initTrig__P22819(s) { +function particles_initTrig__P22963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10845,36 +10845,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___22805); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___22949); 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__P21276_mk(s); + s.tmp_2 = particles_cacheSin__P21420_mk(s); s.tmp_2.arg0 = 100; s.callLocIdx = 1179; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___22805 = (r0); - s.tmp_0 = particles_cacheCos__P21277_mk(s); + globals.cachedSin___22949 = (r0); + s.tmp_0 = particles_cacheCos__P21421_mk(s); s.tmp_0.arg0 = 100; s.callLocIdx = 1180; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___22806 = (r0); + globals.cachedCos___22950 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P22819.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P22963.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__P22819_mk(s) { +function particles_initTrig__P22963_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P22819, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P22963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10885,7 +10885,7 @@ function particles_initTrig__P22819_mk(s) { -function particles_cacheCos__P21277(s) { +function particles_cacheCos__P21421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10895,25 +10895,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___27382 = undefined; - s.anglePerSlice___27384 = undefined; - s.i___27390 = undefined; + s.cos___27526 = undefined; + s.anglePerSlice___27528 = undefined; + s.i___27534 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___27382 = (r0); + s.cos___27526 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___27384 = (r0); - s.i___27390 = (0); + s.anglePerSlice___27528 = (r0); + s.i___27534 = (0); case 1: - r0 = (s.i___27390 < s.arg0); + r0 = (s.i___27534 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___27382; - r0 = (s.i___27390 * s.anglePerSlice___27384); + s.tmp_1 = r0 = s.cos___27526; + r0 = (s.i___27534 * s.anglePerSlice___27528); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -10922,20 +10922,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___27390 + 1); - s.i___27390 = (r0); + r0 = (s.i___27534 + 1); + s.i___27534 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___27382; + r0 = s.cos___27526; return leave(s, r0) default: oops() } } } -particles_cacheCos__P21277.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__P21421.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__P21277_mk(s) { +function particles_cacheCos__P21421_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P21277, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P21421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10943,9 +10943,9 @@ function particles_cacheCos__P21277_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___27382: undefined, - anglePerSlice___27384: undefined, - i___27390: undefined, + cos___27526: undefined, + anglePerSlice___27528: undefined, + i___27534: undefined, arg0: undefined, } } @@ -10953,7 +10953,7 @@ function particles_cacheCos__P21277_mk(s) { -function particles_cacheSin__P21276(s) { +function particles_cacheSin__P21420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10963,25 +10963,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___27408 = undefined; - s.anglePerSlice___27410 = undefined; - s.i___27416 = undefined; + s.sin___27552 = undefined; + s.anglePerSlice___27554 = undefined; + s.i___27560 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___27408 = (r0); + s.sin___27552 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___27410 = (r0); - s.i___27416 = (0); + s.anglePerSlice___27554 = (r0); + s.i___27560 = (0); case 1: - r0 = (s.i___27416 < s.arg0); + r0 = (s.i___27560 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___27408; - r0 = (s.i___27416 * s.anglePerSlice___27410); + s.tmp_1 = r0 = s.sin___27552; + r0 = (s.i___27560 * s.anglePerSlice___27554); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -10990,20 +10990,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___27416 + 1); - s.i___27416 = (r0); + r0 = (s.i___27560 + 1); + s.i___27560 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___27408; + r0 = s.sin___27552; return leave(s, r0) default: oops() } } } -particles_cacheSin__P21276.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__P21420.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__P21276_mk(s) { +function particles_cacheSin__P21420_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P21276, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P21420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11011,9 +11011,9 @@ function particles_cacheSin__P21276_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___27408: undefined, - anglePerSlice___27410: undefined, - i___27416: undefined, + sin___27552: undefined, + anglePerSlice___27554: undefined, + i___27560: undefined, arg0: undefined, } } @@ -11021,7 +11021,7 @@ function particles_cacheSin__P21276_mk(s) { -function particles_SprayFactory_setDirection__P21287(s) { +function particles_SprayFactory_setDirection__P21431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11038,9 +11038,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C21282_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C21426_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P22824_mk(s); + s.tmp_4 = particles_toRadians__P22968_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -11050,19 +11050,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___22818); + r0 = (s.tmp_3 / globals.angleSlice___22962); 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__P22824_mk(s); + s.tmp_4 = particles_toRadians__P22968_mk(s); s.tmp_4.arg0 = s.arg2; s.callLocIdx = 1202; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___22818); + r0 = (s.tmp_3 / globals.angleSlice___22962); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -11071,12 +11071,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P21287.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__P21431.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__P21287_mk(s) { +function particles_SprayFactory_setDirection__P21431_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P21287, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P21431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11094,7 +11094,7 @@ function particles_SprayFactory_setDirection__P21287_mk(s) { -function particles_toRadians__P22824(s) { +function particles_toRadians__P22968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11112,7 +11112,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P18687_mk(s); + s.tmp_3 = Math_abs__P18831_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1183; s.pc = 3; return s.tmp_3; case 3: @@ -11131,12 +11131,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P22824.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__P22968.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__P22824_mk(s) { +function particles_toRadians__P22968_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P22824, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P22968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11149,7 +11149,7 @@ function particles_toRadians__P22824_mk(s) { -function particles_ParticleFactory_constructor__P21279(s) { +function particles_ParticleFactory_constructor__P21423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11164,17 +11164,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C21278_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C21422_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P21279.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__P21423.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__P21279_mk(s) { +function particles_ParticleFactory_constructor__P21423_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P21279, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P21423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11183,7 +11183,7 @@ function particles_ParticleFactory_constructor__P21279_mk(s) { -function particles_ParticleSource_setFactory__P21261(s) { +function particles_ParticleSource_setFactory__P21405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11199,7 +11199,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -11209,12 +11209,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P21261.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__P21405.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__P21261_mk(s) { +function particles_ParticleSource_setFactory__P21405_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P21261, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P21405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11224,7 +11224,7 @@ function particles_ParticleSource_setFactory__P21261_mk(s) { -function particles_ParticleSource_setRate__P21259(s) { +function particles_ParticleSource_setRate__P21403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11240,7 +11240,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -11252,12 +11252,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P21259.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__P21403.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__P21259_mk(s) { +function particles_ParticleSource_setRate__P21403_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P21259, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P21403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11270,7 +11270,7 @@ function particles_ParticleSource_setRate__P21259_mk(s) { -function particles_ParticleSource_setAnchor__P21258(s) { +function particles_ParticleSource_setAnchor__P21402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11286,18 +11286,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P21258.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__P21402.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__P21258_mk(s) { +function particles_ParticleSource_setAnchor__P21402_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P21258, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P21402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11307,7 +11307,7 @@ function particles_ParticleSource_setAnchor__P21258_mk(s) { -function particles_ParticleSource_clear__P21257(s) { +function particles_ParticleSource_clear__P21401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11322,18 +11322,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P21257.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__P21401.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__P21257_mk(s) { +function particles_ParticleSource_clear__P21401_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P21257, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P21401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11342,7 +11342,7 @@ function particles_ParticleSource_clear__P21257_mk(s) { -function particles_ParticleSource_destroy__P21256(s) { +function particles_ParticleSource_destroy__P21400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11357,8 +11357,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P21255_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P21399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1140; s.pc = 1; return s.tmp_0; @@ -11370,7 +11370,7 @@ switch (step) { r0 = (s.tmp_2 | 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); - s.tmp_0 = particles_ParticleSource__prune__P21250_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P21394_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1141; s.pc = 2; return s.tmp_0; case 2: @@ -11379,12 +11379,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P21256.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__P21400.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__P21256_mk(s) { +function particles_ParticleSource_destroy__P21400_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P21256, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P21400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11396,7 +11396,7 @@ function particles_ParticleSource_destroy__P21256_mk(s) { -function particles_ParticleSource_enabled__P21255(s) { +function particles_ParticleSource_enabled__P21399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11412,9 +11412,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P21254_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P21398_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1139; s.pc = 5; return s.tmp_3; case 5: @@ -11445,12 +11445,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P21255.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__P21399.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__P21255_mk(s) { +function particles_ParticleSource_enabled__P21399_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P21255, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P21399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11467,7 +11467,7 @@ function particles_ParticleSource_enabled__P21255_mk(s) { -function particles_ParticleSource_enabled__P21254(s) { +function particles_ParticleSource_enabled__P21398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11482,7 +11482,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -11497,13 +11497,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P21254.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__P21254.isGetter = true; +particles_ParticleSource_enabled__P21398.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__P21398.isGetter = true; -function particles_ParticleSource_enabled__P21254_mk(s) { +function particles_ParticleSource_enabled__P21398_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P21254, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P21398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11517,7 +11517,7 @@ function particles_ParticleSource_enabled__P21254_mk(s) { -function particles_ParticleSource_setAcceleration__P21251(s) { +function particles_ParticleSource_setAcceleration__P21395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11534,7 +11534,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -11551,12 +11551,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P21251.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__P21395.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__P21251_mk(s) { +function particles_ParticleSource_setAcceleration__P21395_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P21251, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P21395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11570,7 +11570,7 @@ function particles_ParticleSource_setAcceleration__P21251_mk(s) { -function sprites_BaseSprite_constructor__P20424(s) { +function sprites_BaseSprite_constructor__P20568(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11586,15 +11586,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20422_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P20427_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P20571_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 137; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P21008_mk(s); - s.tmp_1 = game_currentScene__P21096_mk(s); + s.tmp_0 = scene_Scene_addSprite__P21152_mk(s); + s.tmp_1 = game_currentScene__P21240_mk(s); s.callLocIdx = 138; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -11607,12 +11607,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P20424.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__P20568.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__P20424_mk(s) { +function sprites_BaseSprite_constructor__P20568_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P20424, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P20568, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11624,7 +11624,7 @@ function sprites_BaseSprite_constructor__P20424_mk(s) { -function scene_Scene_addSprite__P21008(s) { +function scene_Scene_addSprite__P21152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11640,7 +11640,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20983_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C21127_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -11667,12 +11667,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P21008.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__P21152.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__P21008_mk(s) { +function scene_Scene_addSprite__P21152_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P21008, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P21152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11686,7 +11686,7 @@ function scene_Scene_addSprite__P21008_mk(s) { -function sprites_BaseSprite_z__P20427(s) { +function sprites_BaseSprite_z__P20571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11702,7 +11702,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20422_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -11710,7 +11710,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__P21096_mk(s); + s.tmp_1 = game_currentScene__P21240_mk(s); s.callLocIdx = 140; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -11726,12 +11726,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P20427.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__P20571.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__P20427_mk(s) { +function sprites_BaseSprite_z__P20571_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P20427, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P20571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11745,7 +11745,7 @@ function sprites_BaseSprite_z__P20427_mk(s) { -function sprites_BaseSprite_z__P20426(s) { +function sprites_BaseSprite_z__P20570(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11760,18 +11760,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20422_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P20426.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__P20426.isGetter = true; +sprites_BaseSprite_z__P20570.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__P20570.isGetter = true; -function sprites_BaseSprite_z__P20426_mk(s) { +function sprites_BaseSprite_z__P20570_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P20426, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P20570, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11780,7 +11780,7 @@ function sprites_BaseSprite_z__P20426_mk(s) { -function helpers_arrayShift__P18664(s) { +function helpers_arrayShift__P18808(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11798,12 +11798,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P18664.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__P18808.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__P18664_mk(s) { +function helpers_arrayShift__P18808_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P18664, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P18808, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11812,7 +11812,7 @@ function helpers_arrayShift__P18664_mk(s) { -function particles_SprayFactory_setSpeed__P21286(s) { +function particles_SprayFactory_setSpeed__P21430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11828,7 +11828,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C21282_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C21426_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -11839,12 +11839,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P21286.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__P21430.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__P21286_mk(s) { +function particles_SprayFactory_setSpeed__P21430_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P21286, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P21430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11857,7 +11857,7 @@ function particles_SprayFactory_setSpeed__P21286_mk(s) { -function particles_ConfettiFactory_constructor__P21310(s) { +function particles_ConfettiFactory_constructor__P21454(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11867,8 +11867,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___28338 = undefined; - s.i___28354 = undefined; + s.confetti___28482 = undefined; + s.i___28498 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11876,52 +11876,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C21309_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C21453_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex28341); + r0 = pxsim.image.ofBuffer(_hex28485); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex28343); + r0 = pxsim.image.ofBuffer(_hex28487); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex28345); + r0 = pxsim.image.ofBuffer(_hex28489); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex28347); + r0 = pxsim.image.ofBuffer(_hex28491); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex28349); + r0 = pxsim.image.ofBuffer(_hex28493); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___28338 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P21305_mk(s); + s.confetti___28482 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P21449_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___28338, 0); + r0 = pxsim_Array__getAt(s.confetti___28482, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1225; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___28354 = (1); + s.i___28498 = (1); case 1: - s.tmp_1 = r0 = s.i___28354; - r0 = pxsim_Array__length(s.confetti___28338); + s.tmp_1 = r0 = s.i___28498; + r0 = pxsim_Array__length(s.confetti___28482); 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__P21306_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P21450_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___28338, s.i___28354); + r0 = pxsim_Array__getAt(s.confetti___28482, s.i___28498); s.tmp_3.arg1 = r0; s.callLocIdx = 1226; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___28354 + 1); - s.i___28354 = (r0); + r0 = (s.i___28498 + 1); + s.i___28498 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -11930,12 +11930,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P21310.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__P21454.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__P21310_mk(s) { +function particles_ConfettiFactory_constructor__P21454_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P21310, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P21454, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11943,23 +11943,23 @@ function particles_ConfettiFactory_constructor__P21310_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___28338: undefined, - i___28354: undefined, + confetti___28482: undefined, + i___28498: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex28341 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex28343 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex28345 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex28347 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex28349 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex28485 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex28487 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex28489 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex28491 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex28493 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P21306(s) { +function particles_ShapeFactory_addShape__P21450(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11975,7 +11975,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C21304_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C21448_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -11987,12 +11987,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P21306.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__P21450.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__P21306_mk(s) { +function particles_ShapeFactory_addShape__P21450_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P21306, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P21450, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12003,7 +12003,7 @@ function particles_ShapeFactory_addShape__P21306_mk(s) { -function particles_ShapeFactory_constructor__P21305(s) { +function particles_ShapeFactory_constructor__P21449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12021,8 +12021,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C21304_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P21293_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C21448_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P21437_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -12059,12 +12059,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P21305.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__P21449.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__P21305_mk(s) { +function particles_ShapeFactory_constructor__P21449_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P21305, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P21449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12081,7 +12081,7 @@ function particles_ShapeFactory_constructor__P21305_mk(s) { -function particles_AreaFactory_constructor__P21293(s) { +function particles_AreaFactory_constructor__P21437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12100,8 +12100,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C21288_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P21283_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C21432_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P21427_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -12131,9 +12131,9 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["maxLifespan"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21150_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21294_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P21152_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P21296_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1204; s.pc = 6; return s.tmp_1; @@ -12144,12 +12144,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P21293.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__P21437.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__P21293_mk(s) { +function particles_AreaFactory_constructor__P21437_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P21293, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P21437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12164,7 +12164,7 @@ function particles_AreaFactory_constructor__P21293_mk(s) { -function effects_ScreenEffect_constructor__P21358(s) { +function effects_ScreenEffect_constructor__P21502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12183,8 +12183,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C21357_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P21354_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C21501_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P21498_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -12197,12 +12197,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P21358.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__P21502.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__P21358_mk(s) { +function effects_ScreenEffect_constructor__P21502_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P21358, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P21502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12216,7 +12216,7 @@ function effects_ScreenEffect_constructor__P21358_mk(s) { -function effects_ParticleEffect_constructor__P21354(s) { +function effects_ParticleEffect_constructor__P21498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12234,7 +12234,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C21353_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C21497_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -12242,12 +12242,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P21354.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__P21498.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__P21354_mk(s) { +function effects_ParticleEffect_constructor__P21498_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P21354, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P21498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12259,7 +12259,7 @@ function effects_ParticleEffect_constructor__P21354_mk(s) { -function scene_Scene_init__P21005(s) { +function scene_Scene_init__P21149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12274,7 +12274,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20983_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C21127_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12282,7 +12282,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P20269_mk(s); + s.tmp_1 = power_poke__P20413_mk(s); s.callLocIdx = 882; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -12291,10 +12291,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__P28458); + r0 = pxsim_pxtcore_mkAction(1, inline__P28602); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18956_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -12302,18 +12302,18 @@ switch (step) { s.callLocIdx = 885; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P18956_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P19100_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P20486; + s.tmp_0.arg2 = controller__moveSprites__P20630; s.callLocIdx = 886; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P28481); + r0 = pxsim_pxtcore_mkAction(1, inline__P28625); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18956_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -12321,10 +12321,10 @@ switch (step) { s.callLocIdx = 888; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P28494); + r0 = pxsim_pxtcore_mkAction(1, inline__P28638); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18956_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -12332,10 +12332,10 @@ switch (step) { s.callLocIdx = 892; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P28515); + r0 = pxsim_pxtcore_mkAction(1, inline__P28659); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18956_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -12343,10 +12343,10 @@ switch (step) { s.callLocIdx = 894; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P28523); + r0 = pxsim_pxtcore_mkAction(1, inline__P28667); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18956_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -12354,19 +12354,19 @@ switch (step) { s.callLocIdx = 898; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P18956_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P19100_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P20327; + s.tmp_0.arg2 = control___screen_update__P20471; s.callLocIdx = 899; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P28552); + r0 = pxsim_pxtcore_mkAction(1, inline__P28696); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P18671_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___21003; + s.tmp_1 = helpers_arrayForEach__P18815_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___21147; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 901; s.pc = 12; return s.tmp_1; case 12: @@ -12376,12 +12376,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P21005.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__P21149.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__P21005_mk(s) { +function scene_Scene_init__P21149_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P21005, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P21149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12392,7 +12392,7 @@ function scene_Scene_init__P21005_mk(s) { -function inline__P28458(s) { +function inline__P28602(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12411,7 +12411,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__P20514_mk(s); + s.tmp_0 = controller___update__P20658_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -12425,12 +12425,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28458.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P28602.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28458_mk(s) { +function inline__P28602_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28458, depth: s.depth + 1, + parent: s, fn: inline__P28602, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12442,7 +12442,7 @@ function inline__P28458_mk(s) { -function inline__P28481(s) { +function inline__P28625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12452,7 +12452,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C20723_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C20867_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -12461,7 +12461,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20723_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_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: @@ -12470,12 +12470,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28481.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P28625.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28481_mk(s) { +function inline__P28625_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28481, depth: s.depth + 1, + parent: s, fn: inline__P28625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12486,7 +12486,7 @@ function inline__P28481_mk(s) { -function inline__P28494(s) { +function inline__P28638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12496,39 +12496,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___28495 = undefined; - s.s___28503 = undefined; - s.unnamed246___U2 = undefined; - s.unnamed247___U3 = undefined; + s.dt___28639 = undefined; + s.s___28647 = undefined; + s.unnamed266___U2 = undefined; + s.unnamed267___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___28495 = (r0); - s.tmp_0 = scene_Camera_update__P20940_mk(s); + s.dt___28639 = (r0); + s.tmp_0 = scene_Camera_update__P21084_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 890; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___28503 = (undefined); + s.s___28647 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed246___U2 = (r0); - s.unnamed247___U3 = (0); + s.unnamed266___U2 = (r0); + s.unnamed267___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed247___U3; - r0 = pxsim_Array__length(s.unnamed246___U2); + s.tmp_0 = r0 = s.unnamed267___U3; + r0 = pxsim_Array__length(s.unnamed266___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed246___U2, s.unnamed247___U3); - s.s___28503 = (r0); + r0 = pxsim_Array__getAt(s.unnamed266___U2, s.unnamed267___U3); + s.s___28647 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___28503; + s.tmp_2.arg0 = s.s___28647; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___28495; + s.tmp_2.arg2 = s.dt___28639; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 891; s.pc = 4; return s.tmp_2; @@ -12540,36 +12540,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed247___U3 + 1); - s.unnamed247___U3 = (r0); + r0 = (s.unnamed267___U3 + 1); + s.unnamed267___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed246___U2 = (undefined); + s.unnamed266___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P28494.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P28638.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28494_mk(s) { +function inline__P28638_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28494, depth: s.depth + 1, + parent: s, fn: inline__P28638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___28495: undefined, - s___28503: undefined, - unnamed246___U2: undefined, - unnamed247___U3: undefined, + dt___28639: undefined, + s___28647: undefined, + unnamed266___U2: undefined, + unnamed267___U3: undefined, } } -function inline__P28515(s) { +function inline__P28659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12579,7 +12579,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P21010_mk(s); + s.tmp_0 = scene_Scene_render__P21154_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 893; s.pc = 1; return s.tmp_0; case 1: @@ -12588,12 +12588,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28515.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P28659.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28515_mk(s) { +function inline__P28659_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28515, depth: s.depth + 1, + parent: s, fn: inline__P28659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -12602,7 +12602,7 @@ function inline__P28515_mk(s) { -function inline__P28523(s) { +function inline__P28667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12612,26 +12612,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___21093; + s.tmp_0 = r0 = globals.stats___21237; 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___18951; + r0 = globals.control_EventContext_onStats___19095; 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___18951; - if ((globals.control_EventContext_lastStats___18950) && (globals.control_EventContext_lastStats___18950).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___19095; + if ((globals.control_EventContext_lastStats___19094) && (globals.control_EventContext_lastStats___19094).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___18950); + pxsim_String__stringConv(globals.control_EventContext_lastStats___19094); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___18950) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___19094) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -12667,23 +12667,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___21092); + r0 = pxsim_numops_toBoolDecr(globals.debug___21236); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C20723_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C20867_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20723_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_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__P21218_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P21362_mk(s); s.callLocIdx = 896; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P20270_mk(s); + s.tmp_0 = power_checkDeepSleep__P20414_mk(s); s.callLocIdx = 897; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -12691,12 +12691,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28523.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P28667.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28523_mk(s) { +function inline__P28667_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28523, depth: s.depth + 1, + parent: s, fn: inline__P28667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12713,7 +12713,7 @@ function inline__P28523_mk(s) { -function inline__P28552(s) { +function inline__P28696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12738,12 +12738,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28552.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P28696.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__P28552_mk(s) { +function inline__P28696_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28552, depth: s.depth + 1, + parent: s, fn: inline__P28696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12753,7 +12753,7 @@ function inline__P28552_mk(s) { -function game_consoleOverlay_draw__P21218(s) { +function game_consoleOverlay_draw__P21362(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12763,16 +12763,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___28601 = undefined; - s.top___28606 = undefined; - s.i___28612 = undefined; - s.t___28625 = undefined; - s.tOff___28632 = undefined; - s.tab___28634 = undefined; - s.unnamed250___U6 = undefined; - s.unnamed251___U7 = undefined; - s.padding___28636 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22738); + s.height___28745 = undefined; + s.top___28750 = undefined; + s.i___28756 = undefined; + s.t___28769 = undefined; + s.tOff___28776 = undefined; + s.tab___28778 = undefined; + s.unnamed270___U6 = undefined; + s.unnamed271___U7 = undefined; + s.padding___28780 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -12781,7 +12781,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___22692); + r0 = pxsim_numops_toBoolDecr(globals.instance___22836); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -12797,7 +12797,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___22746; + s.tmp_7.arg0 = globals.consoleFont___22890; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -12810,10 +12810,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___28601 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___21093); + s.height___28745 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___21237); if (!r0) { step = 5; continue; } - r0 = s.height___28601; + r0 = s.height___28745; { step = 6; continue; } case 5: r0 = 0; @@ -12821,17 +12821,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___28606 = (r0); - s.i___28612 = (0); + s.top___28750 = (r0); + s.i___28756 = (0); case 7: - s.tmp_1 = r0 = s.i___28612; - r0 = pxsim_Array__length(globals.consoleStrings___22738); + s.tmp_1 = r0 = s.i___28756; + r0 = pxsim_Array__length(globals.consoleStrings___22882); 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___22738, s.i___28612); + r0 = pxsim_Array__getAt(globals.consoleStrings___22882, s.i___28756); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -12839,43 +12839,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P18681_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___22738, s.i___28612); + s.tmp_6 = helpers_stringSplit__P18825_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___22882, s.i___28756); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.callLocIdx = 1109; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___28625 = (r0); - s.tOff___28632 = (0); - s.tab___28634 = (undefined); - s.unnamed250___U6 = (s.t___28625); - s.unnamed251___U7 = (0); + s.t___28769 = (r0); + s.tOff___28776 = (0); + s.tab___28778 = (undefined); + s.unnamed270___U6 = (s.t___28769); + s.unnamed271___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed251___U7; - r0 = pxsim_Array__length(s.unnamed250___U6); + s.tmp_0 = r0 = s.unnamed271___U7; + r0 = pxsim_Array__length(s.unnamed270___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed250___U6, s.unnamed251___U7); - s.tab___28634 = (r0); - s.tmp_2 = r0 = globals.tabSize___22740; - s.tmp_5 = r0 = s.tOff___28632; - r0 = pxsim_String_.length(s.tab___28634); + r0 = pxsim_Array__getAt(s.unnamed270___U6, s.unnamed271___U7); + s.tab___28778 = (r0); + s.tmp_2 = r0 = globals.tabSize___22884; + s.tmp_5 = r0 = s.tOff___28776; + r0 = pxsim_String_.length(s.tab___28778); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___22740); + r0 = (s.tmp_4 % globals.tabSize___22884); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___28636 = (r0); - s.tmp_0 = helpers_imagePrint__P20324_mk(s); - s.tmp_0.arg0 = globals.screen___20366; - s.tmp_0.arg1 = s.tab___28634; - s.tmp_2 = r0 = s.tOff___28632; + s.padding___28780 = (r0); + s.tmp_0 = helpers_imagePrint__P20468_mk(s); + s.tmp_0.arg0 = globals.screen___20510; + s.tmp_0.arg1 = s.tab___28778; + s.tmp_2 = r0 = s.tOff___28776; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___22746; + s.tmp_4.arg0 = globals.consoleFont___22890; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -12891,50 +12891,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___28606; - r0 = (s.i___28612 * s.height___28601); + s.tmp_5 = r0 = s.top___28750; + r0 = (s.i___28756 * s.height___28745); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___22737; - s.tmp_0.arg5 = globals.consoleFont___22746; + s.tmp_0.arg4 = globals.consoleColor___22881; + s.tmp_0.arg5 = globals.consoleFont___22890; s.tmp_0.arg6 = undefined; s.callLocIdx = 1111; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___28632; - r0 = pxsim_String_.length(s.tab___28634); + s.tmp_0 = r0 = s.tOff___28776; + r0 = pxsim_String_.length(s.tab___28778); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___28636); + r0 = (s.tmp_2 + s.padding___28780); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___28632 = (r0); - r0 = (s.unnamed251___U7 + 1); - s.unnamed251___U7 = (r0); + s.tOff___28776 = (r0); + r0 = (s.unnamed271___U7 + 1); + s.unnamed271___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed250___U6 = (undefined); + s.unnamed270___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P20324_mk(s); - s.tmp_0.arg0 = globals.screen___20366; - r0 = pxsim_Array__getAt(globals.consoleStrings___22738, s.i___28612); + s.tmp_0 = helpers_imagePrint__P20468_mk(s); + s.tmp_0.arg0 = globals.screen___20510; + r0 = pxsim_Array__getAt(globals.consoleStrings___22882, s.i___28756); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___28606; - r0 = (s.i___28612 * s.height___28601); + s.tmp_1 = r0 = s.top___28750; + r0 = (s.i___28756 * s.height___28745); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___22737; - s.tmp_0.arg5 = globals.consoleFont___22746; + s.tmp_0.arg4 = globals.consoleColor___22881; + s.tmp_0.arg5 = globals.consoleFont___22890; s.tmp_0.arg6 = undefined; s.callLocIdx = 1112; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___28612 + 1); - s.i___28612 = (r0); + r0 = (s.i___28756 + 1); + s.i___28756 = (r0); { step = 7; continue; } case 12: case 13: @@ -12942,12 +12942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P21218.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__P21362.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__P21218_mk(s) { +function game_consoleOverlay_draw__P21362_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P21218, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P21362, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12957,22 +12957,22 @@ function game_consoleOverlay_draw__P21218_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___28601: undefined, - top___28606: undefined, - i___28612: undefined, - t___28625: undefined, - tOff___28632: undefined, - tab___28634: undefined, - unnamed250___U6: undefined, - unnamed251___U7: undefined, - padding___28636: undefined, + height___28745: undefined, + top___28750: undefined, + i___28756: undefined, + t___28769: undefined, + tOff___28776: undefined, + tab___28778: undefined, + unnamed270___U6: undefined, + unnamed271___U7: undefined, + padding___28780: undefined, } } -function scene_systemMenu_isVisible__P21199(s) { +function scene_systemMenu_isVisible__P21343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12982,7 +12982,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___22692); + r0 = pxsim_numops_toBoolDecr(globals.instance___22836); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -12992,12 +12992,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P21199.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__P21343.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__P21199_mk(s) { +function scene_systemMenu_isVisible__P21343_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P21199, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P21343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13008,7 +13008,7 @@ function scene_systemMenu_isVisible__P21199_mk(s) { -function scene_Scene_render__P21010(s) { +function scene_Scene_render__P21154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13018,15 +13018,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___28750 = undefined; - s.unnamed248___U1 = undefined; - s.unnamed249___U2 = undefined; + s.s___28894 = undefined; + s.unnamed268___U1 = undefined; + s.unnamed269___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20983_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C21127_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -13057,7 +13057,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__P21010_mk(s); + s.tmp_3 = scene_Scene_render__P21154_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.callLocIdx = 903; s.pc = 12; return s.tmp_3; @@ -13065,7 +13065,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P20838_mk(s); + s.tmp_0 = scene_Background_draw__P20982_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 904; s.pc = 13; return s.tmp_0; @@ -13078,10 +13078,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P18667_mk(s); + s.tmp_2 = helpers_arraySort__P18811_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P28727; + s.tmp_2.arg1 = inline__P28871; s.callLocIdx = 909; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -13093,20 +13093,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___28750 = (undefined); + s.s___28894 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed248___U1 = (r0); - s.unnamed249___U2 = (0); + s.unnamed268___U1 = (r0); + s.unnamed269___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed249___U2; - r0 = pxsim_Array__length(s.unnamed248___U1); + s.tmp_0 = r0 = s.unnamed269___U2; + r0 = pxsim_Array__length(s.unnamed268___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed248___U1, s.unnamed249___U2); - s.s___28750 = (r0); + r0 = pxsim_Array__getAt(s.unnamed268___U1, s.unnamed269___U2); + s.s___28894 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___28750; + s.tmp_2.arg0 = s.s___28894; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -13120,11 +13120,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed249___U2 + 1); - s.unnamed249___U2 = (r0); + r0 = (s.unnamed269___U2 + 1); + s.unnamed269___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed248___U1 = (undefined); + s.unnamed268___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -13136,21 +13136,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P21010.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__P21154.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__P21010_mk(s) { +function scene_Scene_render__P21154_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P21010, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P21154, 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___28750: undefined, - unnamed248___U1: undefined, - unnamed249___U2: undefined, + s___28894: undefined, + unnamed268___U1: undefined, + unnamed269___U2: undefined, arg0: undefined, } } @@ -13158,7 +13158,7 @@ function scene_Scene_render__P21010_mk(s) { -function inline__P28727(s) { +function inline__P28871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13240,12 +13240,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28727.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__P28871.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__P28727_mk(s) { +function inline__P28871_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28727, depth: s.depth + 1, + parent: s, fn: inline__P28871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13265,7 +13265,7 @@ function inline__P28727_mk(s) { -function scene_Background_draw__P20838(s) { +function scene_Background_draw__P20982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13280,27 +13280,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C20829_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C20973_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___20366, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___20510, 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___20366, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___20510, 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__P28782); + r0 = pxsim_pxtcore_mkAction(1, inline__P28926); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P18671_mk(s); + s.tmp_2 = helpers_arrayForEach__P18815_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -13313,12 +13313,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P20838.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__P20982.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__P20838_mk(s) { +function scene_Background_draw__P20982_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P20838, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P20982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13330,7 +13330,7 @@ function scene_Background_draw__P20838_mk(s) { -function inline__P28782(s) { +function inline__P28926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13340,8 +13340,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___28784 = undefined; - s.oy___28795 = undefined; + s.ox___28928 = undefined; + s.oy___28939 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -13356,7 +13356,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___28784 = (r0); + s.ox___28928 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -13367,11 +13367,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___28795 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P20847_mk(s); + s.oy___28939 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P20991_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___28784; - s.tmp_0.arg2 = s.oy___28795; + s.tmp_0.arg1 = s.ox___28928; + s.tmp_0.arg2 = s.oy___28939; s.callLocIdx = 769; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -13379,19 +13379,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28782.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P28926.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__P28782_mk(s) { +function inline__P28926_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28782, depth: s.depth + 1, + parent: s, fn: inline__P28926, 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___28784: undefined, - oy___28795: undefined, + ox___28928: undefined, + oy___28939: undefined, arg0: undefined, } } @@ -13399,7 +13399,7 @@ function inline__P28782_mk(s) { -function scene_BackgroundLayer_draw__P20847(s) { +function scene_BackgroundLayer_draw__P20991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13409,19 +13409,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___28813 = undefined; - s.h___28816 = undefined; - s.pw___28819 = undefined; - s.ph___28823 = undefined; - s.rx___28832 = undefined; - s.ry___28835 = undefined; - s.y___28904 = undefined; - s.py___28905 = undefined; - s.dh___28914 = undefined; - s.x___28922 = undefined; - s.rxl___28923 = undefined; - s.px___28929 = undefined; - s.dw___28933 = undefined; + s.w___28957 = undefined; + s.h___28960 = undefined; + s.pw___28963 = undefined; + s.ph___28967 = undefined; + s.rx___28976 = undefined; + s.ry___28979 = undefined; + s.y___29048 = undefined; + s.py___29049 = undefined; + s.dh___29058 = undefined; + s.x___29066 = undefined; + s.rxl___29067 = undefined; + s.px___29073 = undefined; + s.dw___29077 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13429,20 +13429,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C20839_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___20366); - s.w___28813 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___20366); - s.h___28816 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C20983_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___20510); + s.w___28957 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___20510); + s.h___28960 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___28819 = (r0); + s.pw___28963 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___28823 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___28819); + s.ph___28967 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___28963); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13451,7 +13451,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___28823); + r0 = pxsim_numops_toBoolDecr(s.ph___28967); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -13463,9 +13463,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___28832 = (r0); + s.rx___28976 = (r0); r0 = (0 - s.arg2); - s.ry___28835 = (r0); + s.ry___28979 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -13475,20 +13475,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___28832; - r0 = (s.w___28813 + s.pw___28819); + s.tmp_1 = r0 = s.rx___28976; + r0 = (s.w___28957 + s.pw___28963); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___28832 = (r0); + s.rx___28976 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___28832; - r0 = (s.w___28813 + s.pw___28819); + s.tmp_0 = r0 = s.rx___28976; + r0 = (s.w___28957 + s.pw___28963); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___28832 = (r0); + s.rx___28976 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -13499,120 +13499,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___28835; - r0 = (s.h___28816 + s.ph___28823); + s.tmp_1 = r0 = s.ry___28979; + r0 = (s.h___28960 + s.ph___28967); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___28835 = (r0); + s.ry___28979 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___28835; - r0 = (s.h___28816 + s.ph___28823); + s.tmp_0 = r0 = s.ry___28979; + r0 = (s.h___28960 + s.ph___28967); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___28835 = (r0); + s.ry___28979 = (r0); case 10: - r0 = (s.rx___28832 % s.w___28813); - s.rx___28832 = (r0); - r0 = (s.rx___28832 < 0); + r0 = (s.rx___28976 % s.w___28957); + s.rx___28976 = (r0); + r0 = (s.rx___28976 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___28832 + s.w___28813); - s.rx___28832 = (r0); + r0 = (s.rx___28976 + s.w___28957); + s.rx___28976 = (r0); case 11: case 12: - r0 = (s.ry___28835 % s.h___28816); - s.ry___28835 = (r0); - r0 = (s.ry___28835 < 0); + r0 = (s.ry___28979 % s.h___28960); + s.ry___28979 = (r0); + r0 = (s.ry___28979 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___28835 + s.h___28816); - s.ry___28835 = (r0); + r0 = (s.ry___28979 + s.h___28960); + s.ry___28979 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___28832); - s.rx___28832 = (r0); - r0 = pxsim.Math_.floor(s.ry___28835); - s.ry___28835 = (r0); - s.y___28904 = (0); - s.py___28905 = (0); + r0 = pxsim.Math_.floor(s.rx___28976); + s.rx___28976 = (r0); + r0 = pxsim.Math_.floor(s.ry___28979); + s.ry___28979 = (r0); + s.y___29048 = (0); + s.py___29049 = (0); case 15: - r0 = (s.y___28904 < s.h___28816); + r0 = (s.y___29048 < s.h___28960); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___28904 % s.ph___28823); - s.py___28905 = (r0); - s.tmp_0 = Math_min__P18690_mk(s); - r0 = (s.ph___28823 - s.py___28905); + r0 = (s.y___29048 % s.ph___28967); + s.py___29049 = (r0); + s.tmp_0 = Math_min__P18834_mk(s); + r0 = (s.ph___28967 - s.py___29049); s.tmp_0.arg0 = r0; - r0 = (s.h___28816 - s.ry___28835); + r0 = (s.h___28960 - s.ry___28979); s.tmp_0.arg1 = r0; s.callLocIdx = 772; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___28914 = (r0); - s.x___28922 = (0); - s.rxl___28923 = (s.rx___28832); + s.dh___29058 = (r0); + s.x___29066 = (0); + s.rxl___29067 = (s.rx___28976); case 16: - r0 = (s.x___28922 < s.w___28813); + r0 = (s.x___29066 < s.w___28957); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___28922 % s.pw___28819); - s.px___28929 = (r0); - s.tmp_0 = Math_min__P18690_mk(s); - r0 = (s.pw___28819 - s.px___28929); + r0 = (s.x___29066 % s.pw___28963); + s.px___29073 = (r0); + s.tmp_0 = Math_min__P18834_mk(s); + r0 = (s.pw___28963 - s.px___29073); s.tmp_0.arg0 = r0; - r0 = (s.w___28813 - s.rxl___28923); + r0 = (s.w___28957 - s.rxl___29067); s.tmp_0.arg1 = r0; s.callLocIdx = 773; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___28933 = (r0); + s.dw___29077 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___20366, s.tmp_0, s.rxl___28923, s.ry___28835); - r0 = (s.rxl___28923 + s.dw___28933); + r0 = pxsim_ImageMethods.drawImage(globals.screen___20510, s.tmp_0, s.rxl___29067, s.ry___28979); + r0 = (s.rxl___29067 + s.dw___29077); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___28813); - s.rxl___28923 = (r0); + r0 = (s.tmp_0 % s.w___28957); + s.rxl___29067 = (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___28933; + r0 = s.dw___29077; { step = 18; continue; } case 17: - r0 = s.w___28813; + r0 = s.w___28957; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___28922 + s.tmp_1); - s.x___28922 = (r0); + r0 = (s.x___29066 + s.tmp_1); + s.x___29066 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___28835 + s.dh___28914); + r0 = (s.ry___28979 + s.dh___29058); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___28816); - s.ry___28835 = (r0); + r0 = (s.tmp_0 % s.h___28960); + s.ry___28979 = (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___28914; + r0 = s.dh___29058; { step = 21; continue; } case 20: - r0 = s.h___28816; + r0 = s.h___28960; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___28904 + s.tmp_1); - s.y___28904 = (r0); + r0 = (s.y___29048 + s.tmp_1); + s.y___29048 = (r0); { step = 15; continue; } case 22: case 23: @@ -13620,30 +13620,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P20847.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__P20991.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__P20847_mk(s) { +function scene_BackgroundLayer_draw__P20991_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P20847, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P20991, 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___28813: undefined, - h___28816: undefined, - pw___28819: undefined, - ph___28823: undefined, - rx___28832: undefined, - ry___28835: undefined, - y___28904: undefined, - py___28905: undefined, - dh___28914: undefined, - x___28922: undefined, - rxl___28923: undefined, - px___28929: undefined, - dw___28933: undefined, + w___28957: undefined, + h___28960: undefined, + pw___28963: undefined, + ph___28967: undefined, + rx___28976: undefined, + ry___28979: undefined, + y___29048: undefined, + py___29049: undefined, + dh___29058: undefined, + x___29066: undefined, + rxl___29067: undefined, + px___29073: undefined, + dw___29077: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13653,7 +13653,7 @@ function scene_BackgroundLayer_draw__P20847_mk(s) { -function scene_Camera_update__P20940(s) { +function scene_Camera_update__P21084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13663,32 +13663,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___29014 = undefined; - s.percentComplete___29028 = undefined; - s.damp___29035 = undefined; - s.f___29044 = undefined; - s.x___29050 = undefined; - s.y___29057 = undefined; + s.elapsed___29158 = undefined; + s.percentComplete___29172 = undefined; + s.damp___29179 = undefined; + s.f___29188 = undefined; + s.x___29194 = undefined; + s.y___29201 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20924_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C21068_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__P20930_mk(s); + s.tmp_1 = scene_Camera_offsetX__P21074_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P20589_mk(s); + s.tmp_3 = Sprite_x__P20733_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 864; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; @@ -13697,16 +13697,16 @@ switch (step) { s.callLocIdx = 865; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P20932_mk(s); + s.tmp_0 = scene_Camera_offsetY__P21076_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P20591_mk(s); + s.tmp_2 = Sprite_y__P20735_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 866; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -13717,7 +13717,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P20930_mk(s); + s.tmp_0 = scene_Camera_offsetX__P21074_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; @@ -13727,7 +13727,7 @@ switch (step) { s.callLocIdx = 869; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P20932_mk(s); + s.tmp_0 = scene_Camera_offsetY__P21076_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; @@ -13756,10 +13756,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___29014 = (r0); + s.elapsed___29158 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___29014 >= s.tmp_1); + r0 = (s.elapsed___29158 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -13768,49 +13768,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___29014 / s.tmp_0); - s.percentComplete___29028 = (r0); - s.damp___29035 = (1); - r0 = (s.percentComplete___29028 >= 0.75); + r0 = (s.elapsed___29158 / s.tmp_0); + s.percentComplete___29172 = (r0); + s.damp___29179 = (1); + r0 = (s.percentComplete___29172 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P18689_mk(s); + s.tmp_1 = Math_max__P18833_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___29028); + r0 = (1 - s.percentComplete___29172); s.tmp_1.arg1 = r0; s.callLocIdx = 874; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___29035 = (r0); + s.damp___29179 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___29035); - s.f___29044 = (r0); + r0 = (s.tmp_0 * s.damp___29179); + s.f___29188 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___29044); + r0 = (s.tmp_1 * s.f___29188); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___29050 = (r0); + s.x___29194 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___29044); + r0 = (s.tmp_1 * s.f___29188); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___29057 = (r0); + s.y___29201 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___29050); + r0 = (s.tmp_2 + s.x___29194); 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___29057); + r0 = (s.tmp_2 + s.y___29201); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -13820,12 +13820,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P20940.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__P21084.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__P20940_mk(s) { +function scene_Camera_update__P21084_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P20940, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P21084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13833,12 +13833,12 @@ function scene_Camera_update__P20940_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___29014: undefined, - percentComplete___29028: undefined, - damp___29035: undefined, - f___29044: undefined, - x___29050: undefined, - y___29057: undefined, + elapsed___29158: undefined, + percentComplete___29172: undefined, + damp___29179: undefined, + f___29188: undefined, + x___29194: undefined, + y___29201: undefined, arg0: undefined, } } @@ -13846,7 +13846,7 @@ function scene_Camera_update__P20940_mk(s) { -function scene_Camera_offsetY__P20932(s) { +function scene_Camera_offsetY__P21076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13856,27 +13856,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___29076 = undefined; + s.scene___29220 = 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__C20924_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21096_mk(s); + if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 861; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___29076 = (r0); - r0 = s.scene___29076.fields["tileMap"]; + s.scene___29220 = (r0); + r0 = s.scene___29220.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___29076.fields["tileMap"]; + r0 = s.scene___29220.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -13893,8 +13893,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__P20886_mk(s); - r0 = s.scene___29076.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P21030_mk(s); + r0 = s.scene___29220.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 863; s.pc = 6; return s.tmp_9; @@ -13910,12 +13910,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P20932.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__P21076.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__P20932_mk(s) { +function scene_Camera_offsetY__P21076_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P20932, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P21076, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13927,7 +13927,7 @@ function scene_Camera_offsetY__P20932_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___29076: undefined, + scene___29220: undefined, arg0: undefined, arg1: undefined, } } @@ -13936,7 +13936,7 @@ function scene_Camera_offsetY__P20932_mk(s) { -function tiles_TileMap_enabled__P20891(s) { +function tiles_TileMap_enabled__P21035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13951,7 +13951,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -13964,13 +13964,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P20891.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__P20891.isGetter = true; +tiles_TileMap_enabled__P21035.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__P21035.isGetter = true; -function tiles_TileMap_enabled__P20891_mk(s) { +function tiles_TileMap_enabled__P21035_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P20891, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P21035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13983,7 +13983,7 @@ function tiles_TileMap_enabled__P20891_mk(s) { -function tiles_TileMap_offsetY__P20886(s) { +function tiles_TileMap_offsetY__P21030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13999,17 +13999,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P18686_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P18830_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P18689_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P20888_mk(s); + s.tmp_1 = Math_max__P18833_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P21032_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 793; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -14025,12 +14025,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P20886.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__P21030.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__P20886_mk(s) { +function tiles_TileMap_offsetY__P21030_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P20886, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P21030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14045,7 +14045,7 @@ function tiles_TileMap_offsetY__P20886_mk(s) { -function tiles_TileMap_areaHeight__P20888(s) { +function tiles_TileMap_areaHeight__P21032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14060,7 +14060,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -14082,12 +14082,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P20888.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__P21032.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__P20888_mk(s) { +function tiles_TileMap_areaHeight__P21032_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P20888, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P21032, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14101,7 +14101,7 @@ function tiles_TileMap_areaHeight__P20888_mk(s) { -function tiles_TileMapData_height__P20871(s) { +function tiles_TileMapData_height__P21015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14116,18 +14116,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P20871.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__P20871.isGetter = true; +tiles_TileMapData_height__P21015.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__P21015.isGetter = true; -function tiles_TileMapData_height__P20871_mk(s) { +function tiles_TileMapData_height__P21015_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P20871, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P21015, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14136,7 +14136,7 @@ function tiles_TileMapData_height__P20871_mk(s) { -function scene_Camera_offsetX__P20930(s) { +function scene_Camera_offsetX__P21074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14146,27 +14146,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___29124 = undefined; + s.scene___29268 = 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__C20924_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21096_mk(s); + if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 858; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___29124 = (r0); - r0 = s.scene___29124.fields["tileMap"]; + s.scene___29268 = (r0); + r0 = s.scene___29268.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___29124.fields["tileMap"]; + r0 = s.scene___29268.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -14183,8 +14183,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__P20885_mk(s); - r0 = s.scene___29124.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P21029_mk(s); + r0 = s.scene___29268.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 860; s.pc = 6; return s.tmp_9; @@ -14200,12 +14200,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P20930.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__P21074.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__P20930_mk(s) { +function scene_Camera_offsetX__P21074_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P20930, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P21074, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14217,7 +14217,7 @@ function scene_Camera_offsetX__P20930_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___29124: undefined, + scene___29268: undefined, arg0: undefined, arg1: undefined, } } @@ -14226,7 +14226,7 @@ function scene_Camera_offsetX__P20930_mk(s) { -function tiles_TileMap_offsetX__P20885(s) { +function tiles_TileMap_offsetX__P21029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14242,17 +14242,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P18686_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P18830_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P18689_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P20887_mk(s); + s.tmp_1 = Math_max__P18833_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P21031_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 790; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -14268,12 +14268,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P20885.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__P21029.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__P20885_mk(s) { +function tiles_TileMap_offsetX__P21029_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P20885, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P21029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14288,7 +14288,7 @@ function tiles_TileMap_offsetX__P20885_mk(s) { -function tiles_TileMap_areaWidth__P20887(s) { +function tiles_TileMap_areaWidth__P21031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14303,7 +14303,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -14325,12 +14325,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P20887.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__P21031.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__P20887_mk(s) { +function tiles_TileMap_areaWidth__P21031_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P20887, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P21031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14344,7 +14344,7 @@ function tiles_TileMap_areaWidth__P20887_mk(s) { -function tiles_TileMapData_width__P20870(s) { +function tiles_TileMapData_width__P21014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14359,18 +14359,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P20870.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__P20870.isGetter = true; +tiles_TileMapData_width__P21014.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__P21014.isGetter = true; -function tiles_TileMapData_width__P20870_mk(s) { +function tiles_TileMapData_width__P21014_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P20870, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P21014, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14379,7 +14379,7 @@ function tiles_TileMapData_width__P20870_mk(s) { -function PhysicsEngine_move__P20729(s) { +function PhysicsEngine_move__P20873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14395,17 +14395,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20723_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C20867_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P20729.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__P20873.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__P20729_mk(s) { +function PhysicsEngine_move__P20873_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P20729, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P20873, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -14415,7 +14415,7 @@ function PhysicsEngine_move__P20729_mk(s) { -function PhysicsEngine_draw__P20728(s) { +function PhysicsEngine_draw__P20872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14430,17 +14430,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20723_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C20867_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P20728.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__P20872.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__P20728_mk(s) { +function PhysicsEngine_draw__P20872_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P20728, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P20872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14449,7 +14449,7 @@ function PhysicsEngine_draw__P20728_mk(s) { -function controller___update__P20514(s) { +function controller___update__P20658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14459,7 +14459,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___29488 = undefined; + s.dtms___29632 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -14467,12 +14467,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___29488 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P29495); + s.dtms___29632 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P29639); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___29488); - s.tmp_1 = helpers_arrayForEach__P18671_mk(s); - s.tmp_2 = controller_players__P20482_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___29632); + s.tmp_1 = helpers_arrayForEach__P18815_mk(s); + s.tmp_2 = controller_players__P20626_mk(s); s.callLocIdx = 208; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -14485,17 +14485,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P20514.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__P20658.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__P20514_mk(s) { +function controller___update__P20658_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P20514, depth: s.depth + 1, + parent: s, fn: controller___update__P20658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___29488: undefined, + dtms___29632: undefined, arg0: undefined, } } @@ -14503,7 +14503,7 @@ function controller___update__P20514_mk(s) { -function inline__P29495(s) { +function inline__P29639(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14517,7 +14517,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P20512_mk(s); + s.tmp_0 = controller_Controller___update__P20656_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 209; s.pc = 1; return s.tmp_0; @@ -14527,12 +14527,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P29495.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P29639.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__P29495_mk(s) { +function inline__P29639_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29495, depth: s.depth + 1, + parent: s, fn: inline__P29639, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14542,7 +14542,7 @@ function inline__P29495_mk(s) { -function controller_Controller___update__P20512(s) { +function controller_Controller___update__P20656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14558,7 +14558,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -14569,10 +14569,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__P29508); + r0 = pxsim_pxtcore_mkAction(1, inline__P29652); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P18671_mk(s); + s.tmp_1 = helpers_arrayForEach__P18815_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -14583,12 +14583,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P20512.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__P20656.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__P20512_mk(s) { +function controller_Controller___update__P20656_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P20512, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P20656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14602,7 +14602,7 @@ function controller_Controller___update__P20512_mk(s) { -function inline__P29508(s) { +function inline__P29652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14616,7 +14616,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P20479_mk(s); + s.tmp_0 = controller_Button___update__P20623_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -14627,12 +14627,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P29508.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P29652.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__P29508_mk(s) { +function inline__P29652_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29508, depth: s.depth + 1, + parent: s, fn: inline__P29652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14642,7 +14642,7 @@ function inline__P29508_mk(s) { -function controller_Button___update__P20479(s) { +function controller_Button___update__P20623(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14652,16 +14652,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___29524 = undefined; - s.interval___29533 = undefined; - s.count___29546 = undefined; + s.delay___29668 = undefined; + s.interval___29677 = undefined; + s.count___29690 = 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__C20467_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -14685,31 +14685,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___22271; + r0 = globals.defaultRepeatDelay___22415; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___29524 = (s.tmp_2); + s.delay___29668 = (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___22273; + r0 = globals.defaultRepeatInterval___22417; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___29533 = (s.tmp_2); + s.interval___29677 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___29524); + r0 = (s.tmp_1 < s.delay___29668); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -14718,26 +14718,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___29524); + r0 = (s.tmp_5 - s.delay___29668); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___29533); + r0 = (s.tmp_4 - s.interval___29677); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___29533); + r0 = (s.tmp_3 / s.interval___29677); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___29546 = (r0); + s.count___29690 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___29546 != s.tmp_1); + r0 = (s.count___29690 != 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__P22278_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P22422_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 156; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___29546); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___29690); case 9: case 10: case 11: @@ -14745,12 +14745,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P20479.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__P20623.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__P20479_mk(s) { +function controller_Button___update__P20623_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P20479, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P20623, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14758,9 +14758,9 @@ function controller_Button___update__P20479_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___29524: undefined, - interval___29533: undefined, - count___29546: undefined, + delay___29668: undefined, + interval___29677: undefined, + count___29690: undefined, arg0: undefined, arg1: undefined, } } @@ -14769,7 +14769,7 @@ function controller_Button___update__P20479_mk(s) { -function controller_Button_raiseButtonRepeat__P22278(s) { +function controller_Button_raiseButtonRepeat__P22422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14784,8 +14784,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20467_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22269); + if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22413); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -14800,12 +14800,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P22278.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__P22422.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__P22278_mk(s) { +function controller_Button_raiseButtonRepeat__P22422_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P22278, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P22422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14815,7 +14815,7 @@ function controller_Button_raiseButtonRepeat__P22278_mk(s) { -function controller_players__P20482(s) { +function controller_players__P20626(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14825,25 +14825,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P20481_mk(s); + s.tmp_0 = controller__player1__P20625_mk(s); s.callLocIdx = 159; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P18672_mk(s); - s.tmp_0.arg0 = globals._players___22282; - s.tmp_0.arg1 = inline__P29375; + s.tmp_0 = helpers_arrayFilter__P18816_mk(s); + s.tmp_0.arg0 = globals._players___22426; + s.tmp_0.arg1 = inline__P29519; s.callLocIdx = 160; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P20482.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P20626.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__P20482_mk(s) { +function controller_players__P20626_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P20482, depth: s.depth + 1, + parent: s, fn: controller_players__P20626, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14852,7 +14852,7 @@ function controller_players__P20482_mk(s) { -function inline__P29375(s) { +function inline__P29519(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14876,12 +14876,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P29375.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P29519.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__P29375_mk(s) { +function inline__P29519_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29375, depth: s.depth + 1, + parent: s, fn: inline__P29519, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14893,7 +14893,7 @@ function inline__P29375_mk(s) { -function controller__player1__P20481(s) { +function controller__player1__P20625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14903,7 +14903,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___22282); + r0 = pxsim_numops_toBoolDecr(globals._players___22426); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -14912,7 +14912,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___22282, 0); + r0 = pxsim_Array__getAt(globals._players___22426, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -14922,18 +14922,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__C20487_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C20631_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___20443); - r0 = pxsim_Array__push(s.tmp_6, globals.up___20444); - r0 = pxsim_Array__push(s.tmp_6, globals.right___20445); - r0 = pxsim_Array__push(s.tmp_6, globals.down___20446); - r0 = pxsim_Array__push(s.tmp_6, globals.A___20441); - r0 = pxsim_Array__push(s.tmp_6, globals.B___20442); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___20447); - s.tmp_7 = controller_Controller_constructor__P20491_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___20587); + r0 = pxsim_Array__push(s.tmp_6, globals.up___20588); + r0 = pxsim_Array__push(s.tmp_6, globals.right___20589); + r0 = pxsim_Array__push(s.tmp_6, globals.down___20590); + r0 = pxsim_Array__push(s.tmp_6, globals.A___20585); + r0 = pxsim_Array__push(s.tmp_6, globals.B___20586); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___20591); + s.tmp_7 = controller_Controller_constructor__P20635_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -14942,16 +14942,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___22282, 0); + r0 = pxsim_Array__getAt(globals._players___22426, 0); return leave(s, r0) default: oops() } } } -controller__player1__P20481.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P20625.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__P20481_mk(s) { +function controller__player1__P20625_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P20481, depth: s.depth + 1, + parent: s, fn: controller__player1__P20625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14967,7 +14967,7 @@ function controller__player1__P20481_mk(s) { -function controller_Controller_constructor__P20491(s) { +function controller_Controller_constructor__P20635(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14977,9 +14977,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___29434 = undefined; - s.i___29442 = undefined; - s.i___29460 = undefined; + s.leftId___29578 = undefined; + s.i___29586 = undefined; + s.i___29604 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14987,7 +14987,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -15011,18 +15011,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___29434 = (r0); - s.i___29442 = (0); + s.leftId___29578 = (r0); + s.i___29586 = (0); case 2: - r0 = (s.i___29442 < 7); + r0 = (s.i___29586 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20467_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P20473_mk(s); + s.tmp_2 = controller_Button_constructor__P20617_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___29434 + s.i___29442); + r0 = (s.leftId___29578 + s.i___29586); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 164; s.pc = 7; return s.tmp_2; @@ -15031,14 +15031,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___29442 + 1); - s.i___29442 = (r0); + r0 = (s.i___29586 + 1); + s.i___29586 = (r0); { step = 2; continue; } case 3: case 4: - s.i___29460 = (0); + s.i___29604 = (0); case 5: - s.tmp_1 = r0 = s.i___29460; + s.tmp_1 = r0 = s.i___29604; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -15049,14 +15049,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___29460); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___29604); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___29460 + 1); - s.i___29460 = (r0); + r0 = (s.i___29604 + 1); + s.i___29604 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P22283_mk(s); + s.tmp_0 = controller_addController__P22427_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 165; s.pc = 8; return s.tmp_0; case 8: @@ -15065,12 +15065,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P20491.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__P20635.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__P20491_mk(s) { +function controller_Controller_constructor__P20635_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P20491, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P20635, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15078,9 +15078,9 @@ function controller_Controller_constructor__P20491_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___29434: undefined, - i___29442: undefined, - i___29460: undefined, + leftId___29578: undefined, + i___29586: undefined, + i___29604: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15090,7 +15090,7 @@ function controller_Controller_constructor__P20491_mk(s) { -function controller_addController__P22283(s) { +function controller_addController__P22427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15104,17 +15104,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___22282); + r0 = pxsim_numops_toBoolDecr(globals._players___22426); 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___22282 = (r0); + globals._players___22426 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___22282; + s.tmp_0 = r0 = globals._players___22426; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -15124,12 +15124,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P22283.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__P22427.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__P22283_mk(s) { +function controller_addController__P22427_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P22283, depth: s.depth + 1, + parent: s, fn: controller_addController__P22427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15141,7 +15141,7 @@ function controller_addController__P22283_mk(s) { -function helpers_arrayFilter__P18672(s) { +function helpers_arrayFilter__P18816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15151,31 +15151,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___31321 = undefined; - s.len___31323 = undefined; - s.i___31326 = undefined; - s.v___31331 = undefined; + s.res___31465 = undefined; + s.len___31467 = undefined; + s.i___31470 = undefined; + s.v___31475 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___31321 = (r0); + s.res___31465 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___31323 = (r0); - s.i___31326 = (0); + s.len___31467 = (r0); + s.i___31470 = (0); case 1: - r0 = (s.i___31326 < s.len___31323); + r0 = (s.i___31470 < s.len___31467); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___31326); - s.v___31331 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___31470); + s.v___31475 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___31331; - s.tmp_1.arg1 = s.i___31326; + s.tmp_1.arg0 = s.v___31475; + s.tmp_1.arg1 = s.i___31470; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: @@ -15183,30 +15183,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___31321, s.v___31331); + r0 = pxsim_Array__push(s.res___31465, s.v___31475); case 2: case 3: - r0 = (s.i___31326 + 1); - s.i___31326 = (r0); + r0 = (s.i___31470 + 1); + s.i___31470 = (r0); { step = 1; continue; } case 4: - r0 = s.res___31321; + r0 = s.res___31465; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P18672.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__P18816.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__P18672_mk(s) { +function helpers_arrayFilter__P18816_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P18672, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P18816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___31321: undefined, - len___31323: undefined, - i___31326: undefined, - v___31331: undefined, + res___31465: undefined, + len___31467: undefined, + i___31470: undefined, + v___31475: undefined, arg0: undefined, arg1: undefined, } } @@ -15215,7 +15215,7 @@ function helpers_arrayFilter__P18672_mk(s) { -function controller__moveSprites__P20486(s) { +function controller__moveSprites__P20630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15225,13 +15225,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P18671_mk(s); - s.tmp_1 = controller_players__P20482_mk(s); + s.tmp_0 = helpers_arrayForEach__P18815_mk(s); + s.tmp_1 = controller_players__P20626_mk(s); s.callLocIdx = 161; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P29170; + s.tmp_0.arg1 = inline__P29314; s.callLocIdx = 163; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -15239,12 +15239,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P20486.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P20630.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__P20486_mk(s) { +function controller__moveSprites__P20630_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P20486, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P20630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15254,7 +15254,7 @@ function controller__moveSprites__P20486_mk(s) { -function inline__P29170(s) { +function inline__P29314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15268,7 +15268,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P20511_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P20655_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 162; s.pc = 1; return s.tmp_0; case 1: @@ -15277,12 +15277,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P29170.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P29314.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__P29170_mk(s) { +function inline__P29314_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29170, depth: s.depth + 1, + parent: s, fn: inline__P29314, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15292,7 +15292,7 @@ function inline__P29170_mk(s) { -function controller_Controller___preUpdate__P20511(s) { +function controller_Controller___preUpdate__P20655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15302,20 +15302,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___29177 = undefined; - s.svx___29178 = undefined; - s.svy___29179 = undefined; - s.svxInCricle___29214 = undefined; - s.svyInCircle___29216 = undefined; - s.sq___29218 = undefined; - s.scale___29233 = undefined; + s.deadSprites___29321 = undefined; + s.svx___29322 = undefined; + s.svy___29323 = undefined; + s.svxInCricle___29358 = undefined; + s.svyInCircle___29360 = undefined; + s.sq___29362 = undefined; + s.scale___29377 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P20492_mk(s); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P20636_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 181; s.pc = 18; return s.tmp_3; case 18: @@ -15331,21 +15331,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___29177 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___29177, false); + s.deadSprites___29321 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___29321, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___29178 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___29178, 0); + s.svx___29322 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___29322, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___29179 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___29179, 0); + s.svy___29323 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___29323, 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___29178; - s.tmp_5 = controller_Button_pressureLevel__P20477_mk(s); - s.tmp_6 = controller_Controller_right__P20497_mk(s); + s.tmp_1 = r0 = s.svx___29322; + s.tmp_5 = controller_Button_pressureLevel__P20621_mk(s); + s.tmp_6 = controller_Controller_right__P20641_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 182; s.pc = 20; return s.tmp_6; case 20: @@ -15355,8 +15355,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P20477_mk(s); - s.tmp_9 = controller_Controller_left__P20496_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P20621_mk(s); + s.tmp_9 = controller_Controller_left__P20640_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 184; s.pc = 22; return s.tmp_9; case 22: @@ -15371,9 +15371,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___29179; - s.tmp_4 = controller_Button_pressureLevel__P20477_mk(s); - s.tmp_5 = controller_Controller_down__P20499_mk(s); + s.tmp_0 = r0 = s.svy___29323; + s.tmp_4 = controller_Button_pressureLevel__P20621_mk(s); + s.tmp_5 = controller_Controller_down__P20643_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 186; s.pc = 24; return s.tmp_5; case 24: @@ -15383,8 +15383,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P20477_mk(s); - s.tmp_8 = controller_Controller_up__P20498_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P20621_mk(s); + s.tmp_8 = controller_Controller_up__P20642_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 188; s.pc = 26; return s.tmp_8; case 26: @@ -15401,14 +15401,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C20467_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P20497_mk(s); + s.tmp_1 = controller_Button__C20611_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P20641_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 190; 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__C20467_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C20611_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: @@ -15423,14 +15423,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C20467_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P20496_mk(s); + s.tmp_5 = controller_Button__C20611_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P20640_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 191; 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__C20467_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C20611_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: @@ -15445,18 +15445,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___29178; + s.tmp_8 = r0 = s.svx___29322; 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__C20467_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P20499_mk(s); + s.tmp_1 = controller_Button__C20611_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P20643_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 192; 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__C20467_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C20611_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: @@ -15471,14 +15471,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C20467_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P20498_mk(s); + s.tmp_5 = controller_Button__C20611_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P20642_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 193; 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__C20467_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C20611_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: @@ -15493,57 +15493,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___29179; + s.tmp_8 = r0 = s.svy___29323; 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___29214 = (r0); - s.tmp_0 = r0 = s.svxInCricle___29214; - r0 = pxsim_pxtrt_ldlocRef(s.svx___29178); + s.svxInCricle___29358 = (r0); + s.tmp_0 = r0 = s.svxInCricle___29358; + r0 = pxsim_pxtrt_ldlocRef(s.svx___29322); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___29216 = (r0); - s.tmp_0 = r0 = s.svyInCircle___29216; - r0 = pxsim_pxtrt_ldlocRef(s.svy___29179); + s.svyInCircle___29360 = (r0); + s.tmp_0 = r0 = s.svyInCircle___29360; + r0 = pxsim_pxtrt_ldlocRef(s.svy___29323); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___29178); + r0 = pxsim_pxtrt_ldlocRef(s.svx___29322); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___29178); + r0 = pxsim_pxtrt_ldlocRef(s.svx___29322); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___29179); + r0 = pxsim_pxtrt_ldlocRef(s.svy___29323); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___29179); + r0 = pxsim_pxtrt_ldlocRef(s.svy___29323); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___29218 = (r0); - r0 = (s.sq___29218 > 65536); + s.sq___29362 = (r0); + r0 = (s.sq___29362 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___29218); + r0 = (65536 / s.sq___29362); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___29233 = (r0); - s.tmp_0 = r0 = s.svxInCricle___29214; - s.tmp_3 = r0 = s.scale___29233; - r0 = pxsim_pxtrt_ldlocRef(s.svx___29178); + s.scale___29377 = (r0); + s.tmp_0 = r0 = s.svxInCricle___29358; + s.tmp_3 = r0 = s.scale___29377; + r0 = pxsim_pxtrt_ldlocRef(s.svx___29322); 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___29216; - s.tmp_3 = r0 = s.scale___29233; - r0 = pxsim_pxtrt_ldlocRef(s.svy___29179); + s.tmp_0 = r0 = s.svyInCircle___29360; + s.tmp_3 = r0 = s.scale___29377; + r0 = pxsim_pxtrt_ldlocRef(s.svy___29323); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -15552,15 +15552,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, inline__P29251); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___29177); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___29178); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___29179); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___29214); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___29216); - s.tmp_1 = helpers_arrayForEach__P18671_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P20492_mk(s); + r0 = pxsim_pxtcore_mkAction(5, inline__P29395); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___29321); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___29322); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___29323); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___29358); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___29360); + s.tmp_1 = helpers_arrayForEach__P18815_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P20636_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 194; s.pc = 36; return s.tmp_2; case 36: @@ -15570,20 +15570,20 @@ switch (step) { s.callLocIdx = 202; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___29177); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___29321); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P20493_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P20637_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P18672_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P20492_mk(s); + s.tmp_2 = helpers_arrayFilter__P18816_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P20636_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 203; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P29308; + s.tmp_2.arg1 = inline__P29452; s.callLocIdx = 204; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -15598,12 +15598,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P20511.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__P20655.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__P20511_mk(s) { +function controller_Controller___preUpdate__P20655_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P20511, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P20655, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15615,13 +15615,13 @@ function controller_Controller___preUpdate__P20511_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___29177: undefined, - svx___29178: undefined, - svy___29179: undefined, - svxInCricle___29214: undefined, - svyInCircle___29216: undefined, - sq___29218: undefined, - scale___29233: undefined, + deadSprites___29321: undefined, + svx___29322: undefined, + svy___29323: undefined, + svxInCricle___29358: undefined, + svyInCircle___29360: undefined, + sq___29362: undefined, + scale___29377: undefined, arg0: undefined, } } @@ -15629,7 +15629,7 @@ function controller_Controller___preUpdate__P20511_mk(s) { -function inline__P29251(s) { +function inline__P29395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15639,9 +15639,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___29254 = undefined; - s.vx___29255 = undefined; - s.vy___29256 = undefined; + s.s___29398 = undefined; + s.vx___29399 = undefined; + s.vy___29400 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -15659,7 +15659,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___29254 = (r0); + s.s___29398 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -15672,7 +15672,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___29255 = (r0); + s.vx___29399 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -15685,8 +15685,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___29256 = (r0); - r0 = s.s___29254.fields["flags"]; + s.vy___29400 = (r0); + r0 = s.s___29398.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -15700,14 +15700,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___29255); + r0 = pxsim_numops_toBoolDecr(s.vx___29399); if (!r0) { step = 3; continue; } - r0 = (s.s___29254).fields["_vx"] = (0); + r0 = (s.s___29398).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___29256); + r0 = pxsim_numops_toBoolDecr(s.vy___29400); if (!r0) { step = 5; continue; } - r0 = (s.s___29254).fields["_vy"] = (0); + r0 = (s.s___29398).fields["_vy"] = (0); case 5: case 6: case 7: @@ -15725,48 +15725,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___29255; + s.tmp_2 = r0 = s.vx___29399; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___29256; + r0 = s.vy___29400; 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___29254; + s.tmp_4 = r0 = s.s___29398; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___29255); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___29399); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___29254; + s.tmp_0 = r0 = s.s___29398; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___29256); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___29400); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___29255); + r0 = pxsim_numops_toBoolDecr(s.vx___29399); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___29254; + s.tmp_0 = r0 = s.s___29398; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___29255); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___29399); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___29256); + r0 = pxsim_numops_toBoolDecr(s.vy___29400); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___29254; + s.tmp_0 = r0 = s.s___29398; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___29256); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___29400); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -15783,12 +15783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P29251.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P29395.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__P29251_mk(s) { +function inline__P29395_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29251, depth: s.depth + 1, + parent: s, fn: inline__P29395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15797,9 +15797,9 @@ function inline__P29251_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___29254: undefined, - vx___29255: undefined, - vy___29256: undefined, + s___29398: undefined, + vx___29399: undefined, + vy___29400: undefined, arg0: undefined, } } @@ -15807,7 +15807,7 @@ function inline__P29251_mk(s) { -function inline__P29308(s) { +function inline__P29452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15832,12 +15832,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P29308.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P29452.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__P29308_mk(s) { +function inline__P29452_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29308, depth: s.depth + 1, + parent: s, fn: inline__P29452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15849,7 +15849,7 @@ function inline__P29308_mk(s) { -function controller_Controller_down__P20499(s) { +function controller_Controller_down__P20643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15864,7 +15864,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -15873,13 +15873,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P20499.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__P20499.isGetter = true; +controller_Controller_down__P20643.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__P20643.isGetter = true; -function controller_Controller_down__P20499_mk(s) { +function controller_Controller_down__P20643_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P20499, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P20643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15890,7 +15890,7 @@ function controller_Controller_down__P20499_mk(s) { -function controller_Controller_button__P22284(s) { +function controller_Controller_button__P22428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15906,7 +15906,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -15915,12 +15915,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P22284.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__P22428.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__P22284_mk(s) { +function controller_Controller_button__P22428_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P22284, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P22428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15932,7 +15932,7 @@ function controller_Controller_button__P22284_mk(s) { -function controller_Controller_up__P20498(s) { +function controller_Controller_up__P20642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15947,7 +15947,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -15956,13 +15956,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P20498.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__P20498.isGetter = true; +controller_Controller_up__P20642.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__P20642.isGetter = true; -function controller_Controller_up__P20498_mk(s) { +function controller_Controller_up__P20642_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P20498, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P20642, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15973,7 +15973,7 @@ function controller_Controller_up__P20498_mk(s) { -function controller_Controller_right__P20497(s) { +function controller_Controller_right__P20641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15988,7 +15988,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -15997,13 +15997,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P20497.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__P20497.isGetter = true; +controller_Controller_right__P20641.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__P20641.isGetter = true; -function controller_Controller_right__P20497_mk(s) { +function controller_Controller_right__P20641_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P20497, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P20641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16014,7 +16014,7 @@ function controller_Controller_right__P20497_mk(s) { -function controller_Controller_left__P20496(s) { +function controller_Controller_left__P20640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16029,7 +16029,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -16038,13 +16038,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P20496.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__P20496.isGetter = true; +controller_Controller_left__P20640.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__P20640.isGetter = true; -function controller_Controller_left__P20496_mk(s) { +function controller_Controller_left__P20640_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P20496, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P20640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16055,7 +16055,7 @@ function controller_Controller_left__P20496_mk(s) { -function controller_Controller__controlledSprites__P20493(s) { +function controller_Controller__controlledSprites__P20637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16071,8 +16071,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P21096_mk(s); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P21240_mk(s); s.callLocIdx = 167; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -16085,12 +16085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P20493.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__P20637.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__P20493_mk(s) { +function controller_Controller__controlledSprites__P20637_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P20493, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P20637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16103,7 +16103,7 @@ function controller_Controller__controlledSprites__P20493_mk(s) { -function controller_Controller__controlledSprites__P20492(s) { +function controller_Controller__controlledSprites__P20636(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16118,8 +16118,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P21096_mk(s); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P21240_mk(s); s.callLocIdx = 166; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -16131,13 +16131,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P20492.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__P20492.isGetter = true; +controller_Controller__controlledSprites__P20636.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__P20636.isGetter = true; -function controller_Controller__controlledSprites__P20492_mk(s) { +function controller_Controller__controlledSprites__P20636_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P20492, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P20636, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16149,7 +16149,7 @@ function controller_Controller__controlledSprites__P20492_mk(s) { -function controller_Button_pressureLevel__P20477(s) { +function controller_Button_pressureLevel__P20621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16164,16 +16164,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20467_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C20611_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__C20467_v0_1_mk(s); + s.tmp_3 = controller_Button__C20611_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C20467_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C20611_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: @@ -16202,12 +16202,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P20477.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__P20621.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__P20477_mk(s) { +function controller_Button_pressureLevel__P20621_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P20477, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P20621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16222,7 +16222,7 @@ function controller_Button_pressureLevel__P20477_mk(s) { -function controller_Button_isPressed__P20476(s) { +function controller_Button_isPressed__P20620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16237,17 +16237,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20467_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P20476.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__P20620.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__P20476_mk(s) { +function controller_Button_isPressed__P20620_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P20476, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P20620, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16256,7 +16256,7 @@ function controller_Button_isPressed__P20476_mk(s) { -function Fx_imul__P18720(s) { +function Fx_imul__P18864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16275,12 +16275,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P18720.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__P18864.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__P18720_mk(s) { +function Fx_imul__P18864_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P18720, depth: s.depth + 1, + parent: s, fn: Fx_imul__P18864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16290,7 +16290,7 @@ function Fx_imul__P18720_mk(s) { -function power_checkDeepSleep__P20270(s) { +function power_checkDeepSleep__P20414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16300,13 +16300,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28556 = undefined; - s.to___28559 = undefined; - s.tmp_0 = power_init__P22183_mk(s); + s.p___28700 = undefined; + s.to___28703 = undefined; + s.tmp_0 = power_init__P22327_mk(s); s.callLocIdx = 85; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___22181; + s.tmp_0 = r0 = globals._poked___22325; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -16316,8 +16316,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___28556 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___22182; + s.p___28700 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___22326; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -16327,8 +16327,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___28559 = (s.tmp_1); - r0 = (s.to___28559 > 0); + s.to___28703 = (s.tmp_1); + r0 = (s.to___28703 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -16337,9 +16337,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___28556); + r0 = (s.tmp_2 - s.p___28700); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___28559); + r0 = (s.tmp_1 > s.to___28703); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -16365,12 +16365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P20270.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P20414.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__P20270_mk(s) { +function power_checkDeepSleep__P20414_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P20270, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P20414, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16379,15 +16379,15 @@ function power_checkDeepSleep__P20270_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___28556: undefined, - to___28559: undefined, + p___28700: undefined, + to___28703: undefined, } } -function power_init__P22183(s) { +function power_init__P22327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16397,7 +16397,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___22182 !== undefined); + r0 = (globals._timeout___22326 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -16407,21 +16407,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___22182 = (r0); - r0 = (globals._timeout___22182 > 0); + globals._timeout___22326 = (r0); + r0 = (globals._timeout___22326 > 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___22182 < 300000); + r0 = (globals._timeout___22326 < 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___22182 = (300000); + globals._timeout___22326 = (300000); case 5: case 6: case 7: @@ -16429,12 +16429,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P22183.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P22327.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__P22183_mk(s) { +function power_init__P22327_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P22183, depth: s.depth + 1, + parent: s, fn: power_init__P22327, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16444,7 +16444,7 @@ function power_init__P22183_mk(s) { -function power_poke__P20269(s) { +function power_poke__P20413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16454,22 +16454,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P22183_mk(s); + s.tmp_0 = power_init__P22327_mk(s); s.callLocIdx = 84; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___22181 = (r0); + globals._poked___22325 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P20269.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P20413.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__P20269_mk(s) { +function power_poke__P20413_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P20269, depth: s.depth + 1, + parent: s, fn: power_poke__P20413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16478,7 +16478,7 @@ function power_poke__P20269_mk(s) { -function scene_Scene_constructor__P21004(s) { +function scene_Scene_constructor__P21148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16495,13 +16495,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20983_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C21127_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__C20737_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C20881_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P20738_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P20882_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -16510,17 +16510,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C20924_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C21068_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P20928_mk(s); + s.tmp_1 = scene_Camera_constructor__P21072_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 880; 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__C20829_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C20973_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P20833_mk(s); + s.tmp_1 = scene_Background_constructor__P20977_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -16577,12 +16577,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P21004.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__P21148.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__P21004_mk(s) { +function scene_Scene_constructor__P21148_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P21004, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P21148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16595,7 +16595,7 @@ function scene_Scene_constructor__P21004_mk(s) { -function scene_Camera_constructor__P20928(s) { +function scene_Camera_constructor__P21072(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16610,7 +16610,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20924_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -16619,12 +16619,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P20928.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__P21072.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__P20928_mk(s) { +function scene_Camera_constructor__P21072_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P20928, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P21072, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16633,7 +16633,7 @@ function scene_Camera_constructor__P20928_mk(s) { -function scene_Background_constructor__P20833(s) { +function scene_Background_constructor__P20977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16649,7 +16649,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C20829_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C20973_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -16660,12 +16660,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P20833.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__P20977.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__P20833_mk(s) { +function scene_Background_constructor__P20977_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P20833, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P20977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16677,7 +16677,7 @@ function scene_Background_constructor__P20833_mk(s) { -function ArcadePhysicsEngine_constructor__P20738(s) { +function ArcadePhysicsEngine_constructor__P20882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16695,33 +16695,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_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__C20658_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C20802_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P20659_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P20803_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 528; 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__P20740_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P20884_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 529; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P20744_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P20888_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 530; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P20742_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P20886_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 531; s.pc = 4; return s.tmp_0; @@ -16731,12 +16731,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P20738.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} +ArcadePhysicsEngine_constructor__P20882.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} -function ArcadePhysicsEngine_constructor__P20738_mk(s) { +function ArcadePhysicsEngine_constructor__P20882_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P20738, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P20882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16750,7 +16750,7 @@ function ArcadePhysicsEngine_constructor__P20738_mk(s) { -function ArcadePhysicsEngine_maxStep__P20744(s) { +function ArcadePhysicsEngine_maxStep__P20888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16766,7 +16766,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -16777,12 +16777,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P20744.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxStep__P20888.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxStep__P20744_mk(s) { +function ArcadePhysicsEngine_maxStep__P20888_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P20744, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P20888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16795,7 +16795,7 @@ function ArcadePhysicsEngine_maxStep__P20744_mk(s) { -function ArcadePhysicsEngine_maxStep__P20743(s) { +function ArcadePhysicsEngine_maxStep__P20887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16810,7 +16810,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -16819,13 +16819,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P20743.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} -ArcadePhysicsEngine_maxStep__P20743.isGetter = true; +ArcadePhysicsEngine_maxStep__P20887.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} +ArcadePhysicsEngine_maxStep__P20887.isGetter = true; -function ArcadePhysicsEngine_maxStep__P20743_mk(s) { +function ArcadePhysicsEngine_maxStep__P20887_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P20743, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P20887, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16836,7 +16836,7 @@ function ArcadePhysicsEngine_maxStep__P20743_mk(s) { -function ArcadePhysicsEngine_minStep__P20742(s) { +function ArcadePhysicsEngine_minStep__P20886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16852,7 +16852,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -16863,12 +16863,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P20742.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_minStep__P20886.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_minStep__P20742_mk(s) { +function ArcadePhysicsEngine_minStep__P20886_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P20742, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P20886, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16881,7 +16881,7 @@ function ArcadePhysicsEngine_minStep__P20742_mk(s) { -function ArcadePhysicsEngine_minStep__P20741(s) { +function ArcadePhysicsEngine_minStep__P20885(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16896,7 +16896,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -16905,13 +16905,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P20741.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} -ArcadePhysicsEngine_minStep__P20741.isGetter = true; +ArcadePhysicsEngine_minStep__P20885.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} +ArcadePhysicsEngine_minStep__P20885.isGetter = true; -function ArcadePhysicsEngine_minStep__P20741_mk(s) { +function ArcadePhysicsEngine_minStep__P20885_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P20741, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P20885, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16922,7 +16922,7 @@ function ArcadePhysicsEngine_minStep__P20741_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P20740(s) { +function ArcadePhysicsEngine_maxSpeed__P20884(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16938,7 +16938,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -16955,12 +16955,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P20740.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxSpeed__P20884.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxSpeed__P20740_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P20884_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P20740, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P20884, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16973,7 +16973,7 @@ function ArcadePhysicsEngine_maxSpeed__P20740_mk(s) { -function Fx_neg__P18714(s) { +function Fx_neg__P18858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16991,12 +16991,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P18714.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__P18858.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__P18714_mk(s) { +function Fx_neg__P18858_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P18714, depth: s.depth + 1, + parent: s, fn: Fx_neg__P18858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17005,7 +17005,7 @@ function Fx_neg__P18714_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P20739(s) { +function ArcadePhysicsEngine_maxSpeed__P20883(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17020,7 +17020,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -17029,13 +17029,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P20739.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} -ArcadePhysicsEngine_maxSpeed__P20739.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P20883.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} +ArcadePhysicsEngine_maxSpeed__P20883.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P20739_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P20883_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P20739, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P20883, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17046,7 +17046,7 @@ function ArcadePhysicsEngine_maxSpeed__P20739_mk(s) { -function PhysicsEngine_constructor__P20724(s) { +function PhysicsEngine_constructor__P20868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17061,17 +17061,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20723_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C20867_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P20724.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__P20868.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__P20724_mk(s) { +function PhysicsEngine_constructor__P20868_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P20724, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P20868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17080,7 +17080,7 @@ function PhysicsEngine_constructor__P20724_mk(s) { -function sprites_SpriteMap_constructor__P20659(s) { +function sprites_SpriteMap_constructor__P20803(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17095,7 +17095,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20658_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -17104,12 +17104,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P20659.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__P20803.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__P20659_mk(s) { +function sprites_SpriteMap_constructor__P20803_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P20659, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P20803, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17120,7 +17120,7 @@ function sprites_SpriteMap_constructor__P20659_mk(s) { -function music_Melody_constructor__P20165(s) { +function music_Melody_constructor__P20309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17136,18 +17136,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C20162_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C20306_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P20165.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__P20309.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__P20165_mk(s) { +function music_Melody_constructor__P20309_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P20165, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P20309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17157,7 +17157,7 @@ function music_Melody_constructor__P20165_mk(s) { -function control_pushEventContext__P18962(s) { +function control_pushEventContext__P19106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17167,63 +17167,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___29587 = undefined; - s.n___29593 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22124); + s.ctx___29731 = undefined; + s.n___29737 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22268); 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___22124 = (r0); + globals.eventContexts___22268 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P18961_mk(s); + s.tmp_0 = control_eventContext__P19105_mk(s); s.callLocIdx = 65; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___29587 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___29587); + s.ctx___29731 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___29731); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P18955_mk(s); - s.tmp_0.arg0 = s.ctx___29587; + s.tmp_0 = control_EventContext_unregister__P19099_mk(s); + s.tmp_0.arg0 = s.ctx___29731; s.callLocIdx = 66; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C18948_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C19092_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P18952_mk(s); + s.tmp_1 = control_EventContext_constructor__P19096_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 67; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___29593 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___22124, s.n___29593); - r0 = s.n___29593; + s.n___29737 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___22268, s.n___29737); + r0 = s.n___29737; return leave(s, r0) default: oops() } } } -control_pushEventContext__P18962.info = {"start":7123,"length":340,"line":216,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P19106.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__P18962_mk(s) { +function control_pushEventContext__P19106_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P18962, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P19106, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___29587: undefined, - n___29593: undefined, + ctx___29731: undefined, + n___29737: undefined, } } -function control_eventContext__P18961(s) { +function control_eventContext__P19105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17233,10 +17233,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22124); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22268); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___22124; - r0 = pxsim_Array__length(globals.eventContexts___22124); + s.tmp_0 = r0 = globals.eventContexts___22268; + r0 = pxsim_Array__length(globals.eventContexts___22268); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -17251,12 +17251,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P18961.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P19105.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P18961_mk(s) { +function control_eventContext__P19105_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P18961, depth: s.depth + 1, + parent: s, fn: control_eventContext__P19105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17268,7 +17268,7 @@ function control_eventContext__P18961_mk(s) { -function control_EventContext_unregister__P18955(s) { +function control_EventContext_unregister__P19099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17278,37 +17278,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___29622 = undefined; - s.unnamed222___U1 = undefined; - s.unnamed223___U2 = undefined; + s.h___29766 = undefined; + s.unnamed242___U1 = undefined; + s.unnamed243___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18948_VT)) failedCast(r0); - s.h___29622 = (undefined); + if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); + s.h___29766 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed222___U1 = (r0); - s.unnamed223___U2 = (0); + s.unnamed242___U1 = (r0); + s.unnamed243___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed223___U2; - r0 = pxsim_Array__length(s.unnamed222___U1); + s.tmp_0 = r0 = s.unnamed243___U2; + r0 = pxsim_Array__length(s.unnamed242___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed222___U1, s.unnamed223___U2); - s.h___29622 = (r0); - s.tmp_2 = control_EventHandler_unregister__P22118_mk(s); - s.tmp_2.arg0 = s.h___29622; + r0 = pxsim_Array__getAt(s.unnamed242___U1, s.unnamed243___U2); + s.h___29766 = (r0); + s.tmp_2 = control_EventHandler_unregister__P22262_mk(s); + s.tmp_2.arg0 = s.h___29766; s.callLocIdx = 61; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed223___U2 + 1); - s.unnamed223___U2 = (r0); + r0 = (s.unnamed243___U2 + 1); + s.unnamed243___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed222___U1 = (undefined); + s.unnamed242___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -17319,19 +17319,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P18955.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__P19099.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__P18955_mk(s) { +function control_EventContext_unregister__P19099_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P18955, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P19099, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___29622: undefined, - unnamed222___U1: undefined, - unnamed223___U2: undefined, + h___29766: undefined, + unnamed242___U1: undefined, + unnamed243___U2: undefined, arg0: undefined, } } @@ -17339,7 +17339,7 @@ function control_EventContext_unregister__P18955_mk(s) { -function control_EventHandler_unregister__P22118(s) { +function control_EventHandler_unregister__P22262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17354,24 +17354,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C22116_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C22260_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__P22120, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P22264, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P22118.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__P22262.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__P22118_mk(s) { +function control_EventHandler_unregister__P22262_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P22118, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P22262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17383,7 +17383,7 @@ function control_EventHandler_unregister__P22118_mk(s) { -function control_doNothing__P22120(s) { +function control_doNothing__P22264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17397,12 +17397,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P22120.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P22264.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__P22120_mk(s) { +function control_doNothing__P22264_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P22120, depth: s.depth + 1, + parent: s, fn: control_doNothing__P22264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -17410,7 +17410,7 @@ function control_doNothing__P22120_mk(s) { -function control_EventContext_constructor__P18952(s) { +function control_EventContext_constructor__P19096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17425,7 +17425,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18948_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -17435,26 +17435,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___18950); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___19094); 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___18950 = (r0); + globals.control_EventContext_lastStats___19094 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P18952.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__P19096.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__P18952_mk(s) { +function control_EventContext_constructor__P19096_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P18952, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P19096, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17465,7 +17465,7 @@ function control_EventContext_constructor__P18952_mk(s) { -function control_EventContext_registerFrameHandler__P18956(s) { +function control_EventContext_registerFrameHandler__P19100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17475,8 +17475,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___27744 = undefined; - s.i___27753 = undefined; + s.fn___27888 = undefined; + s.i___27897 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17484,7 +17484,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18948_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -17497,20 +17497,20 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["frameCallbacks"] = (s.tmp_4); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P22122_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P22266_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 62; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C18945_VT); - s.fn___27744 = (r0); - r0 = (s.fn___27744).fields["order"] = (s.arg1); - r0 = (s.fn___27744).fields["handler"] = (s.arg2); - s.i___27753 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C19089_VT); + s.fn___27888 = (r0); + r0 = (s.fn___27888).fields["order"] = (s.arg1); + r0 = (s.fn___27888).fields["handler"] = (s.arg2); + s.i___27897 = (0); case 3: - s.tmp_1 = r0 = s.i___27753; + s.tmp_1 = r0 = s.i___27897; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -17521,7 +17521,7 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = s.arg0.fields["frameCallbacks"]; s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.tmp_6, s.i___27753); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___27897); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -17530,29 +17530,29 @@ switch (step) { if (!r0) { step = 4; continue; } r0 = s.arg0.fields["frameCallbacks"]; s.tmp_7 = r0; - r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___27753, s.fn___27744); - r0 = s.fn___27744; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___27897, s.fn___27888); + r0 = s.fn___27888; { step = 7; continue; } case 4: case 5: - r0 = (s.i___27753 + 1); - s.i___27753 = (r0); + r0 = (s.i___27897 + 1); + s.i___27897 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___27744); - r0 = s.fn___27744; + r0 = pxsim_Array__push(s.tmp_0, s.fn___27888); + r0 = s.fn___27888; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P18956.info = {"start":4675,"length":643,"line":143,"column":8,"endLine":160,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P19100.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__P18956_mk(s) { +function control_EventContext_registerFrameHandler__P19100_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P18956, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P19100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17562,8 +17562,8 @@ function control_EventContext_registerFrameHandler__P18956_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___27744: undefined, - i___27753: undefined, + fn___27888: undefined, + i___27897: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17573,7 +17573,7 @@ function control_EventContext_registerFrameHandler__P18956_mk(s) { -function control_EventContext_registerFrameCallbacks__P22122(s) { +function control_EventContext_registerFrameCallbacks__P22266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17583,13 +17583,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___27787 = undefined; + s.worker___27931 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18948_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -17602,28 +17602,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___27787 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P27793); + s.worker___27931 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P27937); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___27787); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___27931); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P22122.info = {"start":3481,"length":895,"line":105,"column":8,"endLine":129,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P22266.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__P22122_mk(s) { +function control_EventContext_registerFrameCallbacks__P22266_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P22122, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P22266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___27787: undefined, + worker___27931: undefined, arg0: undefined, } } @@ -17631,7 +17631,7 @@ function control_EventContext_registerFrameCallbacks__P22122_mk(s) { -function inline__P27793(s) { +function inline__P27937(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17641,15 +17641,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___27823 = undefined; + s.delay___27967 = undefined; r0 = s.caps[0].fields["runningCallbacks"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P27799); + r0 = pxsim_pxtcore_mkAction(1, inline__P27943); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P18920_mk(s); + s.tmp_2 = pauseUntil__P19064_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 56; s.pc = 5; return s.tmp_2; @@ -17672,14 +17672,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P22121_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P22265_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 57; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___27823 = (r0); - s.tmp_0 = pause__P18966_mk(s); - s.tmp_0.arg0 = s.delay___27823; + s.delay___27967 = (r0); + s.tmp_0 = pause__P19110_mk(s); + s.tmp_0.arg0 = s.delay___27967; s.callLocIdx = 58; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -17690,24 +17690,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27793.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P27937.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P27793_mk(s) { +function inline__P27937_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27793, depth: s.depth + 1, + parent: s, fn: inline__P27937, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___27823: undefined, + delay___27967: undefined, } } -function inline__P27799(s) { +function inline__P27943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17725,12 +17725,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27799.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P27943.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P27799_mk(s) { +function inline__P27943_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27799, depth: s.depth + 1, + parent: s, fn: inline__P27943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17740,7 +17740,7 @@ function inline__P27799_mk(s) { -function control_EventContext_runCallbacks__P22121(s) { +function control_EventContext_runCallbacks__P22265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17750,42 +17750,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___27832 = undefined; - s.f___27845 = undefined; - s.unnamed218___U2 = undefined; - s.unnamed219___U3 = undefined; - s.runtime___27850 = undefined; - s.fps___27870 = undefined; - s.delay___27932 = undefined; + s.loopStart___27976 = undefined; + s.f___27989 = undefined; + s.unnamed238___U2 = undefined; + s.unnamed239___U3 = undefined; + s.runtime___27994 = undefined; + s.fps___28014 = undefined; + s.delay___28076 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18948_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___27832 = (r0); + s.loopStart___27976 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___27832 - s.tmp_2); + r0 = (s.loopStart___27976 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___27832); - s.f___27845 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___27976); + s.f___27989 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed218___U2 = (r0); - s.unnamed219___U3 = (0); + s.unnamed238___U2 = (r0); + s.unnamed239___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed219___U3; - r0 = pxsim_Array__length(s.unnamed218___U2); + s.tmp_0 = r0 = s.unnamed239___U3; + r0 = pxsim_Array__length(s.unnamed238___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed218___U2, s.unnamed219___U3); - s.f___27845 = (r0); + r0 = pxsim_Array__getAt(s.unnamed238___U2, s.unnamed239___U3); + s.f___27989 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___27845; + s.tmp_2.arg0 = s.f___27989; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 53; s.pc = 13; return s.tmp_2; @@ -17797,19 +17797,19 @@ switch (step) { } case 13: r0 = s.retval; - r0 = (s.unnamed219___U3 + 1); - s.unnamed219___U3 = (r0); + r0 = (s.unnamed239___U3 + 1); + s.unnamed239___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed218___U2 = (undefined); + s.unnamed238___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___27832); - s.runtime___27850 = (r0); + r0 = (s.tmp_0 - s.loopStart___27976); + s.runtime___27994 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___27850); + r0 = (s.tmp_2 + s.runtime___27994); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -17842,8 +17842,8 @@ switch (step) { r0 = (s.tmp_6 / 1000); s.tmp_5 = r0; r0 = (s.tmp_4 / s.tmp_5); - s.fps___27870 = (r0); - r0 = pxsim.Math_.round(s.fps___27870); + s.fps___28014 = (r0); + r0 = pxsim.Math_.round(s.fps___28014); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 14); @@ -17855,21 +17855,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___18950 = (r0); - r0 = (s.fps___27870 < 99); + globals.control_EventContext_lastStats___19094 = (r0); + r0 = (s.fps___28014 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___18950) && (globals.control_EventContext_lastStats___18950).vtable) { + if ((globals.control_EventContext_lastStats___19094) && (globals.control_EventContext_lastStats___19094).vtable) { setupResume(s, 15); - pxsim_String__stringConv(globals.control_EventContext_lastStats___18950); + pxsim_String__stringConv(globals.control_EventContext_lastStats___19094); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___18950) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___19094) + ""; } case 15: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___27870 * 10); + r0 = (s.fps___28014 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -17896,10 +17896,10 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___18950 = (r0); + globals.control_EventContext_lastStats___19094 = (r0); case 5: case 6: - s.tmp_2 = control_ramSize__P18899_mk(s); + s.tmp_2 = control_ramSize__P19043_mk(s); s.callLocIdx = 54; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; @@ -17919,7 +17919,7 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_8 = r0; - r0 = (s.fps___27870 * 100); + r0 = (s.fps___28014 * 100); s.tmp_11 = r0; r0 = (s.tmp_11 | 0); s.tmp_10 = r0; @@ -17960,24 +17960,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 11: case 12: - s.tmp_0 = Math_max__P18689_mk(s); + s.tmp_0 = Math_max__P18833_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___27850); + r0 = (20 - s.runtime___27994); s.tmp_0.arg1 = r0; s.callLocIdx = 55; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.delay___27932 = (r0); - r0 = s.delay___27932; + s.delay___28076 = (r0); + r0 = s.delay___28076; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P22121.info = {"start":2182,"length":1246,"line":74,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P22265.info = {"start":2182,"length":1246,"line":74,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_EventContext_runCallbacks__P22121_mk(s) { +function control_EventContext_runCallbacks__P22265_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P22121, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P22265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17993,13 +17993,13 @@ function control_EventContext_runCallbacks__P22121_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - loopStart___27832: undefined, - f___27845: undefined, - unnamed218___U2: undefined, - unnamed219___U3: undefined, - runtime___27850: undefined, - fps___27870: undefined, - delay___27932: undefined, + loopStart___27976: undefined, + f___27989: undefined, + unnamed238___U2: undefined, + unnamed239___U3: undefined, + runtime___27994: undefined, + fps___28014: undefined, + delay___28076: undefined, arg0: undefined, } } @@ -18007,7 +18007,7 @@ function control_EventContext_runCallbacks__P22121_mk(s) { -function pauseUntil__P18920(s) { +function pauseUntil__P19064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18054,7 +18054,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P18919_mk(s); + s.tmp_0 = control___queuePollEvent__P19063_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -18066,12 +18066,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P18920.info = {"start":2205,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} +pauseUntil__P19064.info = {"start":2205,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} -function pauseUntil__P18920_mk(s) { +function pauseUntil__P19064_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P18920, depth: s.depth + 1, + parent: s, fn: pauseUntil__P19064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18087,7 +18087,7 @@ function pauseUntil__P18920_mk(s) { -function control___queuePollEvent__P18919(s) { +function control___queuePollEvent__P19063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18097,16 +18097,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___27954 = undefined; + s.ev___28098 = 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__C22095_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C22239_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P22096_mk(s); + s.tmp_1 = control_PollEvent_constructor__P22240_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1.arg1 = r0; @@ -18122,8 +18122,8 @@ switch (step) { s.callLocIdx = 31; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___27954 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___22098); + s.ev___28098 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___22242); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -18131,19 +18131,19 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___27954); - globals._pollEventQueue___22098 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P22099); + r0 = pxsim_Array__push(s.tmp_2, s.ev___28098); + globals._pollEventQueue___22242 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P22243); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___22098, s.ev___27954); + r0 = pxsim_Array__push(globals._pollEventQueue___22242, s.ev___28098); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P18944_mk(s); - r0 = s.ev___27954.fields["eid"]; + s.tmp_0 = control_onEvent__P19088_mk(s); + r0 = s.ev___28098.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___27954.fields["vid"]; + r0 = s.ev___28098.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -18152,9 +18152,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___27954.fields["eid"]; + r0 = s.ev___28098.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___27954.fields["vid"]; + r0 = s.ev___28098.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -18167,17 +18167,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P18919.info = {"start":1262,"length":739,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} +control___queuePollEvent__P19063.info = {"start":1262,"length":739,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} -function control___queuePollEvent__P18919_mk(s) { +function control___queuePollEvent__P19063_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P18919, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P19063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___27954: undefined, + ev___28098: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18187,7 +18187,7 @@ function control___queuePollEvent__P18919_mk(s) { -function control_pollEvents__P22099(s) { +function control_pollEvents__P22243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18197,31 +18197,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___28080 = undefined; - s.i___28083 = undefined; - s.ev___28089 = undefined; + s.now___28224 = undefined; + s.i___28227 = undefined; + s.ev___28233 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___22098); + r0 = pxsim_Array__length(globals._pollEventQueue___22242); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } r0 = pxsim.control.millis(); - s.now___28080 = (r0); - s.i___28083 = (0); + s.now___28224 = (r0); + s.i___28227 = (0); case 2: - s.tmp_1 = r0 = s.i___28083; - r0 = pxsim_Array__length(globals._pollEventQueue___22098); + s.tmp_1 = r0 = s.i___28227; + r0 = pxsim_Array__length(globals._pollEventQueue___22242); 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___22098, s.i___28083); - s.ev___28089 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___22242, s.i___28227); + s.ev___28233 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___28089; + s.tmp_1.arg0 = s.ev___28233; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 28; s.pc = 13; return s.tmp_1; @@ -18239,7 +18239,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___28089.fields["timeOut"]; + r0 = s.ev___28233.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -18248,11 +18248,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___28089.fields["start"]; + r0 = s.ev___28233.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___28080 - s.tmp_5); + r0 = (s.now___28224 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___28089.fields["timeOut"]; + r0 = s.ev___28233.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -18264,50 +18264,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___28089.fields["eid"]; + r0 = s.ev___28233.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___28089.fields["vid"]; + r0 = s.ev___28233.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___28089.fields["once"]; + r0 = s.ev___28233.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P18662_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___22098; - s.tmp_1.arg1 = s.i___28083; + s.tmp_1 = helpers_arraySplice__P18806_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___22242; + s.tmp_1.arg1 = s.i___28227; s.tmp_1.arg2 = 1; s.callLocIdx = 29; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___28083 - 1); - s.i___28083 = (r0); + r0 = (s.i___28227 - 1); + s.i___28227 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___28083 + 1); - s.i___28083 = (r0); + r0 = (s.i___28227 + 1); + s.i___28227 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P18966_mk(s); + s.tmp_0 = pause__P19110_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 30; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___22098 = (undefined); + globals._pollEventQueue___22242 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P22099.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P22243.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} -function control_pollEvents__P22099_mk(s) { +function control_pollEvents__P22243_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P22099, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P22243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18320,16 +18320,16 @@ function control_pollEvents__P22099_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___28080: undefined, - i___28083: undefined, - ev___28089: undefined, + now___28224: undefined, + i___28227: undefined, + ev___28233: undefined, } } -function helpers_arraySplice__P18662(s) { +function helpers_arraySplice__P18806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18339,7 +18339,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___28137 = undefined; + s.i___28281 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18353,15 +18353,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___28137 = (0); + s.i___28281 = (0); case 3: - r0 = (s.i___28137 < s.arg2); + r0 = (s.i___28281 < 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___28137 + 1); - s.i___28137 = (r0); + r0 = (s.i___28281 + 1); + s.i___28281 = (r0); { step = 3; continue; } case 4: case 5: @@ -18369,15 +18369,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P18662.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} +helpers_arraySplice__P18806.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__P18662_mk(s) { +function helpers_arraySplice__P18806_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P18662, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P18806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___28137: undefined, + i___28281: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18387,7 +18387,7 @@ function helpers_arraySplice__P18662_mk(s) { -function control_PollEvent_constructor__P22096(s) { +function control_PollEvent_constructor__P22240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18408,7 +18408,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C22095_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C22239_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -18419,12 +18419,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P22096.info = {"start":239,"length":316,"line":8,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/base/poll.ts","functionName":"inline","argumentNames":["this","eid","vid","start","timeOut","condition","once"]} +control_PollEvent_constructor__P22240.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__P22096_mk(s) { +function control_PollEvent_constructor__P22240_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P22096, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P22240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18439,7 +18439,7 @@ function control_PollEvent_constructor__P22096_mk(s) { -function control_onEvent__P18944(s) { +function control_onEvent__P19088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18449,7 +18449,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___27996 = undefined; + s.ctx___28140 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18457,12 +18457,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P18961_mk(s); + s.tmp_0 = control_eventContext__P19105_mk(s); s.callLocIdx = 50; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___27996 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___27996); + s.ctx___28140 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___28140); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -18471,8 +18471,8 @@ switch (step) { r0 = pxsim.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); { step = 2; continue; } case 1: - s.tmp_0 = control_EventContext_registerHandler__P18958_mk(s); - s.tmp_0.arg0 = s.ctx___27996; + s.tmp_0 = control_EventContext_registerHandler__P19102_mk(s); + s.tmp_0.arg0 = s.ctx___28140; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -18485,16 +18485,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P18944.info = {"start":336,"length":325,"line":9,"column":4,"endLine":15,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]} +control_onEvent__P19088.info = {"start":336,"length":325,"line":9,"column":4,"endLine":15,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]} -function control_onEvent__P18944_mk(s) { +function control_onEvent__P19088_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P18944, depth: s.depth + 1, + parent: s, fn: control_onEvent__P19088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___27996: undefined, + ctx___28140: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18505,7 +18505,7 @@ function control_onEvent__P18944_mk(s) { -function control_EventContext_registerHandler__P18958(s) { +function control_EventContext_registerHandler__P19102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18515,10 +18515,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___28019 = undefined; - s.unnamed224___U1 = undefined; - s.unnamed225___U2 = undefined; - s.hn___28042 = undefined; + s.h___28163 = undefined; + s.unnamed244___U1 = undefined; + s.unnamed245___U2 = undefined; + s.hn___28186 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18528,20 +18528,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18948_VT)) failedCast(r0); - s.h___28019 = (undefined); + if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); + s.h___28163 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed224___U1 = (r0); - s.unnamed225___U2 = (0); + s.unnamed244___U1 = (r0); + s.unnamed245___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed225___U2; - r0 = pxsim_Array__length(s.unnamed224___U1); + s.tmp_0 = r0 = s.unnamed245___U2; + r0 = pxsim_Array__length(s.unnamed244___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed224___U1, s.unnamed225___U2); - s.h___28019 = (r0); - r0 = s.h___28019.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed244___U1, s.unnamed245___U2); + s.h___28163 = (r0); + r0 = s.h___28163.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -18550,7 +18550,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___28019.fields["value"]; + r0 = s.h___28163.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -18558,19 +18558,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___28019).fields["flags"] = (s.arg4); - r0 = (s.h___28019).fields["handler"] = (s.arg3); + r0 = (s.h___28163).fields["flags"] = (s.arg4); + r0 = (s.h___28163).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed225___U2 + 1); - s.unnamed225___U2 = (r0); + r0 = (s.unnamed245___U2 + 1); + s.unnamed245___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed224___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C22116_VT); + s.unnamed244___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C22260_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P22119_mk(s); + s.tmp_1 = control_EventHandler_constructor__P22263_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -18579,12 +18579,12 @@ switch (step) { s.callLocIdx = 63; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___28042 = (s.tmp_0); + s.hn___28186 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___28042); - s.tmp_0 = control_EventHandler_register__P22117_mk(s); - s.tmp_0.arg0 = s.hn___28042; + r0 = pxsim_Array__push(s.tmp_0, s.hn___28186); + s.tmp_0 = control_EventHandler_register__P22261_mk(s); + s.tmp_0.arg0 = s.hn___28186; s.callLocIdx = 64; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -18593,12 +18593,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P18958.info = {"start":5573,"length":525,"line":169,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P19102.info = {"start":5573,"length":525,"line":169,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function control_EventContext_registerHandler__P18958_mk(s) { +function control_EventContext_registerHandler__P19102_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P18958, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P19102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18606,10 +18606,10 @@ function control_EventContext_registerHandler__P18958_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___28019: undefined, - unnamed224___U1: undefined, - unnamed225___U2: undefined, - hn___28042: undefined, + h___28163: undefined, + unnamed244___U1: undefined, + unnamed245___U2: undefined, + hn___28186: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18621,7 +18621,7 @@ function control_EventContext_registerHandler__P18958_mk(s) { -function control_EventHandler_constructor__P22119(s) { +function control_EventHandler_constructor__P22263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18640,7 +18640,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C22116_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C22260_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -18649,12 +18649,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P22119.info = {"start":786,"length":165,"line":23,"column":8,"endLine":28,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]} +control_EventHandler_constructor__P22263.info = {"start":786,"length":165,"line":23,"column":8,"endLine":28,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]} -function control_EventHandler_constructor__P22119_mk(s) { +function control_EventHandler_constructor__P22263_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P22119, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P22263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18667,7 +18667,7 @@ function control_EventHandler_constructor__P22119_mk(s) { -function control_EventHandler_register__P22117(s) { +function control_EventHandler_register__P22261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18682,8 +18682,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C22116_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P28063); + if (!checkSubtype(r0, control_EventHandler__C22260_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P28207); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -18697,12 +18697,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P22117.info = {"start":961,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventHandler_register__P22261.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__P22117_mk(s) { +function control_EventHandler_register__P22261_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P22117, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P22261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18715,7 +18715,7 @@ function control_EventHandler_register__P22117_mk(s) { -function inline__P28063(s) { +function inline__P28207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18748,12 +18748,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28063.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P28207.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P28063_mk(s) { +function inline__P28207_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28063, depth: s.depth + 1, + parent: s, fn: inline__P28207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18763,7 +18763,7 @@ function inline__P28063_mk(s) { -function Sprite_vy__P20596(s) { +function Sprite_vy__P20740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18779,7 +18779,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18790,12 +18790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P20596.info = {"start":2705,"length":51,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P20740.info = {"start":2705,"length":51,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P20596_mk(s) { +function Sprite_vy__P20740_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P20596, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P20740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18808,7 +18808,7 @@ function Sprite_vy__P20596_mk(s) { -function Sprite_vy__P20595(s) { +function Sprite_vy__P20739(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18823,20 +18823,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20595.info = {"start":2543,"length":60,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P20595.isGetter = true; +Sprite_vy__P20739.info = {"start":2543,"length":60,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P20739.isGetter = true; -function Sprite_vy__P20595_mk(s) { +function Sprite_vy__P20739_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P20595, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P20739, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18846,7 +18846,7 @@ function Sprite_vy__P20595_mk(s) { -function Sprite_vx__P20594(s) { +function Sprite_vx__P20738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18862,7 +18862,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18873,12 +18873,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P20594.info = {"start":2374,"length":51,"line":97,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P20738.info = {"start":2374,"length":51,"line":97,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P20594_mk(s) { +function Sprite_vx__P20738_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P20594, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P20738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18891,7 +18891,7 @@ function Sprite_vx__P20594_mk(s) { -function Sprite_vx__P20593(s) { +function Sprite_vx__P20737(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18906,20 +18906,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20593.info = {"start":2212,"length":60,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P20593.isGetter = true; +Sprite_vx__P20737.info = {"start":2212,"length":60,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P20737.isGetter = true; -function Sprite_vx__P20593_mk(s) { +function Sprite_vx__P20737_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P20593, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P20737, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18929,7 +18929,7 @@ function Sprite_vx__P20593_mk(s) { -function helpers_arrayForEach__P18671(s) { +function helpers_arrayForEach__P18815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18939,49 +18939,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___31519 = undefined; - s.i___31522 = undefined; + s.len___31663 = undefined; + s.i___31666 = 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___31519 = (r0); - s.i___31522 = (0); + s.len___31663 = (r0); + s.i___31666 = (0); case 1: - r0 = (s.i___31522 < s.len___31519); + r0 = (s.i___31666 < s.len___31663); 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___31522); + r0 = pxsim_Array__getAt(s.arg0, s.i___31666); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___31522; + s.tmp_1.arg1 = s.i___31666; 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___31522 + 1); - s.i___31522 = (r0); + r0 = (s.i___31666 + 1); + s.i___31666 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P18671.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} +helpers_arrayForEach__P18815.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__P18671_mk(s) { +function helpers_arrayForEach__P18815_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P18671, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P18815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___31519: undefined, - i___31522: undefined, + len___31663: undefined, + i___31666: undefined, arg0: undefined, arg1: undefined, } } @@ -18990,7 +18990,7 @@ function helpers_arrayForEach__P18671_mk(s) { -function sprites_allOfKind__P20539(s) { +function sprites_allOfKind__P20683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19000,17 +19000,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___27177 = undefined; + s.spritesByKind___27321 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 238; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___27177 = (r0); + s.spritesByKind___27321 = (r0); r0 = (s.arg0 >= 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -19022,7 +19022,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___27177, s.arg0); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___27321, s.arg0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -19036,8 +19036,8 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 3: - s.tmp_6 = sprites_SpriteSet_sprites__P20679_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___27177, s.arg0); + s.tmp_6 = sprites_SpriteSet_sprites__P20823_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___27321, s.arg0); s.tmp_6.arg0 = r0; s.callLocIdx = 239; s.pc = 7; return s.tmp_6; case 7: @@ -19049,12 +19049,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_allOfKind__P20539.info = {"start":1561,"length":234,"line":56,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"allOfKind","argumentNames":["kind"]} +sprites_allOfKind__P20683.info = {"start":1561,"length":234,"line":56,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"allOfKind","argumentNames":["kind"]} -function sprites_allOfKind__P20539_mk(s) { +function sprites_allOfKind__P20683_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_allOfKind__P20539, depth: s.depth + 1, + parent: s, fn: sprites_allOfKind__P20683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19063,7 +19063,7 @@ function sprites_allOfKind__P20539_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - spritesByKind___27177: undefined, + spritesByKind___27321: undefined, arg0: undefined, } } @@ -19071,7 +19071,7 @@ function sprites_allOfKind__P20539_mk(s) { -function sprites_SpriteSet_sprites__P20679(s) { +function sprites_SpriteSet_sprites__P20823(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19086,8 +19086,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20675_VT)) failedCast(r0); - s.tmp_0 = helpers_arraySlice__P18676_mk(s); + if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); + s.tmp_0 = helpers_arraySlice__P18820_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; @@ -19101,12 +19101,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_sprites__P20679.info = {"start":787,"length":86,"line":33,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"sprites","argumentNames":["this"]} +sprites_SpriteSet_sprites__P20823.info = {"start":787,"length":86,"line":33,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"sprites","argumentNames":["this"]} -function sprites_SpriteSet_sprites__P20679_mk(s) { +function sprites_SpriteSet_sprites__P20823_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_sprites__P20679, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_sprites__P20823, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19117,7 +19117,7 @@ function sprites_SpriteSet_sprites__P20679_mk(s) { -function inline__P27206(s) { +function inline__P27350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19127,16 +19127,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___27209 = undefined; - s.src___27214 = undefined; + s.factory___27353 = undefined; + s.src___27358 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_AshFactory__C21322_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_AshFactory__C21466_VT); s.tmp_0 = r0; - s.tmp_1 = particles_AshFactory_constructor__P21323_mk(s); + s.tmp_1 = particles_AshFactory_constructor__P21467_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = undefined; @@ -19144,40 +19144,40 @@ switch (step) { s.callLocIdx = 39; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.factory___27209 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C21242_VT); + s.factory___27353 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C21386_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P21247_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P21391_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___27209; + s.tmp_1.arg3 = s.factory___27353; s.callLocIdx = 40; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.src___27214 = (s.tmp_0); - s.tmp_0 = particles_ParticleSource_setAcceleration__P21251_mk(s); - s.tmp_0.arg0 = s.src___27214; + s.src___27358 = (s.tmp_0); + s.tmp_0 = particles_ParticleSource_setAcceleration__P21395_mk(s); + s.tmp_0.arg0 = s.src___27358; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 500; s.callLocIdx = 41; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = s.src___27214; + r0 = s.src___27358; return leave(s, r0) default: oops() } } } -inline__P27206.info = {"start":10791,"length":281,"line":274,"column":54,"endLine":279,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +inline__P27350.info = {"start":10791,"length":281,"line":274,"column":54,"endLine":279,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} -function inline__P27206_mk(s) { +function inline__P27350_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27206, depth: s.depth + 1, + parent: s, fn: inline__P27350, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - factory___27209: undefined, - src___27214: undefined, + factory___27353: undefined, + src___27358: undefined, arg0: undefined, arg1: undefined, } } @@ -19186,7 +19186,7 @@ function inline__P27206_mk(s) { -function particles_AshFactory_constructor__P21323(s) { +function particles_AshFactory_constructor__P21467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19196,12 +19196,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.counts___30060 = undefined; - s.i___30062 = undefined; - s.result___30071 = undefined; - s.x___30076 = undefined; - s.y___30082 = undefined; - s.c___30088 = undefined; + s.counts___30204 = undefined; + s.i___30206 = undefined; + s.result___30215 = undefined; + s.x___30220 = undefined; + s.y___30226 = undefined; + s.c___30232 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19210,7 +19210,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AshFactory__C21322_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AshFactory__C21466_VT)) failedCast(r0); s.tmp_1 = if_width_1_mk(s); s.tmp_1.arg0 = s.arg1; if (!s.tmp_1.arg0.vtable.iface) { @@ -19279,7 +19279,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = particles_AreaFactory_constructor__P21293_mk(s); + s.tmp_9 = particles_AreaFactory_constructor__P21437_mk(s); s.tmp_9.arg0 = s.arg0; s.tmp_9.arg1 = s.tmp_3; s.tmp_9.arg2 = s.tmp_8; @@ -19307,9 +19307,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C22832_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C22976_VT); s.tmp_4 = r0; - s.tmp_5 = particles_ColorCount_constructor__P22833_mk(s); + s.tmp_5 = particles_ColorCount_constructor__P22977_mk(s); s.tmp_5.arg0 = s.tmp_4; s.tmp_5.arg1 = 1; s.tmp_5.arg2 = 20; @@ -19325,16 +19325,16 @@ switch (step) { case 5: case 6: r0 = pxsim_Array__mk(); - s.counts___30060 = (r0); - s.i___30062 = (0); + s.counts___30204 = (r0); + s.i___30206 = (0); case 7: - r0 = (s.i___30062 <= 15); + r0 = (s.i___30206 <= 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = pxsim_Array_.setAt(s.counts___30060, s.i___30062, 0); - r0 = (s.i___30062 + 1); - s.i___30062 = (r0); + r0 = pxsim_Array_.setAt(s.counts___30204, s.i___30206, 0); + r0 = (s.i___30206 + 1); + s.i___30206 = (r0); { step = 7; continue; } case 8: s.tmp_1 = if_image_1_mk(s); @@ -19351,34 +19351,34 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.result___30071 = (r0); - s.x___30076 = (0); + s.result___30215 = (r0); + s.x___30220 = (0); case 9: - s.tmp_1 = r0 = s.x___30076; - r0 = pxsim_ImageMethods.width(s.result___30071); + s.tmp_1 = r0 = s.x___30220; + r0 = pxsim_ImageMethods.width(s.result___30215); 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 = 16; continue; } - s.y___30082 = (0); + s.y___30226 = (0); case 10: - s.tmp_1 = r0 = s.y___30082; - r0 = pxsim_ImageMethods.height(s.result___30071); + s.tmp_1 = r0 = s.y___30226; + r0 = pxsim_ImageMethods.height(s.result___30215); 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 = pxsim_ImageMethods.getPixel(s.result___30071, s.x___30076, s.y___30082); - s.c___30088 = (r0); - s.tmp_0 = r0 = s.c___30088; + r0 = pxsim_ImageMethods.getPixel(s.result___30215, s.x___30220, s.y___30226); + s.c___30232 = (r0); + s.tmp_0 = r0 = s.c___30232; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_1 = Math_FastRandom_percentChance__P21157_mk(s); + s.tmp_1 = Math_FastRandom_percentChance__P21301_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg3; @@ -19390,44 +19390,44 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 13; continue; } - s.tmp_3 = r0 = s.counts___30060; - s.tmp_4 = r0 = s.c___30088; - r0 = pxsim_Array__getAt(s.tmp_3, s.c___30088); + s.tmp_3 = r0 = s.counts___30204; + s.tmp_4 = r0 = s.c___30232; + r0 = pxsim_Array__getAt(s.tmp_3, s.c___30232); s.tmp_6 = r0; r0 = (s.tmp_6 + 1); s.tmp_5 = r0; r0 = pxsim_Array_.setAt(s.tmp_3, s.tmp_4, s.tmp_5); - r0 = pxsim_ImageMethods.setPixel(s.result___30071, s.x___30076, s.y___30082, 0); + r0 = pxsim_ImageMethods.setPixel(s.result___30215, s.x___30220, s.y___30226, 0); case 13: case 14: - r0 = (s.y___30082 + 1); - s.y___30082 = (r0); + r0 = (s.y___30226 + 1); + s.y___30226 = (r0); { step = 10; continue; } case 15: - r0 = (s.x___30076 + 1); - s.x___30076 = (r0); + r0 = (s.x___30220 + 1); + s.x___30220 = (r0); { step = 9; continue; } case 16: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 17; continue; } - s.tmp_0 = Sprite_setImage__P20620_mk(s); + s.tmp_0 = Sprite_setImage__P20764_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.result___30071; + s.tmp_0.arg1 = s.result___30215; s.callLocIdx = 1236; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; case 17: case 18: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P18672_mk(s); - s.tmp_3 = helpers_arrayMap__P18668_mk(s); - s.tmp_3.arg0 = s.counts___30060; - s.tmp_3.arg1 = inline__P30122; + s.tmp_2 = helpers_arrayFilter__P18816_mk(s); + s.tmp_3 = helpers_arrayMap__P18812_mk(s); + s.tmp_3.arg0 = s.counts___30204; + s.tmp_3.arg1 = inline__P30266; s.callLocIdx = 1238; s.pc = 31; return s.tmp_3; case 31: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P30129; + s.tmp_2.arg1 = inline__P30273; s.callLocIdx = 1239; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; @@ -19438,12 +19438,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AshFactory_constructor__P21323.info = {"start":11775,"length":1466,"line":385,"column":8,"endLine":423,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","anchor","updateImage","percentKept"]} +particles_AshFactory_constructor__P21467.info = {"start":11775,"length":1466,"line":385,"column":8,"endLine":423,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","anchor","updateImage","percentKept"]} -function particles_AshFactory_constructor__P21323_mk(s) { +function particles_AshFactory_constructor__P21467_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_constructor__P21323, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_constructor__P21467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19455,12 +19455,12 @@ function particles_AshFactory_constructor__P21323_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - counts___30060: undefined, - i___30062: undefined, - result___30071: undefined, - x___30076: undefined, - y___30082: undefined, - c___30088: undefined, + counts___30204: undefined, + i___30206: undefined, + result___30215: undefined, + x___30220: undefined, + y___30226: undefined, + c___30232: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19471,7 +19471,7 @@ function particles_AshFactory_constructor__P21323_mk(s) { -function inline__P30122(s) { +function inline__P30266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19486,9 +19486,9 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C22832_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C22976_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ColorCount_constructor__P22833_mk(s); + s.tmp_1 = particles_ColorCount_constructor__P22977_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg0; @@ -19499,12 +19499,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30122.info = {"start":13124,"length":62,"line":421,"column":21,"endLine":421,"endColumn":83,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["value","index"]} +inline__P30266.info = {"start":13124,"length":62,"line":421,"column":21,"endLine":421,"endColumn":83,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["value","index"]} -function inline__P30122_mk(s) { +function inline__P30266_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30122, depth: s.depth + 1, + parent: s, fn: inline__P30266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19516,7 +19516,7 @@ function inline__P30122_mk(s) { -function inline__P30129(s) { +function inline__P30273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19536,12 +19536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30129.info = {"start":13212,"length":17,"line":422,"column":24,"endLine":422,"endColumn":41,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["v"]} +inline__P30273.info = {"start":13212,"length":17,"line":422,"column":24,"endLine":422,"endColumn":41,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["v"]} -function inline__P30129_mk(s) { +function inline__P30273_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30129, depth: s.depth + 1, + parent: s, fn: inline__P30273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19551,7 +19551,7 @@ function inline__P30129_mk(s) { -function particles_ColorCount_constructor__P22833(s) { +function particles_ColorCount_constructor__P22977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19568,19 +19568,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ColorCount__C22832_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ColorCount__C22976_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (s.arg1); r0 = (s.arg0).fields["count"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ColorCount_constructor__P22833.info = {"start":11603,"length":59,"line":379,"column":8,"endLine":379,"endColumn":67,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","color","count"]} +particles_ColorCount_constructor__P22977.info = {"start":11603,"length":59,"line":379,"column":8,"endLine":379,"endColumn":67,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","color","count"]} -function particles_ColorCount_constructor__P22833_mk(s) { +function particles_ColorCount_constructor__P22977_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ColorCount_constructor__P22833, depth: s.depth + 1, + parent: s, fn: particles_ColorCount_constructor__P22977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19591,7 +19591,7 @@ function particles_ColorCount_constructor__P22833_mk(s) { -function Math_FastRandom_percentChance__P21157(s) { +function Math_FastRandom_percentChance__P21301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19607,8 +19607,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21150_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_randomRange__P21154_mk(s); + if (!checkSubtype(r0, Math_FastRandom__C21294_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_randomRange__P21298_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = 100; @@ -19620,12 +19620,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_percentChance__P21157.info = {"start":2925,"length":106,"line":88,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"percentChance","argumentNames":["this","percent"]} +Math_FastRandom_percentChance__P21301.info = {"start":2925,"length":106,"line":88,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"percentChance","argumentNames":["this","percent"]} -function Math_FastRandom_percentChance__P21157_mk(s) { +function Math_FastRandom_percentChance__P21301_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_percentChance__P21157, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_percentChance__P21301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19637,7 +19637,7 @@ function Math_FastRandom_percentChance__P21157_mk(s) { -function helpers_arrayMap__P18668(s) { +function helpers_arrayMap__P18812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19647,58 +19647,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___30137 = undefined; - s.len___30139 = undefined; - s.i___30142 = undefined; + s.res___30281 = undefined; + s.len___30283 = undefined; + s.i___30286 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___30137 = (r0); + s.res___30281 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___30139 = (r0); - s.i___30142 = (0); + s.len___30283 = (r0); + s.i___30286 = (0); case 1: - r0 = (s.i___30142 < s.len___30139); + r0 = (s.i___30286 < s.len___30283); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___30137; + s.tmp_1 = r0 = s.res___30281; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___30142); + r0 = pxsim_Array__getAt(s.arg0, s.i___30286); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___30142; + s.tmp_3.arg1 = s.i___30286; 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___30142 + 1); - s.i___30142 = (r0); + r0 = (s.i___30286 + 1); + s.i___30286 = (r0); { step = 1; continue; } case 2: - r0 = s.res___30137; + r0 = s.res___30281; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P18668.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__P18812.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__P18668_mk(s) { +function helpers_arrayMap__P18812_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P18668, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P18812, 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___30137: undefined, - len___30139: undefined, - i___30142: undefined, + res___30281: undefined, + len___30283: undefined, + i___30286: undefined, arg0: undefined, arg1: undefined, } } @@ -19707,7 +19707,7 @@ function helpers_arrayMap__P18668_mk(s) { -function Sprite_destroy__P20651(s) { +function Sprite_destroy__P20795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19724,7 +19724,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -19742,7 +19742,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__P21356_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P21500_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -19752,7 +19752,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P20652_mk(s); + s.tmp_0 = Sprite__destroyCore__P20796_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 460; s.pc = 7; return s.tmp_0; case 7: @@ -19763,12 +19763,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P20651.info = {"start":28412,"length":293,"line":858,"column":4,"endLine":867,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P20795.info = {"start":28412,"length":293,"line":858,"column":4,"endLine":867,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P20651_mk(s) { +function Sprite_destroy__P20795_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P20651, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P20795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19784,7 +19784,7 @@ function Sprite_destroy__P20651_mk(s) { -function effects_ParticleEffect_destroy__P21356(s) { +function effects_ParticleEffect_destroy__P21500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19802,15 +19802,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C21353_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P20643_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C21497_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P20787_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = true; s.callLocIdx = 1254; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P21355_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P21499_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -19842,8 +19842,8 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg1).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = effects_ImageEffect_applyTo__P21382_mk(s); - s.tmp_0.arg0 = globals.dissolve___21385; + s.tmp_0 = effects_ImageEffect_applyTo__P21526_mk(s); + s.tmp_0.arg0 = globals.dissolve___21529; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1256; s.pc = 5; return s.tmp_0; case 5: @@ -19852,12 +19852,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P21356.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__P21500.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__P21356_mk(s) { +function effects_ParticleEffect_destroy__P21500_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P21356, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P21500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19875,7 +19875,7 @@ function effects_ParticleEffect_destroy__P21356_mk(s) { -function inline__P30302(s) { +function inline__P30446(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19885,11 +19885,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___30305 = undefined; - s.x___30316 = undefined; - s.y___30322 = undefined; - s.w___30328 = undefined; - s.h___30332 = undefined; + s.i___30449 = undefined; + s.x___30460 = undefined; + s.y___30466 = undefined; + s.w___30472 = undefined; + s.h___30476 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19902,13 +19902,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___30305 = (r0); + s.i___30449 = (r0); case 1: - r0 = (s.i___30305 > 0); + r0 = (s.i___30449 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P21154_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P21298_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -19916,8 +19916,8 @@ switch (step) { s.callLocIdx = 43; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___30316 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21154_mk(s); + s.x___30460 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P21298_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -19925,56 +19925,56 @@ switch (step) { s.callLocIdx = 44; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___30322 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21154_mk(s); + s.y___30466 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P21298_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 45; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___30328 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21154_mk(s); + s.w___30472 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P21298_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 46; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___30332 = (r0); - s.tmp_0 = helpers_imageDrawRect__P20295_mk(s); + s.h___30476 = (r0); + s.tmp_0 = helpers_imageDrawRect__P20439_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___30316; - s.tmp_0.arg2 = s.y___30322; - s.tmp_0.arg3 = s.w___30328; - s.tmp_0.arg4 = s.h___30332; + s.tmp_0.arg1 = s.x___30460; + s.tmp_0.arg2 = s.y___30466; + s.tmp_0.arg3 = s.w___30472; + s.tmp_0.arg4 = s.h___30476; s.tmp_0.arg5 = 0; s.callLocIdx = 47; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___30305 - 1); - s.i___30305 = (r0); + r0 = (s.i___30449 - 1); + s.i___30449 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P30302.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__P30446.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__P30302_mk(s) { +function inline__P30446_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30302, depth: s.depth + 1, + parent: s, fn: inline__P30446, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___30305: undefined, - x___30316: undefined, - y___30322: undefined, - w___30328: undefined, - h___30332: undefined, + i___30449: undefined, + x___30460: undefined, + y___30466: undefined, + w___30472: undefined, + h___30476: undefined, arg0: undefined, arg1: undefined, } } @@ -19983,7 +19983,7 @@ function inline__P30302_mk(s) { -function helpers_imageDrawRect__P20295(s) { +function helpers_imageDrawRect__P20439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20022,7 +20022,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P20294_mk(s); + s.tmp_0 = helpers_imageDrawLine__P20438_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -20033,7 +20033,7 @@ switch (step) { s.callLocIdx = 93; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P20294_mk(s); + s.tmp_0 = helpers_imageDrawLine__P20438_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -20044,7 +20044,7 @@ switch (step) { s.callLocIdx = 94; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P20294_mk(s); + s.tmp_0 = helpers_imageDrawLine__P20438_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -20057,7 +20057,7 @@ switch (step) { s.callLocIdx = 95; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P20294_mk(s); + s.tmp_0 = helpers_imageDrawLine__P20438_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -20075,12 +20075,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P20295.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__P20439.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__P20295_mk(s) { +function helpers_imageDrawRect__P20439_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P20295, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P20439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20096,7 +20096,7 @@ function helpers_imageDrawRect__P20295_mk(s) { -function helpers_imageDrawLine__P20294(s) { +function helpers_imageDrawLine__P20438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20116,14 +20116,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P22192_mk(s); + s.tmp_2 = helpers_pack__P22336_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 91; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P22192_mk(s); + s.tmp_4 = helpers_pack__P22336_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 92; s.pc = 2; return s.tmp_4; @@ -20135,12 +20135,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P20294.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__P20438.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__P20294_mk(s) { +function helpers_imageDrawLine__P20438_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P20294, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P20438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20159,7 +20159,7 @@ function helpers_imageDrawLine__P20294_mk(s) { -function effects_ImageEffect_applyTo__P21382(s) { +function effects_ImageEffect_applyTo__P21526(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20169,14 +20169,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___30428 = undefined; + s.clonedImage___30572 = 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__C21380_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C21524_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -20202,16 +20202,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___30428 = (r0); - s.tmp_0 = effects_ImageEffect_change__P21383_mk(s); + s.clonedImage___30572 = (r0); + s.tmp_0 = effects_ImageEffect_change__P21527_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___30428; + s.tmp_0.arg1 = s.clonedImage___30572; s.callLocIdx = 1271; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P20620_mk(s); + s.tmp_0 = Sprite_setImage__P20764_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___30428; + s.tmp_0.arg1 = s.clonedImage___30572; s.callLocIdx = 1272; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -20220,12 +20220,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P21382.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__P21526.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__P21382_mk(s) { +function effects_ImageEffect_applyTo__P21526_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P21382, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P21526, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20233,7 +20233,7 @@ function effects_ImageEffect_applyTo__P21382_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___30428: undefined, + clonedImage___30572: undefined, arg0: undefined, arg1: undefined, } } @@ -20242,7 +20242,7 @@ function effects_ImageEffect_applyTo__P21382_mk(s) { -function effects_ImageEffect_change__P21383(s) { +function effects_ImageEffect_change__P21527(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20258,7 +20258,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C21380_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C21524_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -20279,12 +20279,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P21383.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__P21527.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__P21383_mk(s) { +function effects_ImageEffect_change__P21527_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P21383, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P21527, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20295,7 +20295,7 @@ function effects_ImageEffect_change__P21383_mk(s) { -function effects_ParticleEffect_start__P21355(s) { +function effects_ParticleEffect_start__P21499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20305,7 +20305,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___30452 = undefined; + s.src___30596 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20315,7 +20315,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C21353_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C21497_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20351,9 +20351,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___30452 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P21253_mk(s); - s.tmp_0.arg0 = s.src___30452; + s.src___30596 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P21397_mk(s); + s.tmp_0.arg0 = s.src___30596; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -20378,7 +20378,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___30452).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___30596).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -20386,19 +20386,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P21355.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__P21499.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__P21355_mk(s) { +function effects_ParticleEffect_start__P21499_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P21355, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P21499, 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___30452: undefined, + src___30596: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20410,7 +20410,7 @@ function effects_ParticleEffect_start__P21355_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P21253(s) { +function particles_ParticleSource_setRelativeToCamera__P21397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20426,7 +20426,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -20452,12 +20452,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P21253.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__P21397.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__P21253_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P21397_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P21253, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P21397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20472,7 +20472,7 @@ function particles_ParticleSource_setRelativeToCamera__P21253_mk(s) { -function Sprite__destroyCore__P20652(s) { +function Sprite__destroyCore__P20796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20482,29 +20482,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___30206 = undefined; + s.scene___30350 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 461; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___30206 = (r0); + s.scene___30350 = (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__P20651_mk(s); + s.tmp_1 = Sprite_destroy__P20795_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -20514,7 +20514,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.scene___30206.fields["allSprites"]; + r0 = s.scene___30350.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -20526,7 +20526,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.scene___30206.fields["spritesByKind"]; + r0 = s.scene___30350.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -20536,8 +20536,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__P20682_mk(s); - r0 = s.scene___30206.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P20826_mk(s); + r0 = s.scene___30350.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -20549,11 +20549,11 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.tmp_0 = PhysicsEngine__C20723_v1_2_mk(s); - r0 = s.scene___30206.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C20867_v1_2_mk(s); + r0 = s.scene___30350.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20723_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_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: @@ -20577,15 +20577,15 @@ switch (step) { r0 = s.retval; case 7: case 8: - r0 = pxsim_pxtcore_mkAction(1, inline__P30242); + r0 = pxsim_pxtcore_mkAction(1, inline__P30386); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P30249); + r0 = pxsim_pxtcore_mkAction(1, inline__P30393); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P18671_mk(s); - s.tmp_3 = helpers_arrayFilter__P18672_mk(s); - r0 = s.scene___30206.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P18815_mk(s); + s.tmp_3 = helpers_arrayFilter__P18816_mk(s); + r0 = s.scene___30350.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 469; s.pc = 15; return s.tmp_3; @@ -20600,12 +20600,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P20652.info = {"start":28711,"length":693,"line":869,"column":4,"endLine":885,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P20796.info = {"start":28711,"length":693,"line":869,"column":4,"endLine":885,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P20652_mk(s) { +function Sprite__destroyCore__P20796_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P20652, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P20796, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20615,7 +20615,7 @@ function Sprite__destroyCore__P20652_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___30206: undefined, + scene___30350: undefined, arg0: undefined, } } @@ -20623,7 +20623,7 @@ function Sprite__destroyCore__P20652_mk(s) { -function inline__P30242(s) { +function inline__P30386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20645,12 +20645,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30242.info = {"start":29327,"length":26,"line":883,"column":20,"endLine":883,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P30386.info = {"start":29327,"length":26,"line":883,"column":20,"endLine":883,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P30242_mk(s) { +function inline__P30386_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30242, depth: s.depth + 1, + parent: s, fn: inline__P30386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20661,7 +20661,7 @@ function inline__P30242_mk(s) { -function inline__P30249(s) { +function inline__P30393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20693,12 +20693,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30249.info = {"start":29376,"length":20,"line":884,"column":21,"endLine":884,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P30393.info = {"start":29376,"length":20,"line":884,"column":21,"endLine":884,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P30249_mk(s) { +function inline__P30393_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30249, depth: s.depth + 1, + parent: s, fn: inline__P30393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20708,7 +20708,7 @@ function inline__P30249_mk(s) { -function PhysicsEngine_removeSprite__P20726(s) { +function PhysicsEngine_removeSprite__P20870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20724,17 +20724,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20723_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C20867_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P20726.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__P20870.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__P20726_mk(s) { +function PhysicsEngine_removeSprite__P20870_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P20726, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P20870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20744,7 +20744,7 @@ function PhysicsEngine_removeSprite__P20726_mk(s) { -function sprites_SpriteSet_remove__P20682(s) { +function sprites_SpriteSet_remove__P20826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20754,26 +20754,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___30258 = undefined; + s.i___30402 = 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__C20675_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___30258 = (r0); - r0 = (s.i___30258 > -1); + s.i___30402 = (r0); + r0 = (s.i___30402 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P18662_mk(s); + s.tmp_1 = helpers_arraySplice__P18806_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___30258; + s.tmp_1.arg1 = s.i___30402; s.tmp_1.arg2 = 1; s.callLocIdx = 518; s.pc = 4; return s.tmp_1; case 4: @@ -20787,16 +20787,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P20682.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__P20826.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__P20682_mk(s) { +function sprites_SpriteSet_remove__P20826_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P20682, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P20826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___30258: undefined, + i___30402: undefined, arg0: undefined, arg1: undefined, } } @@ -20805,7 +20805,7 @@ function sprites_SpriteSet_remove__P20682_mk(s) { -function scene_onPathCompletion__P22032(s) { +function scene_onPathCompletion__P22176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20820,7 +20820,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_init__P24606_mk(s); + s.tmp_0 = scene_init__P24750_mk(s); s.callLocIdx = 182; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -20842,16 +20842,16 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_PathCompletionEvent__C24601_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_PathCompletionEvent__C24745_VT); s.tmp_3 = r0; - s.tmp_4 = scene_PathCompletionEvent_constructor__P24602_mk(s); + s.tmp_4 = scene_PathCompletionEvent_constructor__P24746_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = s.arg0; s.tmp_4.arg2 = s.arg1; s.callLocIdx = 184; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.tmp_6 = scene_getPathCompletionEvents__P24631_mk(s); + s.tmp_6 = scene_getPathCompletionEvents__P24775_mk(s); s.callLocIdx = 183; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; @@ -20862,12 +20862,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_onPathCompletion__P22032.info = {"start":7816,"length":313,"line":201,"column":4,"endLine":211,"endColumn":5,"fileName":"path-following.ts","functionName":"onPathCompletion","argumentNames":["kind","handler"]} +scene_onPathCompletion__P22176.info = {"start":7816,"length":313,"line":201,"column":4,"endLine":211,"endColumn":5,"fileName":"path-following.ts","functionName":"onPathCompletion","argumentNames":["kind","handler"]} -function scene_onPathCompletion__P22032_mk(s) { +function scene_onPathCompletion__P22176_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_onPathCompletion__P22032, depth: s.depth + 1, + parent: s, fn: scene_onPathCompletion__P22176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20884,7 +20884,7 @@ function scene_onPathCompletion__P22032_mk(s) { -function scene_PathCompletionEvent_constructor__P24602(s) { +function scene_PathCompletionEvent_constructor__P24746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20901,19 +20901,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_PathCompletionEvent__C24601_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_PathCompletionEvent__C24745_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg1); r0 = (s.arg0).fields["handler"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_PathCompletionEvent_constructor__P24602.info = {"start":469,"length":138,"line":18,"column":8,"endLine":21,"endColumn":13,"fileName":"path-following.ts","functionName":"inline","argumentNames":["this","kind","handler"]} +scene_PathCompletionEvent_constructor__P24746.info = {"start":469,"length":138,"line":18,"column":8,"endLine":21,"endColumn":13,"fileName":"path-following.ts","functionName":"inline","argumentNames":["this","kind","handler"]} -function scene_PathCompletionEvent_constructor__P24602_mk(s) { +function scene_PathCompletionEvent_constructor__P24746_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_PathCompletionEvent_constructor__P24602, depth: s.depth + 1, + parent: s, fn: scene_PathCompletionEvent_constructor__P24746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20924,7 +20924,7 @@ function scene_PathCompletionEvent_constructor__P24602_mk(s) { -function Sprite_setFlag__P20643(s) { +function Sprite_setFlag__P20787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20941,7 +20941,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -20976,7 +20976,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = Sprite_setFlag__P20643_mk(s); + s.tmp_2 = Sprite_setFlag__P20787_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 512; @@ -20990,12 +20990,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P20643.info = {"start":23896,"length":292,"line":731,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P20787.info = {"start":23896,"length":292,"line":731,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P20643_mk(s) { +function Sprite_setFlag__P20787_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P20643, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P20787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21011,7 +21011,7 @@ function Sprite_setFlag__P20643_mk(s) { -function scene_followPath__P22029(s) { +function scene_followPath__P22173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21021,20 +21021,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pathFollowingSprites___24804 = undefined; - s.i___24808 = undefined; - s.pfs___24815 = undefined; - s.tm___24829 = undefined; - s.nearestTile___24838 = undefined; - s.minDistSquared___24840 = undefined; - s.p___24842 = undefined; - s.unnamed288___U7 = undefined; - s.unnamed289___U8 = undefined; - s.distSqrd___24844 = undefined; - s.remainingPath___24870 = undefined; - s.remainingPath___24881 = undefined; - s.currentLocation___24892 = undefined; - s.pathToNearest___24897 = undefined; + s.pathFollowingSprites___24948 = undefined; + s.i___24952 = undefined; + s.pfs___24959 = undefined; + s.tm___24973 = undefined; + s.nearestTile___24982 = undefined; + s.minDistSquared___24984 = undefined; + s.p___24986 = undefined; + s.unnamed356___U7 = undefined; + s.unnamed357___U8 = undefined; + s.distSqrd___24988 = undefined; + s.remainingPath___25014 = undefined; + s.remainingPath___25025 = undefined; + s.currentLocation___25036 = undefined; + s.pathToNearest___25041 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21080,35 +21080,35 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 13; continue; } - s.tmp_9 = scene_getPathFollowingSprites__P24627_mk(s); + s.tmp_9 = scene_getPathFollowingSprites__P24771_mk(s); s.callLocIdx = 158; s.pc = 26; return s.tmp_9; case 26: r0 = s.retval; - s.pathFollowingSprites___24804 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pathFollowingSprites___24804); + s.pathFollowingSprites___24948 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pathFollowingSprites___24948); if (!r0) { step = 11; continue; } - r0 = pxsim_Array__length(s.pathFollowingSprites___24804); + r0 = pxsim_Array__length(s.pathFollowingSprites___24948); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.i___24808 = (r0); + s.i___24952 = (r0); case 7: - r0 = (s.i___24808 >= 0); + r0 = (s.i___24952 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.pathFollowingSprites___24804, s.i___24808); - s.pfs___24815 = (r0); - r0 = s.pfs___24815.fields["sprite"]; + r0 = pxsim_Array__getAt(s.pathFollowingSprites___24948, s.i___24952); + s.pfs___24959 = (r0); + r0 = s.pfs___24959.fields["sprite"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = pxsim_Array_.removeAt(s.pathFollowingSprites___24804, s.i___24808); + r0 = pxsim_Array_.removeAt(s.pathFollowingSprites___24948, s.i___24952); case 8: case 9: - r0 = (s.i___24808 - 1); - s.i___24808 = (r0); + r0 = (s.i___24952 - 1); + s.i___24952 = (r0); { step = 7; continue; } case 10: case 11: @@ -21116,13 +21116,13 @@ switch (step) { { step = 25; continue; } case 13: case 14: - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 159; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___24829 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tm___24829); + s.tm___24973 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tm___24973); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -21131,8 +21131,8 @@ switch (step) { { step = 25; continue; } case 15: case 16: - s.tmp_3 = tiles_TileMap_isOnWall__P20902_mk(s); - s.tmp_3.arg0 = s.tm___24829; + s.tmp_3 = tiles_TileMap_isOnWall__P21046_mk(s); + s.tmp_3.arg0 = s.tm___24973; s.tmp_3.arg1 = s.arg0; s.callLocIdx = 160; s.pc = 28; return s.tmp_3; case 28: @@ -21141,26 +21141,26 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 21; continue; } r0 = pxsim_Array__getAt(s.arg1, 0); - s.nearestTile___24838 = (r0); - s.minDistSquared___24840 = (999999); - s.p___24842 = (undefined); - s.unnamed288___U7 = (s.arg1); - s.unnamed289___U8 = (0); + s.nearestTile___24982 = (r0); + s.minDistSquared___24984 = (999999); + s.p___24986 = (undefined); + s.unnamed356___U7 = (s.arg1); + s.unnamed357___U8 = (0); case 17: - s.tmp_0 = r0 = s.unnamed289___U8; - r0 = pxsim_Array__length(s.unnamed288___U7); + s.tmp_0 = r0 = s.unnamed357___U8; + r0 = pxsim_Array__length(s.unnamed356___U7); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed288___U7, s.unnamed289___U8); - s.p___24842 = (r0); - s.tmp_5 = tiles_Location_x__P20857_mk(s); - s.tmp_5.arg0 = s.p___24842; + r0 = pxsim_Array__getAt(s.unnamed356___U7, s.unnamed357___U8); + s.p___24986 = (r0); + s.tmp_5 = tiles_Location_x__P21001_mk(s); + s.tmp_5.arg0 = s.p___24986; s.callLocIdx = 161; s.pc = 29; return s.tmp_5; case 29: r0 = s.retval; s.tmp_4 = r0; - s.tmp_7 = Sprite_x__P20589_mk(s); + s.tmp_7 = Sprite_x__P20733_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 162; s.pc = 30; return s.tmp_7; case 30: @@ -21170,13 +21170,13 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim.Math_.pow(s.tmp_3, 2); s.tmp_2 = r0; - s.tmp_11 = tiles_Location_y__P20858_mk(s); - s.tmp_11.arg0 = s.p___24842; + s.tmp_11 = tiles_Location_y__P21002_mk(s); + s.tmp_11.arg0 = s.p___24986; s.callLocIdx = 163; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; s.tmp_10 = r0; - s.tmp_13 = Sprite_y__P20591_mk(s); + s.tmp_13 = Sprite_y__P20735_mk(s); s.tmp_13.arg0 = s.arg0; s.callLocIdx = 164; s.pc = 32; return s.tmp_13; case 32: @@ -21187,36 +21187,36 @@ switch (step) { r0 = pxsim.Math_.pow(s.tmp_9, 2); s.tmp_8 = r0; r0 = (s.tmp_2 + s.tmp_8); - s.distSqrd___24844 = (r0); - r0 = (s.distSqrd___24844 < s.minDistSquared___24840); + s.distSqrd___24988 = (r0); + r0 = (s.distSqrd___24988 < s.minDistSquared___24984); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.nearestTile___24838 = (s.p___24842); - s.minDistSquared___24840 = (s.distSqrd___24844); + s.nearestTile___24982 = (s.p___24986); + s.minDistSquared___24984 = (s.distSqrd___24988); case 18: case 19: - r0 = (s.unnamed289___U8 + 1); - s.unnamed289___U8 = (r0); + r0 = (s.unnamed357___U8 + 1); + s.unnamed357___U8 = (r0); { step = 17; continue; } case 20: - s.unnamed288___U7 = (undefined); - s.tmp_0 = tiles_Location_place__P20860_mk(s); - s.tmp_0.arg0 = s.nearestTile___24838; + s.unnamed356___U7 = (undefined); + s.tmp_0 = tiles_Location_place__P21004_mk(s); + s.tmp_0.arg0 = s.nearestTile___24982; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 165; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = scene_getRemainingPath__P24873_mk(s); + s.tmp_0 = scene_getRemainingPath__P25017_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 166; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.remainingPath___24870 = (r0); - s.tmp_0 = scene__followPath__P22034_mk(s); + s.remainingPath___25014 = (r0); + s.tmp_0 = scene__followPath__P22178_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.remainingPath___24870; + s.tmp_0.arg1 = s.remainingPath___25014; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; s.callLocIdx = 167; s.pc = 35; return s.tmp_0; @@ -21225,18 +21225,18 @@ switch (step) { { step = 25; continue; } case 21: case 22: - s.tmp_0 = scene_getRemainingPath__P24873_mk(s); + s.tmp_0 = scene_getRemainingPath__P25017_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 168; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.remainingPath___24881 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainingPath___24881); + s.remainingPath___25025 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainingPath___25025); if (!r0) { step = 23; continue; } - s.tmp_0 = scene__followPath__P22034_mk(s); + s.tmp_0 = scene__followPath__P22178_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.remainingPath___24881; + s.tmp_0.arg1 = s.remainingPath___25025; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; s.callLocIdx = 169; s.pc = 37; return s.tmp_0; @@ -21245,33 +21245,33 @@ switch (step) { { step = 25; continue; } case 23: case 24: - s.tmp_0 = scene_locationOfSprite__P24896_mk(s); + s.tmp_0 = scene_locationOfSprite__P25040_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 170; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.currentLocation___24892 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P24904); + s.currentLocation___25036 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P25048); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = scene_generalAStar__P22027_mk(s); - s.tmp_1.arg0 = s.tm___24829; - s.tmp_1.arg1 = s.currentLocation___24892; + s.tmp_1 = scene_generalAStar__P22171_mk(s); + s.tmp_1.arg0 = s.tm___24973; + s.tmp_1.arg1 = s.currentLocation___25036; s.tmp_1.arg2 = null; - s.tmp_1.arg3 = inline__P24903; + s.tmp_1.arg3 = inline__P25047; s.tmp_1.arg4 = s.tmp_0; s.callLocIdx = 175; s.pc = 39; return s.tmp_1; case 39: r0 = s.retval; - s.pathToNearest___24897 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P24924); + s.pathToNearest___25041 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P25068); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg2); - s.tmp_1 = scene__followPath__P22034_mk(s); + s.tmp_1 = scene__followPath__P22178_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.pathToNearest___24897; + s.tmp_1.arg1 = s.pathToNearest___25041; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.tmp_0; s.callLocIdx = 178; s.pc = 40; return s.tmp_1; @@ -21282,12 +21282,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_followPath__P22029.info = {"start":3834,"length":2336,"line":97,"column":4,"endLine":158,"endColumn":5,"fileName":"path-following.ts","functionName":"followPath","argumentNames":["sprite","path","speed"]} +scene_followPath__P22173.info = {"start":3834,"length":2336,"line":97,"column":4,"endLine":158,"endColumn":5,"fileName":"path-following.ts","functionName":"followPath","argumentNames":["sprite","path","speed"]} -function scene_followPath__P22029_mk(s) { +function scene_followPath__P22173_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_followPath__P22029, depth: s.depth + 1, + parent: s, fn: scene_followPath__P22173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21303,20 +21303,20 @@ function scene_followPath__P22029_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - pathFollowingSprites___24804: undefined, - i___24808: undefined, - pfs___24815: undefined, - tm___24829: undefined, - nearestTile___24838: undefined, - minDistSquared___24840: undefined, - p___24842: undefined, - unnamed288___U7: undefined, - unnamed289___U8: undefined, - distSqrd___24844: undefined, - remainingPath___24870: undefined, - remainingPath___24881: undefined, - currentLocation___24892: undefined, - pathToNearest___24897: undefined, + pathFollowingSprites___24948: undefined, + i___24952: undefined, + pfs___24959: undefined, + tm___24973: undefined, + nearestTile___24982: undefined, + minDistSquared___24984: undefined, + p___24986: undefined, + unnamed356___U7: undefined, + unnamed357___U8: undefined, + distSqrd___24988: undefined, + remainingPath___25014: undefined, + remainingPath___25025: undefined, + currentLocation___25036: undefined, + pathToNearest___25041: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21326,7 +21326,7 @@ function scene_followPath__P22029_mk(s) { -function inline__P24903(s) { +function inline__P25047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21340,12 +21340,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24903.info = {"start":5688,"length":7,"line":144,"column":70,"endLine":144,"endColumn":77,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} +inline__P25047.info = {"start":5688,"length":7,"line":144,"column":70,"endLine":144,"endColumn":77,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} -function inline__P24903_mk(s) { +function inline__P25047_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24903, depth: s.depth + 1, + parent: s, fn: inline__P25047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -21353,7 +21353,7 @@ function inline__P24903_mk(s) { -function inline__P24904(s) { +function inline__P25048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21363,32 +21363,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pathTile___24907 = undefined; - s.unnamed290___U1 = undefined; - s.unnamed291___U2 = undefined; + s.pathTile___25051 = undefined; + s.unnamed358___U1 = undefined; + s.unnamed359___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.pathTile___24907 = (undefined); - s.unnamed290___U1 = (s.caps[0]); - s.unnamed291___U2 = (0); + s.pathTile___25051 = (undefined); + s.unnamed358___U1 = (s.caps[0]); + s.unnamed359___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed291___U2; - r0 = pxsim_Array__length(s.unnamed290___U1); + s.tmp_0 = r0 = s.unnamed359___U2; + r0 = pxsim_Array__length(s.unnamed358___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed290___U1, s.unnamed291___U2); - s.pathTile___24907 = (r0); - s.tmp_4 = tiles_Location_x__P20857_mk(s); + r0 = pxsim_Array__getAt(s.unnamed358___U1, s.unnamed359___U2); + s.pathTile___25051 = (r0); + s.tmp_4 = tiles_Location_x__P21001_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 171; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; - s.tmp_6 = tiles_Location_x__P20857_mk(s); - s.tmp_6.arg0 = s.pathTile___24907; + s.tmp_6 = tiles_Location_x__P21001_mk(s); + s.tmp_6.arg0 = s.pathTile___25051; s.callLocIdx = 172; s.pc = 9; return s.tmp_6; case 9: r0 = s.retval; @@ -21400,14 +21400,14 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - s.tmp_8 = tiles_Location_y__P20858_mk(s); + s.tmp_8 = tiles_Location_y__P21002_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 173; s.pc = 10; return s.tmp_8; case 10: r0 = s.retval; s.tmp_7 = r0; - s.tmp_10 = tiles_Location_y__P20858_mk(s); - s.tmp_10.arg0 = s.pathTile___24907; + s.tmp_10 = tiles_Location_y__P21002_mk(s); + s.tmp_10.arg0 = s.pathTile___25051; s.callLocIdx = 174; s.pc = 11; return s.tmp_10; case 11: r0 = s.retval; @@ -21422,22 +21422,22 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed291___U2 + 1); - s.unnamed291___U2 = (r0); + r0 = (s.unnamed359___U2 + 1); + s.unnamed359___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed290___U1 = (undefined); + s.unnamed358___U1 = (undefined); r0 = false; case 7: return leave(s, r0) default: oops() } } } -inline__P24904.info = {"start":5697,"length":221,"line":144,"column":79,"endLine":151,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":["tile"]} +inline__P25048.info = {"start":5697,"length":221,"line":144,"column":79,"endLine":151,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":["tile"]} -function inline__P24904_mk(s) { +function inline__P25048_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24904, depth: s.depth + 1, + parent: s, fn: inline__P25048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21451,9 +21451,9 @@ function inline__P24904_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - pathTile___24907: undefined, - unnamed290___U1: undefined, - unnamed291___U2: undefined, + pathTile___25051: undefined, + unnamed358___U1: undefined, + unnamed359___U2: undefined, arg0: undefined, } } @@ -21461,7 +21461,7 @@ function inline__P24904_mk(s) { -function inline__P24924(s) { +function inline__P25068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21471,17 +21471,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.remainingPath___24925 = undefined; - s.tmp_0 = scene_getRemainingPath__P24873_mk(s); + s.remainingPath___25069 = undefined; + s.tmp_0 = scene_getRemainingPath__P25017_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; s.callLocIdx = 176; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.remainingPath___24925 = (r0); - s.tmp_0 = scene__followPath__P22034_mk(s); + s.remainingPath___25069 = (r0); + s.tmp_0 = scene__followPath__P22178_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_0.arg1 = s.remainingPath___24925; + s.tmp_0.arg1 = s.remainingPath___25069; s.tmp_0.arg2 = s.caps[2]; s.tmp_0.arg3 = undefined; s.callLocIdx = 177; s.pc = 2; return s.tmp_0; @@ -21491,22 +21491,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24924.info = {"start":5972,"length":191,"line":153,"column":50,"endLine":157,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} +inline__P25068.info = {"start":5972,"length":191,"line":153,"column":50,"endLine":157,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} -function inline__P24924_mk(s) { +function inline__P25068_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24924, depth: s.depth + 1, + parent: s, fn: inline__P25068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - remainingPath___24925: undefined, + remainingPath___25069: undefined, } } -function scene_generalAStar__P22027(s) { +function scene_generalAStar__P22171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21516,40 +21516,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.consideredTiles___24163 = undefined; - s.encountedLocations___24183 = undefined; - s.updateOrFillLocation___24186 = undefined; - s.end___24255 = undefined; - s.currLocation___24261 = undefined; - s.row___24271 = undefined; - s.col___24276 = undefined; - s.dataForCurrLocation___24281 = undefined; - s.neighbors___24293 = undefined; - s.corners___24295 = undefined; - s.left___24297 = undefined; - s.right___24303 = undefined; - s.top___24310 = undefined; - s.bottom___24316 = undefined; - s.leftIsWall___24323 = undefined; - s.rightIsWall___24330 = undefined; - s.topIsWall___24337 = undefined; - s.bottomIsWall___24344 = undefined; - s.topLeft___24359 = undefined; - s.bottomLeft___24378 = undefined; - s.topRight___24403 = undefined; - s.bottomRight___24422 = undefined; - s.neighborCost___24452 = undefined; - s.node___24458 = undefined; - s.unnamed284___U24 = undefined; - s.unnamed285___U25 = undefined; - s.cornerCost___24468 = undefined; - s.corner___24474 = undefined; - s.unnamed286___U28 = undefined; - s.unnamed287___U29 = undefined; - s.endCol___24480 = undefined; - s.endDataNode___24487 = undefined; - s.curr___24500 = undefined; - s.output___24502 = undefined; + s.consideredTiles___24307 = undefined; + s.encountedLocations___24327 = undefined; + s.updateOrFillLocation___24330 = undefined; + s.end___24399 = undefined; + s.currLocation___24405 = undefined; + s.row___24415 = undefined; + s.col___24420 = undefined; + s.dataForCurrLocation___24425 = undefined; + s.neighbors___24437 = undefined; + s.corners___24439 = undefined; + s.left___24441 = undefined; + s.right___24447 = undefined; + s.top___24454 = undefined; + s.bottom___24460 = undefined; + s.leftIsWall___24467 = undefined; + s.rightIsWall___24474 = undefined; + s.topIsWall___24481 = undefined; + s.bottomIsWall___24488 = undefined; + s.topLeft___24503 = undefined; + s.bottomLeft___24522 = undefined; + s.topRight___24547 = undefined; + s.bottomRight___24566 = undefined; + s.neighborCost___24596 = undefined; + s.node___24602 = undefined; + s.unnamed352___U24 = undefined; + s.unnamed353___U25 = undefined; + s.cornerCost___24612 = undefined; + s.corner___24618 = undefined; + s.unnamed354___U28 = undefined; + s.unnamed355___U29 = undefined; + s.endCol___24624 = undefined; + s.endDataNode___24631 = undefined; + s.curr___24644 = undefined; + s.output___24646 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21558,7 +21558,7 @@ switch (step) { s.arg4 = (s.lambdaArgs[4]); s.lambdaArgs = null; } - s.tmp_3 = scene_isWalkable__P24093_mk(s); + s.tmp_3 = scene_isWalkable__P24237_mk(s); s.tmp_3.arg0 = s.arg1; s.tmp_3.arg1 = s.arg2; s.tmp_3.arg2 = s.arg0; @@ -21576,30 +21576,30 @@ switch (step) { { step = 51; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(Heap__C22016_VT); + r0 = pxsim_pxtcore_mkClassInstance(Heap__C22160_VT); s.tmp_4 = r0; - s.tmp_5 = Heap_constructor__P22017_mk(s); + s.tmp_5 = Heap_constructor__P22161_mk(s); s.tmp_5.arg0 = s.tmp_4; - s.tmp_5.arg1 = inline__P24166; + s.tmp_5.arg1 = inline__P24310; s.callLocIdx = 74; s.pc = 53; return s.tmp_5; case 53: r0 = s.retval; - s.consideredTiles___24163 = (s.tmp_4); + s.consideredTiles___24307 = (s.tmp_4); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.encountedLocations___24183 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(4, updateOrFillLocation__P24186); + s.encountedLocations___24327 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(4, updateOrFillLocation__P24330); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.encountedLocations___24183); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.encountedLocations___24327); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg3); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.consideredTiles___24163); - s.updateOrFillLocation___24186 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.consideredTiles___24307); + s.updateOrFillLocation___24330 = (s.tmp_0); s.tmp_1 = lambda_4_mk(s); - s.tmp_1.argL = s.updateOrFillLocation___24186; + s.tmp_1.argL = s.updateOrFillLocation___24330; s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = null; s.tmp_1.arg2 = 0; @@ -21607,9 +21607,9 @@ switch (step) { s.callLocIdx = 82; s.pc = 54; return s.tmp_1; case 54: r0 = s.retval; - s.end___24255 = (null); + s.end___24399 = (null); case 3: - r0 = s.consideredTiles___24163.fields["store"]; + r0 = s.consideredTiles___24307.fields["store"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -21617,15 +21617,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 40; continue; } - s.tmp_3 = Heap_pop__P22019_mk(s); - s.tmp_3.arg0 = s.consideredTiles___24163; + s.tmp_3 = Heap_pop__P22163_mk(s); + s.tmp_3.arg0 = s.consideredTiles___24307; s.callLocIdx = 84; s.pc = 55; return s.tmp_3; case 55: r0 = s.retval; - s.currLocation___24261 = (r0); + s.currLocation___24405 = (r0); s.tmp_1 = lambda_2_mk(s); s.tmp_1.argL = s.arg4; - r0 = s.currLocation___24261.fields["loc"]; + r0 = s.currLocation___24405.fields["loc"]; s.tmp_1.arg0 = r0; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 85; s.pc = 56; return s.tmp_1; @@ -21634,36 +21634,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.currLocation___24261.fields["loc"]; - s.end___24255 = (r0); + r0 = s.currLocation___24405.fields["loc"]; + s.end___24399 = (r0); { step = 40; continue; } case 4: case 5: - s.tmp_0 = scene_locationRow__P24194_mk(s); - r0 = s.currLocation___24261.fields["loc"]; + s.tmp_0 = scene_locationRow__P24338_mk(s); + r0 = s.currLocation___24405.fields["loc"]; s.tmp_0.arg0 = r0; s.callLocIdx = 86; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.row___24271 = (r0); - s.tmp_0 = scene_locationCol__P24199_mk(s); - r0 = s.currLocation___24261.fields["loc"]; + s.row___24415 = (r0); + s.tmp_0 = scene_locationCol__P24343_mk(s); + r0 = s.currLocation___24405.fields["loc"]; s.tmp_0.arg0 = r0; s.callLocIdx = 87; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.col___24276 = (r0); - r0 = pxsim_Array__getAt(s.encountedLocations___24183, s.col___24276); + s.col___24420 = (r0); + r0 = pxsim_Array__getAt(s.encountedLocations___24327, s.col___24420); s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.row___24271); - s.dataForCurrLocation___24281 = (r0); - s.tmp_0 = r0 = s.dataForCurrLocation___24281; + r0 = pxsim_Array__getAt(s.tmp_0, s.row___24415); + s.dataForCurrLocation___24425 = (r0); + s.tmp_0 = r0 = s.dataForCurrLocation___24425; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.dataForCurrLocation___24281.fields["visited"]; + r0 = s.dataForCurrLocation___24425.fields["visited"]; case 7: // jmp value (already in r0) s.tmp_1 = r0; @@ -21672,45 +21672,45 @@ switch (step) { { step = 3; continue; } case 8: case 9: - r0 = (s.dataForCurrLocation___24281).fields["visited"] = (true); + r0 = (s.dataForCurrLocation___24425).fields["visited"] = (true); r0 = pxsim_Array__mk(); - s.neighbors___24293 = (r0); + s.neighbors___24437 = (r0); r0 = pxsim_Array__mk(); - s.corners___24295 = (r0); - s.tmp_0 = tiles_getTileLocation__P20908_mk(s); - r0 = (s.col___24276 - 1); + s.corners___24439 = (r0); + s.tmp_0 = tiles_getTileLocation__P21052_mk(s); + r0 = (s.col___24420 - 1); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.row___24271; + s.tmp_0.arg1 = s.row___24415; s.callLocIdx = 88; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.left___24297 = (r0); - s.tmp_0 = tiles_getTileLocation__P20908_mk(s); - r0 = (s.col___24276 + 1); + s.left___24441 = (r0); + s.tmp_0 = tiles_getTileLocation__P21052_mk(s); + r0 = (s.col___24420 + 1); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.row___24271; + s.tmp_0.arg1 = s.row___24415; s.callLocIdx = 89; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; - s.right___24303 = (r0); - s.tmp_0 = tiles_getTileLocation__P20908_mk(s); - s.tmp_0.arg0 = s.col___24276; - r0 = (s.row___24271 - 1); + s.right___24447 = (r0); + s.tmp_0 = tiles_getTileLocation__P21052_mk(s); + s.tmp_0.arg0 = s.col___24420; + r0 = (s.row___24415 - 1); s.tmp_0.arg1 = r0; s.callLocIdx = 90; s.pc = 61; return s.tmp_0; case 61: r0 = s.retval; - s.top___24310 = (r0); - s.tmp_0 = tiles_getTileLocation__P20908_mk(s); - s.tmp_0.arg0 = s.col___24276; - r0 = (s.row___24271 + 1); + s.top___24454 = (r0); + s.tmp_0 = tiles_getTileLocation__P21052_mk(s); + s.tmp_0.arg0 = s.col___24420; + r0 = (s.row___24415 + 1); s.tmp_0.arg1 = r0; s.callLocIdx = 91; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.bottom___24316 = (r0); - s.tmp_2 = scene_isWalkable__P24093_mk(s); - s.tmp_2.arg0 = s.left___24297; + s.bottom___24460 = (r0); + s.tmp_2 = scene_isWalkable__P24237_mk(s); + s.tmp_2.arg0 = s.left___24441; s.tmp_2.arg1 = s.arg2; s.tmp_2.arg2 = s.arg0; s.callLocIdx = 92; s.pc = 63; return s.tmp_2; @@ -21720,9 +21720,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.leftIsWall___24323 = (r0); - s.tmp_2 = scene_isWalkable__P24093_mk(s); - s.tmp_2.arg0 = s.right___24303; + s.leftIsWall___24467 = (r0); + s.tmp_2 = scene_isWalkable__P24237_mk(s); + s.tmp_2.arg0 = s.right___24447; s.tmp_2.arg1 = s.arg2; s.tmp_2.arg2 = s.arg0; s.callLocIdx = 93; s.pc = 64; return s.tmp_2; @@ -21732,9 +21732,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.rightIsWall___24330 = (r0); - s.tmp_2 = scene_isWalkable__P24093_mk(s); - s.tmp_2.arg0 = s.top___24310; + s.rightIsWall___24474 = (r0); + s.tmp_2 = scene_isWalkable__P24237_mk(s); + s.tmp_2.arg0 = s.top___24454; s.tmp_2.arg1 = s.arg2; s.tmp_2.arg2 = s.arg0; s.callLocIdx = 94; s.pc = 65; return s.tmp_2; @@ -21744,9 +21744,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.topIsWall___24337 = (r0); - s.tmp_2 = scene_isWalkable__P24093_mk(s); - s.tmp_2.arg0 = s.bottom___24316; + s.topIsWall___24481 = (r0); + s.tmp_2 = scene_isWalkable__P24237_mk(s); + s.tmp_2.arg0 = s.bottom___24460; s.tmp_2.arg1 = s.arg2; s.tmp_2.arg2 = s.arg0; s.callLocIdx = 95; s.pc = 66; return s.tmp_2; @@ -21756,31 +21756,31 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.bottomIsWall___24344 = (r0); - r0 = pxsim_numops_toBoolDecr(s.leftIsWall___24323); + s.bottomIsWall___24488 = (r0); + r0 = pxsim_numops_toBoolDecr(s.leftIsWall___24467); 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 = 18; continue; } - r0 = pxsim_Array__push(s.neighbors___24293, s.left___24297); - r0 = pxsim_numops_toBoolDecr(s.topIsWall___24337); + r0 = pxsim_Array__push(s.neighbors___24437, s.left___24441); + r0 = pxsim_numops_toBoolDecr(s.topIsWall___24481); 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 = 12; continue; } - s.tmp_2 = tiles_getTileLocation__P20908_mk(s); - r0 = (s.col___24276 - 1); + s.tmp_2 = tiles_getTileLocation__P21052_mk(s); + r0 = (s.col___24420 - 1); s.tmp_2.arg0 = r0; - r0 = (s.row___24271 - 1); + r0 = (s.row___24415 - 1); s.tmp_2.arg1 = r0; s.callLocIdx = 96; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; - s.topLeft___24359 = (r0); - s.tmp_3 = scene_isWall__P24369_mk(s); - s.tmp_3.arg0 = s.topLeft___24359; + s.topLeft___24503 = (r0); + s.tmp_3 = scene_isWall__P24513_mk(s); + s.tmp_3.arg0 = s.topLeft___24503; s.tmp_3.arg1 = s.arg0; s.callLocIdx = 97; s.pc = 68; return s.tmp_3; case 68: @@ -21792,28 +21792,28 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__push(s.corners___24295, s.topLeft___24359); + r0 = pxsim_Array__push(s.corners___24439, s.topLeft___24503); case 10: case 11: case 12: case 13: - r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___24344); + r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___24488); 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 = 16; continue; } - s.tmp_2 = tiles_getTileLocation__P20908_mk(s); - r0 = (s.col___24276 - 1); + s.tmp_2 = tiles_getTileLocation__P21052_mk(s); + r0 = (s.col___24420 - 1); s.tmp_2.arg0 = r0; - r0 = (s.row___24271 + 1); + r0 = (s.row___24415 + 1); s.tmp_2.arg1 = r0; s.callLocIdx = 98; s.pc = 69; return s.tmp_2; case 69: r0 = s.retval; - s.bottomLeft___24378 = (r0); - s.tmp_3 = scene_isWall__P24369_mk(s); - s.tmp_3.arg0 = s.bottomLeft___24378; + s.bottomLeft___24522 = (r0); + s.tmp_3 = scene_isWall__P24513_mk(s); + s.tmp_3.arg0 = s.bottomLeft___24522; s.tmp_3.arg1 = s.arg0; s.callLocIdx = 99; s.pc = 70; return s.tmp_3; case 70: @@ -21825,37 +21825,37 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = pxsim_Array__push(s.corners___24295, s.bottomLeft___24378); + r0 = pxsim_Array__push(s.corners___24439, s.bottomLeft___24522); case 14: case 15: case 16: case 17: case 18: case 19: - r0 = pxsim_numops_toBoolDecr(s.rightIsWall___24330); + r0 = pxsim_numops_toBoolDecr(s.rightIsWall___24474); 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 = 28; continue; } - r0 = pxsim_Array__push(s.neighbors___24293, s.right___24303); - r0 = pxsim_numops_toBoolDecr(s.topIsWall___24337); + r0 = pxsim_Array__push(s.neighbors___24437, s.right___24447); + r0 = pxsim_numops_toBoolDecr(s.topIsWall___24481); 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 = 22; continue; } - s.tmp_2 = tiles_getTileLocation__P20908_mk(s); - r0 = (s.col___24276 + 1); + s.tmp_2 = tiles_getTileLocation__P21052_mk(s); + r0 = (s.col___24420 + 1); s.tmp_2.arg0 = r0; - r0 = (s.row___24271 - 1); + r0 = (s.row___24415 - 1); s.tmp_2.arg1 = r0; s.callLocIdx = 100; s.pc = 71; return s.tmp_2; case 71: r0 = s.retval; - s.topRight___24403 = (r0); - s.tmp_3 = scene_isWall__P24369_mk(s); - s.tmp_3.arg0 = s.topRight___24403; + s.topRight___24547 = (r0); + s.tmp_3 = scene_isWall__P24513_mk(s); + s.tmp_3.arg0 = s.topRight___24547; s.tmp_3.arg1 = s.arg0; s.callLocIdx = 101; s.pc = 72; return s.tmp_3; case 72: @@ -21867,28 +21867,28 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__push(s.corners___24295, s.topRight___24403); + r0 = pxsim_Array__push(s.corners___24439, s.topRight___24547); case 20: case 21: case 22: case 23: - r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___24344); + r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___24488); 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 = 26; continue; } - s.tmp_2 = tiles_getTileLocation__P20908_mk(s); - r0 = (s.col___24276 + 1); + s.tmp_2 = tiles_getTileLocation__P21052_mk(s); + r0 = (s.col___24420 + 1); s.tmp_2.arg0 = r0; - r0 = (s.row___24271 + 1); + r0 = (s.row___24415 + 1); s.tmp_2.arg1 = r0; s.callLocIdx = 102; s.pc = 73; return s.tmp_2; case 73: r0 = s.retval; - s.bottomRight___24422 = (r0); - s.tmp_3 = scene_isWall__P24369_mk(s); - s.tmp_3.arg0 = s.bottomRight___24422; + s.bottomRight___24566 = (r0); + s.tmp_3 = scene_isWall__P24513_mk(s); + s.tmp_3.arg0 = s.bottomRight___24566; s.tmp_3.arg1 = s.arg0; s.callLocIdx = 103; s.pc = 74; return s.tmp_3; case 74: @@ -21900,106 +21900,106 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - r0 = pxsim_Array__push(s.corners___24295, s.bottomRight___24422); + r0 = pxsim_Array__push(s.corners___24439, s.bottomRight___24566); case 24: case 25: case 26: case 27: case 28: case 29: - r0 = pxsim_numops_toBoolDecr(s.topIsWall___24337); + r0 = pxsim_numops_toBoolDecr(s.topIsWall___24481); 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 = 30; continue; } - r0 = pxsim_Array__push(s.neighbors___24293, s.top___24310); + r0 = pxsim_Array__push(s.neighbors___24437, s.top___24454); case 30: case 31: - r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___24344); + r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___24488); 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 = 32; continue; } - r0 = pxsim_Array__push(s.neighbors___24293, s.bottom___24316); + r0 = pxsim_Array__push(s.neighbors___24437, s.bottom___24460); case 32: case 33: - r0 = s.currLocation___24261.fields["cost"]; + r0 = s.currLocation___24405.fields["cost"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.neighborCost___24452 = (r0); - s.node___24458 = (undefined); - s.unnamed284___U24 = (s.neighbors___24293); - s.unnamed285___U25 = (0); + s.neighborCost___24596 = (r0); + s.node___24602 = (undefined); + s.unnamed352___U24 = (s.neighbors___24437); + s.unnamed353___U25 = (0); case 34: - s.tmp_0 = r0 = s.unnamed285___U25; - r0 = pxsim_Array__length(s.unnamed284___U24); + s.tmp_0 = r0 = s.unnamed353___U25; + r0 = pxsim_Array__length(s.unnamed352___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 35; continue; } - r0 = pxsim_Array__getAt(s.unnamed284___U24, s.unnamed285___U25); - s.node___24458 = (r0); + r0 = pxsim_Array__getAt(s.unnamed352___U24, s.unnamed353___U25); + s.node___24602 = (r0); s.tmp_2 = lambda_4_mk(s); - s.tmp_2.argL = s.updateOrFillLocation___24186; - s.tmp_2.arg0 = s.node___24458; - s.tmp_2.arg1 = s.dataForCurrLocation___24281; - s.tmp_2.arg2 = s.neighborCost___24452; + s.tmp_2.argL = s.updateOrFillLocation___24330; + s.tmp_2.arg0 = s.node___24602; + s.tmp_2.arg1 = s.dataForCurrLocation___24425; + s.tmp_2.arg2 = s.neighborCost___24596; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 104; s.pc = 75; return s.tmp_2; case 75: r0 = s.retval; - r0 = (s.unnamed285___U25 + 1); - s.unnamed285___U25 = (r0); + r0 = (s.unnamed353___U25 + 1); + s.unnamed353___U25 = (r0); { step = 34; continue; } case 35: - s.unnamed284___U24 = (undefined); - r0 = pxsim_Array__length(s.corners___24295); + s.unnamed352___U24 = (undefined); + r0 = pxsim_Array__length(s.corners___24439); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 38; continue; } - r0 = s.currLocation___24261.fields["cost"]; + r0 = s.currLocation___24405.fields["cost"]; s.tmp_1 = r0; r0 = (s.tmp_1 + 1.414213562373095); - s.cornerCost___24468 = (r0); - s.corner___24474 = (undefined); - s.unnamed286___U28 = (s.corners___24295); - s.unnamed287___U29 = (0); + s.cornerCost___24612 = (r0); + s.corner___24618 = (undefined); + s.unnamed354___U28 = (s.corners___24439); + s.unnamed355___U29 = (0); case 36: - s.tmp_0 = r0 = s.unnamed287___U29; - r0 = pxsim_Array__length(s.unnamed286___U28); + s.tmp_0 = r0 = s.unnamed355___U29; + r0 = pxsim_Array__length(s.unnamed354___U28); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 37; continue; } - r0 = pxsim_Array__getAt(s.unnamed286___U28, s.unnamed287___U29); - s.corner___24474 = (r0); + r0 = pxsim_Array__getAt(s.unnamed354___U28, s.unnamed355___U29); + s.corner___24618 = (r0); s.tmp_2 = lambda_4_mk(s); - s.tmp_2.argL = s.updateOrFillLocation___24186; - s.tmp_2.arg0 = s.corner___24474; - s.tmp_2.arg1 = s.dataForCurrLocation___24281; - s.tmp_2.arg2 = s.cornerCost___24468; + s.tmp_2.argL = s.updateOrFillLocation___24330; + s.tmp_2.arg0 = s.corner___24618; + s.tmp_2.arg1 = s.dataForCurrLocation___24425; + s.tmp_2.arg2 = s.cornerCost___24612; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 105; s.pc = 76; return s.tmp_2; case 76: r0 = s.retval; - r0 = (s.unnamed287___U29 + 1); - s.unnamed287___U29 = (r0); + r0 = (s.unnamed355___U29 + 1); + s.unnamed355___U29 = (r0); { step = 36; continue; } case 37: - s.unnamed286___U28 = (undefined); + s.unnamed354___U28 = (undefined); case 38: case 39: { step = 3; continue; } case 40: - s.tmp_0 = r0 = s.end___24255; + s.tmp_0 = r0 = s.end___24399; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 41; continue; } r0 = s.tmp_0; { step = 42; continue; } case 41: - s.tmp_1 = r0 = s.encountedLocations___24183; - s.tmp_3 = scene_locationCol__P24199_mk(s); - s.tmp_3.arg0 = s.end___24255; + s.tmp_1 = r0 = s.encountedLocations___24327; + s.tmp_3 = scene_locationCol__P24343_mk(s); + s.tmp_3.arg0 = s.end___24399; s.callLocIdx = 106; s.pc = 77; return s.tmp_3; case 77: r0 = s.retval; @@ -22008,16 +22008,16 @@ switch (step) { case 42: // jmp value (already in r0) s.tmp_4 = r0; - s.endCol___24480 = (s.tmp_4); - s.tmp_0 = r0 = s.endCol___24480; + s.endCol___24624 = (s.tmp_4); + s.tmp_0 = r0 = s.endCol___24624; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 43; continue; } r0 = s.tmp_0; { step = 44; continue; } case 43: - s.tmp_1 = r0 = s.endCol___24480; - s.tmp_3 = scene_locationRow__P24194_mk(s); - s.tmp_3.arg0 = s.end___24255; + s.tmp_1 = r0 = s.endCol___24624; + s.tmp_3 = scene_locationRow__P24338_mk(s); + s.tmp_3.arg0 = s.end___24399; s.callLocIdx = 107; s.pc = 78; return s.tmp_3; case 78: r0 = s.retval; @@ -22026,8 +22026,8 @@ switch (step) { case 44: // jmp value (already in r0) s.tmp_4 = r0; - s.endDataNode___24487 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.end___24255); + s.endDataNode___24631 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.end___24399); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -22036,7 +22036,7 @@ switch (step) { r0 = s.tmp_0; { step = 46; continue; } case 45: - r0 = pxsim_numops_toBoolDecr(s.endDataNode___24487); + r0 = pxsim_numops_toBoolDecr(s.endDataNode___24631); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 46: @@ -22048,34 +22048,34 @@ switch (step) { { step = 51; continue; } case 47: case 48: - s.curr___24500 = (s.endDataNode___24487); + s.curr___24644 = (s.endDataNode___24631); r0 = pxsim_Array__mk(); - s.output___24502 = (r0); + s.output___24646 = (r0); case 49: - r0 = pxsim_numops_toBoolDecr(s.curr___24500); + r0 = pxsim_numops_toBoolDecr(s.curr___24644); if (!r0) { step = 50; continue; } - s.tmp_0 = helpers_arrayUnshift__P18666_mk(s); - s.tmp_0.arg0 = s.output___24502; - r0 = s.curr___24500.fields["l"]; + s.tmp_0 = helpers_arrayUnshift__P18810_mk(s); + s.tmp_0.arg0 = s.output___24646; + r0 = s.curr___24644.fields["l"]; s.tmp_0.arg1 = r0; s.callLocIdx = 108; s.pc = 79; return s.tmp_0; case 79: r0 = s.retval; - r0 = s.curr___24500.fields["parent"]; - s.curr___24500 = (r0); + r0 = s.curr___24644.fields["parent"]; + s.curr___24644 = (r0); { step = 49; continue; } case 50: - r0 = s.output___24502; + r0 = s.output___24646; case 51: return leave(s, r0) default: oops() } } } -scene_generalAStar__P22027.info = {"start":1723,"length":5198,"line":53,"column":4,"endLine":198,"endColumn":5,"fileName":"a-star.ts","functionName":"generalAStar","argumentNames":["tm","start","onTilesOf","heuristic","isEnd"]} +scene_generalAStar__P22171.info = {"start":1723,"length":5198,"line":53,"column":4,"endLine":198,"endColumn":5,"fileName":"a-star.ts","functionName":"generalAStar","argumentNames":["tm","start","onTilesOf","heuristic","isEnd"]} -function scene_generalAStar__P22027_mk(s) { +function scene_generalAStar__P22171_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_generalAStar__P22027, depth: s.depth + 1, + parent: s, fn: scene_generalAStar__P22171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22083,40 +22083,40 @@ function scene_generalAStar__P22027_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - consideredTiles___24163: undefined, - encountedLocations___24183: undefined, - updateOrFillLocation___24186: undefined, - end___24255: undefined, - currLocation___24261: undefined, - row___24271: undefined, - col___24276: undefined, - dataForCurrLocation___24281: undefined, - neighbors___24293: undefined, - corners___24295: undefined, - left___24297: undefined, - right___24303: undefined, - top___24310: undefined, - bottom___24316: undefined, - leftIsWall___24323: undefined, - rightIsWall___24330: undefined, - topIsWall___24337: undefined, - bottomIsWall___24344: undefined, - topLeft___24359: undefined, - bottomLeft___24378: undefined, - topRight___24403: undefined, - bottomRight___24422: undefined, - neighborCost___24452: undefined, - node___24458: undefined, - unnamed284___U24: undefined, - unnamed285___U25: undefined, - cornerCost___24468: undefined, - corner___24474: undefined, - unnamed286___U28: undefined, - unnamed287___U29: undefined, - endCol___24480: undefined, - endDataNode___24487: undefined, - curr___24500: undefined, - output___24502: undefined, + consideredTiles___24307: undefined, + encountedLocations___24327: undefined, + updateOrFillLocation___24330: undefined, + end___24399: undefined, + currLocation___24405: undefined, + row___24415: undefined, + col___24420: undefined, + dataForCurrLocation___24425: undefined, + neighbors___24437: undefined, + corners___24439: undefined, + left___24441: undefined, + right___24447: undefined, + top___24454: undefined, + bottom___24460: undefined, + leftIsWall___24467: undefined, + rightIsWall___24474: undefined, + topIsWall___24481: undefined, + bottomIsWall___24488: undefined, + topLeft___24503: undefined, + bottomLeft___24522: undefined, + topRight___24547: undefined, + bottomRight___24566: undefined, + neighborCost___24596: undefined, + node___24602: undefined, + unnamed352___U24: undefined, + unnamed353___U25: undefined, + cornerCost___24612: undefined, + corner___24618: undefined, + unnamed354___U28: undefined, + unnamed355___U29: undefined, + endCol___24624: undefined, + endDataNode___24631: undefined, + curr___24644: undefined, + output___24646: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22128,7 +22128,7 @@ function scene_generalAStar__P22027_mk(s) { -function inline__P24166(s) { +function inline__P24310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22163,12 +22163,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24166.info = {"start":2110,"length":67,"line":62,"column":12,"endLine":62,"endColumn":79,"fileName":"a-star.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P24310.info = {"start":2110,"length":67,"line":62,"column":12,"endLine":62,"endColumn":79,"fileName":"a-star.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P24166_mk(s) { +function inline__P24310_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24166, depth: s.depth + 1, + parent: s, fn: inline__P24310, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22186,7 +22186,7 @@ function inline__P24166_mk(s) { -function updateOrFillLocation__P24186(s) { +function updateOrFillLocation__P24330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22196,33 +22196,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___24190 = undefined; - s.col___24195 = undefined; - s.colData___24204 = undefined; - s.lData___24214 = undefined; - s.h___24242 = undefined; + s.row___24334 = undefined; + s.col___24339 = undefined; + s.colData___24348 = undefined; + s.lData___24358 = undefined; + s.h___24386 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = scene_locationRow__P24194_mk(s); + s.tmp_0 = scene_locationRow__P24338_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 75; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.row___24190 = (r0); - s.tmp_0 = scene_locationCol__P24199_mk(s); + s.row___24334 = (r0); + s.tmp_0 = scene_locationCol__P24343_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 76; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.col___24195 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P20900_mk(s); + s.col___24339 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P21044_mk(s); s.tmp_1.arg0 = s.caps[0]; - s.tmp_1.arg1 = s.col___24195; - s.tmp_1.arg2 = s.row___24190; + s.tmp_1.arg1 = s.col___24339; + s.tmp_1.arg2 = s.row___24334; s.callLocIdx = 77; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -22232,7 +22232,7 @@ switch (step) { { step = 11; continue; } case 1: case 2: - r0 = pxsim_Array__getAt(s.caps[1], s.col___24195); + r0 = pxsim_Array__getAt(s.caps[1], s.col___24339); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); if (!r0) { step = 3; continue; } @@ -22240,7 +22240,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_3 = r0 = s.caps[1]; - s.tmp_4 = r0 = s.col___24195; + s.tmp_4 = r0 = s.col___24339; r0 = pxsim_Array__mk(); s.tmp_5 = r0; r0 = pxsim_Array_.setAt(s.tmp_3, s.tmp_4, s.tmp_5); @@ -22248,18 +22248,18 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_6 = r0; - s.colData___24204 = (s.tmp_6); - r0 = pxsim_Array__getAt(s.colData___24204, s.row___24190); - s.lData___24214 = (r0); - r0 = pxsim_numops_toBoolDecr(s.lData___24214); + s.colData___24348 = (s.tmp_6); + r0 = pxsim_Array__getAt(s.colData___24348, s.row___24334); + s.lData___24358 = (r0); + r0 = pxsim_numops_toBoolDecr(s.lData___24358); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_LocationNode__C24074_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_LocationNode__C24218_VT); s.tmp_2 = r0; - s.tmp_3 = scene_LocationNode_constructor__P24075_mk(s); + s.tmp_3 = scene_LocationNode_constructor__P24219_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg0; s.tmp_3.arg2 = s.arg1; @@ -22267,10 +22267,10 @@ switch (step) { s.callLocIdx = 78; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; - r0 = pxsim_Array_.setAt(s.colData___24204, s.row___24190, s.tmp_2); + r0 = pxsim_Array_.setAt(s.colData___24348, s.row___24334, s.tmp_2); { step = 10; continue; } case 5: - r0 = s.lData___24214.fields["visited"]; + r0 = s.lData___24358.fields["visited"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22281,7 +22281,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.lData___24214.fields["lastCost"]; + r0 = s.lData___24358.fields["lastCost"]; s.tmp_3 = r0; r0 = (s.tmp_3 > s.arg2); case 7: @@ -22289,8 +22289,8 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 8; continue; } - r0 = (s.lData___24214).fields["lastCost"] = (s.arg2); - r0 = (s.lData___24214).fields["parent"] = (s.arg1); + r0 = (s.lData___24358).fields["lastCost"] = (s.arg2); + r0 = (s.lData___24358).fields["parent"] = (s.arg1); { step = 9; continue; } case 8: { step = 11; continue; } @@ -22303,18 +22303,18 @@ switch (step) { s.callLocIdx = 79; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.h___24242 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_PrioritizedLocation__C24068_VT); + s.h___24386 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_PrioritizedLocation__C24212_VT); s.tmp_0 = r0; - s.tmp_1 = scene_PrioritizedLocation_constructor__P24069_mk(s); + s.tmp_1 = scene_PrioritizedLocation_constructor__P24213_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg2; - s.tmp_1.arg3 = s.h___24242; + s.tmp_1.arg3 = s.h___24386; s.callLocIdx = 80; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_2 = Heap_push__P22018_mk(s); + s.tmp_2 = Heap_push__P22162_mk(s); s.tmp_2.arg0 = s.caps[3]; s.tmp_2.arg1 = s.tmp_0; s.callLocIdx = 81; s.pc = 18; return s.tmp_2; @@ -22325,12 +22325,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -updateOrFillLocation__P24186.info = {"start":2261,"length":1162,"line":66,"column":8,"endLine":103,"endColumn":9,"fileName":"a-star.ts","functionName":"updateOrFillLocation","argumentNames":["l","parent","cost"]} +updateOrFillLocation__P24330.info = {"start":2261,"length":1162,"line":66,"column":8,"endLine":103,"endColumn":9,"fileName":"a-star.ts","functionName":"updateOrFillLocation","argumentNames":["l","parent","cost"]} -function updateOrFillLocation__P24186_mk(s) { +function updateOrFillLocation__P24330_mk(s) { checkStack(s.depth); return { - parent: s, fn: updateOrFillLocation__P24186, depth: s.depth + 1, + parent: s, fn: updateOrFillLocation__P24330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22339,11 +22339,11 @@ function updateOrFillLocation__P24186_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - row___24190: undefined, - col___24195: undefined, - colData___24204: undefined, - lData___24214: undefined, - h___24242: undefined, + row___24334: undefined, + col___24339: undefined, + colData___24348: undefined, + lData___24358: undefined, + h___24386: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22353,7 +22353,7 @@ function updateOrFillLocation__P24186_mk(s) { -function helpers_arrayUnshift__P18666(s) { +function helpers_arrayUnshift__P18810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22373,12 +22373,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayUnshift__P18666.info = {"start":4898,"length":126,"line":180,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayUnshift","argumentNames":["arr","value"]} +helpers_arrayUnshift__P18810.info = {"start":4898,"length":126,"line":180,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayUnshift","argumentNames":["arr","value"]} -function helpers_arrayUnshift__P18666_mk(s) { +function helpers_arrayUnshift__P18810_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayUnshift__P18666, depth: s.depth + 1, + parent: s, fn: helpers_arrayUnshift__P18810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22388,7 +22388,7 @@ function helpers_arrayUnshift__P18666_mk(s) { -function scene_isWall__P24369(s) { +function scene_isWall__P24513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22398,45 +22398,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___24553 = undefined; - s.c___24557 = undefined; + s.r___24697 = undefined; + s.c___24701 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_locationRow__P24194_mk(s); + s.tmp_0 = scene_locationRow__P24338_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 115; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.r___24553 = (r0); - s.tmp_0 = scene_locationCol__P24199_mk(s); + s.r___24697 = (r0); + s.tmp_0 = scene_locationCol__P24343_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 116; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.c___24557 = (r0); - s.tmp_0 = tiles_TileMap_isObstacle__P20900_mk(s); + s.c___24701 = (r0); + s.tmp_0 = tiles_TileMap_isObstacle__P21044_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.c___24557; - s.tmp_0.arg2 = s.r___24553; + s.tmp_0.arg1 = s.c___24701; + s.tmp_0.arg2 = s.r___24697; s.callLocIdx = 117; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_isWall__P24369.info = {"start":7573,"length":169,"line":220,"column":4,"endLine":224,"endColumn":5,"fileName":"a-star.ts","functionName":"isWall","argumentNames":["l","tm"]} +scene_isWall__P24513.info = {"start":7573,"length":169,"line":220,"column":4,"endLine":224,"endColumn":5,"fileName":"a-star.ts","functionName":"isWall","argumentNames":["l","tm"]} -function scene_isWall__P24369_mk(s) { +function scene_isWall__P24513_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_isWall__P24369, depth: s.depth + 1, + parent: s, fn: scene_isWall__P24513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - r___24553: undefined, - c___24557: undefined, + r___24697: undefined, + c___24701: undefined, arg0: undefined, arg1: undefined, } } @@ -22445,7 +22445,7 @@ function scene_isWall__P24369_mk(s) { -function Heap_pop__P22019(s) { +function Heap_pop__P22163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22455,22 +22455,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.output___31629 = undefined; - s.nextRoot___31634 = undefined; + s.output___31773 = undefined; + s.nextRoot___31778 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22016_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, 0); - s.output___31629 = (r0); + s.output___31773 = (r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; r0 = pxsim_Array_.pop(s.tmp_0); - s.nextRoot___31634 = (r0); + s.nextRoot___31778 = (r0); r0 = s.arg0.fields["store"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -22481,8 +22481,8 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["store"]; s.tmp_3 = r0; - r0 = pxsim_Array_.setAt(s.tmp_3, 0, s.nextRoot___31634); - s.tmp_0 = Heap_percolateDown__P24063_mk(s); + r0 = pxsim_Array_.setAt(s.tmp_3, 0, s.nextRoot___31778); + s.tmp_0 = Heap_percolateDown__P24207_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1304; s.pc = 3; return s.tmp_0; @@ -22490,23 +22490,23 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.output___31629; + r0 = s.output___31773; return leave(s, r0) default: oops() } } } -Heap_pop__P22019.info = {"start":1536,"length":236,"line":61,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"pop","argumentNames":["this"]} +Heap_pop__P22163.info = {"start":1536,"length":236,"line":61,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"pop","argumentNames":["this"]} -function Heap_pop__P22019_mk(s) { +function Heap_pop__P22163_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_pop__P22019, depth: s.depth + 1, + parent: s, fn: Heap_pop__P22163, 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, - output___31629: undefined, - nextRoot___31634: undefined, + output___31773: undefined, + nextRoot___31778: undefined, arg0: undefined, } } @@ -22514,7 +22514,7 @@ function Heap_pop__P22019_mk(s) { -function Heap_percolateDown__P24063(s) { +function Heap_percolateDown__P24207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22524,39 +22524,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.data___31649 = undefined; - s.max___31652 = undefined; - s.left___31660 = undefined; - s.right___31664 = undefined; - s.curr___31668 = undefined; + s.data___31793 = undefined; + s.max___31796 = undefined; + s.left___31804 = undefined; + s.right___31808 = undefined; + s.curr___31812 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22016_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); r0 = s.arg0.fields["store"]; - s.data___31649 = (r0); + s.data___31793 = (r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); - s.max___31652 = (r0); + s.max___31796 = (r0); case 1: - r0 = (s.arg1 < s.max___31652); + r0 = (s.arg1 < s.max___31796); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } r0 = (s.arg1 << 1); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); - s.left___31660 = (r0); + s.left___31804 = (r0); r0 = (s.arg1 << 1); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.right___31664 = (r0); - s.curr___31668 = (s.arg1); - r0 = (s.left___31660 < s.max___31652); + s.right___31808 = (r0); + s.curr___31812 = (s.arg1); + r0 = (s.left___31804 < s.max___31796); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -22565,9 +22565,9 @@ switch (step) { case 2: s.tmp_2 = if_comparator_3_mk(s); s.tmp_2.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.data___31649, s.curr___31668); + r0 = pxsim_Array__getAt(s.data___31793, s.curr___31812); s.tmp_2.arg1 = r0; - r0 = pxsim_Array__getAt(s.data___31649, s.left___31660); + r0 = pxsim_Array__getAt(s.data___31793, s.left___31804); s.tmp_2.arg2 = r0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "comparator"), 3); @@ -22587,10 +22587,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 4; continue; } - s.curr___31668 = (s.left___31660); + s.curr___31812 = (s.left___31804); case 4: case 5: - r0 = (s.right___31664 < s.max___31652); + r0 = (s.right___31808 < s.max___31796); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } @@ -22599,9 +22599,9 @@ switch (step) { case 6: s.tmp_2 = if_comparator_3_mk(s); s.tmp_2.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.data___31649, s.curr___31668); + r0 = pxsim_Array__getAt(s.data___31793, s.curr___31812); s.tmp_2.arg1 = r0; - r0 = pxsim_Array__getAt(s.data___31649, s.right___31664); + r0 = pxsim_Array__getAt(s.data___31793, s.right___31808); s.tmp_2.arg2 = r0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "comparator"), 3); @@ -22621,45 +22621,45 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 8; continue; } - s.curr___31668 = (s.right___31664); + s.curr___31812 = (s.right___31808); case 8: case 9: - r0 = (s.curr___31668 == s.arg1); + r0 = (s.curr___31812 == s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } { step = 12; continue; } case 10: case 11: - r0 = pxsim_Array__getAt(s.data___31649, s.arg1); + r0 = pxsim_Array__getAt(s.data___31793, s.arg1); s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.data___31649, s.curr___31668); + r0 = pxsim_Array__getAt(s.data___31793, s.curr___31812); s.tmp_2 = r0; - r0 = pxsim_Array_.setAt(s.data___31649, s.curr___31668, s.tmp_1); - r0 = pxsim_Array_.setAt(s.data___31649, s.arg1, s.tmp_2); - s.arg1 = (s.curr___31668); + r0 = pxsim_Array_.setAt(s.data___31793, s.curr___31812, s.tmp_1); + r0 = pxsim_Array_.setAt(s.data___31793, s.arg1, s.tmp_2); + s.arg1 = (s.curr___31812); { step = 1; continue; } case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -Heap_percolateDown__P24063.info = {"start":367,"length":645,"line":13,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"percolateDown","argumentNames":["this","i"]} +Heap_percolateDown__P24207.info = {"start":367,"length":645,"line":13,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"percolateDown","argumentNames":["this","i"]} -function Heap_percolateDown__P24063_mk(s) { +function Heap_percolateDown__P24207_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_percolateDown__P24063, depth: s.depth + 1, + parent: s, fn: Heap_percolateDown__P24207, 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, - data___31649: undefined, - max___31652: undefined, - left___31660: undefined, - right___31664: undefined, - curr___31668: undefined, + data___31793: undefined, + max___31796: undefined, + left___31804: undefined, + right___31808: undefined, + curr___31812: undefined, arg0: undefined, arg1: undefined, } } @@ -22668,7 +22668,7 @@ function Heap_percolateDown__P24063_mk(s) { -function Heap_rightChild__P24067(s) { +function Heap_rightChild__P24211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22684,19 +22684,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22016_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); r0 = (s.arg1 << 1); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); return leave(s, r0) default: oops() } } } -Heap_rightChild__P24067.info = {"start":2435,"length":68,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"rightChild","argumentNames":["this","i"]} +Heap_rightChild__P24211.info = {"start":2435,"length":68,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"rightChild","argumentNames":["this","i"]} -function Heap_rightChild__P24067_mk(s) { +function Heap_rightChild__P24211_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_rightChild__P24067, depth: s.depth + 1, + parent: s, fn: Heap_rightChild__P24211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22707,7 +22707,7 @@ function Heap_rightChild__P24067_mk(s) { -function Heap_leftChild__P24066(s) { +function Heap_leftChild__P24210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22723,19 +22723,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22016_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); r0 = (s.arg1 << 1); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); return leave(s, r0) default: oops() } } } -Heap_leftChild__P24066.info = {"start":2362,"length":67,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"leftChild","argumentNames":["this","i"]} +Heap_leftChild__P24210.info = {"start":2362,"length":67,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"leftChild","argumentNames":["this","i"]} -function Heap_leftChild__P24066_mk(s) { +function Heap_leftChild__P24210_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_leftChild__P24066, depth: s.depth + 1, + parent: s, fn: Heap_leftChild__P24210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22746,7 +22746,7 @@ function Heap_leftChild__P24066_mk(s) { -function Heap_length__P22021(s) { +function Heap_length__P22165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22761,20 +22761,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22016_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -Heap_length__P22021.info = {"start":1832,"length":54,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"length","argumentNames":["this"]} -Heap_length__P22021.isGetter = true; +Heap_length__P22165.info = {"start":1832,"length":54,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"length","argumentNames":["this"]} +Heap_length__P22165.isGetter = true; -function Heap_length__P22021_mk(s) { +function Heap_length__P22165_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_length__P22021, depth: s.depth + 1, + parent: s, fn: Heap_length__P22165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22784,7 +22784,7 @@ function Heap_length__P22021_mk(s) { -function scene_PrioritizedLocation_constructor__P24069(s) { +function scene_PrioritizedLocation_constructor__P24213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22802,7 +22802,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_PrioritizedLocation__C24068_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_PrioritizedLocation__C24212_VT)) failedCast(r0); r0 = (s.arg0).fields["loc"] = (s.arg1); r0 = (s.arg0).fields["cost"] = (s.arg2); r0 = (s.arg0).fields["extraCost"] = (s.arg3); @@ -22810,12 +22810,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_PrioritizedLocation_constructor__P24069.info = {"start":60,"length":176,"line":2,"column":8,"endLine":7,"endColumn":13,"fileName":"a-star.ts","functionName":"inline","argumentNames":["this","loc","cost","extraCost"]} +scene_PrioritizedLocation_constructor__P24213.info = {"start":60,"length":176,"line":2,"column":8,"endLine":7,"endColumn":13,"fileName":"a-star.ts","functionName":"inline","argumentNames":["this","loc","cost","extraCost"]} -function scene_PrioritizedLocation_constructor__P24069_mk(s) { +function scene_PrioritizedLocation_constructor__P24213_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_PrioritizedLocation_constructor__P24069, depth: s.depth + 1, + parent: s, fn: scene_PrioritizedLocation_constructor__P24213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22827,7 +22827,7 @@ function scene_PrioritizedLocation_constructor__P24069_mk(s) { -function Heap_push__P22018(s) { +function Heap_push__P22162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22843,11 +22843,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22016_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_0 = Heap_percolateUp__P24064_mk(s); + s.tmp_0 = Heap_percolateUp__P24208_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1302; s.pc = 1; return s.tmp_0; case 1: @@ -22856,12 +22856,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Heap_push__P22018.info = {"start":1456,"length":74,"line":56,"column":4,"endLine":59,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"push","argumentNames":["this","v"]} +Heap_push__P22162.info = {"start":1456,"length":74,"line":56,"column":4,"endLine":59,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"push","argumentNames":["this","v"]} -function Heap_push__P22018_mk(s) { +function Heap_push__P22162_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_push__P22018, depth: s.depth + 1, + parent: s, fn: Heap_push__P22162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22872,7 +22872,7 @@ function Heap_push__P22018_mk(s) { -function Heap_percolateUp__P24064(s) { +function Heap_percolateUp__P24208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22882,43 +22882,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___31742 = undefined; - s.curr___31750 = undefined; - s.parentIndex___31755 = undefined; - s.parent___31759 = undefined; + s.i___31886 = undefined; + s.curr___31894 = undefined; + s.parentIndex___31899 = undefined; + s.parent___31903 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22016_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); r0 = s.arg0.fields["store"]; s.tmp_1 = r0; r0 = pxsim_Array__length(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.i___31742 = (r0); + s.i___31886 = (r0); case 1: - r0 = (s.i___31742 > 0); + r0 = (s.i___31886 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } r0 = s.arg0.fields["store"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.i___31742); - s.curr___31750 = (r0); - r0 = (s.i___31742 - 1); + r0 = pxsim_Array__getAt(s.tmp_1, s.i___31886); + s.curr___31894 = (r0); + r0 = (s.i___31886 - 1); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.parentIndex___31755 = (r0); + s.parentIndex___31899 = (r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.parentIndex___31755); - s.parent___31759 = (r0); + r0 = pxsim_Array__getAt(s.tmp_0, s.parentIndex___31899); + s.parent___31903 = (r0); s.tmp_2 = if_comparator_3_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.parent___31759; - s.tmp_2.arg2 = s.curr___31750; + s.tmp_2.arg1 = s.parent___31903; + s.tmp_2.arg2 = s.curr___31894; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "comparator"), 3); s.callLocIdx = 1301; s.pc = 5; return s.tmp_2; @@ -22940,32 +22940,32 @@ switch (step) { case 3: r0 = s.arg0.fields["store"]; s.tmp_3 = r0; - r0 = pxsim_Array_.setAt(s.tmp_3, s.i___31742, s.parent___31759); + r0 = pxsim_Array_.setAt(s.tmp_3, s.i___31886, s.parent___31903); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.parentIndex___31755, s.curr___31750); - s.i___31742 = (s.parentIndex___31755); + r0 = pxsim_Array_.setAt(s.tmp_0, s.parentIndex___31899, s.curr___31894); + s.i___31886 = (s.parentIndex___31899); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -Heap_percolateUp__P24064.info = {"start":1018,"length":432,"line":38,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"percolateUp","argumentNames":["this"]} +Heap_percolateUp__P24208.info = {"start":1018,"length":432,"line":38,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"percolateUp","argumentNames":["this"]} -function Heap_percolateUp__P24064_mk(s) { +function Heap_percolateUp__P24208_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_percolateUp__P24064, depth: s.depth + 1, + parent: s, fn: Heap_percolateUp__P24208, 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, - i___31742: undefined, - curr___31750: undefined, - parentIndex___31755: undefined, - parent___31759: undefined, + i___31886: undefined, + curr___31894: undefined, + parentIndex___31899: undefined, + parent___31903: undefined, arg0: undefined, } } @@ -22973,7 +22973,7 @@ function Heap_percolateUp__P24064_mk(s) { -function Heap_parent__P24065(s) { +function Heap_parent__P24209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22989,19 +22989,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22016_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); r0 = (s.arg1 - 1); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); return leave(s, r0) default: oops() } } } -Heap_parent__P24065.info = {"start":2292,"length":64,"line":102,"column":4,"endLine":104,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"parent","argumentNames":["this","i"]} +Heap_parent__P24209.info = {"start":2292,"length":64,"line":102,"column":4,"endLine":104,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"parent","argumentNames":["this","i"]} -function Heap_parent__P24065_mk(s) { +function Heap_parent__P24209_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_parent__P24065, depth: s.depth + 1, + parent: s, fn: Heap_parent__P24209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23012,7 +23012,7 @@ function Heap_parent__P24065_mk(s) { -function scene_LocationNode_constructor__P24075(s) { +function scene_LocationNode_constructor__P24219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23030,7 +23030,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_LocationNode__C24074_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_LocationNode__C24218_VT)) failedCast(r0); r0 = (s.arg0).fields["l"] = (s.arg1); r0 = (s.arg0).fields["parent"] = (s.arg2); r0 = (s.arg0).fields["lastCost"] = (s.arg3); @@ -23039,12 +23039,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_LocationNode_constructor__P24075.info = {"start":317,"length":189,"line":13,"column":8,"endLine":19,"endColumn":9,"fileName":"a-star.ts","functionName":"inline","argumentNames":["this","l","parent","lastCost"]} +scene_LocationNode_constructor__P24219.info = {"start":317,"length":189,"line":13,"column":8,"endLine":19,"endColumn":9,"fileName":"a-star.ts","functionName":"inline","argumentNames":["this","l","parent","lastCost"]} -function scene_LocationNode_constructor__P24075_mk(s) { +function scene_LocationNode_constructor__P24219_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_LocationNode_constructor__P24075, depth: s.depth + 1, + parent: s, fn: scene_LocationNode_constructor__P24219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23056,7 +23056,7 @@ function scene_LocationNode_constructor__P24075_mk(s) { -function tiles_TileMap_isObstacle__P20900(s) { +function tiles_TileMap_isObstacle__P21044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23073,7 +23073,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -23094,7 +23094,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P20880_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P21024_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -23120,12 +23120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P20900.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__P21044.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__P20900_mk(s) { +function tiles_TileMap_isObstacle__P21044_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P20900, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P21044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23148,7 +23148,7 @@ function tiles_TileMap_isObstacle__P20900_mk(s) { -function tiles_TileMapData_isOutsideMap__P20880(s) { +function tiles_TileMapData_isOutsideMap__P21024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23165,7 +23165,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -23205,12 +23205,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P20880.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__P21024.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__P20880_mk(s) { +function tiles_TileMapData_isOutsideMap__P21024_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P20880, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P21024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23229,7 +23229,7 @@ function tiles_TileMapData_isOutsideMap__P20880_mk(s) { -function tiles_TileMapData_isWall__P20879(s) { +function tiles_TileMapData_isWall__P21023(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23246,7 +23246,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -23255,12 +23255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P20879.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__P21023.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__P20879_mk(s) { +function tiles_TileMapData_isWall__P21023_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P20879, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P21023, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23273,7 +23273,7 @@ function tiles_TileMapData_isWall__P20879_mk(s) { -function scene_locationCol__P24199(s) { +function scene_locationCol__P24343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23287,7 +23287,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = tiles_Location_x__P20857_mk(s); + s.tmp_1 = tiles_Location_x__P21001_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 114; s.pc = 1; return s.tmp_1; case 1: @@ -23297,12 +23297,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_locationCol__P24199.info = {"start":7483,"length":82,"line":216,"column":4,"endLine":218,"endColumn":5,"fileName":"a-star.ts","functionName":"locationCol","argumentNames":["l"]} +scene_locationCol__P24343.info = {"start":7483,"length":82,"line":216,"column":4,"endLine":218,"endColumn":5,"fileName":"a-star.ts","functionName":"locationCol","argumentNames":["l"]} -function scene_locationCol__P24199_mk(s) { +function scene_locationCol__P24343_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_locationCol__P24199, depth: s.depth + 1, + parent: s, fn: scene_locationCol__P24343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23313,7 +23313,7 @@ function scene_locationCol__P24199_mk(s) { -function scene_locationRow__P24194(s) { +function scene_locationRow__P24338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23327,7 +23327,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = tiles_Location_y__P20858_mk(s); + s.tmp_1 = tiles_Location_y__P21002_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 113; s.pc = 1; return s.tmp_1; case 1: @@ -23337,12 +23337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_locationRow__P24194.info = {"start":7393,"length":82,"line":212,"column":4,"endLine":214,"endColumn":5,"fileName":"a-star.ts","functionName":"locationRow","argumentNames":["l"]} +scene_locationRow__P24338.info = {"start":7393,"length":82,"line":212,"column":4,"endLine":214,"endColumn":5,"fileName":"a-star.ts","functionName":"locationRow","argumentNames":["l"]} -function scene_locationRow__P24194_mk(s) { +function scene_locationRow__P24338_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_locationRow__P24194, depth: s.depth + 1, + parent: s, fn: scene_locationRow__P24338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23353,7 +23353,7 @@ function scene_locationRow__P24194_mk(s) { -function Heap_constructor__P22017(s) { +function Heap_constructor__P22161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23369,7 +23369,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22016_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); r0 = (s.arg0).fields["comparator"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -23379,12 +23379,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Heap_constructor__P22017.info = {"start":257,"length":104,"line":7,"column":4,"endLine":11,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"inline","argumentNames":["this","comparator"]} +Heap_constructor__P22161.info = {"start":257,"length":104,"line":7,"column":4,"endLine":11,"endColumn":5,"fileName":"pxt_modules/pxt-heap/heap.ts","functionName":"inline","argumentNames":["this","comparator"]} -function Heap_constructor__P22017_mk(s) { +function Heap_constructor__P22161_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_constructor__P22017, depth: s.depth + 1, + parent: s, fn: Heap_constructor__P22161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23396,7 +23396,7 @@ function Heap_constructor__P22017_mk(s) { -function scene_isWalkable__P24093(s) { +function scene_isWalkable__P24237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23406,14 +23406,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.img___24573 = undefined; + s.img___24717 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_1 = scene_isWall__P24369_mk(s); + s.tmp_1 = scene_isWall__P24513_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 118; s.pc = 6; return s.tmp_1; @@ -23436,9 +23436,9 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_4 = tiles_TileMap_getTileImage__P20903_mk(s); + s.tmp_4 = tiles_TileMap_getTileImage__P21047_mk(s); s.tmp_4.arg0 = s.arg2; - s.tmp_5 = tiles_TileMap_getTileIndex__P20894_mk(s); + s.tmp_5 = tiles_TileMap_getTileIndex__P21038_mk(s); s.tmp_5.arg0 = s.arg2; r0 = s.arg0.fields["_col"]; s.tmp_5.arg1 = r0; @@ -23451,18 +23451,18 @@ switch (step) { s.callLocIdx = 122; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.img___24573 = (r0); - r0 = pxsim_ImageMethods.equals(s.img___24573, s.arg1); + s.img___24717 = (r0); + r0 = pxsim_ImageMethods.equals(s.img___24717, s.arg1); case 5: return leave(s, r0) default: oops() } } } -scene_isWalkable__P24093.info = {"start":7750,"length":280,"line":226,"column":4,"endLine":231,"endColumn":5,"fileName":"a-star.ts","functionName":"isWalkable","argumentNames":["l","onTilesOf","tm"]} +scene_isWalkable__P24237.info = {"start":7750,"length":280,"line":226,"column":4,"endLine":231,"endColumn":5,"fileName":"a-star.ts","functionName":"isWalkable","argumentNames":["l","onTilesOf","tm"]} -function scene_isWalkable__P24093_mk(s) { +function scene_isWalkable__P24237_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_isWalkable__P24093, depth: s.depth + 1, + parent: s, fn: scene_isWalkable__P24237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23470,7 +23470,7 @@ function scene_isWalkable__P24093_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - img___24573: undefined, + img___24717: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23480,7 +23480,7 @@ function scene_isWalkable__P24093_mk(s) { -function tiles_Location_row__P20855(s) { +function tiles_Location_row__P20999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23495,18 +23495,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20853_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P20855.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__P20855.isGetter = true; +tiles_Location_row__P20999.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__P20999.isGetter = true; -function tiles_Location_row__P20855_mk(s) { +function tiles_Location_row__P20999_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P20855, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P20999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23515,7 +23515,7 @@ function tiles_Location_row__P20855_mk(s) { -function tiles_Location_col__P20854(s) { +function tiles_Location_col__P20998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23530,18 +23530,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20853_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_col__P20854.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__P20854.isGetter = true; +tiles_Location_col__P20998.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__P20998.isGetter = true; -function tiles_Location_col__P20854_mk(s) { +function tiles_Location_col__P20998_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P20854, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P20998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23550,7 +23550,7 @@ function tiles_Location_col__P20854_mk(s) { -function tiles_TileMap_getTileIndex__P20894(s) { +function tiles_TileMap_getTileIndex__P21038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23567,8 +23567,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P20874_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P21018_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -23579,12 +23579,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P20894.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__P21038.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__P20894_mk(s) { +function tiles_TileMap_getTileIndex__P21038_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P20894, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P21038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23596,7 +23596,7 @@ function tiles_TileMap_getTileIndex__P20894_mk(s) { -function tiles_TileMap_data__P22384(s) { +function tiles_TileMap_data__P22528(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23611,18 +23611,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P22384.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__P22384.isGetter = true; +tiles_TileMap_data__P22528.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__P22528.isGetter = true; -function tiles_TileMap_data__P22384_mk(s) { +function tiles_TileMap_data__P22528_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P22384, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P22528, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23631,7 +23631,7 @@ function tiles_TileMap_data__P22384_mk(s) { -function tiles_TileMapData_getTile__P20874(s) { +function tiles_TileMapData_getTile__P21018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23648,8 +23648,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20868_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P20880_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P21024_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -23682,12 +23682,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P20874.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__P21018.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__P20874_mk(s) { +function tiles_TileMapData_getTile__P21018_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P20874, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P21018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23707,7 +23707,7 @@ function tiles_TileMapData_getTile__P20874_mk(s) { -function tiles_TileMap_getTileImage__P20903(s) { +function tiles_TileMap_getTileImage__P21047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23723,8 +23723,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P20877_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P21021_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -23734,12 +23734,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P20903.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__P21047.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__P20903_mk(s) { +function tiles_TileMap_getTileImage__P21047_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P20903, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P21047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23750,7 +23750,7 @@ function tiles_TileMap_getTileImage__P20903_mk(s) { -function tiles_TileMapData_getTileImage__P20877(s) { +function tiles_TileMapData_getTileImage__P21021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23760,25 +23760,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___31111 = undefined; - s.cachedImage___31115 = undefined; - s.originalImage___31121 = undefined; + s.size___31255 = undefined; + s.cachedImage___31259 = undefined; + s.originalImage___31265 = 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__C20868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___31111 = (r0); + s.size___31255 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___31115 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___31115); + s.cachedImage___31259 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___31259); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23787,58 +23787,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___31121 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___31121); + s.originalImage___31265 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___31265); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___31121); + r0 = pxsim_ImageMethods.width(s.originalImage___31265); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___31111); + r0 = (s.tmp_1 <= s.size___31255); 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___31121); + r0 = pxsim_ImageMethods.height(s.originalImage___31265); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___31111); + r0 = (s.tmp_2 <= s.size___31255); 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___31115 = (s.originalImage___31121); + s.cachedImage___31259 = (s.originalImage___31265); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___31111, s.size___31111); - s.cachedImage___31115 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___31115, s.originalImage___31121, 0, 0); + r0 = pxsim.image.create(s.size___31255, s.size___31255); + s.cachedImage___31259 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___31259, s.originalImage___31265, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___31115); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___31259); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___31115; + r0 = s.cachedImage___31259; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P20877.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__P21021.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__P20877_mk(s) { +function tiles_TileMapData_getTileImage__P21021_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P20877, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P21021, 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___31111: undefined, - cachedImage___31115: undefined, - originalImage___31121: undefined, + size___31255: undefined, + cachedImage___31259: undefined, + originalImage___31265: undefined, arg0: undefined, arg1: undefined, } } @@ -23847,7 +23847,7 @@ function tiles_TileMapData_getTileImage__P20877_mk(s) { -function tiles_TileMapData_scale__P20872(s) { +function tiles_TileMapData_scale__P21016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23862,18 +23862,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P20872.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__P20872.isGetter = true; +tiles_TileMapData_scale__P21016.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__P21016.isGetter = true; -function tiles_TileMapData_scale__P20872_mk(s) { +function tiles_TileMapData_scale__P21016_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P20872, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P21016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23882,7 +23882,7 @@ function tiles_TileMapData_scale__P20872_mk(s) { -function scene_locationOfSprite__P24896(s) { +function scene_locationOfSprite__P25040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23896,9 +23896,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tiles_getTileLocation__P20908_mk(s); - s.tmp_1 = scene_screenCoordinateToTile__P25110_mk(s); - s.tmp_2 = Sprite_x__P20589_mk(s); + s.tmp_0 = tiles_getTileLocation__P21052_mk(s); + s.tmp_1 = scene_screenCoordinateToTile__P25254_mk(s); + s.tmp_2 = Sprite_x__P20733_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 196; s.pc = 3; return s.tmp_2; case 3: @@ -23908,8 +23908,8 @@ switch (step) { case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_3 = scene_screenCoordinateToTile__P25110_mk(s); - s.tmp_4 = Sprite_y__P20591_mk(s); + s.tmp_3 = scene_screenCoordinateToTile__P25254_mk(s); + s.tmp_4 = Sprite_y__P20735_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 198; s.pc = 5; return s.tmp_4; case 5: @@ -23925,12 +23925,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_locationOfSprite__P24896.info = {"start":10339,"length":156,"line":286,"column":4,"endLine":288,"endColumn":5,"fileName":"path-following.ts","functionName":"locationOfSprite","argumentNames":["s"]} +scene_locationOfSprite__P25040.info = {"start":10339,"length":156,"line":286,"column":4,"endLine":288,"endColumn":5,"fileName":"path-following.ts","functionName":"locationOfSprite","argumentNames":["s"]} -function scene_locationOfSprite__P24896_mk(s) { +function scene_locationOfSprite__P25040_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_locationOfSprite__P24896, depth: s.depth + 1, + parent: s, fn: scene_locationOfSprite__P25040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23944,7 +23944,7 @@ function scene_locationOfSprite__P24896_mk(s) { -function scene_screenCoordinateToTile__P25110(s) { +function scene_screenCoordinateToTile__P25254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23954,18 +23954,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___25112 = undefined; + s.tm___25256 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 194; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___25112 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tm___25112); + s.tm___25256 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tm___25256); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23976,25 +23976,25 @@ switch (step) { case 1: case 2: s.tmp_2 = r0 = s.arg0; - r0 = s.tm___25112.fields["_scale"]; + r0 = s.tm___25256.fields["_scale"]; s.tmp_3 = r0; r0 = (s.tmp_2 >> s.tmp_3); case 3: return leave(s, r0) default: oops() } } } -scene_screenCoordinateToTile__P25110.info = {"start":10161,"length":172,"line":280,"column":4,"endLine":284,"endColumn":5,"fileName":"path-following.ts","functionName":"screenCoordinateToTile","argumentNames":["value"]} +scene_screenCoordinateToTile__P25254.info = {"start":10161,"length":172,"line":280,"column":4,"endLine":284,"endColumn":5,"fileName":"path-following.ts","functionName":"screenCoordinateToTile","argumentNames":["value"]} -function scene_screenCoordinateToTile__P25110_mk(s) { +function scene_screenCoordinateToTile__P25254_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_screenCoordinateToTile__P25110, depth: s.depth + 1, + parent: s, fn: scene_screenCoordinateToTile__P25254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - tm___25112: undefined, + tm___25256: undefined, arg0: undefined, } } @@ -24002,7 +24002,7 @@ function scene_screenCoordinateToTile__P25110_mk(s) { -function scene__followPath__P22034(s) { +function scene__followPath__P22178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24012,10 +24012,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.store___25006 = undefined; - s.previousEl___25009 = undefined; - s.start___25019 = undefined; - s.pfs___25030 = undefined; + s.store___25150 = undefined; + s.previousEl___25153 = undefined; + s.start___25163 = undefined; + s.pfs___25174 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24032,25 +24032,25 @@ switch (step) { { step = 19; continue; } case 1: case 2: - s.tmp_2 = scene_init__P24606_mk(s); + s.tmp_2 = scene_init__P24750_mk(s); s.callLocIdx = 185; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; - s.tmp_0 = scene_getPathFollowingSprites__P24627_mk(s); + s.tmp_0 = scene_getPathFollowingSprites__P24771_mk(s); s.callLocIdx = 186; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.store___25006 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P25011); + s.store___25150 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P25155); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFind__P18673_mk(s); - s.tmp_1.arg0 = s.store___25006; + s.tmp_1 = helpers_arrayFind__P18817_mk(s); + s.tmp_1.arg0 = s.store___25150; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 187; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.previousEl___25009 = (r0); + s.previousEl___25153 = (r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } @@ -24061,28 +24061,28 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.start___25019 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.start___25019); + s.start___25163 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.start___25163); 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; } - r0 = pxsim_numops_toBoolDecr(s.previousEl___25009); + r0 = pxsim_numops_toBoolDecr(s.previousEl___25153); if (!r0) { step = 5; continue; } - r0 = pxsim_Array_.removeElement(s.store___25006, s.previousEl___25009); + r0 = pxsim_Array_.removeElement(s.store___25150, s.previousEl___25153); case 5: case 6: { step = 19; continue; } case 7: case 8: - s.tmp_0 = r0 = s.previousEl___25009; + s.tmp_0 = r0 = s.previousEl___25153; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 9; continue; } r0 = s.tmp_0; { step = 12; continue; } case 9: - r0 = pxsim_pxtcore_mkClassInstance(scene_PathFollowingSprite__C24592_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_PathFollowingSprite__C24736_VT); s.tmp_1 = r0; s.tmp_2 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_2); @@ -24094,7 +24094,7 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = scene_PathFollowingSprite_constructor__P24593_mk(s); + s.tmp_4 = scene_PathFollowingSprite_constructor__P24737_mk(s); s.tmp_4.arg0 = s.tmp_1; s.tmp_4.arg1 = s.arg0; s.tmp_4.arg2 = s.arg1; @@ -24106,30 +24106,30 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_5 = r0; - s.pfs___25030 = (s.tmp_5); - r0 = pxsim_numops_toBoolDecr(s.previousEl___25009); + s.pfs___25174 = (s.tmp_5); + r0 = pxsim_numops_toBoolDecr(s.previousEl___25153); if (!r0) { step = 17; continue; } r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 13; continue; } - r0 = (s.previousEl___25009).fields["speed"] = (s.arg2); + r0 = (s.previousEl___25153).fields["speed"] = (s.arg2); case 13: case 14: - r0 = (s.previousEl___25009).fields["path"] = (s.arg1); - r0 = (s.previousEl___25009).fields["index"] = (0); + r0 = (s.previousEl___25153).fields["path"] = (s.arg1); + r0 = (s.previousEl___25153).fields["index"] = (0); r0 = pxsim_numops_toBoolDecr(s.arg3); if (!r0) { step = 15; continue; } - r0 = (s.previousEl___25009).fields["onEndHandler"] = (s.arg3); + r0 = (s.previousEl___25153).fields["onEndHandler"] = (s.arg3); case 15: case 16: { step = 18; continue; } case 17: - r0 = (s.pfs___25030).fields["onEndHandler"] = (s.arg3); - r0 = pxsim_Array__push(s.store___25006, s.pfs___25030); + r0 = (s.pfs___25174).fields["onEndHandler"] = (s.arg3); + r0 = pxsim_Array__push(s.store___25150, s.pfs___25174); case 18: - s.tmp_0 = scene_setVelocityTowards__P24742_mk(s); + s.tmp_0 = scene_setVelocityTowards__P24886_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.start___25019; - r0 = s.pfs___25030.fields["speed"]; + s.tmp_0.arg1 = s.start___25163; + r0 = s.pfs___25174.fields["speed"]; s.tmp_0.arg2 = r0; s.callLocIdx = 189; s.pc = 24; return s.tmp_0; case 24: @@ -24139,12 +24139,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene__followPath__P22034.info = {"start":8286,"length":1001,"line":217,"column":4,"endLine":253,"endColumn":5,"fileName":"path-following.ts","functionName":"_followPath","argumentNames":["sprite","path","speed","endCb"]} +scene__followPath__P22178.info = {"start":8286,"length":1001,"line":217,"column":4,"endLine":253,"endColumn":5,"fileName":"path-following.ts","functionName":"_followPath","argumentNames":["sprite","path","speed","endCb"]} -function scene__followPath__P22034_mk(s) { +function scene__followPath__P22178_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene__followPath__P22034, depth: s.depth + 1, + parent: s, fn: scene__followPath__P22178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24152,10 +24152,10 @@ function scene__followPath__P22034_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - store___25006: undefined, - previousEl___25009: undefined, - start___25019: undefined, - pfs___25030: undefined, + store___25150: undefined, + previousEl___25153: undefined, + start___25163: undefined, + pfs___25174: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24166,7 +24166,7 @@ function scene__followPath__P22034_mk(s) { -function inline__P25011(s) { +function inline__P25155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24186,12 +24186,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25011.info = {"start":8537,"length":26,"line":223,"column":38,"endLine":223,"endColumn":64,"fileName":"path-following.ts","functionName":"inline","argumentNames":["el"]} +inline__P25155.info = {"start":8537,"length":26,"line":223,"column":38,"endLine":223,"endColumn":64,"fileName":"path-following.ts","functionName":"inline","argumentNames":["el"]} -function inline__P25011_mk(s) { +function inline__P25155_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25011, depth: s.depth + 1, + parent: s, fn: inline__P25155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24201,7 +24201,7 @@ function inline__P25011_mk(s) { -function scene_PathFollowingSprite_constructor__P24593(s) { +function scene_PathFollowingSprite_constructor__P24737(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24219,7 +24219,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_PathFollowingSprite__C24592_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_PathFollowingSprite__C24736_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["path"] = (s.arg2); r0 = (s.arg0).fields["speed"] = (s.arg3); @@ -24228,12 +24228,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_PathFollowingSprite_constructor__P24593.info = {"start":247,"length":174,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":["this","sprite","path","speed"]} +scene_PathFollowingSprite_constructor__P24737.info = {"start":247,"length":174,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":["this","sprite","path","speed"]} -function scene_PathFollowingSprite_constructor__P24593_mk(s) { +function scene_PathFollowingSprite_constructor__P24737_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_PathFollowingSprite_constructor__P24593, depth: s.depth + 1, + parent: s, fn: scene_PathFollowingSprite_constructor__P24737, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24245,7 +24245,7 @@ function scene_PathFollowingSprite_constructor__P24593_mk(s) { -function scene_getRemainingPath__P24873(s) { +function scene_getRemainingPath__P25017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24255,26 +24255,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentLocation___25134 = undefined; - s.i___25138 = undefined; - s.pathTile___25144 = undefined; - s.remainingPath___25159 = undefined; + s.currentLocation___25278 = undefined; + s.i___25282 = undefined; + s.pathTile___25288 = undefined; + s.remainingPath___25303 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_locationOfSprite__P24896_mk(s); + s.tmp_0 = scene_locationOfSprite__P25040_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 201; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.currentLocation___25134 = (r0); + s.currentLocation___25278 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.i___25138 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.i___25138, 0); + s.i___25282 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.i___25282, 0); case 1: - r0 = pxsim_pxtrt_ldlocRef(s.i___25138); + r0 = pxsim_pxtrt_ldlocRef(s.i___25282); s.tmp_1 = r0; r0 = pxsim_Array__length(s.arg1); s.tmp_2 = r0; @@ -24283,18 +24283,18 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } s.tmp_3 = r0 = s.arg1; - r0 = pxsim_pxtrt_ldlocRef(s.i___25138); + r0 = pxsim_pxtrt_ldlocRef(s.i___25282); s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); - s.pathTile___25144 = (r0); - s.tmp_2 = tiles_Location_x__P20857_mk(s); - s.tmp_2.arg0 = s.currentLocation___25134; + s.pathTile___25288 = (r0); + s.tmp_2 = tiles_Location_x__P21001_mk(s); + s.tmp_2.arg0 = s.currentLocation___25278; s.callLocIdx = 202; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tiles_Location_x__P20857_mk(s); - s.tmp_4.arg0 = s.pathTile___25144; + s.tmp_4 = tiles_Location_x__P21001_mk(s); + s.tmp_4.arg0 = s.pathTile___25288; s.callLocIdx = 203; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; @@ -24306,14 +24306,14 @@ switch (step) { r0 = s.tmp_0; { step = 3; continue; } case 2: - s.tmp_6 = tiles_Location_y__P20858_mk(s); - s.tmp_6.arg0 = s.currentLocation___25134; + s.tmp_6 = tiles_Location_y__P21002_mk(s); + s.tmp_6.arg0 = s.currentLocation___25278; s.callLocIdx = 204; s.pc = 13; return s.tmp_6; case 13: r0 = s.retval; s.tmp_5 = r0; - s.tmp_8 = tiles_Location_y__P20858_mk(s); - s.tmp_8.arg0 = s.pathTile___25144; + s.tmp_8 = tiles_Location_y__P21002_mk(s); + s.tmp_8.arg0 = s.pathTile___25288; s.callLocIdx = 205; s.pc = 14; return s.tmp_8; case 14: r0 = s.retval; @@ -24324,7 +24324,7 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 6; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.i___25138); + r0 = pxsim_pxtrt_ldlocRef(s.i___25282); s.tmp_11 = r0; r0 = (s.tmp_11 === 0); s.tmp_10 = r0; @@ -24333,10 +24333,10 @@ switch (step) { r0 = s.arg1; { step = 5; continue; } case 4: - r0 = pxsim_pxtcore_mkAction(1, inline__P25166); + r0 = pxsim_pxtcore_mkAction(1, inline__P25310); s.tmp_12 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_12, 0, s.i___25138); - s.tmp_13 = helpers_arrayFilter__P18672_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_12, 0, s.i___25282); + s.tmp_13 = helpers_arrayFilter__P18816_mk(s); s.tmp_13.arg0 = s.arg1; s.tmp_13.arg1 = s.tmp_12; s.callLocIdx = 206; s.pc = 15; return s.tmp_13; @@ -24345,13 +24345,13 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_14 = r0; - s.remainingPath___25159 = (s.tmp_14); - r0 = s.remainingPath___25159; + s.remainingPath___25303 = (s.tmp_14); + r0 = s.remainingPath___25303; { step = 9; continue; } case 6: case 7: - s.tmp_0 = r0 = s.i___25138; - r0 = pxsim_pxtrt_ldlocRef(s.i___25138); + s.tmp_0 = r0 = s.i___25282; + r0 = pxsim_pxtrt_ldlocRef(s.i___25282); s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_1 = r0; @@ -24363,12 +24363,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_getRemainingPath__P24873.info = {"start":10501,"length":497,"line":290,"column":4,"endLine":300,"endColumn":5,"fileName":"path-following.ts","functionName":"getRemainingPath","argumentNames":["sprite","path"]} +scene_getRemainingPath__P25017.info = {"start":10501,"length":497,"line":290,"column":4,"endLine":300,"endColumn":5,"fileName":"path-following.ts","functionName":"getRemainingPath","argumentNames":["sprite","path"]} -function scene_getRemainingPath__P24873_mk(s) { +function scene_getRemainingPath__P25017_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_getRemainingPath__P24873, depth: s.depth + 1, + parent: s, fn: scene_getRemainingPath__P25017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24385,10 +24385,10 @@ function scene_getRemainingPath__P24873_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - currentLocation___25134: undefined, - i___25138: undefined, - pathTile___25144: undefined, - remainingPath___25159: undefined, + currentLocation___25278: undefined, + i___25282: undefined, + pathTile___25288: undefined, + remainingPath___25303: undefined, arg0: undefined, arg1: undefined, } } @@ -24397,7 +24397,7 @@ function scene_getRemainingPath__P24873_mk(s) { -function inline__P25166(s) { +function inline__P25310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24419,12 +24419,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25166.info = {"start":10892,"length":16,"line":295,"column":67,"endLine":295,"endColumn":83,"fileName":"path-following.ts","functionName":"inline","argumentNames":["_","j"]} +inline__P25310.info = {"start":10892,"length":16,"line":295,"column":67,"endLine":295,"endColumn":83,"fileName":"path-following.ts","functionName":"inline","argumentNames":["_","j"]} -function inline__P25166_mk(s) { +function inline__P25310_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25166, depth: s.depth + 1, + parent: s, fn: inline__P25310, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24436,7 +24436,7 @@ function inline__P25166_mk(s) { -function tiles_TileMap_isOnWall__P20902(s) { +function tiles_TileMap_isOnWall__P21046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24446,24 +24446,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___31388 = undefined; - s.left___31391 = undefined; - s.right___31397 = undefined; - s.top___31403 = undefined; - s.bottom___31409 = undefined; - s.col___31415 = undefined; - s.row___31421 = undefined; + s.hbox___31532 = undefined; + s.left___31535 = undefined; + s.right___31541 = undefined; + s.top___31547 = undefined; + s.bottom___31553 = undefined; + s.col___31559 = undefined; + s.row___31565 = 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__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___31388 = (r0); - s.tmp_1 = game_Hitbox_left__P20530_mk(s); - s.tmp_1.arg0 = s.hbox___31388; + s.hbox___31532 = (r0); + s.tmp_1 = game_Hitbox_left__P20674_mk(s); + s.tmp_1.arg0 = s.hbox___31532; s.callLocIdx = 835; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -24473,9 +24473,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___31391 = (r0); - s.tmp_1 = game_Hitbox_right__P20532_mk(s); - s.tmp_1.arg0 = s.hbox___31388; + s.left___31535 = (r0); + s.tmp_1 = game_Hitbox_right__P20676_mk(s); + s.tmp_1.arg0 = s.hbox___31532; s.callLocIdx = 838; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -24485,9 +24485,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___31397 = (r0); - s.tmp_1 = game_Hitbox_top__P20531_mk(s); - s.tmp_1.arg0 = s.hbox___31388; + s.right___31541 = (r0); + s.tmp_1 = game_Hitbox_top__P20675_mk(s); + s.tmp_1.arg0 = s.hbox___31532; s.callLocIdx = 841; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -24497,9 +24497,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___31403 = (r0); - s.tmp_1 = game_Hitbox_bottom__P20533_mk(s); - s.tmp_1.arg0 = s.hbox___31388; + s.top___31547 = (r0); + s.tmp_1 = game_Hitbox_bottom__P20677_mk(s); + s.tmp_1.arg0 = s.hbox___31532; s.callLocIdx = 844; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -24509,23 +24509,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___31409 = (r0); - s.col___31415 = (s.left___31391); + s.bottom___31553 = (r0); + s.col___31559 = (s.left___31535); case 1: - r0 = (s.col___31415 <= s.right___31397); + r0 = (s.col___31559 <= s.right___31541); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___31421 = (s.top___31403); + s.row___31565 = (s.top___31547); case 2: - r0 = (s.row___31421 <= s.bottom___31409); + r0 = (s.row___31565 <= s.bottom___31553); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P20900_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P21044_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___31415; - s.tmp_2.arg2 = s.row___31421; + s.tmp_2.arg1 = s.col___31559; + s.tmp_2.arg2 = s.row___31565; s.callLocIdx = 847; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -24536,12 +24536,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___31421 + 1); - s.row___31421 = (r0); + r0 = (s.row___31565 + 1); + s.row___31565 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___31415 + 1); - s.col___31415 = (r0); + r0 = (s.col___31559 + 1); + s.col___31559 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -24549,24 +24549,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P20902.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__P21046.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__P20902_mk(s) { +function tiles_TileMap_isOnWall__P21046_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P20902, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P21046, 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___31388: undefined, - left___31391: undefined, - right___31397: undefined, - top___31403: undefined, - bottom___31409: undefined, - col___31415: undefined, - row___31421: undefined, + hbox___31532: undefined, + left___31535: undefined, + right___31541: undefined, + top___31547: undefined, + bottom___31553: undefined, + col___31559: undefined, + row___31565: undefined, arg0: undefined, arg1: undefined, } } @@ -24575,7 +24575,7 @@ function tiles_TileMap_isOnWall__P20902_mk(s) { -function game_Hitbox_bottom__P20533(s) { +function game_Hitbox_bottom__P20677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24590,10 +24590,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20523_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C20667_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P20531_mk(s); + s.tmp_3 = game_Hitbox_top__P20675_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 223; s.pc = 1; return s.tmp_3; case 1: @@ -24605,13 +24605,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P20533.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__P20533.isGetter = true; +game_Hitbox_bottom__P20677.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__P20677.isGetter = true; -function game_Hitbox_bottom__P20533_mk(s) { +function game_Hitbox_bottom__P20677_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P20533, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P20677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24624,7 +24624,7 @@ function game_Hitbox_bottom__P20533_mk(s) { -function game_Hitbox_right__P20532(s) { +function game_Hitbox_right__P20676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24639,10 +24639,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20523_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C20667_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P20530_mk(s); + s.tmp_3 = game_Hitbox_left__P20674_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 220; s.pc = 1; return s.tmp_3; case 1: @@ -24654,13 +24654,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P20532.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__P20532.isGetter = true; +game_Hitbox_right__P20676.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__P20676.isGetter = true; -function game_Hitbox_right__P20532_mk(s) { +function game_Hitbox_right__P20676_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P20532, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P20676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24673,7 +24673,7 @@ function game_Hitbox_right__P20532_mk(s) { -function game_Hitbox_top__P20531(s) { +function game_Hitbox_top__P20675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24688,7 +24688,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20523_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C20667_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -24698,13 +24698,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P20531.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__P20531.isGetter = true; +game_Hitbox_top__P20675.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__P20675.isGetter = true; -function game_Hitbox_top__P20531_mk(s) { +function game_Hitbox_top__P20675_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P20531, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P20675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24715,7 +24715,7 @@ function game_Hitbox_top__P20531_mk(s) { -function game_Hitbox_left__P20530(s) { +function game_Hitbox_left__P20674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24730,7 +24730,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20523_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C20667_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -24740,13 +24740,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P20530.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__P20530.isGetter = true; +game_Hitbox_left__P20674.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__P20674.isGetter = true; -function game_Hitbox_left__P20530_mk(s) { +function game_Hitbox_left__P20674_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P20530, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P20674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24757,7 +24757,7 @@ function game_Hitbox_left__P20530_mk(s) { -function Fx_toIntShifted__P18715(s) { +function Fx_toIntShifted__P18859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24779,12 +24779,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P18715.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__P18859.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__P18715_mk(s) { +function Fx_toIntShifted__P18859_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P18715, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P18859, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24796,7 +24796,7 @@ function Fx_toIntShifted__P18715_mk(s) { -function Sprite_y__P20591(s) { +function Sprite_y__P20735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24811,7 +24811,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -24826,13 +24826,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P20591.info = {"start":1849,"length":85,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P20591.isGetter = true; +Sprite_y__P20735.info = {"start":1849,"length":85,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P20735.isGetter = true; -function Sprite_y__P20591_mk(s) { +function Sprite_y__P20735_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P20591, depth: s.depth + 1, + parent: s, fn: Sprite_y__P20735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24846,7 +24846,7 @@ function Sprite_y__P20591_mk(s) { -function Sprite_x__P20589(s) { +function Sprite_x__P20733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24861,7 +24861,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -24876,13 +24876,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P20589.info = {"start":1501,"length":84,"line":70,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P20589.isGetter = true; +Sprite_x__P20733.info = {"start":1501,"length":84,"line":70,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P20733.isGetter = true; -function Sprite_x__P20589_mk(s) { +function Sprite_x__P20733_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P20589, depth: s.depth + 1, + parent: s, fn: Sprite_x__P20733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24896,7 +24896,7 @@ function Sprite_x__P20589_mk(s) { -function Sprite_setPosition__P20636(s) { +function Sprite_setPosition__P20780(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24906,7 +24906,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___30523 = undefined; + s.physics___30667 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24914,18 +24914,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21096_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 308; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___30523 = (r0); - s.tmp_0 = PhysicsEngine__C20723_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___30523; + s.physics___30667 = (r0); + s.tmp_0 = PhysicsEngine__C20867_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___30667; s.tmp_0.arg1 = s.arg0; s.tmp_2 = r0 = s.arg1; - s.tmp_4 = Sprite_x__P20589_mk(s); + s.tmp_4 = Sprite_x__P20733_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 309; s.pc = 3; return s.tmp_4; case 3: @@ -24938,7 +24938,7 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_0.arg2 = r0; s.tmp_7 = r0 = s.arg2; - s.tmp_9 = Sprite_y__P20591_mk(s); + s.tmp_9 = Sprite_y__P20735_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 311; s.pc = 4; return s.tmp_9; case 4: @@ -24950,7 +24950,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_10 | 0); s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20723_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_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: @@ -24959,12 +24959,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setPosition__P20636.info = {"start":11962,"length":220,"line":430,"column":4,"endLine":437,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} +Sprite_setPosition__P20780.info = {"start":11962,"length":220,"line":430,"column":4,"endLine":437,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} -function Sprite_setPosition__P20636_mk(s) { +function Sprite_setPosition__P20780_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setPosition__P20636, depth: s.depth + 1, + parent: s, fn: Sprite_setPosition__P20780, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24977,7 +24977,7 @@ function Sprite_setPosition__P20636_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - physics___30523: undefined, + physics___30667: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24987,7 +24987,7 @@ function Sprite_setPosition__P20636_mk(s) { -function tiles_getTileLocation__P20908(s) { +function tiles_getTileLocation__P21052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24997,17 +24997,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___31587 = undefined; + s.scene___31731 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 852; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.scene___31587 = (r0); + s.scene___31731 = (r0); r0 = (s.arg0 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -25024,7 +25024,7 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - r0 = s.scene___31587.fields["tileMap"]; + r0 = s.scene___31731.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -25038,8 +25038,8 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_5 = tiles_TileMap_getTile__P20893_mk(s); - r0 = s.scene___31587.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTile__P21037_mk(s); + r0 = s.scene___31731.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; s.tmp_5.arg2 = s.arg1; @@ -25050,12 +25050,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileLocation__P20908.info = {"start":16285,"length":247,"line":515,"column":4,"endLine":519,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileLocation","argumentNames":["col","row"]} +tiles_getTileLocation__P21052.info = {"start":16285,"length":247,"line":515,"column":4,"endLine":519,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileLocation","argumentNames":["col","row"]} -function tiles_getTileLocation__P20908_mk(s) { +function tiles_getTileLocation__P21052_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileLocation__P20908, depth: s.depth + 1, + parent: s, fn: tiles_getTileLocation__P21052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25063,7 +25063,7 @@ function tiles_getTileLocation__P20908_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___31587: undefined, + scene___31731: undefined, arg0: undefined, arg1: undefined, } } @@ -25072,7 +25072,7 @@ function tiles_getTileLocation__P20908_mk(s) { -function tiles_TileMap_getTile__P20893(s) { +function tiles_TileMap_getTile__P21037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25089,10 +25089,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C20853_VT); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C20997_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P20856_mk(s); + s.tmp_1 = tiles_Location_constructor__P21000_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -25104,12 +25104,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P20893.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__P21037.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__P20893_mk(s) { +function tiles_TileMap_getTile__P21037_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P20893, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P21037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25122,7 +25122,7 @@ function tiles_TileMap_getTile__P20893_mk(s) { -function tiles_Location_constructor__P20856(s) { +function tiles_Location_constructor__P21000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25140,7 +25140,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20853_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -25148,12 +25148,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P20856.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__P21000.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__P20856_mk(s) { +function tiles_Location_constructor__P21000_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P20856, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P21000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25165,7 +25165,7 @@ function tiles_Location_constructor__P20856_mk(s) { -function scene_aStar__P22025(s) { +function scene_aStar__P22169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25175,23 +25175,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___24086 = undefined; + s.tm___24230 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 65; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___24086 = (r0); - s.tmp_3 = scene_isWalkable__P24093_mk(s); + s.tm___24230 = (r0); + s.tmp_3 = scene_isWalkable__P24237_mk(s); s.tmp_3.arg0 = s.arg1; s.tmp_3.arg1 = s.arg2; - s.tmp_3.arg2 = s.tm___24086; + s.tmp_3.arg2 = s.tm___24230; s.callLocIdx = 66; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; @@ -25206,14 +25206,14 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkAction(1, inline__P24102); + r0 = pxsim_pxtcore_mkAction(1, inline__P24246); s.tmp_4 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P24108); + r0 = pxsim_pxtcore_mkAction(1, inline__P24252); s.tmp_5 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.arg1); - s.tmp_6 = scene_generalAStar__P22027_mk(s); - s.tmp_6.arg0 = s.tm___24086; + s.tmp_6 = scene_generalAStar__P22171_mk(s); + s.tmp_6.arg0 = s.tm___24230; s.tmp_6.arg1 = s.arg0; s.tmp_6.arg2 = s.arg2; s.tmp_6.arg3 = s.tmp_4; @@ -25225,12 +25225,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_aStar__P22025.info = {"start":937,"length":377,"line":31,"column":4,"endLine":39,"endColumn":5,"fileName":"a-star.ts","functionName":"aStar","argumentNames":["start","end","onTilesOf"]} +scene_aStar__P22169.info = {"start":937,"length":377,"line":31,"column":4,"endLine":39,"endColumn":5,"fileName":"a-star.ts","functionName":"aStar","argumentNames":["start","end","onTilesOf"]} -function scene_aStar__P22025_mk(s) { +function scene_aStar__P22169_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_aStar__P22025, depth: s.depth + 1, + parent: s, fn: scene_aStar__P22169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25239,7 +25239,7 @@ function scene_aStar__P22025_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - tm___24086: undefined, + tm___24230: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25249,7 +25249,7 @@ function scene_aStar__P22025_mk(s) { -function inline__P24102(s) { +function inline__P24246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25263,7 +25263,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_tileLocationHeuristic__P24105_mk(s); + s.tmp_0 = scene_tileLocationHeuristic__P24249_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 67; s.pc = 1; return s.tmp_0; @@ -25272,12 +25272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24102.info = {"start":1221,"length":34,"line":37,"column":12,"endLine":37,"endColumn":46,"fileName":"a-star.ts","functionName":"inline","argumentNames":["t"]} +inline__P24246.info = {"start":1221,"length":34,"line":37,"column":12,"endLine":37,"endColumn":46,"fileName":"a-star.ts","functionName":"inline","argumentNames":["t"]} -function inline__P24102_mk(s) { +function inline__P24246_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24102, depth: s.depth + 1, + parent: s, fn: inline__P24246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25287,7 +25287,7 @@ function inline__P24102_mk(s) { -function inline__P24108(s) { +function inline__P24252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25301,13 +25301,13 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tiles_Location_x__P20857_mk(s); + s.tmp_2 = tiles_Location_x__P21001_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 68; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tiles_Location_x__P20857_mk(s); + s.tmp_4 = tiles_Location_x__P21001_mk(s); s.tmp_4.arg0 = s.caps[0]; s.callLocIdx = 69; s.pc = 4; return s.tmp_4; case 4: @@ -25320,13 +25320,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tiles_Location_y__P20858_mk(s); + s.tmp_6 = tiles_Location_y__P21002_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 70; s.pc = 5; return s.tmp_6; case 5: r0 = s.retval; s.tmp_5 = r0; - s.tmp_8 = tiles_Location_y__P20858_mk(s); + s.tmp_8 = tiles_Location_y__P21002_mk(s); s.tmp_8.arg0 = s.caps[0]; s.callLocIdx = 71; s.pc = 6; return s.tmp_8; case 6: @@ -25340,12 +25340,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24108.info = {"start":1270,"length":35,"line":38,"column":12,"endLine":38,"endColumn":47,"fileName":"a-star.ts","functionName":"inline","argumentNames":["l"]} +inline__P24252.info = {"start":1270,"length":35,"line":38,"column":12,"endLine":38,"endColumn":47,"fileName":"a-star.ts","functionName":"inline","argumentNames":["l"]} -function inline__P24108_mk(s) { +function inline__P24252_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24108, depth: s.depth + 1, + parent: s, fn: inline__P24252, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25364,7 +25364,7 @@ function inline__P24108_mk(s) { -function scene_tileLocationHeuristic__P24105(s) { +function scene_tileLocationHeuristic__P24249(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25374,44 +25374,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.startCol___24516 = undefined; - s.startRow___24520 = undefined; - s.endCol___24524 = undefined; - s.endRow___24528 = undefined; + s.startCol___24660 = undefined; + s.startRow___24664 = undefined; + s.endCol___24668 = undefined; + s.endRow___24672 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_locationCol__P24199_mk(s); + s.tmp_0 = scene_locationCol__P24343_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 109; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.startCol___24516 = (r0); - s.tmp_0 = scene_locationRow__P24194_mk(s); + s.startCol___24660 = (r0); + s.tmp_0 = scene_locationRow__P24338_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 110; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.startRow___24520 = (r0); - s.tmp_0 = scene_locationCol__P24199_mk(s); + s.startRow___24664 = (r0); + s.tmp_0 = scene_locationCol__P24343_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 111; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.endCol___24524 = (r0); - s.tmp_0 = scene_locationRow__P24194_mk(s); + s.endCol___24668 = (r0); + s.tmp_0 = scene_locationRow__P24338_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 112; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.endRow___24528 = (r0); - r0 = (s.startCol___24516 - s.endCol___24524); + s.endRow___24672 = (r0); + r0 = (s.startCol___24660 - s.endCol___24668); s.tmp_1 = r0; r0 = pxsim.Math_.pow(s.tmp_1, 2); s.tmp_0 = r0; - r0 = (s.startRow___24520 - s.endRow___24528); + r0 = (s.startRow___24664 - s.endRow___24672); s.tmp_3 = r0; r0 = pxsim.Math_.pow(s.tmp_3, 2); s.tmp_2 = r0; @@ -25419,21 +25419,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_tileLocationHeuristic__P24105.info = {"start":6929,"length":350,"line":200,"column":4,"endLine":208,"endColumn":5,"fileName":"a-star.ts","functionName":"tileLocationHeuristic","argumentNames":["tile","target"]} +scene_tileLocationHeuristic__P24249.info = {"start":6929,"length":350,"line":200,"column":4,"endLine":208,"endColumn":5,"fileName":"a-star.ts","functionName":"tileLocationHeuristic","argumentNames":["tile","target"]} -function scene_tileLocationHeuristic__P24105_mk(s) { +function scene_tileLocationHeuristic__P24249_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_tileLocationHeuristic__P24105, depth: s.depth + 1, + parent: s, fn: scene_tileLocationHeuristic__P24249, 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, - startCol___24516: undefined, - startRow___24520: undefined, - endCol___24524: undefined, - endRow___24528: undefined, + startCol___24660: undefined, + startRow___24664: undefined, + endCol___24668: undefined, + endRow___24672: undefined, arg0: undefined, arg1: undefined, } } @@ -25442,7 +25442,7 @@ function scene_tileLocationHeuristic__P24105_mk(s) { -function controller_Button_onEvent__P20474(s) { +function controller_Button_onEvent__P20618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25459,8 +25459,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20467_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P18944_mk(s); + if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P19088_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -25473,12 +25473,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P20474.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__P20618.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__P20474_mk(s) { +function controller_Button_onEvent__P20618_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P20474, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P20618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25490,7 +25490,7 @@ function controller_Button_onEvent__P20474_mk(s) { -function scene_cameraFollowSprite__P21028(s) { +function scene_cameraFollowSprite__P21172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25500,32 +25500,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___30549 = undefined; + s.scene___30693 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 916; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___30549 = (r0); - r0 = s.scene___30549.fields["camera"]; + s.scene___30693 = (r0); + r0 = s.scene___30693.fields["camera"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["sprite"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_cameraFollowSprite__P21028.info = {"start":3990,"length":139,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} +scene_cameraFollowSprite__P21172.info = {"start":3990,"length":139,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} -function scene_cameraFollowSprite__P21028_mk(s) { +function scene_cameraFollowSprite__P21172_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_cameraFollowSprite__P21028, depth: s.depth + 1, + parent: s, fn: scene_cameraFollowSprite__P21172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___30549: undefined, + scene___30693: undefined, arg0: undefined, } } @@ -25533,7 +25533,7 @@ function scene_cameraFollowSprite__P21028_mk(s) { -function controller_moveSprite__P20516(s) { +function controller_moveSprite__P20660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25549,8 +25549,8 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller_moveSprite__P20503_mk(s); - s.tmp_1 = controller__player1__P20481_mk(s); + s.tmp_0 = controller_Controller_moveSprite__P20647_mk(s); + s.tmp_1 = controller__player1__P20625_mk(s); s.callLocIdx = 211; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -25565,12 +25565,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_moveSprite__P20516.info = {"start":18919,"length":133,"line":574,"column":4,"endLine":576,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} +controller_moveSprite__P20660.info = {"start":18919,"length":133,"line":574,"column":4,"endLine":576,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} -function controller_moveSprite__P20516_mk(s) { +function controller_moveSprite__P20660_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_moveSprite__P20516, depth: s.depth + 1, + parent: s, fn: controller_moveSprite__P20660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25583,7 +25583,7 @@ function controller_moveSprite__P20516_mk(s) { -function controller_Controller_moveSprite__P20503(s) { +function controller_Controller_moveSprite__P20647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25593,7 +25593,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cp___30574 = undefined; + s.cp___30718 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25602,7 +25602,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -25612,7 +25612,7 @@ switch (step) { { step = 15; continue; } case 1: case 2: - s.tmp_5 = controller_Controller__controlledSprites__P20492_mk(s); + s.tmp_5 = controller_Controller__controlledSprites__P20636_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 172; s.pc = 16; return s.tmp_5; case 16: @@ -25624,7 +25624,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_6 = controller_Controller__controlledSprites__P20493_mk(s); + s.tmp_6 = controller_Controller__controlledSprites__P20637_mk(s); s.tmp_6.arg0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_6.arg1 = r0; @@ -25633,11 +25633,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkAction(1, inline__P30577); + r0 = pxsim_pxtcore_mkAction(1, inline__P30721); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFind__P18673_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P20492_mk(s); + s.tmp_1 = helpers_arrayFind__P18817_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P20636_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 174; s.pc = 19; return s.tmp_2; case 19: @@ -25647,16 +25647,16 @@ switch (step) { s.callLocIdx = 175; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.cp___30574 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cp___30574); + s.cp___30718 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cp___30718); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C20483_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C20627_VT); s.tmp_2 = r0; - s.tmp_3 = controller_ControlledSprite_constructor__P20485_mk(s); + s.tmp_3 = controller_ControlledSprite_constructor__P20629_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; @@ -25664,17 +25664,17 @@ switch (step) { s.callLocIdx = 176; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.cp___30574 = (s.tmp_2); - s.tmp_1 = controller_Controller__controlledSprites__P20492_mk(s); + s.cp___30718 = (s.tmp_2); + s.tmp_1 = controller_Controller__controlledSprites__P20636_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 177; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.cp___30574); + r0 = pxsim_Array__push(s.tmp_0, s.cp___30718); case 5: case 6: - r0 = s.cp___30574.fields["vx"]; + r0 = s.cp___30718.fields["vx"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } @@ -25687,8 +25687,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - s.tmp_2 = Sprite_vx__P20594_mk(s); - r0 = s.cp___30574.fields["s"]; + s.tmp_2 = Sprite_vx__P20738_mk(s); + r0 = s.cp___30718.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 178; s.pc = 22; return s.tmp_2; @@ -25696,7 +25696,7 @@ switch (step) { r0 = s.retval; case 9: case 10: - r0 = s.cp___30574.fields["vy"]; + r0 = s.cp___30718.fields["vy"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } @@ -25709,8 +25709,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = Sprite_vy__P20596_mk(s); - r0 = s.cp___30574.fields["s"]; + s.tmp_2 = Sprite_vy__P20740_mk(s); + r0 = s.cp___30718.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 179; s.pc = 23; return s.tmp_2; @@ -25718,19 +25718,19 @@ switch (step) { r0 = s.retval; case 13: case 14: - r0 = (s.cp___30574).fields["vx"] = (s.arg2); - r0 = (s.cp___30574).fields["vy"] = (s.arg3); + r0 = (s.cp___30718).fields["vx"] = (s.arg2); + r0 = (s.cp___30718).fields["vy"] = (s.arg3); case 15: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller_moveSprite__P20503.info = {"start":10866,"length":608,"line":355,"column":8,"endLine":371,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["this","sprite","vx","vy"]} +controller_Controller_moveSprite__P20647.info = {"start":10866,"length":608,"line":355,"column":8,"endLine":371,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["this","sprite","vx","vy"]} -function controller_Controller_moveSprite__P20503_mk(s) { +function controller_Controller_moveSprite__P20647_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_moveSprite__P20503, depth: s.depth + 1, + parent: s, fn: controller_Controller_moveSprite__P20647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25739,7 +25739,7 @@ function controller_Controller_moveSprite__P20503_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - cp___30574: undefined, + cp___30718: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25750,7 +25750,7 @@ function controller_Controller_moveSprite__P20503_mk(s) { -function inline__P30577(s) { +function inline__P30721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25773,12 +25773,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30577.info = {"start":11086,"length":26,"line":358,"column":50,"endLine":358,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} +inline__P30721.info = {"start":11086,"length":26,"line":358,"column":50,"endLine":358,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} -function inline__P30577_mk(s) { +function inline__P30721_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30577, depth: s.depth + 1, + parent: s, fn: inline__P30721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25789,7 +25789,7 @@ function inline__P30577_mk(s) { -function controller_ControlledSprite_constructor__P20485(s) { +function controller_ControlledSprite_constructor__P20629(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25807,7 +25807,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ControlledSprite__C20483_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ControlledSprite__C20627_VT)) failedCast(r0); r0 = (s.arg0).fields["s"] = (s.arg1); r0 = (s.arg0).fields["vx"] = (s.arg2); r0 = (s.arg0).fields["vy"] = (s.arg3); @@ -25815,12 +25815,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_ControlledSprite_constructor__P20485.info = {"start":7271,"length":117,"line":227,"column":8,"endLine":231,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} +controller_ControlledSprite_constructor__P20629.info = {"start":7271,"length":117,"line":227,"column":8,"endLine":231,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} -function controller_ControlledSprite_constructor__P20485_mk(s) { +function controller_ControlledSprite_constructor__P20629_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ControlledSprite_constructor__P20485, depth: s.depth + 1, + parent: s, fn: controller_ControlledSprite_constructor__P20629, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25832,7 +25832,7 @@ function controller_ControlledSprite_constructor__P20485_mk(s) { -function sprites_create__P20538(s) { +function sprites_create__P20682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25842,51 +25842,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___30624 = undefined; - s.sprite___30627 = undefined; + s.scene___30768 = undefined; + s.sprite___30771 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 232; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___30624 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C20580_VT); + s.scene___30768 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C20724_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P20617_mk(s); + s.tmp_1 = Sprite_constructor__P20761_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 233; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___30627 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P20635_mk(s); - s.tmp_0.arg0 = s.sprite___30627; + s.sprite___30771 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P20779_mk(s); + s.tmp_0.arg0 = s.sprite___30771; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 234; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C20723_v0_2_mk(s); - r0 = s.scene___30624.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C20867_v0_2_mk(s); + r0 = s.scene___30768.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___30627; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20723_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___30771; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_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__P30642); + r0 = pxsim_pxtcore_mkAction(1, inline__P30786); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P30648); + r0 = pxsim_pxtcore_mkAction(1, inline__P30792); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___30627); - s.tmp_2 = helpers_arrayForEach__P18671_mk(s); - s.tmp_3 = helpers_arrayFilter__P18672_mk(s); - r0 = s.scene___30624.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___30771); + s.tmp_2 = helpers_arrayForEach__P18815_mk(s); + s.tmp_3 = helpers_arrayFilter__P18816_mk(s); + r0 = s.scene___30768.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 235; s.pc = 6; return s.tmp_3; @@ -25897,23 +25897,23 @@ switch (step) { s.callLocIdx = 237; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___30627; + r0 = s.sprite___30771; return leave(s, r0) default: oops() } } } -sprites_create__P20538.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__P20682.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__P20538_mk(s) { +function sprites_create__P20682_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P20538, depth: s.depth + 1, + parent: s, fn: sprites_create__P20682, 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___30624: undefined, - sprite___30627: undefined, + scene___30768: undefined, + sprite___30771: undefined, arg0: undefined, arg1: undefined, } } @@ -25922,7 +25922,7 @@ function sprites_create__P20538_mk(s) { -function inline__P30642(s) { +function inline__P30786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25942,12 +25942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30642.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P30786.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__P30642_mk(s) { +function inline__P30786_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30642, depth: s.depth + 1, + parent: s, fn: inline__P30786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25957,7 +25957,7 @@ function inline__P30642_mk(s) { -function inline__P30648(s) { +function inline__P30792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25989,12 +25989,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30648.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P30792.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__P30648_mk(s) { +function inline__P30792_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30648, depth: s.depth + 1, + parent: s, fn: inline__P30792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26004,7 +26004,7 @@ function inline__P30648_mk(s) { -function PhysicsEngine_addSprite__P20725(s) { +function PhysicsEngine_addSprite__P20869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26020,17 +26020,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20723_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C20867_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P20725.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__P20869.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__P20725_mk(s) { +function PhysicsEngine_addSprite__P20869_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P20725, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P20869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26040,7 +26040,7 @@ function PhysicsEngine_addSprite__P20725_mk(s) { -function Sprite_setKind__P20635(s) { +function Sprite_setKind__P20779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26050,15 +26050,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___30666 = undefined; - s.overlapMap___30695 = undefined; + s.spritesByKind___30810 = undefined; + s.overlapMap___30839 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -26077,12 +26077,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P21096_mk(s); + s.tmp_3 = game_currentScene__P21240_mk(s); s.callLocIdx = 303; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___30666 = (r0); + s.spritesByKind___30810 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -26094,16 +26094,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30666, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30810, 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__P20682_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P20826_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30666, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30810, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 304; s.pc = 17; return s.tmp_4; @@ -26115,7 +26115,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___30666, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30810, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -26123,18 +26123,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__C20675_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C20819_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P20677_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P20821_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 305; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___30666, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___30810, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P20680_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30666, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P20824_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30810, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 306; s.pc = 19; return s.tmp_0; @@ -26142,13 +26142,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 307; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___30695 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___30695, s.arg1); + s.overlapMap___30839 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___30839, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -26156,7 +26156,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___30695; + s.tmp_3 = r0 = s.overlapMap___30839; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -26164,7 +26164,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___30695, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___30839, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -26173,12 +26173,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P20635.info = {"start":10872,"length":663,"line":398,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P20779.info = {"start":10872,"length":663,"line":398,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P20635_mk(s) { +function Sprite_setKind__P20779_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P20635, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P20779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26186,8 +26186,8 @@ function Sprite_setKind__P20635_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___30666: undefined, - overlapMap___30695: undefined, + spritesByKind___30810: undefined, + overlapMap___30839: undefined, arg0: undefined, arg1: undefined, } } @@ -26196,7 +26196,7 @@ function Sprite_setKind__P20635_mk(s) { -function sprites_SpriteSet_add__P20680(s) { +function sprites_SpriteSet_add__P20824(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26212,7 +26212,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20675_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -26243,12 +26243,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P20680.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__P20824.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__P20680_mk(s) { +function sprites_SpriteSet_add__P20824_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P20680, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P20824, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26264,7 +26264,7 @@ function sprites_SpriteSet_add__P20680_mk(s) { -function sprites_SpriteSet_contains__P20683(s) { +function sprites_SpriteSet_contains__P20827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26280,7 +26280,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20675_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -26289,12 +26289,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P20683.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__P20827.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__P20683_mk(s) { +function sprites_SpriteSet_contains__P20827_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P20683, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P20827, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26306,7 +26306,7 @@ function sprites_SpriteSet_contains__P20683_mk(s) { -function sprites_SpriteSet_constructor__P20677(s) { +function sprites_SpriteSet_constructor__P20821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26321,7 +26321,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20675_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -26330,12 +26330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P20677.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__P20821.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__P20677_mk(s) { +function sprites_SpriteSet_constructor__P20821_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P20677, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P20821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26346,7 +26346,7 @@ function sprites_SpriteSet_constructor__P20677_mk(s) { -function Sprite_constructor__P20617(s) { +function Sprite_constructor__P20761(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26362,15 +26362,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P20424_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P20568_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 258; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -26384,7 +26384,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___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -26403,50 +26403,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__P20594_mk(s); + s.tmp_0 = Sprite_vx__P20738_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 261; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P20596_mk(s); + s.tmp_0 = Sprite_vy__P20740_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 262; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P20598_mk(s); + s.tmp_0 = Sprite_ax__P20742_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 263; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P20600_mk(s); + s.tmp_0 = Sprite_ay__P20744_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 264; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P20602_mk(s); + s.tmp_0 = Sprite_fx__P20746_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 265; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P20604_mk(s); + s.tmp_0 = Sprite_fy__P20748_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 266; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P20620_mk(s); + s.tmp_0 = Sprite_setImage__P20764_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 267; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P20635_mk(s); + s.tmp_0 = Sprite_setKind__P20779_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 268; s.pc = 9; return s.tmp_0; @@ -26466,12 +26466,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P20617.info = {"start":5178,"length":618,"line":202,"column":4,"endLine":222,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P20761.info = {"start":5178,"length":618,"line":202,"column":4,"endLine":222,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P20617_mk(s) { +function Sprite_constructor__P20761_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P20617, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P20761, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26488,7 +26488,7 @@ function Sprite_constructor__P20617_mk(s) { -function Sprite_fy__P20604(s) { +function Sprite_fy__P20748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26504,9 +26504,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P18689_mk(s); + s.tmp_3 = Math_max__P18833_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 256; s.pc = 1; return s.tmp_3; @@ -26522,12 +26522,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P20604.info = {"start":4057,"length":64,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P20748.info = {"start":4057,"length":64,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P20604_mk(s) { +function Sprite_fy__P20748_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P20604, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P20748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26542,7 +26542,7 @@ function Sprite_fy__P20604_mk(s) { -function Sprite_fy__P20603(s) { +function Sprite_fy__P20747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26557,20 +26557,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20603.info = {"start":3895,"length":60,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P20603.isGetter = true; +Sprite_fy__P20747.info = {"start":3895,"length":60,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P20747.isGetter = true; -function Sprite_fy__P20603_mk(s) { +function Sprite_fy__P20747_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P20603, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P20747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26580,7 +26580,7 @@ function Sprite_fy__P20603_mk(s) { -function Sprite_fx__P20602(s) { +function Sprite_fx__P20746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26596,9 +26596,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P18689_mk(s); + s.tmp_3 = Math_max__P18833_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 253; s.pc = 1; return s.tmp_3; @@ -26614,12 +26614,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P20602.info = {"start":3714,"length":64,"line":141,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P20746.info = {"start":3714,"length":64,"line":141,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P20602_mk(s) { +function Sprite_fx__P20746_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P20602, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P20746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26634,7 +26634,7 @@ function Sprite_fx__P20602_mk(s) { -function Sprite_fx__P20601(s) { +function Sprite_fx__P20745(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26649,20 +26649,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20601.info = {"start":3552,"length":60,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P20601.isGetter = true; +Sprite_fx__P20745.info = {"start":3552,"length":60,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P20745.isGetter = true; -function Sprite_fx__P20601_mk(s) { +function Sprite_fx__P20745_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P20601, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P20745, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26672,7 +26672,7 @@ function Sprite_fx__P20601_mk(s) { -function Sprite_ay__P20600(s) { +function Sprite_ay__P20744(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26688,7 +26688,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -26699,12 +26699,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P20600.info = {"start":3383,"length":51,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P20744.info = {"start":3383,"length":51,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P20600_mk(s) { +function Sprite_ay__P20744_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P20600, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P20744, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26717,7 +26717,7 @@ function Sprite_ay__P20600_mk(s) { -function Sprite_ay__P20599(s) { +function Sprite_ay__P20743(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26732,20 +26732,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20599.info = {"start":3217,"length":60,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P20599.isGetter = true; +Sprite_ay__P20743.info = {"start":3217,"length":60,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P20743.isGetter = true; -function Sprite_ay__P20599_mk(s) { +function Sprite_ay__P20743_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P20599, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P20743, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26755,7 +26755,7 @@ function Sprite_ay__P20599_mk(s) { -function Sprite_ax__P20598(s) { +function Sprite_ax__P20742(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26771,7 +26771,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -26782,12 +26782,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P20598.info = {"start":3044,"length":51,"line":119,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P20742.info = {"start":3044,"length":51,"line":119,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P20598_mk(s) { +function Sprite_ax__P20742_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P20598, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P20742, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26800,7 +26800,7 @@ function Sprite_ax__P20598_mk(s) { -function Sprite_ax__P20597(s) { +function Sprite_ax__P20741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26815,20 +26815,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20597.info = {"start":2878,"length":60,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P20597.isGetter = true; +Sprite_ax__P20741.info = {"start":2878,"length":60,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P20741.isGetter = true; -function Sprite_ax__P20597_mk(s) { +function Sprite_ax__P20741_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P20597, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P20741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26838,7 +26838,7 @@ function Sprite_ax__P20597_mk(s) { -function helpers_getTilemapByName__P20922(s) { +function helpers_getTilemapByName__P21066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26848,46 +26848,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___30840 = undefined; - s.unnamed244___U1 = undefined; - s.unnamed245___U2 = undefined; - s.data___30842 = undefined; + s.factory___30984 = undefined; + s.unnamed264___U1 = undefined; + s.unnamed265___U2 = undefined; + s.data___30986 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___22388); + r0 = pxsim_numops_toBoolDecr(globals.factories___22532); if (!r0) { step = 5; continue; } - s.factory___30840 = (undefined); - s.unnamed244___U1 = (globals.factories___22388); - s.unnamed245___U2 = (0); + s.factory___30984 = (undefined); + s.unnamed264___U1 = (globals.factories___22532); + s.unnamed265___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed245___U2; - r0 = pxsim_Array__length(s.unnamed244___U1); + s.tmp_0 = r0 = s.unnamed265___U2; + r0 = pxsim_Array__length(s.unnamed264___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed244___U1, s.unnamed245___U2); - s.factory___30840 = (r0); + r0 = pxsim_Array__getAt(s.unnamed264___U1, s.unnamed265___U2); + s.factory___30984 = (r0); s.tmp_2 = lambda_2_mk(s); - s.tmp_2.argL = s.factory___30840; + s.tmp_2.argL = s.factory___30984; s.tmp_2.arg0 = s.arg0; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 857; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.data___30842 = (r0); - r0 = pxsim_numops_toBoolDecr(s.data___30842); + s.data___30986 = (r0); + r0 = pxsim_numops_toBoolDecr(s.data___30986); if (!r0) { step = 2; continue; } - r0 = s.data___30842; + r0 = s.data___30986; { step = 7; continue; } case 2: case 3: - r0 = (s.unnamed245___U2 + 1); - s.unnamed245___U2 = (r0); + r0 = (s.unnamed265___U2 + 1); + s.unnamed265___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed244___U1 = (undefined); + s.unnamed264___U1 = (undefined); case 5: case 6: r0 = null; @@ -26895,20 +26895,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_getTilemapByName__P20922.info = {"start":20988,"length":254,"line":645,"column":4,"endLine":655,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTilemapByName","argumentNames":["name"]} +helpers_getTilemapByName__P21066.info = {"start":20988,"length":254,"line":645,"column":4,"endLine":655,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTilemapByName","argumentNames":["name"]} -function helpers_getTilemapByName__P20922_mk(s) { +function helpers_getTilemapByName__P21066_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_getTilemapByName__P20922, depth: s.depth + 1, + parent: s, fn: helpers_getTilemapByName__P21066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - factory___30840: undefined, - unnamed244___U1: undefined, - unnamed245___U2: undefined, - data___30842: undefined, + factory___30984: undefined, + unnamed264___U1: undefined, + unnamed265___U2: undefined, + data___30986: undefined, arg0: undefined, } } @@ -26916,7 +26916,7 @@ function helpers_getTilemapByName__P20922_mk(s) { -function tilemap__P20916(s) { +function tilemap__P21060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26935,12 +26935,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tilemap__P20916.info = {"start":20205,"length":78,"line":620,"column":0,"endLine":620,"endColumn":78,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tilemap","argumentNames":["lits","args"]} +tilemap__P21060.info = {"start":20205,"length":78,"line":620,"column":0,"endLine":620,"endColumn":78,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tilemap","argumentNames":["lits","args"]} -function tilemap__P20916_mk(s) { +function tilemap__P21060_mk(s) { checkStack(s.depth); return { - parent: s, fn: tilemap__P20916, depth: s.depth + 1, + parent: s, fn: tilemap__P21060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26950,7 +26950,7 @@ function tilemap__P20916_mk(s) { -function tiles_setTilemap__P20905(s) { +function tiles_setTilemap__P21049(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26964,7 +26964,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_setTileMapLevel__P21026_mk(s); + s.tmp_0 = scene_setTileMapLevel__P21170_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 851; s.pc = 1; return s.tmp_0; case 1: @@ -26973,12 +26973,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_setTilemap__P20905.info = {"start":14603,"length":96,"line":468,"column":4,"endLine":470,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTilemap","argumentNames":["tilemap"]} +tiles_setTilemap__P21049.info = {"start":14603,"length":96,"line":468,"column":4,"endLine":470,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTilemap","argumentNames":["tilemap"]} -function tiles_setTilemap__P20905_mk(s) { +function tiles_setTilemap__P21049_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_setTilemap__P20905, depth: s.depth + 1, + parent: s, fn: tiles_setTilemap__P21049, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26988,7 +26988,7 @@ function tiles_setTilemap__P20905_mk(s) { -function scene_setTileMapLevel__P21026(s) { +function scene_setTileMapLevel__P21170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26998,17 +26998,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___30855 = undefined; + s.scene___30999 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 911; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.scene___30855 = (r0); - r0 = s.scene___30855.fields["tileMap"]; + s.scene___30999 = (r0); + r0 = s.scene___30999.fields["tileMap"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -27016,26 +27016,26 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMap__C20881_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMap__C21025_VT); s.tmp_3 = r0; - s.tmp_4 = tiles_TileMap_constructor__P20882_mk(s); + s.tmp_4 = tiles_TileMap_constructor__P21026_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 4; s.callLocIdx = 912; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; - r0 = (s.scene___30855).fields["tileMap"] = (s.tmp_3); + r0 = (s.scene___30999).fields["tileMap"] = (s.tmp_3); case 1: case 2: - s.tmp_0 = tiles_TileMap_setData__P20892_mk(s); - r0 = s.scene___30855.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_setData__P21036_mk(s); + r0 = s.scene___30999.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 913; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tiles_TileMap_scale__P20884_mk(s); - r0 = s.scene___30855.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_scale__P21028_mk(s); + r0 = s.scene___30999.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_0.arg1 = r0; @@ -27046,19 +27046,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_setTileMapLevel__P21026.info = {"start":2994,"length":260,"line":113,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setTileMapLevel","argumentNames":["map"]} +scene_setTileMapLevel__P21170.info = {"start":2994,"length":260,"line":113,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setTileMapLevel","argumentNames":["map"]} -function scene_setTileMapLevel__P21026_mk(s) { +function scene_setTileMapLevel__P21170_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTileMapLevel__P21026, depth: s.depth + 1, + parent: s, fn: scene_setTileMapLevel__P21170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - scene___30855: undefined, + scene___30999: undefined, arg0: undefined, } } @@ -27066,7 +27066,7 @@ function scene_setTileMapLevel__P21026_mk(s) { -function tiles_TileMap_setData__P20892(s) { +function tiles_TileMap_setData__P21036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27082,18 +27082,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = (s.arg0).fields["_map"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_TileMap_setData__P20892.info = {"start":7183,"length":66,"line":265,"column":8,"endLine":267,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setData","argumentNames":["this","map"]} +tiles_TileMap_setData__P21036.info = {"start":7183,"length":66,"line":265,"column":8,"endLine":267,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setData","argumentNames":["this","map"]} -function tiles_TileMap_setData__P20892_mk(s) { +function tiles_TileMap_setData__P21036_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setData__P20892, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setData__P21036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27103,7 +27103,7 @@ function tiles_TileMap_setData__P20892_mk(s) { -function tiles_TileMap_scale__P20884(s) { +function tiles_TileMap_scale__P21028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27119,13 +27119,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_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__P20873_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P21017_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -27138,12 +27138,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P20884.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__P21028.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__P20884_mk(s) { +function tiles_TileMap_scale__P21028_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P20884, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P21028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27155,7 +27155,7 @@ function tiles_TileMap_scale__P20884_mk(s) { -function tiles_TileMapData_scale__P20873(s) { +function tiles_TileMapData_scale__P21017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27171,7 +27171,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -27181,12 +27181,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P20873.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__P21017.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__P20873_mk(s) { +function tiles_TileMapData_scale__P21017_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P20873, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P21017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27198,7 +27198,7 @@ function tiles_TileMapData_scale__P20873_mk(s) { -function tiles_TileMap_constructor__P20882(s) { +function tiles_TileMap_constructor__P21026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27214,18 +27214,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P20884_mk(s); + s.tmp_0 = tiles_TileMap_scale__P21028_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 786; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P30915); + r0 = pxsim_pxtcore_mkAction(1, inline__P31059); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = scene_createRenderable__P20947_mk(s); + s.tmp_1 = scene_createRenderable__P21091_mk(s); s.tmp_1.arg0 = -1; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; @@ -27236,12 +27236,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P20882.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__P21026.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__P20882_mk(s) { +function tiles_TileMap_constructor__P21026_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P20882, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P21026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27253,7 +27253,7 @@ function tiles_TileMap_constructor__P20882_mk(s) { -function inline__P30915(s) { +function inline__P31059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27268,7 +27268,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P22386_mk(s); + s.tmp_0 = tiles_TileMap_draw__P22530_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -27279,12 +27279,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P30915.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__P31059.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__P30915_mk(s) { +function inline__P31059_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30915, depth: s.depth + 1, + parent: s, fn: inline__P31059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27295,7 +27295,7 @@ function inline__P30915_mk(s) { -function tiles_TileMap_draw__P22386(s) { +function tiles_TileMap_draw__P22530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27305,21 +27305,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___30926 = undefined; - s.offsetX___30932 = undefined; - s.offsetY___30937 = undefined; - s.x0___30942 = undefined; - s.xn___30949 = undefined; - s.y0___30966 = undefined; - s.yn___30973 = undefined; - s.x___30990 = undefined; - s.y___30996 = undefined; - s.index___31002 = undefined; - s.tile___31009 = undefined; - s.x___31045 = undefined; - s.xLine___31051 = undefined; - s.y___31077 = undefined; - s.yLine___31083 = undefined; + s.bitmask___31070 = undefined; + s.offsetX___31076 = undefined; + s.offsetY___31081 = undefined; + s.x0___31086 = undefined; + s.xn___31093 = undefined; + s.y0___31110 = undefined; + s.yn___31117 = undefined; + s.x___31134 = undefined; + s.y___31140 = undefined; + s.index___31146 = undefined; + s.tile___31153 = undefined; + s.x___31189 = undefined; + s.xLine___31195 = undefined; + s.y___31221 = undefined; + s.yLine___31227 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27327,7 +27327,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -27352,16 +27352,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___30926 = (r0); + s.bitmask___31070 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___30926); - s.offsetX___30932 = (r0); + r0 = (s.tmp_0 & s.bitmask___31070); + s.offsetX___31076 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___30926); - s.offsetY___30937 = (r0); - s.tmp_0 = Math_max__P18689_mk(s); + r0 = (s.tmp_0 & s.bitmask___31070); + s.offsetY___31081 = (r0); + s.tmp_0 = Math_max__P18833_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -27372,8 +27372,8 @@ switch (step) { s.callLocIdx = 808; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___30942 = (r0); - s.tmp_0 = Math_min__P18690_mk(s); + s.x0___31086 = (r0); + s.tmp_0 = Math_min__P18834_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -27393,8 +27393,8 @@ switch (step) { s.callLocIdx = 811; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___30949 = (r0); - s.tmp_0 = Math_max__P18689_mk(s); + s.xn___31093 = (r0); + s.tmp_0 = Math_max__P18833_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -27405,8 +27405,8 @@ switch (step) { s.callLocIdx = 813; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___30966 = (r0); - s.tmp_0 = Math_min__P18690_mk(s); + s.y0___31110 = (r0); + s.tmp_0 = Math_min__P18834_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -27426,92 +27426,92 @@ switch (step) { s.callLocIdx = 816; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___30973 = (r0); - s.x___30990 = (s.x0___30942); + s.yn___31117 = (r0); + s.x___31134 = (s.x0___31086); case 3: - r0 = (s.x___30990 <= s.xn___30949); + r0 = (s.x___31134 <= s.xn___31093); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___30996 = (s.y0___30966); + s.y___31140 = (s.y0___31110); case 4: - r0 = (s.y___30996 <= s.yn___30973); + r0 = (s.y___31140 <= s.yn___31117); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P20874_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P21018_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___30990; - s.tmp_1.arg2 = s.y___30996; + s.tmp_1.arg1 = s.x___31134; + s.tmp_1.arg2 = s.y___31140; s.callLocIdx = 817; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___31002 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P20877_mk(s); + s.index___31146 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P21021_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___31002; + s.tmp_0.arg1 = s.index___31146; s.callLocIdx = 818; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___31009 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___31009); + s.tile___31153 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___31153); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___31009; - r0 = (s.x___30990 - s.x0___30942); + s.tmp_1 = r0 = s.tile___31153; + r0 = (s.x___31134 - s.x0___31086); 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___30932); + r0 = (s.tmp_3 - s.offsetX___31076); s.tmp_2 = r0; - r0 = (s.y___30996 - s.y0___30966); + r0 = (s.y___31140 - s.y0___31110); 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___30937); + r0 = (s.tmp_7 - s.offsetY___31081); 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___30996 + 1); - s.y___30996 = (r0); + r0 = (s.y___31140 + 1); + s.y___31140 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___30990 + 1); - s.x___30990 = (r0); + r0 = (s.x___31134 + 1); + s.x___31134 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___21092); + r0 = pxsim_numops_toBoolDecr(globals.debug___21236); if (!r0) { step = 21; continue; } - s.x___31045 = (s.x0___30942); + s.x___31189 = (s.x0___31086); case 9: - r0 = (s.x___31045 <= s.xn___30949); + r0 = (s.x___31189 <= s.xn___31093); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___31045 - s.x0___30942); + r0 = (s.x___31189 - s.x0___31086); 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___30932); - s.xLine___31051 = (r0); - r0 = (s.xLine___31051 >= 0); + r0 = (s.tmp_1 - s.offsetX___31076); + s.xLine___31195 = (r0); + r0 = (s.xLine___31195 >= 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___31051; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + s.tmp_1 = r0 = s.xLine___31195; + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -27519,11 +27519,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P20294_mk(s); + s.tmp_4 = helpers_imageDrawLine__P20438_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___31051; + s.tmp_4.arg1 = s.xLine___31195; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___31051; + s.tmp_4.arg3 = s.xLine___31195; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -27532,33 +27532,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___31045 + 1); - s.x___31045 = (r0); + r0 = (s.x___31189 + 1); + s.x___31189 = (r0); { step = 9; continue; } case 14: - s.y___31077 = (s.y0___30966); + s.y___31221 = (s.y0___31110); case 15: - r0 = (s.y___31077 <= s.yn___30973); + r0 = (s.y___31221 <= s.yn___31117); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___31077 - s.y0___30966); + r0 = (s.y___31221 - s.y0___31110); 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___30937); - s.yLine___31083 = (r0); - r0 = (s.yLine___31083 >= 0); + r0 = (s.tmp_1 - s.offsetY___31081); + s.yLine___31227 = (r0); + r0 = (s.yLine___31227 >= 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___31083; - r0 = pxsim_ImageMethods.height(globals.screen___20366); + s.tmp_1 = r0 = s.yLine___31227; + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -27566,21 +27566,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P20294_mk(s); + s.tmp_4 = helpers_imageDrawLine__P20438_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___31083; + s.tmp_4.arg2 = s.yLine___31227; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___31083; + s.tmp_4.arg4 = s.yLine___31227; s.tmp_4.arg5 = 1; s.callLocIdx = 824; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___31077 + 1); - s.y___31077 = (r0); + r0 = (s.y___31221 + 1); + s.y___31221 = (r0); { step = 15; continue; } case 20: case 21: @@ -27590,12 +27590,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P22386.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__P22530.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__P22386_mk(s) { +function tiles_TileMap_draw__P22530_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P22386, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P22530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27607,21 +27607,21 @@ function tiles_TileMap_draw__P22386_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___30926: undefined, - offsetX___30932: undefined, - offsetY___30937: undefined, - x0___30942: undefined, - xn___30949: undefined, - y0___30966: undefined, - yn___30973: undefined, - x___30990: undefined, - y___30996: undefined, - index___31002: undefined, - tile___31009: undefined, - x___31045: undefined, - xLine___31051: undefined, - y___31077: undefined, - yLine___31083: undefined, + bitmask___31070: undefined, + offsetX___31076: undefined, + offsetY___31081: undefined, + x0___31086: undefined, + xn___31093: undefined, + y0___31110: undefined, + yn___31117: undefined, + x___31134: undefined, + y___31140: undefined, + index___31146: undefined, + tile___31153: undefined, + x___31189: undefined, + xLine___31195: undefined, + y___31221: undefined, + yLine___31227: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27631,7 +27631,7 @@ function tiles_TileMap_draw__P22386_mk(s) { -function scene_createRenderable__P20947(s) { +function scene_createRenderable__P21091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27641,14 +27641,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___31195 = undefined; + s.renderable___31339 = 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__C20942_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C21086_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -27656,11 +27656,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P31201; + r0 = inline__P31345; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P20943_mk(s); + s.tmp_3 = scene_Renderable_constructor__P21087_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -27668,23 +27668,23 @@ switch (step) { s.callLocIdx = 878; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___31195 = (s.tmp_0); - r0 = s.renderable___31195; + s.renderable___31339 = (s.tmp_0); + r0 = s.renderable___31339; return leave(s, r0) default: oops() } } } -scene_createRenderable__P20947.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__P21091.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__P20947_mk(s) { +function scene_createRenderable__P21091_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P20947, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P21091, 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___31195: undefined, + renderable___31339: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27694,7 +27694,7 @@ function scene_createRenderable__P20947_mk(s) { -function inline__P31201(s) { +function inline__P31345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27708,12 +27708,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P31201.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P31345.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P31201_mk(s) { +function inline__P31345_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P31201, depth: s.depth + 1, + parent: s, fn: inline__P31345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -27721,7 +27721,7 @@ function inline__P31201_mk(s) { -function scene_Renderable_constructor__P20943(s) { +function scene_Renderable_constructor__P21087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27739,10 +27739,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C20942_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C21086_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P20424_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P20568_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 875; s.pc = 1; return s.tmp_0; @@ -27752,12 +27752,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P20943.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__P21087.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__P20943_mk(s) { +function scene_Renderable_constructor__P21087_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P20943, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P21087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27770,7 +27770,7 @@ function scene_Renderable_constructor__P20943_mk(s) { -function game_consoleOverlay_setVisible__P21217(s) { +function game_consoleOverlay_setVisible__P21361(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27786,7 +27786,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22738); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -27807,26 +27807,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___22738 = (s.tmp_6); + globals.consoleStrings___22882 = (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___22737 = (s.arg1); + globals.consoleColor___22881 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P21217.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__P21361.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__P21217_mk(s) { +function game_consoleOverlay_setVisible__P21361_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P21217, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P21361, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27843,7 +27843,7 @@ function game_consoleOverlay_setVisible__P21217_mk(s) { -function tiles_createTilemap__P20904(s) { +function tiles_createTilemap__P21048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27860,9 +27860,9 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C20868_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C21012_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_TileMapData_constructor__P20869_mk(s); + s.tmp_1 = tiles_TileMapData_constructor__P21013_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -27875,12 +27875,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_createTilemap__P20904.info = {"start":14038,"length":170,"line":456,"column":4,"endLine":458,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"createTilemap","argumentNames":["data","layer","tiles","scale"]} +tiles_createTilemap__P21048.info = {"start":14038,"length":170,"line":456,"column":4,"endLine":458,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"createTilemap","argumentNames":["data","layer","tiles","scale"]} -function tiles_createTilemap__P20904_mk(s) { +function tiles_createTilemap__P21048_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_createTilemap__P20904, depth: s.depth + 1, + parent: s, fn: tiles_createTilemap__P21048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27894,7 +27894,7 @@ function tiles_createTilemap__P20904_mk(s) { -function tiles_TileMapData_constructor__P20869(s) { +function tiles_TileMapData_constructor__P21013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27913,11 +27913,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C21012_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__P20873_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P21017_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 780; s.pc = 1; return s.tmp_0; @@ -27935,12 +27935,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P20869.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__P21013.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__P20869_mk(s) { +function tiles_TileMapData_constructor__P21013_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P20869, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P21013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27955,7 +27955,7 @@ function tiles_TileMapData_constructor__P20869_mk(s) { -function helpers_stringTrim__P18682(s) { +function helpers_stringTrim__P18826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27965,27 +27965,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___31270 = undefined; - s.end___31271 = undefined; + s.start___31414 = undefined; + s.end___31415 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.start___31270 = (0); + s.start___31414 = (0); r0 = pxsim_String_.length(s.arg0); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.end___31271 = (r0); + s.end___31415 = (r0); case 1: - r0 = (s.start___31270 <= s.end___31271); + r0 = (s.start___31414 <= s.end___31415); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 3; continue; } case 2: - s.tmp_1 = helpers_isWhitespace__P18683_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___31270); + s.tmp_1 = helpers_isWhitespace__P18827_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___31414); s.tmp_1.arg0 = r0; s.callLocIdx = 15; s.pc = 9; return s.tmp_1; case 9: @@ -27995,20 +27995,20 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - r0 = (s.start___31270 + 1); - s.start___31270 = (r0); + r0 = (s.start___31414 + 1); + s.start___31414 = (r0); { step = 1; continue; } case 4: case 5: - r0 = (s.end___31271 > s.start___31270); + r0 = (s.end___31415 > s.start___31414); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_1 = helpers_isWhitespace__P18683_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.end___31271); + s.tmp_1 = helpers_isWhitespace__P18827_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.end___31415); s.tmp_1.arg0 = r0; s.callLocIdx = 16; s.pc = 10; return s.tmp_1; case 10: @@ -28018,14 +28018,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - r0 = (s.end___31271 - 1); - s.end___31271 = (r0); + r0 = (s.end___31415 - 1); + s.end___31415 = (r0); { step = 5; continue; } case 8: - s.tmp_0 = helpers_stringSlice__P18679_mk(s); + s.tmp_0 = helpers_stringSlice__P18823_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.start___31270; - r0 = (s.end___31271 + 1); + s.tmp_0.arg1 = s.start___31414; + r0 = (s.end___31415 + 1); s.tmp_0.arg2 = r0; s.callLocIdx = 17; s.pc = 11; return s.tmp_0; case 11: @@ -28033,18 +28033,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringTrim__P18682.info = {"start":13550,"length":319,"line":464,"column":4,"endLine":474,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} +helpers_stringTrim__P18826.info = {"start":13550,"length":319,"line":464,"column":4,"endLine":474,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} -function helpers_stringTrim__P18682_mk(s) { +function helpers_stringTrim__P18826_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringTrim__P18682, depth: s.depth + 1, + parent: s, fn: helpers_stringTrim__P18826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - start___31270: undefined, - end___31271: undefined, + start___31414: undefined, + end___31415: undefined, arg0: undefined, } } @@ -28052,7 +28052,7 @@ function helpers_stringTrim__P18682_mk(s) { -function helpers_isWhitespace__P18683(s) { +function helpers_isWhitespace__P18827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28109,12 +28109,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_isWhitespace__P18683.info = {"start":13875,"length":674,"line":476,"column":4,"endLine":493,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} +helpers_isWhitespace__P18827.info = {"start":13875,"length":674,"line":476,"column":4,"endLine":493,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} -function helpers_isWhitespace__P18683_mk(s) { +function helpers_isWhitespace__P18827_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_isWhitespace__P18683, depth: s.depth + 1, + parent: s, fn: helpers_isWhitespace__P18827, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28124,7 +28124,7 @@ function helpers_isWhitespace__P18683_mk(s) { -function helpers_registerTilemapFactory__P20921(s) { +function helpers_registerTilemapFactory__P21065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28138,27 +28138,27 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___22388); + r0 = pxsim_numops_toBoolDecr(globals.factories___22532); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals.factories___22388 = (r0); + globals.factories___22532 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals.factories___22388, s.arg0); + r0 = pxsim_Array__push(globals.factories___22532, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_registerTilemapFactory__P20921.info = {"start":20837,"length":145,"line":639,"column":4,"endLine":643,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"registerTilemapFactory","argumentNames":["factory"]} +helpers_registerTilemapFactory__P21065.info = {"start":20837,"length":145,"line":639,"column":4,"endLine":643,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"registerTilemapFactory","argumentNames":["factory"]} -function helpers_registerTilemapFactory__P20921_mk(s) { +function helpers_registerTilemapFactory__P21065_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_registerTilemapFactory__P20921, depth: s.depth + 1, + parent: s, fn: helpers_registerTilemapFactory__P21065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28169,7 +28169,7 @@ function helpers_registerTilemapFactory__P20921_mk(s) { -function game_eventContext__P21099(s) { +function game_eventContext__P21243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28179,21 +28179,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P22448_mk(s); + s.tmp_0 = game_init__P22592_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 918; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___22440.fields["eventContext"]; + r0 = globals._scene___22584.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P21099.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P21243.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function game_eventContext__P21099_mk(s) { +function game_eventContext__P21243_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P21099, depth: s.depth + 1, + parent: s, fn: game_eventContext__P21243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -28202,7 +28202,7 @@ function game_eventContext__P21099_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P20517(s) { +function controller_pauseUntilAnyButtonIsPressed__P20661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28222,12 +28222,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P20517.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P20661.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__P20517_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P20661_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P20517, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P20661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -28235,7 +28235,7 @@ function controller_pauseUntilAnyButtonIsPressed__P20517_mk(s) { -function game_setWaitAnyButton__P21097(s) { +function game_setWaitAnyButton__P21241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28249,17 +28249,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___22444 = (s.arg0); + globals.__waitAnyButton___22588 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P21097.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__P21241.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__P21097_mk(s) { +function game_setWaitAnyButton__P21241_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P21097, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P21241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28268,7 +28268,7 @@ function game_setWaitAnyButton__P21097_mk(s) { -function Math_abs__P18687(s) { +function Math_abs__P18831(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28297,12 +28297,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P18687.info = {"start":15106,"length":77,"line":511,"column":4,"endLine":513,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P18831.info = {"start":15106,"length":77,"line":511,"column":4,"endLine":513,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P18687_mk(s) { +function Math_abs__P18831_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P18687, depth: s.depth + 1, + parent: s, fn: Math_abs__P18831, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28313,7 +28313,7 @@ function Math_abs__P18687_mk(s) { -function Math_sign__P18688(s) { +function Math_sign__P18832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28348,12 +28348,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P18688.info = {"start":15341,"length":125,"line":519,"column":4,"endLine":523,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P18832.info = {"start":15341,"length":125,"line":519,"column":4,"endLine":523,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P18688_mk(s) { +function Math_sign__P18832_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P18688, depth: s.depth + 1, + parent: s, fn: Math_sign__P18832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28364,7 +28364,7 @@ function Math_sign__P18688_mk(s) { -function texteffects_TextEffect_constructor__P21397(s) { +function texteffects_TextEffect_constructor__P21541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28380,18 +28380,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, texteffects_TextEffect__C21395_VT)) failedCast(r0); + if (!checkSubtype(r0, texteffects_TextEffect__C21539_VT)) failedCast(r0); r0 = (s.arg0).fields["getState"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -texteffects_TextEffect_constructor__P21397.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__P21541.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__P21397_mk(s) { +function texteffects_TextEffect_constructor__P21541_mk(s) { checkStack(s.depth); return { - parent: s, fn: texteffects_TextEffect_constructor__P21397, depth: s.depth + 1, + parent: s, fn: texteffects_TextEffect_constructor__P21541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28401,7 +28401,7 @@ function texteffects_TextEffect_constructor__P21397_mk(s) { -function Math_FastRandom_constructor__P21152(s) { +function Math_FastRandom_constructor__P21296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28417,7 +28417,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21150_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C21294_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -28432,12 +28432,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P21152.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__P21296.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__P21152_mk(s) { +function Math_FastRandom_constructor__P21296_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P21152, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P21296, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28448,7 +28448,7 @@ function Math_FastRandom_constructor__P21152_mk(s) { -function control_ramSize__P18899(s) { +function control_ramSize__P19043(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28473,12 +28473,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P18899.info = {"start":5058,"length":100,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P19043.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__P18899_mk(s) { +function control_ramSize__P19043_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P18899, depth: s.depth + 1, + parent: s, fn: control_ramSize__P19043, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28488,7 +28488,7 @@ function control_ramSize__P18899_mk(s) { -function control__ramSize__P22087(s) { +function control__ramSize__P22231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28502,12 +28502,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P22087.info = {"start":4938,"length":60,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P22231.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__P22087_mk(s) { +function control__ramSize__P22231_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P22087, depth: s.depth + 1, + parent: s, fn: control__ramSize__P22231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -28515,7 +28515,7 @@ function control__ramSize__P22087_mk(s) { -function game_consoleOverlay_listener__P22773(s) { +function game_consoleOverlay_listener__P22917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28530,7 +28530,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22738); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28550,9 +28550,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P18671_mk(s); - s.tmp_5 = helpers_arrayFilter__P18672_mk(s); - s.tmp_6 = helpers_stringSplit__P18681_mk(s); + s.tmp_4 = helpers_arrayForEach__P18815_mk(s); + s.tmp_5 = helpers_arrayFilter__P18816_mk(s); + s.tmp_6 = helpers_stringSplit__P18825_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -28560,27 +28560,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P31967; + s.tmp_5.arg1 = inline__P32111; s.callLocIdx = 1103; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P31972; + s.tmp_4.arg1 = inline__P32116; s.callLocIdx = 1105; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___22738); + r0 = pxsim_Array__length(globals.consoleStrings___22882); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___22751); + r0 = (s.tmp_1 > globals.consoleLines___22895); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P18662_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___22738; + s.tmp_2 = helpers_arraySplice__P18806_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___22882; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___22738); + r0 = pxsim_Array__length(globals.consoleStrings___22882); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___22751); + r0 = (s.tmp_3 - globals.consoleLines___22895); s.tmp_2.arg2 = r0; s.callLocIdx = 1106; s.pc = 11; return s.tmp_2; case 11: @@ -28592,12 +28592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P22773.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__P22917.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__P22773_mk(s) { +function game_consoleOverlay_listener__P22917_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P22773, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P22917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28614,7 +28614,7 @@ function game_consoleOverlay_listener__P22773_mk(s) { -function inline__P31967(s) { +function inline__P32111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28638,12 +28638,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P31967.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P32111.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__P31967_mk(s) { +function inline__P32111_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P31967, depth: s.depth + 1, + parent: s, fn: inline__P32111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28655,7 +28655,7 @@ function inline__P31967_mk(s) { -function inline__P31972(s) { +function inline__P32116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28665,45 +28665,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___31974 = undefined; + s.j___32118 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___31974 = (0); + s.j___32118 = (0); case 1: - s.tmp_1 = r0 = s.j___31974; + s.tmp_1 = r0 = s.j___32118; 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___22738; - s.tmp_5 = helpers_stringSlice__P18679_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___22882; + s.tmp_5 = helpers_stringSlice__P18823_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___31974; - r0 = (s.j___31974 + globals.consoleColumns___22761); + s.tmp_5.arg1 = s.j___32118; + r0 = (s.j___32118 + globals.consoleColumns___22905); s.tmp_5.arg2 = r0; s.callLocIdx = 1104; 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___31974 + globals.consoleColumns___22761); - s.j___31974 = (r0); + r0 = (s.j___32118 + globals.consoleColumns___22905); + s.j___32118 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P31972.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P32116.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__P31972_mk(s) { +function inline__P32116_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P31972, depth: s.depth + 1, + parent: s, fn: inline__P32116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28711,7 +28711,7 @@ function inline__P31972_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___31974: undefined, + j___32118: undefined, arg0: undefined, } } @@ -28719,7 +28719,7 @@ function inline__P31972_mk(s) { -function console_addListener__P18936(s) { +function console_addListener__P19080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28742,7 +28742,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___22102, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___22246, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -28753,18 +28753,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___22102, s.arg0); + r0 = pxsim_Array__push(globals.listeners___22246, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P18936.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__P19080.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__P18936_mk(s) { +function console_addListener__P19080_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P18936, depth: s.depth + 1, + parent: s, fn: console_addListener__P19080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28777,7 +28777,7 @@ function console_addListener__P18936_mk(s) { -function inline__P22101(s) { +function inline__P22245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28797,12 +28797,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22101.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__P22245.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__P22101_mk(s) { +function inline__P22245_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22101, depth: s.depth + 1, + parent: s, fn: inline__P22245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28812,7 +28812,7 @@ function inline__P22101_mk(s) { -function scene_systemMenu_register__P21197(s) { +function scene_systemMenu_register__P21341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28822,15 +28822,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___22692); + r0 = pxsim_numops_toBoolDecr(globals.instance___22836); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P20474_mk(s); - s.tmp_0.arg0 = globals.menu___20447; + s.tmp_0 = controller_Button_onEvent__P20618_mk(s); + s.tmp_0.arg0 = globals.menu___20591; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P21198; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P21342; s.callLocIdx = 1089; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -28839,12 +28839,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P21197.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__P21341.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__P21197_mk(s) { +function scene_systemMenu_register__P21341_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P21197, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P21341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -28853,7 +28853,7 @@ function scene_systemMenu_register__P21197_mk(s) { -function scene_systemMenu_showSystemMenu__P21198(s) { +function scene_systemMenu_showSystemMenu__P21342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28863,27 +28863,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___22692); + r0 = pxsim_numops_toBoolDecr(globals.instance___22836); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P21100_mk(s); + s.tmp_0 = game_pushScene__P21244_mk(s); s.callLocIdx = 1090; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C21186_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C21330_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P21187_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P21331_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P21194; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P21338; s.tmp_1.arg2 = undefined; s.callLocIdx = 1091; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___22692 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P21188_mk(s); - s.tmp_0.arg0 = globals.instance___22692; + globals.instance___22836 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P21332_mk(s); + s.tmp_0.arg0 = globals.instance___22836; s.callLocIdx = 1092; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -28892,12 +28892,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P21198.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__P21342.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__P21198_mk(s) { +function scene_systemMenu_showSystemMenu__P21342_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P21198, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P21342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28907,7 +28907,7 @@ function scene_systemMenu_showSystemMenu__P21198_mk(s) { -function scene_systemMenu_buildOptionList__P21194(s) { +function scene_systemMenu_buildOptionList__P21338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28917,136 +28917,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___32731 = undefined; + s.options___32875 = undefined; r0 = pxsim_Array__mk(); - s.options___32731 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21178_VT); + s.options___32875 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21179_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___21208; - s.tmp_1.arg2 = inline__P32739; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P22698; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___21352; + s.tmp_1.arg2 = inline__P32883; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P22842; s.callLocIdx = 1072; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32731, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21178_VT); + r0 = pxsim_Array__push(s.options___32875, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21179_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___21205; - s.tmp_1.arg2 = inline__P32753; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P22697; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___21349; + s.tmp_1.arg2 = inline__P32897; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P22841; s.callLocIdx = 1074; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32731, s.tmp_0); + r0 = pxsim_Array__push(s.options___32875, 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__C21178_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P21179_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___21206; - s.tmp_2.arg2 = inline__P32768; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P22700; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___21350; + s.tmp_2.arg2 = inline__P32912; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P22844; s.callLocIdx = 1077; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32731, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21178_VT); + r0 = pxsim_Array__push(s.options___32875, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21179_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___21211; - s.tmp_1.arg2 = inline__P32783; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P22699; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___21355; + s.tmp_1.arg2 = inline__P32927; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P22843; s.callLocIdx = 1079; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32731, s.tmp_0); + r0 = pxsim_Array__push(s.options___32875, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21178_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21179_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___21212; - s.tmp_1.arg2 = inline__P32798; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P22702; + s.tmp_1.arg1 = globals.STATS_ICON___21356; + s.tmp_1.arg2 = inline__P32942; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P22846; s.callLocIdx = 1080; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32731, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21178_VT); + r0 = pxsim_Array__push(s.options___32875, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21179_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___21210; - s.tmp_1.arg2 = inline__P32807; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P22703; + s.tmp_1.arg1 = globals.CONSOLE_ICON___21354; + s.tmp_1.arg2 = inline__P32951; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P22847; s.callLocIdx = 1082; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32731, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21178_VT); + r0 = pxsim_Array__push(s.options___32875, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21179_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___21209; - s.tmp_1.arg2 = inline__P32816; - s.tmp_1.arg3 = scene_systemMenu_sleep__P22704; + s.tmp_1.arg1 = globals.SLEEP_ICON___21353; + s.tmp_1.arg2 = inline__P32960; + s.tmp_1.arg3 = scene_systemMenu_sleep__P22848; s.callLocIdx = 1083; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32731, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___22693); + r0 = pxsim_Array__push(s.options___32875, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___22837); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P18675_mk(s); - s.tmp_0.arg0 = s.options___32731; - s.tmp_0.arg1 = globals.customMenuOptions___22693; + s.tmp_0 = helpers_arrayConcat__P18819_mk(s); + s.tmp_0.arg0 = s.options___32875; + s.tmp_0.arg1 = globals.customMenuOptions___22837; s.callLocIdx = 1084; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___32731 = (r0); + s.options___32875 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21178_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21179_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___21207; - s.tmp_1.arg2 = inline__P32829; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P21193; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___21351; + s.tmp_1.arg2 = inline__P32973; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P21337; s.callLocIdx = 1085; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32731, s.tmp_0); - r0 = s.options___32731; + r0 = pxsim_Array__push(s.options___32875, s.tmp_0); + r0 = s.options___32875; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P21194.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__P21338.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__P21194_mk(s) { +function scene_systemMenu_buildOptionList__P21338_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P21194, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P21338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___32731: undefined, + options___32875: undefined, } } -function inline__P32739(s) { +function inline__P32883(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29056,7 +29056,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P20157_mk(s); + s.tmp_3 = music_volume__P20301_mk(s); s.callLocIdx = 1071; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -29076,12 +29076,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32739.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32883.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32739_mk(s) { +function inline__P32883_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32739, depth: s.depth + 1, + parent: s, fn: inline__P32883, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29093,7 +29093,7 @@ function inline__P32739_mk(s) { -function inline__P32753(s) { +function inline__P32897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29103,7 +29103,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P20157_mk(s); + s.tmp_3 = music_volume__P20301_mk(s); s.callLocIdx = 1073; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -29123,12 +29123,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32753.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32897.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32753_mk(s) { +function inline__P32897_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32753, depth: s.depth + 1, + parent: s, fn: inline__P32897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29140,7 +29140,7 @@ function inline__P32753_mk(s) { -function inline__P32768(s) { +function inline__P32912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29150,7 +29150,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___20288; + r0 = globals.brightness___20432; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -29167,12 +29167,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32768.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32912.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32768_mk(s) { +function inline__P32912_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32768, depth: s.depth + 1, + parent: s, fn: inline__P32912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29183,7 +29183,7 @@ function inline__P32768_mk(s) { -function inline__P32783(s) { +function inline__P32927(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29193,7 +29193,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___20288; + r0 = globals.brightness___20432; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -29210,12 +29210,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32783.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32927.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32783_mk(s) { +function inline__P32927_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32783, depth: s.depth + 1, + parent: s, fn: inline__P32927, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29226,7 +29226,7 @@ function inline__P32783_mk(s) { -function inline__P32798(s) { +function inline__P32942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29236,7 +29236,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___21093); + r0 = pxsim_numops_toBoolDecr(globals.stats___21237); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -29249,12 +29249,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32798.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32942.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32798_mk(s) { +function inline__P32942_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32798, depth: s.depth + 1, + parent: s, fn: inline__P32942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -29263,7 +29263,7 @@ function inline__P32798_mk(s) { -function inline__P32807(s) { +function inline__P32951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29273,7 +29273,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22738); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -29294,12 +29294,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32807.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32951.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32807_mk(s) { +function inline__P32951_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32807, depth: s.depth + 1, + parent: s, fn: inline__P32951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29312,7 +29312,7 @@ function inline__P32807_mk(s) { -function inline__P32816(s) { +function inline__P32960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29326,12 +29326,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32816.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32960.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32816_mk(s) { +function inline__P32960_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32816, depth: s.depth + 1, + parent: s, fn: inline__P32960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29339,7 +29339,7 @@ function inline__P32816_mk(s) { -function inline__P32829(s) { +function inline__P32973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29353,12 +29353,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32829.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32973.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32829_mk(s) { +function inline__P32973_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32829, depth: s.depth + 1, + parent: s, fn: inline__P32973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29366,7 +29366,7 @@ function inline__P32829_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P22705(s) { +function scene_systemMenu_setScreenBrightnessSupported__P22849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29380,12 +29380,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P22705.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__P22849.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__P22705_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P22849_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P22705, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P22849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29393,7 +29393,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P22705_mk(s) { -function scene_systemMenu_sleep__P22704(s) { +function scene_systemMenu_sleep__P22848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29408,12 +29408,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P22704.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__P22848.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__P22704_mk(s) { +function scene_systemMenu_sleep__P22848_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P22704, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P22848, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29421,7 +29421,7 @@ function scene_systemMenu_sleep__P22704_mk(s) { -function scene_systemMenu_toggleConsole__P22703(s) { +function scene_systemMenu_toggleConsole__P22847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29431,7 +29431,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22738); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -29441,7 +29441,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P21217_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P21361_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.callLocIdx = 1065; s.pc = 3; return s.tmp_4; @@ -29449,13 +29449,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P21217_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P21361_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.callLocIdx = 1066; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P18933_mk(s); + s.tmp_0 = console_log__P19077_mk(s); s.tmp_0.arg0 = "console"; s.callLocIdx = 1067; s.pc = 5; return s.tmp_0; case 5: @@ -29465,12 +29465,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P22703.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__P22847.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__P22703_mk(s) { +function scene_systemMenu_toggleConsole__P22847_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P22703, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P22847, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29483,7 +29483,7 @@ function scene_systemMenu_toggleConsole__P22703_mk(s) { -function console_log__P18933(s) { +function console_log__P19077(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29497,7 +29497,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P18929_mk(s); + s.tmp_0 = console_add__P19073_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 37; s.pc = 1; return s.tmp_0; @@ -29507,12 +29507,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P18933.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__P19077.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__P18933_mk(s) { +function console_log__P19077_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P18933, depth: s.depth + 1, + parent: s, fn: console_log__P19077, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29522,7 +29522,7 @@ function console_log__P18933_mk(s) { -function console_add__P18929(s) { +function console_add__P19073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29532,58 +29532,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___32868 = undefined; - s.i___32877 = undefined; + s.text___33012 = undefined; + s.i___33021 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___18928); + r0 = (s.arg0 < globals.minPriority___19072); 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__P18935_mk(s); + s.tmp_1 = console_inspect__P19079_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 35; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___32868 = (r0); - if ((s.text___32868) && (s.text___32868).vtable) { + s.text___33012 = (r0); + if ((s.text___33012) && (s.text___33012).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___32868); + pxsim_String__stringConv(s.text___33012); checkResumeConsumed(); return; - } else { s.retval = (s.text___32868) + ""; } + } else { s.retval = (s.text___33012) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___32868 = (r0); - s.i___32877 = (0); + s.text___33012 = (r0); + s.i___33021 = (0); case 3: - s.tmp_1 = r0 = s.i___32877; - r0 = pxsim_Array__length(globals.listeners___22102); + s.tmp_1 = r0 = s.i___33021; + r0 = pxsim_Array__length(globals.listeners___22246); 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___22102, s.i___32877); + r0 = pxsim_Array__getAt(globals.listeners___22246, s.i___33021); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___32868; + s.tmp_3.arg1 = s.text___33012; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 36; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___32877 + 1); - s.i___32877 = (r0); + r0 = (s.i___33021 + 1); + s.i___33021 = (r0); { step = 3; continue; } case 4: case 5: @@ -29591,19 +29591,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P18929.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__P19073.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__P18929_mk(s) { +function console_add__P19073_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P18929, depth: s.depth + 1, + parent: s, fn: console_add__P19073, 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___32868: undefined, - i___32877: undefined, + text___33012: undefined, + i___33021: undefined, arg0: undefined, arg1: undefined, } } @@ -29612,7 +29612,7 @@ function console_add__P18929_mk(s) { -function scene_systemMenu_toggleStats__P22702(s) { +function scene_systemMenu_toggleStats__P22846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29622,11 +29622,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___21093); + r0 = pxsim_numops_toBoolDecr(globals.stats___21237); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___21093 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___21093); + globals.stats___21237 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___21237); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -29635,14 +29635,14 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___18951; + r0 = globals.control_EventContext_onStats___19095; 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___18951; + s.tmp_3.argL = globals.control_EventContext_onStats___19095; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); @@ -29655,12 +29655,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P22702.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__P22846.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__P22702_mk(s) { +function scene_systemMenu_toggleStats__P22846_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P22702, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P22846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29672,7 +29672,7 @@ function scene_systemMenu_toggleStats__P22702_mk(s) { -function scene_systemMenu_brightnessDown__P22700(s) { +function scene_systemMenu_brightnessDown__P22844(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29682,8 +29682,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P22701_mk(s); - r0 = globals.brightness___20288; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P22845_mk(s); + r0 = globals.brightness___20432; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; @@ -29694,12 +29694,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P22700.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__P22844.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__P22700_mk(s) { +function scene_systemMenu_brightnessDown__P22844_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P22700, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P22844, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29709,7 +29709,7 @@ function scene_systemMenu_brightnessDown__P22700_mk(s) { -function scene_systemMenu_setScreenBrightness__P22701(s) { +function scene_systemMenu_setScreenBrightness__P22845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29723,15 +29723,15 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P20299_mk(s); - s.tmp_0.arg0 = globals.screen___20366; + s.tmp_0 = helpers_setScreenBrightness__P20443_mk(s); + s.tmp_0.arg0 = globals.screen___20510; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1060; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P20393_mk(s); + s.tmp_0 = settings_writeNumber__P20537_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___20288; + r0 = globals.brightness___20432; s.tmp_0.arg1 = r0; s.callLocIdx = 1062; s.pc = 2; return s.tmp_0; case 2: @@ -29740,12 +29740,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P22701.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__P22845.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__P22701_mk(s) { +function scene_systemMenu_setScreenBrightness__P22845_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P22701, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P22845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29755,7 +29755,7 @@ function scene_systemMenu_setScreenBrightness__P22701_mk(s) { -function settings_writeNumber__P20393(s) { +function settings_writeNumber__P20537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29773,9 +29773,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__P20391_mk(s); + s.tmp_1 = settings_writeBuffer__P20535_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P18741_mk(s); + s.tmp_2 = msgpack_packNumberArray__P18885_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 132; s.pc = 2; return s.tmp_2; case 2: @@ -29788,12 +29788,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P20393.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__P20537.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__P20393_mk(s) { +function settings_writeNumber__P20537_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P20393, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P20537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29806,7 +29806,7 @@ function settings_writeNumber__P20393_mk(s) { -function settings_writeBuffer__P20391(s) { +function settings_writeBuffer__P20535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29833,12 +29833,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P20391.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__P20535.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__P20391_mk(s) { +function settings_writeBuffer__P20535_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P20391, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P20535, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29849,7 +29849,7 @@ function settings_writeBuffer__P20391_mk(s) { -function msgpack_packNumberArray__P18741(s) { +function msgpack_packNumberArray__P18885(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29859,100 +29859,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___32923 = undefined; - s.n___32925 = undefined; - s.unnamed214___U2 = undefined; - s.unnamed215___U3 = undefined; - s.buf___32935 = undefined; - s.n___32941 = undefined; - s.unnamed216___U6 = undefined; - s.unnamed217___U7 = undefined; + s.off___33067 = undefined; + s.n___33069 = undefined; + s.unnamed234___U2 = undefined; + s.unnamed235___U3 = undefined; + s.buf___33079 = undefined; + s.n___33085 = undefined; + s.unnamed236___U6 = undefined; + s.unnamed237___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___32923 = (0); - s.n___32925 = (undefined); - s.unnamed214___U2 = (s.arg0); - s.unnamed215___U3 = (0); + s.off___33067 = (0); + s.n___33069 = (undefined); + s.unnamed234___U2 = (s.arg0); + s.unnamed235___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed215___U3; - r0 = pxsim_Array__length(s.unnamed214___U2); + s.tmp_0 = r0 = s.unnamed235___U3; + r0 = pxsim_Array__length(s.unnamed234___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed214___U2, s.unnamed215___U3); - s.n___32925 = (r0); - s.tmp_2 = r0 = s.off___32923; - s.tmp_4 = msgpack_packNumberCore__P22065_mk(s); + r0 = pxsim_Array__getAt(s.unnamed234___U2, s.unnamed235___U3); + s.n___33069 = (r0); + s.tmp_2 = r0 = s.off___33067; + s.tmp_4 = msgpack_packNumberCore__P22209_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___32923; - s.tmp_4.arg2 = s.n___32925; + s.tmp_4.arg1 = s.off___33067; + s.tmp_4.arg2 = s.n___33069; s.callLocIdx = 25; 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___32923 = (r0); - r0 = (s.unnamed215___U3 + 1); - s.unnamed215___U3 = (r0); + s.off___33067 = (r0); + r0 = (s.unnamed235___U3 + 1); + s.unnamed235___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed214___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___32923); - s.buf___32935 = (r0); - s.off___32923 = (0); - s.n___32941 = (undefined); - s.unnamed216___U6 = (s.arg0); - s.unnamed217___U7 = (0); + s.unnamed234___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___33067); + s.buf___33079 = (r0); + s.off___33067 = (0); + s.n___33085 = (undefined); + s.unnamed236___U6 = (s.arg0); + s.unnamed237___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed217___U7; - r0 = pxsim_Array__length(s.unnamed216___U6); + s.tmp_0 = r0 = s.unnamed237___U7; + r0 = pxsim_Array__length(s.unnamed236___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed216___U6, s.unnamed217___U7); - s.n___32941 = (r0); - s.tmp_2 = r0 = s.off___32923; - s.tmp_4 = msgpack_packNumberCore__P22065_mk(s); - s.tmp_4.arg0 = s.buf___32935; - s.tmp_4.arg1 = s.off___32923; - s.tmp_4.arg2 = s.n___32941; + r0 = pxsim_Array__getAt(s.unnamed236___U6, s.unnamed237___U7); + s.n___33085 = (r0); + s.tmp_2 = r0 = s.off___33067; + s.tmp_4 = msgpack_packNumberCore__P22209_mk(s); + s.tmp_4.arg0 = s.buf___33079; + s.tmp_4.arg1 = s.off___33067; + s.tmp_4.arg2 = s.n___33085; s.callLocIdx = 26; 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___32923 = (r0); - r0 = (s.unnamed217___U7 + 1); - s.unnamed217___U7 = (r0); + s.off___33067 = (r0); + r0 = (s.unnamed237___U7 + 1); + s.unnamed237___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed216___U6 = (undefined); - r0 = s.buf___32935; + s.unnamed236___U6 = (undefined); + r0 = s.buf___33079; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P18741.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__P18885.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__P18741_mk(s) { +function msgpack_packNumberArray__P18885_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P18741, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P18885, 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___32923: undefined, - n___32925: undefined, - unnamed214___U2: undefined, - unnamed215___U3: undefined, - buf___32935: undefined, - n___32941: undefined, - unnamed216___U6: undefined, - unnamed217___U7: undefined, + off___33067: undefined, + n___33069: undefined, + unnamed234___U2: undefined, + unnamed235___U3: undefined, + buf___33079: undefined, + n___33085: undefined, + unnamed236___U6: undefined, + unnamed237___U7: undefined, arg0: undefined, } } @@ -29960,7 +29960,7 @@ function msgpack_packNumberArray__P18741_mk(s) { -function msgpack_packNumberCore__P22065(s) { +function msgpack_packNumberCore__P22209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29970,15 +29970,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___32955 = undefined; - s.fmt___32998 = undefined; + s.tag___33099 = undefined; + s.fmt___33142 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___32955 = (203); + s.tag___33099 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -30028,17 +30028,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___32955 = (204); + s.tag___33099 = (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___32955 = (205); + s.tag___33099 = (205); { step = 10; continue; } case 9: - s.tag___32955 = (206); + s.tag___33099 = (206); case 10: case 11: { step = 17; continue; } @@ -30047,41 +30047,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___32955 = (208); + s.tag___33099 = (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___32955 = (209); + s.tag___33099 = (209); { step = 15; continue; } case 14: - s.tag___32955 = (210); + s.tag___33099 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P22064_mk(s); - s.tmp_0.arg0 = s.tag___32955; + s.tmp_0 = msgpack_tagFormat__P22208_mk(s); + s.tmp_0.arg0 = s.tag___33099; s.callLocIdx = 21; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___32998 = (r0); + s.fmt___33142 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___32955); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___33099); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___32998; + s.tmp_1 = r0 = s.fmt___33142; 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__P18732_mk(s); - s.tmp_1.arg0 = s.fmt___32998; + s.tmp_1 = pins_sizeOf__P18876_mk(s); + s.tmp_1.arg0 = s.fmt___33142; s.callLocIdx = 22; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -30091,12 +30091,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P22065.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__P22209.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__P22065_mk(s) { +function msgpack_packNumberCore__P22209_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P22065, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P22209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30106,8 +30106,8 @@ function msgpack_packNumberCore__P22065_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___32955: undefined, - fmt___32998: undefined, + tag___33099: undefined, + fmt___33142: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30117,7 +30117,7 @@ function msgpack_packNumberCore__P22065_mk(s) { -function msgpack_tagFormat__P22064(s) { +function msgpack_tagFormat__P22208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30177,12 +30177,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P22064.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__P22208.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__P22064_mk(s) { +function msgpack_tagFormat__P22208_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P22064, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P22208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30192,7 +30192,7 @@ function msgpack_tagFormat__P22064_mk(s) { -function pins_sizeOf__P18732(s) { +function pins_sizeOf__P18876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30206,7 +30206,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P18768_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P18912_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 20; s.pc = 1; return s.tmp_0; case 1: @@ -30214,12 +30214,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P18732.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__P18876.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__P18732_mk(s) { +function pins_sizeOf__P18876_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P18732, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P18876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30229,7 +30229,7 @@ function pins_sizeOf__P18732_mk(s) { -function Buffer_sizeOfNumberFormat__P18768(s) { +function Buffer_sizeOfNumberFormat__P18912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30308,12 +30308,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P18768.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__P18912.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__P18768_mk(s) { +function Buffer_sizeOfNumberFormat__P18912_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P18768, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P18912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30323,7 +30323,7 @@ function Buffer_sizeOfNumberFormat__P18768_mk(s) { -function helpers_setScreenBrightness__P20299(s) { +function helpers_setScreenBrightness__P20443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30338,7 +30338,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P18686_mk(s); + s.tmp_0 = Math_clamp__P18830_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -30347,18 +30347,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___20288 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___20288); + globals.brightness___20432 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___20432); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P20299.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__P20443.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__P20299_mk(s) { +function helpers_setScreenBrightness__P20443_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P20299, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P20443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30369,7 +30369,7 @@ function helpers_setScreenBrightness__P20299_mk(s) { -function scene_systemMenu_brightnessUp__P22699(s) { +function scene_systemMenu_brightnessUp__P22843(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30379,8 +30379,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P22701_mk(s); - r0 = globals.brightness___20288; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P22845_mk(s); + r0 = globals.brightness___20432; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; @@ -30391,12 +30391,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P22699.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__P22843.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__P22699_mk(s) { +function scene_systemMenu_brightnessUp__P22843_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P22699, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P22843, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30406,7 +30406,7 @@ function scene_systemMenu_brightnessUp__P22699_mk(s) { -function scene_systemMenu_volumeDown__P22698(s) { +function scene_systemMenu_volumeDown__P22842(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30416,29 +30416,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___33271 = undefined; - s.remainder___33274 = undefined; - s.newVolume___33277 = undefined; - s.tmp_0 = music_volume__P20157_mk(s); + s.v___33415 = undefined; + s.remainder___33418 = undefined; + s.newVolume___33421 = undefined; + s.tmp_0 = music_volume__P20301_mk(s); s.callLocIdx = 1054; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___33271 = (r0); - r0 = (s.v___33271 % 32); - s.remainder___33274 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___33274); + s.v___33415 = (r0); + r0 = (s.v___33415 % 32); + s.remainder___33418 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___33418); if (!r0) { step = 1; continue; } - r0 = s.remainder___33274; + r0 = s.remainder___33418; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___33271 - s.tmp_0); - s.newVolume___33277 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P22696_mk(s); - s.tmp_0.arg0 = s.newVolume___33277; + r0 = (s.v___33415 - s.tmp_0); + s.newVolume___33421 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P22840_mk(s); + s.tmp_0.arg0 = s.newVolume___33421; s.callLocIdx = 1055; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -30446,24 +30446,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P22698.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__P22842.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__P22698_mk(s) { +function scene_systemMenu_volumeDown__P22842_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P22698, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P22842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___33271: undefined, - remainder___33274: undefined, - newVolume___33277: undefined, + v___33415: undefined, + remainder___33418: undefined, + newVolume___33421: undefined, } } -function scene_systemMenu_setVolume__P22696(s) { +function scene_systemMenu_setVolume__P22840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30477,18 +30477,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P20156_mk(s); + s.tmp_0 = music_setVolume__P20300_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1049; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P20158_mk(s); + s.tmp_0 = music_playTone__P20302_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; s.callLocIdx = 1050; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P20393_mk(s); + s.tmp_0 = settings_writeNumber__P20537_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1051; s.pc = 3; return s.tmp_0; @@ -30498,12 +30498,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P22696.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__P22840.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__P22696_mk(s) { +function scene_systemMenu_setVolume__P22840_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P22696, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P22840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30513,7 +30513,7 @@ function scene_systemMenu_setVolume__P22696_mk(s) { -function music_playTone__P20158(s) { +function music_playTone__P20302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30523,7 +30523,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___33112 = undefined; + s.id___33256 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30548,7 +30548,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P22160_mk(s); + s.tmp_2 = music_playNoteCore__P22304_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -30556,7 +30556,7 @@ switch (step) { s.callLocIdx = 76; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P18966_mk(s); + s.tmp_0 = pause__P19110_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 77; s.pc = 6; return s.tmp_0; @@ -30564,13 +30564,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___22162 + 1); + r0 = (globals.playToneID___22306 + 1); s.tmp_0 = r0; - globals.playToneID___22162 = (r0); - s.id___33112 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P33118); + globals.playToneID___22306 = (r0); + s.id___33256 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P33262); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___33112); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___33256); 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); @@ -30579,17 +30579,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P20158.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__P20302.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__P20158_mk(s) { +function music_playTone__P20302_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P20158, depth: s.depth + 1, + parent: s, fn: music_playTone__P20302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___33112: undefined, + id___33256: undefined, arg0: undefined, arg1: undefined, } } @@ -30598,7 +30598,7 @@ function music_playTone__P20158_mk(s) { -function inline__P33118(s) { +function inline__P33262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30608,14 +30608,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___33119 = undefined; - s.now___33129 = undefined; - s.d___33132 = undefined; - s.t___33136 = undefined; + s.pos___33263 = undefined; + s.now___33273 = undefined; + s.d___33276 = undefined; + s.t___33280 = undefined; r0 = pxsim.control.millis(); - s.pos___33119 = (r0); + s.pos___33263 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___22162); + r0 = (s.caps[0] == globals.playToneID___22306); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -30631,30 +30631,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___33129 = (r0); - r0 = (s.pos___33119 - s.now___33129); - s.d___33132 = (r0); - s.tmp_0 = Math_min__P18690_mk(s); + s.now___33273 = (r0); + r0 = (s.pos___33263 - s.now___33273); + s.d___33276 = (r0); + s.tmp_0 = Math_min__P18834_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 78; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___33136 = (r0); + s.t___33280 = (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___33136); + r0 = (s.tmp_2 - s.t___33280); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___33119 + s.t___33136); - s.pos___33119 = (r0); - s.tmp_0 = music_playNoteCore__P22160_mk(s); - r0 = (s.d___33132 - 1); + r0 = (s.pos___33263 + s.t___33280); + s.pos___33263 = (r0); + s.tmp_0 = music_playNoteCore__P22304_mk(s); + r0 = (s.d___33276 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___33136; + s.tmp_0.arg2 = s.t___33280; s.callLocIdx = 79; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -30664,16 +30664,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P18966_mk(s); - r0 = (s.d___33132 + s.t___33136); + s.tmp_2 = pause__P19110_mk(s); + r0 = (s.d___33276 + s.t___33280); s.tmp_2.arg0 = r0; s.callLocIdx = 80; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P18966_mk(s); - r0 = (s.d___33132 + s.t___33136); + s.tmp_0 = pause__P19110_mk(s); + r0 = (s.d___33276 + s.t___33280); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -30687,27 +30687,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33118.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P33262.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P33118_mk(s) { +function inline__P33262_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33118, depth: s.depth + 1, + parent: s, fn: inline__P33262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___33119: undefined, - now___33129: undefined, - d___33132: undefined, - t___33136: undefined, + pos___33263: undefined, + now___33273: undefined, + d___33276: undefined, + t___33280: undefined, } } -function music_playNoteCore__P22160(s) { +function music_playNoteCore__P22304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30717,7 +30717,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___33166 = undefined; + s.buf___33310 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30725,16 +30725,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___33166 = (r0); - s.tmp_0 = music_addNote__P22167_mk(s); - s.tmp_0.arg0 = s.buf___33166; + s.buf___33310 = (r0); + s.tmp_0 = music_addNote__P22311_mk(s); + s.tmp_0.arg0 = s.buf___33310; 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__P20157_mk(s); + s.tmp_1 = music_volume__P20301_mk(s); s.callLocIdx = 74; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -30743,21 +30743,21 @@ switch (step) { s.callLocIdx = 75; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___33166); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___33310); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P22160.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__P22304.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__P22160_mk(s) { +function music_playNoteCore__P22304_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P22160, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P22304, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___33166: undefined, + buf___33310: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30767,7 +30767,7 @@ function music_playNoteCore__P22160_mk(s) { -function music_addNote__P22167(s) { +function music_addNote__P22311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30835,12 +30835,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P22167.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__P22311.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__P22167_mk(s) { +function music_addNote__P22311_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P22167, depth: s.depth + 1, + parent: s, fn: music_addNote__P22311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30861,7 +30861,7 @@ function music_addNote__P22167_mk(s) { -function music_setVolume__P20156(s) { +function music_setVolume__P20300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30875,7 +30875,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P18686_mk(s); + s.tmp_0 = Math_clamp__P18830_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -30883,8 +30883,8 @@ switch (step) { s.callLocIdx = 71; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___22155 = (r0); - r0 = (globals.globalVolume___22155 > 0); + globals.globalVolume___22299 = (r0); + r0 = (globals.globalVolume___22299 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -30900,12 +30900,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P20156.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__P20300.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__P20156_mk(s) { +function music_setVolume__P20300_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P20156, depth: s.depth + 1, + parent: s, fn: music_setVolume__P20300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30916,7 +30916,7 @@ function music_setVolume__P20156_mk(s) { -function music_enableAmp__P22158(s) { +function music_enableAmp__P22302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30934,12 +30934,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P22158.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__P22302.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__P22158_mk(s) { +function music_enableAmp__P22302_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P22158, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P22302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30948,7 +30948,7 @@ function music_enableAmp__P22158_mk(s) { -function scene_systemMenu_volumeUp__P22697(s) { +function scene_systemMenu_volumeUp__P22841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30958,22 +30958,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___33080 = undefined; - s.remainder___33083 = undefined; - s.newVolume___33086 = undefined; - s.tmp_0 = music_volume__P20157_mk(s); + s.v___33224 = undefined; + s.remainder___33227 = undefined; + s.newVolume___33230 = undefined; + s.tmp_0 = music_volume__P20301_mk(s); s.callLocIdx = 1052; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___33080 = (r0); - r0 = (s.v___33080 % 32); - s.remainder___33083 = (r0); - r0 = (s.v___33080 + 32); + s.v___33224 = (r0); + r0 = (s.v___33224 % 32); + s.remainder___33227 = (r0); + r0 = (s.v___33224 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___33083); - s.newVolume___33086 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P22696_mk(s); - s.tmp_0.arg0 = s.newVolume___33086; + r0 = (s.tmp_0 - s.remainder___33227); + s.newVolume___33230 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P22840_mk(s); + s.tmp_0.arg0 = s.newVolume___33230; s.callLocIdx = 1053; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -30981,24 +30981,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P22697.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__P22841.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__P22697_mk(s) { +function scene_systemMenu_volumeUp__P22841_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P22697, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P22841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___33080: undefined, - remainder___33083: undefined, - newVolume___33086: undefined, + v___33224: undefined, + remainder___33227: undefined, + newVolume___33230: undefined, } } -function game_consoleOverlay_isVisible__P21215(s) { +function game_consoleOverlay_isVisible__P21359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31008,7 +31008,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22738); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -31018,12 +31018,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P21215.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__P21359.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__P21215_mk(s) { +function game_consoleOverlay_isVisible__P21359_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P21215, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P21359, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31034,7 +31034,7 @@ function game_consoleOverlay_isVisible__P21215_mk(s) { -function scene_systemMenu_closeMenu__P21193(s) { +function scene_systemMenu_closeMenu__P21337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31044,20 +31044,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___22692); + r0 = pxsim_numops_toBoolDecr(globals.instance___22836); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P21192_mk(s); - s.tmp_0.arg0 = globals.instance___22692; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P21336_mk(s); + s.tmp_0.arg0 = globals.instance___22836; s.callLocIdx = 1068; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___22692 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P20518_mk(s); + globals.instance___22836 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P20662_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1069; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P21101_mk(s); + s.tmp_0 = game_popScene__P21245_mk(s); s.callLocIdx = 1070; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -31067,12 +31067,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P21193.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__P21337.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__P21193_mk(s) { +function scene_systemMenu_closeMenu__P21337_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P21193, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P21337, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31081,7 +31081,7 @@ function scene_systemMenu_closeMenu__P21193_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P21192(s) { +function scene_systemMenu_PauseMenu_dispose__P21336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31096,15 +31096,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21186_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_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__P18671_mk(s); + s.tmp_1 = helpers_arrayForEach__P18815_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P32591; + s.tmp_1.arg1 = inline__P32735; s.callLocIdx = 1045; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -31115,12 +31115,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P21192.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__P21336.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__P21192_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P21336_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P21192, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P21336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31131,7 +31131,7 @@ function scene_systemMenu_PauseMenu_dispose__P21192_mk(s) { -function inline__P32591(s) { +function inline__P32735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31145,7 +31145,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P21185_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P21329_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1044; s.pc = 1; return s.tmp_0; case 1: @@ -31154,12 +31154,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32591.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P32735.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__P32591_mk(s) { +function inline__P32735_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32591, depth: s.depth + 1, + parent: s, fn: inline__P32735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31169,7 +31169,7 @@ function inline__P32591_mk(s) { -function scene_systemMenu_MenuOption_dispose__P21185(s) { +function scene_systemMenu_MenuOption_dispose__P21329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31184,12 +31184,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21178_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_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__P20651_mk(s); + s.tmp_1 = Sprite_destroy__P20795_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -31197,7 +31197,7 @@ switch (step) { s.callLocIdx = 964; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P20651_mk(s); + s.tmp_0 = Sprite_destroy__P20795_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -31213,12 +31213,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P21185.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__P21329.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__P21185_mk(s) { +function scene_systemMenu_MenuOption_dispose__P21329_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P21185, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P21329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31229,7 +31229,7 @@ function scene_systemMenu_MenuOption_dispose__P21185_mk(s) { -function game_popScene__P21101(s) { +function game_popScene__P21245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31239,57 +31239,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___32520 = undefined; - s.tmp_0 = game_currentScene__P21096_mk(s); + s.oldScene___32664 = undefined; + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 928; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___32520 = (r0); - s.tmp_0 = r0 = globals._sceneStack___22441; + s.oldScene___32664 = (r0); + s.tmp_0 = r0 = globals._sceneStack___22585; 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___22441); + r0 = pxsim_Array__length(globals._sceneStack___22585); 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___22441); - globals._scene___22440 = (r0); - s.tmp_0 = control_popEventContext__P18963_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___22585); + globals._scene___22584 = (r0); + s.tmp_0 = control_popEventContext__P19107_mk(s); s.callLocIdx = 929; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___22440); + r0 = pxsim_numops_toBoolDecr(globals._scene___22584); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P18963_mk(s); + s.tmp_0 = control_popEventContext__P19107_mk(s); s.callLocIdx = 930; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___22440 = (undefined); + globals._scene___22584 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___22440); + r0 = pxsim_numops_toBoolDecr(globals._scene___22584); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P21274_mk(s); + s.tmp_0 = particles_enableAll__P21418_mk(s); s.callLocIdx = 931; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___22443); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___22587); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P32541); + r0 = pxsim_pxtcore_mkAction(1, inline__P32685); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___32520); - s.tmp_1 = helpers_arrayForEach__P18671_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___22443; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___32664); + s.tmp_1 = helpers_arrayForEach__P18815_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___22587; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 933; s.pc = 15; return s.tmp_1; case 15: @@ -31300,23 +31300,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P21101.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P21245.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__P21101_mk(s) { +function game_popScene__P21245_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P21101, depth: s.depth + 1, + parent: s, fn: game_popScene__P21245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___32520: undefined, + oldScene___32664: undefined, } } -function inline__P32541(s) { +function inline__P32685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31341,12 +31341,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32541.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P32685.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__P32541_mk(s) { +function inline__P32685_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32541, depth: s.depth + 1, + parent: s, fn: inline__P32685, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31356,7 +31356,7 @@ function inline__P32541_mk(s) { -function particles_enableAll__P21274(s) { +function particles_enableAll__P21418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31366,21 +31366,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___32545 = undefined; - s.tmp_0 = particles_particleSources__P22804_mk(s); + s.sources___32689 = undefined; + s.tmp_0 = particles_particleSources__P22948_mk(s); s.callLocIdx = 1173; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___32545 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___32545); + s.sources___32689 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___32689); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18671_mk(s); - s.tmp_0.arg0 = s.sources___32545; - s.tmp_0.arg1 = inline__P32551; + s.tmp_0 = helpers_arrayForEach__P18815_mk(s); + s.tmp_0.arg0 = s.sources___32689; + s.tmp_0.arg1 = inline__P32695; s.callLocIdx = 1175; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P22800_mk(s); + s.tmp_0 = particles_pruneParticles__P22944_mk(s); s.callLocIdx = 1176; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -31390,22 +31390,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P21274.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P21418.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__P21274_mk(s) { +function particles_enableAll__P21418_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P21274, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P21418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___32545: undefined, + sources___32689: undefined, } } -function inline__P32551(s) { +function inline__P32695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31419,7 +31419,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P21255_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P21399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1174; s.pc = 1; return s.tmp_0; @@ -31429,12 +31429,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32551.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P32695.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__P32551_mk(s) { +function inline__P32695_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32551, depth: s.depth + 1, + parent: s, fn: inline__P32695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31444,7 +31444,7 @@ function inline__P32551_mk(s) { -function control_popEventContext__P18963(s) { +function control_popEventContext__P19107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31454,9 +31454,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___32558 = undefined; - s.context___32566 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22124); + s.ctx___32702 = undefined; + s.context___32710 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22268); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -31465,9 +31465,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___22124); - s.ctx___32558 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___32558); + r0 = pxsim_Array_.pop(globals.eventContexts___22268); + s.ctx___32702 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___32702); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -31476,53 +31476,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P18955_mk(s); - s.tmp_2.arg0 = s.ctx___32558; + s.tmp_2 = control_EventContext_unregister__P19099_mk(s); + s.tmp_2.arg0 = s.ctx___32702; s.callLocIdx = 68; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___22124; - r0 = pxsim_Array__length(globals.eventContexts___22124); + s.tmp_0 = r0 = globals.eventContexts___22268; + r0 = pxsim_Array__length(globals.eventContexts___22268); 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___32566 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___32566); + s.context___32710 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___32710); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P18954_mk(s); - s.tmp_0.arg0 = s.context___32566; + s.tmp_0 = control_EventContext_register__P19098_mk(s); + s.tmp_0.arg0 = s.context___32710; s.callLocIdx = 69; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___22124 = (undefined); + globals.eventContexts___22268 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P18963.info = {"start":7568,"length":413,"line":232,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P19107.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__P18963_mk(s) { +function control_popEventContext__P19107_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P18963, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P19107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___32558: undefined, - context___32566: undefined, + ctx___32702: undefined, + context___32710: undefined, } } -function control_EventContext_register__P18954(s) { +function control_EventContext_register__P19098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31532,38 +31532,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___32579 = undefined; - s.unnamed220___U1 = undefined; - s.unnamed221___U2 = undefined; + s.h___32723 = undefined; + s.unnamed240___U1 = undefined; + s.unnamed241___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18948_VT)) failedCast(r0); - s.h___32579 = (undefined); + if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); + s.h___32723 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed220___U1 = (r0); - s.unnamed221___U2 = (0); + s.unnamed240___U1 = (r0); + s.unnamed241___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed221___U2; - r0 = pxsim_Array__length(s.unnamed220___U1); + s.tmp_0 = r0 = s.unnamed241___U2; + r0 = pxsim_Array__length(s.unnamed240___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed220___U1, s.unnamed221___U2); - s.h___32579 = (r0); - s.tmp_2 = control_EventHandler_register__P22117_mk(s); - s.tmp_2.arg0 = s.h___32579; + r0 = pxsim_Array__getAt(s.unnamed240___U1, s.unnamed241___U2); + s.h___32723 = (r0); + s.tmp_2 = control_EventHandler_register__P22261_mk(s); + s.tmp_2.arg0 = s.h___32723; s.callLocIdx = 59; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed221___U2 + 1); - s.unnamed221___U2 = (r0); + r0 = (s.unnamed241___U2 + 1); + s.unnamed241___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed220___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P22122_mk(s); + s.unnamed240___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P22266_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 60; s.pc = 4; return s.tmp_0; case 4: @@ -31572,19 +31572,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P18954.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__P19098.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__P18954_mk(s) { +function control_EventContext_register__P19098_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P18954, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P19098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___32579: undefined, - unnamed220___U1: undefined, - unnamed221___U2: undefined, + h___32723: undefined, + unnamed240___U1: undefined, + unnamed241___U2: undefined, arg0: undefined, } } @@ -31592,7 +31592,7 @@ function control_EventContext_register__P18954_mk(s) { -function controller__setUserEventsEnabled__P20518(s) { +function controller__setUserEventsEnabled__P20662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31606,17 +31606,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___22269 = (s.arg0); + globals._userEventsEnabled___22413 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P20518.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__P20662.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__P20518_mk(s) { +function controller__setUserEventsEnabled__P20662_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P20518, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P20662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31625,7 +31625,7 @@ function controller__setUserEventsEnabled__P20518_mk(s) { -function scene_systemMenu_MenuOption_constructor__P21179(s) { +function scene_systemMenu_MenuOption_constructor__P21323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31643,7 +31643,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21178_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -31651,12 +31651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P21179.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__P21323.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__P21179_mk(s) { +function scene_systemMenu_MenuOption_constructor__P21323_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P21179, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P21323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31668,7 +31668,7 @@ function scene_systemMenu_MenuOption_constructor__P21179_mk(s) { -function helpers_screenBrightness__P20300(s) { +function helpers_screenBrightness__P20444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31682,16 +31682,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___20288; + r0 = globals.brightness___20432; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P20300.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__P20444.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__P20300_mk(s) { +function helpers_screenBrightness__P20444_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P20300, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P20444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31700,7 +31700,7 @@ function helpers_screenBrightness__P20300_mk(s) { -function music_volume__P20157(s) { +function music_volume__P20301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31710,20 +31710,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P22159_mk(s); + s.tmp_0 = music_initVolume__P22303_mk(s); s.callLocIdx = 73; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___22155; + r0 = globals.globalVolume___22299; return leave(s, r0) default: oops() } } } -music_volume__P20157.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P20301.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__P20157_mk(s) { +function music_volume__P20301_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P20157, depth: s.depth + 1, + parent: s, fn: music_volume__P20301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31732,7 +31732,7 @@ function music_volume__P20157_mk(s) { -function music_initVolume__P22159(s) { +function music_initVolume__P22303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31742,12 +31742,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___22155 === null); + r0 = (globals.globalVolume___22299 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___22155 = (0); - s.tmp_0 = music_setVolume__P20156_mk(s); + globals.globalVolume___22299 = (0); + s.tmp_0 = music_setVolume__P20300_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 70; s.pc = 3; return s.tmp_0; @@ -31759,12 +31759,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P22159.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P22303.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__P22159_mk(s) { +function music_initVolume__P22303_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P22159, depth: s.depth + 1, + parent: s, fn: music_initVolume__P22303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31773,7 +31773,7 @@ function music_initVolume__P22159_mk(s) { -function helpers_arrayConcat__P18675(s) { +function helpers_arrayConcat__P18819(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31783,74 +31783,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___32834 = undefined; - s.value___32837 = undefined; - s.unnamed210___U2 = undefined; - s.unnamed211___U3 = undefined; - s.value___32844 = undefined; - s.unnamed212___U5 = undefined; - s.unnamed213___U6 = undefined; + s.out___32978 = undefined; + s.value___32981 = undefined; + s.unnamed230___U2 = undefined; + s.unnamed231___U3 = undefined; + s.value___32988 = undefined; + s.unnamed232___U5 = undefined; + s.unnamed233___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___32834 = (r0); - s.value___32837 = (undefined); - s.unnamed210___U2 = (s.arg0); - s.unnamed211___U3 = (0); + s.out___32978 = (r0); + s.value___32981 = (undefined); + s.unnamed230___U2 = (s.arg0); + s.unnamed231___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed211___U3; - r0 = pxsim_Array__length(s.unnamed210___U2); + s.tmp_0 = r0 = s.unnamed231___U3; + r0 = pxsim_Array__length(s.unnamed230___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed210___U2, s.unnamed211___U3); - s.value___32837 = (r0); - r0 = pxsim_Array__push(s.out___32834, s.value___32837); - r0 = (s.unnamed211___U3 + 1); - s.unnamed211___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed230___U2, s.unnamed231___U3); + s.value___32981 = (r0); + r0 = pxsim_Array__push(s.out___32978, s.value___32981); + r0 = (s.unnamed231___U3 + 1); + s.unnamed231___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed210___U2 = (undefined); - s.value___32844 = (undefined); - s.unnamed212___U5 = (s.arg1); - s.unnamed213___U6 = (0); + s.unnamed230___U2 = (undefined); + s.value___32988 = (undefined); + s.unnamed232___U5 = (s.arg1); + s.unnamed233___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed213___U6; - r0 = pxsim_Array__length(s.unnamed212___U5); + s.tmp_0 = r0 = s.unnamed233___U6; + r0 = pxsim_Array__length(s.unnamed232___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed212___U5, s.unnamed213___U6); - s.value___32844 = (r0); - r0 = pxsim_Array__push(s.out___32834, s.value___32844); - r0 = (s.unnamed213___U6 + 1); - s.unnamed213___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed232___U5, s.unnamed233___U6); + s.value___32988 = (r0); + r0 = pxsim_Array__push(s.out___32978, s.value___32988); + r0 = (s.unnamed233___U6 + 1); + s.unnamed233___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed212___U5 = (undefined); - r0 = s.out___32834; + s.unnamed232___U5 = (undefined); + r0 = s.out___32978; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P18675.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__P18819.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__P18675_mk(s) { +function helpers_arrayConcat__P18819_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P18675, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P18819, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___32834: undefined, - value___32837: undefined, - unnamed210___U2: undefined, - unnamed211___U3: undefined, - value___32844: undefined, - unnamed212___U5: undefined, - unnamed213___U6: undefined, + out___32978: undefined, + value___32981: undefined, + unnamed230___U2: undefined, + unnamed231___U3: undefined, + value___32988: undefined, + unnamed232___U5: undefined, + unnamed233___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -31859,7 +31859,7 @@ function helpers_arrayConcat__P18675_mk(s) { -function scene_systemMenu_PauseMenu_show__P21188(s) { +function scene_systemMenu_PauseMenu_show__P21332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31869,14 +31869,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___32051 = undefined; - s.i___32052 = undefined; + s.current___32195 = undefined; + s.i___32196 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21186_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -31894,9 +31894,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___32052 = (0); + s.i___32196 = (0); case 1: - s.tmp_1 = r0 = s.i___32052; + s.tmp_1 = r0 = s.i___32196; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -31907,22 +31907,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___32052); - s.current___32051 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P21180_mk(s); - s.tmp_0.arg0 = s.current___32051; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___32196); + s.current___32195 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P21324_mk(s); + s.tmp_0.arg0 = s.current___32195; s.callLocIdx = 978; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P21183_mk(s); - s.tmp_0.arg0 = s.current___32051; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P21327_mk(s); + s.tmp_0.arg0 = s.current___32195; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.callLocIdx = 979; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P21181_mk(s); - s.tmp_0.arg0 = s.current___32051; + s.tmp_0 = scene_systemMenu_MenuOption_position__P21325_mk(s); + s.tmp_0.arg0 = s.current___32195; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -31937,7 +31937,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___32052; + s.tmp_5 = r0 = s.i___32196; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -32002,7 +32002,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___32052; + s.tmp_17 = r0 = s.i___32196; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -32056,98 +32056,98 @@ switch (step) { s.callLocIdx = 988; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___32052 + 1); - s.i___32052 = (r0); + r0 = (s.i___32196 + 1); + s.i___32196 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P20518_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P20662_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 989; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32115); + r0 = pxsim_pxtcore_mkAction(1, inline__P32259); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20474_mk(s); - s.tmp_1.arg0 = globals.A___20441; + s.tmp_1 = controller_Button_onEvent__P20618_mk(s); + s.tmp_1.arg0 = globals.A___20585; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 991; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32135); + r0 = pxsim_pxtcore_mkAction(1, inline__P32279); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20474_mk(s); - s.tmp_1.arg0 = globals.A___20441; + s.tmp_1 = controller_Button_onEvent__P20618_mk(s); + s.tmp_1.arg0 = globals.A___20585; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 993; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P20474_mk(s); - s.tmp_0.arg0 = globals.B___20442; + s.tmp_0 = controller_Button_onEvent__P20618_mk(s); + s.tmp_0.arg0 = globals.B___20586; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P32164; + s.tmp_0.arg2 = inline__P32308; s.callLocIdx = 995; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P20474_mk(s); - s.tmp_0.arg0 = globals.menu___20447; + s.tmp_0 = controller_Button_onEvent__P20618_mk(s); + s.tmp_0.arg0 = globals.menu___20591; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P32169; + s.tmp_0.arg2 = inline__P32313; s.callLocIdx = 997; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32174); + r0 = pxsim_pxtcore_mkAction(1, inline__P32318); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20474_mk(s); - s.tmp_1.arg0 = globals.up___20444; + s.tmp_1 = controller_Button_onEvent__P20618_mk(s); + s.tmp_1.arg0 = globals.up___20588; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1001; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32186); + r0 = pxsim_pxtcore_mkAction(1, inline__P32330); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20474_mk(s); - s.tmp_1.arg0 = globals.left___20443; + s.tmp_1 = controller_Button_onEvent__P20618_mk(s); + s.tmp_1.arg0 = globals.left___20587; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1004; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32195); + r0 = pxsim_pxtcore_mkAction(1, inline__P32339); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20474_mk(s); - s.tmp_1.arg0 = globals.down___20446; + s.tmp_1 = controller_Button_onEvent__P20618_mk(s); + s.tmp_1.arg0 = globals.down___20590; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1008; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32211); + r0 = pxsim_pxtcore_mkAction(1, inline__P32355); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20474_mk(s); - s.tmp_1.arg0 = globals.right___20445; + s.tmp_1 = controller_Button_onEvent__P20618_mk(s); + s.tmp_1.arg0 = globals.right___20589; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1011; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32223); + r0 = pxsim_pxtcore_mkAction(1, inline__P32367); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P21111_mk(s); + s.tmp_1 = game_onShade__P21255_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1014; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21190_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21334_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1015; s.pc = 25; return s.tmp_0; @@ -32157,12 +32157,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P21188.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__P21332.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__P21188_mk(s) { +function scene_systemMenu_PauseMenu_show__P21332_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P21188, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P21332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32189,8 +32189,8 @@ function scene_systemMenu_PauseMenu_show__P21188_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___32051: undefined, - i___32052: undefined, + current___32195: undefined, + i___32196: undefined, arg0: undefined, } } @@ -32198,7 +32198,7 @@ function scene_systemMenu_PauseMenu_show__P21188_mk(s) { -function inline__P32115(s) { +function inline__P32259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32236,7 +32236,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P21184_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P21328_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -32252,12 +32252,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32115.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32259.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32115_mk(s) { +function inline__P32259_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32115, depth: s.depth + 1, + parent: s, fn: inline__P32259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32276,7 +32276,7 @@ function inline__P32115_mk(s) { -function inline__P32135(s) { +function inline__P32279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32314,7 +32314,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P21184_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P21328_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -32338,12 +32338,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32135.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32279.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32135_mk(s) { +function inline__P32279_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32135, depth: s.depth + 1, + parent: s, fn: inline__P32279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32362,7 +32362,7 @@ function inline__P32135_mk(s) { -function inline__P32164(s) { +function inline__P32308(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32372,7 +32372,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P21193_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P21337_mk(s); s.callLocIdx = 994; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -32380,12 +32380,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32164.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32308.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32164_mk(s) { +function inline__P32308_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32164, depth: s.depth + 1, + parent: s, fn: inline__P32308, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32394,7 +32394,7 @@ function inline__P32164_mk(s) { -function inline__P32169(s) { +function inline__P32313(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32404,7 +32404,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P21193_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P21337_mk(s); s.callLocIdx = 996; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -32412,12 +32412,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32169.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32313.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32169_mk(s) { +function inline__P32313_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32169, depth: s.depth + 1, + parent: s, fn: inline__P32313, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32426,7 +32426,7 @@ function inline__P32169_mk(s) { -function inline__P32174(s) { +function inline__P32318(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32436,9 +32436,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21190_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21334_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P18689_mk(s); + s.tmp_1 = Math_max__P18833_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -32469,12 +32469,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32174.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32318.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32174_mk(s) { +function inline__P32318_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32174, depth: s.depth + 1, + parent: s, fn: inline__P32318, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32487,7 +32487,7 @@ function inline__P32174_mk(s) { -function inline__P32186(s) { +function inline__P32330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32497,9 +32497,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21190_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21334_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P18689_mk(s); + s.tmp_1 = Math_max__P18833_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -32516,12 +32516,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32186.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32330.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32186_mk(s) { +function inline__P32330_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32186, depth: s.depth + 1, + parent: s, fn: inline__P32330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32532,7 +32532,7 @@ function inline__P32186_mk(s) { -function inline__P32195(s) { +function inline__P32339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32542,9 +32542,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21190_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21334_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P18690_mk(s); + s.tmp_1 = Math_min__P18834_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -32580,12 +32580,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32195.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32339.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32195_mk(s) { +function inline__P32339_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32195, depth: s.depth + 1, + parent: s, fn: inline__P32339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32600,7 +32600,7 @@ function inline__P32195_mk(s) { -function inline__P32211(s) { +function inline__P32355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32610,9 +32610,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21190_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21334_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P18690_mk(s); + s.tmp_1 = Math_min__P18834_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -32634,12 +32634,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32211.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32355.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32211_mk(s) { +function inline__P32355_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32211, depth: s.depth + 1, + parent: s, fn: inline__P32355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32652,7 +32652,7 @@ function inline__P32211_mk(s) { -function inline__P32223(s) { +function inline__P32367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32662,12 +32662,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P21189_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P21333_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1012; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P21191_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P21335_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1013; s.pc = 2; return s.tmp_0; case 2: @@ -32676,12 +32676,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32223.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P32367.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32223_mk(s) { +function inline__P32367_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32223, depth: s.depth + 1, + parent: s, fn: inline__P32367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32690,7 +32690,7 @@ function inline__P32223_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P21191(s) { +function scene_systemMenu_PauseMenu_drawText__P21335(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32705,7 +32705,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21186_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -32717,11 +32717,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P20292_mk(s); - s.tmp_3.arg0 = globals.screen___20366; + s.tmp_3 = helpers_imageFillRect__P20436_mk(s); + s.tmp_3.arg0 = globals.screen___20510; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -32743,8 +32743,8 @@ switch (step) { s.callLocIdx = 1027; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P20323_mk(s); - s.tmp_0.arg0 = globals.screen___20366; + s.tmp_0 = helpers_imagePrintCenter__P20467_mk(s); + s.tmp_0.arg0 = globals.screen___20510; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -32778,8 +32778,8 @@ switch (step) { s.callLocIdx = 1030; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P20292_mk(s); - s.tmp_0.arg0 = globals.screen___20366; + s.tmp_0 = helpers_imageFillRect__P20436_mk(s); + s.tmp_0.arg0 = globals.screen___20510; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -32797,9 +32797,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -32823,8 +32823,8 @@ switch (step) { s.callLocIdx = 1033; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P20292_mk(s); - s.tmp_0.arg0 = globals.screen___20366; + s.tmp_0 = helpers_imageFillRect__P20436_mk(s); + s.tmp_0.arg0 = globals.screen___20510; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -32853,7 +32853,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -32905,8 +32905,8 @@ switch (step) { s.callLocIdx = 1039; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P20323_mk(s); - s.tmp_0.arg0 = globals.screen___20366; + s.tmp_0 = helpers_imagePrintCenter__P20467_mk(s); + s.tmp_0.arg0 = globals.screen___20510; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -32965,12 +32965,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P21191.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__P21335.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__P21191_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P21335_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P21191, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P21335, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32989,7 +32989,7 @@ function scene_systemMenu_PauseMenu_drawText__P21191_mk(s) { -function helpers_imagePrintCenter__P20323(s) { +function helpers_imagePrintCenter__P20467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32999,8 +32999,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___32310 = undefined; - s.x___32316 = undefined; + s.w___32454 = undefined; + s.x___32460 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33015,7 +33015,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P20311_mk(s); + s.tmp_2 = image_getFontForText__P20455_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 104; s.pc = 3; return s.tmp_2; case 3: @@ -33039,17 +33039,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___32310 = (r0); + s.w___32454 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___32310); + r0 = (s.tmp_1 - s.w___32454); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___32316 = (r0); - s.tmp_0 = helpers_imagePrint__P20324_mk(s); + s.x___32460 = (r0); + s.tmp_0 = helpers_imagePrint__P20468_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___32316; + s.tmp_0.arg2 = s.x___32460; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -33061,18 +33061,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P20323.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__P20467.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__P20323_mk(s) { +function helpers_imagePrintCenter__P20467_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P20323, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P20467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___32310: undefined, - x___32316: undefined, + w___32454: undefined, + x___32460: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33084,7 +33084,7 @@ function helpers_imagePrintCenter__P20323_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P21190(s) { +function scene_systemMenu_PauseMenu_setSelection__P21334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33100,7 +33100,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21186_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33120,7 +33120,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__P21184_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P21328_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -33142,9 +33142,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C20467_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___20441; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C20467_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C20611_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___20585; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C20611_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: @@ -33159,7 +33159,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P21184_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P21328_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -33172,7 +33172,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P22695_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P22839_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1025; s.pc = 13; return s.tmp_0; case 13: @@ -33182,12 +33182,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P21190.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__P21334.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__P21190_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P21334_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P21190, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P21334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33206,7 +33206,7 @@ function scene_systemMenu_PauseMenu_setSelection__P21190_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P22695(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P22839(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33216,13 +33216,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___32472 = undefined; + s.row___32616 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21186_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -33240,17 +33240,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___32472 = (r0); + s.row___32616 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___32472 === s.tmp_1); + r0 = (s.row___32616 === 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___32472 - 1); + r0 = (s.row___32616 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -33265,7 +33265,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___32472 > s.tmp_6); + r0 = (s.row___32616 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -33325,12 +33325,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P22695.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__P22839.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__P22695_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P22839_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P22695, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P22839, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33342,7 +33342,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P22695_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___32472: undefined, + row___32616: undefined, arg0: undefined, } } @@ -33350,7 +33350,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P22695_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P21189(s) { +function scene_systemMenu_PauseMenu_onUpdate__P21333(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33360,22 +33360,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___32332 = undefined; - s.i___32336 = undefined; - s.dt___32365 = undefined; + s.t___32476 = undefined; + s.i___32480 = undefined; + s.dt___32509 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21186_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___32332 = (r0); - s.i___32336 = (0); + s.t___32476 = (r0); + s.i___32480 = (0); case 1: - s.tmp_1 = r0 = s.i___32336; + s.tmp_1 = r0 = s.i___32480; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -33384,13 +33384,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__P21182_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P21326_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___32336); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___32480); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___32332; - s.tmp_11 = r0 = s.i___32336; + s.tmp_8 = r0 = s.t___32476; + s.tmp_11 = r0 = s.i___32480; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -33418,11 +33418,11 @@ switch (step) { s.callLocIdx = 1017; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___32336 + 1); - s.i___32336 = (r0); + r0 = (s.i___32480 + 1); + s.i___32480 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P21096_mk(s); + s.tmp_1 = game_currentScene__P21240_mk(s); s.callLocIdx = 1018; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -33431,7 +33431,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___32365 = (r0); + s.dt___32509 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -33443,7 +33443,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___32365 * 100); + r0 = (s.dt___32509 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -33461,7 +33461,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___32365 * 100); + r0 = (s.dt___32509 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -33471,7 +33471,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P18687_mk(s); + s.tmp_2 = Math_abs__P18831_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -33491,8 +33491,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P20932_mk(s); - s.tmp_1 = game_currentScene__P21096_mk(s); + s.tmp_0 = scene_Camera_offsetY__P21076_mk(s); + s.tmp_1 = game_currentScene__P21240_mk(s); s.callLocIdx = 1021; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -33508,12 +33508,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P21189.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__P21333.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__P21189_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P21333_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P21189, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P21333, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33529,9 +33529,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P21189_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___32332: undefined, - i___32336: undefined, - dt___32365: undefined, + t___32476: undefined, + i___32480: undefined, + dt___32509: undefined, arg0: undefined, } } @@ -33539,7 +33539,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P21189_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P21182(s) { +function scene_systemMenu_MenuOption_setOffset__P21326(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33555,8 +33555,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21178_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P20631_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P20775_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -33566,10 +33566,10 @@ switch (step) { s.callLocIdx = 959; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P20592_mk(s); + s.tmp_0 = Sprite_y__P20736_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P20591_mk(s); + s.tmp_1 = Sprite_y__P20735_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 960; s.pc = 3; return s.tmp_1; @@ -33583,12 +33583,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P21182.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__P21326.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__P21182_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P21326_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P21182, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P21326, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33600,7 +33600,7 @@ function scene_systemMenu_MenuOption_setOffset__P21182_mk(s) { -function scene_systemMenu_MenuOption_setState__P21184(s) { +function scene_systemMenu_MenuOption_setState__P21328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33616,7 +33616,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21178_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -33627,7 +33627,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P22694_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P22838_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 963; s.pc = 4; return s.tmp_0; case 4: @@ -33637,12 +33637,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P21184.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__P21328.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__P21184_mk(s) { +function scene_systemMenu_MenuOption_setState__P21328_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P21184, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P21328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33654,7 +33654,7 @@ function scene_systemMenu_MenuOption_setState__P21184_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P22694(s) { +function scene_systemMenu_MenuOption_updateCard__P22838(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33669,7 +33669,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21178_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33692,7 +33692,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P20620_mk(s); + s.tmp_4 = Sprite_setImage__P20764_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -33714,7 +33714,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P20620_mk(s); + s.tmp_0 = Sprite_setImage__P20764_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -33736,7 +33736,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P20620_mk(s); + s.tmp_0 = Sprite_setImage__P20764_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -33757,10 +33757,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P20590_mk(s); + s.tmp_0 = Sprite_x__P20734_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P20589_mk(s); + s.tmp_1 = Sprite_x__P20733_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 972; s.pc = 15; return s.tmp_1; @@ -33770,10 +33770,10 @@ switch (step) { s.callLocIdx = 973; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P20592_mk(s); + s.tmp_0 = Sprite_y__P20736_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P20591_mk(s); + s.tmp_1 = Sprite_y__P20735_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 974; s.pc = 17; return s.tmp_1; @@ -33788,12 +33788,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P22694.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__P22838.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__P22694_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P22838_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P22694, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P22838, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33808,7 +33808,7 @@ function scene_systemMenu_MenuOption_updateCard__P22694_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P21183(s) { +function scene_systemMenu_MenuOption_setTheme__P21327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33824,9 +33824,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21178_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P22694_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P22838_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 962; s.pc = 1; return s.tmp_0; case 1: @@ -33835,12 +33835,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P21183.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__P21327.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__P21183_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P21327_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P21183, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P21327, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33851,7 +33851,7 @@ function scene_systemMenu_MenuOption_setTheme__P21183_mk(s) { -function scene_systemMenu_MenuOption_position__P21181(s) { +function scene_systemMenu_MenuOption_position__P21325(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33868,26 +33868,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21178_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P20627_mk(s); + s.tmp_0 = Sprite_left__P20771_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 953; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P20631_mk(s); + s.tmp_0 = Sprite_top__P20775_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 954; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P20590_mk(s); + s.tmp_0 = Sprite_x__P20734_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P20589_mk(s); + s.tmp_1 = Sprite_x__P20733_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 955; s.pc = 4; return s.tmp_1; @@ -33897,10 +33897,10 @@ switch (step) { s.callLocIdx = 956; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P20592_mk(s); + s.tmp_0 = Sprite_y__P20736_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P20591_mk(s); + s.tmp_1 = Sprite_y__P20735_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 957; s.pc = 6; return s.tmp_1; @@ -33914,12 +33914,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P21181.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__P21325.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__P21181_mk(s) { +function scene_systemMenu_MenuOption_position__P21325_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P21181, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P21325, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33932,7 +33932,7 @@ function scene_systemMenu_MenuOption_position__P21181_mk(s) { -function scene_systemMenu_MenuOption_show__P21180(s) { +function scene_systemMenu_MenuOption_show__P21324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33947,7 +33947,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21178_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -33967,12 +33967,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___21202; + r0 = globals.CARD_NORMAL___21346; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P20538_mk(s); + s.tmp_5 = sprites_create__P20682_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; s.callLocIdx = 949; s.pc = 4; return s.tmp_5; @@ -33995,7 +33995,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P20538_mk(s); + s.tmp_2 = sprites_create__P20682_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -34023,12 +34023,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P21180.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__P21324.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__P21180_mk(s) { +function scene_systemMenu_MenuOption_show__P21324_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P21180, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P21324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34043,7 +34043,7 @@ function scene_systemMenu_MenuOption_show__P21180_mk(s) { -function game_onShade__P21111(s) { +function game_onShade__P21255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34057,7 +34057,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P22448_mk(s); + s.tmp_0 = game_init__P22592_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 943; s.pc = 4; return s.tmp_0; case 4: @@ -34071,7 +34071,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P20947_mk(s); + s.tmp_2 = scene_createRenderable__P21091_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -34083,12 +34083,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P21111.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__P21255.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__P21111_mk(s) { +function game_onShade__P21255_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P21111, depth: s.depth + 1, + parent: s, fn: game_onShade__P21255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34100,7 +34100,7 @@ function game_onShade__P21111_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P21187(s) { +function scene_systemMenu_PauseMenu_constructor__P21331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34117,7 +34117,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21186_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -34125,8 +34125,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P21195_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___21202); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P21339_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___21346); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -34145,12 +34145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P21187.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__P21331.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__P21187_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P21331_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P21187, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P21331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34164,7 +34164,7 @@ function scene_systemMenu_PauseMenu_constructor__P21187_mk(s) { -function scene_systemMenu_buildMenuTheme__P21195(s) { +function scene_systemMenu_buildMenuTheme__P21339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34174,7 +34174,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___33316 = undefined; + s.cardsPerRow___33460 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34182,19 +34182,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); 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___33316 = (r0); + s.cardsPerRow___33460 = (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___20309; + r0 = globals.font8___20453; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -34205,7 +34205,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P20312_mk(s); + s.tmp_1 = image_doubledFont__P20456_mk(s); s.tmp_1.arg0 = s.arg2; s.callLocIdx = 1086; s.pc = 5; return s.tmp_1; case 5: @@ -34218,12 +34218,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___33316); - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___33460); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_3 = r0; - r0 = (s.cardsPerRow___33316 * s.arg0); + r0 = (s.cardsPerRow___33460 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___33316 - 1); + r0 = (s.cardsPerRow___33460 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -34254,7 +34254,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___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -34275,19 +34275,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___21203); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___21204); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___21202); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___21347); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___21348); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___21346); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P21195.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__P21339.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__P21195_mk(s) { +function scene_systemMenu_buildMenuTheme__P21339_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P21195, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P21339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34306,7 +34306,7 @@ function scene_systemMenu_buildMenuTheme__P21195_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___33316: undefined, + cardsPerRow___33460: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34317,7 +34317,7 @@ function scene_systemMenu_buildMenuTheme__P21195_mk(s) { -function image_doubledFont__P20312(s) { +function image_doubledFont__P20456(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34331,7 +34331,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P20313_mk(s); + s.tmp_0 = image_scaledFont__P20457_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 98; s.pc = 1; return s.tmp_0; @@ -34340,12 +34340,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P20312.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__P20456.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__P20312_mk(s) { +function image_doubledFont__P20456_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P20312, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P20456, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34355,7 +34355,7 @@ function image_doubledFont__P20312_mk(s) { -function image_scaledFont__P20313(s) { +function image_scaledFont__P20457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34470,12 +34470,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P20313.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__P20457.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__P20313_mk(s) { +function image_scaledFont__P20457_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P20313, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P20457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34501,7 +34501,7 @@ function image_scaledFont__P20313_mk(s) { -function game_pushScene__P21100(s) { +function game_pushScene__P21244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34511,43 +34511,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___33395 = undefined; - s.tmp_0 = game_currentScene__P21096_mk(s); + s.oldScene___33539 = undefined; + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 922; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___33395 = (r0); - s.tmp_0 = particles_clearAll__P21272_mk(s); + s.oldScene___33539 = (r0); + s.tmp_0 = particles_clearAll__P21416_mk(s); s.callLocIdx = 923; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P21273_mk(s); + s.tmp_0 = particles_disableAll__P21417_mk(s); s.callLocIdx = 924; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___22441); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___22585); 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___22441 = (r0); + globals._sceneStack___22585 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___22441, globals._scene___22440); - s.tmp_0 = game_init__P22448_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___22585, globals._scene___22584); + s.tmp_0 = game_init__P22592_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 925; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___22442); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___22586); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P33412); + r0 = pxsim_pxtcore_mkAction(1, inline__P33556); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___33395); - s.tmp_1 = helpers_arrayForEach__P18671_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___22442; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___33539); + s.tmp_1 = helpers_arrayForEach__P18815_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___22586; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 927; s.pc = 9; return s.tmp_1; case 9: @@ -34558,23 +34558,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P21100.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P21244.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__P21100_mk(s) { +function game_pushScene__P21244_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P21100, depth: s.depth + 1, + parent: s, fn: game_pushScene__P21244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___33395: undefined, + oldScene___33539: undefined, } } -function inline__P33412(s) { +function inline__P33556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34599,12 +34599,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33412.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P33556.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__P33412_mk(s) { +function inline__P33556_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33412, depth: s.depth + 1, + parent: s, fn: inline__P33556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34614,7 +34614,7 @@ function inline__P33412_mk(s) { -function particles_disableAll__P21273(s) { +function particles_disableAll__P21417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34624,21 +34624,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___33416 = undefined; - s.tmp_0 = particles_particleSources__P22804_mk(s); + s.sources___33560 = undefined; + s.tmp_0 = particles_particleSources__P22948_mk(s); s.callLocIdx = 1169; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___33416 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___33416); + s.sources___33560 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___33560); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18671_mk(s); - s.tmp_0.arg0 = s.sources___33416; - s.tmp_0.arg1 = inline__P33422; + s.tmp_0 = helpers_arrayForEach__P18815_mk(s); + s.tmp_0.arg0 = s.sources___33560; + s.tmp_0.arg1 = inline__P33566; s.callLocIdx = 1171; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P22800_mk(s); + s.tmp_0 = particles_pruneParticles__P22944_mk(s); s.callLocIdx = 1172; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -34648,22 +34648,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P21273.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P21417.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__P21273_mk(s) { +function particles_disableAll__P21417_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P21273, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P21417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___33416: undefined, + sources___33560: undefined, } } -function inline__P33422(s) { +function inline__P33566(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34677,7 +34677,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P21255_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P21399_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1170; s.pc = 1; return s.tmp_0; @@ -34687,12 +34687,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33422.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P33566.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__P33422_mk(s) { +function inline__P33566_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33422, depth: s.depth + 1, + parent: s, fn: inline__P33566, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34702,7 +34702,7 @@ function inline__P33422_mk(s) { -function particles_clearAll__P21272(s) { +function particles_clearAll__P21416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34712,21 +34712,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___33427 = undefined; - s.tmp_0 = particles_particleSources__P22804_mk(s); + s.sources___33571 = undefined; + s.tmp_0 = particles_particleSources__P22948_mk(s); s.callLocIdx = 1165; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___33427 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___33427); + s.sources___33571 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___33571); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18671_mk(s); - s.tmp_0.arg0 = s.sources___33427; - s.tmp_0.arg1 = inline__P33433; + s.tmp_0 = helpers_arrayForEach__P18815_mk(s); + s.tmp_0.arg0 = s.sources___33571; + s.tmp_0.arg1 = inline__P33577; s.callLocIdx = 1167; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P22800_mk(s); + s.tmp_0 = particles_pruneParticles__P22944_mk(s); s.callLocIdx = 1168; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -34736,22 +34736,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P21272.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P21416.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__P21272_mk(s) { +function particles_clearAll__P21416_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P21272, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P21416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___33427: undefined, + sources___33571: undefined, } } -function inline__P33433(s) { +function inline__P33577(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34765,7 +34765,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P21257_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P21401_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1166; s.pc = 1; return s.tmp_0; case 1: @@ -34774,12 +34774,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33433.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P33577.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__P33433_mk(s) { +function inline__P33577_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33433, depth: s.depth + 1, + parent: s, fn: inline__P33577, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34789,7 +34789,7 @@ function inline__P33433_mk(s) { -function scene_systemMenu_initScreen__P22707(s) { +function scene_systemMenu_initScreen__P22851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34799,20 +34799,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___33439 = undefined; - s.tmp_0 = settings_readNumber__P20397_mk(s); + s.brightness___33583 = undefined; + s.tmp_0 = settings_readNumber__P20541_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 1095; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___33439 = (r0); - r0 = (s.brightness___33439 !== undefined); + s.brightness___33583 = (r0); + r0 = (s.brightness___33583 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P20299_mk(s); - s.tmp_1.arg0 = globals.screen___20366; - s.tmp_1.arg1 = s.brightness___33439; + s.tmp_1 = helpers_setScreenBrightness__P20443_mk(s); + s.tmp_1.arg0 = globals.screen___20510; + s.tmp_1.arg1 = s.brightness___33583; s.callLocIdx = 1096; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -34822,23 +34822,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P22707.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__P22851.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__P22707_mk(s) { +function scene_systemMenu_initScreen__P22851_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P22707, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P22851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___33439: undefined, + brightness___33583: undefined, } } -function settings_readNumber__P20397(s) { +function settings_readNumber__P20541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34848,15 +34848,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___33450 = undefined; - s.nums___33457 = undefined; + s.buf___33594 = undefined; + s.nums___33601 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___33450 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___33450); + s.buf___33594 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___33594); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -34866,20 +34866,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P18740_mk(s); - s.tmp_2.arg0 = s.buf___33450; + s.tmp_2 = msgpack_unpackNumberArray__P18884_mk(s); + s.tmp_2.arg0 = s.buf___33594; s.tmp_2.arg1 = 0; s.callLocIdx = 136; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___33457 = (r0); - s.tmp_0 = r0 = s.nums___33457; + s.nums___33601 = (r0); + s.tmp_0 = r0 = s.nums___33601; 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___33457); + r0 = pxsim_Array__length(s.nums___33601); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -34887,7 +34887,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___33457, 0); + r0 = pxsim_Array__getAt(s.nums___33601, 0); { step = 7; continue; } case 4: case 5: @@ -34899,18 +34899,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P20397.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__P20541.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__P20397_mk(s) { +function settings_readNumber__P20541_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P20397, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P20541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___33450: undefined, - nums___33457: undefined, + buf___33594: undefined, + nums___33601: undefined, arg0: undefined, } } @@ -34918,7 +34918,7 @@ function settings_readNumber__P20397_mk(s) { -function settings_readBuffer__P20395(s) { +function settings_readBuffer__P20539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34936,12 +34936,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P20395.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__P20539.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__P20395_mk(s) { +function settings_readBuffer__P20539_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P20395, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P20539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -34950,7 +34950,7 @@ function settings_readBuffer__P20395_mk(s) { -function msgpack_unpackNumberArray__P18740(s) { +function msgpack_unpackNumberArray__P18884(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34960,16 +34960,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___33470 = undefined; - s.fmt___33477 = undefined; - s.v___33486 = undefined; + s.res___33614 = undefined; + s.fmt___33621 = undefined; + s.v___33630 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___33470 = (r0); + s.res___33614 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -34981,14 +34981,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P22064_mk(s); + s.tmp_4 = msgpack_tagFormat__P22208_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 23; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___33477 = (r0); - r0 = (s.fmt___33477 === null); + s.fmt___33621 = (r0); + r0 = (s.fmt___33621 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -34996,21 +34996,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___33486 = (r0); - r0 = (-31 <= s.v___33486); + s.v___33630 = (r0); + r0 = (-31 <= s.v___33630); 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___33486 <= 127); + r0 = (s.v___33630 <= 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___33470, s.v___33486); + r0 = pxsim_Array__push(s.res___33614, s.v___33630); { step = 5; continue; } case 4: r0 = null; @@ -35018,13 +35018,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___33470; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___33477, s.arg1); + s.tmp_0 = r0 = s.res___33614; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___33621, 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__P18732_mk(s); - s.tmp_2.arg0 = s.fmt___33477; + s.tmp_2 = pins_sizeOf__P18876_mk(s); + s.tmp_2.arg0 = s.fmt___33621; s.callLocIdx = 24; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -35045,26 +35045,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___33470; + r0 = s.res___33614; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P18740.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__P18884.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__P18740_mk(s) { +function msgpack_unpackNumberArray__P18884_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P18740, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P18884, 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___33470: undefined, - fmt___33477: undefined, - v___33486: undefined, + res___33614: undefined, + fmt___33621: undefined, + v___33630: undefined, arg0: undefined, arg1: undefined, } } @@ -35073,7 +35073,7 @@ function msgpack_unpackNumberArray__P18740_mk(s) { -function scene_systemMenu_initVolume__P22706(s) { +function scene_systemMenu_initVolume__P22850(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35083,19 +35083,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___33531 = undefined; - s.tmp_0 = settings_readNumber__P20397_mk(s); + s.vol___33675 = undefined; + s.tmp_0 = settings_readNumber__P20541_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 1093; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___33531 = (r0); - r0 = (s.vol___33531 !== undefined); + s.vol___33675 = (r0); + r0 = (s.vol___33675 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P20156_mk(s); - s.tmp_1.arg0 = s.vol___33531; + s.tmp_1 = music_setVolume__P20300_mk(s); + s.tmp_1.arg0 = s.vol___33675; s.callLocIdx = 1094; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -35105,23 +35105,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P22706.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__P22850.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__P22706_mk(s) { +function scene_systemMenu_initVolume__P22850_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P22706, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P22850, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___33531: undefined, + vol___33675: undefined, } } -function game_currentScene__P21096(s) { +function game_currentScene__P21240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35131,21 +35131,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P22448_mk(s); + s.tmp_0 = game_init__P22592_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 917; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___22440; + r0 = globals._scene___22584; return leave(s, r0) default: oops() } } } -game_currentScene__P21096.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P21240.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__P21096_mk(s) { +function game_currentScene__P21240_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P21096, depth: s.depth + 1, + parent: s, fn: game_currentScene__P21240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35154,7 +35154,7 @@ function game_currentScene__P21096_mk(s) { -function game_addScenePopHandler__P21115(s) { +function game_addScenePopHandler__P21259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35168,35 +35168,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___22443); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___22587); 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___22443 = (r0); + globals._scenePopHandlers___22587 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___22443, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___22587, 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___22443, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___22587, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P21115.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__P21259.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__P21115_mk(s) { +function game_addScenePopHandler__P21259_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P21115, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P21259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35207,7 +35207,7 @@ function game_addScenePopHandler__P21115_mk(s) { -function game_addScenePushHandler__P21113(s) { +function game_addScenePushHandler__P21257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35221,35 +35221,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___22442); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___22586); 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___22442 = (r0); + globals._scenePushHandlers___22586 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___22442, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___22586, 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___22442, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___22586, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P21113.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__P21257.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__P21113_mk(s) { +function game_addScenePushHandler__P21257_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P21113, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P21257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35260,7 +35260,7 @@ function game_addScenePushHandler__P21113_mk(s) { -function Fx8__P18708(s) { +function Fx8__P18852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35280,12 +35280,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P18708.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P18852.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__P18708_mk(s) { +function Fx8__P18852_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P18708, depth: s.depth + 1, + parent: s, fn: Fx8__P18852, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35295,7 +35295,7 @@ function Fx8__P18708_mk(s) { -function SpriteKind_create__P20691(s) { +function SpriteKind_create__P20835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35305,26 +35305,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___22293 === undefined); + r0 = (globals.nextKind___22437 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___22293 = (1000); + globals.nextKind___22437 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___22293; + s.tmp_0 = r0 = globals.nextKind___22437; r0 = (s.tmp_0 + 1); - globals.nextKind___22293 = (r0); + globals.nextKind___22437 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P20691.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P20835.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__P20691_mk(s) { +function SpriteKind_create__P20835_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P20691, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P20835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35333,7 +35333,7 @@ function SpriteKind_create__P20691_mk(s) { -function controller_Button_constructor__P20473(s) { +function controller_Button_constructor__P20617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35350,7 +35350,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20467_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -35360,13 +35360,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__P33607); + r0 = pxsim_pxtcore_mkAction(1, inline__P33751); 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__P33614); + r0 = pxsim_pxtcore_mkAction(1, inline__P33758); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -35385,12 +35385,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P20473.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__P20617.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__P20473_mk(s) { +function controller_Button_constructor__P20617_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P20473, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P20617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35404,7 +35404,7 @@ function controller_Button_constructor__P20473_mk(s) { -function inline__P33607(s) { +function inline__P33751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35414,7 +35414,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P20478_mk(s); + s.tmp_0 = controller_Button_setPressed__P20622_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 148; s.pc = 1; return s.tmp_0; @@ -35424,12 +35424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33607.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P33751.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P33607_mk(s) { +function inline__P33751_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33607, depth: s.depth + 1, + parent: s, fn: inline__P33751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35438,7 +35438,7 @@ function inline__P33607_mk(s) { -function inline__P33614(s) { +function inline__P33758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35448,7 +35448,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P20478_mk(s); + s.tmp_0 = controller_Button_setPressed__P20622_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 149; s.pc = 1; return s.tmp_0; @@ -35458,12 +35458,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33614.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P33758.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P33614_mk(s) { +function inline__P33758_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33614, depth: s.depth + 1, + parent: s, fn: inline__P33758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35472,7 +35472,7 @@ function inline__P33614_mk(s) { -function controller_setupButton__P22275(s) { +function controller_setupButton__P22419(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35491,12 +35491,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P22275.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__P22419.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__P22275_mk(s) { +function controller_setupButton__P22419_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P22275, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P22419, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35506,7 +35506,7 @@ function controller_setupButton__P22275_mk(s) { -function controller_Button_setPressed__P20478(s) { +function controller_Button_setPressed__P20622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35522,14 +35522,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20467_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C20611_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__P20269_mk(s); + s.tmp_2 = power_poke__P20413_mk(s); s.callLocIdx = 152; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -35537,7 +35537,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__P20507_mk(s); + s.tmp_1 = controller_Controller_connected__P20651_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -35552,7 +35552,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__P22277_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P22421_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 154; s.pc = 9; return s.tmp_0; case 9: @@ -35560,7 +35560,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P22276_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P22420_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 155; s.pc = 10; return s.tmp_0; case 10: @@ -35572,12 +35572,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P20478.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__P20622.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__P20478_mk(s) { +function controller_Button_setPressed__P20622_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P20478, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P20622, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35590,7 +35590,7 @@ function controller_Button_setPressed__P20478_mk(s) { -function controller_Button_raiseButtonDown__P22277(s) { +function controller_Button_raiseButtonDown__P22421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35605,8 +35605,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20467_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22269); + if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22413); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -35621,12 +35621,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P22277.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__P22421.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__P22277_mk(s) { +function controller_Button_raiseButtonDown__P22421_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P22277, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P22421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35636,7 +35636,7 @@ function controller_Button_raiseButtonDown__P22277_mk(s) { -function controller_Button_raiseButtonUp__P22276(s) { +function controller_Button_raiseButtonUp__P22420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35651,8 +35651,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20467_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22269); + if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22413); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -35667,12 +35667,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P22276.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__P22420.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__P22276_mk(s) { +function controller_Button_raiseButtonUp__P22420_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P22276, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P22420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35682,7 +35682,7 @@ function controller_Button_raiseButtonUp__P22276_mk(s) { -function controller_Controller_connected__P20507(s) { +function controller_Controller_connected__P20651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35698,7 +35698,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -35726,12 +35726,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P20507.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__P20651.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__P20507_mk(s) { +function controller_Controller_connected__P20651_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P20507, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P20651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35744,7 +35744,7 @@ function controller_Controller_connected__P20507_mk(s) { -function controller_Controller_id__P20494(s) { +function controller_Controller_id__P20638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35759,18 +35759,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P20494.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__P20494.isGetter = true; +controller_Controller_id__P20638.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__P20638.isGetter = true; -function controller_Controller_id__P20494_mk(s) { +function controller_Controller_id__P20638_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P20494, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P20638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35779,7 +35779,7 @@ function controller_Controller_id__P20494_mk(s) { -function controller_Controller_connected__P20506(s) { +function controller_Controller_connected__P20650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35794,18 +35794,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20487_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P20506.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__P20506.isGetter = true; +controller_Controller_connected__P20650.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__P20650.isGetter = true; -function controller_Controller_connected__P20506_mk(s) { +function controller_Controller_connected__P20650_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P20506, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P20650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35814,7 +35814,7 @@ function controller_Controller_connected__P20506_mk(s) { -function settings_initScopes__P22242(s) { +function settings_initScopes__P22386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35824,17 +35824,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___33692 = undefined; - s.tmp_1 = settings_runNumber__P20389_mk(s); + s.rn___33836 = undefined; + s.tmp_1 = settings_runNumber__P20533_mk(s); s.callLocIdx = 127; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___33692 = (r0); - s.tmp_0 = settings_writeNumber__P20393_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___22230; - s.tmp_0.arg1 = s.rn___33692; + s.rn___33836 = (r0); + s.tmp_0 = settings_writeNumber__P20537_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___22374; + s.tmp_0.arg1 = s.rn___33836; s.callLocIdx = 128; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -35843,8 +35843,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___33692); - s.tmp_0 = settings_setScope__P22241_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___33836); + s.tmp_0 = settings_setScope__P22385_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 129; s.pc = 3; return s.tmp_0; @@ -35854,23 +35854,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P22242.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P22386.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__P22242_mk(s) { +function settings_initScopes__P22386_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P22242, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P22386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___33692: undefined, + rn___33836: undefined, } } -function settings_setScope__P22241(s) { +function settings_setScope__P22385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35880,7 +35880,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___33721 = undefined; + s.currScope___33865 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -35905,19 +35905,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P20396_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___22231; + s.tmp_0 = settings_readString__P20540_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___22375; s.callLocIdx = 125; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___33721 = (r0); - r0 = (s.currScope___33721 != s.arg0); + s.currScope___33865 = (r0); + r0 = (s.currScope___33865 != 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__P20392_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___22231; + s.tmp_0 = settings_writeString__P20536_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___22375; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 126; s.pc = 8; return s.tmp_0; case 8: @@ -35928,18 +35928,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P22241.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__P22385.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__P22241_mk(s) { +function settings_setScope__P22385_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P22241, depth: s.depth + 1, + parent: s, fn: settings_setScope__P22385, 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___33721: undefined, + currScope___33865: undefined, arg0: undefined, } } @@ -35947,7 +35947,7 @@ function settings_setScope__P22241_mk(s) { -function settings_readString__P20396(s) { +function settings_readString__P20540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35957,14 +35957,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___33742 = undefined; + s.buf___33886 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___33742 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___33742); + s.buf___33886 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___33886); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35974,7 +35974,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___33742); + r0 = pxsim.BufferMethods.toString(s.buf___33886); { step = 3; continue; } case 2: r0 = undefined; @@ -35982,16 +35982,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P20396.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__P20540.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__P20396_mk(s) { +function settings_readString__P20540_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P20396, depth: s.depth + 1, + parent: s, fn: settings_readString__P20540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___33742: undefined, + buf___33886: undefined, arg0: undefined, } } @@ -35999,7 +35999,7 @@ function settings_readString__P20396_mk(s) { -function settings_writeString__P20392(s) { +function settings_writeString__P20536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36014,7 +36014,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P20391_mk(s); + s.tmp_0 = settings_writeBuffer__P20535_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -36025,12 +36025,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P20392.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__P20536.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__P20392_mk(s) { +function settings_writeString__P20536_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P20392, depth: s.depth + 1, + parent: s, fn: settings_writeString__P20536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36041,7 +36041,7 @@ function settings_writeString__P20392_mk(s) { -function settings_runNumber__P20389(s) { +function settings_runNumber__P20533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36051,8 +36051,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P20397_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___22230; + s.tmp_1 = settings_readNumber__P20541_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___22374; s.callLocIdx = 124; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -36070,12 +36070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P20389.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P20533.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__P20389_mk(s) { +function settings_runNumber__P20533_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P20389, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P20533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36086,7 +36086,7 @@ function settings_runNumber__P20389_mk(s) { -function control___screen_setupUpdate__P20328(s) { +function control___screen_setupUpdate__P20472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36100,8 +36100,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___22199 = (true); - globals.__update___22197 = (s.arg0); + globals.__updated___22343 = (true); + globals.__update___22341 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -36112,12 +36112,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P20328.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__P20472.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__P20328_mk(s) { +function control___screen_setupUpdate__P20472_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P20328, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P20472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36127,7 +36127,7 @@ function control___screen_setupUpdate__P20328_mk(s) { -function control___screen_update__P20327(s) { +function control___screen_update__P20471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36137,27 +36137,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___22197); + r0 = pxsim_numops_toBoolDecr(globals.__update___22341); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___22197; + s.tmp_0.argL = globals.__update___22341; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 119; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___22199 = (true); + globals.__updated___22343 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P20327.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__P20471.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__P20327_mk(s) { +function control___screen_update__P20471_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P20327, depth: s.depth + 1, + parent: s, fn: control___screen_update__P20471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36166,7 +36166,7 @@ function control___screen_update__P20327_mk(s) { -function pause__P18966(s) { +function pause__P19110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36190,12 +36190,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P18966.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P19110.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__P18966_mk(s) { +function pause__P19110_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P18966, depth: s.depth + 1, + parent: s, fn: pause__P19110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36204,7 +36204,7 @@ function pause__P18966_mk(s) { -function particles_AshFactory_createParticle__P21324(s) { +function particles_AshFactory_createParticle__P21468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36214,16 +36214,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___36009 = undefined; - s.choice___36018 = undefined; - s.p___36023 = undefined; + s.index___36153 = undefined; + s.choice___36162 = undefined; + s.p___36167 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AshFactory__C21322_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AshFactory__C21466_VT)) failedCast(r0); r0 = s.arg0.fields["colors"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -36236,7 +36236,7 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_3 = Math_FastRandom_randomRange__P21154_mk(s); + s.tmp_3 = Math_FastRandom_randomRange__P21298_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 0; @@ -36249,25 +36249,25 @@ switch (step) { s.callLocIdx = 1240; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - s.index___36009 = (r0); + s.index___36153 = (r0); r0 = s.arg0.fields["colors"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.index___36009); - s.choice___36018 = (r0); - s.tmp_0 = particles_AreaFactory_createParticle__P21294_mk(s); + r0 = pxsim_Array__getAt(s.tmp_0, s.index___36153); + s.choice___36162 = (r0); + s.tmp_0 = particles_AreaFactory_createParticle__P21438_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1241; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.p___36023 = (r0); - s.tmp_0 = r0 = s.choice___36018; + s.p___36167 = (r0); + s.tmp_0 = r0 = s.choice___36162; r0 = s.tmp_0.fields["count"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["count"] = (s.tmp_1); - r0 = s.choice___36018.fields["count"]; + r0 = s.choice___36162.fields["count"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 0); s.tmp_0 = r0; @@ -36275,14 +36275,14 @@ switch (step) { if (!r0) { step = 3; continue; } r0 = s.arg0.fields["colors"]; s.tmp_2 = r0; - r0 = pxsim_Array_.removeAt(s.tmp_2, s.index___36009); + r0 = pxsim_Array_.removeAt(s.tmp_2, s.index___36153); case 3: case 4: - r0 = s.choice___36018.fields["color"]; + r0 = s.choice___36162.fields["color"]; s.tmp_0 = r0; - r0 = (s.p___36023).fields["color"] = (s.tmp_0); - s.tmp_0 = r0 = s.p___36023; - s.tmp_3 = Math_FastRandom_randomRange__P21154_mk(s); + r0 = (s.p___36167).fields["color"] = (s.tmp_0); + s.tmp_0 = r0 = s.p___36167; + s.tmp_3 = Math_FastRandom_randomRange__P21298_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["yRange"]; @@ -36295,7 +36295,7 @@ switch (step) { case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = s.p___36023.fields["_y"]; + r0 = s.p___36167.fields["_y"]; s.tmp_5 = r0; r0 = (s.tmp_2 << 8); s.tmp_6 = r0; @@ -36343,9 +36343,9 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_7 = r0; - r0 = (s.p___36023).fields["vx"] = (s.tmp_7); - s.tmp_0 = r0 = s.p___36023; - s.tmp_3 = Math_FastRandom_randomRange__P21154_mk(s); + r0 = (s.p___36167).fields["vx"] = (s.tmp_7); + s.tmp_0 = r0 = s.p___36167; + s.tmp_3 = Math_FastRandom_randomRange__P21298_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = -150; @@ -36359,17 +36359,17 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___36023; + r0 = s.p___36167; case 7: return leave(s, r0) default: oops() } } } -particles_AshFactory_createParticle__P21324.info = {"start":13251,"length":665,"line":425,"column":8,"endLine":442,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_AshFactory_createParticle__P21468.info = {"start":13251,"length":665,"line":425,"column":8,"endLine":442,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function particles_AshFactory_createParticle__P21324_mk(s) { +function particles_AshFactory_createParticle__P21468_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_createParticle__P21324, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_createParticle__P21468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36379,9 +36379,9 @@ function particles_AshFactory_createParticle__P21324_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - index___36009: undefined, - choice___36018: undefined, - p___36023: undefined, + index___36153: undefined, + choice___36162: undefined, + p___36167: undefined, arg0: undefined, arg1: undefined, } } @@ -36390,7 +36390,7 @@ function particles_AshFactory_createParticle__P21324_mk(s) { -function Fx_iadd__P18717(s) { +function Fx_iadd__P18861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36411,12 +36411,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P18717.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__P18861.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__P18717_mk(s) { +function Fx_iadd__P18861_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P18717, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P18861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36427,7 +36427,7 @@ function Fx_iadd__P18717_mk(s) { -function sprites_SpriteSet_toString__P20686(s) { +function sprites_SpriteSet_toString__P20830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36442,7 +36442,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20675_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -36464,12 +36464,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P20686.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__P20830.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__P20686_mk(s) { +function sprites_SpriteSet_toString__P20830_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P20686, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P20830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36483,7 +36483,7 @@ function sprites_SpriteSet_toString__P20686_mk(s) { -function sprites_SpriteSet_length__P20678(s) { +function sprites_SpriteSet_length__P20822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36498,20 +36498,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20675_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C20819_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__P20678.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__P20678.isGetter = true; +sprites_SpriteSet_length__P20822.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__P20822.isGetter = true; -function sprites_SpriteSet_length__P20678_mk(s) { +function sprites_SpriteSet_length__P20822_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P20678, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P20822, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36521,7 +36521,7 @@ function sprites_SpriteSet_length__P20678_mk(s) { -function music_Melody_toString__P20171(s) { +function music_Melody_toString__P20315(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36536,17 +36536,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C20162_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C20306_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P20171.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__P20315.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__P20171_mk(s) { +function music_Melody_toString__P20315_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P20171, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P20315, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36555,7 +36555,7 @@ function music_Melody_toString__P20171_mk(s) { -function sprites_SpriteMap_toString__P20666(s) { +function sprites_SpriteMap_toString__P20810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36570,7 +36570,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20658_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -36590,10 +36590,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P18672_mk(s); + s.tmp_10 = helpers_arrayFilter__P18816_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P33782; + s.tmp_10.arg1 = inline__P33926; s.callLocIdx = 515; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -36615,12 +36615,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P20666.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__P20810.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__P20666_mk(s) { +function sprites_SpriteMap_toString__P20810_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P20666, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P20810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36640,7 +36640,7 @@ function sprites_SpriteMap_toString__P20666_mk(s) { -function inline__P33782(s) { +function inline__P33926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36664,12 +36664,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33782.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P33926.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__P33782_mk(s) { +function inline__P33926_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33782, depth: s.depth + 1, + parent: s, fn: inline__P33926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36681,7 +36681,7 @@ function inline__P33782_mk(s) { -function ArcadePhysicsEngine_moveSprite__P20751(s) { +function ArcadePhysicsEngine_moveSprite__P20895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36691,9 +36691,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___33820 = undefined; - s.maxDist___33830 = undefined; - s.ms___33850 = undefined; + s.tm___33964 = undefined; + s.maxDist___33974 = undefined; + s.ms___33994 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36702,7 +36702,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -36731,19 +36731,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_4 = game_currentScene__P21096_mk(s); + s.tmp_4 = game_currentScene__P21240_mk(s); s.callLocIdx = 727; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___33820 = (r0); - s.tmp_0 = r0 = s.tm___33820; + s.tm___33964 = (r0); + s.tmp_0 = r0 = s.tm___33964; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___33820.fields["_map"]; + r0 = s.tm___33964.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -36769,8 +36769,8 @@ switch (step) { r0 = (s.tmp_8 + 128); s.tmp_9 = r0; r0 = (s.tmp_9 >> 8); - s.maxDist___33830 = (r0); - s.tmp_2 = Math_abs__P18687_mk(s); + s.maxDist___33974 = (r0); + s.tmp_2 = Math_abs__P18831_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -36779,14 +36779,14 @@ switch (step) { case 17: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___33830); + r0 = (s.tmp_1 <= s.maxDist___33974); 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__P18687_mk(s); + s.tmp_5 = Math_abs__P18831_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -36795,15 +36795,15 @@ switch (step) { case 18: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___33830); + r0 = (s.tmp_4 <= s.maxDist___33974); 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__C20735_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C20879_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P20736_mk(s); + s.tmp_9 = MovingSprite_constructor__P20880_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -36817,18 +36817,18 @@ switch (step) { s.callLocIdx = 734; s.pc = 19; return s.tmp_9; case 19: r0 = s.retval; - s.ms___33850 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P22315_mk(s); + s.ms___33994 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P22459_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___33850; - s.tmp_0.arg2 = s.tm___33820; + s.tmp_0.arg1 = s.ms___33994; + s.tmp_0.arg2 = s.tm___33964; s.callLocIdx = 735; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 12; continue; } case 7: - s.tmp_1 = tiles_TileMap_isOnWall__P20902_mk(s); - s.tmp_1.arg0 = s.tm___33820; + s.tmp_1 = tiles_TileMap_isOnWall__P21046_mk(s); + s.tmp_1.arg0 = s.tm___33964; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 736; s.pc = 21; return s.tmp_1; case 21: @@ -36839,10 +36839,10 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P22317_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P22461_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___33820; + s.tmp_4.arg2 = s.tm___33964; s.callLocIdx = 737; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; @@ -36878,12 +36878,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P20751.info = {"start":21785,"length":1276,"line":642,"column":4,"endLine":675,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P20895.info = {"start":21785,"length":1276,"line":642,"column":4,"endLine":675,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P20751_mk(s) { +function ArcadePhysicsEngine_moveSprite__P20895_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P20751, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P20895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36895,9 +36895,9 @@ function ArcadePhysicsEngine_moveSprite__P20751_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___33820: undefined, - maxDist___33830: undefined, - ms___33850: undefined, + tm___33964: undefined, + maxDist___33974: undefined, + ms___33994: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36908,7 +36908,7 @@ function ArcadePhysicsEngine_moveSprite__P20751_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P22317(s) { +function ArcadePhysicsEngine_canResolveClipping__P22461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36918,19 +36918,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___33895 = undefined; - s.sz___33898 = undefined; - s.maxMove___33903 = undefined; - s.origY___33905 = undefined; - s.origX___33908 = undefined; - s.l___33911 = undefined; - s.r___33916 = undefined; - s.t___33921 = undefined; - s.b___33926 = undefined; - s.offset___33931 = undefined; - s.offset___33956 = undefined; - s.offset___33987 = undefined; - s.offset___34012 = undefined; + s.hbox___34039 = undefined; + s.sz___34042 = undefined; + s.maxMove___34047 = undefined; + s.origY___34049 = undefined; + s.origX___34052 = undefined; + s.l___34055 = undefined; + s.r___34060 = undefined; + s.t___34065 = undefined; + s.b___34070 = undefined; + s.offset___34075 = undefined; + s.offset___34100 = undefined; + s.offset___34131 = undefined; + s.offset___34156 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36938,7 +36938,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -36949,7 +36949,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_setHitbox__P20621_mk(s); + s.tmp_4 = Sprite_setHitbox__P20765_mk(s); s.tmp_4.arg0 = s.arg1; s.callLocIdx = 739; s.pc = 20; return s.tmp_4; case 20: @@ -36957,23 +36957,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___33895 = (r0); + s.hbox___34039 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___33898 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P20743_mk(s); + s.sz___34042 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P20887_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 741; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___33903 = (r0); + s.maxMove___34047 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___33905 = (r0); + s.origY___34049 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___33908 = (r0); - s.tmp_1 = game_Hitbox_left__P20530_mk(s); - s.tmp_1.arg0 = s.hbox___33895; + s.origX___34052 = (r0); + s.tmp_1 = game_Hitbox_left__P20674_mk(s); + s.tmp_1.arg0 = s.hbox___34039; s.callLocIdx = 742; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -36981,9 +36981,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___33911 = (r0); - s.tmp_1 = game_Hitbox_right__P20532_mk(s); - s.tmp_1.arg0 = s.hbox___33895; + s.l___34055 = (r0); + s.tmp_1 = game_Hitbox_right__P20676_mk(s); + s.tmp_1.arg0 = s.hbox___34039; s.callLocIdx = 744; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -36991,9 +36991,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___33916 = (r0); - s.tmp_1 = game_Hitbox_top__P20531_mk(s); - s.tmp_1.arg0 = s.hbox___33895; + s.r___34060 = (r0); + s.tmp_1 = game_Hitbox_top__P20675_mk(s); + s.tmp_1.arg0 = s.hbox___34039; s.callLocIdx = 746; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -37001,9 +37001,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___33921 = (r0); - s.tmp_1 = game_Hitbox_bottom__P20533_mk(s); - s.tmp_1.arg0 = s.hbox___33895; + s.t___34065 = (r0); + s.tmp_1 = game_Hitbox_bottom__P20677_mk(s); + s.tmp_1.arg0 = s.hbox___34039; s.callLocIdx = 748; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -37011,26 +37011,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___33926 = (r0); - r0 = (s.b___33926 + 1); + s.b___34070 = (r0); + r0 = (s.b___34070 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___33898); - s.offset___33931 = (r0); - r0 = (s.offset___33931 <= s.maxMove___33903); + r0 = (s.tmp_0 % s.sz___34042); + s.offset___34075 = (r0); + r0 = (s.offset___34075 <= s.maxMove___34047); 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___33931 * 256); + r0 = (s.offset___34075 * 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__P20902_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P21046_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 752; s.pc = 26; return s.tmp_3; @@ -37047,35 +37047,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___33905); + r0 = (s.arg1).fields["_y"] = (s.origY___34049); case 4: case 5: case 6: - r0 = (s.t___33921 / s.sz___33898); + r0 = (s.t___34065 / s.sz___34042); 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___33898); + r0 = (s.tmp_1 * s.sz___34042); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___33921); - s.offset___33956 = (r0); - r0 = (s.offset___33956 <= s.maxMove___33903); + r0 = (s.tmp_0 - s.t___34065); + s.offset___34100 = (r0); + r0 = (s.offset___34100 <= s.maxMove___34047); 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___33956 * 256); + r0 = (s.offset___34100 * 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__P20902_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P21046_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 755; s.pc = 27; return s.tmp_3; @@ -37092,29 +37092,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___33905); + r0 = (s.arg1).fields["_y"] = (s.origY___34049); case 8: case 9: case 10: - r0 = (s.r___33916 + 1); + r0 = (s.r___34060 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___33898); - s.offset___33987 = (r0); - r0 = (s.offset___33987 <= s.maxMove___33903); + r0 = (s.tmp_0 % s.sz___34042); + s.offset___34131 = (r0); + r0 = (s.offset___34131 <= s.maxMove___34047); 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___33987 * 256); + r0 = (s.offset___34131 * 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__P20902_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P21046_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 758; s.pc = 28; return s.tmp_3; @@ -37131,35 +37131,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___33908); + r0 = (s.arg1).fields["_x"] = (s.origX___34052); case 12: case 13: case 14: - r0 = (s.l___33911 / s.sz___33898); + r0 = (s.l___34055 / s.sz___34042); 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___33898); + r0 = (s.tmp_1 * s.sz___34042); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___33911); - s.offset___34012 = (r0); - r0 = (s.offset___34012 <= s.maxMove___33903); + r0 = (s.tmp_0 - s.l___34055); + s.offset___34156 = (r0); + r0 = (s.offset___34156 <= s.maxMove___34047); 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___34012 * 256); + r0 = (s.offset___34156 * 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__P20902_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P21046_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 761; s.pc = 29; return s.tmp_3; @@ -37176,7 +37176,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___33908); + r0 = (s.arg1).fields["_x"] = (s.origX___34052); case 16: case 17: case 18: @@ -37185,12 +37185,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P22317.info = {"start":23157,"length":2135,"line":678,"column":4,"endLine":749,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P22461.info = {"start":23157,"length":2135,"line":678,"column":4,"endLine":749,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P22317_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P22461_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P22317, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P22461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37198,19 +37198,19 @@ function ArcadePhysicsEngine_canResolveClipping__P22317_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___33895: undefined, - sz___33898: undefined, - maxMove___33903: undefined, - origY___33905: undefined, - origX___33908: undefined, - l___33911: undefined, - r___33916: undefined, - t___33921: undefined, - b___33926: undefined, - offset___33931: undefined, - offset___33956: undefined, - offset___33987: undefined, - offset___34012: undefined, + hbox___34039: undefined, + sz___34042: undefined, + maxMove___34047: undefined, + origY___34049: undefined, + origX___34052: undefined, + l___34055: undefined, + r___34060: undefined, + t___34065: undefined, + b___34070: undefined, + offset___34075: undefined, + offset___34100: undefined, + offset___34131: undefined, + offset___34156: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37220,7 +37220,7 @@ function ArcadePhysicsEngine_canResolveClipping__P22317_mk(s) { -function Sprite_isStatic__P20622(s) { +function Sprite_isStatic__P20766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37235,19 +37235,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P20622.info = {"start":8266,"length":57,"line":299,"column":4,"endLine":301,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P20766.info = {"start":8266,"length":57,"line":299,"column":4,"endLine":301,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P20622_mk(s) { +function Sprite_isStatic__P20766_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P20622, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P20766, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37257,7 +37257,7 @@ function Sprite_isStatic__P20622_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P22315(s) { +function ArcadePhysicsEngine_tilemapCollisions__P22459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37267,38 +37267,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___34051 = undefined; - s.hbox___34074 = undefined; - s.tileScale___34077 = undefined; - s.tileSize___34080 = undefined; - s.xDiff___34084 = undefined; - s.yDiff___34091 = undefined; - s.overlappedTiles___34098 = undefined; - s.right___34103 = undefined; - s.x0___34107 = undefined; - s.collidedTiles___34122 = undefined; - s.y___34124 = undefined; - s.y0___34138 = undefined; - s.obstacle___34154 = undefined; - s.collisionDirection___34188 = undefined; - s.tile___34214 = undefined; - s.unnamed238___U15 = undefined; - s.unnamed239___U16 = undefined; - s.down___34292 = undefined; - s.y0___34296 = undefined; - s.collidedTiles___34311 = undefined; - s.overlappedTiles___34313 = undefined; - s.x___34315 = undefined; - s.x0___34325 = undefined; - s.obstacle___34339 = undefined; - s.collisionDirection___34373 = undefined; - s.tile___34399 = undefined; - s.unnamed240___U26 = undefined; - s.unnamed241___U27 = undefined; - s.x___34474 = undefined; - s.x0___34484 = undefined; - s.y___34494 = undefined; - s.y0___34504 = undefined; + s.s___34195 = undefined; + s.hbox___34218 = undefined; + s.tileScale___34221 = undefined; + s.tileSize___34224 = undefined; + s.xDiff___34228 = undefined; + s.yDiff___34235 = undefined; + s.overlappedTiles___34242 = undefined; + s.right___34247 = undefined; + s.x0___34251 = undefined; + s.collidedTiles___34266 = undefined; + s.y___34268 = undefined; + s.y0___34282 = undefined; + s.obstacle___34298 = undefined; + s.collisionDirection___34332 = undefined; + s.tile___34358 = undefined; + s.unnamed258___U15 = undefined; + s.unnamed259___U16 = undefined; + s.down___34436 = undefined; + s.y0___34440 = undefined; + s.collidedTiles___34455 = undefined; + s.overlappedTiles___34457 = undefined; + s.x___34459 = undefined; + s.x0___34469 = undefined; + s.obstacle___34483 = undefined; + s.collisionDirection___34517 = undefined; + s.tile___34543 = undefined; + s.unnamed260___U26 = undefined; + s.unnamed261___U27 = undefined; + s.x___34618 = undefined; + s.x0___34628 = undefined; + s.y___34638 = undefined; + s.y0___34648 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37306,18 +37306,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___34051 = (r0); - r0 = s.s___34051.fields["flags"]; + s.s___34195 = (r0); + r0 = s.s___34195.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__P20902_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P21046_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.s___34051; + s.tmp_3.arg1 = s.s___34195; s.callLocIdx = 620; s.pc = 84; return s.tmp_3; case 84: r0 = s.retval; @@ -37327,7 +37327,7 @@ switch (step) { { step = 83; continue; } { step = 2; continue; } case 1: - s.tmp_4 = r0 = s.s___34051; + s.tmp_4 = r0 = s.s___34195; r0 = s.tmp_4.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & -257); @@ -37336,7 +37336,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___34051.fields["_image"]; + r0 = s.s___34195.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -37346,43 +37346,43 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_setHitbox__P20621_mk(s); - s.tmp_4.arg0 = s.s___34051; + s.tmp_4 = Sprite_setHitbox__P20765_mk(s); + s.tmp_4.arg0 = s.s___34195; s.callLocIdx = 622; s.pc = 85; return s.tmp_4; case 85: r0 = s.retval; case 5: case 6: - r0 = s.s___34051.fields["_hitbox"]; - s.hbox___34074 = (r0); + r0 = s.s___34195.fields["_hitbox"]; + s.hbox___34218 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___34077 = (r0); - r0 = (1 << s.tileScale___34077); - s.tileSize___34080 = (r0); - r0 = s.s___34051.fields["_x"]; + s.tileScale___34221 = (r0); + r0 = (1 << s.tileScale___34221); + s.tileSize___34224 = (r0); + r0 = s.s___34195.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___34051.fields["_lastX"]; + r0 = s.s___34195.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___34084 = (r0); - r0 = s.s___34051.fields["_y"]; + s.xDiff___34228 = (r0); + r0 = s.s___34195.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___34051.fields["_lastY"]; + r0 = s.s___34195.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___34091 = (r0); + s.yDiff___34235 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___34098 = (r0); - r0 = (s.xDiff___34084 !== 0); + s.overlappedTiles___34242 = (r0); + r0 = (s.xDiff___34228 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___34084 > 0); - s.right___34103 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___34103); + r0 = (s.xDiff___34228 > 0); + s.right___34247 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___34247); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P20532_mk(s); - s.tmp_1.arg0 = s.hbox___34074; + s.tmp_1 = game_Hitbox_right__P20676_mk(s); + s.tmp_1.arg0 = s.hbox___34218; s.callLocIdx = 626; s.pc = 86; return s.tmp_1; case 86: r0 = s.retval; @@ -37390,8 +37390,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P20530_mk(s); - s.tmp_3.arg0 = s.hbox___34074; + s.tmp_3 = game_Hitbox_left__P20674_mk(s); + s.tmp_3.arg0 = s.hbox___34218; s.callLocIdx = 628; s.pc = 87; return s.tmp_3; case 87: r0 = s.retval; @@ -37402,30 +37402,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___34077 + 8); + r0 = (s.tileScale___34221 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___34107 = (r0); + s.x0___34251 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___34122 = (r0); - s.tmp_1 = game_Hitbox_top__P20531_mk(s); - s.tmp_1.arg0 = s.hbox___34074; + s.collidedTiles___34266 = (r0); + s.tmp_1 = game_Hitbox_top__P20675_mk(s); + s.tmp_1.arg0 = s.hbox___34218; s.callLocIdx = 632; s.pc = 88; return s.tmp_1; case 88: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___34091); - s.y___34124 = (r0); + r0 = (s.tmp_0 - s.yDiff___34235); + s.y___34268 = (r0); case 9: - s.tmp_1 = r0 = s.y___34124; - s.tmp_3 = r0 = s.tileSize___34080; - s.tmp_6 = game_Hitbox_bottom__P20533_mk(s); - s.tmp_6.arg0 = s.hbox___34074; + s.tmp_1 = r0 = s.y___34268; + s.tmp_3 = r0 = s.tileSize___34224; + s.tmp_6 = game_Hitbox_bottom__P20677_mk(s); + s.tmp_6.arg0 = s.hbox___34218; s.callLocIdx = 634; s.pc = 89; return s.tmp_6; case 89: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___34091); + r0 = (s.tmp_5 - s.yDiff___34235); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -37435,15 +37435,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P18725_mk(s); - s.tmp_10.arg0 = s.y___34124; - s.tmp_12 = game_Hitbox_bottom__P20533_mk(s); - s.tmp_12.arg0 = s.hbox___34074; + s.tmp_10 = Fx_min__P18869_mk(s); + s.tmp_10.arg0 = s.y___34268; + s.tmp_12 = game_Hitbox_bottom__P20677_mk(s); + s.tmp_12.arg0 = s.hbox___34218; s.callLocIdx = 637; s.pc = 91; return s.tmp_12; case 91: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___34091); + r0 = (s.tmp_11 - s.yDiff___34235); s.tmp_10.arg1 = r0; s.callLocIdx = 639; s.pc = 90; return s.tmp_10; case 90: @@ -37451,33 +37451,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___34077 + 8); + r0 = (s.tileScale___34221 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___34138 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P20900_mk(s); + s.y0___34282 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P21044_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___34107; - s.tmp_1.arg2 = s.y0___34138; + s.tmp_1.arg1 = s.x0___34251; + s.tmp_1.arg2 = s.y0___34282; s.callLocIdx = 642; 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__P20901_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P21045_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___34107; - s.tmp_2.arg2 = s.y0___34138; + s.tmp_2.arg1 = s.x0___34251; + s.tmp_2.arg2 = s.y0___34282; s.callLocIdx = 643; s.pc = 93; return s.tmp_2; case 93: r0 = s.retval; - s.obstacle___34154 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P34162); + s.obstacle___34298 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P34306); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___34154); - s.tmp_4 = helpers_arraySome__P18669_mk(s); - s.tmp_4.arg0 = s.collidedTiles___34122; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___34298); + s.tmp_4 = helpers_arraySome__P18813_mk(s); + s.tmp_4.arg0 = s.collidedTiles___34266; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 644; s.pc = 94; return s.tmp_4; case 94: @@ -37489,33 +37489,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___34122, s.obstacle___34154); + r0 = pxsim_Array__push(s.collidedTiles___34266, s.obstacle___34298); case 10: case 11: { step = 13; continue; } case 12: - s.tmp_0 = r0 = s.overlappedTiles___34098; - s.tmp_2 = tiles_TileMap_getTile__P20893_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___34242; + s.tmp_2 = tiles_TileMap_getTile__P21037_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___34107; - s.tmp_2.arg2 = s.y0___34138; + s.tmp_2.arg1 = s.x0___34251; + s.tmp_2.arg2 = s.y0___34282; s.callLocIdx = 645; 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___34080 << 8); + r0 = (s.tileSize___34224 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___34124); - s.y___34124 = (r0); + r0 = (s.tmp_0 + s.y___34268); + s.y___34268 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___34122); + r0 = pxsim_Array__length(s.collidedTiles___34266); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___34103); + r0 = pxsim_numops_toBoolDecr(s.right___34247); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -37524,23 +37524,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___34188 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___34103); + s.collisionDirection___34332 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___34247); if (!r0) { step = 17; continue; } - r0 = (s.x0___34107 << s.tileScale___34077); + r0 = (s.x0___34251 << s.tileScale___34221); 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___34074.fields["width"]; + r0 = s.hbox___34218.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___34107 + 1); + r0 = (s.x0___34251 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___34077); + r0 = (s.tmp_5 << s.tileScale___34221); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -37548,44 +37548,44 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___34051; - r0 = s.hbox___34074.fields["ox"]; + s.tmp_8 = r0 = s.s___34195; + r0 = s.hbox___34218.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___34214 = (undefined); - s.unnamed238___U15 = (s.collidedTiles___34122); - s.unnamed239___U16 = (0); + s.tile___34358 = (undefined); + s.unnamed258___U15 = (s.collidedTiles___34266); + s.unnamed259___U16 = (0); case 19: - s.tmp_0 = r0 = s.unnamed239___U16; - r0 = pxsim_Array__length(s.unnamed238___U15); + s.tmp_0 = r0 = s.unnamed259___U16; + r0 = pxsim_Array__length(s.unnamed258___U15); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed238___U15, s.unnamed239___U16); - s.tile___34214 = (r0); - s.tmp_2 = Sprite_registerObstacle__P20649_mk(s); - s.tmp_2.arg0 = s.s___34051; - s.tmp_2.arg1 = s.collisionDirection___34188; - s.tmp_2.arg2 = s.tile___34214; + r0 = pxsim_Array__getAt(s.unnamed258___U15, s.unnamed259___U16); + s.tile___34358 = (r0); + s.tmp_2 = Sprite_registerObstacle__P20793_mk(s); + s.tmp_2.arg0 = s.s___34195; + s.tmp_2.arg1 = s.collisionDirection___34332; + s.tmp_2.arg2 = s.tile___34358; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 651; s.pc = 96; return s.tmp_2; case 96: r0 = s.retval; - r0 = (s.unnamed239___U16 + 1); - s.unnamed239___U16 = (r0); + r0 = (s.unnamed259___U16 + 1); + s.unnamed259___U16 = (r0); { step = 19; continue; } case 20: - s.unnamed238___U15 = (undefined); - r0 = s.s___34051.fields["flags"]; + s.unnamed258___U15 = (undefined); + r0 = s.s___34195.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__P20651_mk(s); - s.tmp_2.arg0 = s.s___34051; + s.tmp_2 = Sprite_destroy__P20795_mk(s); + s.tmp_2.arg0 = s.s___34195; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 652; s.pc = 97; return s.tmp_2; @@ -37593,7 +37593,7 @@ switch (step) { r0 = s.retval; { step = 36; continue; } case 21: - r0 = s.s___34051.fields["_vx"]; + r0 = s.s___34195.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -37601,13 +37601,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = s.s___34051.fields["flags"]; + r0 = s.s___34195.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___34103); + r0 = pxsim_numops_toBoolDecr(s.right___34247); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -37616,8 +37616,8 @@ switch (step) { r0 = s.tmp_5; { step = 23; continue; } case 22: - s.tmp_8 = Sprite_vx__P20593_mk(s); - s.tmp_8.arg0 = s.s___34051; + s.tmp_8 = Sprite_vx__P20737_mk(s); + s.tmp_8.arg0 = s.s___34195; s.callLocIdx = 653; s.pc = 98; return s.tmp_8; case 98: r0 = s.retval; @@ -37631,14 +37631,14 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 24: - s.tmp_10 = r0 = s.right___34103; + s.tmp_10 = r0 = s.right___34247; 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__P20593_mk(s); - s.tmp_12.arg0 = s.s___34051; + s.tmp_12 = Sprite_vx__P20737_mk(s); + s.tmp_12.arg0 = s.s___34195; s.callLocIdx = 654; s.pc = 99; return s.tmp_12; case 99: r0 = s.retval; @@ -37653,8 +37653,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___34051; - r0 = s.s___34051.fields["_vx"]; + s.tmp_15 = r0 = s.s___34195; + r0 = s.s___34195.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -37676,12 +37676,12 @@ switch (step) { { step = 31; continue; } case 30: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___34051).fields["_vx"] = (0); + r0 = (s.s___34195).fields["_vx"] = (0); case 31: { step = 35; continue; } case 32: - s.tmp_2 = Math_sign__P18688_mk(s); - r0 = s.s___34051.fields["_vx"]; + s.tmp_2 = Math_sign__P18832_mk(s); + r0 = s.s___34195.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -37691,7 +37691,7 @@ switch (step) { case 100: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P18688_mk(s); + s.tmp_6 = Math_sign__P18832_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -37715,16 +37715,16 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___34091 !== 0); + r0 = (s.yDiff___34235 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 73; continue; } - r0 = (s.yDiff___34091 > 0); - s.down___34292 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___34292); + r0 = (s.yDiff___34235 > 0); + s.down___34436 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___34436); if (!r0) { step = 41; continue; } - s.tmp_1 = game_Hitbox_bottom__P20533_mk(s); - s.tmp_1.arg0 = s.hbox___34074; + s.tmp_1 = game_Hitbox_bottom__P20677_mk(s); + s.tmp_1.arg0 = s.hbox___34218; s.callLocIdx = 662; s.pc = 102; return s.tmp_1; case 102: r0 = s.retval; @@ -37732,8 +37732,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 42; continue; } case 41: - s.tmp_3 = game_Hitbox_top__P20531_mk(s); - s.tmp_3.arg0 = s.hbox___34074; + s.tmp_3 = game_Hitbox_top__P20675_mk(s); + s.tmp_3.arg0 = s.hbox___34218; s.callLocIdx = 664; s.pc = 103; return s.tmp_3; case 103: r0 = s.retval; @@ -37744,25 +37744,25 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___34077 + 8); + r0 = (s.tileScale___34221 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___34296 = (r0); + s.y0___34440 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___34311 = (r0); + s.collidedTiles___34455 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___34313 = (r0); - s.tmp_0 = game_Hitbox_left__P20530_mk(s); - s.tmp_0.arg0 = s.hbox___34074; + s.overlappedTiles___34457 = (r0); + s.tmp_0 = game_Hitbox_left__P20674_mk(s); + s.tmp_0.arg0 = s.hbox___34218; s.callLocIdx = 668; s.pc = 104; return s.tmp_0; case 104: r0 = s.retval; - s.x___34315 = (r0); + s.x___34459 = (r0); case 43: - s.tmp_1 = r0 = s.x___34315; - s.tmp_3 = r0 = s.tileSize___34080; - s.tmp_5 = game_Hitbox_right__P20532_mk(s); - s.tmp_5.arg0 = s.hbox___34074; + s.tmp_1 = r0 = s.x___34459; + s.tmp_3 = r0 = s.tileSize___34224; + s.tmp_5 = game_Hitbox_right__P20676_mk(s); + s.tmp_5.arg0 = s.hbox___34218; s.callLocIdx = 669; s.pc = 105; return s.tmp_5; case 105: r0 = s.retval; @@ -37775,10 +37775,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_9 = Fx_min__P18725_mk(s); - s.tmp_9.arg0 = s.x___34315; - s.tmp_10 = game_Hitbox_right__P20532_mk(s); - s.tmp_10.arg0 = s.hbox___34074; + s.tmp_9 = Fx_min__P18869_mk(s); + s.tmp_9.arg0 = s.x___34459; + s.tmp_10 = game_Hitbox_right__P20676_mk(s); + s.tmp_10.arg0 = s.hbox___34218; s.callLocIdx = 671; s.pc = 107; return s.tmp_10; case 107: r0 = s.retval; @@ -37789,33 +37789,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___34077 + 8); + r0 = (s.tileScale___34221 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___34325 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P20900_mk(s); + s.x0___34469 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P21044_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___34325; - s.tmp_1.arg2 = s.y0___34296; + s.tmp_1.arg1 = s.x0___34469; + s.tmp_1.arg2 = s.y0___34440; s.callLocIdx = 675; 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__P20901_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P21045_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___34325; - s.tmp_2.arg2 = s.y0___34296; + s.tmp_2.arg1 = s.x0___34469; + s.tmp_2.arg2 = s.y0___34440; s.callLocIdx = 676; s.pc = 109; return s.tmp_2; case 109: r0 = s.retval; - s.obstacle___34339 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P34347); + s.obstacle___34483 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P34491); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___34339); - s.tmp_4 = helpers_arraySome__P18669_mk(s); - s.tmp_4.arg0 = s.collidedTiles___34311; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___34483); + s.tmp_4 = helpers_arraySome__P18813_mk(s); + s.tmp_4.arg0 = s.collidedTiles___34455; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 677; s.pc = 110; return s.tmp_4; case 110: @@ -37827,33 +37827,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___34311, s.obstacle___34339); + r0 = pxsim_Array__push(s.collidedTiles___34455, s.obstacle___34483); case 44: case 45: { step = 47; continue; } case 46: - s.tmp_0 = r0 = s.overlappedTiles___34313; - s.tmp_2 = tiles_TileMap_getTile__P20893_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___34457; + s.tmp_2 = tiles_TileMap_getTile__P21037_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___34325; - s.tmp_2.arg2 = s.y0___34296; + s.tmp_2.arg1 = s.x0___34469; + s.tmp_2.arg2 = s.y0___34440; s.callLocIdx = 678; 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___34080 << 8); + r0 = (s.tileSize___34224 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___34315); - s.x___34315 = (r0); + r0 = (s.tmp_0 + s.x___34459); + s.x___34459 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___34311); + r0 = pxsim_Array__length(s.collidedTiles___34455); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___34292); + r0 = pxsim_numops_toBoolDecr(s.down___34436); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -37862,23 +37862,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___34373 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___34292); + s.collisionDirection___34517 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___34436); if (!r0) { step = 51; continue; } - r0 = (s.y0___34296 << s.tileScale___34077); + r0 = (s.y0___34440 << s.tileScale___34221); 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___34074.fields["height"]; + r0 = s.hbox___34218.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___34296 + 1); + r0 = (s.y0___34440 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___34077); + r0 = (s.tmp_5 << s.tileScale___34221); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -37886,44 +37886,44 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___34051; - r0 = s.hbox___34074.fields["oy"]; + s.tmp_8 = r0 = s.s___34195; + r0 = s.hbox___34218.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___34399 = (undefined); - s.unnamed240___U26 = (s.collidedTiles___34311); - s.unnamed241___U27 = (0); + s.tile___34543 = (undefined); + s.unnamed260___U26 = (s.collidedTiles___34455); + s.unnamed261___U27 = (0); case 53: - s.tmp_0 = r0 = s.unnamed241___U27; - r0 = pxsim_Array__length(s.unnamed240___U26); + s.tmp_0 = r0 = s.unnamed261___U27; + r0 = pxsim_Array__length(s.unnamed260___U26); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 54; continue; } - r0 = pxsim_Array__getAt(s.unnamed240___U26, s.unnamed241___U27); - s.tile___34399 = (r0); - s.tmp_2 = Sprite_registerObstacle__P20649_mk(s); - s.tmp_2.arg0 = s.s___34051; - s.tmp_2.arg1 = s.collisionDirection___34373; - s.tmp_2.arg2 = s.tile___34399; + r0 = pxsim_Array__getAt(s.unnamed260___U26, s.unnamed261___U27); + s.tile___34543 = (r0); + s.tmp_2 = Sprite_registerObstacle__P20793_mk(s); + s.tmp_2.arg0 = s.s___34195; + s.tmp_2.arg1 = s.collisionDirection___34517; + s.tmp_2.arg2 = s.tile___34543; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 684; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; - r0 = (s.unnamed241___U27 + 1); - s.unnamed241___U27 = (r0); + r0 = (s.unnamed261___U27 + 1); + s.unnamed261___U27 = (r0); { step = 53; continue; } case 54: - s.unnamed240___U26 = (undefined); - r0 = s.s___34051.fields["flags"]; + s.unnamed260___U26 = (undefined); + r0 = s.s___34195.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__P20651_mk(s); - s.tmp_2.arg0 = s.s___34051; + s.tmp_2 = Sprite_destroy__P20795_mk(s); + s.tmp_2.arg0 = s.s___34195; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 685; s.pc = 113; return s.tmp_2; @@ -37931,7 +37931,7 @@ switch (step) { r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___34051.fields["_vy"]; + r0 = s.s___34195.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -37939,13 +37939,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___34051.fields["flags"]; + r0 = s.s___34195.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___34292); + r0 = pxsim_numops_toBoolDecr(s.down___34436); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -37954,8 +37954,8 @@ switch (step) { r0 = s.tmp_5; { step = 57; continue; } case 56: - s.tmp_8 = Sprite_vy__P20595_mk(s); - s.tmp_8.arg0 = s.s___34051; + s.tmp_8 = Sprite_vy__P20739_mk(s); + s.tmp_8.arg0 = s.s___34195; s.callLocIdx = 686; s.pc = 114; return s.tmp_8; case 114: r0 = s.retval; @@ -37969,14 +37969,14 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___34292; + s.tmp_10 = r0 = s.down___34436; 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__P20595_mk(s); - s.tmp_12.arg0 = s.s___34051; + s.tmp_12 = Sprite_vy__P20739_mk(s); + s.tmp_12.arg0 = s.s___34195; s.callLocIdx = 687; s.pc = 115; return s.tmp_12; case 115: r0 = s.retval; @@ -37991,8 +37991,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___34051; - r0 = s.s___34051.fields["_vy"]; + s.tmp_15 = r0 = s.s___34195; + r0 = s.s___34195.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -38014,12 +38014,12 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___34051).fields["_vy"] = (0); + r0 = (s.s___34195).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: - s.tmp_2 = Math_sign__P18688_mk(s); - r0 = s.s___34051.fields["_vy"]; + s.tmp_2 = Math_sign__P18832_mk(s); + r0 = s.s___34195.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -38029,7 +38029,7 @@ switch (step) { case 116: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P18688_mk(s); + s.tmp_6 = Math_sign__P18832_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -38053,17 +38053,17 @@ switch (step) { case 72: case 73: case 74: - s.tmp_0 = game_Hitbox_left__P20530_mk(s); - s.tmp_0.arg0 = s.hbox___34074; + s.tmp_0 = game_Hitbox_left__P20674_mk(s); + s.tmp_0.arg0 = s.hbox___34218; s.callLocIdx = 695; s.pc = 118; return s.tmp_0; case 118: r0 = s.retval; - s.x___34474 = (r0); + s.x___34618 = (r0); case 75: - s.tmp_1 = r0 = s.x___34474; - s.tmp_3 = r0 = s.tileSize___34080; - s.tmp_5 = game_Hitbox_right__P20532_mk(s); - s.tmp_5.arg0 = s.hbox___34074; + s.tmp_1 = r0 = s.x___34618; + s.tmp_3 = r0 = s.tileSize___34224; + s.tmp_5 = game_Hitbox_right__P20676_mk(s); + s.tmp_5.arg0 = s.hbox___34218; s.callLocIdx = 696; s.pc = 119; return s.tmp_5; case 119: r0 = s.retval; @@ -38076,10 +38076,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 80; continue; } - s.tmp_9 = Fx_min__P18725_mk(s); - s.tmp_9.arg0 = s.x___34474; - s.tmp_10 = game_Hitbox_right__P20532_mk(s); - s.tmp_10.arg0 = s.hbox___34074; + s.tmp_9 = Fx_min__P18869_mk(s); + s.tmp_9.arg0 = s.x___34618; + s.tmp_10 = game_Hitbox_right__P20676_mk(s); + s.tmp_10.arg0 = s.hbox___34218; s.callLocIdx = 698; s.pc = 121; return s.tmp_10; case 121: r0 = s.retval; @@ -38090,21 +38090,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___34077 + 8); + r0 = (s.tileScale___34221 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___34484 = (r0); - s.tmp_0 = game_Hitbox_top__P20531_mk(s); - s.tmp_0.arg0 = s.hbox___34074; + s.x0___34628 = (r0); + s.tmp_0 = game_Hitbox_top__P20675_mk(s); + s.tmp_0.arg0 = s.hbox___34218; s.callLocIdx = 702; s.pc = 122; return s.tmp_0; case 122: r0 = s.retval; - s.y___34494 = (r0); + s.y___34638 = (r0); case 76: - s.tmp_1 = r0 = s.y___34494; - s.tmp_3 = r0 = s.tileSize___34080; - s.tmp_5 = game_Hitbox_bottom__P20533_mk(s); - s.tmp_5.arg0 = s.hbox___34074; + s.tmp_1 = r0 = s.y___34638; + s.tmp_3 = r0 = s.tileSize___34224; + s.tmp_5 = game_Hitbox_bottom__P20677_mk(s); + s.tmp_5.arg0 = s.hbox___34218; s.callLocIdx = 703; s.pc = 123; return s.tmp_5; case 123: r0 = s.retval; @@ -38117,10 +38117,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - s.tmp_9 = Fx_min__P18725_mk(s); - s.tmp_9.arg0 = s.y___34494; - s.tmp_10 = game_Hitbox_bottom__P20533_mk(s); - s.tmp_10.arg0 = s.hbox___34074; + s.tmp_9 = Fx_min__P18869_mk(s); + s.tmp_9.arg0 = s.y___34638; + s.tmp_10 = game_Hitbox_bottom__P20677_mk(s); + s.tmp_10.arg0 = s.hbox___34218; s.callLocIdx = 705; s.pc = 125; return s.tmp_10; case 125: r0 = s.retval; @@ -38131,14 +38131,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___34077 + 8); + r0 = (s.tileScale___34221 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___34504 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P20900_mk(s); + s.y0___34648 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P21044_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___34484; - s.tmp_3.arg2 = s.y0___34504; + s.tmp_3.arg1 = s.x0___34628; + s.tmp_3.arg2 = s.y0___34648; s.callLocIdx = 709; s.pc = 126; return s.tmp_3; case 126: r0 = s.retval; @@ -38149,11 +38149,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___34098; - s.tmp_6 = tiles_TileMap_getTile__P20893_mk(s); + s.tmp_4 = r0 = s.overlappedTiles___34242; + s.tmp_6 = tiles_TileMap_getTile__P21037_mk(s); s.tmp_6.arg0 = s.arg2; - s.tmp_6.arg1 = s.x0___34484; - s.tmp_6.arg2 = s.y0___34504; + s.tmp_6.arg1 = s.x0___34628; + s.tmp_6.arg2 = s.y0___34648; s.callLocIdx = 710; s.pc = 127; return s.tmp_6; case 127: r0 = s.retval; @@ -38161,26 +38161,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_4, s.tmp_5); case 77: case 78: - r0 = (s.tileSize___34080 << 8); + r0 = (s.tileSize___34224 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___34494); - s.y___34494 = (r0); + r0 = (s.tmp_0 + s.y___34638); + s.y___34638 = (r0); { step = 76; continue; } case 79: - r0 = (s.tileSize___34080 << 8); + r0 = (s.tileSize___34224 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___34474); - s.x___34474 = (r0); + r0 = (s.tmp_0 + s.x___34618); + s.x___34618 = (r0); { step = 75; continue; } case 80: - r0 = pxsim_Array__length(s.overlappedTiles___34098); + r0 = pxsim_Array__length(s.overlappedTiles___34242); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P22316_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P22460_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___34051; - s.tmp_1.arg2 = s.overlappedTiles___34098; + s.tmp_1.arg1 = s.s___34195; + s.tmp_1.arg2 = s.overlappedTiles___34242; s.callLocIdx = 713; s.pc = 128; return s.tmp_1; case 128: r0 = s.retval; @@ -38191,12 +38191,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P22315.info = {"start":11859,"length":8619,"line":370,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P22459.info = {"start":11859,"length":8619,"line":370,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P22315_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P22459_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P22315, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P22459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38216,38 +38216,38 @@ function ArcadePhysicsEngine_tilemapCollisions__P22315_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___34051: undefined, - hbox___34074: undefined, - tileScale___34077: undefined, - tileSize___34080: undefined, - xDiff___34084: undefined, - yDiff___34091: undefined, - overlappedTiles___34098: undefined, - right___34103: undefined, - x0___34107: undefined, - collidedTiles___34122: undefined, - y___34124: undefined, - y0___34138: undefined, - obstacle___34154: undefined, - collisionDirection___34188: undefined, - tile___34214: undefined, - unnamed238___U15: undefined, - unnamed239___U16: undefined, - down___34292: undefined, - y0___34296: undefined, - collidedTiles___34311: undefined, - overlappedTiles___34313: undefined, - x___34315: undefined, - x0___34325: undefined, - obstacle___34339: undefined, - collisionDirection___34373: undefined, - tile___34399: undefined, - unnamed240___U26: undefined, - unnamed241___U27: undefined, - x___34474: undefined, - x0___34484: undefined, - y___34494: undefined, - y0___34504: undefined, + s___34195: undefined, + hbox___34218: undefined, + tileScale___34221: undefined, + tileSize___34224: undefined, + xDiff___34228: undefined, + yDiff___34235: undefined, + overlappedTiles___34242: undefined, + right___34247: undefined, + x0___34251: undefined, + collidedTiles___34266: undefined, + y___34268: undefined, + y0___34282: undefined, + obstacle___34298: undefined, + collisionDirection___34332: undefined, + tile___34358: undefined, + unnamed258___U15: undefined, + unnamed259___U16: undefined, + down___34436: undefined, + y0___34440: undefined, + collidedTiles___34455: undefined, + overlappedTiles___34457: undefined, + x___34459: undefined, + x0___34469: undefined, + obstacle___34483: undefined, + collisionDirection___34517: undefined, + tile___34543: undefined, + unnamed260___U26: undefined, + unnamed261___U27: undefined, + x___34618: undefined, + x0___34628: undefined, + y___34638: undefined, + y0___34648: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38257,7 +38257,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P22315_mk(s) { -function inline__P34162(s) { +function inline__P34306(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38279,12 +38279,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34162.info = {"start":13980,"length":39,"line":434,"column":44,"endLine":434,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P34306.info = {"start":13980,"length":39,"line":434,"column":44,"endLine":434,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P34162_mk(s) { +function inline__P34306_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34162, depth: s.depth + 1, + parent: s, fn: inline__P34306, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38295,7 +38295,7 @@ function inline__P34162_mk(s) { -function inline__P34347(s) { +function inline__P34491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38317,12 +38317,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34347.info = {"start":17215,"length":39,"line":516,"column":44,"endLine":516,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P34491.info = {"start":17215,"length":39,"line":516,"column":44,"endLine":516,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P34347_mk(s) { +function inline__P34491_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34347, depth: s.depth + 1, + parent: s, fn: inline__P34491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38333,7 +38333,7 @@ function inline__P34347_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P22316(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P22460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38343,11 +38343,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___34543 = undefined; - s.tile___34546 = undefined; - s.unnamed242___U2 = undefined; - s.unnamed243___U3 = undefined; - s.tileOverlapHandlers___34567 = undefined; + s.alreadyHandled___34687 = undefined; + s.tile___34690 = undefined; + s.unnamed262___U2 = undefined; + s.unnamed263___U3 = undefined; + s.tileOverlapHandlers___34711 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38355,25 +38355,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___34543 = (r0); - s.tile___34546 = (undefined); - s.unnamed242___U2 = (s.arg2); - s.unnamed243___U3 = (0); + s.alreadyHandled___34687 = (r0); + s.tile___34690 = (undefined); + s.unnamed262___U2 = (s.arg2); + s.unnamed263___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed243___U3; - r0 = pxsim_Array__length(s.unnamed242___U2); + s.tmp_0 = r0 = s.unnamed263___U3; + r0 = pxsim_Array__length(s.unnamed262___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed242___U2, s.unnamed243___U3); - s.tile___34546 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P34550); + r0 = pxsim_Array__getAt(s.unnamed262___U2, s.unnamed263___U3); + s.tile___34690 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P34694); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___34546); - s.tmp_4 = helpers_arraySome__P18669_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___34543; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___34690); + s.tmp_4 = helpers_arraySome__P18813_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___34687; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 718; s.pc = 8; return s.tmp_4; case 8: @@ -38384,26 +38384,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___34543, s.tile___34546); - s.tmp_0 = game_currentScene__P21096_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___34687, s.tile___34690); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 719; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___34567 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___34567); + s.tileOverlapHandlers___34711 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___34711); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P34575); + r0 = pxsim_pxtcore_mkAction(2, inline__P34719); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___34546); - r0 = pxsim_pxtcore_mkAction(2, inline__P34591); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___34690); + r0 = pxsim_pxtcore_mkAction(2, inline__P34735); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___34546); - s.tmp_2 = helpers_arrayForEach__P18671_mk(s); - s.tmp_3 = helpers_arrayFilter__P18672_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___34567; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___34690); + s.tmp_2 = helpers_arrayForEach__P18815_mk(s); + s.tmp_3 = helpers_arrayFilter__P18816_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___34711; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 722; s.pc = 11; return s.tmp_3; case 11: @@ -38416,32 +38416,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed243___U3 + 1); - s.unnamed243___U3 = (r0); + r0 = (s.unnamed263___U3 + 1); + s.unnamed263___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed242___U2 = (undefined); + s.unnamed262___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P22316.info = {"start":20755,"length":699,"line":614,"column":4,"endLine":630,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P22460.info = {"start":20755,"length":699,"line":614,"column":4,"endLine":630,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P22316_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P22460_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P22316, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P22460, 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___34543: undefined, - tile___34546: undefined, - unnamed242___U2: undefined, - unnamed243___U3: undefined, - tileOverlapHandlers___34567: undefined, + alreadyHandled___34687: undefined, + tile___34690: undefined, + unnamed262___U2: undefined, + unnamed263___U3: undefined, + tileOverlapHandlers___34711: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38451,7 +38451,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P22316_mk(s) { -function inline__P34550(s) { +function inline__P34694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38488,12 +38488,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34550.info = {"start":20968,"length":45,"line":618,"column":36,"endLine":618,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +inline__P34694.info = {"start":20968,"length":45,"line":618,"column":36,"endLine":618,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function inline__P34550_mk(s) { +function inline__P34694_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34550, depth: s.depth + 1, + parent: s, fn: inline__P34694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38508,7 +38508,7 @@ function inline__P34550_mk(s) { -function inline__P34575(s) { +function inline__P34719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38535,7 +38535,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P20909_mk(s); + s.tmp_5 = tiles_getTileImage__P21053_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 721; s.pc = 3; return s.tmp_5; case 3: @@ -38549,12 +38549,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34575.info = {"start":21282,"length":81,"line":626,"column":28,"endLine":626,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P34719.info = {"start":21282,"length":81,"line":626,"column":28,"endLine":626,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P34575_mk(s) { +function inline__P34719_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34575, depth: s.depth + 1, + parent: s, fn: inline__P34719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38570,7 +38570,7 @@ function inline__P34575_mk(s) { -function inline__P34591(s) { +function inline__P34735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38603,12 +38603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34591.info = {"start":21394,"length":28,"line":627,"column":29,"endLine":627,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P34735.info = {"start":21394,"length":28,"line":627,"column":29,"endLine":627,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P34591_mk(s) { +function inline__P34735_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34591, depth: s.depth + 1, + parent: s, fn: inline__P34735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38618,7 +38618,7 @@ function inline__P34591_mk(s) { -function tiles_getTileImage__P20909(s) { +function tiles_getTileImage__P21053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38628,16 +38628,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___34599 = undefined; + s.scene___34743 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 854; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___34599 = (r0); + s.scene___34743 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -38647,7 +38647,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___34599.fields["tileMap"]; + r0 = s.scene___34743.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -38657,14 +38657,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex34609); + r0 = pxsim.image.ofBuffer(_hex34753); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P20903_mk(s); - r0 = s.scene___34599.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P21047_mk(s); + r0 = s.scene___34743.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P20859_mk(s); + s.tmp_6 = tiles_Location_tileSet__P21003_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 855; s.pc = 8; return s.tmp_6; case 8: @@ -38677,12 +38677,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P20909.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__P21053.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__P20909_mk(s) { +function tiles_getTileImage__P21053_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P20909, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P21053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38691,16 +38691,16 @@ function tiles_getTileImage__P20909_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___34599: undefined, + scene___34743: undefined, arg0: undefined, } } -const _hex34609 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex34753 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_Location_tileSet__P20859(s) { +function tiles_Location_tileSet__P21003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38715,8 +38715,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20853_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P20894_mk(s); + if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P21038_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; @@ -38729,13 +38729,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P20859.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__P20859.isGetter = true; +tiles_Location_tileSet__P21003.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__P21003.isGetter = true; -function tiles_Location_tileSet__P20859_mk(s) { +function tiles_Location_tileSet__P21003_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P20859, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P21003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38745,7 +38745,7 @@ function tiles_Location_tileSet__P20859_mk(s) { -function tiles_TileMap_getObstacle__P20901(s) { +function tiles_TileMap_getObstacle__P21045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38755,8 +38755,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___34702 = undefined; - s.tile___34714 = undefined; + s.index___34846 = undefined; + s.tile___34858 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38764,8 +38764,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P20880_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P21024_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -38779,7 +38779,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P20874_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P21018_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -38790,20 +38790,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___34702 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P20877_mk(s); + s.index___34846 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P21021_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___34702; + s.tmp_0.arg1 = s.index___34846; s.callLocIdx = 830; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___34714 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C20710_VT); + s.tile___34858 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C20854_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P20716_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P20860_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___34714; + s.tmp_1.arg1 = s.tile___34858; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -38816,7 +38816,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___34702; + s.tmp_1.arg5 = s.index___34846; s.callLocIdx = 834; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -38824,12 +38824,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P20901.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__P21045.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__P20901_mk(s) { +function tiles_TileMap_getObstacle__P21045_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P20901, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P21045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38837,8 +38837,8 @@ function tiles_TileMap_getObstacle__P20901_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___34702: undefined, - tile___34714: undefined, + index___34846: undefined, + tile___34858: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38848,7 +38848,7 @@ function tiles_TileMap_getObstacle__P20901_mk(s) { -function tiles_TileMap_layer__P20889(s) { +function tiles_TileMap_layer__P21033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38863,18 +38863,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P20889.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__P20889.isGetter = true; +tiles_TileMap_layer__P21033.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__P21033.isGetter = true; -function tiles_TileMap_layer__P20889_mk(s) { +function tiles_TileMap_layer__P21033_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P20889, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P21033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38883,7 +38883,7 @@ function tiles_TileMap_layer__P20889_mk(s) { -function sprites_StaticObstacle_constructor__P20716(s) { +function sprites_StaticObstacle_constructor__P20860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38903,7 +38903,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20710_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C20854_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -38913,12 +38913,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P20716.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__P20860.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__P20716_mk(s) { +function sprites_StaticObstacle_constructor__P20860_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P20716, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P20860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -38932,7 +38932,7 @@ function sprites_StaticObstacle_constructor__P20716_mk(s) { -function Sprite_registerObstacle__P20649(s) { +function Sprite_registerObstacle__P20793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38942,10 +38942,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___34632 = undefined; - s.wallCollisionHandlers___34639 = undefined; - s.wallHandlersToRun___34664 = undefined; - s.asTileLocation___34677 = undefined; + s.collisionHandlers___34776 = undefined; + s.wallCollisionHandlers___34783 = undefined; + s.wallHandlersToRun___34808 = undefined; + s.asTileLocation___34821 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38954,11 +38954,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_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__P21096_mk(s); + s.tmp_1 = game_currentScene__P21240_mk(s); s.callLocIdx = 442; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -38978,24 +38978,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___34632 = (r0); - s.tmp_0 = game_currentScene__P21096_mk(s); + s.collisionHandlers___34776 = (r0); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 444; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___34639 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___34632); + s.wallCollisionHandlers___34783 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___34776); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P34647); + r0 = pxsim_pxtcore_mkAction(1, inline__P34791); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P34653); + r0 = pxsim_pxtcore_mkAction(1, inline__P34797); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P18671_mk(s); - s.tmp_3 = helpers_arrayFilter__P18672_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___34632; + s.tmp_2 = helpers_arrayForEach__P18815_mk(s); + s.tmp_3 = helpers_arrayFilter__P18816_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___34776; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 446; s.pc = 13; return s.tmp_3; case 13: @@ -39007,7 +39007,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___34639); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___34783); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -39015,7 +39015,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P21096_mk(s); + s.tmp_1 = game_currentScene__P21240_mk(s); s.callLocIdx = 449; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -39024,21 +39024,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, inline__P34666); + r0 = pxsim_pxtcore_mkAction(1, inline__P34810); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P18672_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___34639; + s.tmp_1 = helpers_arrayFilter__P18816_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___34783; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 451; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___34664 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___34664); + s.wallHandlersToRun___34808 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___34808); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P20893_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P21037_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -39077,13 +39077,13 @@ switch (step) { s.callLocIdx = 456; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___34677 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P34693); + s.asTileLocation___34821 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P34837); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___34677); - s.tmp_1 = helpers_arrayForEach__P18671_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___34664; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___34821); + s.tmp_1 = helpers_arrayForEach__P18815_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___34808; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 458; s.pc = 19; return s.tmp_1; case 19: @@ -39096,12 +39096,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P20649.info = {"start":26932,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P20793.info = {"start":26932,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P20649_mk(s) { +function Sprite_registerObstacle__P20793_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P20649, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P20793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39111,10 +39111,10 @@ function Sprite_registerObstacle__P20649_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___34632: undefined, - wallCollisionHandlers___34639: undefined, - wallHandlersToRun___34664: undefined, - asTileLocation___34677: undefined, + collisionHandlers___34776: undefined, + wallCollisionHandlers___34783: undefined, + wallHandlersToRun___34808: undefined, + asTileLocation___34821: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39125,7 +39125,7 @@ function Sprite_registerObstacle__P20649_mk(s) { -function inline__P34647(s) { +function inline__P34791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39147,12 +39147,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34647.info = {"start":27330,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P34791.info = {"start":27330,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P34647_mk(s) { +function inline__P34791_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34647, depth: s.depth + 1, + parent: s, fn: inline__P34791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39163,7 +39163,7 @@ function inline__P34647_mk(s) { -function inline__P34653(s) { +function inline__P34797(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39195,12 +39195,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34653.info = {"start":27383,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P34797.info = {"start":27383,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P34653_mk(s) { +function inline__P34797_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34653, depth: s.depth + 1, + parent: s, fn: inline__P34797, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39210,7 +39210,7 @@ function inline__P34653_mk(s) { -function inline__P34666(s) { +function inline__P34810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39232,12 +39232,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34666.info = {"start":27589,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P34810.info = {"start":27589,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P34666_mk(s) { +function inline__P34810_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34666, depth: s.depth + 1, + parent: s, fn: inline__P34810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39248,7 +39248,7 @@ function inline__P34666_mk(s) { -function inline__P34693(s) { +function inline__P34837(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39281,12 +39281,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34693.info = {"start":27829,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P34837.info = {"start":27829,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P34693_mk(s) { +function inline__P34837_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34693, depth: s.depth + 1, + parent: s, fn: inline__P34837, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39296,7 +39296,7 @@ function inline__P34693_mk(s) { -function Fx_min__P18725(s) { +function Fx_min__P18869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39327,12 +39327,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P18725.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__P18869.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__P18725_mk(s) { +function Fx_min__P18869_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P18725, depth: s.depth + 1, + parent: s, fn: Fx_min__P18869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39343,7 +39343,7 @@ function Fx_min__P18725_mk(s) { -function helpers_arraySome__P18669(s) { +function helpers_arraySome__P18813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39353,26 +39353,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___31371 = undefined; - s.i___31374 = undefined; + s.len___31515 = undefined; + s.i___31518 = 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___31371 = (r0); - s.i___31374 = (0); + s.len___31515 = (r0); + s.i___31518 = (0); case 1: - r0 = (s.i___31374 < s.len___31371); + r0 = (s.i___31518 < s.len___31515); 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___31374); + r0 = pxsim_Array__getAt(s.arg0, s.i___31518); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___31374; + s.tmp_2.arg1 = s.i___31518; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: @@ -39384,8 +39384,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___31374 + 1); - s.i___31374 = (r0); + r0 = (s.i___31518 + 1); + s.i___31518 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -39393,18 +39393,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P18669.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__P18813.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__P18669_mk(s) { +function helpers_arraySome__P18813_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P18669, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P18813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___31371: undefined, - i___31374: undefined, + len___31515: undefined, + i___31518: undefined, arg0: undefined, arg1: undefined, } } @@ -39413,7 +39413,7 @@ function helpers_arraySome__P18669_mk(s) { -function MovingSprite_constructor__P20736(s) { +function MovingSprite_constructor__P20880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39435,7 +39435,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C20735_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C20879_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -39447,12 +39447,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P20736.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} +MovingSprite_constructor__P20880.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} -function MovingSprite_constructor__P20736_mk(s) { +function MovingSprite_constructor__P20880_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P20736, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P20880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39468,7 +39468,7 @@ function MovingSprite_constructor__P20736_mk(s) { -function ArcadePhysicsEngine_move__P20749(s) { +function ArcadePhysicsEngine_move__P20893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39478,33 +39478,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtf___34773 = undefined; - s.dt2___34780 = undefined; - s.scene___34784 = undefined; - s.tileMap___34787 = undefined; - s.movingSprites___34790 = undefined; - s.MAX_STEP_COUNT___34821 = undefined; - s.overlapHandlers___34833 = undefined; - s.selected___34840 = undefined; - s.buffers___34841 = undefined; - s.count___34845 = undefined; - s.currMovers___34855 = undefined; - s.remainingMovers___34862 = undefined; - s.ms___34867 = undefined; - s.unnamed232___U13 = undefined; - s.unnamed233___U14 = undefined; - s.s___34869 = undefined; - s.stepX___34962 = undefined; - s.stepY___34976 = undefined; + s.dtf___34917 = undefined; + s.dt2___34924 = undefined; + s.scene___34928 = undefined; + s.tileMap___34931 = undefined; + s.movingSprites___34934 = undefined; + s.MAX_STEP_COUNT___34965 = undefined; + s.overlapHandlers___34977 = undefined; + s.selected___34984 = undefined; + s.buffers___34985 = undefined; + s.count___34989 = undefined; + s.currMovers___34999 = undefined; + s.remainingMovers___35006 = undefined; + s.ms___35011 = undefined; + s.unnamed252___U13 = undefined; + s.unnamed253___U14 = undefined; + s.s___35013 = undefined; + s.stepX___35106 = undefined; + s.stepY___35120 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); - s.tmp_0 = Fx_min__P18725_mk(s); - s.tmp_0.arg0 = globals.MAX_TIME_STEP___20732; + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + s.tmp_0 = Fx_min__P18869_mk(s); + s.tmp_0.arg0 = globals.MAX_TIME_STEP___20876; r0 = (s.arg1 * 1000); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); @@ -39514,43 +39514,43 @@ switch (step) { s.callLocIdx = 543; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtf___34773 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___34773, 2); - s.dt2___34780 = (r0); - s.tmp_0 = game_currentScene__P21096_mk(s); + s.dtf___34917 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___34917, 2); + s.dt2___34924 = (r0); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 545; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___34784 = (r0); - r0 = s.scene___34784.fields["tileMap"]; - s.tileMap___34787 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P34792); + s.scene___34928 = (r0); + r0 = s.scene___34928.fields["tileMap"]; + s.tileMap___34931 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P34936); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtf___34773); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___34780); - s.tmp_1 = helpers_arrayMap__P18668_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtf___34917); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___34924); + s.tmp_1 = helpers_arrayMap__P18812_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 547; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___34790 = (r0); - s.tmp_0 = helpers_arrayForEach__P18671_mk(s); + s.movingSprites___34934 = (r0); + s.tmp_0 = helpers_arrayForEach__P18815_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P34804; + s.tmp_0.arg1 = inline__P34948; s.callLocIdx = 551; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P20664_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P20808_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 552; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P20663_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P20807_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -39566,7 +39566,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___34773); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtf___34917); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); s.tmp_1 = r0; @@ -39575,34 +39575,34 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.MAX_STEP_COUNT___34821 = (r0); - s.tmp_0 = helpers_arraySlice__P18676_mk(s); - r0 = s.scene___34784.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___34965 = (r0); + s.tmp_0 = helpers_arraySlice__P18820_mk(s); + r0 = s.scene___34928.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 558; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.overlapHandlers___34833 = (r0); - s.selected___34840 = (0); + s.overlapHandlers___34977 = (r0); + s.selected___34984 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___34790); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___34934); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___34841 = (s.tmp_0); - s.count___34845 = (0); + s.buffers___34985 = (s.tmp_0); + s.count___34989 = (0); case 1: - r0 = (s.count___34845 < s.MAX_STEP_COUNT___34821); + r0 = (s.count___34989 < s.MAX_STEP_COUNT___34965); 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___34841, s.selected___34840); + r0 = pxsim_Array__getAt(s.buffers___34985, s.selected___34984); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -39612,43 +39612,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___34841, s.selected___34840); - s.currMovers___34855 = (r0); - r0 = (s.selected___34840 ^ 1); - s.selected___34840 = (r0); - r0 = pxsim_Array__getAt(s.buffers___34841, s.selected___34840); - s.remainingMovers___34862 = (r0); - s.ms___34867 = (undefined); - s.unnamed232___U13 = (s.currMovers___34855); - s.unnamed233___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___34985, s.selected___34984); + s.currMovers___34999 = (r0); + r0 = (s.selected___34984 ^ 1); + s.selected___34984 = (r0); + r0 = pxsim_Array__getAt(s.buffers___34985, s.selected___34984); + s.remainingMovers___35006 = (r0); + s.ms___35011 = (undefined); + s.unnamed252___U13 = (s.currMovers___34999); + s.unnamed253___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed233___U14; - r0 = pxsim_Array__length(s.unnamed232___U13); + s.tmp_0 = r0 = s.unnamed253___U14; + r0 = pxsim_Array__length(s.unnamed252___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_Array__getAt(s.unnamed232___U13, s.unnamed233___U14); - s.ms___34867 = (r0); - r0 = s.ms___34867.fields["sprite"]; - s.s___34869 = (r0); - r0 = s.ms___34867.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed252___U13, s.unnamed253___U14); + s.ms___35011 = (r0); + r0 = s.ms___35011.fields["sprite"]; + s.s___35013 = (r0); + r0 = s.ms___35011.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___34869.fields["_vx"]; + r0 = s.s___35013.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___34869.fields["_vx"]; + r0 = s.s___35013.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___34867).fields["dx"] = (0); + r0 = (s.ms___35011).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___34869.fields["_vx"]; + r0 = s.s___35013.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -39657,7 +39657,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___34867.fields["cachedVx"]; + r0 = s.ms___35011.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -39668,7 +39668,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___34869.fields["_vx"]; + r0 = s.s___35013.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -39677,7 +39677,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___34867.fields["cachedVx"]; + r0 = s.ms___35011.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -39689,14 +39689,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___34867; - r0 = s.ms___34867.fields["dx"]; + s.tmp_9 = r0 = s.ms___35011; + r0 = s.ms___35011.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___34867; - r0 = s.ms___34867.fields["xStep"]; + s.tmp_0 = r0 = s.ms___35011; + r0 = s.ms___35011.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -39704,29 +39704,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___34869.fields["_vx"]; + r0 = s.s___35013.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___34867).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___35011).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___34867.fields["cachedVy"]; + r0 = s.ms___35011.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___34869.fields["_vy"]; + r0 = s.s___35013.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___34869.fields["_vy"]; + r0 = s.s___35013.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___34867).fields["dy"] = (0); + r0 = (s.ms___35011).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___34869.fields["_vy"]; + r0 = s.s___35013.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -39735,7 +39735,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___34867.fields["cachedVy"]; + r0 = s.ms___35011.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -39746,7 +39746,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___34869.fields["_vy"]; + r0 = s.s___35013.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -39755,7 +39755,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___34867.fields["cachedVy"]; + r0 = s.ms___35011.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -39767,14 +39767,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___34867; - r0 = s.ms___34867.fields["dy"]; + s.tmp_9 = r0 = s.ms___35011; + r0 = s.ms___35011.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___34867; - r0 = s.ms___34867.fields["yStep"]; + s.tmp_0 = r0 = s.ms___35011; + r0 = s.ms___35011.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -39782,20 +39782,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___34869.fields["_vy"]; + r0 = s.s___35013.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___34867).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___35011).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P18724_mk(s); - r0 = s.ms___34867.fields["xStep"]; + s.tmp_2 = Fx_abs__P18868_mk(s); + r0 = s.ms___35011.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 563; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P18724_mk(s); - r0 = s.ms___34867.fields["dx"]; + s.tmp_4 = Fx_abs__P18868_mk(s); + r0 = s.ms___35011.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 564; s.pc = 55; return s.tmp_4; case 55: @@ -39805,23 +39805,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___34867.fields["dx"]; + r0 = s.ms___35011.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___34867.fields["xStep"]; + r0 = s.ms___35011.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___34962 = (s.tmp_5); - s.tmp_2 = Fx_abs__P18724_mk(s); - r0 = s.ms___34867.fields["yStep"]; + s.stepX___35106 = (s.tmp_5); + s.tmp_2 = Fx_abs__P18868_mk(s); + r0 = s.ms___35011.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 565; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P18724_mk(s); - r0 = s.ms___34867.fields["dy"]; + s.tmp_4 = Fx_abs__P18868_mk(s); + r0 = s.ms___35011.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 566; s.pc = 57; return s.tmp_4; case 57: @@ -39831,45 +39831,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___34867.fields["dy"]; + r0 = s.ms___35011.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___34867.fields["yStep"]; + r0 = s.ms___35011.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___34976 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___34867; - r0 = s.ms___34867.fields["dx"]; + s.stepY___35120 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___35011; + r0 = s.ms___35011.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___34962); + r0 = (s.tmp_2 - s.stepX___35106); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___34867; - r0 = s.ms___34867.fields["dy"]; + s.tmp_0 = r0 = s.ms___35011; + r0 = s.ms___35011.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___34976); + r0 = (s.tmp_2 - s.stepY___35120); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___34869.fields["_x"]; + r0 = s.s___35013.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___34869).fields["_lastX"] = (s.tmp_0); - r0 = s.s___34869.fields["_y"]; + r0 = (s.s___35013).fields["_lastX"] = (s.tmp_0); + r0 = s.s___35013.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___34869).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___34869; - r0 = s.s___34869.fields["_x"]; + r0 = (s.s___35013).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___35013; + r0 = s.s___35013.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___34962); + r0 = (s.tmp_2 + s.stepX___35106); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___34869; - r0 = s.s___34869.fields["_y"]; + s.tmp_0 = r0 = s.s___35013; + r0 = s.s___35013.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___34976); + r0 = (s.tmp_2 + s.stepY___35120); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___34869.fields["flags"]; + r0 = s.s___35013.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -39879,20 +39879,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__P20665_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P20809_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___34869; + s.tmp_4.arg1 = s.s___35013; s.callLocIdx = 571; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; - s.tmp_0 = r0 = s.tileMap___34787; + s.tmp_0 = r0 = s.tileMap___34931; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 33; continue; } r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = s.tileMap___34787.fields["_map"]; + r0 = s.tileMap___34931.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -39906,10 +39906,10 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 35; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P22315_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P22459_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___34867; - s.tmp_6.arg2 = s.tileMap___34787; + s.tmp_6.arg1 = s.ms___35011; + s.tmp_6.arg2 = s.tileMap___34931; s.callLocIdx = 573; s.pc = 59; return s.tmp_6; case 59: r0 = s.retval; @@ -39917,70 +39917,70 @@ switch (step) { case 36: case 37: case 38: - s.tmp_2 = Fx_abs__P18724_mk(s); - r0 = s.ms___34867.fields["dx"]; + s.tmp_2 = Fx_abs__P18868_mk(s); + r0 = s.ms___35011.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 574; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___20734); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___20878); 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__P18724_mk(s); - r0 = s.ms___34867.fields["dy"]; + s.tmp_4 = Fx_abs__P18868_mk(s); + r0 = s.ms___35011.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 575; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___20734); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___20878); 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___34862, s.ms___34867); + r0 = pxsim_Array__push(s.remainingMovers___35006, s.ms___35011); case 41: case 42: - r0 = (s.unnamed233___U14 + 1); - s.unnamed233___U14 = (r0); + r0 = (s.unnamed253___U14 + 1); + s.unnamed253___U14 = (r0); { step = 4; continue; } case 43: - s.unnamed232___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P22314_mk(s); + s.unnamed252___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P22458_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___34855; - s.tmp_0.arg2 = s.overlapHandlers___34833; + s.tmp_0.arg1 = s.currMovers___34999; + s.tmp_0.arg2 = s.overlapHandlers___34977; s.callLocIdx = 576; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___34855); + r0 = pxsim_Array__length(s.currMovers___34999); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___34855); + r0 = pxsim_Array_.pop(s.currMovers___34999); { step = 44; continue; } case 45: - r0 = (s.count___34845 + 1); - s.count___34845 = (r0); + r0 = (s.count___34989 + 1); + s.count___34989 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P20749.info = {"start":2551,"length":3971,"line":109,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P20893.info = {"start":2551,"length":3971,"line":109,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P20749_mk(s) { +function ArcadePhysicsEngine_move__P20893_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P20749, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P20893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39994,24 +39994,24 @@ function ArcadePhysicsEngine_move__P20749_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtf___34773: undefined, - dt2___34780: undefined, - scene___34784: undefined, - tileMap___34787: undefined, - movingSprites___34790: undefined, - MAX_STEP_COUNT___34821: undefined, - overlapHandlers___34833: undefined, - selected___34840: undefined, - buffers___34841: undefined, - count___34845: undefined, - currMovers___34855: undefined, - remainingMovers___34862: undefined, - ms___34867: undefined, - unnamed232___U13: undefined, - unnamed233___U14: undefined, - s___34869: undefined, - stepX___34962: undefined, - stepY___34976: undefined, + dtf___34917: undefined, + dt2___34924: undefined, + scene___34928: undefined, + tileMap___34931: undefined, + movingSprites___34934: undefined, + MAX_STEP_COUNT___34965: undefined, + overlapHandlers___34977: undefined, + selected___34984: undefined, + buffers___34985: undefined, + count___34989: undefined, + currMovers___34999: undefined, + remainingMovers___35006: undefined, + ms___35011: undefined, + unnamed252___U13: undefined, + unnamed253___U14: undefined, + s___35013: undefined, + stepX___35106: undefined, + stepY___35120: undefined, arg0: undefined, arg1: undefined, } } @@ -40020,7 +40020,7 @@ function ArcadePhysicsEngine_move__P20749_mk(s) { -function inline__P34792(s) { +function inline__P34936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40034,7 +40034,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P22313_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P22457_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -40045,12 +40045,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34792.info = {"start":2943,"length":51,"line":121,"column":17,"endLine":121,"endColumn":68,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P34936.info = {"start":2943,"length":51,"line":121,"column":17,"endLine":121,"endColumn":68,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} -function inline__P34792_mk(s) { +function inline__P34936_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34792, depth: s.depth + 1, + parent: s, fn: inline__P34936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40060,7 +40060,7 @@ function inline__P34792_mk(s) { -function inline__P34804(s) { +function inline__P34948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40074,7 +40074,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P20593_mk(s); + s.tmp_1 = Sprite_vx__P20737_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 548; s.pc = 5; return s.tmp_1; case 5: @@ -40085,7 +40085,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P20595_mk(s); + s.tmp_2 = Sprite_vy__P20739_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 549; s.pc = 6; return s.tmp_2; case 6: @@ -40095,7 +40095,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P20648_mk(s); + s.tmp_4 = Sprite_clearObstacles__P20792_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 550; s.pc = 7; return s.tmp_4; case 7: @@ -40106,12 +40106,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P34804.info = {"start":3077,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P34948.info = {"start":3077,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} -function inline__P34804_mk(s) { +function inline__P34948_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34804, depth: s.depth + 1, + parent: s, fn: inline__P34948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40125,7 +40125,7 @@ function inline__P34804_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P22314(s) { +function ArcadePhysicsEngine_spriteCollisions__P22458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40135,18 +40135,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___35077 = undefined; - s.unnamed234___U1 = undefined; - s.unnamed235___U2 = undefined; - s.sprite___35079 = undefined; - s.overSprites___35086 = undefined; - s.overlapper___35094 = undefined; - s.unnamed236___U6 = undefined; - s.unnamed237___U7 = undefined; - s.thisKind___35100 = undefined; - s.otherKind___35104 = undefined; - s.higher___35117 = undefined; - s.lower___35126 = undefined; + s.ms___35221 = undefined; + s.unnamed254___U1 = undefined; + s.unnamed255___U2 = undefined; + s.sprite___35223 = undefined; + s.overSprites___35230 = undefined; + s.overlapper___35238 = undefined; + s.unnamed256___U6 = undefined; + s.unnamed257___U7 = undefined; + s.thisKind___35244 = undefined; + s.otherKind___35248 = undefined; + s.higher___35261 = undefined; + s.lower___35270 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40154,7 +40154,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -40166,20 +40166,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___35077 = (undefined); - s.unnamed234___U1 = (s.arg1); - s.unnamed235___U2 = (0); + s.ms___35221 = (undefined); + s.unnamed254___U1 = (s.arg1); + s.unnamed255___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed235___U2; - r0 = pxsim_Array__length(s.unnamed234___U1); + s.tmp_0 = r0 = s.unnamed255___U2; + r0 = pxsim_Array__length(s.unnamed254___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed234___U1, s.unnamed235___U2); - s.ms___35077 = (r0); - r0 = s.ms___35077.fields["sprite"]; - s.sprite___35079 = (r0); - r0 = s.sprite___35079.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed254___U1, s.unnamed255___U2); + s.ms___35221 = (r0); + r0 = s.ms___35221.fields["sprite"]; + s.sprite___35223 = (r0); + r0 = s.sprite___35223.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 515); s.tmp_0 = r0; @@ -40188,27 +40188,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P20661_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P20805_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___35077.fields["sprite"]; + r0 = s.ms___35221.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 614; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___35086 = (r0); - s.overlapper___35094 = (undefined); - s.unnamed236___U6 = (s.overSprites___35086); - s.unnamed237___U7 = (0); + s.overSprites___35230 = (r0); + s.overlapper___35238 = (undefined); + s.unnamed256___U6 = (s.overSprites___35230); + s.unnamed257___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed237___U7; - r0 = pxsim_Array__length(s.unnamed236___U6); + s.tmp_0 = r0 = s.unnamed257___U7; + r0 = pxsim_Array__length(s.unnamed256___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed236___U6, s.unnamed237___U7); - s.overlapper___35094 = (r0); - r0 = s.overlapper___35094.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed256___U6, s.unnamed257___U7); + s.overlapper___35238 = (r0); + r0 = s.overlapper___35238.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -40217,13 +40217,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___35079.fields["_kind"]; - s.thisKind___35100 = (r0); - r0 = s.overlapper___35094.fields["_kind"]; - s.otherKind___35104 = (r0); - r0 = s.sprite___35079.fields["_kindsOverlappedWith"]; + r0 = s.sprite___35223.fields["_kind"]; + s.thisKind___35244 = (r0); + r0 = s.overlapper___35238.fields["_kind"]; + s.otherKind___35248 = (r0); + r0 = s.sprite___35223.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___35104, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___35248, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -40232,37 +40232,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___35079.fields["id"]; + r0 = s.sprite___35223.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___35094.fields["id"]; + r0 = s.overlapper___35238.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___35079; + r0 = s.sprite___35223; { step = 12; continue; } case 11: - r0 = s.overlapper___35094; + r0 = s.overlapper___35238; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___35117 = (s.tmp_6); - r0 = (s.higher___35117 === s.sprite___35079); + s.higher___35261 = (s.tmp_6); + r0 = (s.higher___35261 === s.sprite___35223); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___35094; + r0 = s.overlapper___35238; { step = 14; continue; } case 13: - r0 = s.sprite___35079; + r0 = s.sprite___35223; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___35126 = (s.tmp_1); - r0 = s.higher___35117.fields["_overlappers"]; + s.lower___35270 = (s.tmp_1); + r0 = s.higher___35261.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___35126.fields["id"]; + r0 = s.lower___35270.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -40270,19 +40270,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__P35146); + r0 = pxsim_pxtcore_mkAction(2, inline__P35290); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___35100); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___35104); - r0 = pxsim_pxtcore_mkAction(5, inline__P35170); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___35244); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___35248); + r0 = pxsim_pxtcore_mkAction(5, inline__P35314); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___35117); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___35126); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___35079); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___35094); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___35100); - s.tmp_6 = helpers_arrayForEach__P18671_mk(s); - s.tmp_7 = helpers_arrayFilter__P18672_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___35261); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___35270); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___35223); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___35238); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___35244); + s.tmp_6 = helpers_arrayForEach__P18815_mk(s); + s.tmp_7 = helpers_arrayFilter__P18816_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 617; s.pc = 24; return s.tmp_7; @@ -40296,28 +40296,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed237___U7 + 1); - s.unnamed237___U7 = (r0); + r0 = (s.unnamed257___U7 + 1); + s.unnamed257___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed236___U6 = (undefined); + s.unnamed256___U6 = (undefined); case 19: - r0 = (s.unnamed235___U2 + 1); - s.unnamed235___U2 = (r0); + r0 = (s.unnamed255___U2 + 1); + s.unnamed255___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed234___U1 = (undefined); + s.unnamed254___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P22314.info = {"start":9599,"length":2254,"line":324,"column":4,"endLine":368,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P22458.info = {"start":9599,"length":2254,"line":324,"column":4,"endLine":368,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P22314_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P22458_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P22314, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P22458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40327,18 +40327,18 @@ function ArcadePhysicsEngine_spriteCollisions__P22314_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___35077: undefined, - unnamed234___U1: undefined, - unnamed235___U2: undefined, - sprite___35079: undefined, - overSprites___35086: undefined, - overlapper___35094: undefined, - unnamed236___U6: undefined, - unnamed237___U7: undefined, - thisKind___35100: undefined, - otherKind___35104: undefined, - higher___35117: undefined, - lower___35126: undefined, + ms___35221: undefined, + unnamed254___U1: undefined, + unnamed255___U2: undefined, + sprite___35223: undefined, + overSprites___35230: undefined, + overlapper___35238: undefined, + unnamed256___U6: undefined, + unnamed257___U7: undefined, + thisKind___35244: undefined, + otherKind___35248: undefined, + higher___35261: undefined, + lower___35270: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40348,7 +40348,7 @@ function ArcadePhysicsEngine_spriteCollisions__P22314_mk(s) { -function inline__P35146(s) { +function inline__P35290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40405,12 +40405,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P35146.info = {"start":10958,"length":137,"line":350,"column":32,"endLine":351,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P35290.info = {"start":10958,"length":137,"line":350,"column":32,"endLine":351,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P35146_mk(s) { +function inline__P35290_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35146, depth: s.depth + 1, + parent: s, fn: inline__P35290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40428,7 +40428,7 @@ function inline__P35146_mk(s) { -function inline__P35170(s) { +function inline__P35314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40447,7 +40447,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__P35180); + r0 = pxsim_pxtcore_mkAction(6, inline__P35324); 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]); @@ -40460,12 +40460,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P35170.info = {"start":11155,"length":648,"line":353,"column":33,"endLine":364,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P35314.info = {"start":11155,"length":648,"line":353,"column":33,"endLine":364,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P35170_mk(s) { +function inline__P35314_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35170, depth: s.depth + 1, + parent: s, fn: inline__P35314, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40476,7 +40476,7 @@ function inline__P35170_mk(s) { -function inline__P35180(s) { +function inline__P35324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40552,12 +40552,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P35180.info = {"start":11276,"length":499,"line":355,"column":50,"endLine":363,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P35324.info = {"start":11276,"length":499,"line":355,"column":50,"endLine":363,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P35180_mk(s) { +function inline__P35324_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35180, depth: s.depth + 1, + parent: s, fn: inline__P35324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40578,7 +40578,7 @@ function inline__P35180_mk(s) { -function sprites_SpriteMap_overlaps__P20661(s) { +function sprites_SpriteMap_overlaps__P20805(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40588,47 +40588,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___35214 = undefined; - s.o___35218 = undefined; + s.n___35358 = undefined; + s.o___35362 = 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__C20658_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P20660_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P20804_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 488; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___35214 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P35220); + s.n___35358 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P35364); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P18672_mk(s); - s.tmp_1.arg0 = s.n___35214; + s.tmp_1 = helpers_arrayFilter__P18816_mk(s); + s.tmp_1.arg0 = s.n___35358; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 490; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___35218 = (r0); - r0 = s.o___35218; + s.o___35362 = (r0); + r0 = s.o___35362; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P20661.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__P20805.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__P20661_mk(s) { +function sprites_SpriteMap_overlaps__P20805_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P20661, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P20805, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___35214: undefined, - o___35218: undefined, + n___35358: undefined, + o___35362: undefined, arg0: undefined, arg1: undefined, } } @@ -40637,7 +40637,7 @@ function sprites_SpriteMap_overlaps__P20661_mk(s) { -function inline__P35220(s) { +function inline__P35364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40651,7 +40651,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P20644_mk(s); + s.tmp_0 = Sprite_overlapsWith__P20788_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 489; s.pc = 1; return s.tmp_0; @@ -40660,12 +40660,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P35220.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P35364.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__P35220_mk(s) { +function inline__P35364_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35220, depth: s.depth + 1, + parent: s, fn: inline__P35364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40675,7 +40675,7 @@ function inline__P35220_mk(s) { -function sprites_SpriteMap_neighbors__P20660(s) { +function sprites_SpriteMap_neighbors__P20804(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40685,112 +40685,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___35262 = undefined; - s.layer___35264 = undefined; + s.n___35406 = undefined; + s.layer___35408 = 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__C20658_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___35262 = (r0); + s.n___35406 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___35264 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22292_mk(s); + s.layer___35408 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22436_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P20626_mk(s); + s.tmp_1 = Sprite_left__P20770_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 476; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P20630_mk(s); + s.tmp_2 = Sprite_top__P20774_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 477; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___35264; - s.tmp_0.arg4 = s.n___35262; + s.tmp_0.arg3 = s.layer___35408; + s.tmp_0.arg4 = s.n___35406; s.callLocIdx = 478; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22292_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22436_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P20626_mk(s); + s.tmp_1 = Sprite_left__P20770_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 479; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P20632_mk(s); + s.tmp_2 = Sprite_bottom__P20776_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 480; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___35264; - s.tmp_0.arg4 = s.n___35262; + s.tmp_0.arg3 = s.layer___35408; + s.tmp_0.arg4 = s.n___35406; s.callLocIdx = 481; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22292_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22436_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P20628_mk(s); + s.tmp_1 = Sprite_right__P20772_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 482; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P20630_mk(s); + s.tmp_2 = Sprite_top__P20774_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 483; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___35264; - s.tmp_0.arg4 = s.n___35262; + s.tmp_0.arg3 = s.layer___35408; + s.tmp_0.arg4 = s.n___35406; s.callLocIdx = 484; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22292_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22436_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P20628_mk(s); + s.tmp_1 = Sprite_right__P20772_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 485; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P20632_mk(s); + s.tmp_2 = Sprite_bottom__P20776_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 486; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___35264; - s.tmp_0.arg4 = s.n___35262; + s.tmp_0.arg3 = s.layer___35408; + s.tmp_0.arg4 = s.n___35406; s.callLocIdx = 487; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___35262, s.arg1); - r0 = s.n___35262; + r0 = pxsim_Array_.removeElement(s.n___35406, s.arg1); + r0 = s.n___35406; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P20660.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__P20804.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__P20660_mk(s) { +function sprites_SpriteMap_neighbors__P20804_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P20660, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P20804, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___35262: undefined, - layer___35264: undefined, + n___35406: undefined, + layer___35408: undefined, arg0: undefined, arg1: undefined, } } @@ -40799,7 +40799,7 @@ function sprites_SpriteMap_neighbors__P20660_mk(s) { -function sprites_SpriteMap_mergeAtKey__P22292(s) { +function sprites_SpriteMap_mergeAtKey__P22436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40809,11 +40809,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___35305 = undefined; - s.bucket___35310 = undefined; - s.sprite___35317 = undefined; - s.unnamed230___U3 = undefined; - s.unnamed231___U4 = undefined; + s.k___35449 = undefined; + s.bucket___35454 = undefined; + s.sprite___35461 = undefined; + s.unnamed250___U3 = undefined; + s.unnamed251___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40823,33 +40823,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20658_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P22290_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P22434_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 514; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___35305 = (r0); + s.k___35449 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___35305); - s.bucket___35310 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___35310); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___35449); + s.bucket___35454 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___35454); if (!r0) { step = 7; continue; } - s.sprite___35317 = (undefined); - s.unnamed230___U3 = (s.bucket___35310); - s.unnamed231___U4 = (0); + s.sprite___35461 = (undefined); + s.unnamed250___U3 = (s.bucket___35454); + s.unnamed251___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed231___U4; - r0 = pxsim_Array__length(s.unnamed230___U3); + s.tmp_0 = r0 = s.unnamed251___U4; + r0 = pxsim_Array__length(s.unnamed250___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed230___U3, s.unnamed231___U4); - s.sprite___35317 = (r0); - r0 = s.sprite___35317.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed250___U3, s.unnamed251___U4); + s.sprite___35461 = (r0); + r0 = s.sprite___35461.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -40858,7 +40858,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___35317, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___35461, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -40866,26 +40866,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___35317); + r0 = pxsim_Array__push(s.arg4, s.sprite___35461); case 4: case 5: - r0 = (s.unnamed231___U4 + 1); - s.unnamed231___U4 = (r0); + r0 = (s.unnamed251___U4 + 1); + s.unnamed251___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed230___U3 = (undefined); + s.unnamed250___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P22292.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__P22436.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__P22292_mk(s) { +function sprites_SpriteMap_mergeAtKey__P22436_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P22292, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P22436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40893,11 +40893,11 @@ function sprites_SpriteMap_mergeAtKey__P22292_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___35305: undefined, - bucket___35310: undefined, - sprite___35317: undefined, - unnamed230___U3: undefined, - unnamed231___U4: undefined, + k___35449: undefined, + bucket___35454: undefined, + sprite___35461: undefined, + unnamed250___U3: undefined, + unnamed251___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40909,7 +40909,7 @@ function sprites_SpriteMap_mergeAtKey__P22292_mk(s) { -function sprites_SpriteMap_key__P22290(s) { +function sprites_SpriteMap_key__P22434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40919,8 +40919,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___35338 = undefined; - s.yi___35350 = undefined; + s.xi___35482 = undefined; + s.yi___35494 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40928,8 +40928,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20658_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P18686_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P18830_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -40940,8 +40940,8 @@ switch (step) { s.callLocIdx = 502; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___35338 = (r0); - s.tmp_0 = Math_clamp__P18686_mk(s); + s.xi___35482 = (r0); + s.tmp_0 = Math_clamp__P18830_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -40952,28 +40952,28 @@ switch (step) { s.callLocIdx = 503; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___35350 = (r0); - s.tmp_0 = r0 = s.xi___35338; + s.yi___35494 = (r0); + s.tmp_0 = r0 = s.xi___35482; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___35350 * s.tmp_2); + r0 = (s.yi___35494 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P22290.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__P22434.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__P22290_mk(s) { +function sprites_SpriteMap_key__P22434_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P22290, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P22434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___35338: undefined, - yi___35350: undefined, + xi___35482: undefined, + yi___35494: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40983,7 +40983,7 @@ function sprites_SpriteMap_key__P22290_mk(s) { -function Sprite_overlapsWith__P20644(s) { +function Sprite_overlapsWith__P20788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40999,7 +40999,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -41032,13 +41032,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P20626_mk(s); + s.tmp_9 = Sprite_left__P20770_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 438; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = Sprite_left__P20626_mk(s); + s.tmp_11 = Sprite_left__P20770_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 439; s.pc = 9; return s.tmp_11; case 9: @@ -41046,13 +41046,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P20630_mk(s); + s.tmp_14 = Sprite_top__P20774_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 440; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; - s.tmp_16 = Sprite_top__P20630_mk(s); + s.tmp_16 = Sprite_top__P20774_mk(s); s.tmp_16.arg0 = s.arg1; s.callLocIdx = 441; s.pc = 11; return s.tmp_16; case 11: @@ -41065,12 +41065,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P20644.info = {"start":24476,"length":434,"line":748,"column":4,"endLine":756,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P20788.info = {"start":24476,"length":434,"line":748,"column":4,"endLine":756,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P20644_mk(s) { +function Sprite_overlapsWith__P20788_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P20644, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P20788, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41097,7 +41097,7 @@ function Sprite_overlapsWith__P20644_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P22313(s) { +function ArcadePhysicsEngine_createMovingSprite__P22457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41107,16 +41107,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___35552 = undefined; - s.ovy___35557 = undefined; - s.fx___35584 = undefined; - s.c___35591 = undefined; - s.fy___35634 = undefined; - s.c___35641 = undefined; - s.dx___35680 = undefined; - s.dy___35689 = undefined; - s.xStep___35698 = undefined; - s.yStep___35700 = undefined; + s.ovx___35696 = undefined; + s.ovy___35701 = undefined; + s.fx___35728 = undefined; + s.c___35735 = undefined; + s.fy___35778 = undefined; + s.c___35785 = undefined; + s.dx___35824 = undefined; + s.dy___35833 = undefined; + s.xStep___35842 = undefined; + s.yStep___35844 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41125,23 +41125,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P22318_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P22462_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 577; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___35552 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P22318_mk(s); + s.ovx___35696 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P22462_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 578; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___35557 = (r0); + s.ovy___35701 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -41179,21 +41179,21 @@ switch (step) { r0 = (s.tmp_3 >> 8); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fx___35584 = (r0); + s.fx___35728 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___35584); - s.c___35591 = (r0); - r0 = (s.c___35591 < 0); + r0 = (s.tmp_0 - s.fx___35728); + s.c___35735 = (r0); + r0 = (s.c___35735 < 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__P18725_mk(s); + s.tmp_3 = Fx_min__P18869_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___35584); + r0 = (s.tmp_4 + s.fx___35728); s.tmp_3.arg1 = r0; s.callLocIdx = 586; s.pc = 27; return s.tmp_3; case 27: @@ -41202,16 +41202,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___35591 > 0); + r0 = (s.c___35735 > 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__P18726_mk(s); + s.tmp_3 = Fx_max__P18870_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___35584); + r0 = (s.tmp_4 - s.fx___35728); s.tmp_3.arg1 = r0; s.callLocIdx = 588; s.pc = 28; return s.tmp_3; case 28: @@ -41257,21 +41257,21 @@ switch (step) { r0 = (s.tmp_3 >> 8); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fy___35634 = (r0); + s.fy___35778 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___35634); - s.c___35641 = (r0); - r0 = (s.c___35641 < 0); + r0 = (s.tmp_0 - s.fy___35778); + s.c___35785 = (r0); + r0 = (s.c___35785 < 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__P18725_mk(s); + s.tmp_3 = Fx_min__P18869_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___35634); + r0 = (s.tmp_4 + s.fy___35778); s.tmp_3.arg1 = r0; s.callLocIdx = 596; s.pc = 29; return s.tmp_3; case 29: @@ -41280,16 +41280,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___35641 > 0); + r0 = (s.c___35785 > 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__P18725_mk(s); + s.tmp_3 = Fx_min__P18869_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___35634); + r0 = (s.tmp_4 - s.fy___35778); s.tmp_3.arg1 = r0; s.callLocIdx = 598; s.pc = 30; return s.tmp_3; case 30: @@ -41305,7 +41305,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P22318_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P22462_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -41315,7 +41315,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__P22318_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P22462_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -41326,29 +41326,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___35552); + r0 = (s.tmp_2 + s.ovx___35696); 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___35680 = (r0); + s.dx___35824 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovy___35557); + r0 = (s.tmp_2 + s.ovy___35701); 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___35689 = (r0); - s.xStep___35698 = (s.dx___35680); - s.yStep___35700 = (s.dy___35689); + s.dy___35833 = (r0); + s.xStep___35842 = (s.dx___35824); + s.yStep___35844 = (s.dy___35833); case 17: - s.tmp_2 = Fx_abs__P18724_mk(s); - s.tmp_2.arg0 = s.xStep___35698; + s.tmp_2 = Fx_abs__P18868_mk(s); + s.tmp_2.arg0 = s.xStep___35842; s.callLocIdx = 607; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -41362,8 +41362,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P18724_mk(s); - s.tmp_5.arg0 = s.yStep___35700; + s.tmp_5 = Fx_abs__P18868_mk(s); + s.tmp_5.arg0 = s.yStep___35844; s.callLocIdx = 608; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -41376,8 +41376,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P18724_mk(s); - s.tmp_10.arg0 = s.xStep___35698; + s.tmp_10 = Fx_abs__P18868_mk(s); + s.tmp_10.arg0 = s.xStep___35842; s.callLocIdx = 609; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -41388,12 +41388,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___35698, 2); - s.xStep___35698 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___35842, 2); + s.xStep___35842 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P18724_mk(s); - s.tmp_2.arg0 = s.yStep___35700; + s.tmp_2 = Fx_abs__P18868_mk(s); + s.tmp_2.arg0 = s.yStep___35844; s.callLocIdx = 611; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -41404,25 +41404,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___35700, 2); - s.yStep___35700 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___35844, 2); + s.yStep___35844 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C20735_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C20879_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P20736_mk(s); + s.tmp_1 = MovingSprite_constructor__P20880_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___35680; - s.tmp_1.arg5 = s.dy___35689; - s.tmp_1.arg6 = s.xStep___35698; - s.tmp_1.arg7 = s.yStep___35700; + s.tmp_1.arg4 = s.dx___35824; + s.tmp_1.arg5 = s.dy___35833; + s.tmp_1.arg6 = s.xStep___35842; + s.tmp_1.arg7 = s.yStep___35844; s.callLocIdx = 613; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -41430,12 +41430,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P22313.info = {"start":6528,"length":3065,"line":213,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P22457.info = {"start":6528,"length":3065,"line":213,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P22313_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P22457_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P22313, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P22457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41449,16 +41449,16 @@ function ArcadePhysicsEngine_createMovingSprite__P22313_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___35552: undefined, - ovy___35557: undefined, - fx___35584: undefined, - c___35591: undefined, - fy___35634: undefined, - c___35641: undefined, - dx___35680: undefined, - dy___35689: undefined, - xStep___35698: undefined, - yStep___35700: undefined, + ovx___35696: undefined, + ovy___35701: undefined, + fx___35728: undefined, + c___35735: undefined, + fy___35778: undefined, + c___35785: undefined, + dx___35824: undefined, + dy___35833: undefined, + xStep___35842: undefined, + yStep___35844: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41469,7 +41469,7 @@ function ArcadePhysicsEngine_createMovingSprite__P22313_mk(s) { -function ArcadePhysicsEngine_constrain__P22318(s) { +function ArcadePhysicsEngine_constrain__P22462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41485,9 +41485,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P18726_mk(s); - s.tmp_1 = Fx_min__P18725_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P18870_mk(s); + s.tmp_1 = Fx_min__P18869_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -41503,12 +41503,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P22318.info = {"start":25298,"length":191,"line":751,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P22462.info = {"start":25298,"length":191,"line":751,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P22318_mk(s) { +function ArcadePhysicsEngine_constrain__P22462_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P22318, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P22462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41520,7 +41520,7 @@ function ArcadePhysicsEngine_constrain__P22318_mk(s) { -function Fx_max__P18726(s) { +function Fx_max__P18870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41551,12 +41551,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P18726.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__P18870.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__P18726_mk(s) { +function Fx_max__P18870_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P18726, depth: s.depth + 1, + parent: s, fn: Fx_max__P18870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41567,7 +41567,7 @@ function Fx_max__P18726_mk(s) { -function Fx_compare__P18723(s) { +function Fx_compare__P18867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41586,12 +41586,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P18723.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__P18867.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__P18723_mk(s) { +function Fx_compare__P18867_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P18723, depth: s.depth + 1, + parent: s, fn: Fx_compare__P18867, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -41601,7 +41601,7 @@ function Fx_compare__P18723_mk(s) { -function sprites_SpriteMap_insertAABB__P20665(s) { +function sprites_SpriteMap_insertAABB__P20809(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41611,31 +41611,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___35370 = undefined; - s.top___35373 = undefined; - s.xn___35376 = undefined; - s.yn___35387 = undefined; - s.x___35398 = undefined; - s.y___35403 = undefined; + s.left___35514 = undefined; + s.top___35517 = undefined; + s.xn___35520 = undefined; + s.yn___35531 = undefined; + s.x___35542 = undefined; + s.y___35547 = 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__C20658_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P20626_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P20770_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 505; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___35370 = (r0); - s.tmp_0 = Sprite_top__P20630_mk(s); + s.left___35514 = (r0); + s.tmp_0 = Sprite_top__P20774_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 506; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___35373 = (r0); + s.top___35517 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -41649,7 +41649,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___35376 = (r0); + s.xn___35520 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -41663,30 +41663,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___35387 = (r0); - s.x___35398 = (0); + s.yn___35531 = (r0); + s.x___35542 = (0); case 1: - r0 = (s.x___35398 <= s.xn___35376); + r0 = (s.x___35542 <= s.xn___35520); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___35403 = (0); + s.y___35547 = (0); case 2: - r0 = (s.y___35403 <= s.yn___35387); + r0 = (s.y___35547 <= s.yn___35531); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P22291_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P22435_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___35370; - s.tmp_4 = Math_min__P18690_mk(s); + s.tmp_2 = r0 = s.left___35514; + s.tmp_4 = Math_min__P18834_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___35398 * s.tmp_6); + r0 = (s.x___35542 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 510; s.pc = 8; return s.tmp_4; case 8: @@ -41694,15 +41694,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___35373; - s.tmp_9 = Math_min__P18690_mk(s); + s.tmp_7 = r0 = s.top___35517; + s.tmp_9 = Math_min__P18834_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___35403 * s.tmp_11); + r0 = (s.y___35547 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 512; s.pc = 9; return s.tmp_9; case 9: @@ -41714,24 +41714,24 @@ switch (step) { s.callLocIdx = 513; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___35403 + 1); - s.y___35403 = (r0); + r0 = (s.y___35547 + 1); + s.y___35547 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___35398 + 1); - s.x___35398 = (r0); + r0 = (s.x___35542 + 1); + s.x___35542 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P20665.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__P20809.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__P20665_mk(s) { +function sprites_SpriteMap_insertAABB__P20809_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P20665, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P20809, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41745,12 +41745,12 @@ function sprites_SpriteMap_insertAABB__P20665_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___35370: undefined, - top___35373: undefined, - xn___35376: undefined, - yn___35387: undefined, - x___35398: undefined, - y___35403: undefined, + left___35514: undefined, + top___35517: undefined, + xn___35520: undefined, + yn___35531: undefined, + x___35542: undefined, + y___35547: undefined, arg0: undefined, arg1: undefined, } } @@ -41759,7 +41759,7 @@ function sprites_SpriteMap_insertAABB__P20665_mk(s) { -function sprites_SpriteMap_insertAtKey__P22291(s) { +function sprites_SpriteMap_insertAtKey__P22435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41769,8 +41769,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___35438 = undefined; - s.bucket___35443 = undefined; + s.k___35582 = undefined; + s.bucket___35587 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41779,20 +41779,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20658_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P22290_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P22434_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 504; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___35438 = (r0); + s.k___35582 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___35438); - s.bucket___35443 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___35443); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___35582); + s.bucket___35587 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___35587); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -41800,40 +41800,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___35438; + s.tmp_3 = r0 = s.k___35582; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___35443 = (s.tmp_4); + s.bucket___35587 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___35443, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___35587, 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___35443, s.arg3); + r0 = pxsim_Array__push(s.bucket___35587, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P22291.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__P22435.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__P22291_mk(s) { +function sprites_SpriteMap_insertAtKey__P22435_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P22291, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P22435, 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___35438: undefined, - bucket___35443: undefined, + k___35582: undefined, + bucket___35587: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41844,7 +41844,7 @@ function sprites_SpriteMap_insertAtKey__P22291_mk(s) { -function sprites_SpriteMap_clear__P20664(s) { +function sprites_SpriteMap_clear__P20808(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41859,7 +41859,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20658_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -41868,12 +41868,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P20664.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__P20808.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__P20664_mk(s) { +function sprites_SpriteMap_clear__P20808_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P20664, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P20808, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41884,7 +41884,7 @@ function sprites_SpriteMap_clear__P20664_mk(s) { -function sprites_SpriteMap_resizeBuckets__P20663(s) { +function sprites_SpriteMap_resizeBuckets__P20807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41894,107 +41894,107 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___35475 = undefined; - s.maxHeight___35476 = undefined; - s.sprite___35478 = undefined; - s.unnamed228___U3 = undefined; - s.unnamed229___U4 = undefined; - s.tMap___35494 = undefined; - s.areaWidth___35498 = undefined; - s.areaHeight___35505 = undefined; + s.maxWidth___35619 = undefined; + s.maxHeight___35620 = undefined; + s.sprite___35622 = undefined; + s.unnamed248___U3 = undefined; + s.unnamed249___U4 = undefined; + s.tMap___35638 = undefined; + s.areaWidth___35642 = undefined; + s.areaHeight___35649 = 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__C20658_VT)) failedCast(r0); - s.maxWidth___35475 = (0); - s.maxHeight___35476 = (0); - s.sprite___35478 = (undefined); - s.unnamed228___U3 = (s.arg1); - s.unnamed229___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); + s.maxWidth___35619 = (0); + s.maxHeight___35620 = (0); + s.sprite___35622 = (undefined); + s.unnamed248___U3 = (s.arg1); + s.unnamed249___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed229___U4; - r0 = pxsim_Array__length(s.unnamed228___U3); + s.tmp_0 = r0 = s.unnamed249___U4; + r0 = pxsim_Array__length(s.unnamed248___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed228___U3, s.unnamed229___U4); - s.sprite___35478 = (r0); - r0 = s.sprite___35478.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed248___U3, s.unnamed249___U4); + s.sprite___35622 = (r0); + r0 = s.sprite___35622.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___35475); + r0 = (s.tmp_3 > s.maxWidth___35619); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___35478.fields["_image"]; + r0 = s.sprite___35622.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___35475 = (r0); + s.maxWidth___35619 = (r0); case 2: case 3: - r0 = s.sprite___35478.fields["_image"]; + r0 = s.sprite___35622.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___35476); + r0 = (s.tmp_1 > s.maxHeight___35620); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___35478.fields["_image"]; + r0 = s.sprite___35622.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___35476 = (r0); + s.maxHeight___35620 = (r0); case 4: case 5: - r0 = (s.unnamed229___U4 + 1); - s.unnamed229___U4 = (r0); + r0 = (s.unnamed249___U4 + 1); + s.unnamed249___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed228___U3 = (undefined); - s.tmp_0 = game_currentScene__P21096_mk(s); + s.unnamed248___U3 = (undefined); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 497; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___35494 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___35494); + s.tMap___35638 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___35638); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P20887_mk(s); - s.tmp_0.arg0 = s.tMap___35494; + s.tmp_0 = tiles_TileMap_areaWidth__P21031_mk(s); + s.tmp_0.arg0 = s.tMap___35638; s.callLocIdx = 498; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___35498 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___35494); + s.areaWidth___35642 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___35638); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P20888_mk(s); - s.tmp_0.arg0 = s.tMap___35494; + s.tmp_0 = tiles_TileMap_areaHeight__P21032_mk(s); + s.tmp_0.arg0 = s.tMap___35638; s.callLocIdx = 499; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___35505 = (s.tmp_1); + s.areaHeight___35649 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P18686_mk(s); + s.tmp_2 = Math_clamp__P18830_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___35498 >> 2); + r0 = (s.areaWidth___35642 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___35475 * 2); + r0 = (s.maxWidth___35619 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 500; s.pc = 14; return s.tmp_2; case 14: @@ -42002,11 +42002,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__P18686_mk(s); + s.tmp_2 = Math_clamp__P18830_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___35505 >> 2); + r0 = (s.areaHeight___35649 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___35476 * 2); + r0 = (s.maxHeight___35620 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 501; s.pc = 15; return s.tmp_2; case 15: @@ -42016,25 +42016,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___35505, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___35649, 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___35498, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___35642, 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__P20663.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__P20807.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__P20663_mk(s) { +function sprites_SpriteMap_resizeBuckets__P20807_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P20663, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P20807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42042,14 +42042,14 @@ function sprites_SpriteMap_resizeBuckets__P20663_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___35475: undefined, - maxHeight___35476: undefined, - sprite___35478: undefined, - unnamed228___U3: undefined, - unnamed229___U4: undefined, - tMap___35494: undefined, - areaWidth___35498: undefined, - areaHeight___35505: undefined, + maxWidth___35619: undefined, + maxHeight___35620: undefined, + sprite___35622: undefined, + unnamed248___U3: undefined, + unnamed249___U4: undefined, + tMap___35638: undefined, + areaWidth___35642: undefined, + areaHeight___35649: undefined, arg0: undefined, arg1: undefined, } } @@ -42058,7 +42058,7 @@ function sprites_SpriteMap_resizeBuckets__P20663_mk(s) { -function Sprite_clearObstacles__P20648(s) { +function Sprite_clearObstacles__P20792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42073,7 +42073,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -42082,12 +42082,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P20648.info = {"start":26872,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P20792.info = {"start":26872,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P20648_mk(s) { +function Sprite_clearObstacles__P20792_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P20648, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P20792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42098,7 +42098,7 @@ function Sprite_clearObstacles__P20648_mk(s) { -function Fx_idiv__P18722(s) { +function Fx_idiv__P18866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42117,12 +42117,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P18722.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__P18866.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__P18722_mk(s) { +function Fx_idiv__P18866_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P18722, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P18866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42132,7 +42132,7 @@ function Fx_idiv__P18722_mk(s) { -function Fx_div__P18721(s) { +function Fx_div__P18865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42153,12 +42153,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P18721.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__P18865.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__P18721_mk(s) { +function Fx_div__P18865_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P18721, depth: s.depth + 1, + parent: s, fn: Fx_div__P18865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42169,7 +42169,7 @@ function Fx_div__P18721_mk(s) { -function ArcadePhysicsEngine_draw__P20748(s) { +function ArcadePhysicsEngine_draw__P20892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42184,8 +42184,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P20662_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P20806_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 541; s.pc = 1; return s.tmp_0; @@ -42195,12 +42195,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P20748.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} +ArcadePhysicsEngine_draw__P20892.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} -function ArcadePhysicsEngine_draw__P20748_mk(s) { +function ArcadePhysicsEngine_draw__P20892_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P20748, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P20892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42210,7 +42210,7 @@ function ArcadePhysicsEngine_draw__P20748_mk(s) { -function sprites_SpriteMap_draw__P20662(s) { +function sprites_SpriteMap_draw__P20806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42220,70 +42220,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___35778 = undefined; - s.y___35784 = undefined; - s.left___35790 = undefined; - s.top___35795 = undefined; - s.k___35800 = undefined; - s.b___35805 = undefined; + s.x___35922 = undefined; + s.y___35928 = undefined; + s.left___35934 = undefined; + s.top___35939 = undefined; + s.k___35944 = undefined; + s.b___35949 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20658_VT)) failedCast(r0); - s.x___35778 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); + s.x___35922 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___35778 < s.tmp_1); + r0 = (s.x___35922 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___35784 = (0); + s.y___35928 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___35784 < s.tmp_1); + r0 = (s.y___35928 < 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___35778 * s.tmp_2); - s.left___35790 = (r0); + r0 = (s.x___35922 * s.tmp_2); + s.left___35934 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___35784 * s.tmp_0); - s.top___35795 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P22290_mk(s); + r0 = (s.y___35928 * s.tmp_0); + s.top___35939 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P22434_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___35790; - s.tmp_0.arg2 = s.top___35795; + s.tmp_0.arg1 = s.left___35934; + s.tmp_0.arg2 = s.top___35939; s.callLocIdx = 491; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___35800 = (r0); + s.k___35944 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___35800); - s.b___35805 = (r0); - s.tmp_0 = r0 = s.b___35805; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___35944); + s.b___35949 = (r0); + s.tmp_0 = r0 = s.b___35949; 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___35805); + r0 = pxsim_Array__length(s.b___35949); 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__P20295_mk(s); - s.tmp_2.arg0 = globals.screen___20366; - s.tmp_2.arg1 = s.left___35790; - s.tmp_2.arg2 = s.top___35795; + s.tmp_2 = helpers_imageDrawRect__P20439_mk(s); + s.tmp_2.arg0 = globals.screen___20510; + s.tmp_2.arg1 = s.left___35934; + s.tmp_2.arg2 = s.top___35939; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -42294,34 +42294,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___35784 + 1); - s.y___35784 = (r0); + r0 = (s.y___35928 + 1); + s.y___35928 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___35778 + 1); - s.x___35778 = (r0); + r0 = (s.x___35922 + 1); + s.x___35922 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P20662.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__P20806.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__P20662_mk(s) { +function sprites_SpriteMap_draw__P20806_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P20662, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P20806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___35778: undefined, - y___35784: undefined, - left___35790: undefined, - top___35795: undefined, - k___35800: undefined, - b___35805: undefined, + x___35922: undefined, + y___35928: undefined, + left___35934: undefined, + top___35939: undefined, + k___35944: undefined, + b___35949: undefined, arg0: undefined, } } @@ -42329,7 +42329,7 @@ function sprites_SpriteMap_draw__P20662_mk(s) { -function ArcadePhysicsEngine_removeSprite__P20747(s) { +function ArcadePhysicsEngine_removeSprite__P20891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42345,7 +42345,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -42353,12 +42353,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P20747.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_removeSprite__P20891.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_removeSprite__P20747_mk(s) { +function ArcadePhysicsEngine_removeSprite__P20891_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P20747, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P20891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42369,7 +42369,7 @@ function ArcadePhysicsEngine_removeSprite__P20747_mk(s) { -function ArcadePhysicsEngine_addSprite__P20746(s) { +function ArcadePhysicsEngine_addSprite__P20890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42379,31 +42379,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___35842 = undefined; + s.tm___35986 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20737_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_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__P21096_mk(s); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 539; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___35842 = (r0); - s.tmp_0 = r0 = s.tm___35842; + s.tm___35986 = (r0); + s.tmp_0 = r0 = s.tm___35986; 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__P20902_mk(s); - s.tmp_1.arg0 = s.tm___35842; + s.tmp_1 = tiles_TileMap_isOnWall__P21046_mk(s); + s.tmp_1.arg0 = s.tm___35986; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 540; s.pc = 6; return s.tmp_1; case 6: @@ -42425,12 +42425,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P20746.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_addSprite__P20890.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_addSprite__P20746_mk(s) { +function ArcadePhysicsEngine_addSprite__P20890_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P20746, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P20890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42438,7 +42438,7 @@ function ArcadePhysicsEngine_addSprite__P20746_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___35842: undefined, + tm___35986: undefined, arg0: undefined, arg1: undefined, } } @@ -42447,7 +42447,7 @@ function ArcadePhysicsEngine_addSprite__P20746_mk(s) { -function scene_BackgroundLayer_constructor__P20846(s) { +function scene_BackgroundLayer_constructor__P20990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42465,9 +42465,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C20839_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C20983_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P18689_mk(s); + s.tmp_2 = Math_max__P18833_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 771; s.pc = 7; return s.tmp_2; @@ -42513,12 +42513,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P20846.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__P20990.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__P20846_mk(s) { +function scene_BackgroundLayer_constructor__P20990_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P20846, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P20990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42533,7 +42533,7 @@ function scene_BackgroundLayer_constructor__P20846_mk(s) { -function scene_Background_image__P20836(s) { +function scene_Background_image__P20980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42549,18 +42549,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C20829_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C20973_VT)) failedCast(r0); r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_image__P20836.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} +scene_Background_image__P20980.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} -function scene_Background_image__P20836_mk(s) { +function scene_Background_image__P20980_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P20836, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P20980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42570,7 +42570,7 @@ function scene_Background_image__P20836_mk(s) { -function scene_Background_image__P20835(s) { +function scene_Background_image__P20979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42585,7 +42585,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C20829_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C20973_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -42595,9 +42595,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_3 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_6 = r0; r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; @@ -42608,13 +42608,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Background_image__P20835.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__P20835.isGetter = true; +scene_Background_image__P20979.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__P20979.isGetter = true; -function scene_Background_image__P20835_mk(s) { +function scene_Background_image__P20979_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P20835, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P20979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42630,7 +42630,7 @@ function scene_Background_image__P20835_mk(s) { -function particles_ParticleSource___draw__P21248(s) { +function particles_ParticleSource___draw__P21392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42640,18 +42640,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___35940 = undefined; - s.left___35943 = undefined; - s.top___35953 = undefined; + s.current___36084 = undefined; + s.left___36087 = undefined; + s.top___36097 = 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__C21242_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___35940 = (r0); + s.current___36084 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -42669,7 +42669,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___35943 = (s.tmp_4); + s.left___36087 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -42687,49 +42687,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___35953 = (s.tmp_4); + s.top___36097 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___35940); + r0 = pxsim_numops_toBoolDecr(s.current___36084); if (!r0) { step = 8; continue; } - r0 = s.current___35940.fields["lifespan"]; + r0 = s.current___36084.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__P22796_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P22940_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___35940; - s.tmp_2.arg2 = s.left___35943; - s.tmp_2.arg3 = s.top___35953; + s.tmp_2.arg1 = s.current___36084; + s.tmp_2.arg2 = s.left___36087; + s.tmp_2.arg3 = s.top___36097; s.callLocIdx = 1129; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___35940.fields["next"]; - s.current___35940 = (r0); + r0 = s.current___36084.fields["next"]; + s.current___36084 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P21248.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__P21392.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__P21248_mk(s) { +function particles_ParticleSource___draw__P21392_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P21248, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P21392, 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___35940: undefined, - left___35943: undefined, - top___35953: undefined, + current___36084: undefined, + left___36087: undefined, + top___36097: undefined, arg0: undefined, arg1: undefined, } } @@ -42738,7 +42738,7 @@ function particles_ParticleSource___draw__P21248_mk(s) { -function particles_ParticleSource_drawParticle__P22796(s) { +function particles_ParticleSource_drawParticle__P22940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42756,8 +42756,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21242_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C21278_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C21422_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -42769,7 +42769,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__C21278_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C21422_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: @@ -42778,12 +42778,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P22796.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__P22940.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__P22796_mk(s) { +function particles_ParticleSource_drawParticle__P22940_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P22796, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P22940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42798,7 +42798,7 @@ function particles_ParticleSource_drawParticle__P22796_mk(s) { -function particles_ParticleFactory_drawParticle__P21281(s) { +function particles_ParticleFactory_drawParticle__P21425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42816,8 +42816,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C21278_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___20366; + if (!checkSubtype(r0, particles_ParticleFactory__C21422_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___20510; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -42831,12 +42831,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P21281.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__P21425.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__P21281_mk(s) { +function particles_ParticleFactory_drawParticle__P21425_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P21281, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P21425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42853,7 +42853,7 @@ function particles_ParticleFactory_drawParticle__P21281_mk(s) { -function particles_ShapeFactory_createParticle__P21308(s) { +function particles_ShapeFactory_createParticle__P21452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42863,23 +42863,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___35925 = undefined; + s.p___36069 = 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__C21304_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P21294_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C21448_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P21438_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1223; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___35925 = (r0); - s.tmp_0 = r0 = s.p___35925; - s.tmp_2 = Math_FastRandom_randomRange__P21154_mk(s); + s.p___36069 = (r0); + s.tmp_0 = r0 = s.p___36069; + s.tmp_2 = Math_FastRandom_randomRange__P21298_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -42889,21 +42889,21 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___35925; + r0 = s.p___36069; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P21308.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__P21452.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__P21308_mk(s) { +function particles_ShapeFactory_createParticle__P21452_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P21308, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P21452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___35925: undefined, + p___36069: undefined, arg0: undefined, arg1: undefined, } } @@ -42912,7 +42912,7 @@ function particles_ShapeFactory_createParticle__P21308_mk(s) { -function particles_AreaFactory_createParticle__P21294(s) { +function particles_AreaFactory_createParticle__P21438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42922,23 +42922,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___36078 = undefined; + s.p___36222 = 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__C21288_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P21284_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C21432_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P21428_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1205; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___36078 = (r0); - s.tmp_0 = r0 = s.p___36078; - s.tmp_2 = Math_FastRandom_randomRange__P21154_mk(s); + s.p___36222 = (r0); + s.tmp_0 = r0 = s.p___36222; + s.tmp_2 = Math_FastRandom_randomRange__P21298_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -42950,8 +42950,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___36078; - s.tmp_4 = Math_FastRandom_randomRange__P21154_mk(s); + s.tmp_0 = r0 = s.p___36222; + s.tmp_4 = Math_FastRandom_randomRange__P21298_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -42967,7 +42967,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___36078.fields["_x"]; + r0 = s.p___36222.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -43009,8 +43009,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___36078; - s.tmp_9 = Math_FastRandom_randomRange__P21154_mk(s); + s.tmp_5 = r0 = s.p___36222; + s.tmp_9 = Math_FastRandom_randomRange__P21298_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -43022,23 +43022,23 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___36078.fields["_y"]; + r0 = s.p___36222.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___36078; + r0 = s.p___36222; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P21294.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__P21438.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__P21294_mk(s) { +function particles_AreaFactory_createParticle__P21438_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P21294, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P21438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43052,7 +43052,7 @@ function particles_AreaFactory_createParticle__P21294_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___36078: undefined, + p___36222: undefined, arg0: undefined, arg1: undefined, } } @@ -43061,7 +43061,7 @@ function particles_AreaFactory_createParticle__P21294_mk(s) { -function particles_SprayFactory_createParticle__P21284(s) { +function particles_SprayFactory_createParticle__P21428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43071,26 +43071,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___36126 = undefined; - s.angle___36130 = undefined; + s.p___36270 = undefined; + s.angle___36274 = 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__C21282_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P21280_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C21426_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P21424_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1194; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___36126 = (r0); + s.p___36270 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P21154_mk(s); - s.tmp_3.arg0 = globals.galois___22810; + s.tmp_3 = Math_FastRandom_randomRange__P21298_mk(s); + s.tmp_3.arg0 = globals.galois___22954; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -43101,9 +43101,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___36130 = (r0); - s.tmp_0 = r0 = s.p___36126; - r0 = pxsim_Array__getAt(globals.cachedSin___22805, s.angle___36130); + s.angle___36274 = (r0); + s.tmp_0 = r0 = s.p___36270; + r0 = pxsim_Array__getAt(globals.cachedSin___22949, s.angle___36274); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -43112,8 +43112,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___36126; - r0 = pxsim_Array__getAt(globals.cachedCos___22806, s.angle___36130); + s.tmp_0 = r0 = s.p___36270; + r0 = pxsim_Array__getAt(globals.cachedCos___22950, s.angle___36274); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -43122,24 +43122,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___36126; + r0 = s.p___36270; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P21284.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__P21428.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__P21284_mk(s) { +function particles_SprayFactory_createParticle__P21428_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P21284, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P21428, 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___36126: undefined, - angle___36130: undefined, + p___36270: undefined, + angle___36274: undefined, arg0: undefined, arg1: undefined, } } @@ -43148,7 +43148,7 @@ function particles_SprayFactory_createParticle__P21284_mk(s) { -function scene_Camera_y__P20934(s) { +function scene_Camera_y__P21078(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43163,10 +43163,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20924_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -43174,13 +43174,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P20934.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__P20934.isGetter = true; +scene_Camera_y__P21078.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__P21078.isGetter = true; -function scene_Camera_y__P20934_mk(s) { +function scene_Camera_y__P21078_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P20934, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P21078, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43192,7 +43192,7 @@ function scene_Camera_y__P20934_mk(s) { -function scene_Camera_x__P20933(s) { +function scene_Camera_x__P21077(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43207,10 +43207,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20924_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -43218,13 +43218,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P20933.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__P20933.isGetter = true; +scene_Camera_x__P21077.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__P21077.isGetter = true; -function scene_Camera_x__P20933_mk(s) { +function scene_Camera_x__P21077_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P20933, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P21077, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43236,7 +43236,7 @@ function scene_Camera_x__P20933_mk(s) { -function Sprite_toString__P20654(s) { +function Sprite_toString__P20798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43251,7 +43251,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -43269,7 +43269,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P20589_mk(s); + s.tmp_14 = Sprite_x__P20733_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 472; s.pc = 2; return s.tmp_14; case 2: @@ -43288,7 +43288,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P20591_mk(s); + s.tmp_17 = Sprite_y__P20735_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 473; s.pc = 4; return s.tmp_17; case 4: @@ -43307,7 +43307,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P20593_mk(s); + s.tmp_20 = Sprite_vx__P20737_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 474; s.pc = 6; return s.tmp_20; case 6: @@ -43326,7 +43326,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P20595_mk(s); + s.tmp_23 = Sprite_vy__P20739_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 475; s.pc = 8; return s.tmp_23; case 8: @@ -43347,12 +43347,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P20654.info = {"start":33194,"length":93,"line":980,"column":4,"endLine":982,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P20798.info = {"start":33194,"length":93,"line":980,"column":4,"endLine":982,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P20654_mk(s) { +function Sprite_toString__P20798_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P20654, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P20798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43385,7 +43385,7 @@ function Sprite_toString__P20654_mk(s) { -function Sprite___update__P20642(s) { +function Sprite___update__P20786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43395,8 +43395,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___36243 = undefined; - s.tm___36248 = undefined; + s.bounce___36387 = undefined; + s.tm___36392 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43404,7 +43404,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -43426,7 +43426,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__P20652_mk(s); + s.tmp_0 = Sprite__destroyCore__P20796_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 408; s.pc = 33; return s.tmp_0; case 33: @@ -43444,7 +43444,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P20640_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P20784_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 409; s.pc = 34; return s.tmp_2; @@ -43455,7 +43455,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P20651_mk(s); + s.tmp_4 = Sprite_destroy__P20795_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -43467,13 +43467,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___36243 = (r0); - s.tmp_0 = game_currentScene__P21096_mk(s); + s.bounce___36387 = (r0); + s.tmp_0 = game_currentScene__P21240_mk(s); s.callLocIdx = 411; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___36248 = (r0); + s.tm___36392 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -43483,13 +43483,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___36243; + s.tmp_2 = r0 = s.bounce___36387; 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___36248); + r0 = pxsim_numops_toBoolDecr(s.tm___36392); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -43501,7 +43501,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P20626_mk(s); + s.tmp_8 = Sprite_left__P20770_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 412; s.pc = 37; return s.tmp_8; case 37: @@ -43513,18 +43513,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P20627_mk(s); + s.tmp_10 = Sprite_left__P20771_mk(s); s.tmp_10.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_10.arg1 = r0; s.callLocIdx = 415; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___36243); + r0 = pxsim_numops_toBoolDecr(s.bounce___36387); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P20594_mk(s); + s.tmp_0 = Sprite_vx__P20738_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P20593_mk(s); + s.tmp_2 = Sprite_vx__P20737_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 416; s.pc = 40; return s.tmp_2; case 40: @@ -43539,7 +43539,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P20628_mk(s); + s.tmp_2 = Sprite_right__P20772_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 418; s.pc = 41; return s.tmp_2; case 41: @@ -43547,7 +43547,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -43555,22 +43555,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P20629_mk(s); + s.tmp_6 = Sprite_right__P20773_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20366); + r0 = pxsim_ImageMethods.width(globals.screen___20510); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 421; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___36243); + r0 = pxsim_numops_toBoolDecr(s.bounce___36387); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P20594_mk(s); + s.tmp_0 = Sprite_vx__P20738_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P20593_mk(s); + s.tmp_2 = Sprite_vx__P20737_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 422; s.pc = 44; return s.tmp_2; case 44: @@ -43586,7 +43586,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P20630_mk(s); + s.tmp_2 = Sprite_top__P20774_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 424; s.pc = 45; return s.tmp_2; case 45: @@ -43598,18 +43598,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P20631_mk(s); + s.tmp_4 = Sprite_top__P20775_mk(s); s.tmp_4.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4.arg1 = r0; s.callLocIdx = 427; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___36243); + r0 = pxsim_numops_toBoolDecr(s.bounce___36387); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P20596_mk(s); + s.tmp_0 = Sprite_vy__P20740_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P20595_mk(s); + s.tmp_2 = Sprite_vy__P20739_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 428; s.pc = 48; return s.tmp_2; case 48: @@ -43624,7 +43624,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P20632_mk(s); + s.tmp_2 = Sprite_bottom__P20776_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 430; s.pc = 49; return s.tmp_2; case 49: @@ -43632,7 +43632,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -43640,22 +43640,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P20633_mk(s); + s.tmp_6 = Sprite_bottom__P20777_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20366); + r0 = pxsim_ImageMethods.height(globals.screen___20510); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 433; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___36243); + r0 = pxsim_numops_toBoolDecr(s.bounce___36387); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P20596_mk(s); + s.tmp_0 = Sprite_vy__P20740_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P20595_mk(s); + s.tmp_2 = Sprite_vy__P20739_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 434; s.pc = 52; return s.tmp_2; case 52: @@ -43698,12 +43698,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P20642.info = {"start":22253,"length":1390,"line":682,"column":4,"endLine":721,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P20786.info = {"start":22253,"length":1390,"line":682,"column":4,"endLine":721,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P20642_mk(s) { +function Sprite___update__P20786_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P20642, depth: s.depth + 1, + parent: s, fn: Sprite___update__P20786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43716,8 +43716,8 @@ function Sprite___update__P20642_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___36243: undefined, - tm___36248: undefined, + bounce___36387: undefined, + tm___36392: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43727,7 +43727,7 @@ function Sprite___update__P20642_mk(s) { -function Sprite_bottom__P20633(s) { +function Sprite_bottom__P20777(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43743,8 +43743,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P20631_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P20775_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -43760,12 +43760,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P20633.info = {"start":10235,"length":73,"line":374,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P20777.info = {"start":10235,"length":73,"line":374,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P20633_mk(s) { +function Sprite_bottom__P20777_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P20633, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P20777, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43779,7 +43779,7 @@ function Sprite_bottom__P20633_mk(s) { -function Sprite_data__P20606(s) { +function Sprite_data__P20750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43795,18 +43795,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P20606.info = {"start":4292,"length":56,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P20750.info = {"start":4292,"length":56,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P20606_mk(s) { +function Sprite_data__P20750_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P20606, depth: s.depth + 1, + parent: s, fn: Sprite_data__P20750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43816,7 +43816,7 @@ function Sprite_data__P20606_mk(s) { -function sprites_BaseSprite___update__P20430(s) { +function sprites_BaseSprite___update__P20574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43833,17 +43833,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20422_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P20430.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__P20574.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__P20430_mk(s) { +function sprites_BaseSprite___update__P20574_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P20430, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P20574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43854,7 +43854,7 @@ function sprites_BaseSprite___update__P20430_mk(s) { -function sprites_BaseSprite___draw__P20428(s) { +function sprites_BaseSprite___draw__P20572(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43870,10 +43870,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20422_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C20422_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C20566_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C20422_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C20566_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: @@ -43881,10 +43881,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C20422_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C20566_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C20422_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C20566_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: @@ -43895,12 +43895,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P20428.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__P20572.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__P20428_mk(s) { +function sprites_BaseSprite___draw__P20572_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P20428, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P20572, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43913,7 +43913,7 @@ function sprites_BaseSprite___draw__P20428_mk(s) { -function sprites_BaseSprite___drawCore__P20429(s) { +function sprites_BaseSprite___drawCore__P20573(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43929,17 +43929,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20422_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P20429.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__P20573.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__P20429_mk(s) { +function sprites_BaseSprite___drawCore__P20573_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P20429, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P20573, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43949,7 +43949,7 @@ function sprites_BaseSprite___drawCore__P20429_mk(s) { -function sprites_BaseSprite___visible__P20425(s) { +function sprites_BaseSprite___visible__P20569(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43964,17 +43964,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20422_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P20425.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__P20569.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__P20425_mk(s) { +function sprites_BaseSprite___visible__P20569_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P20425, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P20569, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -43983,7 +43983,7 @@ function sprites_BaseSprite___visible__P20425_mk(s) { -function controller_AnyButton_isPressed__P22281(s) { +function controller_AnyButton_isPressed__P22425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43993,36 +43993,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___36345 = undefined; - s.b___36349 = undefined; - s.unnamed226___U2 = undefined; - s.unnamed227___U3 = undefined; + s.ctrl___36489 = undefined; + s.b___36493 = undefined; + s.unnamed246___U2 = undefined; + s.unnamed247___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C22279_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P20481_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C22423_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P20625_mk(s); s.callLocIdx = 157; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___36345 = (r0); - s.b___36349 = (undefined); - r0 = s.ctrl___36345.fields["buttons"]; - s.unnamed226___U2 = (r0); - s.unnamed227___U3 = (0); + s.ctrl___36489 = (r0); + s.b___36493 = (undefined); + r0 = s.ctrl___36489.fields["buttons"]; + s.unnamed246___U2 = (r0); + s.unnamed247___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed227___U3; - r0 = pxsim_Array__length(s.unnamed226___U2); + s.tmp_0 = r0 = s.unnamed247___U3; + r0 = pxsim_Array__length(s.unnamed246___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed226___U2, s.unnamed227___U3); - s.b___36349 = (r0); - s.tmp_3 = controller_Button__C20467_v0_1_mk(s); - s.tmp_3.arg0 = s.b___36349; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C20467_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed246___U2, s.unnamed247___U3); + s.b___36493 = (r0); + s.tmp_3 = controller_Button__C20611_v0_1_mk(s); + s.tmp_3.arg0 = s.b___36493; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C20611_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: @@ -44034,31 +44034,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed227___U3 + 1); - s.unnamed227___U3 = (r0); + r0 = (s.unnamed247___U3 + 1); + s.unnamed247___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed226___U2 = (undefined); + s.unnamed246___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P22281.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__P22425.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__P22281_mk(s) { +function controller_AnyButton_isPressed__P22425_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P22281, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P22425, 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___36345: undefined, - b___36349: undefined, - unnamed226___U2: undefined, - unnamed227___U3: undefined, + ctrl___36489: undefined, + b___36493: undefined, + unnamed246___U2: undefined, + unnamed247___U3: undefined, arg0: undefined, } } @@ -44066,7 +44066,7 @@ function controller_AnyButton_isPressed__P22281_mk(s) { -function controller_Button_toString__P20472(s) { +function controller_Button_toString__P20616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44081,7 +44081,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20467_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -44121,12 +44121,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P20472.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__P20616.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__P20472_mk(s) { +function controller_Button_toString__P20616_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P20472, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P20616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44142,7 +44142,7 @@ function controller_Button_toString__P20472_mk(s) { -function sprites_StaticObstacle_width__P20720(s) { +function sprites_StaticObstacle_width__P20864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44157,20 +44157,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20710_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C20854_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__P20720.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__P20720.isGetter = true; +sprites_StaticObstacle_width__P20864.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__P20864.isGetter = true; -function sprites_StaticObstacle_width__P20720_mk(s) { +function sprites_StaticObstacle_width__P20864_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P20720, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P20864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44180,7 +44180,7 @@ function sprites_StaticObstacle_width__P20720_mk(s) { -function sprites_StaticObstacle_height__P20719(s) { +function sprites_StaticObstacle_height__P20863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44195,20 +44195,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20710_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C20854_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__P20719.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__P20719.isGetter = true; +sprites_StaticObstacle_height__P20863.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__P20863.isGetter = true; -function sprites_StaticObstacle_height__P20719_mk(s) { +function sprites_StaticObstacle_height__P20863_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P20719, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P20863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44218,7 +44218,7 @@ function sprites_StaticObstacle_height__P20719_mk(s) { -function sprites_StaticObstacle_y__P20718(s) { +function sprites_StaticObstacle_y__P20862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44233,7 +44233,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20710_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C20854_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -44246,13 +44246,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P20718.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__P20718.isGetter = true; +sprites_StaticObstacle_y__P20862.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__P20862.isGetter = true; -function sprites_StaticObstacle_y__P20718_mk(s) { +function sprites_StaticObstacle_y__P20862_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P20718, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P20862, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44265,7 +44265,7 @@ function sprites_StaticObstacle_y__P20718_mk(s) { -function sprites_StaticObstacle_x__P20717(s) { +function sprites_StaticObstacle_x__P20861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44280,7 +44280,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20710_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C20854_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -44293,13 +44293,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P20717.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__P20717.isGetter = true; +sprites_StaticObstacle_x__P20861.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__P20861.isGetter = true; -function sprites_StaticObstacle_x__P20717_mk(s) { +function sprites_StaticObstacle_x__P20861_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P20717, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P20861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44312,7 +44312,7 @@ function sprites_StaticObstacle_x__P20717_mk(s) { -function scene_Renderable___drawCore__P20945(s) { +function scene_Renderable___drawCore__P21089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44328,10 +44328,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C20942_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C21086_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___20366; + s.tmp_0.arg1 = globals.screen___20510; 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); @@ -44348,12 +44348,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P20945.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__P21089.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__P20945_mk(s) { +function scene_Renderable___drawCore__P21089_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P20945, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P21089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44364,7 +44364,7 @@ function scene_Renderable___drawCore__P20945_mk(s) { -function scene_Renderable___visible__P20944(s) { +function scene_Renderable___visible__P21088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44379,7 +44379,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C20942_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C21086_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -44396,12 +44396,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P20944.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__P21088.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__P20944_mk(s) { +function scene_Renderable___visible__P21088_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P20944, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P21088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44411,7 +44411,7 @@ function scene_Renderable___visible__P20944_mk(s) { -function particles_AshFactory_drawParticle__P21325(s) { +function particles_AshFactory_drawParticle__P21469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44429,8 +44429,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AshFactory__C21322_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___20366; + if (!checkSubtype(r0, particles_AshFactory__C21466_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___20510; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -44446,12 +44446,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AshFactory_drawParticle__P21325.info = {"start":13926,"length":117,"line":444,"column":8,"endLine":446,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} +particles_AshFactory_drawParticle__P21469.info = {"start":13926,"length":117,"line":444,"column":8,"endLine":446,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} -function particles_AshFactory_drawParticle__P21325_mk(s) { +function particles_AshFactory_drawParticle__P21469_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_drawParticle__P21325, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_drawParticle__P21469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44469,7 +44469,7 @@ function particles_AshFactory_drawParticle__P21325_mk(s) { -function particles_ShapeFactory_drawParticle__P21307(s) { +function particles_ShapeFactory_drawParticle__P21451(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44479,7 +44479,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___36399 = undefined; + s.pImage___36543 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44488,8 +44488,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C21304_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P21155_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C21448_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P21299_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -44499,12 +44499,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___36399 = (r0); + s.pImage___36543 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___36399, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___20366; - s.tmp_1 = r0 = s.pImage___36399; + r0 = pxsim_ImageMethods.replace(s.pImage___36543, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___20510; + s.tmp_1 = r0 = s.pImage___36543; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -44526,12 +44526,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P21307.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__P21451.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__P21307_mk(s) { +function particles_ShapeFactory_drawParticle__P21451_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P21307, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P21451, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44543,7 +44543,7 @@ function particles_ShapeFactory_drawParticle__P21307_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___36399: undefined, + pImage___36543: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44554,7 +44554,7 @@ function particles_ShapeFactory_drawParticle__P21307_mk(s) { -function Math_FastRandom_pickRandom__P21155(s) { +function Math_FastRandom_pickRandom__P21299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44570,7 +44570,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21150_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C21294_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -44593,7 +44593,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P21154_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P21298_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -44609,12 +44609,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P21155.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__P21299.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__P21155_mk(s) { +function Math_FastRandom_pickRandom__P21299_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P21155, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P21299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44632,7 +44632,7 @@ function Math_FastRandom_pickRandom__P21155_mk(s) { -function particles_AreaFactory_drawParticle__P21295(s) { +function particles_AreaFactory_drawParticle__P21439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44642,7 +44642,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___36458 = undefined; + s.col___36602 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44651,7 +44651,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C21288_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C21432_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -44678,8 +44678,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___36458 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___20366; + s.col___36602 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___20510; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -44688,17 +44688,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___36458); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___36602); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P21295.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__P21439.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__P21295_mk(s) { +function particles_AreaFactory_drawParticle__P21439_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P21295, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P21439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44706,7 +44706,7 @@ function particles_AreaFactory_drawParticle__P21295_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___36458: undefined, + col___36602: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44717,7 +44717,7 @@ function particles_AreaFactory_drawParticle__P21295_mk(s) { -function particles_SprayFactory_drawParticle__P21285(s) { +function particles_SprayFactory_drawParticle__P21429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44735,8 +44735,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C21282_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___20366; + if (!checkSubtype(r0, particles_SprayFactory__C21426_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___20510; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -44750,12 +44750,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P21285.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__P21429.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__P21285_mk(s) { +function particles_SprayFactory_drawParticle__P21429_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P21285, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P21429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44772,7 +44772,7 @@ function particles_SprayFactory_drawParticle__P21285_mk(s) { -function scene_Camera_top__P20937(s) { +function scene_Camera_top__P21081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44787,18 +44787,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20924_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P20937.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__P20937.isGetter = true; +scene_Camera_top__P21081.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__P21081.isGetter = true; -function scene_Camera_top__P20937_mk(s) { +function scene_Camera_top__P21081_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P20937, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P21081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -44807,7 +44807,7 @@ function scene_Camera_top__P20937_mk(s) { -function scene_Camera_left__P20935(s) { +function scene_Camera_left__P21079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44822,18 +44822,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20924_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P20935.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__P20935.isGetter = true; +scene_Camera_left__P21079.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__P21079.isGetter = true; -function scene_Camera_left__P20935_mk(s) { +function scene_Camera_left__P21079_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P20935, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P21079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -44842,7 +44842,7 @@ function scene_Camera_left__P20935_mk(s) { -function Sprite___drawCore__P20641(s) { +function Sprite___drawCore__P20785(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44852,21 +44852,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___36495 = undefined; - s.oy___36503 = undefined; - s.l___36511 = undefined; - s.t___36515 = undefined; - s.font___36530 = undefined; - s.tx___36534 = undefined; - s.ty___36536 = undefined; + s.ox___36639 = undefined; + s.oy___36647 = undefined; + s.l___36655 = undefined; + s.t___36659 = undefined; + s.font___36674 = undefined; + s.tx___36678 = undefined; + s.ty___36680 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); - s.tmp_1 = Sprite_isOutOfScreen__P20640_mk(s); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + s.tmp_1 = Sprite_isOutOfScreen__P20784_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 381; s.pc = 20; return s.tmp_1; @@ -44891,7 +44891,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___36495 = (s.tmp_4); + s.ox___36639 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -44905,35 +44905,35 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___36503 = (s.tmp_2); - s.tmp_1 = Sprite_left__P20626_mk(s); + s.oy___36647 = (s.tmp_2); + s.tmp_1 = Sprite_left__P20770_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 382; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.ox___36495); - s.l___36511 = (r0); - s.tmp_1 = Sprite_top__P20630_mk(s); + r0 = (s.tmp_0 - s.ox___36639); + s.l___36655 = (r0); + s.tmp_1 = Sprite_top__P20774_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 383; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.oy___36503); - s.t___36515 = (r0); + r0 = (s.tmp_0 - s.oy___36647); + s.t___36659 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___20366, s.tmp_0, s.l___36511, s.t___36515); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___20510, s.tmp_0, s.l___36655, s.t___36659); 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___36530 = (globals.font5___20314); - s.tx___36534 = (s.l___36511); - s.tmp_1 = r0 = s.t___36515; + s.font___36674 = (globals.font5___20458); + s.tx___36678 = (s.l___36655); + s.tmp_1 = r0 = s.t___36659; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -44941,12 +44941,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___36536 = (r0); - s.tmp_0 = helpers_imagePrint__P20324_mk(s); - s.tmp_0.arg0 = globals.screen___20366; + s.ty___36680 = (r0); + s.tmp_0 = helpers_imagePrint__P20468_mk(s); + s.tmp_0.arg0 = globals.screen___20510; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P20589_mk(s); + s.tmp_7 = Sprite_x__P20733_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 385; s.pc = 24; return s.tmp_7; case 24: @@ -44967,7 +44967,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P20591_mk(s); + s.tmp_11 = Sprite_y__P20735_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 386; s.pc = 26; return s.tmp_11; case 26: @@ -44986,17 +44986,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___36534; - s.tmp_0.arg3 = s.ty___36536; + s.tmp_0.arg2 = s.tx___36678; + s.tmp_0.arg3 = s.ty___36680; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___36530; + s.tmp_0.arg5 = s.font___36674; s.tmp_0.arg6 = undefined; s.callLocIdx = 387; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = r0 = s.tx___36534; + s.tmp_0 = r0 = s.tx___36678; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___36530; + s.tmp_2.arg0 = s.font___36674; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -45009,8 +45009,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___36534 = (r0); - s.tmp_1 = Sprite_vx__P20593_mk(s); + s.tx___36678 = (r0); + s.tmp_1 = Sprite_vx__P20737_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 389; s.pc = 29; return s.tmp_1; case 29: @@ -45021,7 +45021,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_2 = Sprite_vy__P20595_mk(s); + s.tmp_2 = Sprite_vy__P20739_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 390; s.pc = 30; return s.tmp_2; case 30: @@ -45031,9 +45031,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___36536; + s.tmp_4 = r0 = s.ty___36680; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___36530; + s.tmp_7.arg0 = s.font___36674; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -45048,10 +45048,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___36536 = (r0); - s.tmp_0 = helpers_imagePrint__P20324_mk(s); - s.tmp_0.arg0 = globals.screen___20366; - s.tmp_6 = Sprite_vx__P20593_mk(s); + s.ty___36680 = (r0); + s.tmp_0 = helpers_imagePrint__P20468_mk(s); + s.tmp_0.arg0 = globals.screen___20510; + s.tmp_6 = Sprite_vx__P20737_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 392; s.pc = 33; return s.tmp_6; case 33: @@ -45072,7 +45072,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P20595_mk(s); + s.tmp_10 = Sprite_vy__P20739_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 393; s.pc = 35; return s.tmp_10; case 35: @@ -45091,17 +45091,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___36534; - s.tmp_0.arg3 = s.ty___36536; + s.tmp_0.arg2 = s.tx___36678; + s.tmp_0.arg3 = s.ty___36680; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___36530; + s.tmp_0.arg5 = s.font___36674; s.tmp_0.arg6 = undefined; s.callLocIdx = 394; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 9: case 10: - s.tmp_1 = Sprite_ax__P20597_mk(s); + s.tmp_1 = Sprite_ax__P20741_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 395; s.pc = 37; return s.tmp_1; case 37: @@ -45112,7 +45112,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_2 = Sprite_ay__P20599_mk(s); + s.tmp_2 = Sprite_ay__P20743_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 396; s.pc = 38; return s.tmp_2; case 38: @@ -45122,9 +45122,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___36536; + s.tmp_4 = r0 = s.ty___36680; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___36530; + s.tmp_7.arg0 = s.font___36674; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -45139,10 +45139,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___36536 = (r0); - s.tmp_0 = helpers_imagePrint__P20324_mk(s); - s.tmp_0.arg0 = globals.screen___20366; - s.tmp_6 = Sprite_ax__P20597_mk(s); + s.ty___36680 = (r0); + s.tmp_0 = helpers_imagePrint__P20468_mk(s); + s.tmp_0.arg0 = globals.screen___20510; + s.tmp_6 = Sprite_ax__P20741_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 398; s.pc = 41; return s.tmp_6; case 41: @@ -45163,7 +45163,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P20599_mk(s); + s.tmp_10 = Sprite_ay__P20743_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 399; s.pc = 43; return s.tmp_10; case 43: @@ -45182,10 +45182,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___36534; - s.tmp_0.arg3 = s.ty___36536; + s.tmp_0.arg2 = s.tx___36678; + s.tmp_0.arg3 = s.ty___36680; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___36530; + s.tmp_0.arg5 = s.font___36674; s.tmp_0.arg6 = undefined; s.callLocIdx = 400; s.pc = 40; return s.tmp_0; case 40: @@ -45194,11 +45194,11 @@ switch (step) { case 14: case 15: case 16: - r0 = pxsim_numops_toBoolDecr(globals.debug___21092); + r0 = pxsim_numops_toBoolDecr(globals.debug___21236); if (!r0) { step = 17; continue; } - s.tmp_0 = helpers_imageDrawRect__P20295_mk(s); - s.tmp_0.arg0 = globals.screen___20366; - s.tmp_3 = game_Hitbox_left__P20530_mk(s); + s.tmp_0 = helpers_imageDrawRect__P20439_mk(s); + s.tmp_0.arg0 = globals.screen___20510; + s.tmp_3 = game_Hitbox_left__P20674_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 401; s.pc = 46; return s.tmp_3; @@ -45209,9 +45209,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___36495); + r0 = (s.tmp_1 - s.ox___36639); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P20531_mk(s); + s.tmp_7 = game_Hitbox_top__P20675_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 403; s.pc = 47; return s.tmp_7; @@ -45222,7 +45222,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___36503); + r0 = (s.tmp_5 - s.oy___36647); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -45249,12 +45249,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P20641.info = {"start":20864,"length":1383,"line":642,"column":4,"endLine":680,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P20785.info = {"start":20864,"length":1383,"line":642,"column":4,"endLine":680,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P20641_mk(s) { +function Sprite___drawCore__P20785_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P20641, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P20785, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45269,13 +45269,13 @@ function Sprite___drawCore__P20641_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___36495: undefined, - oy___36503: undefined, - l___36511: undefined, - t___36515: undefined, - font___36530: undefined, - tx___36534: undefined, - ty___36536: undefined, + ox___36639: undefined, + oy___36647: undefined, + l___36655: undefined, + t___36659: undefined, + font___36674: undefined, + tx___36678: undefined, + ty___36680: undefined, arg0: undefined, arg1: undefined, } } @@ -45284,7 +45284,7 @@ function Sprite___drawCore__P20641_mk(s) { -function Sprite___visible__P20623(s) { +function Sprite___visible__P20767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45299,7 +45299,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20580_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -45310,12 +45310,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P20623.info = {"start":8329,"length":72,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P20767.info = {"start":8329,"length":72,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P20623_mk(s) { +function Sprite___visible__P20767_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P20623, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P20767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45415,7 +45415,7 @@ function if_z_1_mk(s) { } } -function PhysicsEngine__C20723_v2_4_mk(s) { +function PhysicsEngine__C20867_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45519,7 +45519,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C21278_v0_2_mk(s) { +function particles_ParticleFactory__C21422_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45534,7 +45534,7 @@ function particles_ParticleFactory__C21278_v0_2_mk(s) { } } -function particles_ParticleSource__C21242_v4_3_mk(s) { +function particles_ParticleSource__C21386_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45607,7 +45607,7 @@ function if_id_2_mk(s) { } } -function PhysicsEngine__C20723_v4_2_mk(s) { +function PhysicsEngine__C20867_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45653,7 +45653,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C20723_v3_1_mk(s) { +function PhysicsEngine__C20867_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45696,7 +45696,7 @@ function if_id_1_mk(s) { } } -function controller_Button__C20467_v0_1_mk(s) { +function controller_Button__C20611_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45854,7 +45854,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C20723_v1_2_mk(s) { +function PhysicsEngine__C20867_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45914,7 +45914,7 @@ function if_comparator_3_mk(s) { } } -function PhysicsEngine__C20723_v0_2_mk(s) { +function PhysicsEngine__C20867_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46183,7 +46183,7 @@ function if_top_1_mk(s) { } } -function particles_ParticleFactory__C21278_v1_4_mk(s) { +function particles_ParticleFactory__C21422_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46200,7 +46200,7 @@ function particles_ParticleFactory__C21278_v1_4_mk(s) { } } -function sprites_BaseSprite__C20422_v0_1_mk(s) { +function sprites_BaseSprite__C20566_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46214,7 +46214,7 @@ function sprites_BaseSprite__C20422_v0_1_mk(s) { } } -function sprites_BaseSprite__C20422_v2_2_mk(s) { +function sprites_BaseSprite__C20566_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46384,14 +46384,14 @@ function if_onEndHandler_1_mk(s) { arg0: undefined, } } -const controller_Button__C20467_VT = mkVTable({ +const controller_Button__C20611_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P20476, + "isPressed": controller_Button_isPressed__P20620, }, iface: { "_owner": null, @@ -46408,26 +46408,26 @@ const controller_Button__C20467_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P20472, - "raiseButtonUp": controller_Button_raiseButtonUp__P22276, - "raiseButtonDown": controller_Button_raiseButtonDown__P22277, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P22278, - "onEvent": controller_Button_onEvent__P20474, - "isPressed": controller_Button_isPressed__P20476, - "pressureLevel": controller_Button_pressureLevel__P20477, - "setPressed": controller_Button_setPressed__P20478, - "__update": controller_Button___update__P20479, + "toString": controller_Button_toString__P20616, + "raiseButtonUp": controller_Button_raiseButtonUp__P22420, + "raiseButtonDown": controller_Button_raiseButtonDown__P22421, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P22422, + "onEvent": controller_Button_onEvent__P20618, + "isPressed": controller_Button_isPressed__P20620, + "pressureLevel": controller_Button_pressureLevel__P20621, + "setPressed": controller_Button_setPressed__P20622, + "__update": controller_Button___update__P20623, }, - toStringMethod: controller_Button_toString__P20472, + toStringMethod: controller_Button_toString__P20616, }); -const controller_AnyButton__C22279_VT = mkVTable({ +const controller_AnyButton__C22423_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P22281, + "isPressed": controller_AnyButton_isPressed__P22425, }, iface: { "_owner": null, @@ -46444,18 +46444,18 @@ const controller_AnyButton__C22279_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P22281, - "toString": controller_Button_toString__P20472, - "raiseButtonUp": controller_Button_raiseButtonUp__P22276, - "raiseButtonDown": controller_Button_raiseButtonDown__P22277, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P22278, - "onEvent": controller_Button_onEvent__P20474, - "pressureLevel": controller_Button_pressureLevel__P20477, - "setPressed": controller_Button_setPressed__P20478, - "__update": controller_Button___update__P20479, + "isPressed": controller_AnyButton_isPressed__P22425, + "toString": controller_Button_toString__P20616, + "raiseButtonUp": controller_Button_raiseButtonUp__P22420, + "raiseButtonDown": controller_Button_raiseButtonDown__P22421, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P22422, + "onEvent": controller_Button_onEvent__P20618, + "pressureLevel": controller_Button_pressureLevel__P20621, + "setPressed": controller_Button_setPressed__P20622, + "__update": controller_Button___update__P20623, }, }); -const Math_FastRandom__C21150_VT = mkVTable({ +const Math_FastRandom__C21294_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -46468,13 +46468,13 @@ const Math_FastRandom__C21150_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P21153, - "randomRange": Math_FastRandom_randomRange__P21154, - "pickRandom": Math_FastRandom_pickRandom__P21155, - "percentChance": Math_FastRandom_percentChance__P21157, + "next": Math_FastRandom_next__P21297, + "randomRange": Math_FastRandom_randomRange__P21298, + "pickRandom": Math_FastRandom_pickRandom__P21299, + "percentChance": Math_FastRandom_percentChance__P21301, }, }); -const texteffects_TextEffect__C21395_VT = mkVTable({ +const texteffects_TextEffect__C21539_VT = mkVTable({ name: "TextEffect", numFields: 1, classNo: 19, @@ -46487,42 +46487,42 @@ const texteffects_TextEffect__C21395_VT = mkVTable({ "set/getState": null, }, }); -const sprites_BaseSprite__C20422_VT = mkVTable({ +const sprites_BaseSprite__C20566_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 20, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P20425, - "__draw": sprites_BaseSprite___draw__P20428, - "__drawCore": sprites_BaseSprite___drawCore__P20429, - "__update": sprites_BaseSprite___update__P20430, + "__visible": sprites_BaseSprite___visible__P20569, + "__draw": sprites_BaseSprite___draw__P20572, + "__drawCore": sprites_BaseSprite___drawCore__P20573, + "__update": sprites_BaseSprite___update__P20574, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P20425, - "z": sprites_BaseSprite_z__P20426, - "set/z": sprites_BaseSprite_z__P20427, - "__draw": sprites_BaseSprite___draw__P20428, - "__drawCore": sprites_BaseSprite___drawCore__P20429, - "__update": sprites_BaseSprite___update__P20430, + "__visible": sprites_BaseSprite___visible__P20569, + "z": sprites_BaseSprite_z__P20570, + "set/z": sprites_BaseSprite_z__P20571, + "__draw": sprites_BaseSprite___draw__P20572, + "__drawCore": sprites_BaseSprite___drawCore__P20573, + "__update": sprites_BaseSprite___update__P20574, }, }); -const Sprite__C20580_VT = mkVTable({ +const Sprite__C20724_VT = mkVTable({ name: "Sprite", numFields: 26, classNo: 21, lastSubtypeNo: 21, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P20623, - "__draw": sprites_BaseSprite___draw__P20428, - "__drawCore": Sprite___drawCore__P20641, - "__update": Sprite___update__P20642, + "__visible": Sprite___visible__P20767, + "__draw": sprites_BaseSprite___draw__P20572, + "__drawCore": Sprite___drawCore__P20785, + "__update": Sprite___update__P20786, }, iface: { "_z": null, @@ -46577,61 +46577,61 @@ const Sprite__C20580_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P20589, - "set/x": Sprite_x__P20590, - "y": Sprite_y__P20591, - "set/y": Sprite_y__P20592, - "vx": Sprite_vx__P20593, - "set/vx": Sprite_vx__P20594, - "vy": Sprite_vy__P20595, - "set/vy": Sprite_vy__P20596, - "ax": Sprite_ax__P20597, - "set/ax": Sprite_ax__P20598, - "ay": Sprite_ay__P20599, - "set/ay": Sprite_ay__P20600, - "fx": Sprite_fx__P20601, - "set/fx": Sprite_fx__P20602, - "fy": Sprite_fy__P20603, - "set/fy": Sprite_fy__P20604, - "data": Sprite_data__P20605, - "set/data": Sprite_data__P20606, - "image": Sprite_image__P20619, - "setImage": Sprite_setImage__P20620, - "setHitbox": Sprite_setHitbox__P20621, - "isStatic": Sprite_isStatic__P20622, - "__visible": Sprite___visible__P20623, - "width": Sprite_width__P20624, - "height": Sprite_height__P20625, - "left": Sprite_left__P20626, - "set/left": Sprite_left__P20627, - "right": Sprite_right__P20628, - "set/right": Sprite_right__P20629, - "top": Sprite_top__P20630, - "set/top": Sprite_top__P20631, - "bottom": Sprite_bottom__P20632, - "set/bottom": Sprite_bottom__P20633, - "kind": Sprite_kind__P20634, - "setKind": Sprite_setKind__P20635, - "setPosition": Sprite_setPosition__P20636, - "setVelocity": Sprite_setVelocity__P20637, - "say": Sprite_say__P20638, - "isOutOfScreen": Sprite_isOutOfScreen__P20640, - "__drawCore": Sprite___drawCore__P20641, - "__update": Sprite___update__P20642, - "setFlag": Sprite_setFlag__P20643, - "overlapsWith": Sprite_overlapsWith__P20644, - "clearObstacles": Sprite_clearObstacles__P20648, - "registerObstacle": Sprite_registerObstacle__P20649, - "destroy": Sprite_destroy__P20651, - "_destroyCore": Sprite__destroyCore__P20652, - "toString": Sprite_toString__P20654, - "z": sprites_BaseSprite_z__P20426, - "set/z": sprites_BaseSprite_z__P20427, - "__draw": sprites_BaseSprite___draw__P20428, + "x": Sprite_x__P20733, + "set/x": Sprite_x__P20734, + "y": Sprite_y__P20735, + "set/y": Sprite_y__P20736, + "vx": Sprite_vx__P20737, + "set/vx": Sprite_vx__P20738, + "vy": Sprite_vy__P20739, + "set/vy": Sprite_vy__P20740, + "ax": Sprite_ax__P20741, + "set/ax": Sprite_ax__P20742, + "ay": Sprite_ay__P20743, + "set/ay": Sprite_ay__P20744, + "fx": Sprite_fx__P20745, + "set/fx": Sprite_fx__P20746, + "fy": Sprite_fy__P20747, + "set/fy": Sprite_fy__P20748, + "data": Sprite_data__P20749, + "set/data": Sprite_data__P20750, + "image": Sprite_image__P20763, + "setImage": Sprite_setImage__P20764, + "setHitbox": Sprite_setHitbox__P20765, + "isStatic": Sprite_isStatic__P20766, + "__visible": Sprite___visible__P20767, + "width": Sprite_width__P20768, + "height": Sprite_height__P20769, + "left": Sprite_left__P20770, + "set/left": Sprite_left__P20771, + "right": Sprite_right__P20772, + "set/right": Sprite_right__P20773, + "top": Sprite_top__P20774, + "set/top": Sprite_top__P20775, + "bottom": Sprite_bottom__P20776, + "set/bottom": Sprite_bottom__P20777, + "kind": Sprite_kind__P20778, + "setKind": Sprite_setKind__P20779, + "setPosition": Sprite_setPosition__P20780, + "setVelocity": Sprite_setVelocity__P20781, + "say": Sprite_say__P20782, + "isOutOfScreen": Sprite_isOutOfScreen__P20784, + "__drawCore": Sprite___drawCore__P20785, + "__update": Sprite___update__P20786, + "setFlag": Sprite_setFlag__P20787, + "overlapsWith": Sprite_overlapsWith__P20788, + "clearObstacles": Sprite_clearObstacles__P20792, + "registerObstacle": Sprite_registerObstacle__P20793, + "destroy": Sprite_destroy__P20795, + "_destroyCore": Sprite__destroyCore__P20796, + "toString": Sprite_toString__P20798, + "z": sprites_BaseSprite_z__P20570, + "set/z": sprites_BaseSprite_z__P20571, + "__draw": sprites_BaseSprite___draw__P20572, }, - toStringMethod: Sprite_toString__P20654, + toStringMethod: Sprite_toString__P20798, }); -const scene_Scene__C20983_VT = mkVTable({ +const scene_Scene__C21127_VT = mkVTable({ name: "Scene", numFields: 23, classNo: 24, @@ -46686,14 +46686,14 @@ const scene_Scene__C20983_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P21005, - "data": scene_Scene_data__P21006, - "millis": scene_Scene_millis__P21007, - "addSprite": scene_Scene_addSprite__P21008, - "render": scene_Scene_render__P21010, + "init": scene_Scene_init__P21149, + "data": scene_Scene_data__P21150, + "millis": scene_Scene_millis__P21151, + "addSprite": scene_Scene_addSprite__P21152, + "render": scene_Scene_render__P21154, }, }); -const tiles_Location__C20853_VT = mkVTable({ +const tiles_Location__C20997_VT = mkVTable({ name: "Location", numFields: 3, classNo: 25, @@ -46708,15 +46708,15 @@ const tiles_Location__C20853_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "col": tiles_Location_col__P20854, - "row": tiles_Location_row__P20855, - "x": tiles_Location_x__P20857, - "y": tiles_Location_y__P20858, - "tileSet": tiles_Location_tileSet__P20859, - "place": tiles_Location_place__P20860, + "col": tiles_Location_col__P20998, + "row": tiles_Location_row__P20999, + "x": tiles_Location_x__P21001, + "y": tiles_Location_y__P21002, + "tileSet": tiles_Location_tileSet__P21003, + "place": tiles_Location_place__P21004, }, }); -const tiles_TileMap__C20881_VT = mkVTable({ +const tiles_TileMap__C21025_VT = mkVTable({ name: "TileMap", numFields: 3, classNo: 26, @@ -46731,26 +46731,26 @@ const tiles_TileMap__C20881_VT = mkVTable({ "set/_layer": null, "_map": null, "set/_map": null, - "scale": tiles_TileMap_scale__P20883, - "set/scale": tiles_TileMap_scale__P20884, - "data": tiles_TileMap_data__P22384, - "offsetX": tiles_TileMap_offsetX__P20885, - "offsetY": tiles_TileMap_offsetY__P20886, - "areaWidth": tiles_TileMap_areaWidth__P20887, - "areaHeight": tiles_TileMap_areaHeight__P20888, - "layer": tiles_TileMap_layer__P20889, - "enabled": tiles_TileMap_enabled__P20891, - "setData": tiles_TileMap_setData__P20892, - "getTile": tiles_TileMap_getTile__P20893, - "getTileIndex": tiles_TileMap_getTileIndex__P20894, - "draw": tiles_TileMap_draw__P22386, - "isObstacle": tiles_TileMap_isObstacle__P20900, - "getObstacle": tiles_TileMap_getObstacle__P20901, - "isOnWall": tiles_TileMap_isOnWall__P20902, - "getTileImage": tiles_TileMap_getTileImage__P20903, + "scale": tiles_TileMap_scale__P21027, + "set/scale": tiles_TileMap_scale__P21028, + "data": tiles_TileMap_data__P22528, + "offsetX": tiles_TileMap_offsetX__P21029, + "offsetY": tiles_TileMap_offsetY__P21030, + "areaWidth": tiles_TileMap_areaWidth__P21031, + "areaHeight": tiles_TileMap_areaHeight__P21032, + "layer": tiles_TileMap_layer__P21033, + "enabled": tiles_TileMap_enabled__P21035, + "setData": tiles_TileMap_setData__P21036, + "getTile": tiles_TileMap_getTile__P21037, + "getTileIndex": tiles_TileMap_getTileIndex__P21038, + "draw": tiles_TileMap_draw__P22530, + "isObstacle": tiles_TileMap_isObstacle__P21044, + "getObstacle": tiles_TileMap_getObstacle__P21045, + "isOnWall": tiles_TileMap_isOnWall__P21046, + "getTileImage": tiles_TileMap_getTileImage__P21047, }, }); -const control_EventContext__C18948_VT = mkVTable({ +const control_EventContext__C19092_VT = mkVTable({ name: "EventContext", numFields: 9, classNo: 27, @@ -46777,16 +46777,16 @@ const control_EventContext__C18948_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P18953, - "runCallbacks": control_EventContext_runCallbacks__P22121, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P22122, - "register": control_EventContext_register__P18954, - "unregister": control_EventContext_unregister__P18955, - "registerFrameHandler": control_EventContext_registerFrameHandler__P18956, - "registerHandler": control_EventContext_registerHandler__P18958, + "deltaTime": control_EventContext_deltaTime__P19097, + "runCallbacks": control_EventContext_runCallbacks__P22265, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P22266, + "register": control_EventContext_register__P19098, + "unregister": control_EventContext_unregister__P19099, + "registerFrameHandler": control_EventContext_registerFrameHandler__P19100, + "registerHandler": control_EventContext_registerHandler__P19102, }, }); -const scene_Camera__C20924_VT = mkVTable({ +const scene_Camera__C21068_VT = mkVTable({ name: "Camera", numFields: 8, classNo: 28, @@ -46811,39 +46811,39 @@ const scene_Camera__C20924_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P20929, - "set/offsetX": scene_Camera_offsetX__P20930, - "offsetY": scene_Camera_offsetY__P20931, - "set/offsetY": scene_Camera_offsetY__P20932, - "x": scene_Camera_x__P20933, - "y": scene_Camera_y__P20934, - "left": scene_Camera_left__P20935, - "top": scene_Camera_top__P20937, - "update": scene_Camera_update__P20940, + "offsetX": scene_Camera_offsetX__P21073, + "set/offsetX": scene_Camera_offsetX__P21074, + "offsetY": scene_Camera_offsetY__P21075, + "set/offsetY": scene_Camera_offsetY__P21076, + "x": scene_Camera_x__P21077, + "y": scene_Camera_y__P21078, + "left": scene_Camera_left__P21079, + "top": scene_Camera_top__P21081, + "update": scene_Camera_update__P21084, }, }); -const PhysicsEngine__C20723_VT = mkVTable({ +const PhysicsEngine__C20867_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 29, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P20725, - "removeSprite": PhysicsEngine_removeSprite__P20726, - "moveSprite": PhysicsEngine_moveSprite__P20727, - "draw": PhysicsEngine_draw__P20728, - "move": PhysicsEngine_move__P20729, + "addSprite": PhysicsEngine_addSprite__P20869, + "removeSprite": PhysicsEngine_removeSprite__P20870, + "moveSprite": PhysicsEngine_moveSprite__P20871, + "draw": PhysicsEngine_draw__P20872, + "move": PhysicsEngine_move__P20873, }, iface: { - "addSprite": PhysicsEngine_addSprite__P20725, - "removeSprite": PhysicsEngine_removeSprite__P20726, - "moveSprite": PhysicsEngine_moveSprite__P20727, - "draw": PhysicsEngine_draw__P20728, - "move": PhysicsEngine_move__P20729, + "addSprite": PhysicsEngine_addSprite__P20869, + "removeSprite": PhysicsEngine_removeSprite__P20870, + "moveSprite": PhysicsEngine_moveSprite__P20871, + "draw": PhysicsEngine_draw__P20872, + "move": PhysicsEngine_move__P20873, }, }); -const game_Hitbox__C20523_VT = mkVTable({ +const game_Hitbox__C20667_VT = mkVTable({ name: "Hitbox", numFields: 5, classNo: 31, @@ -46862,13 +46862,13 @@ const game_Hitbox__C20523_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P20530, - "top": game_Hitbox_top__P20531, - "right": game_Hitbox_right__P20532, - "bottom": game_Hitbox_bottom__P20533, + "left": game_Hitbox_left__P20674, + "top": game_Hitbox_top__P20675, + "right": game_Hitbox_right__P20676, + "bottom": game_Hitbox_bottom__P20677, }, }); -const JSON_Stringifier__C22113_VT = mkVTable({ +const JSON_Stringifier__C22257_VT = mkVTable({ name: "Stringifier", numFields: 3, classNo: 32, @@ -46883,11 +46883,11 @@ const JSON_Stringifier__C22113_VT = mkVTable({ "set/indentStep": null, "indent": null, "set/indent": null, - "doString": JSON_Stringifier_doString__P22114, - "go": JSON_Stringifier_go__P22115, + "doString": JSON_Stringifier_doString__P22258, + "go": JSON_Stringifier_go__P22259, }, }); -const effects_ImageEffect__C21380_VT = mkVTable({ +const effects_ImageEffect__C21524_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 33, @@ -46904,11 +46904,11 @@ const effects_ImageEffect__C21380_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P21382, - "change": effects_ImageEffect_change__P21383, + "applyTo": effects_ImageEffect_applyTo__P21526, + "change": effects_ImageEffect_change__P21527, }, }); -const effects_ParticleEffect__C21353_VT = mkVTable({ +const effects_ParticleEffect__C21497_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 34, @@ -46923,11 +46923,11 @@ const effects_ParticleEffect__C21353_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P21355, - "destroy": effects_ParticleEffect_destroy__P21356, + "start": effects_ParticleEffect_start__P21499, + "destroy": effects_ParticleEffect_destroy__P21500, }, }); -const effects_ScreenEffect__C21357_VT = mkVTable({ +const effects_ScreenEffect__C21501_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 35, @@ -46946,34 +46946,34 @@ const effects_ScreenEffect__C21357_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P21355, - "destroy": effects_ParticleEffect_destroy__P21356, + "start": effects_ParticleEffect_start__P21499, + "destroy": effects_ParticleEffect_destroy__P21500, }, }); -const particles_ParticleFactory__C21278_VT = mkVTable({ +const particles_ParticleFactory__C21422_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 36, lastSubtypeNo: 41, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P21280, - "drawParticle": particles_ParticleFactory_drawParticle__P21281, + "createParticle": particles_ParticleFactory_createParticle__P21424, + "drawParticle": particles_ParticleFactory_drawParticle__P21425, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P21280, - "drawParticle": particles_ParticleFactory_drawParticle__P21281, + "createParticle": particles_ParticleFactory_createParticle__P21424, + "drawParticle": particles_ParticleFactory_drawParticle__P21425, }, }); -const particles_SprayFactory__C21282_VT = mkVTable({ +const particles_SprayFactory__C21426_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 37, lastSubtypeNo: 41, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P21284, - "drawParticle": particles_SprayFactory_drawParticle__P21285, + "createParticle": particles_SprayFactory_createParticle__P21428, + "drawParticle": particles_SprayFactory_drawParticle__P21429, }, iface: { "speed": null, @@ -46982,21 +46982,21 @@ const particles_SprayFactory__C21282_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P21284, - "drawParticle": particles_SprayFactory_drawParticle__P21285, - "setSpeed": particles_SprayFactory_setSpeed__P21286, - "setDirection": particles_SprayFactory_setDirection__P21287, + "createParticle": particles_SprayFactory_createParticle__P21428, + "drawParticle": particles_SprayFactory_drawParticle__P21429, + "setSpeed": particles_SprayFactory_setSpeed__P21430, + "setDirection": particles_SprayFactory_setDirection__P21431, }, }); -const particles_AreaFactory__C21288_VT = mkVTable({ +const particles_AreaFactory__C21432_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 38, lastSubtypeNo: 41, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P21294, - "drawParticle": particles_AreaFactory_drawParticle__P21295, + "createParticle": particles_AreaFactory_createParticle__P21438, + "drawParticle": particles_AreaFactory_drawParticle__P21439, }, iface: { "speed": null, @@ -47015,21 +47015,21 @@ const particles_AreaFactory__C21288_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P21294, - "drawParticle": particles_AreaFactory_drawParticle__P21295, - "setSpeed": particles_SprayFactory_setSpeed__P21286, - "setDirection": particles_SprayFactory_setDirection__P21287, + "createParticle": particles_AreaFactory_createParticle__P21438, + "drawParticle": particles_AreaFactory_drawParticle__P21439, + "setSpeed": particles_SprayFactory_setSpeed__P21430, + "setDirection": particles_SprayFactory_setDirection__P21431, }, }); -const particles_ShapeFactory__C21304_VT = mkVTable({ +const particles_ShapeFactory__C21448_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 39, lastSubtypeNo: 40, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P21308, - "drawParticle": particles_ShapeFactory_drawParticle__P21307, + "createParticle": particles_ShapeFactory_createParticle__P21452, + "drawParticle": particles_ShapeFactory_drawParticle__P21451, }, iface: { "speed": null, @@ -47054,22 +47054,22 @@ const particles_ShapeFactory__C21304_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P21306, - "drawParticle": particles_ShapeFactory_drawParticle__P21307, - "createParticle": particles_ShapeFactory_createParticle__P21308, - "setSpeed": particles_SprayFactory_setSpeed__P21286, - "setDirection": particles_SprayFactory_setDirection__P21287, + "addShape": particles_ShapeFactory_addShape__P21450, + "drawParticle": particles_ShapeFactory_drawParticle__P21451, + "createParticle": particles_ShapeFactory_createParticle__P21452, + "setSpeed": particles_SprayFactory_setSpeed__P21430, + "setDirection": particles_SprayFactory_setDirection__P21431, }, }); -const particles_ConfettiFactory__C21309_VT = mkVTable({ +const particles_ConfettiFactory__C21453_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 40, lastSubtypeNo: 40, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P21308, - "drawParticle": particles_ShapeFactory_drawParticle__P21307, + "createParticle": particles_ShapeFactory_createParticle__P21452, + "drawParticle": particles_ShapeFactory_drawParticle__P21451, }, iface: { "speed": null, @@ -47094,25 +47094,25 @@ const particles_ConfettiFactory__C21309_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P21306, - "drawParticle": particles_ShapeFactory_drawParticle__P21307, - "createParticle": particles_ShapeFactory_createParticle__P21308, - "setSpeed": particles_SprayFactory_setSpeed__P21286, - "setDirection": particles_SprayFactory_setDirection__P21287, + "addShape": particles_ShapeFactory_addShape__P21450, + "drawParticle": particles_ShapeFactory_drawParticle__P21451, + "createParticle": particles_ShapeFactory_createParticle__P21452, + "setSpeed": particles_SprayFactory_setSpeed__P21430, + "setDirection": particles_SprayFactory_setDirection__P21431, }, }); -const particles_ParticleSource__C21242_VT = mkVTable({ +const particles_ParticleSource__C21386_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 22, lastSubtypeNo: 22, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P20425, - "__draw": particles_ParticleSource___draw__P21248, - "__drawCore": sprites_BaseSprite___drawCore__P20429, - "__update": sprites_BaseSprite___update__P20430, - "updateParticle": particles_ParticleSource_updateParticle__P22795, + "__visible": sprites_BaseSprite___visible__P20569, + "__draw": particles_ParticleSource___draw__P21392, + "__drawCore": sprites_BaseSprite___drawCore__P20573, + "__update": sprites_BaseSprite___update__P20574, + "updateParticle": particles_ParticleSource_updateParticle__P22939, }, iface: { "_z": null, @@ -47141,28 +47141,28 @@ const particles_ParticleSource__C21242_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P21248, - "_update": particles_ParticleSource__update__P21249, - "_prune": particles_ParticleSource__prune__P21250, - "setAcceleration": particles_ParticleSource_setAcceleration__P21251, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P21253, - "enabled": particles_ParticleSource_enabled__P21254, - "set/enabled": particles_ParticleSource_enabled__P21255, - "destroy": particles_ParticleSource_destroy__P21256, - "clear": particles_ParticleSource_clear__P21257, - "setAnchor": particles_ParticleSource_setAnchor__P21258, - "setRate": particles_ParticleSource_setRate__P21259, - "setFactory": particles_ParticleSource_setFactory__P21261, - "updateParticle": particles_ParticleSource_updateParticle__P22795, - "drawParticle": particles_ParticleSource_drawParticle__P22796, - "__visible": sprites_BaseSprite___visible__P20425, - "z": sprites_BaseSprite_z__P20426, - "set/z": sprites_BaseSprite_z__P20427, - "__drawCore": sprites_BaseSprite___drawCore__P20429, - "__update": sprites_BaseSprite___update__P20430, + "__draw": particles_ParticleSource___draw__P21392, + "_update": particles_ParticleSource__update__P21393, + "_prune": particles_ParticleSource__prune__P21394, + "setAcceleration": particles_ParticleSource_setAcceleration__P21395, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P21397, + "enabled": particles_ParticleSource_enabled__P21398, + "set/enabled": particles_ParticleSource_enabled__P21399, + "destroy": particles_ParticleSource_destroy__P21400, + "clear": particles_ParticleSource_clear__P21401, + "setAnchor": particles_ParticleSource_setAnchor__P21402, + "setRate": particles_ParticleSource_setRate__P21403, + "setFactory": particles_ParticleSource_setFactory__P21405, + "updateParticle": particles_ParticleSource_updateParticle__P22939, + "drawParticle": particles_ParticleSource_drawParticle__P22940, + "__visible": sprites_BaseSprite___visible__P20569, + "z": sprites_BaseSprite_z__P20570, + "set/z": sprites_BaseSprite_z__P20571, + "__drawCore": sprites_BaseSprite___drawCore__P20573, + "__update": sprites_BaseSprite___update__P20574, }, }); -const particles_Particle__C21223_VT = mkVTable({ +const particles_Particle__C21367_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 42, @@ -47189,7 +47189,7 @@ const particles_Particle__C21223_VT = mkVTable({ "set/color": null, }, }); -const scene_Background__C20829_VT = mkVTable({ +const scene_Background__C20973_VT = mkVTable({ name: "Background", numFields: 4, classNo: 43, @@ -47206,12 +47206,12 @@ const scene_Background__C20829_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P20835, - "set/image": scene_Background_image__P20836, - "draw": scene_Background_draw__P20838, + "image": scene_Background_image__P20979, + "set/image": scene_Background_image__P20980, + "draw": scene_Background_draw__P20982, }, }); -const scene_BackgroundLayer__C20839_VT = mkVTable({ +const scene_BackgroundLayer__C20983_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 44, @@ -47232,10 +47232,10 @@ const scene_BackgroundLayer__C20839_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P20847, + "draw": scene_BackgroundLayer_draw__P20991, }, }); -const tiles_TileMapData__C20868_VT = mkVTable({ +const tiles_TileMapData__C21012_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 45, @@ -47258,17 +47258,17 @@ const tiles_TileMapData__C20868_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P20870, - "height": tiles_TileMapData_height__P20871, - "scale": tiles_TileMapData_scale__P20872, - "set/scale": tiles_TileMapData_scale__P20873, - "getTile": tiles_TileMapData_getTile__P20874, - "getTileImage": tiles_TileMapData_getTileImage__P20877, - "isWall": tiles_TileMapData_isWall__P20879, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P20880, + "width": tiles_TileMapData_width__P21014, + "height": tiles_TileMapData_height__P21015, + "scale": tiles_TileMapData_scale__P21016, + "set/scale": tiles_TileMapData_scale__P21017, + "getTile": tiles_TileMapData_getTile__P21018, + "getTileImage": tiles_TileMapData_getTileImage__P21021, + "isWall": tiles_TileMapData_isWall__P21023, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P21024, }, }); -const controller_Controller__C20487_VT = mkVTable({ +const controller_Controller__C20631_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 46, @@ -47287,33 +47287,33 @@ const controller_Controller__C20487_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P20492, - "set/_controlledSprites": controller_Controller__controlledSprites__P20493, - "id": controller_Controller_id__P20494, - "left": controller_Controller_left__P20496, - "right": controller_Controller_right__P20497, - "up": controller_Controller_up__P20498, - "down": controller_Controller_down__P20499, - "moveSprite": controller_Controller_moveSprite__P20503, - "button": controller_Controller_button__P22284, - "connected": controller_Controller_connected__P20506, - "set/connected": controller_Controller_connected__P20507, - "__preUpdate": controller_Controller___preUpdate__P20511, - "__update": controller_Controller___update__P20512, + "_controlledSprites": controller_Controller__controlledSprites__P20636, + "set/_controlledSprites": controller_Controller__controlledSprites__P20637, + "id": controller_Controller_id__P20638, + "left": controller_Controller_left__P20640, + "right": controller_Controller_right__P20641, + "up": controller_Controller_up__P20642, + "down": controller_Controller_down__P20643, + "moveSprite": controller_Controller_moveSprite__P20647, + "button": controller_Controller_button__P22428, + "connected": controller_Controller_connected__P20650, + "set/connected": controller_Controller_connected__P20651, + "__preUpdate": controller_Controller___preUpdate__P20655, + "__update": controller_Controller___update__P20656, }, }); -const ArcadePhysicsEngine__C20737_VT = mkVTable({ +const ArcadePhysicsEngine__C20881_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 30, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P20746, - "removeSprite": ArcadePhysicsEngine_removeSprite__P20747, - "moveSprite": ArcadePhysicsEngine_moveSprite__P20751, - "draw": ArcadePhysicsEngine_draw__P20748, - "move": ArcadePhysicsEngine_move__P20749, + "addSprite": ArcadePhysicsEngine_addSprite__P20890, + "removeSprite": ArcadePhysicsEngine_removeSprite__P20891, + "moveSprite": ArcadePhysicsEngine_moveSprite__P20895, + "draw": ArcadePhysicsEngine_draw__P20892, + "move": ArcadePhysicsEngine_move__P20893, }, iface: { "sprites": null, @@ -47328,26 +47328,26 @@ const ArcadePhysicsEngine__C20737_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P20739, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P20740, - "minStep": ArcadePhysicsEngine_minStep__P20741, - "set/minStep": ArcadePhysicsEngine_minStep__P20742, - "maxStep": ArcadePhysicsEngine_maxStep__P20743, - "set/maxStep": ArcadePhysicsEngine_maxStep__P20744, - "addSprite": ArcadePhysicsEngine_addSprite__P20746, - "removeSprite": ArcadePhysicsEngine_removeSprite__P20747, - "draw": ArcadePhysicsEngine_draw__P20748, - "move": ArcadePhysicsEngine_move__P20749, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P22313, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P22314, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P22315, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P22316, - "moveSprite": ArcadePhysicsEngine_moveSprite__P20751, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P22317, - "constrain": ArcadePhysicsEngine_constrain__P22318, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P20883, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P20884, + "minStep": ArcadePhysicsEngine_minStep__P20885, + "set/minStep": ArcadePhysicsEngine_minStep__P20886, + "maxStep": ArcadePhysicsEngine_maxStep__P20887, + "set/maxStep": ArcadePhysicsEngine_maxStep__P20888, + "addSprite": ArcadePhysicsEngine_addSprite__P20890, + "removeSprite": ArcadePhysicsEngine_removeSprite__P20891, + "draw": ArcadePhysicsEngine_draw__P20892, + "move": ArcadePhysicsEngine_move__P20893, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P22457, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P22458, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P22459, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P22460, + "moveSprite": ArcadePhysicsEngine_moveSprite__P20895, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P22461, + "constrain": ArcadePhysicsEngine_constrain__P22462, }, }); -const sprites_SpriteMap__C20658_VT = mkVTable({ +const sprites_SpriteMap__C20802_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 47, @@ -47366,20 +47366,20 @@ const sprites_SpriteMap__C20658_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P20660, - "overlaps": sprites_SpriteMap_overlaps__P20661, - "draw": sprites_SpriteMap_draw__P20662, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P20663, - "clear": sprites_SpriteMap_clear__P20664, - "key": sprites_SpriteMap_key__P22290, - "insertAtKey": sprites_SpriteMap_insertAtKey__P22291, - "insertAABB": sprites_SpriteMap_insertAABB__P20665, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P22292, - "toString": sprites_SpriteMap_toString__P20666, + "neighbors": sprites_SpriteMap_neighbors__P20804, + "overlaps": sprites_SpriteMap_overlaps__P20805, + "draw": sprites_SpriteMap_draw__P20806, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P20807, + "clear": sprites_SpriteMap_clear__P20808, + "key": sprites_SpriteMap_key__P22434, + "insertAtKey": sprites_SpriteMap_insertAtKey__P22435, + "insertAABB": sprites_SpriteMap_insertAABB__P20809, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P22436, + "toString": sprites_SpriteMap_toString__P20810, }, - toStringMethod: sprites_SpriteMap_toString__P20666, + toStringMethod: sprites_SpriteMap_toString__P20810, }); -const music_Melody__C20162_VT = mkVTable({ +const music_Melody__C20306_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 48, @@ -47392,11 +47392,11 @@ const music_Melody__C20162_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P20171, + "toString": music_Melody_toString__P20315, }, - toStringMethod: music_Melody_toString__P20171, + toStringMethod: music_Melody_toString__P20315, }); -const control_EventHandler__C22116_VT = mkVTable({ +const control_EventHandler__C22260_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 49, @@ -47413,11 +47413,11 @@ const control_EventHandler__C22116_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P22117, - "unregister": control_EventHandler_unregister__P22118, + "register": control_EventHandler_register__P22261, + "unregister": control_EventHandler_unregister__P22262, }, }); -const control_FrameCallback__C18945_VT = mkVTable({ +const control_FrameCallback__C19089_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 50, @@ -47432,7 +47432,7 @@ const control_FrameCallback__C18945_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C22095_VT = mkVTable({ +const control_PollEvent__C22239_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 51, @@ -47455,7 +47455,7 @@ const control_PollEvent__C22095_VT = mkVTable({ "set/once": null, }, }); -const sprites_SpriteSet__C20675_VT = mkVTable({ +const sprites_SpriteSet__C20819_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 52, @@ -47466,24 +47466,24 @@ const sprites_SpriteSet__C20675_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P20678, - "sprites": sprites_SpriteSet_sprites__P20679, - "add": sprites_SpriteSet_add__P20680, - "remove": sprites_SpriteSet_remove__P20682, - "contains": sprites_SpriteSet_contains__P20683, - "toString": sprites_SpriteSet_toString__P20686, + "length": sprites_SpriteSet_length__P20822, + "sprites": sprites_SpriteSet_sprites__P20823, + "add": sprites_SpriteSet_add__P20824, + "remove": sprites_SpriteSet_remove__P20826, + "contains": sprites_SpriteSet_contains__P20827, + "toString": sprites_SpriteSet_toString__P20830, }, - toStringMethod: sprites_SpriteSet_toString__P20686, + toStringMethod: sprites_SpriteSet_toString__P20830, }); -const particles_AshFactory__C21322_VT = mkVTable({ +const particles_AshFactory__C21466_VT = mkVTable({ name: "AshFactory", numFields: 9, classNo: 41, lastSubtypeNo: 41, maxBgInstances: null, methods: { - "createParticle": particles_AshFactory_createParticle__P21324, - "drawParticle": particles_AshFactory_drawParticle__P21325, + "createParticle": particles_AshFactory_createParticle__P21468, + "drawParticle": particles_AshFactory_drawParticle__P21469, }, iface: { "speed": null, @@ -47504,13 +47504,13 @@ const particles_AshFactory__C21322_VT = mkVTable({ "set/galois": null, "colors": null, "set/colors": null, - "createParticle": particles_AshFactory_createParticle__P21324, - "drawParticle": particles_AshFactory_drawParticle__P21325, - "setSpeed": particles_SprayFactory_setSpeed__P21286, - "setDirection": particles_SprayFactory_setDirection__P21287, + "createParticle": particles_AshFactory_createParticle__P21468, + "drawParticle": particles_AshFactory_drawParticle__P21469, + "setSpeed": particles_SprayFactory_setSpeed__P21430, + "setDirection": particles_SprayFactory_setDirection__P21431, }, }); -const particles_ColorCount__C22832_VT = mkVTable({ +const particles_ColorCount__C22976_VT = mkVTable({ name: "ColorCount", numFields: 2, classNo: 53, @@ -47525,7 +47525,7 @@ const particles_ColorCount__C22832_VT = mkVTable({ "set/count": null, }, }); -const scene_PathCompletionEvent__C24601_VT = mkVTable({ +const scene_PathCompletionEvent__C24745_VT = mkVTable({ name: "PathCompletionEvent", numFields: 2, classNo: 54, @@ -47540,7 +47540,7 @@ const scene_PathCompletionEvent__C24601_VT = mkVTable({ "set/handler": null, }, }); -const Heap__C22016_VT = mkVTable({ +const Heap__C22160_VT = mkVTable({ name: "Heap", numFields: 2, classNo: 55, @@ -47553,17 +47553,17 @@ const Heap__C22016_VT = mkVTable({ "set/store": null, "comparator": null, "set/comparator": null, - "percolateDown": Heap_percolateDown__P24063, - "percolateUp": Heap_percolateUp__P24064, - "push": Heap_push__P22018, - "pop": Heap_pop__P22019, - "length": Heap_length__P22021, - "parent": Heap_parent__P24065, - "leftChild": Heap_leftChild__P24066, - "rightChild": Heap_rightChild__P24067, + "percolateDown": Heap_percolateDown__P24207, + "percolateUp": Heap_percolateUp__P24208, + "push": Heap_push__P22162, + "pop": Heap_pop__P22163, + "length": Heap_length__P22165, + "parent": Heap_parent__P24209, + "leftChild": Heap_leftChild__P24210, + "rightChild": Heap_rightChild__P24211, }, }); -const scene_LocationNode__C24074_VT = mkVTable({ +const scene_LocationNode__C24218_VT = mkVTable({ name: "LocationNode", numFields: 4, classNo: 56, @@ -47582,7 +47582,7 @@ const scene_LocationNode__C24074_VT = mkVTable({ "set/lastCost": null, }, }); -const scene_PrioritizedLocation__C24068_VT = mkVTable({ +const scene_PrioritizedLocation__C24212_VT = mkVTable({ name: "PrioritizedLocation", numFields: 3, classNo: 57, @@ -47599,7 +47599,7 @@ const scene_PrioritizedLocation__C24068_VT = mkVTable({ "set/extraCost": null, }, }); -const scene_PathFollowingSprite__C24592_VT = mkVTable({ +const scene_PathFollowingSprite__C24736_VT = mkVTable({ name: "PathFollowingSprite", numFields: 5, classNo: 58, @@ -47620,7 +47620,7 @@ const scene_PathFollowingSprite__C24592_VT = mkVTable({ "set/speed": null, }, }); -const controller_ControlledSprite__C20483_VT = mkVTable({ +const controller_ControlledSprite__C20627_VT = mkVTable({ name: "ControlledSprite", numFields: 4, classNo: 59, @@ -47639,17 +47639,17 @@ const controller_ControlledSprite__C20483_VT = mkVTable({ "set/vy": null, }, }); -const scene_Renderable__C20942_VT = mkVTable({ +const scene_Renderable__C21086_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 23, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P20944, - "__draw": sprites_BaseSprite___draw__P20428, - "__drawCore": scene_Renderable___drawCore__P20945, - "__update": sprites_BaseSprite___update__P20430, + "__visible": scene_Renderable___visible__P21088, + "__draw": sprites_BaseSprite___draw__P20572, + "__drawCore": scene_Renderable___drawCore__P21089, + "__update": sprites_BaseSprite___update__P20574, }, iface: { "_z": null, @@ -47660,15 +47660,15 @@ const scene_Renderable__C20942_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P20944, - "__drawCore": scene_Renderable___drawCore__P20945, - "z": sprites_BaseSprite_z__P20426, - "set/z": sprites_BaseSprite_z__P20427, - "__draw": sprites_BaseSprite___draw__P20428, - "__update": sprites_BaseSprite___update__P20430, + "__visible": scene_Renderable___visible__P21088, + "__drawCore": scene_Renderable___drawCore__P21089, + "z": sprites_BaseSprite_z__P20570, + "set/z": sprites_BaseSprite_z__P20571, + "__draw": sprites_BaseSprite___draw__P20572, + "__update": sprites_BaseSprite___update__P20574, }, }); -const scene_systemMenu_PauseMenu__C21186_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C21330_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 60, @@ -47691,15 +47691,15 @@ const scene_systemMenu_PauseMenu__C21186_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P21188, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P21189, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P21190, - "drawText": scene_systemMenu_PauseMenu_drawText__P21191, - "dispose": scene_systemMenu_PauseMenu_dispose__P21192, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P22695, + "show": scene_systemMenu_PauseMenu_show__P21332, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P21333, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P21334, + "drawText": scene_systemMenu_PauseMenu_drawText__P21335, + "dispose": scene_systemMenu_PauseMenu_dispose__P21336, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P22839, }, }); -const scene_systemMenu_MenuOption__C21178_VT = mkVTable({ +const scene_systemMenu_MenuOption__C21322_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 61, @@ -47724,16 +47724,16 @@ const scene_systemMenu_MenuOption__C21178_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P21180, - "position": scene_systemMenu_MenuOption_position__P21181, - "setOffset": scene_systemMenu_MenuOption_setOffset__P21182, - "setTheme": scene_systemMenu_MenuOption_setTheme__P21183, - "setState": scene_systemMenu_MenuOption_setState__P21184, - "dispose": scene_systemMenu_MenuOption_dispose__P21185, - "updateCard": scene_systemMenu_MenuOption_updateCard__P22694, + "show": scene_systemMenu_MenuOption_show__P21324, + "position": scene_systemMenu_MenuOption_position__P21325, + "setOffset": scene_systemMenu_MenuOption_setOffset__P21326, + "setTheme": scene_systemMenu_MenuOption_setTheme__P21327, + "setState": scene_systemMenu_MenuOption_setState__P21328, + "dispose": scene_systemMenu_MenuOption_dispose__P21329, + "updateCard": scene_systemMenu_MenuOption_updateCard__P22838, }, }); -const MovingSprite__C20735_VT = mkVTable({ +const MovingSprite__C20879_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 62, @@ -47758,7 +47758,7 @@ const MovingSprite__C20735_VT = mkVTable({ "set/yStep": null, }, }); -const sprites_StaticObstacle__C20710_VT = mkVTable({ +const sprites_StaticObstacle__C20854_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 63, @@ -47777,14 +47777,14 @@ const sprites_StaticObstacle__C20710_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P20717, - "y": sprites_StaticObstacle_y__P20718, - "height": sprites_StaticObstacle_height__P20719, - "width": sprites_StaticObstacle_width__P20720, + "x": sprites_StaticObstacle_x__P20861, + "y": sprites_StaticObstacle_y__P20862, + "height": sprites_StaticObstacle_height__P20863, + "width": sprites_StaticObstacle_width__P20864, }, }); -const breakpoints = setupDebugger(1, ["transparency16___22037","mySprite___22039","PATH_FOLLOW_KEY___24588","PATH_COMPLETION_KEY___24590"]) +const breakpoints = setupDebugger(1, ["transparency16___22181","mySprite___22183","PATH_FOLLOW_KEY___24732","PATH_COMPLETION_KEY___24734"]) -return _main___P37117 +return _main___P37374 }) diff --git a/assets/version.txt b/assets/version.txt index 9325c3c..a2268e2 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.3.0 \ No newline at end of file +0.3.1 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 47daae8..e78fe57 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "arcade-tilemap-a-star", - "version": "0.3.0", + "version": "0.3.1", "description": "", "dependencies": { "device": "*",